Searched refs:XT_ALIGN (Results 1 – 7 of 7) sorted by relevance
191 pad = XT_ALIGN(t->targetsize) - t->targetsize; in target_compat_from_user() 250 size_t size = XT_ALIGN(nla_len(tb[NFTA_TARGET_INFO])); in nft_target_init() 321 unsigned int info_size, aligned_size = XT_ALIGN(size); in nft_extension_dump_info() 516 pad = XT_ALIGN(m->matchsize) - m->matchsize; in __nft_match_init() 528 size_t size = XT_ALIGN(nla_len(tb[NFTA_MATCH_INFO])); in __nft_match_init() 564 priv->info = kmalloc(XT_ALIGN(m->matchsize), GFP_KERNEL_ACCOUNT); in __nft_match_destroy() 665 size_t size = XT_ALIGN(match->matchsize); in nft_match_validate() 865 matchsize = NFT_EXPR_SIZE(XT_ALIGN(match->matchsize)); in nft_match_select_ops() 947 ops->size = NFT_EXPR_SIZE(XT_ALIGN(target->targetsize)); in nft_target_select_ops()
319 .matchsize = XT_ALIGN(sizeof(struct xt_l2tp_info)),333 .matchsize = XT_ALIGN(sizeof(struct xt_l2tp_info)),
333 XT_ALIGN(K->u.kernel.TYPE->TYPE##size))486 if (XT_ALIGN(par->match->matchsize) != size && in xt_check_match_common()495 XT_ALIGN(par->match->matchsize), size); in xt_check_match_common()793 return XT_ALIGN(match->matchsize) - COMPAT_XT_ALIGN(csize); in xt_compat_match_offset()988 if (XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_check_entry_offsets()1053 if (XT_ALIGN(par->target->targetsize) != size) { in xt_check_target_common()1057 XT_ALIGN(par->target->targetsize), size); in xt_check_target_common()1220 return XT_ALIGN(target->targetsize) - COMPAT_XT_ALIGN(csize); in xt_compat_target_offset()
176 .matchsize = XT_ALIGN(sizeof(struct xt_ipvs_mtinfo)),
60 .target_size = XT_ALIGN(__size), \100 #define XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _xt_align)) macro
159 mdata_len = XT_ALIGN(nla_len(tb[TCA_EM_IPT_MATCH_DATA])); in em_ipt_change()
1458 XT_ALIGN(datasize))) in ebt_obj_to_user() 1640 return XT_ALIGN(userlen) - COMPAT_XT_ALIGN(userlen); in ebt_compat_match_offset() 2052 pad = XT_ALIGN(size_kern) - size_kern; in compat_mtw_from_user()