Searched refs:CALC_UNIT (Results 1 – 1 of 1) sorted by relevance
14 #define CALC_UNIT(a, b) ((a > 0) ? ((a - 1) / b + 1) : (a)) macro15 #define BYTE2SECTOR(x) (CALC_UNIT(x, SECTOR_SIZE))16 #define PAGEALIGN(x) (CALC_UNIT(x, 4))