Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:klp_shadow_free() - detach and free a <obj, id> shadow variable*@obj: pointer to parent object*@id: data identifier*@dtor: custom callback that can be used to unregister the variable* and/or free data that the shadow variable points to (optional)* This

Proto:void klp_shadow_free(void *obj, unsigned long id, klp_shadow_dtor_t dtor)

Type:void

Parameter:

TypeParameterName
void *obj
unsigned longid
klp_shadow_dtor_tdtor
258  spin_lock_irqsave( & klp_shadow_lock provides exclusive access to the klp_shadow_hash and* the shadow variables it references., flags)
261  hash_for_each_possible - iterate over all possible objects hashing to the* same bucket*@name: hashtable to iterate*@obj: the type * to use as a loop cursor for each entry*@member: the name of the hlist_node within the struct*@key: the key of the objects (klp_shadow_hash, shadow, node, (unsignedlong)obj)
266  Break
270  spin_unlock_irqrestore( & klp_shadow_lock provides exclusive access to the klp_shadow_hash and* the shadow variables it references., flags)
Caller
NameDescribe
shadow_free