Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:We require a truly strong try_module_get(): 0 means success.* Otherwise an error is returned due to ongoing or failed* initialization etc.

Proto:static inline int strong_try_module_get(struct module *mod)

Type:int

Parameter:

TypeParameterName
struct module *mod
316  BUG_ON(mod && state == MODULE_STATE_UNFORMED)
317  If mod && state == MODULE_STATE_COMING Then Return -EBUSY
319  If try_module_get(mod) Then Return 0
321  Else Return -ENOENT
Caller
NameDescribe
ref_module
__symbol_get