Lines Matching refs:loops

69 nsc_size_t  loops   = DEF_LOOP;  variable
174 loops = (nsc_size_t)strtoll(optarg, 0, 0); in parse_opts()
193 if (loops != 0) in parse_opts()
194 r_loops = loops; in parse_opts()
230 do_sdtest1(int fd, nsc_size_t loops, nsc_size_t filesize) in do_sdtest1() argument
236 for (i = 0; i < loops; i++) { in do_sdtest1()
272 do_sdtest2(int fd, nsc_size_t loops, nsc_size_t filesize, int h) in do_sdtest2() argument
279 for (i = 0; i < loops; i++) { in do_sdtest2()
310 do_sdtest3(int fd, nsc_size_t loops, nsc_size_t filesize, int h, nsc_fd_t *sdfd) in do_sdtest3() argument
317 seekpos = malloc(loops*sizeof (nsc_off_t)); in do_sdtest3()
325 for (i = 0; i < loops; i++) { in do_sdtest3()
339 for (i = 0; i < loops; i++) { in do_sdtest3()
361 do_sdtest4(int fd, nsc_size_t loops, nsc_size_t filesize) in do_sdtest4() argument
375 if ((loops > (filesize / fba_num_bufsize)) || (!loops)) in do_sdtest4()
376 loops = filesize / fba_num_bufsize; /* entire disk */ in do_sdtest4()
378 for (i = 0; i < loops; i++) { in do_sdtest4()
385 for (i = 0; i < loops; i++) { in do_sdtest4()
392 for (i = loops - 1; i + 1 > 0; i--) { in do_sdtest4()
399 for (i = loops - 1; i + 1 > 0; i--) { in do_sdtest4()
410 do_sdtest5(int fd, nsc_size_t loops, nsc_size_t filesize, int h) in do_sdtest5() argument
425 if ((loops > (filesize / fba_num_bufsize)) || (!loops)) in do_sdtest5()
426 loops = filesize / fba_num_bufsize; /* entire disk */ in do_sdtest5()
430 for (i = 0; i < loops; i++) { in do_sdtest5()
438 for (i = 0; i < loops; i++) { in do_sdtest5()
456 for (i = loops - 1; i + 1 > 0; i--) { in do_sdtest5()
464 for (i = loops - 1; i + 1 > 0; i--) { in do_sdtest5()
484 do_sdtest6(int fd, nsc_size_t loops, nsc_size_t filesize, int h) in do_sdtest6() argument
500 if ((loops > (filesize / fba_num_bufsize)) || (!loops)) in do_sdtest6()
501 loops = filesize / fba_num_bufsize; /* entire disk */ in do_sdtest6()
503 for (i = 0; i < loops; i++) { in do_sdtest6()
714 do_sdtest7(int fd, nsc_size_t loops, nsc_size_t filesize, int h, nsc_fd_t *sdfd) in do_sdtest7() argument
748 for (j = 0; j < loops; j++) { in do_sdtest7()
768 do_sdtest8(int fd, nsc_size_t loops, nsc_size_t filesize) in do_sdtest8() argument
775 for (i = 0; i < loops; i++) { in do_sdtest8()
803 do_sdtest9(int fd, nsc_size_t loops, nsc_size_t filesize, int h) in do_sdtest9() argument
820 if (loops == 0) in do_sdtest9()
821 loops = wrapval; /* entire disk */ in do_sdtest9()
823 for (i = 0; i < loops; i++) { in do_sdtest9()
837 do_sdtest10(int fd1, int fd2, nsc_size_t loops, nsc_size_t filesize1, in do_sdtest10() argument
853 if ((loops > (filesize / fba_num_bufsize)) || (!loops)) in do_sdtest10()
854 loops = filesize / fba_num_bufsize; in do_sdtest10()
857 for (i = 0; i < loops; i++) { in do_sdtest10()
873 for (i = 0; i < loops; i++) { in do_sdtest10()
915 do_sdtest11(int fd, nsc_size_t loops, nsc_size_t filesize, int h) in do_sdtest11() argument
938 if ((loops > filesize / fba_num_bufsize) || (!loops)) in do_sdtest11()
939 loops = filesize / fba_num_bufsize; /* entire disk */ in do_sdtest11()
941 for (i = 0; i < loops; i++) { in do_sdtest11()
967 do_sdtest12(int fd, nsc_size_t loops, nsc_size_t filesize, int h) in do_sdtest12() argument
980 if ((loops > filesize / fba_num_bufsize) || (!loops)) in do_sdtest12()
981 loops = filesize / fba_num_bufsize; /* entire disk */ in do_sdtest12()
983 for (i = 0; i < loops; i++) { in do_sdtest12()
1073 r = do_sdtest10(fd, fd2, loops, filesize, filesize2, h); in sd_diag_lintmain()
1127 r = do_sdtest4(fd, loops, filesize); in sd_diag_lintmain()
1130 r = do_sdtest5(fd, loops, filesize, h); in sd_diag_lintmain()
1133 r = do_sdtest6(fd, loops, filesize, h); in sd_diag_lintmain()
1142 r = do_sdtest9(fd, loops, filesize, h); in sd_diag_lintmain()
1145 r = do_sdtest11(fd, loops, filesize, h); in sd_diag_lintmain()
1148 r = do_sdtest12(fd, loops, filesize, h); in sd_diag_lintmain()