Home
last modified time | relevance | path

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

/linux/tools/include/linux/
A 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/include/linux/
A Dmath.h14 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro
24 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)
34 #define round_down(x, y) ((x) & ~__round_mask(x, y))
/linux/tools/testing/selftests/bpf/progs/
A 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)

Completed in 4 milliseconds