| /linux/include/linux/ |
| H A D | slab.h | 297 unsigned int useroffset; member 414 unsigned int useroffset, unsigned int usersize, in kmem_cache_create_usercopy() argument 420 .useroffset = useroffset, in kmem_cache_create_usercopy() 498 .useroffset = offsetof(struct __struct, __field), \ 806 unsigned int useroffset, unsigned int usersize,
|
| /linux/mm/ |
| H A D | slab_common.c | 362 /* Fail closed on bad usersize of useroffset values. */ 364 WARN_ON(!args->usersize && args->useroffset) || 366 object_size - args->usersize < args->useroffset)) 367 args->usersize = args->useroffset = 0; 412 * @useroffset: Starting offset within an allocation that may be copied in kmem_buckets_create() 414 * @usersize: How many bytes, starting at @useroffset, may be copied in kmem_buckets_create() 426 unsigned int useroffset, in kmem_buckets_create() 469 if (useroffset >= size) { 473 cache_useroffset = useroffset; in kmem_cache_release() 697 unsigned int useroffset, unsigne in create_kmalloc_cache() 386 kmem_buckets_create(const char * name,slab_flags_t flags,unsigned int useroffset,unsigned int usersize,void (* ctor)(void *)) kmem_buckets_create() argument 657 create_boot_cache(struct kmem_cache * s,const char * name,unsigned int size,slab_flags_t flags,unsigned int useroffset,unsigned int usersize) create_boot_cache() argument [all...] |
| H A D | slab.h | 242 unsigned int useroffset; /* Usercopy region offset */ member 388 unsigned int useroffset, unsigned int usersize);
|
| H A D | slub.c | 8076 if (offset >= s->useroffset && in __check_heap_object() 8077 offset - s->useroffset <= s->usersize && in __check_heap_object() 8078 n <= s->useroffset - offset + s->usersize) in __check_heap_object() 8445 s->useroffset = args->useroffset; in do_kmem_cache_create()
|
| /linux/tools/include/linux/ |
| H A D | slab.h | 79 unsigned int useroffset; member
|
| /linux/kernel/ |
| H A D | fork.c | 856 unsigned long useroffset, usersize; in fork_init() local 859 task_struct_whitelist(&useroffset, &usersize); in fork_init() 863 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/core/ |
| H A D | sock.c | 4197 .useroffset = prot->useroffset, in proto_register()
|
| /linux/include/net/ |
| H A D | sock.h | 1382 unsigned int useroffset; /* Usercopy region offset */ member
|
| /linux/fs/smb/client/ |
| H A D | smbdirect.c | 2048 .useroffset = (offsetof(struct smbdirect_recv_io, packet) + in allocate_caches()
|
| /linux/io_uring/ |
| H A D | io_uring.c | 3116 .useroffset = offsetof(struct io_kiocb, cmd.data), in io_uring_init()
|
| /linux/net/sctp/ |
| H A D | socket.c | 9648 .useroffset = offsetof(struct sctp_sock, subscribe), 9704 .useroffset = offsetof(struct sctp6_sock, sctp.subscribe),
|
| /linux/arch/x86/kvm/ |
| H A D | x86.c | 563 unsigned int useroffset = offsetof(struct x86_emulate_ctxt, src); in kvm_alloc_emulator_cache() local 568 SLAB_ACCOUNT, useroffset, in kvm_alloc_emulator_cache() 569 size - useroffset, NULL); in kvm_alloc_emulator_cache()
|
| /linux/fs/ext4/ |
| H A D | super.c | 1493 .useroffset = offsetof(struct ext4_inode_info, i_data),
|