Searched refs:folio_batch_count (Results 1 – 16 of 16) sorted by relevance
201 for (i = 0; i < folio_batch_count(fbatch); i++) { in folio_batch_move_lru()216 folios_put(fbatch->folios, folio_batch_count(fbatch)); in folio_batch_move_lru()340 if (folio_batch_count(fbatch)) in folio_activate_drain()394 for (i = folio_batch_count(fbatch) - 1; i >= 0; i--) { in __lru_cache_activate_folio()643 if (folio_batch_count(fbatch)) in lru_add_drain_cpu()648 if (data_race(folio_batch_count(fbatch))) { in lru_add_drain_cpu()658 if (folio_batch_count(fbatch)) in lru_add_drain_cpu()662 if (folio_batch_count(fbatch)) in lru_add_drain_cpu()666 if (folio_batch_count(fbatch)) in lru_add_drain_cpu()787 return folio_batch_count(&fbatches->lru_add) || in cpu_needs_drain()[all …]
69 for (j = 0; j < folio_batch_count(fbatch); j++) in truncate_folio_batch_exceptionals()73 if (j == folio_batch_count(fbatch)) in truncate_folio_batch_exceptionals()82 for (i = j; i < folio_batch_count(fbatch); i++) { in truncate_folio_batch_exceptionals()366 for (i = 0; i < folio_batch_count(&fbatch); i++) in truncate_inode_pages_range()369 for (i = 0; i < folio_batch_count(&fbatch); i++) in truncate_inode_pages_range()413 for (i = 0; i < folio_batch_count(&fbatch); i++) { in truncate_inode_pages_range()509 for (i = 0; i < folio_batch_count(&fbatch); i++) { in mapping_try_invalidate()635 for (i = 0; i < folio_batch_count(&fbatch); i++) { in invalidate_inode_pages2_range()
289 if (i >= folio_batch_count(fbatch)) in page_cache_delete_batch()325 if (!folio_batch_count(fbatch)) in delete_from_page_cache_batch()330 for (i = 0; i < folio_batch_count(fbatch); i++) { in delete_from_page_cache_batch()342 for (i = 0; i < folio_batch_count(fbatch); i++) in delete_from_page_cache_batch()2075 if (folio_batch_count(fbatch)) { in find_get_entries()2077 int idx = folio_batch_count(fbatch) - 1; in find_get_entries()2084 return folio_batch_count(fbatch); in find_get_entries()2139 if (folio_batch_count(fbatch)) { in find_lock_entries()2141 int idx = folio_batch_count(fbatch) - 1; in find_lock_entries()2148 return folio_batch_count(fbatch); in find_lock_entries()[all …]
193 for (i = 0; i < folio_batch_count(fbatch); i++) { in mlock_folio_batch()209 folios_put(fbatch->folios, folio_batch_count(fbatch)); in mlock_folio_batch()219 if (folio_batch_count(fbatch)) in mlock_drain_local()230 if (folio_batch_count(fbatch)) in mlock_drain_remote()236 return folio_batch_count(&per_cpu(mlock_fbatch.fbatch, cpu)); in need_mlock_drain()
1011 for (i = 0; i < folio_batch_count(&fbatch); i++) { in shmem_undo_range()1080 for (i = 0; i < folio_batch_count(&fbatch); i++) { in shmem_undo_range()1320 indices[folio_batch_count(fbatch)] = xas.xa_index; in shmem_find_swap_entries()1346 for (i = 0; i < folio_batch_count(fbatch); i++) { in shmem_unuse_swap_entries()1381 if (folio_batch_count(&fbatch) == 0) { in shmem_unuse_inode()1390 start = indices[folio_batch_count(&fbatch) - 1]; in shmem_unuse_inode()
51 static inline unsigned int folio_batch_count(struct folio_batch *fbatch) in folio_batch_count() function82 if (folio_batch_count(fbatch)) in folio_batch_release()
255 for (i = 0; i < folio_batch_count(&fbatch); i++) { in nilfs_copy_dirty_pages()309 for (i = 0; i < folio_batch_count(&fbatch); i++) { in nilfs_copy_back_pages()370 for (i = 0; i < folio_batch_count(&fbatch); i++) { in nilfs_clear_dirty_pages()
723 for (i = 0; i < folio_batch_count(&fbatch); i++) { in nilfs_lookup_dirty_data_buffers()776 for (i = 0; i < folio_batch_count(&fbatch); i++) { in nilfs_lookup_dirty_node_buffers()
2176 for (i = 0; i < folio_batch_count(&fbatch); i++) { in nilfs_btree_lookup_dirty_buffers()
553 if (!folio_batch_count(&fbatch)) in afs_extend_writeback()556 for (i = 0; i < folio_batch_count(&fbatch); i++) { in afs_extend_writeback()
218 int nr_folios = folio_batch_count(fbatch); in gfs2_write_jdata_batch()
649 if (folio_batch_count(&fbatch)) in drm_gem_put_pages()
685 for (i = 0; i < folio_batch_count(&fbatch); ++i) { in remove_inode_hugepages()
1716 count = folio_batch_count(&fbatch); in clean_bdev_aliases()
2804 if (!folio_batch_count(&batch)) in cifs_extend_writeback()2807 for (i = 0; i < folio_batch_count(&batch); i++) { in cifs_extend_writeback()
228 if (!folio && folio_batch_count(fbatch)) in pool_alloc()