函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\module.h Create Date:2022-07-27 06:49:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:判断模块是否处于活动状态

函数原型:static inline bool try_module_get(struct module *module)

返回类型:bool

参数:

类型参数名称
struct module *module
630  返回:非moduleFIXME: It'd be nice to isolate modules during init, too, so theyaren't used before they (may) fail. But presently too much code(IDE & SCSI) require entry into the module during init.
调用者
名称描述
lookup_ts_algo
dup_mmdup_mm() - duplicates an existing mm structure*@tsk: the task_struct with which the new mm will be associated.*@oldmm: the mm to duplicate.* Allocates a new mm structure and duplicates the provided @oldmm structure* content into it.
__setup_irq注册中断
klp_init_patch_early
change_clocksourcehange_clocksource - Swaps clocksources if a new one is available* Accumulates current time interval and initializes new clocksource
clockevents_replaceTry to install a replacement clock event device
tick_check_new_deviceCheck, if the new registered device should be used. Called with* clockevents_lock held and interrupts disabled.
tick_install_broadcast_deviceConditionally install/replace broadcast device
strong_try_module_getWe require a truly strong try_module_get(): 0 means success.* Otherwise an error is returned due to ongoing or failed* initialization etc.
check_kprobe_address_safe
perf_trace_init
event_enable_trigger_func
bpf_get_raw_tracepoint_module
perf_try_init_event
zpool_get_driverhis assumes @type is null-terminated.
elevator_get
elevator_get_by_featuresGet the first elevator providing the features required by the request queue.* Default to "none" if no matching elevator is found.
get_disk_and_module
cdev_get
search_binary_handlerycle the list of binary formats handler, until one recognizes the image
__get_fs_type
anon_inode_getfileanon_inode_getfile - creates a new file instance by hooking it up to an* anonymous inode, and a dentry that describe the "class"* of the file*@name: [in] name of the "class" of the new file*@fops: [in] file operations for the new file*@priv: [in] private
find_quota_format