Function report |
Source Code:mm\filemap.c |
Create Date:2022-07-28 14:02:02 |
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_contig - gang contiguous pagecache lookup*@mapping: The address_space to search*@index: The starting page index*@nr_pages: The maximum number of pages*@pages: Where the resulting pages are placed* find_get_pages_contig() works exactly like
Proto:unsigned find_get_pages_contig(struct address_space *mapping, unsigned long index, unsigned int nr_pages, struct page **pages)
Type:unsigned
Parameter:
Type | Parameter | Name |
---|---|---|
struct address_space * | mapping | |
unsigned long | index | |
unsigned int | nr_pages | |
struct page ** | pages |
1862 | ret = 0 |
1864 | If Value for the false possibility is greater at compile time(!nr_pages) Then Return 0 |
1875 | 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 Break |
1878 | If Not page_cache_get_speculative(page) Then Go to retry |
1882 | 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 |
1885 | pages[ret] = find_subpage(page, xa_index) |
1888 | Continue |
1889 | put_page : |
1891 | retry : |
1895 | Return ret |
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 |