Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\buffered-io.c Create Date:2022-07-28 20:31:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:iomap_next_page

Proto:static struct page *iomap_next_page(struct inode *inode, struct list_head *pages, loff_t pos, loff_t length, loff_t *done)

Type:struct page

Parameter:

TypeParameterName
struct inode *inode
struct list_head *pages
loff_tpos
loff_tlength
loff_t *done
374  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
375  page = lru_to_page(pages)
377  If Return byte-offset into filesystem object for page. >= pos + length Then Break
380  deletes entry from list
381  If Not add_to_page_cache_lru(page, i_mapping, Our offset within mapping. , GFP_NOFS) Then Return 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  Return NULL
Caller
NameDescribe
iomap_readpages_actor