Home
last modified time | relevance | path

Searched refs:folio_batch (Results 1 – 25 of 39) sorted by relevance

12

/linux/include/linux/
H A Dpagevec.h28 struct folio_batch { struct
41 static inline void folio_batch_init(struct folio_batch *fbatch) in folio_batch_init()
48 static inline void folio_batch_reinit(struct folio_batch *fbatch) in folio_batch_reinit()
54 static inline unsigned int folio_batch_count(const struct folio_batch *fbatch) in folio_batch_count()
59 static inline unsigned int folio_batch_space(const struct folio_batch *fbatch) in folio_batch_space()
74 static inline unsigned folio_batch_add(struct folio_batch *fbatch, in folio_batch_add()
89 static inline struct folio *folio_batch_next(struct folio_batch *fbatch) in folio_batch_next()
96 void __folio_batch_release(struct folio_batch *pvec);
98 static inline void folio_batch_release(struct folio_batch *fbatch) in folio_batch_release()
104 void folio_batch_remove_exceptionals(struct folio_batch *fbatch);
H A Dpagemap.h19 struct folio_batch;
1002 pgoff_t end, struct folio_batch *fbatch);
1004 pgoff_t *start, pgoff_t end, struct folio_batch *fbatch);
1006 pgoff_t end, xa_mark_t tag, struct folio_batch *fbatch);
1008 pgoff_t *start, pgoff_t end, struct folio_batch *fbatch);
1304 struct folio_batch *fbatch);
H A Drolling_buffer.h50 struct folio_batch *put_batch);
H A Dwriteback.h75 struct folio_batch fbatch;
H A Dmemcontrol.h687 void __mem_cgroup_uncharge_folios(struct folio_batch *folios);
688 static inline void mem_cgroup_uncharge_folios(struct folio_batch *folios) in mem_cgroup_uncharge_folios()
1157 static inline void mem_cgroup_uncharge_folios(struct folio_batch *folios) in mem_cgroup_uncharge_folios()
H A Dswap.h417 void check_move_unevictable_folios(struct folio_batch *fbatch);
H A Diomap.h250 struct folio_batch *fbatch;
H A Dmm.h47 struct folio_batch;
1840 void folios_put_refs(struct folio_batch *folios, unsigned int *refs);
1874 static inline void folios_put(struct folio_batch *folios) in folios_put()
/linux/mm/
H A Dswap.c56 struct folio_batch lru_add;
57 struct folio_batch lru_deactivate_file;
58 struct folio_batch lru_deactivate;
59 struct folio_batch lru_lazyfree;
61 struct folio_batch lru_activate;
65 struct folio_batch lru_move_tail;
158 static void folio_batch_move_lru(struct folio_batch *fbatch, move_fn_t move_fn) in folio_batch_move_lru()
182 static void __folio_batch_add_and_move(struct folio_batch __percpu *fbatch, in __folio_batch_add_and_move()
323 struct folio_batch *fbatch = &per_cpu(cpu_fbatches.lru_activate, cpu); in folio_activate_drain()
359 struct folio_batch *fbatc in __lru_cache_activate_folio()
[all...]
H A Dmlock.c33 struct folio_batch fbatch;
186 static void mlock_folio_batch(struct folio_batch *fbatch) in mlock_folio_batch()
214 struct folio_batch *fbatch; in mlock_drain_local()
225 struct folio_batch *fbatch; in mlock_drain_remote()
244 struct folio_batch *fbatch; in mlock_folio()
269 struct folio_batch *fbatch; in mlock_new_folio()
292 struct folio_batch *fbatch; in munlock_folio()
H A Dtruncate.c61 struct folio_batch *fbatch, pgoff_t *indices) in truncate_folio_batch_exceptionals()
371 struct folio_batch fbatch; in truncate_inode_pages_range()
538 struct folio_batch fbatch; in mapping_try_invalidate()
676 struct folio_batch fbatch; in invalidate_inode_pages2_range()
H A Dfilemap.c280 struct folio_batch *fbatch) in page_cache_delete_batch()
321 struct folio_batch *fbatch) in delete_from_page_cache_batch()
515 struct folio_batch fbatch; in __filemap_fdatawait_range()
2116 pgoff_t end, struct folio_batch *fbatch, pgoff_t *indices) in find_get_entries()
2165 pgoff_t end, struct folio_batch *fbatch, pgoff_t *indices) in find_lock_entries()
2233 pgoff_t end, struct folio_batch *fbatch) in filemap_get_folios()
2255 pgoff_t *start, pgoff_t end, struct folio_batch *fbatch) in filemap_get_folios_contig()
2331 pgoff_t end, xa_mark_t tag, struct folio_batch *fbatch) in filemap_get_folios_tag()
2386 pgoff_t end, struct folio_batch *fbatch) in filemap_get_folios_dirty()
2456 pgoff_t index, pgoff_t max, struct folio_batch *fbatch) in filemap_get_read_batch()
[all …]
H A Dinternal.h25 struct folio_batch;
540 pgoff_t end, struct folio_batch *fbatch, pgoff_t *indices);
542 pgoff_t end, struct folio_batch *fbatch, pgoff_t *indices);
900 void free_unref_folios(struct folio_batch *fbatch);
H A Dswap_state.c409 struct folio_batch folios; in __read_swap_cache_async()
H A Dshmem.c1061 struct folio_batch fbatch; in shmem_unlock_mapping()
1115 struct folio_batch fbatch; in shmem_undo_range()
1439 pgoff_t start, struct folio_batch *fbatch, in shmem_find_swap_entries()
1481 struct folio_batch *fbatch, pgoff_t *indices) in shmem_unuse_swap_entries()
1512 struct folio_batch fbatch; in shmem_unuse_inode()
/linux/fs/nilfs2/
H A Dpage.c246 struct folio_batch fbatch; in nilfs_copy_dirty_pages()
301 struct folio_batch fbatch; in nilfs_copy_back_pages()
363 struct folio_batch fbatch; in nilfs_clear_dirty_pages()
513 struct folio_batch fbatch; in nilfs_find_uncommitted_extent()
/linux/fs/netfs/
H A Drolling_buffer.c118 struct folio_batch *put_batch) in rolling_buffer_load_from_ra()
199 struct folio_batch fbatch; in rolling_buffer_clear()
H A Dmisc.c81 struct folio_batch fbatch; in netfs_free_folioq_buffer()
H A Dbuffered_read.c97 struct folio_batch put_batch; in netfs_prepare_read_iterator()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_shmem.c27 static void check_release_folio_batch(struct folio_batch *fbatch) in check_release_folio_batch()
38 struct folio_batch fbatch; in shmem_sg_free_table()
/linux/fs/ramfs/
H A Dfile-nommu.c208 struct folio_batch fbatch; in ramfs_nommu_get_unmapped_area()
/linux/drivers/gpu/drm/
H A Ddrm_gem.c633 static void drm_gem_check_release_batch(struct folio_batch *fbatch) in drm_gem_check_release_batch()
670 struct folio_batch fbatch; in drm_gem_get_pages()
745 struct folio_batch fbatch; in drm_gem_put_pages()
/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c191 static void pool_fini(struct folio_batch *fbatch) in pool_fini()
196 static int pool_refill(struct folio_batch *fbatch, gfp_t gfp) in pool_refill()
211 static int pool_init(struct folio_batch *fbatch, gfp_t gfp) in pool_init()
224 static void *pool_alloc(struct folio_batch *fbatch, gfp_t gfp) in pool_alloc()
235 static void pool_free(struct folio_batch *fbatch, void *addr) in pool_free()
248 struct folio_batch pool;
385 struct folio_batch pool;
/linux/include/linux/sunrpc/
H A Dsvc.h210 struct folio_batch rq_fbatch;
/linux/fs/btrfs/
H A Dextent_io.c272 struct folio_batch fbatch; in __process_folios_contig()
311 struct folio_batch fbatch; in lock_delalloc_folios()
2463 struct folio_batch fbatch; in extent_write_cache_pages()

12