Home
last modified time | relevance | path

Searched refs:last_index (Results 1 – 8 of 8) sorted by relevance

/fs/ocfs2/
Dmmap.c57 pgoff_t last_index; in __ocfs2_page_mkwrite() local
62 last_index = (size - 1) >> PAGE_SHIFT; in __ocfs2_page_mkwrite()
92 if (page->index == last_index) in __ocfs2_page_mkwrite()
/fs/ufs/
Dballoc.c247 pgoff_t index, cur_index, last_index; in ufs_change_blocknr() local
262 last_index = end >> (PAGE_SHIFT - inode->i_blkbits); in ufs_change_blocknr()
286 if (unlikely(index == last_index)) in ufs_change_blocknr()
/fs/gfs2/
Dfile.c452 unsigned long last_index; in gfs2_page_mkwrite() local
514 last_index = (size - 1) >> PAGE_SHIFT; in gfs2_page_mkwrite()
516 if (size == 0 || (page->index > last_index)) in gfs2_page_mkwrite()
/fs/erofs/
Dzdata.c1214 pgoff_t uninitialized_var(last_index); in z_erofs_vle_submit_all()
1250 force_submit |= (first_index != last_index + 1); in z_erofs_vle_submit_all()
1286 last_index = first_index + i; in z_erofs_vle_submit_all()
/fs/btrfs/
Drelocation.c3278 unsigned long last_index; in relocate_file_extent_cluster() local
3304 last_index = (cluster->end - offset) >> PAGE_SHIFT; in relocate_file_extent_cluster()
3305 while (index <= last_index) { in relocate_file_extent_cluster()
3315 last_index + 1 - index); in relocate_file_extent_cluster()
3331 last_index + 1 - index); in relocate_file_extent_cluster()
Dioctl.c1393 unsigned long last_index; in btrfs_defrag_file() local
1448 last_index = min_t(u64, isize - 1, in btrfs_defrag_file()
1451 last_index = (isize - 1) >> PAGE_SHIFT; in btrfs_defrag_file()
1470 max_to_defrag = last_index - i + 1; in btrfs_defrag_file()
1479 while (i <= last_index && defrag_count < max_to_defrag && in btrfs_defrag_file()
Dfree-space-cache.c286 unsigned long last_index; in readahead_cache() local
293 last_index = (i_size_read(inode) - 1) >> PAGE_SHIFT; in readahead_cache()
295 page_cache_sync_readahead(inode->i_mapping, ra, NULL, 0, last_index); in readahead_cache()
Dsend.c4797 pgoff_t last_index; in fill_read_buf() local
4818 last_index = (offset + len - 1) >> PAGE_SHIFT; in fill_read_buf()
4824 while (index <= last_index) { in fill_read_buf()
4831 NULL, index, last_index + 1 - index); in fill_read_buf()
4843 NULL, page, index, last_index + 1 - index); in fill_read_buf()