Function report |
Source Code:mm\filemap.c |
Create Date:2022-07-28 14:01:59 |
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 - gang pagecache lookup*@mapping: The address_space to search*@start: The starting page index*@end: The final page index (inclusive)*@nr_pages: The maximum number of pages*@pages: Where the resulting pages are placed*
Proto:unsigned find_get_pages_range(struct address_space *mapping, unsigned long *start, unsigned long end, unsigned int nr_pages, struct page **pages)
Type:unsigned
Parameter:
Type | Parameter | Name |
---|---|---|
struct address_space * | mapping | |
unsigned long * | start | |
unsigned long | end | |
unsigned int | nr_pages | |
struct page ** | pages |
1797 | ret = 0 |
1799 | If Value for the false possibility is greater at compile time(!nr_pages) Then Return 0 |
1807 | 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 |
1810 | If Not page_cache_get_speculative(page) Then Go to retry |
1814 | 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 |
1817 | pages[ret] = find_subpage(page, xa_index) |
1822 | Continue |
1823 | put_page : |
1825 | retry : |
1835 | If end == The type of an index into the pagecache - 1 Then start = The type of an index into the pagecache - 1 |
1839 | out : |
1842 | Return ret |
Name | Describe |
---|---|
pagevec_lookup_range | pagevec_lookup_range - gang pagecache lookup*@pvec: Where the resulting pages are placed*@mapping: The address_space to search*@start: The starting page index*@end: The final page index* pagevec_lookup_range() will search for & return a group of up to |
find_get_pages |
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 |