Searched refs:__round_mask (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/tools/include/linux/ |
D | math.h | 10 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 11 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) 12 #define round_down(x, y) ((x) & ~__round_mask(x, y))
|
/linux-6.6.21/include/linux/ |
D | math.h | 15 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 25 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) 35 #define round_down(x, y) ((x) & ~__round_mask(x, y))
|
/linux-6.6.21/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-6.6.21/tools/arch/x86/intel_sdsi/ |
D | intel_sdsi.c | 48 #define __round_mask(x, y) ((__typeof__(x))((y) - 1)) macro 49 #define round_up(x, y) ((((x) - 1) | __round_mask(x, y)) + 1)
|