函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lush_work - wait for a work to finish executing the last queueing instance*@work: the work to flush* Wait until @work has finished execution

函数原型:bool flush_work(struct work_struct *work)

返回类型:bool

参数:

类型参数名称
struct work_struct *work
3062  返回:__flush_work(work, false)
调用者
名称描述
flush_delayed_worklush_delayed_work - wait for a dwork to finish executing the last queueing*@dwork: the delayed work to flush* Delayed timer is cancelled and the pending work is queued for* immediate execution. Like flush_work(), this function only
flush_rcu_worklush_rcu_work - wait for a rwork to finish executing the last queueing*@rwork: the rcu work to flush* Return:* %true if flush_rcu_work() waited for the work to finish execution,* %false if it was already idle.
schedule_on_each_cpuschedule_on_each_cpu - execute a function synchronously on each online CPU*@func: the function to call* schedule_on_each_cpu() executes @func on each online CPU using the* system workqueue and blocks until all CPUs have completed.
__test_mutex
test_abba
cleanup_srcu_structleanup_srcu_struct - deconstruct a sleep-RCU structure*@ssp: structure to clean up.* Must invoke this after you are finished using a given srcu_struct that* was initialized via init_srcu_struct(), else you leak memory.
cleanup_srcu_structleanup_srcu_struct - deconstruct a sleep-RCU structure*@ssp: structure to clean up.* Must invoke this after you are finished using a given srcu_struct that* was initialized via init_srcu_struct(), else you leak memory.
cpuset_write_resmaskCommon handling for a write to a "cpus" or "mems" file.
cpuset_wait_for_hotplug
SYSCALL_DEFINE1
vmpressure_cleanupvmpressure_cleanup() - shuts down vmpressure control structure*@vmpr: Structure to be cleaned up* This function should be called before the structure in which it is* embedded is cleaned up.
drain_all_pagesSpill all the per-cpu pages from all CPUs back into the buddy allocator.* When zone parameter is non-NULL, spill just the single zone's pages.* Note that this can be extremely slow as the draining happens in a workqueue.
sync_rcu_exp_select_cpusSelect the nodes that the upcoming expedited grace period needs* to wait for.