Home
last modified time | relevance | path

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

/linux/mm/
H A Dslab_common.c225 if (WARN_ON(args->useroffset + args->usersize > object_size)) in create_cache()
226 args->useroffset = args->usersize = 0; in create_cache()
315 WARN_ON(!args->usersize && args->useroffset) || in __kmem_cache_create_args()
317 object_size - args->usersize < args->useroffset)) in __kmem_cache_create_args()
318 args->usersize = args->useroffset = 0; in __kmem_cache_create_args()
379 unsigned int useroffset, in kmem_buckets_create() argument
423 if (useroffset >= size) { in kmem_buckets_create()
427 cache_useroffset = useroffset; in kmem_buckets_create()
638 unsigned int useroffset, unsigned int usersize) in create_boot_cache() argument
654 kmem_args.useroffset = useroffset; in create_boot_cache()
H A Dslab.h305 unsigned int useroffset; /* Usercopy region offset */ member
432 unsigned int useroffset, unsigned int usersize);
H A Dslub.c5646 if (offset >= s->useroffset && in __check_heap_object()
5647 offset - s->useroffset <= s->usersize && in __check_heap_object()
5648 n <= s->useroffset - offset + s->usersize) in __check_heap_object()
5994 s->useroffset = args->useroffset; in do_kmem_cache_create()
/linux/include/linux/
H A Dslab.h267 unsigned int useroffset; member
351 unsigned int useroffset, unsigned int usersize, in kmem_cache_create_usercopy() argument
357 .useroffset = useroffset, in kmem_cache_create_usercopy()
435 .useroffset = offsetof(struct __struct, __field), \
750 unsigned int useroffset, unsigned int usersize,
/linux/kernel/
H A Dfork.c1048 unsigned long useroffset, usersize; in fork_init() local
1051 task_struct_whitelist(&useroffset, &usersize); in fork_init()
1055 useroffset, usersize, NULL); in fork_init()
/linux/net/caif/
H A Dcaif_socket.c1025 .useroffset = offsetof(struct caifsock, conn_req.param), in caif_create()
/linux/net/ipv4/
H A Draw.c948 .useroffset = offsetof(struct raw_sock, filter),
/linux/net/ipv6/
H A Draw.c1220 .useroffset = offsetof(struct raw6_sock, filter),
/linux/include/net/
H A Dsock.h1315 unsigned int useroffset; /* Usercopy region offset */ member
/linux/io_uring/
H A Dio_uring.c3777 .useroffset = offsetof(struct io_kiocb, cmd.data), in io_uring_init()
/linux/net/core/
H A Dsock.c4033 prot->useroffset, prot->usersize, in proto_register()
/linux/net/sctp/
H A Dsocket.c9699 .useroffset = offsetof(struct sctp_sock, subscribe),
9756 .useroffset = offsetof(struct sctp6_sock, sctp.subscribe),
/linux/arch/x86/kvm/
H A Dx86.c543 unsigned int useroffset = offsetof(struct x86_emulate_ctxt, src); in kvm_alloc_emulator_cache() local
548 SLAB_ACCOUNT, useroffset, in kvm_alloc_emulator_cache()
549 size - useroffset, NULL); in kvm_alloc_emulator_cache()