Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/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.1.9/tools/arch/x86/intel_sdsi/
Dintel_sdsi.c31 #define __round_mask(x, y) ((__typeof__(x))((y) - 1)) macro
32 #define round_up(x, y) ((((x) - 1) | __round_mask(x, y)) + 1)