函数逻辑报告 |
Source Code:include\linux\fs.h |
Create Date:2022-07-27 06:44:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Sync the bytes written if this was a synchronous write. Expect ki_pos* to already be updated for the write, and will return either the amount* of bytes passed in, or an error if syncing the file failed.
函数原型:static inline ssize_t generic_write_sync(struct kiocb *iocb, ssize_t count)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kiocb * | iocb | |
ssize_t | count |
2855 | 如果ki_flags按位与IOCB_DSYNC则 |
2863 | 返回:count |
名称 | 描述 |
---|---|
generic_file_write_iter | generic_file_write_iter - write data to a file*@iocb: IO state structure*@from: iov_iter with data to write* This is a wrapper around __generic_file_write_iter() to be used by most* filesystems. It takes care of syncing the file in case of O_SYNC file |
blkdev_write_iter | Write data to the block device. Only intended for the block device itself* and the raw driver which basically is a fake block device.* Does not take i_mutex for the write and thus is not for general purpose* use. |
dio_complete | dio_complete() - called when all DIO BIO I/O has been completed* This drops i_dio_count, lets interested parties know that a DIO operation* has completed, and calculates the resulting return code for the operation |
iomap_dio_complete |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |