Home
last modified time | relevance | path

Searched refs:ckpt (Results 1 – 12 of 12) sorted by relevance

/third_party/f2fs-tools/fsck/
Df2fs.h243 struct f2fs_checkpoint *ckpt; member
288 return (struct f2fs_checkpoint *)(sbi->ckpt); in F2FS_CKPT()
343 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_size() local
347 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() local
364 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 …]
Dnode.h141 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in is_recoverable_dnode() local
142 __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()
Dmain.c635 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_fsck() local
636 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_fsck()
711 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_dump() local
712 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_dump()
960 if (sbi->ckpt) in main()
961 free(sbi->ckpt); in main()
Dnode.c66 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in new_node_block() local
81 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in new_node_block()
Dmount.c1139 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() local
1191 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 …]
Ddir.c464 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in init_inode_block() local
524 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in init_inode_block()
/third_party/mindspore/mindspore/lite/examples/export_models/
D.gitignore4 *.ckpt
/third_party/mindspore/mindspore/lite/examples/transfer_learning/model/
Dprepare_model.sh5 wget https://download.mindspore.cn/model_zoo/official/lite/efficient_net/efficient_net_b0.ckpt
/third_party/mindspore/
D.gitignore92 *.ckpt
/third_party/mindspore/mindspore/lite/examples/transfer_learning/
DREADME.md85 …trained and a `.ckpt` file should be loaded to the head network. In the first time the script is r…
/third_party/mindspore/mindspore/train/callback/
D_summary_collector.py724 train_lineage[LineageMetadata.model_path] = json.dumps(dict(ckpt=ckpt_file_path))
/third_party/mindspore/mindspore/nn/probability/
DREADME.md447 param_dict = load_checkpoint('checkpoint_lenet.ckpt')