Searched refs:objp (Results 1 – 12 of 12) sorted by relevance
| /linux/mm/ |
| A D | slab.c | 2487 void *objp; in cache_init_objs() local 2502 objp = kasan_init_slab_obj(cachep, objp); in cache_init_objs() 2518 void *objp; in slab_get_obj() local 2741 #define cache_free_debugcheck(x, objp, z) (objp) argument 2749 void *objp; in fixup_objfreelist_debug() local 2995 if (!objp || is_kfence_address(objp)) in cache_alloc_debugcheck_after() 3010 objp, *dbg_redzone1(cachep, objp), in cache_alloc_debugcheck_after() 3061 if (objp) in ____cache_alloc() 3272 if (objp) in __do_cache_alloc() 3281 if (!objp) in __do_cache_alloc() [all …]
|
| A D | slab_common.c | 1278 size_t ksize(const void *objp) in ksize() argument 1297 if (unlikely(ZERO_OR_NULL_PTR(objp)) || !kasan_check_byte(objp)) in ksize() 1300 size = kfence_ksize(objp) ?: __ksize(objp); in ksize() 1305 kasan_unpoison_range(objp, size); in ksize()
|
| A D | nommu.c | 72 unsigned int kobjsize(const void *objp) in kobjsize() argument 80 if (!objp || !virt_addr_valid(objp)) in kobjsize() 83 page = virt_to_head_page(objp); in kobjsize() 90 return ksize(objp); in kobjsize() 101 vma = find_vma(current->mm, (unsigned long)objp); in kobjsize()
|
| A D | slub.c | 4330 void *objp; in kmem_obj_info() local 4341 objp = restore_red_left(s, objp0); in kmem_obj_info() 4343 objp = objp0; in kmem_obj_info() 4345 objnr = obj_to_index(s, page, objp); in kmem_obj_info() 4346 kpp->kp_data_offset = (unsigned long)((char *)objp0 - (char *)objp); in kmem_obj_info() 4347 objp = base + s->size * objnr; in kmem_obj_info() 4348 kpp->kp_objp = objp; in kmem_obj_info() 4349 …if (WARN_ON_ONCE(objp < base || objp >= base + page->objects * s->size || (objp - base) % s->size)… in kmem_obj_info() 4353 objp = fixup_red_left(s, objp); in kmem_obj_info() 4354 trackp = get_track(s, objp, TRACK_ALLOC); in kmem_obj_info() [all …]
|
| A D | vmalloc.c | 3862 void *objp = (void *)PAGE_ALIGN((unsigned long)object); in vmalloc_dump_obj() local 3864 vm = find_vm_area(objp); in vmalloc_dump_obj()
|
| /linux/tools/testing/radix-tree/ |
| A D | linux.c | 62 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()
|
| /linux/fs/notify/ |
| A D | mark.c | 241 static void fsnotify_drop_object(unsigned int type, void *objp) in fsnotify_drop_object() argument 243 if (!objp) in fsnotify_drop_object() 248 fsnotify_put_inode_ref(objp); in fsnotify_drop_object() 254 void *objp = NULL; in fsnotify_put_mark() local 274 objp = fsnotify_detach_connector_from_object(conn, &type); in fsnotify_put_mark() 282 fsnotify_drop_object(type, objp); in fsnotify_put_mark() 798 void *objp; in fsnotify_destroy_marks() local 825 objp = fsnotify_detach_connector_from_object(conn, &type); in fsnotify_destroy_marks() 829 fsnotify_drop_object(type, objp); in fsnotify_destroy_marks()
|
| /linux/include/linux/ |
| A D | slab.h | 182 void * __must_check krealloc(const void *objp, size_t new_size, gfp_t flags) __alloc_size(2); 183 void kfree(const void *objp); 184 void kfree_sensitive(const void *objp); 185 size_t __ksize(const void *objp); 186 size_t ksize(const void *objp); 428 void kmem_cache_free(struct kmem_cache *s, void *objp);
|
| A D | mm.h | 251 extern unsigned int kobjsize(const void *objp);
|
| /linux/tools/testing/radix-tree/linux/ |
| A D | slab.h | 21 void kmem_cache_free(struct kmem_cache *cachep, void *objp);
|
| /linux/arch/h8300/include/asm/ |
| A D | pgtable.h | 31 extern unsigned int kobjsize(const void *objp);
|
| /linux/arch/arm/include/asm/ |
| A D | pgtable-nommu.h | 64 extern unsigned int kobjsize(const void *objp);
|
Completed in 62 milliseconds