函数逻辑报告 |
Source Code:fs\dax.c |
Create Date:2022-07-29 10:56:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dax_iomap_rw - Perform I/O to a DAX file*@iocb: The control block for this I/O*@iter: The addresses to do I/O from or to*@ops: iomap ops passed from the file system* This function performs read and write operations to directly mapped* persistent memory
函数原型:ssize_t dax_iomap_rw(struct kiocb *iocb, struct iov_iter *iter, const struct iomap_ops *ops)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kiocb * | iocb | |
struct iov_iter * | iter | |
const struct iomap_ops * | ops |
1201 | flags等于0 |
1203 | 如果iov_iter_rw(iter)恒等于WRITE则 |
1204 | lockdep_assert_held_write( & i_rwsem) |
1206 | 否则 |
1207 | lockdep_assert_held( & i_rwsem) |
1210 | 如果ki_flags按位与IOCB_NOWAIT则flags或等于do not block |
1213 | 当iov_iter_count(iter)循环 |
1214 | ret等于iomap_apply(inode, pos, iov_iter_count(iter), flags, ops, iter, dax_iomap_actor) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |