Home
last modified time | relevance | path

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

/Linux-v5.10/tools/include/linux/
Dkernel.h113 #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/
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-v5.10/include/linux/
Dkernel.h63 #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))