Home
last modified time | relevance | path

Searched refs:cp_ver (Results 1 – 6 of 6) sorted by relevance

/external/f2fs-tools/fsck/
Dnode.h135 return le64_to_cpu(node_blk->footer.cp_ver); in cpver_of_node()
142 __u64 cp_ver = cur_cp_version(ckpt); in is_recoverable_dnode() local
146 return (cp_ver << 32) == (cpver_of_node(node_blk) << 32); in is_recoverable_dnode()
149 cp_ver |= (cur_cp_crc(ckpt) << 32); in is_recoverable_dnode()
151 return cp_ver == cpver_of_node(node_blk); in is_recoverable_dnode()
Dnode.c82 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in new_node_block()
Dresize.c453 unsigned long long cp_ver = get_cp(checkpoint_ver); in rebuild_checkpoint() local
535 new_cp->checkpoint_ver = cpu_to_le64(cp_ver + 1); in rebuild_checkpoint()
Ddir.c525 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in init_inode_block()
/external/f2fs-tools/include/
Df2fs_fs.h1017 __le64 cp_ver; /* checkpoint version */ member
1516 u_int64_t cp_ver = get_cp(checkpoint_ver); in get_cp_crc() local
1521 cp_ver |= ((u_int64_t)crc << 32); in get_cp_crc()
1522 return cpu_to_le64(cp_ver); in get_cp_crc()
/external/f2fs-tools/mkfs/
Df2fs_format.c1202 raw_node->footer.cp_ver = cpu_to_le64(1); in f2fs_write_root_inode()
1364 raw_node->footer.cp_ver = cpu_to_le64(1); in f2fs_write_qf_inode()
1558 raw_node->footer.cp_ver = cpu_to_le64(1); in f2fs_write_lpf_inode()