Home
last modified time | relevance | path

Searched refs:loops (Results 1 – 25 of 34) sorted by relevance

12

/titanic_44/usr/src/cmd/avs/sdbc/
H A Dsd_diag.c69 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()
[all …]
/titanic_44/usr/src/common/util/
H A Dqsort.c118 size_t loops; in qsort() local
156 loops = 1; in qsort()
160 loops = 1; in qsort()
164 loops = rsiz / sizeof (int); in qsort()
167 loops = rsiz; in qsort()
215 (*swapf)(b_par, b_par + rsiz, loops); in qsort()
334 (*swapf)(b_dup, b_par, loops); in qsort()
353 (*swapf)(t_dup, t_par, loops); in qsort()
365 (*swapf)(b_par, t_par, loops); in qsort()
387 (*swapf)(m2, t_par, loops); in qsort()
[all …]
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_nx.c1168 int ret, loops = 0; in ql_8021_rom_fast_read() local
1170 while ((ql_8021_rom_lock(ha) != 0) && (loops < 50000)) { in ql_8021_rom_fast_read()
1172 loops++; in ql_8021_rom_fast_read()
1174 if (loops >= 50000) { in ql_8021_rom_fast_read()
1255 int ret, loops = 0; in ql_8021_rom_write() local
1257 while ((ql_8021_rom_lock(ha) != 0) && (loops < 50000)) { in ql_8021_rom_write()
1259 loops++; in ql_8021_rom_write()
1261 if (loops >= 50000) { in ql_8021_rom_write()
1276 int ret, loops = 0; in ql_8021_rom_erase() local
1278 while ((ql_8021_rom_lock(ha) != 0) && (loops < 50000)) { in ql_8021_rom_erase()
[all …]
/titanic_44/usr/src/uts/sun/io/
H A Dzs_common.c314 int loops, i; in zsattach() local
425 for (loops = 0; loops++ <= 500; DELAY(1000)) { in zsattach()
982 int loops; in zs_program() local
1004 for (loops = 1000; loops > 0; --loops) { in zs_program()
/titanic_44/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);
657 _sd_test_rwloop_seq(int i, int loops, int seed, int forw) in _sd_test_rwloop_seq() argument
695 for (j = 0; j < loops; j++) { in _sd_test_rwloop_seq()
732 for (j = 0; j < loops; j++) { in _sd_test_rwloop_seq()
989 int loops; in _sd_direct_test() local
1034 loops = ((nsc_size_t)loop > (filesize / (60 * 1024))) ? in _sd_direct_test()
1044 for (i = 0; i < loops; i++) { in _sd_direct_test()
/titanic_44/usr/src/grub/grub-0.97/
H A Dconfigure.ac98 STAGE2_CFLAGS="-O2 -fno-strength-reduce -fno-unroll-loops"
134 # Probably it is sufficient to only check for -falign-loops.
135 AC_CACHE_CHECK([whether -falign-loops works], [falign_loop_flag], [
137 CPPFLAGS="-falign-loops=1"
144 CPPFLAGS="$CPPFLAGS -falign-jumps=1 -falign-loops=1 -falign-functions=1"
146 CPPFLAGS="$CPPFLAGS -malign-jumps=1 -malign-loops=1 -malign-functions=1"
H A DMakefile.solaris.defs77 OPTFLAGS = -falign-jumps=1 -falign-loops=1 -falign-functions=1
H A Dconfig.status.solaris533 …sing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-function…
/titanic_44/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c430 int done = 0, loops = 0; in res_nsend() local
448 if (++loops < 42) /*doug adams*/ in res_nsend()
509 int done = 0, loops = 0; in res_nsend() local
526 if (++loops < 42) /*doug adams*/ in res_nsend()
/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Dns83820.c624 int loops = 0; in ns83820_run_bist() local
632 loops++; in ns83820_run_bist()
650 dprintf(("done %s in %d loops\n", name, loops)); in ns83820_run_bist()
H A Dtg3.c175 int loops, ret; in tg3_readphy() local
189 loops = PHY_BUSY_LOOPS; in tg3_readphy()
190 while (loops-- > 0) { in tg3_readphy()
202 if (loops > 0) { in tg3_readphy()
215 int loops, ret; in tg3_writephy() local
228 loops = PHY_BUSY_LOOPS; in tg3_writephy()
229 while (loops-- > 0) { in tg3_writephy()
240 if (loops > 0) in tg3_writephy()
/titanic_44/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c399 uint32_t state = 0, loops = 0, tempout; in init_firmware() local
409 while (state != PHAN_INITIALIZE_COMPLETE && loops < 200000) { in init_firmware()
416 loops++; in init_firmware()
419 if (loops >= 200000) { in init_firmware()
451 int loops = 0, err = 0; in receive_peg_ready() local
458 while ((state != PHAN_PEG_RCV_INITIALIZED) && (loops < 20000)) { in receive_peg_ready()
467 loops++; in receive_peg_ready()
470 if (loops >= 20000) { in receive_peg_ready()
/titanic_44/usr/src/lib/efcode/fcode_test/
H A Dloop.fth71 ." Nested loops: "
/titanic_44/usr/src/lib/libc/sparcv9/gen/
H A Dstrncpy.s266 nop ! pad to align loops below
267 nop ! pad to align loops below
/titanic_44/usr/src/uts/intel/amd64/ml/
H A Damd64.il163 * instruction in these loops, the P4 Xeon processor may suffer a severe
/titanic_44/usr/src/uts/intel/ia32/ml/
H A Dia32.il159 * instruction in these loops, the P4 Xeon processor may suffer a severe
/titanic_44/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c87 uint64_t loops = 0; in pci_dma_sync_flag_wait() local
116 for (; gethrtime() - start_time < pci_sync_buf_timeout; loops++) in pci_dma_sync_flag_wait()
124 loops, gethrtime() - start_time, stack_buf[0]); in pci_dma_sync_flag_wait()
131 mp, sync_flag_pa, loops); in pci_dma_sync_flag_wait()
/titanic_44/usr/src/uts/common/avs/ns/sv/
H A Dsv.c1696 int loops = secs / ticks; in svclose() local
1699 while (sv_ndevices <= 0 && sv_tset != NULL && loops > 0) { in svclose()
1709 loops--; in svclose()
1714 if (loops <= 0) { in svclose()
/titanic_44/usr/src/uts/common/io/chxge/
H A Dsge.c279 int loops; in sge_stop() local
287 loops = 0; in sge_stop()
292 loops++; in sge_stop()
293 } while (status && (loops < 1000)); in sge_stop()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c1873 int loops; in get_loop_output() local
1883 loops = 0; in get_loop_output()
1885 if (++loops > 10) in get_loop_output()
/titanic_44/usr/src/uts/sun4v/cpu/
H A Dgeneric_copy.s987 ! Housekeeping for copy loops. Uses same idea as in the byte for
1003 ! Housekeeping for copy loops. Uses same idea as in the byte
/titanic_44/usr/src/lib/libshell/common/
H A DREADME65 OPTIMIZE on Optimize loop invariants for with for and while loops.
H A DRELEASE954 working within for and while loops has been fixed.
1442 loops has been fixed.
1465 01-09-26 Yet another bug in the optimization of for loops related to
1496 01-09-13 Another bug in the optimization of for loops related to subshells
1510 01-08-09 Another bug in the optimization of for loops in ksh93l caused
1512 contained for loops has been fixed.
1523 01-07-16 A bug in the optimization of for loops in ksh93l caused
1590 for while and until loops.
/titanic_44/usr/src/uts/sun4u/cpu/
H A Dspitfire_copy.s2370 ! 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
/titanic_44/usr/src/cmd/ssh/
H A DREADME.altprivsep585 modifies the usual event loops for SSHv2

12