函数逻辑报告

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 dirty data associated with this* device. Filesystem data as well as the underlying block* device. Takes the superblock lock.

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

返回类型:int

参数:

类型参数名称
struct block_device *bdev
511  sb等于获得驱动块
512  如果sb
513  res等于Write out and wait upon all dirty data associated with this* superblock. Filesystem data as well as the underlying block* device. Takes the superblock lock.
514  drop_super(sb)
515  返回:res
517  返回:Write out and wait upon all the dirty data associated with a block* device via its mapping. Does not take the superblock lock.
调用者
名称描述
blkdev_flushbuf
invalidate_partition