Lines Matching refs:ofs_in_node
407 ALIGN_DOWN(dn->ofs_in_node, F2FS_I(inode)->i_cluster_size)); in __found_offset()
479 for (; dn.ofs_in_node < end_offset; in f2fs_seek_block()
480 dn.ofs_in_node++, pgofs++, in f2fs_seek_block()
618 int nr_free = 0, ofs = dn->ofs_in_node, len = count; in f2fs_truncate_data_blocks_range()
628 for (; count > 0; count--, addr++, dn->ofs_in_node++, cluster_index++) { in f2fs_truncate_data_blocks_range()
676 dn->ofs_in_node = ofs; in f2fs_truncate_data_blocks_range()
680 dn->ofs_in_node, nr_free); in f2fs_truncate_data_blocks_range()
759 count -= dn.ofs_in_node; in f2fs_do_truncate_blocks()
762 if (dn.ofs_in_node || IS_INODE(dn.node_page)) { in f2fs_do_truncate_blocks()
1159 count = min(end_offset - dn.ofs_in_node, pg_end - pg_start); in f2fs_truncate_hole()
1247 dn.ofs_in_node, len); in __read_out_blkaddrs()
1254 dn.ofs_in_node, len); in __read_out_blkaddrs()
1255 for (i = 0; i < done; i++, blkaddr++, do_replace++, dn.ofs_in_node++) { in __read_out_blkaddrs()
1343 dn.ofs_in_node, len - i); in __clone_blkaddrs()
1358 dn.ofs_in_node++; in __clone_blkaddrs()
1518 unsigned int ofs_in_node = dn->ofs_in_node; in f2fs_do_zero_range() local
1522 for (; index < end; index++, dn->ofs_in_node++) { in f2fs_do_zero_range()
1527 dn->ofs_in_node = ofs_in_node; in f2fs_do_zero_range()
1532 dn->ofs_in_node = ofs_in_node; in f2fs_do_zero_range()
1533 for (index = start; index < end; index++, dn->ofs_in_node++) { in f2fs_do_zero_range()
1633 end = min(pg_end, end_offset - dn.ofs_in_node + index); in f2fs_zero_range()
3581 dn->ofs_in_node + i); in release_compress_blocks()
3593 for (i = 0; i < cluster_size; i++, dn->ofs_in_node++) { in release_compress_blocks()
3599 dn->ofs_in_node += cluster_size; in release_compress_blocks()
3699 count = min(end_offset - dn.ofs_in_node, last_idx - page_idx); in f2fs_release_compress_blocks()
3750 dn->ofs_in_node + i); in reserve_compress_blocks()
3767 dn->ofs_in_node + i); in reserve_compress_blocks()
3771 dn->ofs_in_node += cluster_size; in reserve_compress_blocks()
3796 dn->ofs_in_node += cluster_size; in reserve_compress_blocks()
3805 for (i = 0; i < cluster_size; i++, dn->ofs_in_node++) { in reserve_compress_blocks()
3877 count = min(end_offset - dn.ofs_in_node, last_idx - page_idx); in f2fs_reserve_compress_blocks()
4041 count = min(end_offset - dn.ofs_in_node, pg_end - index); in f2fs_sec_trim_file()
4042 for (i = 0; i < count; i++, index++, dn.ofs_in_node++) { in f2fs_sec_trim_file()