Lines Matching refs:vsiz
431 args->vsiz = my_strtofft(optarg); in fill_cld_args()
433 args->vsiz <<= 10; in fill_cld_args()
435 args->vsiz *= 1000; in fill_cld_args()
437 args->vsiz <<= 20; in fill_cld_args()
439 args->vsiz *= 1000000; in fill_cld_args()
441 args->vsiz <<= 30; in fill_cld_args()
443 args->vsiz *= 1000000000; in fill_cld_args()
866 if ((args->vsiz <= 0) && (args->flags & CLD_FLG_FILE)) { in make_assumptions()
868 args->vsiz = get_file_size(args->device); in make_assumptions()
872 if ((args->vsiz <= 0) && !(args->flags & CLD_FLG_FILE)) { in make_assumptions()
873 args->vsiz = get_vsiz(args->device); in make_assumptions()
876 if ((args->vsiz <= 0) in make_assumptions()
879 args->vsiz = args->stop_lba + 1; in make_assumptions()
881 args->vsiz = args->start_lba + 1; in make_assumptions()
884 if (args->vsiz <= 0) { in make_assumptions()
885 args->vsiz = VSIZ; in make_assumptions()
888 sprintf(TmpStr, N_ASSUME, args->vsiz); in make_assumptions()
894 args->stop_lba = args->vsiz - 1; in make_assumptions()
943 (args->vsiz > in make_assumptions()
944 0) ? (args->vsiz / args->htrsiz) : SEEKS; in make_assumptions()
1013 if ((args->vsiz < 0) || (args->ltrsiz < 1) || (args->htrsiz < 1)) { in check_conclusions()
1017 args->vsiz); in check_conclusions()
1026 if (args->vsiz < (args->stop_lba - args->start_lba + 1)) { in check_conclusions()
1030 if (args->vsiz < args->htrsiz) { in check_conclusions()
1031 pMsg(WARN, args, VSIZETS, args->vsiz, args->htrsiz); in check_conclusions()
1043 if ((args->start_blk > args->vsiz) in check_conclusions()
1046 (args->vsiz / args->htrsiz)); in check_conclusions()
1049 if ((args->stop_blk > args->vsiz) in check_conclusions()
1052 (args->vsiz / args->htrsiz)); in check_conclusions()
1055 if ((args->start_lba > args->vsiz) in check_conclusions()
1057 pMsg(WARN, args, STLBAGTLBA, args->start_lba, args->vsiz); in check_conclusions()
1060 if ((args->stop_lba > args->vsiz) in check_conclusions()
1062 pMsg(WARN, args, SLBAGTLBA, args->stop_lba, args->vsiz); in check_conclusions()