/illumos-gate/usr/src/common/util/ |
H A D | qsort.c | 118 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/cmd/avs/sdbc/ |
H A D | sd_diag.c | 69 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/uts/sun/io/ |
H A D | zs_common.c | 314 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 D | res_send.c | 433 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/uts/common/io/chxge/ |
H A D | sge.c | 279 int loops; local 287 loops = 0; 292 loops++; 293 } while (status && (loops < 1000));
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_nx.c | 1168 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/sun4u/io/pci/ |
H A D | pci_dma.c | 87 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/sdbc/ |
H A D | sd_tdaemon.c | 97 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/common/io/ntxn/ |
H A D | unm_nic_main.c | 399 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/common/avs/ns/sv/ |
H A D | sv.c | 1696 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/grub/grub-0.97/netboot/ |
H A D | ns83820.c | 624 int loops = 0; local 632 loops++; 650 dprintf(("done %s in %d loops\n", name, loops));
|
H A D | tg3.c | 175 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)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | sys-solaris.c | 1873 int loops; local 1883 loops = 0; 1885 if (++loops > 10)
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_if.c | 3587 uint_t loops; local 3610 for (loops = IF_INDEX_MAX; loops > 0; loops--) {
|