Searched refs:DIV_ROUND_UP (Results 1 – 4 of 4) sorted by relevance
18 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long))19 #define BITS_TO_U64(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(u64))20 #define BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(u32))21 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(char))
19 #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) macro
23 u64 nr = DIV_ROUND_UP(p->curr - last, p->step); in ui_progress__update()
2336 n = DIV_ROUND_UP(size, vm_guest_mode_params[mode].page_size); in vm_calc_num_guest_pages()