Searched refs:loops (Results 1 - 19 of 19) sorted by relevance

/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsd_diag.c69 nsc_size_t loops = DEF_LOOP; variable
111 "sd_diag [-R] [-b <bufsize>] [-d <datasize>] [-l <loops>] [-r <readers>]\n");
134 (void) printf(" <loops> is count of reads/writes,\n");
135 (void) printf(" loops = 0 tests entire datasize disk");
137 (void) printf(" loops = 0 performs %d I/Os for the random "
141 (void) printf(" [ defaults: bufsize = %d bytes, loops = %d,",
174 loops = (nsc_size_t)strtoll(optarg, 0, 0);
193 if (loops != 0)
194 r_loops = loops;
230 do_sdtest1(int fd, nsc_size_t loops, nsc_size_ argument
272 do_sdtest2(int fd, nsc_size_t loops, nsc_size_t filesize, int h) argument
310 do_sdtest3(int fd, nsc_size_t loops, nsc_size_t filesize, int h, nsc_fd_t *sdfd) argument
361 do_sdtest4(int fd, nsc_size_t loops, nsc_size_t filesize) argument
410 do_sdtest5(int fd, nsc_size_t loops, nsc_size_t filesize, int h) argument
484 do_sdtest6(int fd, nsc_size_t loops, nsc_size_t filesize, int h) argument
714 do_sdtest7(int fd, nsc_size_t loops, nsc_size_t filesize, int h, nsc_fd_t *sdfd) argument
768 do_sdtest8(int fd, nsc_size_t loops, nsc_size_t filesize) argument
803 do_sdtest9(int fd, nsc_size_t loops, nsc_size_t filesize, int h) argument
837 do_sdtest10(int fd1, int fd2, nsc_size_t loops, nsc_size_t filesize1, nsc_size_t filesize2, int h) argument
915 do_sdtest11(int fd, nsc_size_t loops, nsc_size_t filesize, int h) argument
967 do_sdtest12(int fd, nsc_size_t loops, nsc_size_t filesize, int h) argument
[all...]
/illumos-gate/usr/src/common/util/
H A Dqsort.c118 size_t loops; local
151 * swapi and swapb will also require the variable loops to be set
156 loops = 1;
160 loops = 1;
164 loops = rsiz / sizeof (int);
167 loops = rsiz;
215 (*swapf)(b_par, b_par + rsiz, loops);
334 (*swapf)(b_dup, b_par, loops);
353 (*swapf)(t_dup, t_par, loops);
365 (*swapf)(b_par, t_par, loops);
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_nx.c1168 int ret, loops = 0; local
1170 while ((ql_8021_rom_lock(ha) != 0) && (loops < 50000)) {
1172 loops++;
1174 if (loops >= 50000) {
1255 int ret, loops = 0; local
1257 while ((ql_8021_rom_lock(ha) != 0) && (loops < 50000)) {
1259 loops++;
1261 if (loops >= 50000) {
1276 int ret, loops = 0; local
1278 while ((ql_8021_rom_lock(ha) != 0) && (loops < 5000
1297 int ret = QL_SUCCESS, loops = 0; local
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_tdaemon.c97 static void _sd_test_rwloop_seq(int i, int loops, int seed, int forw);
647 * _sd_test_rwloop_seq(i,loops, seed, forw):
657 _sd_test_rwloop_seq(int i, int loops, int seed, int forw) argument
695 for (j = 0; j < loops; j++) {
732 for (j = 0; j < loops; j++) {
989 int loops; local
1034 loops = ((nsc_size_t)loop > (filesize / (60 * 1024))) ?
1038 cmn_err(CE_CONT, "!Test 100: %s file %d cd %d loops %x seed\n",
1044 for (i = 0; i < loops; i++) {
/illumos-gate/usr/src/uts/sun/io/
H A Dzs_common.c314 int loops, i; local
425 for (loops = 0; loops++ <= 500; DELAY(1000)) {
982 int loops; local
1004 for (loops = 1000; loops > 0; --loops) {
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c433 int done = 0, loops = 0; local
451 if (++loops < 42) /*doug adams*/
512 int done = 0, loops = 0; local
529 if (++loops < 42) /*doug adams*/
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dstrncpy.s98 sub %o2, 8, %o2 ! adjust for dest pre-incr in cpy loops
212 nop ! pad to align loops below
213 nop ! pad to align loops below
266 nop ! pad to align loops below
267 nop ! pad to align loops below
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dtg3.c175 int loops, ret; local
189 loops = PHY_BUSY_LOOPS;
190 while (loops-- > 0) {
202 if (loops > 0) {
215 int loops, ret; local
228 loops = PHY_BUSY_LOOPS;
229 while (loops-- > 0) {
240 if (loops > 0)
H A Dns83820.c624 int loops = 0; local
632 loops++;
650 dprintf(("done %s in %d loops\n", name, loops));
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c399 uint32_t state = 0, loops = 0, tempout; local
409 while (state != PHAN_INITIALIZE_COMPLETE && loops < 200000) {
416 loops++;
419 if (loops >= 200000) {
451 int loops = 0, err = 0; local
458 while ((state != PHAN_PEG_RCV_INITIALIZED) && (loops < 20000)) {
467 loops++;
470 if (loops >= 20000) {
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c87 uint64_t loops = 0; local
116 for (; gethrtime() - start_time < pci_sync_buf_timeout; loops++)
123 DEBUG3(DBG_SC|DBG_CONT, 0, "flag wait loops=%lu ticks=%lu status=%x\n",
124 loops, gethrtime() - start_time, stack_buf[0]);
131 mp, sync_flag_pa, loops);
/illumos-gate/usr/src/uts/common/avs/ns/sv/
H A Dsv.c1696 int loops = secs / ticks; local
1699 while (sv_ndevices <= 0 && sv_tset != NULL && loops > 0) {
1709 loops--;
1714 if (loops <= 0) {
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dsge.c279 int loops; local
287 loops = 0;
292 loops++;
293 } while (status && (loops < 1000));
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c1873 int loops; local
1883 loops = 0;
1885 if (++loops > 10)
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dgeneric_copy.s714 ! Housekeeping for copy loops. Uses same idea as in the byte for
987 ! Housekeeping for copy loops. Uses same idea as in the byte for
1003 ! Housekeeping for copy loops. Uses same idea as in the byte
H A Dniagara_copy.s793 * boundaries. Use unrolled loops for better performance.
2859 * via the copy loops rather than block store/quad load instructions.
3176 * boundaries. Use unrolled loops for better performance.
4557 ! Housekeeping for copy loops. Uses same idea as in the byte for
5368 * boundaries. Use unrolled loops for better performance.
6727 ! Housekeeping for copy loops. Uses same idea as in the byte for
6757 ! Housekeeping for copy loops. Uses same idea as in the byte
6790 ! Housekeeping for copy loops. Uses same idea as in the byte
/illumos-gate/usr/src/grub/grub-0.97/
H A Dconfig.status.solaris533 s,@CPPFLAGS@, -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef,;t t
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dspitfire_copy.s2077 * via the copy loops rather than VIS.
2113 * copy but decide to punt and return to the copy loops. There is
2370 ! Housekeeping for copy loops. Uses same idea as in the byte for
3600 ! Housekeeping for copy loops. Uses same idea as in the byte for
3632 ! Housekeeping for copy loops. Uses same idea as in the byte
3665 ! Housekeeping for copy loops. Uses same idea as in the byte
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_if.c3587 uint_t loops; local
3610 for (loops = IF_INDEX_MAX; loops > 0; loops--) {

Completed in 184 milliseconds