Searched defs:ROUNDUP (Results 1 – 8 of 8) sorted by relevance
52 # define ROUNDUP(val_, div_) ((((val_) + (div_) - 1) / (div_)) * (div_)) macro
17 #define ROUNDUP(x) (((x) + ALIGNMENT_MASK) & ~ALIGNMENT_MASK) macro
55 #define ROUNDUP(a, b) (((a) + (b) - 1) / (b) * (b)) macro
1148 #define ROUNDUP(a) ((a) > 0 ? (1 + (((a)-1) | (sizeof(uint32_t) - 1))) : sizeof(uint32_t)) macro1152 #define ROUNDUP(a) ((a) > 0 ? (1 + (((a)-1) | (sizeof(uint32_t) - 1))) : sizeof(uint32_t)) macro
110 #define ROUNDUP(i, n) ((((i)+(n)-1)/n)*n) macro
336 #define ROUNDUP(x) (((x) + ALIGNMENT_MASK) & ~ALIGNMENT_MASK) macro