Lines Matching defs:folio

127 				   struct folio *folio, void *shadow)  in page_cache_delete()
151 struct folio *folio) in filemap_unaccount_folio()
219 void __filemap_remove_folio(struct folio *folio, void *shadow) in __filemap_remove_folio()
228 void filemap_free_folio(struct address_space *mapping, struct folio *folio) in filemap_free_folio()
250 void filemap_remove_folio(struct folio *folio) in filemap_remove_folio()
285 struct folio *folio; in page_cache_delete_batch() local
331 struct folio *folio = fbatch->folios[i]; in delete_from_page_cache_batch() local
475 struct folio *folio; in filemap_range_has_page() local
523 struct folio *folio = fbatch.folios[i]; in __filemap_fdatawait_range() local
636 struct folio *folio; in filemap_range_has_writeback() local
845 struct folio *folio, pgoff_t index, gfp_t gfp, void **shadowp) in __filemap_add_folio()
932 int filemap_add_folio(struct address_space *mapping, struct folio *folio, in filemap_add_folio()
964 struct folio *folio; in filemap_alloc_folio() local
1033 static wait_queue_head_t *folio_waitqueue(struct folio *folio) in folio_waitqueue()
1133 static void folio_wake_bit(struct folio *folio, int bit_nr) in folio_wake_bit()
1180 static void folio_wake(struct folio *folio, int bit) in folio_wake()
1206 static inline bool folio_trylock_flag(struct folio *folio, int bit_nr, in folio_trylock_flag()
1222 static inline int folio_wait_bit_common(struct folio *folio, int bit_nr, in folio_wait_bit_common()
1384 struct folio *folio = page_folio(pfn_swap_entry_to_page(entry)); in migration_entry_wait_on_locked() local
1438 void folio_wait_bit(struct folio *folio, int bit_nr) in folio_wait_bit()
1444 int folio_wait_bit_killable(struct folio *folio, int bit_nr) in folio_wait_bit_killable()
1463 static int folio_put_wait_locked(struct folio *folio, int state) in folio_put_wait_locked()
1475 void folio_add_wait_queue(struct folio *folio, wait_queue_entry_t *waiter) in folio_add_wait_queue()
1519 void folio_unlock(struct folio *folio) in folio_unlock()
1541 void folio_end_private_2(struct folio *folio) in folio_end_private_2()
1556 void folio_wait_private_2(struct folio *folio) in folio_wait_private_2()
1574 int folio_wait_private_2_killable(struct folio *folio) in folio_wait_private_2_killable()
1592 void folio_end_writeback(struct folio *folio) in folio_end_writeback()
1627 void __folio_lock(struct folio *folio) in __folio_lock()
1634 int __folio_lock_killable(struct folio *folio) in __folio_lock_killable()
1641 static int __folio_lock_async(struct folio *folio, struct wait_page_queue *wait) in __folio_lock_async()
1678 vm_fault_t __folio_lock_or_retry(struct folio *folio, struct vm_fault *vmf) in __folio_lock_or_retry()
1819 struct folio *folio; in filemap_get_entry() local
1866 struct folio *folio; in __filemap_get_folio() local
1972 struct folio *folio; in find_get_entry() local
2028 struct folio *folio; in find_get_entries() local
2074 struct folio *folio; in find_lock_entries() local
2139 struct folio *folio; in filemap_get_folios() local
2193 struct folio *folio; in filemap_get_folios_contig() local
2263 struct folio *folio; in filemap_get_folios_tag() local
2333 struct folio *folio; in filemap_get_read_batch() local
2366 struct folio *folio) in filemap_read_folio()
2399 loff_t pos, size_t count, struct folio *folio, in filemap_range_uptodate()
2424 struct folio *folio, bool need_uptodate) in filemap_update_page()
2482 struct folio *folio; in filemap_create_folio() local
2524 struct address_space *mapping, struct folio *folio, in filemap_readahead()
2543 struct folio *folio; in filemap_get_pages() local
2597 static inline bool pos_same_folio(loff_t pos1, loff_t pos2, struct folio *folio) in pos_same_folio()
2693 struct folio *folio = fbatch.folios[i]; in filemap_read() local
2848 struct folio *folio, loff_t fpos, size_t size) in splice_folio_into_pipe()
2952 struct folio *folio = fbatch.folios[i]; in filemap_splice_read() local
2991 struct address_space *mapping, struct folio *folio, in folio_seek_hole_data()
3023 static inline size_t seek_folio_size(struct xa_state *xas, struct folio *folio) in seek_folio_size()
3054 struct folio *folio; in mapping_seek_hole_data() local
3108 static int lock_folio_maybe_drop_mmap(struct vm_fault *vmf, struct folio *folio, in lock_folio_maybe_drop_mmap()
3218 struct folio *folio) in do_async_mmap_readahead()
3272 struct folio *folio; in filemap_fault() local
3412 static bool filemap_map_pmd(struct vm_fault *vmf, struct folio *folio, in filemap_map_pmd()
3443 struct folio *folio = xas_next_entry(xas, end_pgoff); in next_uptodate_folio() local
3486 struct folio *folio, unsigned long start, in filemap_map_folio_range()
3539 struct folio *folio, unsigned long addr, in filemap_map_order0_folio()
3576 struct folio *folio; in filemap_map_pages() local
3634 struct folio *folio = page_folio(vmf->page); in filemap_page_mkwrite() local
3707 struct folio *folio; in do_read_cache_folio() local
3815 struct folio *folio; in do_read_cache_page() local
4125 bool filemap_release_folio(struct folio *folio, gfp_t gfp) in filemap_release_folio()
4158 struct folio *folio; in filemap_cachestat() local