函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kmemleak.c Create Date:2022-07-27 17:56:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Return the object to either the slab allocator or the memory pool.

函数原型:static void mem_pool_free(struct kmemleak_object *object)

返回类型:void

参数:

类型参数名称
struct kmemleak_object *object
450  如果object小于memory pool allocation object大于等于memory pool allocation ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(memory pool allocation )则
451  kmem_cache_free(allocation caches for kmemleak internal data , object)
452  返回
456  write_lock_irqsave( & w_lock protecting the access to object_list and object_tree_root , flags)
457  添加链表项
458  write_unlock_irqrestore( & w_lock protecting the access to object_list and object_tree_root , flags)
调用者
名称描述
free_object_rcuRCU callback to free a kmemleak_object.