Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-28 15:45:42
Last Modify:2022-05-23 17:02:55 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Release an obj back to its cache. If the obj has a constructed state, it must* be in this state _before_ it is released. Called with disabled ints.

Proto:static __always_inline void __cache_free(struct kmem_cache *cachep, void *objp, unsigned long caller)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *cachep
void *objp
unsigned longcaller
3474  If kasan_slab_free(cachep, objp, _RET_IP_) Then Return
3477  ___cache_free(cachep, objp, caller)
Caller
NameDescribe
kmem_cache_freekmem_cache_free - Deallocate an object*@cachep: The cache the allocation was from.*@objp: The previously allocated object.* Free an object which was previously allocated from this* cache.
kmem_cache_free_bulk
kfreekfree - free previously allocated memory*@objp: pointer returned by kmalloc.* If @objp is NULL, no operation is performed.* Don't free memory not originally allocated by kmalloc()* or you will run into trouble.