Searched refs:__round_mask (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/tools/perf/util/include/linux/
H A Dkernel.h103 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro
104 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)
105 #define round_down(x, y) ((x) & ~__round_mask(x, y))
/linux-4.1.27/include/linux/
H A Dkernel.h62 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro
63 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)
64 #define round_down(x, y) ((x) & ~__round_mask(x, y))

Completed in 71 milliseconds