Home
last modified time | relevance | path

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

/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/
Dkernel.h74 #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/
Dkernel.h130 #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))