Home
last modified time | relevance | path

Searched refs:folio_index (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/fs/afs/
Dwrite.c91 index = folio_index(folio); in afs_write_begin()
165 vnode->fid.vid, vnode->fid.vnode, folio_index(folio)); in afs_write_end()
209 _debug("dirtied %lx", folio_index(folio)); in afs_write_end()
307 len, start, folio_index(folio), end); in afs_pages_written_back()
496 if (folio_index(folio) != index) in afs_extend_writeback()
596 _enter(",%lx,%llx-%llx", folio_index(folio), start, end); in afs_write_back_from_locked_folio()
729 _debug("wback %lx", folio_index(folio)); in afs_writepages_region()
920 _enter("{{%llx:%llu}},{%lx}", vnode->fid.vid, vnode->fid.vnode, folio_index(folio)); in afs_page_mkwrite()
Dfile.c493 vnode->fid.vid, vnode->fid.vnode, folio_index(folio), folio->flags, in afs_release_folio()
Ddir.c210 pr_warn("[%02lx] %32phN\n", folio_index(folio) + offset, block); in afs_dir_dump()
2027 _enter("{{%llx:%llu}[%lu]}", dvnode->fid.vid, dvnode->fid.vnode, folio_index(folio)); in afs_dir_release_folio()
/linux-6.6.21/fs/netfs/
Dbuffered_read.c93 if (folio_index(folio) == rreq->no_unlock_folio && in netfs_rreq_unlock_folios()
231 _enter("%lx", folio_index(folio)); in netfs_read_folio()
390 rreq->no_unlock_folio = folio_index(folio); in netfs_write_begin()
Dio.c130 if (have_unlocked && folio_index(folio) <= unlocked) in netfs_rreq_unmark_after_write()
132 unlocked = folio_index(folio); in netfs_rreq_unmark_after_write()
/linux-6.6.21/fs/nfs/
Ddir.c159 pgoff_t folio_index; member
485 desc->folio_index++; in nfs_readdir_seek_next_array()
494 desc->folio_index = 0; in nfs_readdir_rewind_search()
1023 if (desc->folio_index == desc->folio_index_max) in find_and_lock_cache_page()
1025 desc->folio_index_max = desc->folio_index; in find_and_lock_cache_page()
1159 desc->folio_index = 0; in uncached_readdir()
1252 desc->folio_index = dir_ctx->page_index; in nfs_readdir()
1300 if (desc->folio_index == desc->folio_index_max) in nfs_readdir()
1308 dir_ctx->page_index = desc->folio_index; in nfs_readdir()
Dinternal.h822 pgoff_t index = folio_index(folio) >> folio_order(folio); in nfs_folio_length()
Dwrite.c282 if (i_size > 0 && folio_index(folio) < end_index) in nfs_grow_file()
656 nfs_pageio_cond_complete(pgio, folio_index(folio)); in nfs_do_writepage()
Dpagelist.c572 ret = nfs_page_create(l_ctx, offset, folio_index(folio), offset, count); in nfs_page_create_from_folio()
/linux-6.6.21/include/linux/
Dpagemap.h779 static inline pgoff_t folio_index(struct folio *folio) in folio_index() function
830 return index - folio_index(folio) < folio_nr_pages(folio); in folio_contains()
/linux-6.6.21/mm/
Dpage-writeback.c2670 __xa_set_mark(&mapping->i_pages, folio_index(folio), in __folio_mark_dirty()
2958 __xa_clear_mark(&mapping->i_pages, folio_index(folio), in __folio_end_writeback()
2997 XA_STATE(xas, &mapping->i_pages, folio_index(folio)); in __folio_start_writeback()
Dmigrate.c403 XA_STATE(xas, &mapping->i_pages, folio_index(folio)); in folio_migrate_mapping()
530 XA_STATE(xas, &mapping->i_pages, folio_index(src)); in migrate_huge_page_move_mapping()
/linux-6.6.21/fs/smb/client/
Dfile.c90 len, start, folio_index(folio), end); in cifs_pages_written_back()
123 len, start, folio_index(folio), end); in cifs_pages_write_failed()
154 len, start, folio_index(folio), end); in cifs_pages_write_redirty()
2655 if (folio_index(folio) != index) in cifs_extend_writeback()
/linux-6.6.21/include/trace/events/
Dafs.h1036 __entry->index = folio_index(folio);