Searched refs:ofs_in_node (Results 1 – 10 of 10) sorted by relevance
/fs/f2fs/ |
D | recovery.c | 450 unsigned int offset, ofs_in_node, max_addrs; in check_index_in_prev_nodes() local 476 ofs_in_node = le16_to_cpu(sum.ofs_in_node); in check_index_in_prev_nodes() 479 if (ofs_in_node >= max_addrs) { in check_index_in_prev_nodes() 481 ofs_in_node, dn->inode->i_ino, nid, max_addrs); in check_index_in_prev_nodes() 490 tdn.ofs_in_node = ofs_in_node; in check_index_in_prev_nodes() 493 tdn.ofs_in_node = ofs_in_node; in check_index_in_prev_nodes() 524 le16_to_cpu(sum.ofs_in_node); in check_index_in_prev_nodes() 615 for (; start < end; start++, dn.ofs_in_node++) { in do_recover_data() 619 dest = data_blkaddr(dn.inode, page, dn.ofs_in_node); in do_recover_data() 697 dest, inode->i_ino, dn.ofs_in_node); in do_recover_data()
|
D | file.c | 464 for (; dn.ofs_in_node < end_offset; in f2fs_seek_block() 465 dn.ofs_in_node++, pgofs++, in f2fs_seek_block() 559 int nr_free = 0, ofs = dn->ofs_in_node, len = count; in f2fs_truncate_data_blocks_range() 574 for (; count > 0; count--, addr++, dn->ofs_in_node++, cluster_index++) { in f2fs_truncate_data_blocks_range() 600 if (dn->ofs_in_node == 0 && IS_INODE(dn->node_page)) in f2fs_truncate_data_blocks_range() 623 dn->ofs_in_node = ofs; in f2fs_truncate_data_blocks_range() 627 dn->ofs_in_node, nr_free); in f2fs_truncate_data_blocks_range() 711 count -= dn.ofs_in_node; in f2fs_do_truncate_blocks() 714 if (dn.ofs_in_node || IS_INODE(dn.node_page)) { in f2fs_do_truncate_blocks() 1043 count = min(end_offset - dn.ofs_in_node, pg_end - pg_start); in f2fs_truncate_hole() [all …]
|
D | gc.c | 623 unsigned int ofs_in_node, max_addrs, base; in is_alive() local 627 ofs_in_node = le16_to_cpu(sum->ofs_in_node); in is_alive() 657 if (base + ofs_in_node >= max_addrs) { in is_alive() 659 base, ofs_in_node, max_addrs, dni->ino, dni->nid); in is_alive() 665 source_blkaddr = data_blkaddr(NULL, node_page, ofs_in_node); in is_alive() 845 set_summary(&sum, dn.nid, dn.ofs_in_node, ni.version); in move_data_block() 1048 unsigned int ofs_in_node, nofs; in gc_data_segment() local 1085 ofs_in_node = le16_to_cpu(entry->ofs_in_node); in gc_data_segment() 1103 ofs_in_node; in gc_data_segment() 1155 + ofs_in_node; in gc_data_segment()
|
D | data.c | 1111 addr_array[base + dn->ofs_in_node] = cpu_to_le32(dn->data_blkaddr); in __set_data_blkaddr() 1150 dn->ofs_in_node, count); in f2fs_reserve_new_blocks() 1154 for (; count > 0; dn->ofs_in_node++) { in f2fs_reserve_new_blocks() 1171 unsigned int ofs_in_node = dn->ofs_in_node; in f2fs_reserve_new_block() local 1175 dn->ofs_in_node = ofs_in_node; in f2fs_reserve_new_block() 1415 set_summary(&sum, dn->nid, dn->ofs_in_node, ni.version); in __allocate_data_block() 1507 unsigned int ofs_in_node, last_ofs_in_node; in f2fs_map_blocks() local 1579 last_ofs_in_node = ofs_in_node = dn.ofs_in_node; in f2fs_map_blocks() 1610 last_ofs_in_node = dn.ofs_in_node; in f2fs_map_blocks() 1668 dn.ofs_in_node++; in f2fs_map_blocks() [all …]
|
D | segment.h | 785 unsigned int ofs_in_node, unsigned char version) in set_summary() argument 788 sum->ofs_in_node = cpu_to_le16(ofs_in_node); in set_summary()
|
D | compress.c | 803 dn.node_page, dn.ofs_in_node + i); in __f2fs_cluster_blocks() 1091 dn.ofs_in_node + i) == NULL_ADDR) in f2fs_write_compressed_pages() 1136 for (i = 0; i < cc->cluster_size; i++, dn.ofs_in_node++) { in f2fs_write_compressed_pages()
|
D | node.c | 810 dn->ofs_in_node = offset[level]; in f2fs_get_dnode_of_data() 825 dn->ofs_in_node = offset[level]; in f2fs_get_dnode_of_data() 884 dn->ofs_in_node = 0; in truncate_dnode() 2769 sum_entry->ofs_in_node = 0; in f2fs_restore_node_summary()
|
D | extent_cache.c | 802 dn->ofs_in_node; in f2fs_update_extent_cache()
|
D | segment.c | 3291 set_summary(&sum, dn->nid, dn->ofs_in_node, fio->version); in f2fs_outplace_write_data() 3429 set_summary(&sum, dn->nid, dn->ofs_in_node, version); in f2fs_replace_block() 3590 ns->ofs_in_node = 0; in read_normal_summaries()
|
D | f2fs.h | 967 unsigned int ofs_in_node; /* data offset in the node page */ member 2563 return data_blkaddr(dn->inode, dn->node_page, dn->ofs_in_node); in f2fs_data_blkaddr()
|