Searched refs:folio_next_pos (Results 1 – 17 of 17) sorted by relevance
| /linux/fs/btrfs/ |
| H A D | subpage.c | 163 start + len <= folio_next_pos(folio), in btrfs_subpage_assert() 193 *len = min_t(u64, folio_next_pos(folio), orig_start + orig_len) - *start; in btrfs_subpage_clamp_range() 632 start + len >= folio_next_pos(folio)) { in btrfs_folio_clear_fixup_dirty()
|
| H A D | defrag.c | 870 lock_end = folio_next_pos(folio) - 1; in defrag_prepare_one_folio() 1157 if (start >= folio_next_pos(folio) || in defrag_one_locked_target() 1210 cur = folio_next_pos(folios[i]); in defrag_one_range()
|
| H A D | extent_io.c | 358 range_len = min_t(u64, folio_next_pos(folio), end + 1) - range_start; in lock_delalloc_folios() 411 ASSERT(!(orig_start >= folio_next_pos(locked_folio) || in find_lock_delalloc_range() 516 start + len <= folio_next_pos(folio)); in end_folio_read() 1278 u64 range_len = umin(folio_next_pos(folio), in can_skip_one_ordered_range() 1300 u64 range_len = umin(folio_next_pos(folio), in can_skip_one_ordered_range() 2464 u32 range_len = min_t(u64, folio_next_pos(folio), in write_one_eb() 2931 cur_end = min_t(u64, folio_next_pos(folio) - 1, end); in extent_write_locked_range() 4385 u32 range_len = min_t(u64, folio_next_pos(folio), in read_extent_buffer_pages_nowait()
|
| H A D | file.c | 84 ASSERT(folio_pos(folio) <= pos && folio_next_pos(folio) >= end_pos); in btrfs_dirty_folio() 790 u64 clamp_end = min_t(u64, pos + len, folio_next_pos(folio)); in prepare_uptodate_folio() 1239 if (reserved_start + reserved_len > folio_next_pos(folio)) { in copy_one_range() 1240 const u64 last_block = folio_next_pos(folio); in copy_one_range()
|
| H A D | compression.c | 463 folio_end = folio_next_pos(folio) - 1; in add_ra_bio_folios()
|
| H A D | inode.c | 2428 start >= folio_next_pos(locked_folio))); in btrfs_run_delalloc_range() 2868 const u64 page_end = folio_next_pos(folio) - 1; in btrfs_writepage_fixup_worker() 5052 zero_end = folio_next_pos(folio); in truncate_block_zero_beyond_eof() 5230 zero_end = min_t(u64, folio_next_pos(folio) - 1, end); in btrfs_truncate_block() 10813 const u64 range_end = min_t(u64, folio_next_pos(folio), in btrfs_data_dirty_folio()
|
| H A D | disk-io.c | 498 const u64 end = folio_next_pos(folio) - 1; in btree_invalidate_folio()
|
| /linux/fs/ntfs/ |
| H A D | wof.c | 477 folio_next_pos(folio) > chunk_end) { in ntfs_wof_collect_dest() 661 loff_t folio_end = folio_next_pos(folio); in ntfs_read_wof_compressed_block()
|
| /linux/fs/iomap/ |
| H A D | buffered-io.c | 896 pos + len >= folio_next_pos(folio)) in __iomap_write_begin() 1367 last_byte = min_t(loff_t, end_byte - 1, folio_next_pos(folio) - 1); in iomap_write_delalloc_ifs_punch() 1399 *punch_start_byte = min_t(loff_t, end_byte, folio_next_pos(folio)); in iomap_write_delalloc_punch() 1439 start_byte = folio_next_pos(folio); in iomap_write_delalloc_scan()
|
| /linux/fs/netfs/ |
| H A D | misc.c | 314 end = folio_next_pos(folio); in netfs_release_folio()
|
| H A D | buffered_write.c | 573 folio_next_pos(folio)); in netfs_page_mkwrite()
|
| /linux/fs/xfs/ |
| H A D | xfs_aops.c | 113 folio_next_pos(folio), NULL); in xfs_discard_folio()
|
| /linux/fs/xfs/scrub/ |
| H A D | xfarray.c | 836 next_pos = folio_next_pos(si->folio); in xfarray_sort_scan()
|
| /linux/fs/ext4/ |
| H A D | inode.c | 1328 if (len > folio_next_pos(folio) - pos) in ext4_write_begin() 1329 len = folio_next_pos(folio) - pos; in ext4_write_begin() 2716 mpd->next_pos = folio_next_pos(folio); in mpage_prepare_extent_to_map() 3164 if (len > folio_next_pos(folio) - pos) in ext4_da_write_begin() 3165 len = folio_next_pos(folio) - pos; in ext4_da_write_begin()
|
| /linux/include/linux/ |
| H A D | pagemap.h | 953 static inline loff_t folio_next_pos(const struct folio *folio) in folio_next_pos() function
|
| /linux/fs/ |
| H A D | buffer.c | 2647 if (folio_next_pos(folio) <= i_size) in block_write_full_folio()
|
| /linux/mm/ |
| H A D | shmem.c | 1177 same_folio = lend < folio_next_pos(folio); in shmem_undo_range()
|