Searched refs:last_index (Results 1 – 8 of 8) sorted by relevance
/fs/ocfs2/ |
D | mmap.c | 57 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/ |
D | balloc.c | 247 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/ |
D | file.c | 452 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/ |
D | zdata.c | 1214 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/ |
D | relocation.c | 3278 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()
|
D | ioctl.c | 1393 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()
|
D | free-space-cache.c | 286 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()
|
D | send.c | 4797 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()
|