EXPORT_SYMBOL(page_cache_prev_miss);
/*
- * find_get_entry - find and get a page cache entry
+ * mapping_get_entry - Get a page cache entry.
* @mapping: the address_space to search
* @index: The page cache index.
*
*
* Return: The head page or shadow entry, %NULL if nothing is found.
*/
-static struct page *find_get_entry(struct address_space *mapping, pgoff_t index)
+static struct page *mapping_get_entry(struct address_space *mapping,
+ pgoff_t index)
{
XA_STATE(xas, &mapping->i_pages, index);
struct page *page;
struct page *page;
repeat:
- page = find_get_entry(mapping, index);
+ page = mapping_get_entry(mapping, index);
if (xa_is_value(page)) {
if (fgp_flags & FGP_ENTRY)
return page;