Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\workqueue.c Create Date:2022-07-28 09:26:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:bool queue_work_on(int cpu, struct workqueue_struct *wq, struct work_struct *work)

Type:bool

Parameter:

TypeParameterName
intcpu
struct workqueue_struct *wq
struct work_struct *work
1507  bool ret = false
1510  local_irq_save(flags)
1512  If Not st_and_set_bit - Set a bit and return its old value*@nr: Bit to set*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier). Then
1513  __queue_work(cpu, wq, work)
1514  ret = true
1517  local_irq_restore(flags)
1518  Return ret
Caller
NameDescribe
srcu_delay_timer
srcu_queue_delayed_work_on
smp_call_on_cpu
padata_reorder
z3fold_freez3fold_free() - frees the allocation associated with the given handle*@pool: pool in which the allocation resided*@handle: handle associated with the allocation returned by z3fold_alloc()* In the case that the z3fold page in which the allocation resides
z3fold_page_migrate
queue_workqueue_work - queue work on a workqueue*@wq: workqueue to use*@work: work to queue* Returns %false if @work was already on a queue, %true otherwise.* We queue the work to the CPU on which it was submitted, but if the CPU dies
schedule_work_onschedule_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