Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/include/linux/
H A 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))
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H 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)
/OK3568_Linux_fs/u-boot/include/linux/
H A Dkernel.h53 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro
54 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)
55 #define round_down(x, y) ((x) & ~__round_mask(x, y))
/OK3568_Linux_fs/kernel/include/linux/
H A 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))
/OK3568_Linux_fs/u-boot/tools/
H A Dmxsboot.c18 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro
19 #define round_down(x, y) ((x) & ~__round_mask(x, y))
/OK3568_Linux_fs/u-boot/common/
H A Dimage-fit.c35 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro
36 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)