Function report |
Source Code:kernel\workqueue_internal.h |
Create Date:2022-07-28 09:23:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rrent_wq_worker - return struct worker if %current is a workqueue worker
Proto:static inline struct worker *current_wq_worker(void)
Type:struct worker
Parameter:Nothing
67 | If in_task() && flags & I'm a workqueue worker Then Return kthread_data(current process) |
69 | Return NULL |
Name | Describe |
---|---|
is_chained_work | Test whether @work is being queued from another work executing on the* same workqueue. |
check_flush_dependency | heck_flush_dependency - check for flush dependency sanity*@target_wq: workqueue being flushed*@target_work: work item being flushed (NULL for workqueue flushes)* %current is trying to flush the whole @target_wq or @target_work on it |
current_work | rrent_work - retrieve %current task's work struct* Determine if %current task is a workqueue worker and what it's working on.* Useful to find out the context that the %current task is running in. |
current_is_workqueue_rescuer | rrent_is_workqueue_rescuer - is %current workqueue rescuer?* Determine whether %current is a workqueue rescuer. Can be used from* work functions to determine whether it's being run off the rescuer task.* Return: %true if %current is a workqueue rescuer |
set_worker_desc | set_worker_desc - set description for the current work item*@fmt: printf-style format string*@...: arguments for the format string* This function can be called by a running work function to describe what* the work item is about |
current_is_async | rrent_is_async - is %current an async worker task?* Returns %true if %current is an async worker 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 |