/linux-6.6.21/fs/orangefs/ |
D | inode.c | 296 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-6.6.21/fs/iomap/ |
D | buffered-io.c | 409 .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-6.6.21/fs/freevxfs/ |
D | vxfs_immed.c | 34 void *src = vip->vii_immed.vi_immed + folio_pos(folio); in vxfs_immed_read_folio()
|
/linux-6.6.21/fs/ |
D | mpage.c | 586 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()
|
D | buffer.c | 2245 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-6.6.21/fs/erofs/ |
D | fscache.c | 172 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-6.6.21/fs/afs/ |
D | write.c | 56 .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()
|
D | file.c | 349 fsreq->pos = folio_pos(folio); in afs_symlink_read_folio()
|
D | dir.c | 148 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-6.6.21/mm/ |
D | truncate.c | 212 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()
|
D | filemap.c | 2412 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() 2700 if (end_offset < folio_pos(folio)) in filemap_read() 2955 if (folio_pos(folio) >= end_offset) in filemap_splice_read()
|
/linux-6.6.21/arch/xtensa/mm/ |
D | cache.c | 141 unsigned long temp = folio_pos(folio); in flush_dcache_folio()
|
/linux-6.6.21/fs/gfs2/ |
D | aops.c | 105 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-6.6.21/arch/arm/mm/ |
D | flush.c | 235 flush_pfn_alias(folio_pfn(folio), folio_pos(folio)); in __flush_dcache_folio()
|
/linux-6.6.21/fs/9p/ |
D | vfs_addr.c | 155 loff_t start = folio_pos(folio); in v9fs_vfs_write_folio_locked()
|
/linux-6.6.21/fs/netfs/ |
D | buffered_read.c | 55 pg_end = folio_pos(folio) + folio_size(folio) - 1; in netfs_rreq_unlock_folios()
|
/linux-6.6.21/fs/affs/ |
D | file.c | 539 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-6.6.21/fs/ext4/ |
D | inode.c | 1874 if (folio_pos(folio) + len > size && in mpage_submit_folio() 2324 err = ext4_jbd2_inode_add_write(handle, inode, folio_pos(folio), len); in ext4_journal_folio_buffers() 2343 if (folio_pos(folio) + len > size && in mpage_journal_page_buffers() 2345 len = size - folio_pos(folio); in mpage_journal_page_buffers() 6117 if (folio->mapping != mapping || folio_pos(folio) > size) { in ext4_page_mkwrite() 6124 if (folio_pos(folio) + len > size) in ext4_page_mkwrite() 6125 len = size - folio_pos(folio); in ext4_page_mkwrite() 6167 if (folio->mapping != mapping || folio_pos(folio) > size) { in ext4_page_mkwrite() 6173 if (folio_pos(folio) + len > size) in ext4_page_mkwrite() 6174 len = size - folio_pos(folio); in ext4_page_mkwrite()
|
/linux-6.6.21/fs/xfs/ |
D | xfs_aops.c | 486 folio_pos(folio) + folio_size(folio)); in xfs_discard_folio()
|
/linux-6.6.21/arch/arc/mm/ |
D | cache.c | 741 unsigned long vaddr = folio_pos(folio); in flush_dcache_folio()
|
/linux-6.6.21/fs/nfs/ |
D | file.c | 501 inode->i_ino, folio_pos(folio)); in nfs_launder_folio()
|
/linux-6.6.21/fs/smb/client/ |
D | cifsencrypt.c | 127 foffset = start - folio_pos(folio); in cifs_shash_xarray()
|
D | file.c | 2775 wdata->offset = folio_pos(folio); in cifs_write_back_from_locked_folio() 2889 start = folio_pos(folio); /* May regress with THPs */ in cifs_writepages_region() 4863 loff_t range_start = folio_pos(folio); in cifs_launder_folio()
|
D | cifsfs.c | 1252 fpos = folio_pos(folio); in cifs_flush_folio()
|
/linux-6.6.21/include/linux/ |
D | pagemap.h | 935 static inline loff_t folio_pos(struct folio *folio) in folio_pos() function
|