Function report |
Source Code:mm\filemap.c |
Create Date:2022-07-28 14:02:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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:
Proto:unsigned find_get_pages_range_tag(struct address_space *mapping, unsigned long *index, unsigned long end, xa_mark_t tag, unsigned int nr_pages, struct page **pages)
Type:unsigned
Parameter:
Type | Parameter | Name |
---|---|---|
struct address_space * | mapping | |
unsigned long * | index | |
unsigned long | end | |
xa_mark_t | tag | |
unsigned int | nr_pages | |
struct page ** | pages |
1919 | ret = 0 |
1921 | If Value for the false possibility is greater at compile time(!nr_pages) Then Return 0 |
1933 | If xa_is_value() - Determine if an entry is a value.*@entry: XArray entry.* Context: Any context.* Return: True if the entry is a value, false if it is a pointer. Then Continue |
1936 | If Not page_cache_get_speculative(page) Then Go to retry |
1940 | If Value for the false possibility is greater at compile time(page != xas_reload() - Refetch an entry from the xarray) Then Go to put_page |
1943 | pages[ret] = find_subpage(page, xa_index) |
1948 | Continue |
1949 | put_page : |
1951 | retry : |
1961 | If end == The type of an index into the pagecache - 1 Then index = The type of an index into the pagecache - 1 |
1965 | out : |
1968 | Return ret |
Name | Describe |
---|---|
pagevec_lookup_range_tag | |
pagevec_lookup_range_nr_tag | |
find_get_pages_tag |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |