函数逻辑报告 |
Source Code:fs\iomap\buffered-io.c |
Create Date:2022-07-29 11:07:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:iomap_readpage_actor
函数原型:static loff_t iomap_readpage_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 |
256 | iop等于iomap_page_create(inode, page) |
257 | bool same_page = TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., is_contig = false |
262 | 如果 type of mapping 恒等于data inline in the inode 则 |
273 | 如果iomap_block_needs_zeroing(inode, iomap, pos)则 |
279 | cur_page_in_bio = true |
284 | sector等于iomap_sector(iomap, pos) |
285 | 如果bio且bio_end_sector(bio)恒等于sector则is_contig = true |
290 | 如果非same_page且iop则atomic_inc( & read_count) |
292 | 转到:done |
300 | 如果iop则atomic_inc( & read_count) |
307 | 如果bio则submit_bio(bio) |
317 | bio_set_dev(bio, block device for I/O ) |
321 | bio_add_page(bio, page, plen, poff) |
322 | done : |
名称 | 描述 |
---|---|
iomap_readpages_actor |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |