Home
last modified time | relevance | path

Searched refs:useroffset (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dslab_common.c233 slab_flags_t flags, unsigned int useroffset, in create_cache() argument
240 if (WARN_ON(useroffset + usersize > object_size)) in create_cache()
241 useroffset = usersize = 0; in create_cache()
252 s->useroffset = useroffset; in create_cache()
303 unsigned int useroffset, unsigned int usersize, in kmem_cache_create_usercopy() argument
335 if (WARN_ON(!usersize && useroffset) || in kmem_cache_create_usercopy()
336 WARN_ON(size < usersize || size - usersize < useroffset)) in kmem_cache_create_usercopy()
337 usersize = useroffset = 0; in kmem_cache_create_usercopy()
352 flags, useroffset, usersize, ctor, NULL); in kmem_cache_create_usercopy()
542 unsigned int useroffset, unsigned int usersize) in create_boot_cache() argument
[all …]
Dslab.h25 unsigned int useroffset;/* Usercopy region offset */ member
98 slab_flags_t flags, unsigned int useroffset,
102 unsigned int useroffset, unsigned int usersize);
Dslab.c4156 if (offset >= cachep->useroffset && in __check_heap_object()
4157 offset - cachep->useroffset <= cachep->usersize && in __check_heap_object()
4158 n <= cachep->useroffset - offset + cachep->usersize) in __check_heap_object()
Dslub.c4067 if (offset >= s->useroffset && in __check_heap_object()
4068 offset - s->useroffset <= s->usersize && in __check_heap_object()
4069 n <= s->useroffset - offset + s->usersize) in __check_heap_object()
/kernel/linux/linux-5.10/include/linux/
Dslab_def.h83 unsigned int useroffset; /* Usercopy region offset */ member
Dslub_def.h131 unsigned int useroffset; /* Usercopy region offset */ member
Dslab.h153 unsigned int useroffset, unsigned int usersize,
/kernel/linux/linux-5.10/kernel/
Dfork.c810 unsigned long useroffset, usersize; in fork_init() local
813 task_struct_whitelist(&useroffset, &usersize); in fork_init()
817 useroffset, usersize, NULL); in fork_init()
/kernel/linux/linux-5.10/net/caif/
Dcaif_socket.c1034 .useroffset = offsetof(struct caifsock, conn_req.param), in caif_create()
/kernel/linux/linux-5.10/net/ipv4/
Draw.c963 .useroffset = offsetof(struct raw_sock, filter),
/kernel/linux/linux-5.10/net/ipv6/
Draw.c1255 .useroffset = offsetof(struct raw6_sock, filter),
/kernel/linux/linux-5.10/include/net/
Dsock.h1247 unsigned int useroffset; /* Usercopy region offset */ member
/kernel/linux/linux-5.10/net/core/
Dsock.c3490 prot->useroffset, prot->usersize, in proto_register()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.c282 unsigned int useroffset = offsetof(struct x86_emulate_ctxt, src); in kvm_alloc_emulator_cache() local
287 SLAB_ACCOUNT, useroffset, in kvm_alloc_emulator_cache()
288 size - useroffset, NULL); in kvm_alloc_emulator_cache()
/kernel/linux/linux-5.10/net/sctp/
Dsocket.c9411 .useroffset = offsetof(struct sctp_sock, subscribe),
9454 .useroffset = offsetof(struct sctp6_sock, sctp.subscribe),