Function report |
Source Code:mm\filemap.c |
Create Date:2022-07-28 14:01:56 |
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_entries - gang pagecache lookup*@mapping: The address_space to search*@start: The starting page cache index*@nr_entries: The maximum number of entries*@entries: Where the resulting entries are placed*@indices: The cache indices corresponding to the
Proto:unsigned find_get_entries(struct address_space *mapping, unsigned long start, unsigned int nr_entries, struct page **entries, unsigned long *indices)
Type:unsigned
Parameter:
Type | Parameter | Name |
---|---|---|
struct address_space * | mapping | |
unsigned long | start | |
unsigned int | nr_entries | |
struct page ** | entries | |
unsigned long * | indices |
1730 | ret = 0 |
1732 | If Not nr_entries Then Return 0 |
1744 | 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 Go to export |
1747 | If Not page_cache_get_speculative(page) Then Go to retry |
1751 | 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 |
1753 | page = find_subpage(page, xa_index) |
1755 | export : |
1758 | If ++ret == nr_entries Then Break |
1760 | Continue |
1761 | put_page : |
1763 | retry : |
1767 | Return ret |
Name | Describe |
---|---|
pagevec_lookup_entries | pagevec_lookup_entries - gang pagecache lookup*@pvec: Where the resulting entries are placed*@mapping: The address_space to search*@start: The starting entry index*@nr_entries: The maximum number of pages*@indices: The cache indices corresponding to the |
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 |