函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\writeback.h Create Date:2022-07-27 06:56:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:wbc_attach_and_unlock_inode

函数原型:static inline void wbc_attach_and_unlock_inode(struct writeback_control *wbc, struct inode *inode)__releases(&inode->i_lock)

返回类型:void

参数:

类型参数名称
struct writeback_control *wbc
struct inode *inode
307  自旋锁解锁
调用者
名称描述
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.