函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\buffered-io.c Create Date:2022-07-29 11:07:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:iomap_readpages_actor

函数原型:static loff_t iomap_readpages_actor(struct inode *inode, loff_t pos, loff_t length, void *data, struct iomap *iomap, struct iomap *srcmap)

返回类型:loff_t

参数:

类型参数名称
struct inode *inode
loff_tpos
loff_tlength
void *data
struct iomap *iomap
struct iomap *srcmap
402  ctx等于data
405 done小于length循环
406  如果cur_pageoffset_in_page(pos + done)恒等于0则
410  cur_page = NULL
412  如果非cur_page
415  如果非cur_page退出
417  cur_page_in_bio = false
419  ret等于iomap_readpage_actor(inode, pos + done, length - done, ctx, iomap, srcmap)
423  返回:done