函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:为cpu配置任务

函数原型:static inline bool schedule_work_on(int cpu, struct work_struct *work)

返回类型:bool

参数:

类型参数名称
intcpu
struct work_struct *work
536  返回: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.
调用者
名称描述
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