Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\livepatch\core.c Create Date:2022-07-28 10:30:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__klp_free_objects

Proto:static void __klp_free_objects(struct klp_patch *patch, bool nops_only)

Type:void

Parameter:

TypeParameterName
struct klp_patch *patch
boolnops_only
608  klp_for_each_object_safe(patch, obj, tmp_obj)
609  __klp_free_funcs(obj, nops_only)
611  If nops_only && Not dynamic Then Continue
614  deletes entry from list
615  kobject_put() - Decrement refcount for object.*@kobj: object.* Decrement the refcount, and if 0, call kobject_cleanup().
Caller
NameDescribe
klp_free_objects
klp_free_objects_dynamic