Lines Matching refs:VSIZ
431 args->vsiz = my_strtofft(optarg);
433 args->vsiz <<= 10;
435 args->vsiz *= 1000;
437 args->vsiz <<= 20;
439 args->vsiz *= 1000000;
441 args->vsiz <<= 30;
443 args->vsiz *= 1000000000;
865 /* if vsiz is still not set, try and get it from the file */
866 if ((args->vsiz <= 0) && (args->flags & CLD_FLG_FILE)) {
868 args->vsiz = get_file_size(args->device);
871 /* if vsiz is still not set, try and get it from the device */
872 if ((args->vsiz <= 0) && !(args->flags & CLD_FLG_FILE)) {
873 args->vsiz = get_vsiz(args->device);
875 /* if vsiz is still not set, set based on given range */
876 if ((args->vsiz <= 0)
879 args->vsiz = args->stop_lba + 1;
881 args->vsiz = args->start_lba + 1;
883 /* if vsiz is still not set, then set it to the default size */
884 if (args->vsiz <= 0) {
885 args->vsiz = VSIZ;
888 sprintf(TmpStr, N_ASSUME, args->vsiz);
894 args->stop_lba = args->vsiz - 1;
941 /* if vsiz is available, calculated seeks are in terms of the largest transfer size */
943 (args->vsiz >
944 0) ? (args->vsiz / args->htrsiz) : SEEKS;
1013 if ((args->vsiz < 0) || (args->ltrsiz < 1) || (args->htrsiz < 1)) {
1017 args->vsiz);
1026 if (args->vsiz < (args->stop_lba - args->start_lba + 1)) {
1030 if (args->vsiz < args->htrsiz) {
1031 pMsg(WARN, args, VSIZETS, args->vsiz, args->htrsiz);
1043 if ((args->start_blk > args->vsiz)
1046 (args->vsiz / args->htrsiz));
1049 if ((args->stop_blk > args->vsiz)
1052 (args->vsiz / args->htrsiz));
1055 if ((args->start_lba > args->vsiz)
1057 pMsg(WARN, args, STLBAGTLBA, args->start_lba, args->vsiz);
1060 if ((args->stop_lba > args->vsiz)
1062 pMsg(WARN, args, SLBAGTLBA, args->stop_lba, args->vsiz);