函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bdev_write_inode

函数原型:static void bdev_write_inode(struct block_device *bdev)

返回类型:void

参数:

类型参数名称
struct block_device *bdev
59  inode等于 will die
62  加自旋锁
63 Misc 按位与I_DIRTY循环
64  自旋锁解锁
65  ret等于write_inode_now - write an inode to disk*@inode: inode to write to disk*@sync: whether the write should be synchronous or not* This function commits an inode to disk immediately if it is dirty. This is* primarily needed by knfsd.
66  如果ret
68  pr_warn_ratelimited("VFS: Dirty inode writeback failed for block device %s (err=%d).\n", bdevname(bdev, name), ret)
72  加自旋锁
74  自旋锁解锁
调用者
名称描述
__blkdev_put