Home
last modified time | relevance | path

Searched refs:objp (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dslab.c332 static unsigned long long *dbg_redzone1(struct kmem_cache *cachep, void *objp) in dbg_redzone1() argument
335 return (unsigned long long*) (objp + obj_offset(cachep) - in dbg_redzone1()
339 static unsigned long long *dbg_redzone2(struct kmem_cache *cachep, void *objp) in dbg_redzone2() argument
343 return (unsigned long long *)(objp + cachep->size - in dbg_redzone2()
346 return (unsigned long long *) (objp + cachep->size - in dbg_redzone2()
350 static void **dbg_userword(struct kmem_cache *cachep, void *objp) in dbg_userword() argument
353 return (void **)(objp + cachep->size - BYTES_PER_WORD); in dbg_userword()
359 #define dbg_redzone1(cachep, objp) ({BUG(); (unsigned long long *)NULL;}) argument
360 #define dbg_redzone2(cachep, objp) ({BUG(); (unsigned long long *)NULL;}) argument
361 #define dbg_userword(cachep, objp) ({BUG(); (void **)NULL;}) argument
[all …]
Dslab_common.c1153 size_t ksize(const void *objp) in ksize() argument
1170 if (unlikely(ZERO_OR_NULL_PTR(objp)) || !__kasan_check_read(objp, 1)) in ksize()
1173 size = __ksize(objp); in ksize()
1178 kasan_unpoison_shadow(objp, size); in ksize()
Dnommu.c73 unsigned int kobjsize(const void *objp) in kobjsize() argument
81 if (!objp || !virt_addr_valid(objp)) in kobjsize()
84 page = virt_to_head_page(objp); in kobjsize()
91 return ksize(objp); in kobjsize()
102 vma = find_vma(current->mm, (unsigned long)objp); in kobjsize()
/kernel/linux/linux-5.10/tools/testing/radix-tree/
Dlinux.c62 void kmem_cache_free(struct kmem_cache *cachep, void *objp) in kmem_cache_free() argument
64 assert(objp); in kmem_cache_free()
67 printf("Freeing %p to slab\n", objp); in kmem_cache_free()
70 memset(objp, POISON_FREE, cachep->size); in kmem_cache_free()
71 free(objp); in kmem_cache_free()
73 struct radix_tree_node *node = objp; in kmem_cache_free()
/kernel/linux/linux-5.10/fs/notify/
Dmark.c210 static void fsnotify_drop_object(unsigned int type, void *objp) in fsnotify_drop_object() argument
215 if (!objp) in fsnotify_drop_object()
220 inode = objp; in fsnotify_drop_object()
230 void *objp = NULL; in fsnotify_put_mark() local
250 objp = fsnotify_detach_connector_from_object(conn, &type); in fsnotify_put_mark()
258 fsnotify_drop_object(type, objp); in fsnotify_put_mark()
773 void *objp; in fsnotify_destroy_marks() local
800 objp = fsnotify_detach_connector_from_object(conn, &type); in fsnotify_destroy_marks()
804 fsnotify_drop_object(type, objp); in fsnotify_destroy_marks()
/kernel/linux/linux-5.10/tools/testing/radix-tree/linux/
Dslab.h21 void kmem_cache_free(struct kmem_cache *cachep, void *objp);
/kernel/linux/linux-5.10/arch/h8300/include/asm/
Dpgtable.h31 extern unsigned int kobjsize(const void *objp);
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dpgtable-nommu.h58 extern unsigned int kobjsize(const void *objp);
/kernel/linux/linux-5.10/include/linux/
Dmm.h256 extern unsigned int kobjsize(const void *objp);