Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\readahead.c Create Date:2022-07-28 14:11:51
Last Modify:2020-03-17 21:13:07 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lease a list of pages, invalidating them first if need be

Proto:static void read_cache_pages_invalidate_pages(struct address_space *mapping, struct list_head *pages)

Type:void

Parameter:

TypeParameterName
struct address_space *mapping
struct list_head *pages
69  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
70  victim = lru_to_page(pages)
71  deletes entry from list
72  see if a page needs releasing upon read_cache_pages() failure* - the caller of read_cache_pages() may have set PG_private or PG_fscache* before calling, such as the NFS fs marking pages that are cached locally* on disk, thus we need to give the fs a
Caller
NameDescribe
read_cache_pagesad_cache_pages - populate an address space with some pages & start reads against them*@mapping: the address_space*@pages: The address of a list_head which contains the target pages. These* pages have their ->index populated and are otherwise uninitialised.