Searched refs:__ALIGN_KERNEL (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/tools/testing/scatterlist/linux/ |
D | mm.h | 33 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) macro 35 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a))
|
/Linux-v5.4/include/uapi/linux/ |
D | kernel.h | 10 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) macro
|
D | netlink.h | 191 #define NL_MMAP_MSG_ALIGN(sz) __ALIGN_KERNEL(sz, NL_MMAP_MSG_ALIGNMENT)
|
/Linux-v5.4/include/linux/ |
D | cache.h | 9 #define L1_CACHE_ALIGN(x) __ALIGN_KERNEL(x, L1_CACHE_BYTES)
|
D | kernel.h | 33 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) 34 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a))
|
/Linux-v5.4/tools/testing/selftests/powerpc/ptrace/ |
D | core-pkey.c | 191 __ALIGN_KERNEL(nhdr->n_namesz, 4) + in next_note() 192 __ALIGN_KERNEL(nhdr->n_descsz, 4); in next_note() 242 note = p + sizeof(*nhdr) + __ALIGN_KERNEL(nhdr->n_namesz, 4); in check_core_file()
|
/Linux-v5.4/tools/firmware/ |
D | ihex2fw.c | 25 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) macro 26 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a))
|
/Linux-v5.4/tools/include/uapi/linux/ |
D | netlink.h | 191 #define NL_MMAP_MSG_ALIGN(sz) __ALIGN_KERNEL(sz, NL_MMAP_MSG_ALIGNMENT)
|
/Linux-v5.4/include/uapi/linux/netfilter/ |
D | x_tables.h | 100 #define XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _xt_align))
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | page.h | 258 #define _ALIGN_UP(addr, size) __ALIGN_KERNEL(addr, size)
|
/Linux-v5.4/include/linux/netfilter/ |
D | x_tables.h | 507 #define COMPAT_XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _compat_xt_align))
|
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 48 #define STMMAC_ALIGN(x) __ALIGN_KERNEL(x, SMP_CACHE_BYTES)
|