函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:iomap_next_page

函数原型:static struct page *iomap_next_page(struct inode *inode, struct list_head *pages, loff_t pos, loff_t length, loff_t *done)

返回类型:struct page

参数:

类型参数名称
struct inode *inode
struct list_head *pages
loff_tpos
loff_tlength
loff_t *done
374  当非链表为空循环
375  page等于lru_to_page(pages)
377  如果Return byte-offset into filesystem object for page.大于等于poslength退出
380  删除链表项
381  如果非add_to_page_cache_lru(page, i_mapping, Our offset within mapping. , GFP_NOFS)则返回:page
391  done加等于PAGE_SIZE
392  Perform a free_page(), also freeing any swap cache associated with* this page if it is the last user of the page.
395  返回:NULL
调用者
名称描述
iomap_readpages_actor