Searched refs:useroffset (Results 1 – 13 of 13) sorted by relevance
/linux/mm/ |
H A D | slab_common.c | 225 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 D | slab.h | 305 unsigned int useroffset; /* Usercopy region offset */ member 432 unsigned int useroffset, unsigned int usersize);
|
H A D | slub.c | 5646 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 D | slab.h | 267 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 D | fork.c | 1048 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 D | caif_socket.c | 1025 .useroffset = offsetof(struct caifsock, conn_req.param), in caif_create()
|
/linux/net/ipv4/ |
H A D | raw.c | 948 .useroffset = offsetof(struct raw_sock, filter),
|
/linux/net/ipv6/ |
H A D | raw.c | 1220 .useroffset = offsetof(struct raw6_sock, filter),
|
/linux/include/net/ |
H A D | sock.h | 1315 unsigned int useroffset; /* Usercopy region offset */ member
|
/linux/io_uring/ |
H A D | io_uring.c | 3777 .useroffset = offsetof(struct io_kiocb, cmd.data), in io_uring_init()
|
/linux/net/core/ |
H A D | sock.c | 4033 prot->useroffset, prot->usersize, in proto_register()
|
/linux/net/sctp/ |
H A D | socket.c | 9699 .useroffset = offsetof(struct sctp_sock, subscribe), 9756 .useroffset = offsetof(struct sctp6_sock, sctp.subscribe),
|
/linux/arch/x86/kvm/ |
H A D | x86.c | 543 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()
|