Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dslab_common.c211 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()
612 unsigned int useroffset, unsigned int usersize) in create_boot_cache() argument
[all …]
H A Dslab.h301 unsigned int useroffset, unsigned int usersize);
H A Dslab.c4019 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()
H A Dslub.c4779 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()
/openbmc/linux/include/linux/
H A Dslab_def.h84 unsigned int useroffset; /* Usercopy region offset */ member
H A Dslub_def.h150 unsigned int useroffset; /* Usercopy region offset */ member
H A Dslab.h195 unsigned int useroffset, unsigned int usersize,
/openbmc/linux/kernel/
H A Dfork.c1050 unsigned long useroffset, usersize; in fork_init() local
1053 task_struct_whitelist(&useroffset, &usersize); in fork_init()
1057 useroffset, usersize, NULL); in fork_init()
/openbmc/linux/net/caif/
H A Dcaif_socket.c1024 .useroffset = offsetof(struct caifsock, conn_req.param), in caif_create()
/openbmc/linux/net/ipv4/
H A Draw.c940 .useroffset = offsetof(struct raw_sock, filter),
/openbmc/linux/net/ipv6/
H A Draw.c1214 .useroffset = offsetof(struct raw6_sock, filter),
/openbmc/linux/include/net/
H A Dsock.h1351 unsigned int useroffset; /* Usercopy region offset */ member
/openbmc/linux/net/core/
H A Dsock.c3931 prot->useroffset, prot->usersize, in proto_register()
/openbmc/linux/net/sctp/
H A Dsocket.c9692 .useroffset = offsetof(struct sctp_sock, subscribe),
9749 .useroffset = offsetof(struct sctp6_sock, sctp.subscribe),
/openbmc/linux/arch/x86/kvm/
H A Dx86.c344 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()