Searched refs:__round_mask (Results 1 – 4 of 4) sorted by relevance
/linux/tools/include/linux/ |
H A 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/tools/testing/selftests/bpf/ |
H A D | bpf_arena_alloc.h | 6 #ifndef __round_mask 7 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 10 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)
|
/linux/include/linux/ |
H A 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/tools/arch/x86/intel_sdsi/ |
H A 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)
|