Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sets obj->mod if object is not vmlinux and module is found

Proto:static void klp_find_object_module(struct klp_object *obj)

Type:void

Parameter:

TypeParameterName
struct klp_object *obj
57  If Not klp_is_module(obj) Then Return
60  mutex_lock( & module_mutex)
66  mod = Search for module by name: must hold module_mutex.
74  If mod && klp_alive Then mod = mod
77  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
Caller
NameDescribe
klp_init_object