函数逻辑报告 |
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_actor
函数原型:static loff_t dax_iomap_actor(struct inode *inode, loff_t pos, loff_t length, void *data, struct iomap *iomap, struct iomap *srcmap)
返回类型:loff_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
loff_t | pos | |
loff_t | length | |
void * | data | |
struct iomap * | iomap | |
struct iomap * | srcmap |
1096 | bdev等于 block device for I/O |
1100 | ret等于0 |
1104 | 如果iov_iter_rw(iter)恒等于generic data direction definitions 则 |
1109 | 如果 type of mapping 恒等于 blocks allocated, need allocation 或 type of mapping 恒等于locks allocated at @addr in unwritten state 则返回:iov_iter_zero(两数取小(length, end - pos), iter) |
1113 | 如果WARN_ON_ONCE( type of mapping != locks allocated at @addr )则返回:负EIO |
1127 | id等于dax_read_lock() |
1130 | size等于@a is a power of 2 value (length + offset, PAGE_SIZE) |
1131 | sector等于dax_iomap_sector(iomap, pos) |
1136 | 如果fatal_signal_pending(当前进程)则 |
1147 | 如果map_len小于0则 |
1163 | 如果iov_iter_rw(iter)恒等于WRITE则xfer等于dax_copy_from_iter(dax_dev, pgoff, kaddr, map_len, iter) |
1179 | dax_read_unlock(id) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |