函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fs-writeback.c Create Date:2022-07-29 10:41:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:inode_to_wb_and_lock_list

函数原型:static struct bdi_writeback *inode_to_wb_and_lock_list(struct inode *inode)__acquires(&wb->list_lock)

返回类型:struct bdi_writeback

参数:

类型参数名称
struct inode *inode
1041  wb等于inode_to_wb(inode)
1043  加自旋锁
1044  返回:wb
调用者
名称描述
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.