Searched refs:__round_mask (Results 1 – 2 of 2) sorted by relevance
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/ |
D | kernel.h | 74 #define __round_mask(x,y) ((__typeof__(x)) ((y) - 1)) macro 75 #define round_up(x,y) ((((x) - 1) | __round_mask(x, y)) + 1) 76 #define round_down(x,y) ((x) & ~__round_mask(x, y))
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/ |
D | kernel.h | 130 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 131 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) 132 #define round_down(x, y) ((x) & ~__round_mask(x, y))
|