函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blkdev_fsync

函数原型:int blkdev_fsync(struct file *filp, loff_t start, loff_t end, int datasync)

返回类型:int

参数:

类型参数名称
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  如果error则返回:error
675  error等于blkdev_issue_flush(bdev, GFP_KERNEL, NULL)
676  如果error恒等于负EOPNOTSUPPerror等于0
679  返回:error