Function report |
Source Code:kernel\task_work.c |
Create Date:2022-07-28 09:28:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ask_work_add - ask the @task to execute @work->func()*@task: the task which should run the callback*@work: the callback to run*@notify: send the notification if true* Queue @work for task_work_run() below and notify the @task if @notify.
Proto:int task_work_add(struct task_struct *task, struct callback_head *work, bool notify)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | task | |
struct callback_head * | work | |
bool | notify |
32 | Do |
33 | head = READ_ONCE(task_works) |
34 | If Value for the false possibility is greater at compile time(head == & all we need is ->next == NULL ) Then Return -ESRCH |
41 | Return 0 |
Name | Describe |
---|---|
irq_thread | Interrupt handler thread |
uprobe_copy_process | Called in context of a new clone/fork from copy_process. |
report_access | defers execution because cmdline access can sleep |
mntput_no_expire | |
__rdtgroup_move_task |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |