Home
last modified time | relevance | path

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

/linux-6.6.21/tools/include/linux/
Dmath.h10 #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/
Dmath.h15 #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/
Dtest_xdp_meta.c7 #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/
Dintel_sdsi.c48 #define __round_mask(x, y) ((__typeof__(x))((y) - 1)) macro
49 #define round_up(x, y) ((((x) - 1) | __round_mask(x, y)) + 1)