Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\block_dev.c Create Date:2022-07-28 20:14:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blkdev_fsync

Proto:int blkdev_fsync(struct file *filp, loff_t start, loff_t end, int datasync)

Type:int

Parameter:

TypeParameterName
struct file *filp
loff_tstart
loff_tend
intdatasync
662  bd_inode = bdev_file_inode(filp)
663  bdev = I_BDEV(bd_inode)
666  error = le_write_and_wait_range - write out & wait on a file range*@file: file pointing to address_space with pages*@lstart: offset in bytes where the range starts*@lend: offset in bytes where the range ends (inclusive)
667  If error Then Return error
675  error = blkdev_issue_flush(bdev, GFP_KERNEL, NULL)
676  If error == -EOPNOTSUPP Then error = 0
679  Return error