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()
960 int filemap_add_folio(struct address_space *mapping, struct folio *folio, in filemap_add_folio()
992 struct folio *folio; in filemap_alloc_folio() local
1061 static wait_queue_head_t *folio_waitqueue(struct folio *folio) in folio_waitqueue()
1161 static void folio_wake_bit(struct folio *folio, int bit_nr) in folio_wake_bit()
1208 static void folio_wake(struct folio *folio, int bit) in folio_wake()
1234 static inline bool folio_trylock_flag(struct folio *folio, int bit_nr, in folio_trylock_flag()
1250 static inline int folio_wait_bit_common(struct folio *folio, int bit_nr, in folio_wait_bit_common()
1412 struct folio *folio = page_folio(pfn_swap_entry_to_page(entry)); in migration_entry_wait_on_locked() local
1466 void folio_wait_bit(struct folio *folio, int bit_nr) in folio_wait_bit()
1472 int folio_wait_bit_killable(struct folio *folio, int bit_nr) in folio_wait_bit_killable()
1491 static int folio_put_wait_locked(struct folio *folio, int state) in folio_put_wait_locked()
1503 void folio_add_wait_queue(struct folio *folio, wait_queue_entry_t *waiter) in folio_add_wait_queue()
1547 void folio_unlock(struct folio *folio) in folio_unlock()
1569 void folio_end_private_2(struct folio *folio) in folio_end_private_2()
1584 void folio_wait_private_2(struct folio *folio) in folio_wait_private_2()
1602 int folio_wait_private_2_killable(struct folio *folio) in folio_wait_private_2_killable()
1620 void folio_end_writeback(struct folio *folio) in folio_end_writeback()
1655 void __folio_lock(struct folio *folio) in __folio_lock()
1662 int __folio_lock_killable(struct folio *folio) in __folio_lock_killable()
1669 static int __folio_lock_async(struct folio *folio, struct wait_page_queue *wait) in __folio_lock_async()
1706 vm_fault_t __folio_lock_or_retry(struct folio *folio, struct vm_fault *vmf) in __folio_lock_or_retry()
1847 struct folio *folio; in filemap_get_entry() local
1894 struct folio *folio; in __filemap_get_folio() local
2009 struct folio *folio; in find_get_entry() local
2065 struct folio *folio; in find_get_entries() local
2111 struct folio *folio; in find_lock_entries() local
2176 struct folio *folio; in filemap_get_folios() local
2230 struct folio *folio; in filemap_get_folios_contig() local
2301 struct folio *folio; in filemap_get_folios_tag() local
2371 struct folio *folio; in filemap_get_read_batch() local
2404 struct folio *folio) in filemap_read_folio()
2437 loff_t pos, size_t count, struct folio *folio, in filemap_range_uptodate()
2462 struct folio *folio, bool need_uptodate) in filemap_update_page()
2520 struct folio *folio; in filemap_create_folio() local
2562 struct address_space *mapping, struct folio *folio, in filemap_readahead()
2581 struct folio *folio; in filemap_get_pages() local
2635 static inline bool pos_same_folio(loff_t pos1, loff_t pos2, struct folio *folio) in pos_same_folio()
2731 struct folio *folio = fbatch.folios[i]; in filemap_read() local
2886 struct folio *folio, loff_t fpos, size_t size) in splice_folio_into_pipe()
2990 struct folio *folio = fbatch.folios[i]; in filemap_splice_read() local
3029 struct address_space *mapping, struct folio *folio, in folio_seek_hole_data()
3061 static inline size_t seek_folio_size(struct xa_state *xas, struct folio *folio) in seek_folio_size()
3092 struct folio *folio; in mapping_seek_hole_data() local
3146 static int lock_folio_maybe_drop_mmap(struct vm_fault *vmf, struct folio *folio, in lock_folio_maybe_drop_mmap()
3256 struct folio *folio) in do_async_mmap_readahead()
3310 struct folio *folio; in filemap_fault() local
3450 static bool filemap_map_pmd(struct vm_fault *vmf, struct folio *folio, in filemap_map_pmd()
3481 struct folio *folio = xas_next_entry(xas, end_pgoff); in next_uptodate_folio() local
3524 struct folio *folio, unsigned long start, in filemap_map_folio_range()
3577 struct folio *folio, unsigned long addr, in filemap_map_order0_folio()
3614 struct folio *folio; in filemap_map_pages() local
3672 struct folio *folio = page_folio(vmf->page); in filemap_page_mkwrite() local
3745 struct folio *folio; in do_read_cache_folio() local
3853 struct folio *folio; in do_read_cache_page() local
4163 bool filemap_release_folio(struct folio *folio, gfp_t gfp) in filemap_release_folio()
4196 struct folio *folio; in filemap_cachestat() local