Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\task_work.h Create Date:2022-07-28 05:59:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:init_task_work

Proto:static inline void init_task_work(struct callback_head *twork, task_work_func_t func)

Type:void

Parameter:

TypeParameterName
struct callback_head *twork
task_work_func_tfunc
13  func = func
Caller
NameDescribe
irq_threadInterrupt handler thread
uprobe_copy_processCalled in context of a new clone/fork from copy_process.
keyctl_session_to_parentAttempt to install the calling process's session keyring on the process's* parent process.* The keyring must exist and must grant the caller LINK permission, and the* parent process must be single-threaded and must have the same effective
report_accessdefers execution because cmdline access can sleep
fput_many
mntput_no_expire