Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swap.c Create Date:2022-07-28 14:13:46
Last Modify:2022-05-23 13:40:24 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pagevec_lookup_range_nr_tag

Proto:unsigned pagevec_lookup_range_nr_tag(struct pagevec *pvec, struct address_space *mapping, unsigned long *index, unsigned long end, xa_mark_t tag, unsigned max_pages)

Type:unsigned

Parameter:

TypeParameterName
struct pagevec *pvec
struct address_space *mapping
unsigned long *index
unsigned longend
xa_mark_ttag
unsignedmax_pages
1083  nr = d_get_pages_range_tag - find and return pages in given range matching @tag*@mapping: the address_space to search*@index: the starting page index*@end: The final page index (inclusive)*@tag: the tag index*@nr_pages: the maximum number of pages*@pages:
1085  Return pagevec_count(pvec)