Home
last modified time | relevance | path

Searched refs:usersize (Results 1 – 25 of 32) sorted by relevance

12

/linux/net/netfilter/
H A Dxt_CT.c345 .usersize = offsetof(struct xt_ct_target_info, ct),
357 .usersize = offsetof(struct xt_ct_target_info_v1, ct),
369 .usersize = offsetof(struct xt_ct_target_info_v1, ct),
389 .usersize = offsetof(struct xt_ct_target_info, ct),
401 .usersize = offsetof(struct xt_ct_target_info_v1, ct),
413 .usersize = offsetof(struct xt_ct_target_info_v1, ct),
H A Dxt_nfacct.c66 .usersize = offsetof(struct xt_nfacct_match_info, nfacct),
77 .usersize = offsetof(struct xt_nfacct_match_info_v1, nfacct),
H A Dxt_bpf.c126 .usersize = offsetof(struct xt_bpf_info, filter),
137 .usersize = offsetof(struct xt_bpf_info_v1, filter),
H A Dxt_SECMARK.c175 .usersize = offsetof(struct xt_secmark_target_info_v1, secid),
197 .usersize = offsetof(struct xt_secmark_target_info_v1, secid),
H A Dxt_LED.c188 .usersize = offsetof(struct xt_led_info, internal_data),
200 .usersize = offsetof(struct xt_led_info, internal_data),
H A Dxt_IDLETIMER.c473 .usersize = offsetof(struct idletimer_tg_info, timer),
484 .usersize = offsetof(struct idletimer_tg_info_v1, timer),
495 .usersize = offsetof(struct idletimer_tg_info, timer),
506 .usersize = offsetof(struct idletimer_tg_info_v1, timer),
H A Dxt_TEE.c153 .usersize = offsetof(struct xt_tee_tginfo, priv),
165 .usersize = offsetof(struct xt_tee_tginfo, priv),
H A Dxt_cgroup.c217 .usersize = offsetof(struct xt_cgroup_info_v1, priv),
231 .usersize = offsetof(struct xt_cgroup_info_v2, priv),
H A Dxt_RATEEST.c191 .usersize = offsetof(struct xt_rateest_target_info, est),
203 .usersize = offsetof(struct xt_rateest_target_info, est),
H A Dx_tables.c316 int usersize, int size, int aligned_size) in xt_data_to_user() argument
318 usersize = usersize ? : size; in xt_data_to_user()
319 if (copy_to_user(dst, src, usersize)) in xt_data_to_user()
321 if (usersize != aligned_size && in xt_data_to_user()
322 clear_user(dst + usersize, aligned_size - usersize)) in xt_data_to_user()
331 K->u.kernel.TYPE->usersize, \
704 static bool error_tg_ok(unsigned int usersize, unsigned int kernsize, in error_tg_ok() argument
707 return usersize == kernsize && strnlen(msg, msglen) < msglen; in error_tg_ok()
826 K->u.kernel.TYPE->usersize, \
H A Dxt_quota.c77 .usersize = offsetof(struct xt_quota_info, master),
H A Dxt_string.c78 .usersize = offsetof(struct xt_string_info, config),
H A Dxt_statistic.c84 .usersize = offsetof(struct xt_statistic_info, master),
H A Dxt_hashlimit.c991 .usersize = offsetof(struct xt_hashlimit_mtinfo1, hinfo),
1002 .usersize = offsetof(struct xt_hashlimit_mtinfo2, hinfo),
1013 .usersize = offsetof(struct xt_hashlimit_mtinfo3, hinfo),
1025 .usersize = offsetof(struct xt_hashlimit_mtinfo1, hinfo),
1036 .usersize = offsetof(struct xt_hashlimit_mtinfo2, hinfo),
1047 .usersize = offsetof(struct xt_hashlimit_mtinfo3, hinfo),
H A Dxt_rateest.c138 .usersize = offsetof(struct xt_rateest_match_info, est1),
H A Dxt_limit.c200 .usersize = offsetof(struct xt_rateinfo, prev),
H A Dnft_compat.c344 target->targetsize, target->usersize)) in nft_target_dump()
599 match->matchsize, match->usersize)) in __nft_match_dump()
/linux/include/linux/
H A Dslab.h303 unsigned int usersize; member
414 unsigned int useroffset, unsigned int usersize, in kmem_cache_create_usercopy() argument
421 .usersize = usersize, in kmem_cache_create_usercopy()
499 .usersize = sizeof_field(struct __struct, __field), \
806 unsigned int useroffset, unsigned int usersize,
/linux/include/linux/netfilter/
H A Dx_tables.h164 unsigned int usersize; member
208 unsigned int usersize; member
300 int usersize, int size, int aligned_size);
/linux/net/ipv6/netfilter/
H A Dip6t_NPT.c151 .usersize = offsetof(struct ip6t_npt_tginfo, adjustment),
163 .usersize = offsetof(struct ip6t_npt_tginfo, adjustment),
/linux/net/bridge/netfilter/
H A Debt_limit.c109 .usersize = offsetof(struct ebt_limit_info, prev),
H A Debtables.c1446 int usersize, int datasize, u8 revision) in ebt_obj_to_user() argument
1457 xt_data_to_user(um + entrysize, data, usersize, datasize, in ebt_obj_to_user()
1469 m->u.match->usersize, m->match_size, in ebt_match_to_user()
1478 w->u.watcher->usersize, w->watcher_size, in ebt_watcher_to_user()
1510 t->u.target->usersize, t->target_size, in ebt_entry_to_user()
1664 if (xt_data_to_user(cm->data, m->data, match->usersize, msize, in compat_match_to_user()
1696 if (xt_data_to_user(cm->data, t->data, target->usersize, tsize, in compat_target_to_user()
/linux/mm/
H A Dslab.h244 unsigned int usersize; /* Usercopy region size */ member
389 unsigned int useroffset, unsigned int usersize);
/linux/tools/include/linux/
H A Dslab.h85 unsigned int usersize; member
/linux/net/sched/
H A Dem_ipt.c263 im->match->usersize ?: im->match->matchsize, in em_ipt_dump()

12