函数逻辑报告

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

函数名称:Write out and wait upon all the dirty data associated with a block* device via its mapping. Does not take the superblock lock.

函数原型:int sync_blockdev(struct block_device *bdev)

返回类型:int

参数:

类型参数名称
struct block_device *bdev
500  返回:__sync_blockdev(bdev, 1)
调用者
名称描述
set_blocksize
fsync_bdevWrite out and wait upon all dirty data associated with this* device. Filesystem data as well as the underlying block* device. Takes the superblock lock.
freeze_bdevze_bdev -- lock a filesystem and force it into a consistent state*@bdev: blockdevice to lock* If a superblock is found on this device, we take the s_umount semaphore* on it to make sure nobody unmounts until the snapshot creation is done
__blkdev_put
dquot_quota_syncWrite all dquot structures to disk and make them visible from userspace
dquot_disableTurn quota off on a device. type == -1 ==> quotaoff for all types (umount)