Home
last modified time | relevance | path

Searched refs:folio_batch_count (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/mm/
H A Dswap.c201 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 …]
H A Dtruncate.c69 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()
H A Dfilemap.c289 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 …]
H A Dmlock.c193 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()
H A Dshmem.c1011 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()
/openbmc/linux/include/linux/
H A Dpagevec.h51 static inline unsigned int folio_batch_count(struct folio_batch *fbatch) in folio_batch_count() function
82 if (folio_batch_count(fbatch)) in folio_batch_release()
/openbmc/linux/fs/nilfs2/
H A Dpage.c255 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()
H A Dsegment.c723 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()
H A Dbtree.c2176 for (i = 0; i < folio_batch_count(&fbatch); i++) { in nilfs_btree_lookup_dirty_buffers()
/openbmc/linux/fs/afs/
H A Dwrite.c553 if (!folio_batch_count(&fbatch)) in afs_extend_writeback()
556 for (i = 0; i < folio_batch_count(&fbatch); i++) { in afs_extend_writeback()
/openbmc/linux/fs/gfs2/
H A Daops.c218 int nr_folios = folio_batch_count(fbatch); in gfs2_write_jdata_batch()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_gem.c649 if (folio_batch_count(&fbatch)) in drm_gem_put_pages()
/openbmc/linux/fs/hugetlbfs/
H A Dinode.c685 for (i = 0; i < folio_batch_count(&fbatch); ++i) { in remove_inode_hugepages()
/openbmc/linux/fs/
H A Dbuffer.c1716 count = folio_batch_count(&fbatch); in clean_bdev_aliases()
/openbmc/linux/fs/smb/client/
H A Dfile.c2804 if (!folio_batch_count(&batch)) in cifs_extend_writeback()
2807 for (i = 0; i < folio_batch_count(&batch); i++) { in cifs_extend_writeback()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c228 if (!folio && folio_batch_count(fbatch)) in pool_alloc()