Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:to_delayed_work

Proto:static inline struct delayed_work *to_delayed_work(struct work_struct *work)

Type:struct delayed_work

Parameter:

TypeParameterName
struct work_struct *work
160  Return 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)
Caller
NameDescribe
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.