Function Report

Linux Kernel (v4.4)

Source File:include\linux\module.h Create Date:2016-01-14 08:08:10
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:try_module_get

Function:static inline int try_module_get(struct module *module)

Return Type:static inline int

Parameter:

Type Parameter NameRemarks
struct module * module

Function description:

593  Returning !module || FIXME: It'd be nice to isolate modules during init, too, so they aren't used before they(may) fail. But presently too much code (IDE& SCSI) require entry into the module during init.
Caller
Function NameFunction description
lookup_ts_algo
dup_mmAllocate a new mm structure and copy contents from the mm structure of the passed in task structure.
__setup_irqregister an interrupt
klp_register_patch registers a patch
change_clocksource Swaps clocksources if a new one is available
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 failure due to ongoing or failed initialization etc.
check_kprobe_address_safe
event_enable_func
perf_trace_init
event_enable_trigger_func
perf_try_init_event
zpool_get_driverthis assumes@type is null-terminated.
elevator_get
get_disk
cdev_get
search_binary_handlercycle the list of binary formats handler, until one recognizes the image
__get_fs_type
anon_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
find_quota_format
check_perm
configfs_mkdir