Home
last modified time | relevance | path

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

/linux/tools/include/linux/
H 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/tools/testing/selftests/bpf/
H A Dbpf_arena_alloc.h6 #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 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/tools/arch/x86/intel_sdsi/
H A 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)