Searched refs:__round_mask (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/tools/include/linux/ |
D | kernel.h | 113 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 114 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) 115 #define round_down(x, y) ((x) & ~__round_mask(x, y))
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_xdp_meta.c | 7 #define __round_mask(x, y) ((__typeof__(x))((y) - 1)) macro 8 #define round_up(x, y) ((((x) - 1) | __round_mask(x, y)) + 1)
|
/Linux-v4.19/include/linux/ |
D | kernel.h | 87 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 96 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) 105 #define round_down(x, y) ((x) & ~__round_mask(x, y))
|