Searched refs:XT_ALIGN (Results 1 – 7 of 7) sorted by relevance
60 .target_size = XT_ALIGN(__size), \100 #define XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _xt_align)) macro
182 pad = XT_ALIGN(t->targetsize) - t->targetsize; in target_compat_from_user()223 size_t size = XT_ALIGN(nla_len(tb[NFTA_TARGET_INFO])); in nft_target_init()273 unsigned int info_size, aligned_size = XT_ALIGN(size); in nft_extension_dump_info()426 pad = XT_ALIGN(m->matchsize) - m->matchsize; in match_compat_from_user()438 size_t size = XT_ALIGN(nla_len(tb[NFTA_MATCH_INFO])); in __nft_match_init()472 priv->info = kmalloc(XT_ALIGN(m->matchsize), GFP_KERNEL); in nft_match_large_init()746 matchsize = NFT_EXPR_SIZE(XT_ALIGN(match->matchsize)); in nft_match_select_ops()828 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)),
310 XT_ALIGN(K->u.kernel.TYPE->TYPE##size))463 if (XT_ALIGN(par->match->matchsize) != size && in xt_check_match()472 XT_ALIGN(par->match->matchsize), size); in xt_check_match()725 return XT_ALIGN(match->matchsize) - COMPAT_XT_ALIGN(csize); in xt_compat_match_offset()744 pad = XT_ALIGN(match->matchsize) - match->matchsize; in xt_compat_match_from_user()919 if (XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_check_entry_offsets()986 if (XT_ALIGN(par->target->targetsize) != size) { in xt_check_target()990 XT_ALIGN(par->target->targetsize), size); in xt_check_target()1108 return XT_ALIGN(target->targetsize) - COMPAT_XT_ALIGN(csize); in xt_compat_target_offset()1127 pad = XT_ALIGN(target->targetsize) - target->targetsize; in xt_compat_target_from_user()
176 .matchsize = XT_ALIGN(sizeof(struct xt_ipvs_mtinfo)),
159 mdata_len = XT_ALIGN(nla_len(tb[TCA_EM_IPT_MATCH_DATA])); in em_ipt_change()
1323 XT_ALIGN(datasize))) in ebt_obj_to_user()1585 return XT_ALIGN(userlen) - COMPAT_XT_ALIGN(userlen); in ebt_compat_match_offset()1967 pad = XT_ALIGN(size_kern) - size_kern; in compat_mtw_from_user()