Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/shared/
Dlinux.c117 void __kmem_cache_free_locked(struct kmem_cache *cachep, void *objp) in __kmem_cache_free_locked() argument
119 assert(objp); in __kmem_cache_free_locked()
121 memset(objp, POISON_FREE, cachep->size); in __kmem_cache_free_locked()
122 free(objp); in __kmem_cache_free_locked()
124 struct radix_tree_node *node = objp; in __kmem_cache_free_locked()
131 void kmem_cache_free_locked(struct kmem_cache *cachep, void *objp) in kmem_cache_free_locked() argument
136 printf("Freeing %p to slab\n", objp); in kmem_cache_free_locked()
137 __kmem_cache_free_locked(cachep, objp); in kmem_cache_free_locked()
140 void kmem_cache_free(struct kmem_cache *cachep, void *objp) in kmem_cache_free() argument
143 kmem_cache_free_locked(cachep, objp); in kmem_cache_free()
/linux-6.12.1/rust/helpers/
Dslab.c6 rust_helper_krealloc(const void *objp, size_t new_size, gfp_t flags) in rust_helper_krealloc() argument
8 return krealloc(objp, new_size, flags); in rust_helper_krealloc()
/linux-6.12.1/fs/notify/
Dmark.c364 static void fsnotify_drop_object(unsigned int type, void *objp) in fsnotify_drop_object() argument
366 if (!objp) in fsnotify_drop_object()
371 fsnotify_put_inode_ref(objp); in fsnotify_drop_object()
377 void *objp = NULL; in fsnotify_put_mark() local
397 objp = fsnotify_detach_connector_from_object(conn, &type); in fsnotify_put_mark()
405 objp = __fsnotify_recalc_mask(conn); in fsnotify_put_mark()
411 fsnotify_drop_object(type, objp); in fsnotify_put_mark()
919 void *objp; in fsnotify_destroy_marks() local
946 objp = fsnotify_detach_connector_from_object(conn, &type); in fsnotify_destroy_marks()
950 fsnotify_drop_object(type, objp); in fsnotify_destroy_marks()
/linux-6.12.1/mm/
Dmm_slot.h31 static inline void mm_slot_free(struct kmem_cache *cache, void *objp) in mm_slot_free() argument
33 kmem_cache_free(cache, objp); in mm_slot_free()
Dslab_common.c1311 size_t ksize(const void *objp) in ksize() argument
1328 if (unlikely(ZERO_OR_NULL_PTR(objp)) || !kasan_check_byte(objp)) in ksize()
1331 return kfence_ksize(objp) ?: __ksize(objp); in ksize()
Dnommu.c72 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()
Dslub.c4162 bool kmem_cache_charge(void *objp, gfp_t gfpflags) in kmem_cache_charge() argument
4167 return memcg_slab_post_charge(objp, gfpflags); in kmem_cache_charge()
5510 void *objp; in __kmem_obj_info() local
5521 objp = restore_red_left(s, objp0); in __kmem_obj_info()
5523 objp = objp0; in __kmem_obj_info()
5525 objnr = obj_to_index(s, slab, objp); in __kmem_obj_info()
5526 kpp->kp_data_offset = (unsigned long)((char *)objp0 - (char *)objp); in __kmem_obj_info()
5527 objp = base + s->size * objnr; in __kmem_obj_info()
5528 kpp->kp_objp = objp; in __kmem_obj_info()
5529 if (WARN_ON_ONCE(objp < base || objp >= base + slab->objects * s->size in __kmem_obj_info()
[all …]
Dslab.h602 size_t __ksize(const void *objp);
/linux-6.12.1/include/linux/
Dslab.h442 void * __must_check krealloc_noprof(const void *objp, size_t new_size,
446 void kfree(const void *objp);
447 void kfree_sensitive(const void *objp);
448 size_t __ksize(const void *objp);
464 size_t ksize(const void *objp);
746 bool kmem_cache_charge(void *objp, gfp_t gfpflags);
747 void kmem_cache_free(struct kmem_cache *s, void *objp);
Dmm.h266 extern unsigned int kobjsize(const void *objp);
/linux-6.12.1/arch/arm/include/asm/
Dpgtable-nommu.h56 extern unsigned int kobjsize(const void *objp);
/linux-6.12.1/tools/include/linux/
Dslab.h37 void kmem_cache_free(struct kmem_cache *cachep, void *objp);