函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:to_delayed_work

函数原型:static inline struct delayed_work *to_delayed_work(struct work_struct *work)

返回类型:struct delayed_work

参数:

类型参数名称
struct work_struct *work
160  返回:container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work, structdelayed_work, work)
调用者
名称描述
throttle_active_work
try_to_grab_pendingry_to_grab_pending - steal work item from worklist and disable irq*@work: work item to steal*@is_dwork: @work is a delayed_work*@flags: place to store irq state* Try to grab PENDING bit of @work. This function can handle @work in any
psi_avgs_work
pm_qos_work_fnpm_qos_work_fn - the timeout handler of pm_qos_update_request_timeout*@work: work struct for the delayed work (timeout)* This cancels the timeout request by falling back to the default at timeout.
cgroup_pidlist_destroy_work_fn
cache_reapache_reap - Reclaim memory from caches
disk_events_workfnSeparate this part out so that a different pointer for clearing_ptr can be* passed in for disk_clear_events.
wb_workfnHandle writeback of dirty data for the device backed by this bdi. Also* reschedules periodically and does kupdated style flushing.