Searched refs:XT_ALIGN (Results 1 – 9 of 9) sorted by relevance
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nft_compat.c | 182 pad = XT_ALIGN(t->targetsize) - t->targetsize; in target_compat_from_user() 234 size_t size = XT_ALIGN(nla_len(tb[NFTA_TARGET_INFO])); in nft_target_init() 291 unsigned int info_size, aligned_size = XT_ALIGN(size); in nft_extension_dump_info() 444 pad = XT_ALIGN(m->matchsize) - m->matchsize; in match_compat_from_user() 456 size_t size = XT_ALIGN(nla_len(tb[NFTA_MATCH_INFO])); in __nft_match_init() 492 priv->info = kmalloc(XT_ALIGN(m->matchsize), GFP_KERNEL); in nft_match_large_init() 760 matchsize = NFT_EXPR_SIZE(XT_ALIGN(match->matchsize)); in nft_match_select_ops() 842 ops->size = NFT_EXPR_SIZE(XT_ALIGN(target->targetsize)); in nft_target_select_ops()
|
| H A D | xt_l2tp.c | 319 .matchsize = XT_ALIGN(sizeof(struct xt_l2tp_info)), 333 .matchsize = XT_ALIGN(sizeof(struct xt_l2tp_info)),
|
| H A D | x_tables.c | 310 XT_ALIGN(K->u.kernel.TYPE->TYPE##size)) 465 if (XT_ALIGN(par->match->matchsize) != size && in xt_check_match() 474 XT_ALIGN(par->match->matchsize), size); in xt_check_match() 727 return XT_ALIGN(match->matchsize) - COMPAT_XT_ALIGN(csize); in xt_compat_match_offset() 918 if (XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_check_entry_offsets() 985 if (XT_ALIGN(par->target->targetsize) != size) { in xt_check_target() 989 XT_ALIGN(par->target->targetsize), size); in xt_check_target() 1107 return XT_ALIGN(target->targetsize) - COMPAT_XT_ALIGN(csize); in xt_compat_target_offset()
|
| H A D | xt_ipvs.c | 176 .matchsize = XT_ALIGN(sizeof(struct xt_ipvs_mtinfo)),
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/netfilter/ |
| H A D | x_tables.h | 60 .target_size = XT_ALIGN(__size), \ 100 #define XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _xt_align)) macro
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/netfilter/ |
| H A D | x_tables.h | 60 .target_size = XT_ALIGN(__size), \ 100 #define XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _xt_align)) macro
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/netfilter/ |
| H A D | x_tables.h | 60 .target_size = XT_ALIGN(__size), \ 100 #define XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _xt_align)) macro
|
| /OK3568_Linux_fs/kernel/net/sched/ |
| H A D | em_ipt.c | 159 mdata_len = XT_ALIGN(nla_len(tb[TCA_EM_IPT_MATCH_DATA])); in em_ipt_change()
|
| /OK3568_Linux_fs/kernel/net/bridge/netfilter/ |
| H A D | ebtables.c | 1336 XT_ALIGN(datasize))) in ebt_obj_to_user() 1518 return XT_ALIGN(userlen) - COMPAT_XT_ALIGN(userlen); in ebt_compat_match_offset() 1900 pad = XT_ALIGN(size_kern) - size_kern; in compat_mtw_from_user()
|