Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fs-writeback.c Create Date:2022-07-28 20:10:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:wb_queue_work

Proto:static void wb_queue_work(struct bdi_writeback *wb, struct wb_writeback_work *work)

Type:void

Parameter:

TypeParameterName
struct bdi_writeback *wb
struct wb_writeback_work *work
179  trace_writeback_queue(wb, work)
181  If set if the caller waits Then atomic_inc( & cnt)
184  spin_lock_bh( & protects work_list & dwork scheduling )
186  If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then
187  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
188  mod_delayed_work - modify delay of or queue a delayed work*@wq: workqueue to use*@dwork: work to queue*@delay: number of jiffies to wait before queueing* mod_delayed_work_on() on local CPU.
189  Else finish_writeback_work(wb, work)
192  spin_unlock_bh( & protects work_list & dwork scheduling )
Caller
NameDescribe
bdi_split_work_to_wbs