/third_party/f2fs-tools/fsck/ |
D | fsck.c | 21 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in f2fs_set_main_bitmap() local 37 return f2fs_set_bit(BLKOFF_FROM_MAIN(sbi, blk), fsck->main_area_bitmap); in f2fs_set_main_bitmap() 42 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in f2fs_test_main_bitmap() local 45 fsck->main_area_bitmap); in f2fs_test_main_bitmap() 50 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in f2fs_clear_main_bitmap() local 53 fsck->main_area_bitmap); in f2fs_clear_main_bitmap() 58 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in f2fs_test_sit_bitmap() local 60 return f2fs_test_bit(BLKOFF_FROM_MAIN(sbi, blk), fsck->sit_area_bitmap); in f2fs_test_sit_bitmap() 65 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in f2fs_set_sit_bitmap() local 67 return f2fs_set_bit(BLKOFF_FROM_MAIN(sbi, blk), fsck->sit_area_bitmap); in f2fs_set_sit_bitmap() [all …]
|
D | Makefile.am | 5 sbin_PROGRAMS = fsck.f2fs 6 noinst_HEADERS = common.h dict.h dqblk_v2.h f2fs.h fsck.h node.h quotaio.h \ 9 fsck_f2fs_SOURCES = main.c fsck.c dump.c mount.c defrag.c resize.c \ 17 ln -sf fsck.f2fs $(DESTDIR)/$(sbindir)/dump.f2fs 18 ln -sf fsck.f2fs $(DESTDIR)/$(sbindir)/defrag.f2fs 19 ln -sf fsck.f2fs $(DESTDIR)/$(sbindir)/resize.f2fs 20 ln -sf fsck.f2fs $(DESTDIR)/$(sbindir)/sload.f2fs 21 ln -sf fsck.f2fs $(DESTDIR)/$(sbindir)/f2fslabel
|
D | mkquota.c | 68 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in quota_write_inode() local 70 quota_ctx_t qctx = fsck->qctx; in quota_write_inode() 148 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in quota_init_context() local 178 fsck->qctx = ctx; in quota_init_context() 366 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in quota_compare_and_update() local 367 quota_ctx_t qctx = fsck->qctx; in quota_compare_and_update()
|
D | BUILD.gn | 22 ##Build fsck 23 ohos_executable("fsck.f2fs") { 31 "fsck.c",
|
D | mount.c | 2457 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in build_sit_area_bitmap() local 2465 fsck->sit_area_bitmap_sz = sm_i->main_segments * SIT_VBLOCK_MAP_SIZE; in build_sit_area_bitmap() 2466 fsck->sit_area_bitmap = calloc(1, fsck->sit_area_bitmap_sz); in build_sit_area_bitmap() 2467 ASSERT(fsck->sit_area_bitmap); in build_sit_area_bitmap() 2468 ptr = fsck->sit_area_bitmap; in build_sit_area_bitmap() 2470 ASSERT(fsck->sit_area_bitmap_sz == fsck->main_area_bitmap_sz); in build_sit_area_bitmap() 2493 fsck->chk.sit_valid_blocks = sum_vblocks; in build_sit_area_bitmap() 2494 fsck->chk.sit_free_segs = free_segs; in build_sit_area_bitmap() 2503 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in rewrite_sit_area_bitmap() local 2516 ptr = fsck->main_area_bitmap; in rewrite_sit_area_bitmap() [all …]
|
D | quotaio.c | 110 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in quota_file_open() local 112 quota_ctx_t qctx = fsck->qctx; in quota_file_open() 201 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in quota_file_close() local 202 quota_ctx_t qctx = fsck->qctx; in quota_file_close()
|
D | segment.c | 26 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in reserve_new_block() local 34 if (fsck->chk.valid_blk_cnt >= sbi->user_block_count) { in reserve_new_block() 38 if (is_node && fsck->chk.valid_node_cnt >= in reserve_new_block() 87 fsck->chk.valid_blk_cnt++; in reserve_new_block() 89 fsck->chk.valid_node_cnt++; in reserve_new_block() 91 fsck->chk.valid_inode_cnt++; in reserve_new_block()
|
/third_party/exfatprogs/ |
D | BUILD.gn | 22 ":fsck.exfat", 37 "fsck", 85 ##Build fsck.exfat 86 ohos_executable("fsck.exfat") { 89 "fsck/fsck.c", 90 "fsck/repair.c", 96 "./fsck", 115 "./fsck", 133 "./fsck", 151 "./fsck", [all …]
|
D | NEWS | 5 * fsck.exfat: Keep traveling files even if there is a corrupted 7 * fsck.exfat: Introduce the option "b" to recover a boot sector even 9 * fsck.exfat: Introduce the option "s" to create files in 12 * fsck.exfat: Rename '.' and '..' entry name to the one user want. 15 * fsck.exfat: Repair corruptions of an exFAT filesystem. Please refer 16 to fsck.exfat manpage to see what kind of corruptions can be repaired. 21 * fsck.exfat: Fix an infinite loop while traveling files. 35 * fsck.exfat: fix a double free memory error. 68 * fsck.exfat: recover corrupted boot region. 81 * fsck.exfat: display sector, cluster, and volume sizes in the human [all …]
|
D | README.md | 50 - fsck.exfat: 55 fsck.exfat /dev/sda1 57 fsck.exfat -p -s /dev/sda1 59 fsck.exfat -y -s /dev/sda1 103 Some fsck implementations were tested and compared for Samsung 64GB Pro 112 | **exfatprogs fsck** | 1.0.4 | 11.561 | 113 | Windows fsck | Windows 10 1809 | 11.449 | 114 | [exfat-fuse fsck] | 1.3.0 | 68.977 | 116 [exfat-fuse fsck]: https://github.com/relan/exfat
|
D | Makefile.am | 5 SUBDIRS = lib mkfs fsck tune label dump exfat2img subdir 9 manpages/fsck.exfat.8 \ 23 fsck/Android.bp \
|
/third_party/exfatprogs/fsck/ |
D | repair.c | 78 static int ask_repair(struct exfat_fsck *fsck, struct exfat_repair_problem *pr) in ask_repair() argument 83 if (fsck->options & FSCK_OPTS_REPAIR_NO || in ask_repair() 86 else if (fsck->options & FSCK_OPTS_REPAIR_YES || in ask_repair() 90 if (fsck->options & FSCK_OPTS_REPAIR_ASK) { in ask_repair() 117 } else if (fsck->options & FSCK_OPTS_REPAIR_AUTO && in ask_repair() 135 int exfat_repair_ask(struct exfat_fsck *fsck, er_problem_code_t prcode, in exfat_repair_ask() argument 152 repair = ask_repair(fsck, pr); in exfat_repair_ask() 155 fsck->dirty_fat = true; in exfat_repair_ask() 156 fsck->dirty = true; in exfat_repair_ask()
|
D | Makefile.am | 4 sbin_PROGRAMS = fsck.exfat 6 fsck_exfat_SOURCES = fsck.c repair.c fsck.h repair.h
|
D | fsck.c | 1116 static int read_children(struct exfat_fsck *fsck, struct exfat_inode *dir) in read_children() argument 1118 struct exfat *exfat = fsck->exfat; in read_children() 1125 de_iter = &fsck->de_iter; in read_children() 1126 ret = exfat_de_iter_init(de_iter, exfat, dir, fsck->buffer_desc); in read_children() 1205 static int write_bitmap(struct exfat_fsck *fsck) in write_bitmap() argument 1207 struct exfat *exfat = fsck->exfat; in write_bitmap() 1250 static int exfat_filesystem_check(struct exfat_fsck *fsck) in exfat_filesystem_check() argument 1252 struct exfat *exfat = fsck->exfat; in exfat_filesystem_check() 1275 dir_errors = read_children(fsck, dir); in exfat_filesystem_check() 1375 static int rescue_orphan_clusters(struct exfat_fsck *fsck) in rescue_orphan_clusters() argument [all …]
|
D | repair.h | 30 int exfat_repair_ask(struct exfat_fsck *fsck, er_problem_code_t prcode,
|
/third_party/ltp/testcases/kernel/mce-test/stress/ |
D | hwpoison.sh | 724 local dir=$g_logdir/fsck 725 local result=$dir/fsck.result 726 local log=$dir/fsck.log 734 local dir=$g_logdir/fsck 735 local result=$dir/fsck.result 736 local log=$dir/fsck.log 744 local dir=$g_logdir/fsck 745 local result=$dir/fsck.result 746 local log=$dir/fsck.log 747 local fsck=fsck.$g_fstype [all …]
|
/third_party/f2fs-tools/ |
D | BUILD.gn | 11 "//third_party/f2fs-tools/fsck:fsck.f2fs", 19 "//third_party/f2fs-tools/fsck:fsck.f2fs($host_toolchain)",
|
D | .gitignore | 48 /fsck/fsck.f2fs
|
D | Makefile.am | 5 SUBDIRS = man lib mkfs fsck tools subdir
|
D | ChangeLog | 4 * Added fsck and dump for f2fs-tools.
|
/third_party/f2fs-tools/scripts/ |
D | spo_test.sh | 29 fsck.f2fs $DEV -d 0 || exit 36 fsck.f2fs $DEV -d 0 || exit 41 fsck.f2fs $DEV -d 0 || exit
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfsresize.c | 827 static void build_lcn_usage_bitmap(ntfs_volume *vol, ntfsck_t *fsck) in build_lcn_usage_bitmap() argument 833 struct bitmap *lcn_bitmap = &fsck->lcn_bitmap; in build_lcn_usage_bitmap() 835 a = fsck->ctx->attr; in build_lcn_usage_bitmap() 836 inode = fsck->ni->mft_no; in build_lcn_usage_bitmap() 871 fsck->outsider += outsiders; in build_lcn_usage_bitmap() 873 if (++fsck->show_outsider <= 10 || opt.verbose) in build_lcn_usage_bitmap() 883 if (++fsck->multi_ref <= 10 || opt.verbose) in build_lcn_usage_bitmap() 890 fsck->inuse += lcn_length; in build_lcn_usage_bitmap() 912 static int walk_attributes(ntfs_volume *vol, ntfsck_t *fsck) in walk_attributes() argument 914 if (!(fsck->ctx = attr_get_search_ctx(fsck->ni, NULL))) in walk_attributes() [all …]
|
/third_party/exfatprogs/tests/ |
D | test_fsck.sh | 6 FSCK_PROG=fsck.exfat 7 FSCK_PROG_2=fsck.exfat
|
/third_party/f2fs-tools/man/ |
D | Makefile.am | 3 dist_man_MANS = mkfs.f2fs.8 fsck.f2fs.8 dump.f2fs.8 defrag.f2fs.8 resize.f2fs.8 sload.f2fs.8 f2fs_i…
|
/third_party/ltp/testcases/kernel/fs/fsx-linux/ |
D | fsxtest | 49 fsck -a -t $2 $1 # report the results
|