Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/common/util/
H A Dqsort.c139 size_t loops; in qsort_r() local
177 loops = 1; in qsort_r()
181 loops = 1; in qsort_r()
185 loops = rsiz / sizeof (int); in qsort_r()
188 loops = rsiz; in qsort_r()
389 (*swapf)(b_par, t_par, loops); in qsort_r()
411 (*swapf)(m2, t_par, loops); in qsort_r()
414 (*swapf)(m2, b_par, loops); in qsort_r()
424 (*swapf)(m2, b_par, loops); in qsort_r()
440 (*swapf)(b_dup, b_par, loops); in qsort_r()
[all …]
/illumos-gate/usr/src/test/bhyve-tests/tests/kdev/
H A Dvlapic_freq_periodic.c40 check_reading(reading_t before, reading_t after, uint_t divisor, uint_t loops, in check_reading() argument
60 loops * LAPIC_TARGET_TICKS + before.value - after.value; in check_reading()
61 const uint32_t tick_target = loops * LAPIC_TARGET_TICKS; in check_reading()
97 run_test(struct vcpu *vcpu, uint_t divisor, uint_t loops, in run_test() argument
123 ventry_fulfill_inout(vexit, ventry, loops); in run_test()
139 loops, margin_ticks, margin_ppm)) { in run_test()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_nx.c1171 int ret, loops = 0; in ql_8021_rom_fast_read() local
1175 loops++; in ql_8021_rom_fast_read()
1177 if (loops >= 50000) { in ql_8021_rom_fast_read()
1258 int ret, loops = 0; in ql_8021_rom_write() local
1262 loops++; in ql_8021_rom_write()
1264 if (loops >= 50000) { in ql_8021_rom_write()
1279 int ret, loops = 0; in ql_8021_rom_erase() local
1283 loops++; in ql_8021_rom_erase()
1285 if (loops >= 50000) { in ql_8021_rom_erase()
1304 loops++; in ql_8021_rom_wrsr()
[all …]
/illumos-gate/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.defs82 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…
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c428 int done = 0, loops = 0; in res_nsend() local
446 if (++loops < 42) /*doug adams*/ in res_nsend()
507 int done = 0, loops = 0; in res_nsend() local
524 if (++loops < 42) /*doug adams*/ in res_nsend()
/illumos-gate/usr/src/tools/smatch/src/Documentation/
H A Ddata-structures.txt7 … expression, which primarily includes control flow statements such as if, loops, switch/case, and …
13 Also note that all loops get turned into a single "iterator" statement.
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dstrncpy.S266 nop ! pad to align loops below
267 nop ! pad to align loops below
/illumos-gate/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()
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/
H A Dfixup_kernel.sh177 /* Smatch sucks at loops */
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dsge.c278 int loops; in sge_stop() local
286 loops = 0; in sge_stop()
291 loops++; in sge_stop()
292 } while (status && (loops < 1000)); in sge_stop()
/illumos-gate/usr/src/boot/forth/
H A Dcheck-password.4th44 \ This function blocks program flow (loops forever) until a key is pressed.
H A Dmenu.4th577 \ This function blocks program flow (loops forever) until a key is pressed.
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c1814 int loops; in get_loop_output() local
1824 loops = 0; in get_loop_output()
1826 if (++loops > 10) in get_loop_output()
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dgeneric_copy.S905 ! Housekeeping for copy loops. Uses same idea as in the byte for
921 ! Housekeeping for copy loops. Uses same idea as in the byte
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/
H A DREADME65 OPTIMIZE on Optimize loop invariants for with for and while loops.
H A DRELEASE342 and while loops created interactively generate completion messages.
1860 working within for and while loops has been fixed.
2348 loops has been fixed.
2371 01-09-26 Yet another bug in the optimization of for loops related to
2402 01-09-13 Another bug in the optimization of for loops related to subshells
2416 01-08-09 Another bug in the optimization of for loops in ksh93l caused
2418 contained for loops has been fixed.
2429 01-07-16 A bug in the optimization of for loops in ksh93l caused
2496 for while and until loops.
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dspitfire_copy.S2319 ! Housekeeping for copy loops. Uses same idea as in the byte for
3548 ! Housekeeping for copy loops. Uses same idea as in the byte
3581 ! Housekeeping for copy loops. Uses same idea as in the byte
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A DRELEASE418 04-01-11 regress.sh: output label#count for tests in loops
721 mamake: eliminate loops from scan order
/illumos-gate/usr/src/cmd/vi/port/
H A Dex.news150 statements does not generate core dump/infinite loops
174 28.*":n +command" no longer infinite loops on 3b2's.

12