Lines Matching refs:entry
134 /* hugetlb pages are represented by a single entry in the xarray */
292 /* A swap/dax/shadow entry got inserted? Skip it. */
873 void *entry, *old = NULL;
879 xas_for_each_conflict(&xas, entry) {
880 old = entry;
881 if (!xa_is_value(entry)) {
890 /* entry may have been split before we acquired lock */
1121 * and we can unconditionally remove the wait entry.
1125 * After this list_del_init(&wait->entry) the wait entry
1129 list_del_init_careful(&wait->entry);
1147 INIT_LIST_HEAD(&bookmark.entry);
1360 * migration_entry_wait_on_locked - Wait for a migration entry to be removed
1361 * @entry: migration swap entry.
1364 * Wait for a migration entry referencing the given page to be removed. This is
1367 * should be called while holding the ptl for the migration entry referencing
1375 void migration_entry_wait_on_locked(swp_entry_t entry, spinlock_t *ptl)
1384 struct folio *folio = page_folio(pfn_swap_entry_to_page(entry));
1406 * If a migration entry exists for the page the migration path must hold
1408 * migration entry. So the page is valid until the ptl is dropped.
1737 void *entry = xas_next(&xas);
1738 if (!entry || xa_is_value(entry))
1773 void *entry = xas_prev(&xas);
1774 if (!entry || xa_is_value(entry))
1805 * filemap_get_entry - Get a page cache entry.
1809 * Looks up the page cache entry at @mapping & @index. If it is a folio,
1810 * it is returned with an increased refcount. If it is a shadow entry
1811 * of a previously evicted folio, or a swap entry from shmem/tmpfs,
1814 * Return: The folio, swap or shadow entry, %NULL if nothing is found.
1828 * A shadow entry of a recently evicted page, or a swap entry from
1854 * Looks up the page cache entry at @mapping & @index.
1983 * A shadow entry of a recently evicted page, a swap
1984 * entry from shmem/tmpfs or a DAX entry. Return it
2202 * If the entry has been swapped out, we can stop looking.
3252 * vma->vm_mm->mmap_lock must be held on entry.