Searched refs:__round_mask (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/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-v5.10/tools/testing/selftests/bpf/progs/ |
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-v5.10/include/linux/ |
D | kernel.h | 63 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 72 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) 81 #define round_down(x, y) ((x) & ~__round_mask(x, y))
|