Searched refs:useroffset (Results 1 – 4 of 4) sorted by relevance
/mm/ |
D | slab_common.c | 381 slab_flags_t flags, unsigned int useroffset, in create_cache() argument 388 if (WARN_ON(useroffset + usersize > object_size)) in create_cache() 389 useroffset = usersize = 0; in create_cache() 400 s->useroffset = useroffset; in create_cache() 457 unsigned int useroffset, unsigned int usersize, in kmem_cache_create_usercopy() argument 490 if (WARN_ON(!usersize && useroffset) || in kmem_cache_create_usercopy() 491 WARN_ON(size < usersize || size - usersize < useroffset)) in kmem_cache_create_usercopy() 492 usersize = useroffset = 0; in kmem_cache_create_usercopy() 507 flags, useroffset, usersize, ctor, NULL, NULL); in kmem_cache_create_usercopy() 683 root_cache->useroffset, root_cache->usersize, in memcg_create_kmem_cache() [all …]
|
D | slab.h | 25 unsigned int useroffset;/* Usercopy region offset */ member 160 slab_flags_t flags, unsigned int useroffset, 164 unsigned int useroffset, unsigned int usersize);
|
D | slab.c | 4185 if (offset >= cachep->useroffset && in __check_heap_object() 4186 offset - cachep->useroffset <= cachep->usersize && in __check_heap_object() 4187 n <= cachep->useroffset - offset + cachep->usersize) in __check_heap_object()
|
D | slub.c | 3895 if (offset >= s->useroffset && in __check_heap_object() 3896 offset - s->useroffset <= s->usersize && in __check_heap_object() 3897 n <= s->useroffset - offset + s->usersize) in __check_heap_object()
|