Home
last modified time | relevance | path

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

12

/net/netfilter/
A Dxt_CT.c341 .usersize = offsetof(struct xt_ct_target_info, ct),
353 .usersize = offsetof(struct xt_ct_target_info, ct),
365 .usersize = offsetof(struct xt_ct_target_info, ct),
385 .usersize = offsetof(struct xt_ct_target_info, ct),
397 .usersize = offsetof(struct xt_ct_target_info, ct),
409 .usersize = offsetof(struct xt_ct_target_info, ct),
A Dxt_nfacct.c66 .usersize = offsetof(struct xt_nfacct_match_info, nfacct),
77 .usersize = offsetof(struct xt_nfacct_match_info_v1, nfacct),
A Dxt_bpf.c126 .usersize = offsetof(struct xt_bpf_info, filter),
137 .usersize = offsetof(struct xt_bpf_info_v1, filter),
A Dxt_SECMARK.c175 .usersize = offsetof(struct xt_secmark_target_info_v1, secid),
197 .usersize = offsetof(struct xt_secmark_target_info_v1, secid),
A Dxt_IDLETIMER.c467 .usersize = offsetof(struct idletimer_tg_info, timer),
478 .usersize = offsetof(struct idletimer_tg_info_v1, timer),
489 .usersize = offsetof(struct idletimer_tg_info, timer),
500 .usersize = offsetof(struct idletimer_tg_info_v1, timer),
A Dxt_LED.c188 .usersize = offsetof(struct xt_led_info, internal_data),
200 .usersize = offsetof(struct xt_led_info, internal_data),
A Dxt_connlimit.c128 .usersize = offsetof(struct xt_connlimit_info, data),
140 .usersize = offsetof(struct xt_connlimit_info, data),
A Dx_tables.c313 int usersize, int size, int aligned_size) in xt_data_to_user() argument
315 usersize = usersize ? : size; in xt_data_to_user()
316 if (copy_to_user(dst, src, usersize)) in xt_data_to_user()
318 if (usersize != aligned_size && in xt_data_to_user()
319 clear_user(dst + usersize, aligned_size - usersize)) in xt_data_to_user()
328 K->u.kernel.TYPE->usersize, \
658 static bool error_tg_ok(unsigned int usersize, unsigned int kernsize, in error_tg_ok() argument
661 return usersize == kernsize && strnlen(msg, msglen) < msglen; in error_tg_ok()
780 K->u.kernel.TYPE->usersize, \
A Dxt_TEE.c153 .usersize = offsetof(struct xt_tee_tginfo, priv),
165 .usersize = offsetof(struct xt_tee_tginfo, priv),
A Dxt_cgroup.c211 .usersize = offsetof(struct xt_cgroup_info_v1, priv),
225 .usersize = offsetof(struct xt_cgroup_info_v2, priv),
A Dxt_hashlimit.c989 .usersize = offsetof(struct xt_hashlimit_mtinfo1, hinfo),
1000 .usersize = offsetof(struct xt_hashlimit_mtinfo2, hinfo),
1011 .usersize = offsetof(struct xt_hashlimit_mtinfo3, hinfo),
1023 .usersize = offsetof(struct xt_hashlimit_mtinfo1, hinfo),
1034 .usersize = offsetof(struct xt_hashlimit_mtinfo2, hinfo),
1045 .usersize = offsetof(struct xt_hashlimit_mtinfo3, hinfo),
A Dxt_quota.c77 .usersize = offsetof(struct xt_quota_info, master),
A Dxt_statistic.c84 .usersize = offsetof(struct xt_statistic_info, master),
A Dxt_string.c78 .usersize = offsetof(struct xt_string_info, config),
A Dxt_rateest.c133 .usersize = offsetof(struct xt_rateest_match_info, est1),
A Dxt_limit.c200 .usersize = offsetof(struct xt_rateinfo, prev),
A Dnft_compat.c343 target->targetsize, target->usersize)) in nft_target_dump()
589 match->matchsize, match->usersize)) in __nft_match_dump()
/net/ipv6/netfilter/
A Dip6t_NPT.c151 .usersize = offsetof(struct ip6t_npt_tginfo, adjustment),
163 .usersize = offsetof(struct ip6t_npt_tginfo, adjustment),
/net/bridge/netfilter/
A Debt_limit.c109 .usersize = offsetof(struct ebt_limit_info, prev),
A Debtables.c1442 int usersize, int datasize, u8 revision) in ebt_obj_to_user() argument
1453 xt_data_to_user(um + entrysize, data, usersize, datasize, in ebt_obj_to_user()
1465 m->u.match->usersize, m->match_size, in ebt_match_to_user()
1474 w->u.watcher->usersize, w->watcher_size, in ebt_watcher_to_user()
1506 t->u.target->usersize, t->target_size, in ebt_entry_to_user()
1660 if (xt_data_to_user(cm->data, m->data, match->usersize, msize, in compat_match_to_user()
1692 if (xt_data_to_user(cm->data, t->data, target->usersize, tsize, in compat_target_to_user()
/net/sched/
A Dem_ipt.c263 im->match->usersize ?: im->match->matchsize, in em_ipt_dump()
/net/caif/
A Dcaif_socket.c1026 .usersize = sizeof_field(struct caifsock, conn_req.param) in caif_create()
/net/ipv4/
A Draw.c949 .usersize = sizeof_field(struct raw_sock, filter),
/net/ipv6/
A Draw.c1213 .usersize = sizeof_field(struct raw6_sock, filter),
/net/core/
A Dsock.c4152 prot->useroffset, prot->usersize, in proto_register()

Completed in 65 milliseconds

12