函数逻辑报告 |
Source Code:fs\block_dev.c |
Create Date:2022-07-29 10:46:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:ssize_t blkdev_write_iter(struct kiocb *iocb, struct iov_iter *from)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kiocb * | iocb | |
struct iov_iter * | from |
1996 | bd_inode等于bdev_file_inode(file) |
2001 | 如果bdev_read_only(I_BDEV(bd_inode))则返回:负EPERM |
2004 | 如果IS_SWAPFILE(bd_inode)则返回:负ETXTBSY |
2007 | 如果非iov_iter_count(from)则返回:0 |
2013 | 如果ki_flags按位与IOCB_NOWAIT按位或IOCB_DIRECT的值的值恒等于IOCB_NOWAIT则返回:负EOPNOTSUPP |
2018 | blk_start_plug( & plug) |
2022 | blk_finish_plug( & plug) |
2023 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |