Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kmemleak.c Create Date:2022-07-28 16:21:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Remove an object from the object_tree_root and object_list. Must be called* with the kmemleak_lock held _if_ kmemleak is still enabled.

Proto:static void __remove_object(struct kmemleak_object *object)

Type:void

Parameter:

TypeParameterName
struct kmemleak_object *object
535  rb_erase( & rb_node, & search tree for object boundaries )
536  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
Caller
NameDescribe
find_and_remove_objectLook up an object in the object search tree and remove it from both* object_tree_root and object_list. The returned object's use_count should be* at least 1, as initially set by create_object().
__kmemleak_do_cleanup