/linux-6.6.21/fs/iomap/ |
D | buffered-io.c | 203 size_t plen = min_t(loff_t, folio_size(folio) - poff, length); in iomap_adjust_read_range() 410 .len = folio_size(folio), in iomap_read_folio() 524 count = min(folio_size(folio) - from, count); in iomap_is_partially_uptodate() 562 folio_size(folio)); in iomap_release_folio() 585 if (offset == 0 && len == folio_size(folio)) { in iomap_invalidate_folio() 596 size_t len = folio_size(folio); in iomap_dirty_folio() 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() 918 if (bytes > folio_size(folio) - offset) in iomap_write_iter() [all …]
|
/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() 234 folio_file_pos(folio), folio_size(folio), in netfs_read_folio() 280 size_t plen = folio_size(folio); in netfs_skip_folio_read() 384 folio_file_pos(folio), folio_size(folio), in netfs_write_begin()
|
/linux-6.6.21/arch/ia64/mm/ |
D | init.c | 61 flush_icache_range(addr, addr + folio_size(folio)); in __ia64_sync_icache_dcache() 78 left -= folio_size(folio) - offset; in arch_dma_mark_clean() 84 while (left >= (ssize_t)folio_size(folio)) { in arch_dma_mark_clean() 85 left -= folio_size(folio); in arch_dma_mark_clean()
|
/linux-6.6.21/include/linux/ |
D | highmem.h | 445 VM_BUG_ON(offset + len > folio_size(folio)); in memcpy_from_folio() 466 VM_BUG_ON(offset + len > folio_size(folio)); in memcpy_to_folio() 508 len = min(len, folio_size(folio) - offset); in memcpy_from_file_folio()
|
D | fsverity.h | 258 return fsverity_verify_blocks(folio, folio_size(folio), 0); in fsverity_verify_folio()
|
D | nfs_page.h | 227 return folio_size(folio); in nfs_page_max_length()
|
/linux-6.6.21/mm/ |
D | truncate.c | 178 folio_invalidate(folio, 0, folio_size(folio)); in truncate_cleanup_folio() 219 length = folio_size(folio); in truncate_inode_partial_folio() 226 if (length == folio_size(folio)) { in truncate_inode_partial_folio() 378 same_folio = lend < folio_pos(folio) + folio_size(folio); in truncate_inode_pages_range()
|
D | usercopy.c | 199 if (n > folio_size(folio) - offset) in check_heap_object()
|
D | secretmem.c | 158 folio_zero_segment(folio, 0, folio_size(folio)); in secretmem_free_folio()
|
/linux-6.6.21/fs/nfs/ |
D | read.c | 57 folio_zero_segment(folio, 0, folio_size(folio)); in nfs_return_empty_folio() 293 size_t fsize = folio_size(folio); in nfs_read_add_folio() 339 task_io_account_read(folio_size(folio)); in nfs_read_folio()
|
/linux-6.6.21/fs/gfs2/ |
D | aops.c | 106 i_size < folio_pos(folio) + folio_size(folio)) in gfs2_write_jdata_folio() 108 folio_size(folio)); in gfs2_write_jdata_folio() 137 gfs2_trans_add_databufs(ip, folio, 0, folio_size(folio)); in __gfs2_jdata_write_folio() 645 int partial_page = (offset || length < folio_size(folio)); in gfs2_invalidate_folio()
|
/linux-6.6.21/fs/afs/ |
D | write.c | 522 psize = folio_size(folio); in afs_extend_writeback() 625 (to == folio_size(folio) || new_content)) in afs_write_back_from_locked_folio() 750 start += folio_size(folio); in afs_writepages_region() 766 start += folio_size(folio); in afs_writepages_region() 950 priv = afs_folio_dirty(folio, 0, folio_size(folio)); in afs_page_mkwrite() 1012 t = folio_size(folio); in afs_launder_folio()
|
D | file.c | 350 fsreq->len = folio_size(folio); in afs_symlink_read_folio() 422 if (offset == 0 && length == folio_size(folio)) in afs_invalidate_dirty()
|
/linux-6.6.21/arch/arm64/mm/ |
D | flush.c | 59 folio_size(folio)); in __sync_icache_dcache()
|
/linux-6.6.21/arch/nios2/mm/ |
D | cacheflush.c | 172 __flush_dcache(start, start + folio_size(folio)); in __flush_dcache_folio() 196 flush_icache_range(start, start + folio_size(folio)); in flush_dcache_folio()
|
/linux-6.6.21/fs/ |
D | mpage.c | 588 length = folio_size(folio); in __mpage_writepage() 599 folio_zero_segment(folio, length, folio_size(folio)); in __mpage_writepage() 622 wbc_account_cgroup_owner(wbc, &folio->page, folio_size(folio)); in __mpage_writepage()
|
D | buffer.c | 933 offset = folio_size(folio); in folio_alloc_buffers() 1540 BUG_ON(offset >= folio_size(folio)); in folio_set_bh() 1600 BUG_ON(stop > folio_size(folio) || stop < length); in block_invalidate_folio() 1631 if (length == folio_size(folio)) in block_invalidate_folio() 2331 to = min_t(unsigned, folio_size(folio) - from, count); in block_is_partially_uptodate() 2333 if (from < blocksize && to > folio_size(folio) - blocksize) in block_is_partially_uptodate() 2632 end = folio_size(folio); in block_page_mkwrite() 2736 if (folio_pos(folio) + folio_size(folio) <= i_size) in block_write_full_page() 2754 folio_size(folio)); in block_write_full_page()
|
/linux-6.6.21/fs/ext4/ |
D | readpage.c | 301 folio_size(folio)); in ext4_mpage_readpages() 334 folio_size(folio)); in ext4_mpage_readpages()
|
D | page-io.c | 455 if (len < folio_size(folio)) in ext4_bio_write_folio() 456 folio_zero_segment(folio, len, folio_size(folio)); in ext4_bio_write_folio()
|
/linux-6.6.21/arch/microblaze/include/asm/ |
D | cacheflush.h | 81 flush_dcache_range(addr, addr + folio_size(folio)); in flush_dcache_folio()
|
/linux-6.6.21/arch/sh/mm/ |
D | cache.c | 154 folio_size(folio)); in __update_cache() 174 folio_size(folio)); in __flush_anon_page()
|
D | cache-sh7705.c | 187 __flush_purge_region(folio_address(folio), folio_size(folio)); in sh7705_flush_icache_folio()
|
/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/arch/arm/mm/ |
D | nommu.c | 185 __cpuc_flush_dcache_area(folio_address(folio), folio_size(folio)); in flush_dcache_folio()
|
/linux-6.6.21/fs/affs/ |
D | file.c | 537 BUG_ON(to > folio_size(folio)); in affs_do_read_folio_ofs() 636 to = folio_size(folio); in affs_read_folio_ofs() 639 folio_zero_segment(folio, to, folio_size(folio)); in affs_read_folio_ofs() 680 err = affs_do_read_folio_ofs(folio, folio_size(folio), 1); in affs_write_begin_ofs()
|