Lines Matching defs:opt

146 } opt;
468 memset(&opt, 0, sizeof(opt));
469 opt.show_progress = 1;
474 if (!err && !opt.volume)
475 opt.volume = argv[optind-1];
480 opt.badsectors++;
483 opt.debug++;
486 opt.force++;
493 opt.info++;
496 opt.ro_flag = NTFS_MNT_RDONLY;
499 opt.show_progress = 0;
502 if (!err && (opt.bytes == 0))
503 opt.bytes = get_new_volume_size(optarg);
508 opt.verbose++;
526 if (opt.volume == NULL) {
531 if (opt.info) {
532 opt.ro_flag = NTFS_MNT_RDONLY;
533 if (opt.bytes) {
550 if (!opt.debug)
746 if (!opt.info && (inode == FILE_MFTMirr)) {
756 if (!opt.info || !resize->new_volume_size)
820 if (++fsck->show_outsider <= 10 || opt.verbose)
829 if (++fsck->multi_ref <= 10 || opt.verbose)
926 if (++mismatch > 10 && !opt.verbose)
1778 if (opt.verbose) {
2060 !opt.badsectors ? NERR_PREFIX : "WARNING: ",
2062 if (!opt.badsectors) {
2168 if (!opt.ro_flag)
2232 if (ntfs_check_if_mounted(opt.volume, &mntflag)) {
2233 perr_printf("Failed to check '%s' mount state", opt.volume);
2241 "You must 'umount' it first.\n", opt.volume);
2242 if (!opt.ro_flag)
2244 "You must 'umount' it first.\n", opt.volume);
2251 if (!(vol = ntfs_mount(opt.volume, opt.ro_flag | NTFS_MNT_FORENSIC))) {
2254 perr_printf("Opening '%s' as NTFS failed", opt.volume);
2256 printf(invalid_ntfs_msg, opt.volume);
2269 if (opt.force-- <= 0)
2277 printf("Device name : %s\n", opt.volume);
2334 if (opt.info)
2356 if (opt.show_progress)
2397 err_exit("Couldn't open volume '%s'!\n", opt.volume);
2411 if (!opt.bytes && !opt.info)
2412 opt.bytes = device_size;
2415 new_size = opt.bytes / vol->cluster_size;
2422 if (!opt.info) {
2424 if (device_size < opt.bytes)
2430 if (!opt.info && (new_size == vol->nr_clusters ||
2431 (opt.bytes == device_size &&
2443 if (opt.show_progress)
2463 if (opt.info) {
2468 if (opt.force-- <= 0 && !opt.ro_flag) {
2486 if (opt.ro_flag) {