Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dslab.h297 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 Dslab_common.c362 /* 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 Dslab.h242 unsigned int useroffset; /* Usercopy region offset */ member
388 unsigned int useroffset, unsigned int usersize);
H A Dslub.c8076 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 Dslab.h79 unsigned int useroffset; member
/linux/kernel/
H A Dfork.c856 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 Dcaif_socket.c1025 .useroffset = offsetof(struct caifsock, conn_req.param), in caif_create()
/linux/net/core/
H A Dsock.c4197 .useroffset = prot->useroffset, in proto_register()
/linux/include/net/
H A Dsock.h1382 unsigned int useroffset; /* Usercopy region offset */ member
/linux/fs/smb/client/
H A Dsmbdirect.c2048 .useroffset = (offsetof(struct smbdirect_recv_io, packet) + in allocate_caches()
/linux/io_uring/
H A Dio_uring.c3116 .useroffset = offsetof(struct io_kiocb, cmd.data), in io_uring_init()
/linux/net/sctp/
H A Dsocket.c9648 .useroffset = offsetof(struct sctp_sock, subscribe),
9704 .useroffset = offsetof(struct sctp6_sock, sctp.subscribe),
/linux/arch/x86/kvm/
H A Dx86.c563 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 Dsuper.c1493 .useroffset = offsetof(struct ext4_inode_info, i_data),