Searched refs:__ALIGN_KERNEL (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/tools/include/linux/ |
D | mm.h | 14 #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/ |
D | align.h | 8 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) 9 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a))
|
D | cache.h | 9 #define L1_CACHE_ALIGN(x) __ALIGN_KERNEL(x, L1_CACHE_BYTES)
|
/linux-6.1.9/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)) 36 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a))
|
/linux-6.1.9/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-6.1.9/tools/include/uapi/linux/ |
D | const.h | 31 #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-6.1.9/include/uapi/linux/ |
D | const.h | 31 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) macro
|
D | netlink.h | 209 #define NL_MMAP_MSG_ALIGN(sz) __ALIGN_KERNEL(sz, NL_MMAP_MSG_ALIGNMENT)
|
/linux-6.1.9/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-6.1.9/include/uapi/linux/netfilter/ |
D | x_tables.h | 100 #define XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _xt_align))
|
/linux-6.1.9/include/linux/netfilter/ |
D | x_tables.h | 511 #define COMPAT_XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _compat_xt_align))
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | ioam6_parser.c | 344 aligned = cnf.sc_data ? __ALIGN_KERNEL(len, 4) : 0; in check_ioam6_data()
|