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_io_lists_populated

Proto:static bool wb_io_lists_populated(struct bdi_writeback *wb)

Type:bool

Parameter:

TypeParameterName
struct bdi_writeback *wb
88  If wb_has_dirty_io(wb) Then
89  Return false
90  Else
91  set_bit - Atomically set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* This is a relaxed atomic operation (no implied memory barriers).* Note that @nr may be almost arbitrarily large; this function is not
92  WARN_ON_ONCE(!urther smoothed write bw, > 0 )
93  atomic_long_add(urther smoothed write bw, > 0 , & tot_write_bandwidth)
95  Return true
Caller
NameDescribe
inode_io_list_move_lockedde_io_list_move_locked - move an inode onto a bdi_writeback IO list*@inode: inode to be moved*@wb: target bdi_writeback*@head: one of @wb->b_{dirty|io|more_io|dirty_time}* Move @inode->i_io_list to @list of @wb and set %WB_has_dirty_io
queue_ioQueue all expired dirty inodes for io, eldest first.* Before* newly dirtied b_dirty b_io b_more_io* =============> gf edc BA* After* newly dirtied b_dirty b_io b_more_io* =============> g fBAedc* |* +--> dequeue for IO