Lines Matching refs:last_idx
3414 pgoff_t page_idx = 0, last_idx; in f2fs_release_compress_blocks() local
3462 last_idx = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in f2fs_release_compress_blocks()
3464 while (page_idx < last_idx) { in f2fs_release_compress_blocks()
3481 count = min(end_offset - dn.ofs_in_node, last_idx - page_idx); in f2fs_release_compress_blocks()
3583 pgoff_t page_idx = 0, last_idx; in f2fs_reserve_compress_blocks() local
3615 last_idx = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in f2fs_reserve_compress_blocks()
3617 while (page_idx < last_idx) { in f2fs_reserve_compress_blocks()
3634 count = min(end_offset - dn.ofs_in_node, last_idx - page_idx); in f2fs_reserve_compress_blocks()
3980 pgoff_t page_idx = 0, last_idx; in f2fs_ioc_decompress_file() local
4017 last_idx = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in f2fs_ioc_decompress_file()
4019 count = last_idx - page_idx; in f2fs_ioc_decompress_file()
4052 pgoff_t page_idx = 0, last_idx; in f2fs_ioc_compress_file() local
4088 last_idx = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in f2fs_ioc_compress_file()
4090 count = last_idx - page_idx; in f2fs_ioc_compress_file()