/Linux-v4.19/mm/ |
D | slab_common.c | 304 if (s->usersize) in slab_unmergeable() 366 unsigned int usersize, void (*ctor)(void *), in create_cache() argument 372 if (WARN_ON(useroffset + usersize > object_size)) in create_cache() 373 useroffset = usersize = 0; in create_cache() 385 s->usersize = usersize; in create_cache() 439 unsigned int useroffset, unsigned int usersize, in kmem_cache_create_usercopy() argument 472 if (WARN_ON(!usersize && useroffset) || in kmem_cache_create_usercopy() 473 WARN_ON(size < usersize || size - usersize < useroffset)) in kmem_cache_create_usercopy() 474 usersize = useroffset = 0; in kmem_cache_create_usercopy() 476 if (!usersize) in kmem_cache_create_usercopy() [all …]
|
D | slab.h | 26 unsigned int usersize; /* Usercopy region size */ member 98 unsigned int usersize); 101 unsigned int useroffset, unsigned int usersize);
|
/Linux-v4.19/net/netfilter/ |
D | xt_bpf.c | 129 .usersize = offsetof(struct xt_bpf_info, filter), 140 .usersize = offsetof(struct xt_bpf_info_v1, filter),
|
D | xt_TEE.c | 139 .usersize = offsetof(struct xt_tee_tginfo, priv), 151 .usersize = offsetof(struct xt_tee_tginfo, priv),
|
D | xt_CT.c | 394 .usersize = offsetof(struct xt_ct_target_info, ct), 406 .usersize = offsetof(struct xt_ct_target_info, ct), 418 .usersize = offsetof(struct xt_ct_target_info, ct),
|
D | x_tables.c | 298 int usersize, int size, int aligned_size) in xt_data_to_user() argument 300 usersize = usersize ? : size; in xt_data_to_user() 301 if (copy_to_user(dst, src, usersize)) in xt_data_to_user() 303 if (usersize != aligned_size && in xt_data_to_user() 304 clear_user(dst + usersize, aligned_size - usersize)) in xt_data_to_user() 313 K->u.kernel.TYPE->usersize, \ 641 static bool error_tg_ok(unsigned int usersize, unsigned int kernsize, in error_tg_ok() argument 644 return usersize == kernsize && strnlen(msg, msglen) < msglen; in error_tg_ok() 766 K->u.kernel.TYPE->usersize, \
|
D | xt_nfacct.c | 67 .usersize = offsetof(struct xt_nfacct_match_info, nfacct),
|
D | xt_quota.c | 76 .usersize = offsetof(struct xt_quota_info, master),
|
D | xt_statistic.c | 87 .usersize = offsetof(struct xt_statistic_info, master),
|
D | xt_string.c | 81 .usersize = offsetof(struct xt_string_info, config),
|
D | xt_hashlimit.c | 992 .usersize = offsetof(struct xt_hashlimit_mtinfo1, hinfo), 1003 .usersize = offsetof(struct xt_hashlimit_mtinfo2, hinfo), 1014 .usersize = offsetof(struct xt_hashlimit_mtinfo3, hinfo), 1026 .usersize = offsetof(struct xt_hashlimit_mtinfo1, hinfo), 1037 .usersize = offsetof(struct xt_hashlimit_mtinfo2, hinfo), 1048 .usersize = offsetof(struct xt_hashlimit_mtinfo3, hinfo),
|
D | xt_cgroup.c | 130 .usersize = offsetof(struct xt_cgroup_info_v1, priv),
|
D | xt_connlimit.c | 114 .usersize = offsetof(struct xt_connlimit_info, data),
|
D | xt_LED.c | 199 .usersize = offsetof(struct xt_led_info, internal_data),
|
D | xt_rateest.c | 136 .usersize = offsetof(struct xt_rateest_match_info, est1),
|
D | xt_limit.c | 197 .usersize = offsetof(struct xt_rateinfo, prev),
|
D | xt_RATEEST.c | 189 .usersize = offsetof(struct xt_rateest_target_info, est),
|
D | xt_IDLETIMER.c | 258 .usersize = offsetof(struct idletimer_tg_info, timer),
|
/Linux-v4.19/net/ipv6/netfilter/ |
D | ip6t_NPT.c | 115 .usersize = offsetof(struct ip6t_npt_tginfo, adjustment), 127 .usersize = offsetof(struct ip6t_npt_tginfo, adjustment),
|
/Linux-v4.19/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-v4.19/include/linux/ |
D | slab_def.h | 90 unsigned int usersize; /* Usercopy region size */ member
|
D | slub_def.h | 140 unsigned int usersize; /* Usercopy region size */ member
|
/Linux-v4.19/net/bridge/netfilter/ |
D | ebt_limit.c | 108 .usersize = offsetof(struct ebt_limit_info, prev),
|
D | ebtables.c | 1364 int usersize, int datasize, u8 revision) in ebt_obj_to_user() argument 1375 xt_data_to_user(um + entrysize, data, usersize, datasize, in ebt_obj_to_user() 1387 m->u.match->usersize, m->match_size, in ebt_match_to_user() 1396 w->u.watcher->usersize, w->watcher_size, in ebt_watcher_to_user() 1428 t->u.target->usersize, t->target_size, in ebt_entry_to_user() 1669 if (xt_data_to_user(cm->data, m->data, match->usersize, msize, in compat_match_to_user() 1701 if (xt_data_to_user(cm->data, t->data, target->usersize, tsize, in compat_target_to_user()
|
/Linux-v4.19/net/sched/ |
D | em_ipt.c | 223 im->match->usersize ?: im->match->matchsize, in em_ipt_dump()
|