Home
last modified time | relevance | path

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

/linux-6.1.9/tools/include/linux/
Dmm.h14 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) macro
16 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a))
17 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a))
/linux-6.1.9/include/linux/
Dalign.h8 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a))
9 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a))
Dcache.h9 #define L1_CACHE_ALIGN(x) __ALIGN_KERNEL(x, L1_CACHE_BYTES)
/linux-6.1.9/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))
36 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a))
/linux-6.1.9/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-6.1.9/tools/include/uapi/linux/
Dconst.h31 #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-6.1.9/include/uapi/linux/
Dconst.h31 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) macro
Dnetlink.h209 #define NL_MMAP_MSG_ALIGN(sz) __ALIGN_KERNEL(sz, NL_MMAP_MSG_ALIGNMENT)
/linux-6.1.9/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-6.1.9/include/uapi/linux/netfilter/
Dx_tables.h100 #define XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _xt_align))
/linux-6.1.9/include/linux/netfilter/
Dx_tables.h511 #define COMPAT_XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _compat_xt_align))
/linux-6.1.9/tools/testing/selftests/net/
Dioam6_parser.c344 aligned = cnf.sc_data ? __ALIGN_KERNEL(len, 4) : 0; in check_ioam6_data()