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()
95 dax_delete_mapping_entry(mapping, indices[i]); in truncate_folio_batch_exceptionals()
101 xas_set(&xas, indices[j]); in truncate_folio_batch_exceptionals()
107 xas_for_each(&xas, folio, indices[nr-1]) { in truncate_folio_batch_exceptionals()
347 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() local
376 &fbatch, indices)) { in truncate_inode_pages_range()
377 truncate_folio_batch_exceptionals(mapping, &fbatch, indices); in truncate_inode_pages_range()
416 indices)) { in truncate_inode_pages_range()
434 VM_BUG_ON_FOLIO(!folio_contains(folio, indices[i]), folio); in truncate_inode_pages_range()
439 truncate_folio_batch_exceptionals(mapping, &fbatch, indices); in truncate_inode_pages_range()
512 pgoff_t indices[PAGEVEC_SIZE]; in mapping_try_invalidate() local
520 while (find_lock_entries(mapping, &index, end, &fbatch, indices)) { in mapping_try_invalidate()
551 clear_shadow_entries(mapping, indices[0], indices[nr-1]); in mapping_try_invalidate()
572 * Return: The number of indices that had their contents invalidated
650 pgoff_t indices[PAGEVEC_SIZE]; in invalidate_inode_pages2_range() local
663 while (find_get_entries(mapping, &index, end, &fbatch, indices)) { in invalidate_inode_pages2_range()
675 !dax_invalidate_mapping_entry_sync(mapping, indices[i])) in invalidate_inode_pages2_range()
685 unmap_mapping_pages(mapping, indices[i], in invalidate_inode_pages2_range()
686 (1 + end - indices[i]), false); in invalidate_inode_pages2_range()
695 VM_BUG_ON_FOLIO(!folio_contains(folio, indices[i]), folio); in invalidate_inode_pages2_range()
704 clear_shadow_entries(mapping, indices[0], indices[nr-1]); in invalidate_inode_pages2_range()