Home
last modified time | relevance | path

Searched refs:DIV_ROUND_UP (Results 1 – 4 of 4) sorted by relevance

/tools/include/linux/
Dbitops.h18 #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))
Dkernel.h19 #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) macro
/tools/perf/ui/
Dprogress.c23 u64 nr = DIV_ROUND_UP(p->curr - last, p->step); in ui_progress__update()
/tools/testing/selftests/kvm/lib/
Dkvm_util.c2336 n = DIV_ROUND_UP(size, vm_guest_mode_params[mode].page_size); in vm_calc_num_guest_pages()