Searched refs:ckpt (Results 1 – 12 of 12) sorted by relevance
243 struct f2fs_checkpoint *ckpt; member288 return (struct f2fs_checkpoint *)(sbi->ckpt); in F2FS_CKPT()343 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_size() local347 return le32_to_cpu(ckpt->nat_ver_bitmap_bytesize); in __bitmap_size()349 return le32_to_cpu(ckpt->sit_ver_bitmap_bytesize); in __bitmap_size()361 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_ptr() local364 if (is_set_ckpt_flags(ckpt, CP_LARGE_NAT_BITMAP_FLAG)) { in __bitmap_ptr()368 le32_to_cpu(ckpt->nat_ver_bitmap_bytesize) : 0; in __bitmap_ptr()370 if (le32_to_cpu(ckpt->checksum_offset) == in __bitmap_ptr()374 return &ckpt->sit_nat_version_bitmap + offset + chksum_size; in __bitmap_ptr()[all …]
141 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in is_recoverable_dnode() local142 __u64 cp_ver = cur_cp_version(ckpt); in is_recoverable_dnode()145 if (is_set_ckpt_flags(ckpt, CP_NOCRC_RECOVERY_FLAG)) in is_recoverable_dnode()148 if (is_set_ckpt_flags(ckpt, CP_CRC_RECOVERY_FLAG)) in is_recoverable_dnode()149 cp_ver |= (cur_cp_crc(ckpt) << 32); in is_recoverable_dnode()
635 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_fsck() local636 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_fsck()711 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_dump() local712 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_dump()960 if (sbi->ckpt) in main()961 free(sbi->ckpt); in main()
66 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in new_node_block() local81 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in new_node_block()
1139 sbi->ckpt = malloc(cp_blks * blk_size); in get_valid_checkpoint()1140 if (!sbi->ckpt) in get_valid_checkpoint()1176 memcpy(sbi->ckpt, cur_page, blk_size); in get_valid_checkpoint()1188 unsigned char *ckpt = (unsigned char *)sbi->ckpt; in get_valid_checkpoint() local1191 memcpy(ckpt + i * blk_size, cur_page, blk_size); in get_valid_checkpoint()1201 free(sbi->ckpt); in get_valid_checkpoint()1202 sbi->ckpt = NULL; in get_valid_checkpoint()2426 if (le32_to_cpu(sbi->ckpt->cur_node_segno[0]) == segno || in build_sit_area_bitmap()2427 le32_to_cpu(sbi->ckpt->cur_data_segno[0]) == segno || in build_sit_area_bitmap()2428 le32_to_cpu(sbi->ckpt->cur_node_segno[1]) == segno || in build_sit_area_bitmap()[all …]
464 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in init_inode_block() local524 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in init_inode_block()
4 *.ckpt
5 wget https://download.mindspore.cn/model_zoo/official/lite/efficient_net/efficient_net_b0.ckpt
92 *.ckpt
85 …trained and a `.ckpt` file should be loaded to the head network. In the first time the script is r…
724 train_lineage[LineageMetadata.model_path] = json.dumps(dict(ckpt=ckpt_file_path))
447 param_dict = load_checkpoint('checkpoint_lenet.ckpt')