Home
last modified time | relevance | path

Searched refs:folio_pos (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v6.6/fs/orangefs/
Dinode.c296 off = folio_pos(folio); in orangefs_read_folio()
418 } else if (folio_pos(folio) + offset <= wr->pos && in orangefs_invalidate_folio()
419 wr->pos + wr->len <= folio_pos(folio) + offset + length) { in orangefs_invalidate_folio()
425 } else if (wr->pos < folio_pos(folio) + offset && in orangefs_invalidate_folio()
426 wr->pos + wr->len <= folio_pos(folio) + offset + length && in orangefs_invalidate_folio()
427 folio_pos(folio) + offset < wr->pos + wr->len) { in orangefs_invalidate_folio()
429 x = wr->pos + wr->len - (folio_pos(folio) + offset); in orangefs_invalidate_folio()
435 } else if (folio_pos(folio) + offset <= wr->pos && in orangefs_invalidate_folio()
436 folio_pos(folio) + offset + length < wr->pos + wr->len && in orangefs_invalidate_folio()
437 wr->pos < folio_pos(folio) + offset + length) { in orangefs_invalidate_folio()
[all …]
/Linux-v6.6/fs/iomap/
Dbuffered-io.c409 .pos = folio_pos(folio), in iomap_read_folio()
561 trace_iomap_release_folio(folio->mapping->host, folio_pos(folio), in iomap_release_folio()
579 folio_pos(folio) + offset, len); in iomap_invalidate_folio()
649 if (!(iter->flags & IOMAP_UNSHARE) && pos <= folio_pos(folio) && in __iomap_write_begin()
650 pos + len >= folio_pos(folio) + folio_size(folio)) in __iomap_write_begin()
768 if (pos + len > folio_pos(folio) + folio_size(folio)) in iomap_write_begin()
769 len = folio_pos(folio) + folio_size(folio) - pos; in iomap_write_begin()
1005 folio_pos(folio) + folio_size(folio) - 1); in iomap_write_delalloc_ifs_punch()
1010 ret = punch(inode, folio_pos(folio) + (i << blkbits), in iomap_write_delalloc_ifs_punch()
1049 folio_pos(folio) + folio_size(folio)); in iomap_write_delalloc_punch()
[all …]
/Linux-v6.6/fs/freevxfs/
Dvxfs_immed.c34 void *src = vip->vii_immed.vi_immed + folio_pos(folio); in vxfs_immed_read_folio()
/Linux-v6.6/fs/
Dmpage.c586 if (folio_pos(folio) >= i_size) in __mpage_writepage()
589 if (folio_pos(folio) + length > i_size) { in __mpage_writepage()
598 length = i_size - folio_pos(folio); in __mpage_writepage()
Dbuffer.c2245 size_t start = pos - folio_pos(folio); in block_write_end()
2626 (folio_pos(folio) >= size)) { in block_page_mkwrite()
2634 if (folio_pos(folio) + end > size) in block_page_mkwrite()
2635 end = size - folio_pos(folio); in block_page_mkwrite()
2736 if (folio_pos(folio) + folio_size(folio) <= i_size) in block_write_full_page()
2741 if (folio_pos(folio) >= i_size) { in block_write_full_page()
/Linux-v6.6/fs/erofs/
Dfscache.c172 folio_pos(folio), folio_size(folio)); in erofs_fscache_meta_read_folio()
179 folio_pos(folio), folio_size(folio)); in erofs_fscache_meta_read_folio()
280 folio_pos(folio), folio_size(folio)); in erofs_fscache_read_folio()
/Linux-v6.6/fs/afs/
Dwrite.c56 .range_start = folio_pos(folio), in afs_flush_conflicting_write()
61 return afs_writepages_region(mapping, &wbc, folio_pos(folio), LLONG_MAX, in afs_flush_conflicting_write()
727 start = folio_pos(folio); /* May regress with THPs */ in afs_writepages_region()
1022 ret = afs_store_data(vnode, &iter, folio_pos(folio) + f, true); in afs_launder_folio()
Dfile.c349 fsreq->pos = folio_pos(folio); in afs_symlink_read_folio()
Ddir.c148 pos = folio_pos(folio); in afs_dir_check_folio()
207 size = min_t(loff_t, folio_size(folio), req->actual_len - folio_pos(folio)); in afs_dir_dump()
/Linux-v6.6/mm/
Dtruncate.c212 loff_t pos = folio_pos(folio); in truncate_inode_partial_folio()
378 same_folio = lend < folio_pos(folio) + folio_size(folio); in truncate_inode_pages_range()
Dfilemap.c2412 if (folio_pos(folio) > pos) { in filemap_range_uptodate()
2413 count -= folio_pos(folio) - pos; in filemap_range_uptodate()
2416 pos -= folio_pos(folio); in filemap_range_uptodate()
2691 if (end_offset < folio_pos(folio)) in filemap_read()
2946 if (folio_pos(folio) >= end_offset) in filemap_splice_read()
/Linux-v6.6/arch/xtensa/mm/
Dcache.c141 unsigned long temp = folio_pos(folio); in flush_dcache_folio()
/Linux-v6.6/fs/gfs2/
Daops.c105 if (folio_pos(folio) < i_size && in gfs2_write_jdata_folio()
106 i_size < folio_pos(folio) + folio_size(folio)) in gfs2_write_jdata_folio()
/Linux-v6.6/arch/arm/mm/
Dflush.c235 flush_pfn_alias(folio_pfn(folio), folio_pos(folio)); in __flush_dcache_folio()
/Linux-v6.6/fs/9p/
Dvfs_addr.c155 loff_t start = folio_pos(folio); in v9fs_vfs_write_folio_locked()
/Linux-v6.6/fs/netfs/
Dbuffered_read.c55 pg_end = folio_pos(folio) + folio_size(folio) - 1; in netfs_rreq_unlock_folios()
/Linux-v6.6/fs/affs/
Dfile.c539 tmp = folio_pos(folio); in affs_do_read_folio_ofs()
637 if (folio_pos(folio) + to > inode->i_size) { in affs_read_folio_ofs()
638 to = inode->i_size - folio_pos(folio); in affs_read_folio_ofs()
/Linux-v6.6/fs/ext4/
Dinode.c1862 if (folio_pos(folio) + len > size && in mpage_submit_folio()
2312 err = ext4_jbd2_inode_add_write(handle, inode, folio_pos(folio), len); in ext4_journal_folio_buffers()
2331 if (folio_pos(folio) + len > size && in mpage_journal_page_buffers()
2333 len = size - folio_pos(folio); in mpage_journal_page_buffers()
6105 if (folio->mapping != mapping || folio_pos(folio) > size) { in ext4_page_mkwrite()
6112 if (folio_pos(folio) + len > size) in ext4_page_mkwrite()
6113 len = size - folio_pos(folio); in ext4_page_mkwrite()
6155 if (folio->mapping != mapping || folio_pos(folio) > size) { in ext4_page_mkwrite()
6161 if (folio_pos(folio) + len > size) in ext4_page_mkwrite()
6162 len = size - folio_pos(folio); in ext4_page_mkwrite()
/Linux-v6.6/fs/xfs/
Dxfs_aops.c486 folio_pos(folio) + folio_size(folio)); in xfs_discard_folio()
/Linux-v6.6/fs/nfs/
Dfile.c501 inode->i_ino, folio_pos(folio)); in nfs_launder_folio()
/Linux-v6.6/arch/arc/mm/
Dcache.c741 unsigned long vaddr = folio_pos(folio); in flush_dcache_folio()
/Linux-v6.6/fs/smb/client/
Dcifsencrypt.c127 foffset = start - folio_pos(folio); in cifs_shash_xarray()
Dfile.c2771 wdata->offset = folio_pos(folio); in cifs_write_back_from_locked_folio()
2885 start = folio_pos(folio); /* May regress with THPs */ in cifs_writepages_region()
4858 loff_t range_start = folio_pos(folio); in cifs_launder_folio()
/Linux-v6.6/include/linux/
Dpagemap.h918 static inline loff_t folio_pos(struct folio *folio) in folio_pos() function
/Linux-v6.6/fs/ocfs2/
Daops.c282 loff_t start = folio_pos(folio); in ocfs2_read_folio()

12