Searched refs:last_index (Results 1 – 9 of 9) sorted by relevance
/fs/verity/ |
D | read_metadata.c | 22 pgoff_t index, last_index; in fsverity_read_merkle_tree() local 30 last_index = (end_offset - 1) >> PAGE_SHIFT; in fsverity_read_merkle_tree() 38 for (index = offset >> PAGE_SHIFT; index <= last_index; index++) { in fsverity_read_merkle_tree() 40 min_t(unsigned long, last_index - index + 1, in fsverity_read_merkle_tree()
|
/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/erofs/ |
D | zdata.c | 1427 pgoff_t last_index; in z_erofs_submit_queue() local 1466 if (bio && cur != last_index + 1) { in z_erofs_submit_queue() 1489 last_index = cur; in z_erofs_submit_queue()
|
/fs/btrfs/ |
D | relocation.c | 2703 unsigned long last_index; in relocate_file_extent_cluster() local 2729 last_index = (cluster->end - offset) >> PAGE_SHIFT; in relocate_file_extent_cluster() 2730 while (index <= last_index) { in relocate_file_extent_cluster() 2740 last_index + 1 - index); in relocate_file_extent_cluster() 2756 last_index + 1 - index); in relocate_file_extent_cluster()
|
D | ioctl.c | 1478 unsigned long last_index; in btrfs_defrag_file() local 1533 last_index = min_t(u64, isize - 1, in btrfs_defrag_file() 1536 last_index = (isize - 1) >> PAGE_SHIFT; in btrfs_defrag_file() 1555 max_to_defrag = last_index - i + 1; in btrfs_defrag_file() 1564 while (i <= last_index && defrag_count < max_to_defrag && in btrfs_defrag_file()
|
D | free-space-cache.c | 289 unsigned long last_index; in readahead_cache() local 296 last_index = (i_size_read(inode) - 1) >> PAGE_SHIFT; in readahead_cache() 298 page_cache_sync_readahead(inode->i_mapping, ra, NULL, 0, last_index); in readahead_cache()
|
D | send.c | 4964 pgoff_t last_index; in put_file_data() local 4976 last_index = (offset + len - 1) >> PAGE_SHIFT; in put_file_data() 4982 while (index <= last_index) { in put_file_data() 4989 NULL, index, last_index + 1 - index); in put_file_data() 5001 NULL, page, index, last_index + 1 - index); in put_file_data()
|
/fs/f2fs/ |
D | compress.c | 1159 unsigned int last_index = cc->cluster_size - 1; in f2fs_write_compressed_pages() local 1192 psize = (loff_t)(cc->rpages[last_index]->index + 1) << PAGE_SHIFT; in f2fs_write_compressed_pages()
|