Home
last modified time | relevance | path

Searched refs:__ALIGN_KERNEL (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/tools/testing/scatterlist/linux/
Dmm.h33 #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/
Dkernel.h10 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) macro
Dnetlink.h191 #define NL_MMAP_MSG_ALIGN(sz) __ALIGN_KERNEL(sz, NL_MMAP_MSG_ALIGNMENT)
/Linux-v5.4/include/linux/
Dcache.h9 #define L1_CACHE_ALIGN(x) __ALIGN_KERNEL(x, L1_CACHE_BYTES)
Dkernel.h33 #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/
Dcore-pkey.c191 __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/
Dihex2fw.c25 #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/
Dnetlink.h191 #define NL_MMAP_MSG_ALIGN(sz) __ALIGN_KERNEL(sz, NL_MMAP_MSG_ALIGNMENT)
/Linux-v5.4/include/uapi/linux/netfilter/
Dx_tables.h100 #define XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _xt_align))
/Linux-v5.4/arch/powerpc/include/asm/
Dpage.h258 #define _ALIGN_UP(addr, size) __ALIGN_KERNEL(addr, size)
/Linux-v5.4/include/linux/netfilter/
Dx_tables.h507 #define COMPAT_XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _compat_xt_align))
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c48 #define STMMAC_ALIGN(x) __ALIGN_KERNEL(x, SMP_CACHE_BYTES)