/linux-6.1.9/mm/ |
D | slab_common.c | 146 if (s->usersize) in slab_unmergeable() 208 unsigned int usersize, void (*ctor)(void *), in create_cache() argument 214 if (WARN_ON(useroffset + usersize > object_size)) in create_cache() 215 useroffset = usersize = 0; in create_cache() 227 s->usersize = usersize; in create_cache() 277 unsigned int useroffset, unsigned int usersize, in kmem_cache_create_usercopy() argument 320 if (WARN_ON(!usersize && useroffset) || in kmem_cache_create_usercopy() 321 WARN_ON(size < usersize || size - usersize < useroffset)) in kmem_cache_create_usercopy() 322 usersize = useroffset = 0; in kmem_cache_create_usercopy() 324 if (!usersize) in kmem_cache_create_usercopy() [all …]
|
D | slab.h | 211 unsigned int usersize; /* Usercopy region size */ member 290 unsigned int usersize); 293 unsigned int useroffset, unsigned int usersize);
|
/linux-6.1.9/net/netfilter/ |
D | xt_nfacct.c | 66 .usersize = offsetof(struct xt_nfacct_match_info, nfacct), 77 .usersize = offsetof(struct xt_nfacct_match_info_v1, nfacct),
|
D | xt_bpf.c | 126 .usersize = offsetof(struct xt_bpf_info, filter), 137 .usersize = offsetof(struct xt_bpf_info_v1, filter),
|
D | xt_CT.c | 321 .usersize = offsetof(struct xt_ct_target_info, ct), 333 .usersize = offsetof(struct xt_ct_target_info, ct), 345 .usersize = offsetof(struct xt_ct_target_info, ct),
|
D | xt_cgroup.c | 185 .usersize = offsetof(struct xt_cgroup_info_v1, priv), 199 .usersize = offsetof(struct xt_cgroup_info_v2, priv),
|
D | xt_TEE.c | 153 .usersize = offsetof(struct xt_tee_tginfo, priv), 165 .usersize = offsetof(struct xt_tee_tginfo, priv),
|
D | x_tables.c | 313 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, \
|
D | xt_quota.c | 77 .usersize = offsetof(struct xt_quota_info, master),
|
D | xt_statistic.c | 84 .usersize = offsetof(struct xt_statistic_info, master),
|
D | xt_string.c | 78 .usersize = offsetof(struct xt_string_info, config),
|
D | xt_hashlimit.c | 987 .usersize = offsetof(struct xt_hashlimit_mtinfo1, hinfo), 998 .usersize = offsetof(struct xt_hashlimit_mtinfo2, hinfo), 1009 .usersize = offsetof(struct xt_hashlimit_mtinfo3, hinfo), 1021 .usersize = offsetof(struct xt_hashlimit_mtinfo1, hinfo), 1032 .usersize = offsetof(struct xt_hashlimit_mtinfo2, hinfo), 1043 .usersize = offsetof(struct xt_hashlimit_mtinfo3, hinfo),
|
D | xt_SECMARK.c | 175 .usersize = offsetof(struct xt_secmark_target_info_v1, secid),
|
D | xt_connlimit.c | 116 .usersize = offsetof(struct xt_connlimit_info, data),
|
D | xt_LED.c | 185 .usersize = offsetof(struct xt_led_info, internal_data),
|
D | xt_rateest.c | 133 .usersize = offsetof(struct xt_rateest_match_info, est1),
|
D | xt_limit.c | 200 .usersize = offsetof(struct xt_rateinfo, prev),
|
D | xt_IDLETIMER.c | 465 .usersize = offsetof(struct idletimer_tg_info, timer), 476 .usersize = offsetof(struct idletimer_tg_info_v1, timer),
|
D | xt_RATEEST.c | 190 .usersize = offsetof(struct xt_rateest_target_info, est),
|
/linux-6.1.9/net/ipv6/netfilter/ |
D | ip6t_NPT.c | 151 .usersize = offsetof(struct ip6t_npt_tginfo, adjustment), 163 .usersize = offsetof(struct ip6t_npt_tginfo, adjustment),
|
/linux-6.1.9/include/linux/netfilter/ |
D | x_tables.h | 171 unsigned int usersize; member 212 unsigned int usersize; member 302 int usersize, int size, int aligned_size);
|
/linux-6.1.9/include/linux/ |
D | slab_def.h | 84 unsigned int usersize; /* Usercopy region size */ member
|
D | slub_def.h | 140 unsigned int usersize; /* Usercopy region size */ member
|
/linux-6.1.9/net/bridge/netfilter/ |
D | ebt_limit.c | 109 .usersize = offsetof(struct ebt_limit_info, prev),
|
D | ebtables.c | 1438 int usersize, int datasize, u8 revision) in ebt_obj_to_user() argument 1449 xt_data_to_user(um + entrysize, data, usersize, datasize, in ebt_obj_to_user() 1461 m->u.match->usersize, m->match_size, in ebt_match_to_user() 1470 w->u.watcher->usersize, w->watcher_size, in ebt_watcher_to_user() 1502 t->u.target->usersize, t->target_size, in ebt_entry_to_user() 1656 if (xt_data_to_user(cm->data, m->data, match->usersize, msize, in compat_match_to_user() 1688 if (xt_data_to_user(cm->data, t->data, target->usersize, tsize, in compat_target_to_user()
|