Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\writeback.h Create Date:2022-07-28 05:57:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:wbc_attach_and_unlock_inode

Proto:static inline void wbc_attach_and_unlock_inode(struct writeback_control *wbc, struct inode *inode)__releases(&inode->i_lock)

Type:void

Parameter:

TypeParameterName
struct writeback_control *wbc
struct inode *inode
307  spin_unlock( & _blocks, i_bytes, maybe i_size )
Caller
NameDescribe
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.