Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:resolve_symbol_wait

Proto:static const struct kernel_symbol *resolve_symbol_wait(struct module *mod, const struct load_info *info, const char *name)

Type:struct kernel_symbol

Parameter:

TypeParameterName
struct module *mod
const struct load_info *info
const char *name
1487  If wait_event_interruptible_timeout - sleep until a condition gets true or a timeout elapses*@wq_head: the waitqueue to wait on*@condition: a C expression for the event to wait for*@timeout: timeout, in jiffies* The process is put to sleep (Waiting for a module to finish initializing? , !IS_ERR(ksym = Resolve a symbol for this module. I.e. if we find one, record usage. ) || PTR_ERR(ksym) != - EBUSY, 30 * HZ) <= 0 Then
1491  pr_warn("%s: gave up waiting for init of module %s.\n", Unique handle for this module , owner)
1494  Return ksym
Caller
NameDescribe
simplify_symbolsChange all symbols so that st_value encodes the pointer directly.