Searched refs:useroffset (Results 1 – 15 of 15) sorted by relevance
/linux-6.6.21/mm/ |
D | slab_common.c | 211 slab_flags_t flags, unsigned int useroffset, in create_cache() argument 218 if (WARN_ON(useroffset + usersize > object_size)) in create_cache() 219 useroffset = usersize = 0; in create_cache() 231 s->useroffset = useroffset; in create_cache() 281 unsigned int useroffset, unsigned int usersize, in kmem_cache_create_usercopy() argument 325 WARN_ON(!usersize && useroffset) || in kmem_cache_create_usercopy() 326 WARN_ON(size < usersize || size - usersize < useroffset)) in kmem_cache_create_usercopy() 327 usersize = useroffset = 0; in kmem_cache_create_usercopy() 342 flags, useroffset, usersize, ctor, NULL); in kmem_cache_create_usercopy() 631 unsigned int useroffset, unsigned int usersize) in create_boot_cache() argument [all …]
|
D | slab.h | 301 unsigned int useroffset, unsigned int usersize);
|
D | slab.c | 4019 if (offset >= cachep->useroffset && in __check_heap_object() 4020 offset - cachep->useroffset <= cachep->usersize && in __check_heap_object() 4021 n <= cachep->useroffset - offset + cachep->usersize) in __check_heap_object()
|
D | slub.c | 4779 if (offset >= s->useroffset && in __check_heap_object() 4780 offset - s->useroffset <= s->usersize && in __check_heap_object() 4781 n <= s->useroffset - offset + s->usersize) in __check_heap_object()
|
/linux-6.6.21/include/linux/ |
D | slab_def.h | 84 unsigned int useroffset; /* Usercopy region offset */ member
|
D | slub_def.h | 150 unsigned int useroffset; /* Usercopy region offset */ member
|
D | slab.h | 195 unsigned int useroffset, unsigned int usersize,
|
/linux-6.6.21/kernel/ |
D | fork.c | 1049 unsigned long useroffset, usersize; in fork_init() local 1052 task_struct_whitelist(&useroffset, &usersize); in fork_init() 1056 useroffset, usersize, NULL); in fork_init()
|
/linux-6.6.21/net/caif/ |
D | caif_socket.c | 1024 .useroffset = offsetof(struct caifsock, conn_req.param), in caif_create()
|
/linux-6.6.21/net/ipv4/ |
D | raw.c | 936 .useroffset = offsetof(struct raw_sock, filter),
|
/linux-6.6.21/net/ipv6/ |
D | raw.c | 1214 .useroffset = offsetof(struct raw6_sock, filter),
|
/linux-6.6.21/include/net/ |
D | sock.h | 1349 unsigned int useroffset; /* Usercopy region offset */ member
|
/linux-6.6.21/net/core/ |
D | sock.c | 3935 prot->useroffset, prot->usersize, in proto_register()
|
/linux-6.6.21/net/sctp/ |
D | socket.c | 9681 .useroffset = offsetof(struct sctp_sock, subscribe), 9738 .useroffset = offsetof(struct sctp6_sock, sctp.subscribe),
|
/linux-6.6.21/arch/x86/kvm/ |
D | x86.c | 344 unsigned int useroffset = offsetof(struct x86_emulate_ctxt, src); in kvm_alloc_emulator_cache() local 349 SLAB_ACCOUNT, useroffset, in kvm_alloc_emulator_cache() 350 size - useroffset, NULL); in kvm_alloc_emulator_cache()
|