Lines Matching refs:end_offset
406 pgoff_t pgofs, end_offset; in f2fs_seek_block() local
445 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_seek_block()
448 for (; dn.ofs_in_node < end_offset; in f2fs_seek_block()
1022 pgoff_t end_offset, count; in f2fs_truncate_hole() local
1035 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_truncate_hole()
1036 count = min(end_offset - dn.ofs_in_node, pg_end - pg_start); in f2fs_truncate_hole()
1038 f2fs_bug_on(F2FS_I_SB(inode), count == 0 || count > end_offset); in f2fs_truncate_hole()
1476 unsigned int end_offset; in f2fs_zero_range() local
1497 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_zero_range()
1498 end = min(pg_end, end_offset - dn.ofs_in_node + index); in f2fs_zero_range()
3565 pgoff_t end_offset, count; in f2fs_release_compress_blocks() local
3579 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_release_compress_blocks()
3580 count = min(end_offset - dn.ofs_in_node, last_idx - page_idx); in f2fs_release_compress_blocks()
3718 pgoff_t end_offset, count; in f2fs_reserve_compress_blocks() local
3732 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_reserve_compress_blocks()
3733 count = min(end_offset - dn.ofs_in_node, last_idx - page_idx); in f2fs_reserve_compress_blocks()
3880 pgoff_t end_offset, count; in f2fs_sec_trim_file() local
3893 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_sec_trim_file()
3894 count = min(end_offset - dn.ofs_in_node, pg_end - index); in f2fs_sec_trim_file()