函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__sync_blockdev

函数原型:int __sync_blockdev(struct block_device *bdev, int wait)

返回类型:int

参数:

类型参数名称
struct block_device *bdev
intwait
487  如果非bdev则返回:0
489  如果非wait则返回:lemap_flush - mostly a non-blocking flush*@mapping: target address_space* This is a mostly non-blocking flush. Not suitable for data-integrity* purposes - I/O may not be started against all dirty pages.
491  返回:filemap_write_and_wait(i_mapping)
调用者
名称描述
sync_blockdevWrite out and wait upon all the dirty data associated with a block* device via its mapping. Does not take the superblock lock.