Lines Matching full:indices

57  * Please note that indices[] has entries in ascending order as guaranteed by
61 struct folio_batch *fbatch, pgoff_t *indices) in truncate_folio_batch_exceptionals() argument
63 XA_STATE(xas, &mapping->i_pages, indices[0]); in truncate_folio_batch_exceptionals()
82 dax_delete_mapping_entry(mapping, indices[i]); in truncate_folio_batch_exceptionals()
87 xas_set(&xas, indices[j]); in truncate_folio_batch_exceptionals()
93 xas_for_each(&xas, folio, indices[nr-1]) { in truncate_folio_batch_exceptionals()
294 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() local
323 &fbatch, indices)) { in truncate_inode_pages_range()
324 truncate_folio_batch_exceptionals(mapping, &fbatch, indices); in truncate_inode_pages_range()
363 indices)) { in truncate_inode_pages_range()
381 VM_BUG_ON_FOLIO(!folio_contains(folio, indices[i]), folio); in truncate_inode_pages_range()
386 truncate_folio_batch_exceptionals(mapping, &fbatch, indices); in truncate_inode_pages_range()
459 pgoff_t indices[PAGEVEC_SIZE]; in mapping_try_invalidate() local
467 while (find_lock_entries(mapping, &index, end, &fbatch, indices)) { in mapping_try_invalidate()
498 clear_shadow_entries(mapping, indices[0], indices[nr-1]); in mapping_try_invalidate()
519 * Return: The number of indices that had their contents invalidated
597 pgoff_t indices[PAGEVEC_SIZE]; in invalidate_inode_pages2_range() local
610 while (find_get_entries(mapping, &index, end, &fbatch, indices)) { in invalidate_inode_pages2_range()
622 !dax_invalidate_mapping_entry_sync(mapping, indices[i])) in invalidate_inode_pages2_range()
632 unmap_mapping_pages(mapping, indices[i], in invalidate_inode_pages2_range()
633 (1 + end - indices[i]), false); in invalidate_inode_pages2_range()
642 VM_BUG_ON_FOLIO(!folio_contains(folio, indices[i]), folio); in invalidate_inode_pages2_range()
651 clear_shadow_entries(mapping, indices[0], indices[nr-1]); in invalidate_inode_pages2_range()