Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:schedule_work_on - put work task on a specific cpu*@cpu: cpu to put the work task on*@work: job to be done* This puts a job on a specific cpu

Proto:static inline bool schedule_work_on(int cpu, struct work_struct *work)

Type:bool

Parameter:

TypeParameterName
intcpu
struct work_struct *work
536  Return queue_work_on - queue work on specific cpu*@cpu: CPU number to execute work on*@wq: workqueue to use*@work: work to queue* We queue the work to a specific CPU, the caller must ensure it* can't go away.
Caller
NameDescribe
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.
handle_poweroff
ring_buffer_resizeg_buffer_resize - resize the ring buffer*@buffer: the buffer to resize.*@size: the new size.*@cpu_id: the cpu buffer to resize* Minimum size is 2 * BUF_PAGE_SIZE.* Returns 0 on success and < 0 on failure.
drain_all_stockDrains all per-CPU charge caches for given root_memcg resp. subtree* of the hierarchy under it.
memory_failure_queuememory_failure_queue - Schedule handling memory failure of a page.*@pfn: Page Number of the corrupted page*@flags: Flags for memory failure handling* This function is called by the low level hardware error handler