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:inode_to_wb_and_lock_list

Proto:static struct bdi_writeback *inode_to_wb_and_lock_list(struct inode *inode)__acquires(&wb->list_lock)

Type:struct bdi_writeback

Parameter:

TypeParameterName
struct inode *inode
1041  wb = inode_to_wb(inode)
1043  spin_lock( & protects the b_* lists )
1044  Return wb
Caller
NameDescribe
inode_io_list_delRemove the inode from the writeback list it is on.
writeback_single_inodeWrite out an inode's dirty pages. Either the caller has an active reference* on the inode or the inode has I_WILL_FREE set.* This function is designed to be called for writing back one inode which* we go e
writeback_sb_inodesWrite a portion of b_io inodes which belong to @sb.* Return the number of pages and/or inodes written.* NOTE! This is called with wb->list_lock held, and will* unlock and relock that for each inode it ends up doing* IO for.