Home
last modified time | relevance | path

Searched refs:loop_count (Results 1 – 15 of 15) sorted by relevance

/titanic_44/usr/src/uts/common/os/
H A Drwlock.c283 int loop_count = 0; in rw_enter_sleep() local
305 if (++loop_count == ncpus_online) { in rw_enter_sleep()
307 loop_count = 0; in rw_enter_sleep()
418 int loop_count = 0; in rw_exit_wakeup() local
450 if (++loop_count == ncpus_online) { in rw_exit_wakeup()
452 loop_count = 0; in rw_exit_wakeup()
541 int loop_count = 0; in rw_tryenter() local
554 if (++loop_count == ncpus_online) { in rw_tryenter()
556 loop_count = 0; in rw_tryenter()
H A Dmutex.c649 int loop_count = 0; in lock_set_spin() local
664 loop_count++; in lock_set_spin()
666 if (ncpus_online == loop_count) { in lock_set_spin()
668 loop_count = 0; in lock_set_spin()
683 int loop_count = 0; in lock_set_spl_spin() local
701 loop_count++; in lock_set_spl_spin()
707 if (ncpus_online == loop_count) { in lock_set_spl_spin()
709 loop_count = 0; in lock_set_spl_spin()
H A Dcpu.c1251 int loop_count; in cpu_offline() local
1353 again: for (loop_count = 0; (*bound_func)(cp, 0); loop_count++) { in cpu_offline()
1354 if (loop_count >= 5) { in cpu_offline()
H A Ddumpsubr.c1647 int loop_count = 0; in dumpsys_spinlock() local
1650 if (++loop_count >= ncpus) { in dumpsys_spinlock()
1652 loop_count = 0; in dumpsys_spinlock()
/titanic_44/usr/src/uts/common/io/sata/adapters/si3124/
H A Dsi3124.c2178 int slot, loop_count; in si_find_dev_signature() local
2227 loop_count = 0; in si_find_dev_signature()
2233 if (loop_count++ > SI_POLLRATE_SOFT_RESET) { in si_find_dev_signature()
2247 loop_count, slot_status); in si_find_dev_signature()
2898 int loop_count = 0; in si_initialize_controller() local
3001 loop_count = 0; in si_initialize_controller()
3017 if (loop_count++ > SI_POLLRATE_SSTATUS) { in si_initialize_controller()
3035 loop_count, in si_initialize_controller()
3053 loop_count = 0; in si_initialize_controller()
3058 if (loop_count++ > SI_POLLRATE_PORTREADY) { in si_initialize_controller()
[all …]
/titanic_44/usr/src/uts/common/io/sata/adapters/ahci/
H A Dahci.c4947 int slot, loop_count; in ahci_software_reset() local
4993 loop_count = 0; in ahci_software_reset()
4999 if (loop_count++ > 100) { in ahci_software_reset()
5077 loop_count = 0; in ahci_software_reset()
5085 if (loop_count++ > AHCI_POLLRATE_PORT_SOFTRESET) { in ahci_software_reset()
5088 "loop_count = %d", loop_count); in ahci_software_reset()
5098 loop_count, port_cmd_issue, slot); in ahci_software_reset()
5137 loop_count = 0; in ahci_software_reset()
5145 if (loop_count++ > AHCI_POLLRATE_PORT_SOFTRESET) { in ahci_software_reset()
5148 "loop_count = %d", loop_count); in ahci_software_reset()
[all …]
/titanic_44/usr/src/cmd/auditd/
H A Ddoorway.c1122 int loop_count = 0; in input() local
1157 call_counter, loop_count)); in input()
1162 call_counter, loop_count)); in input()
1165 loop_count++; in input()
/titanic_44/usr/src/uts/common/disp/
H A Dcpupart.c410 int loop_count; in cpupart_move_cpu() local
414 for (loop_count = 0; disp_bound_threads(cp, 0); loop_count++) { in cpupart_move_cpu()
415 if (loop_count >= 5) { in cpupart_move_cpu()
/titanic_44/usr/src/lib/libast/common/uwin/
H A Dcrypt.c691 register int ks_inc, loop_count; in des_cipher() local
735 loop_count = 8; in des_cipher()
769 } while (--loop_count != 0); in des_cipher()
/titanic_44/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_common.c434 int loop_count; in apic_cpu_send_SIPI() local
478 for (loop_count = apic_sipi_max_loop_count; loop_count; loop_count--) { in apic_cpu_send_SIPI()
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c1194 ssize_t nread, loop_count; in read_obj_data() local
1207 loop_count = 1; in read_obj_data()
1208 while (nread == (loop_count * BUFSIZ)) { in read_obj_data()
1211 loop_count++; in read_obj_data()
1213 buf1 = realloc(*buf, loop_count * BUFSIZ); in read_obj_data()
1220 *buf + ((loop_count - 1) * BUFSIZ), BUFSIZ); in read_obj_data()
/titanic_44/usr/src/uts/common/fs/udfs/
H A Dudf_alloc.c235 uint32_t loop_count, loop_begin, loop_end; in ud_alloc_space_bmap() local
281 loop_count = (loop_begin) ? 2 : 1; in ud_alloc_space_bmap()
282 while (loop_count--) { in ud_alloc_space_bmap()
362 if (loop_count) { in ud_alloc_space_bmap()
/titanic_44/usr/src/uts/common/fs/cachefs/
H A Dcachefs_dir.c922 int loop_count = 0; in cachefs_dir_fill_common() local
942 loop_count++; in cachefs_dir_fill_common()
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_menlo.h203 uint32_t loop_count; /* loop_count = 0 indicates loop forever */ member
/titanic_44/usr/src/uts/i86pc/vm/
H A Dvm_machdep.c3034 ulong_t loop_count = 0; in page_get_high_mfn() local
3039 for (; loop_count < mfn_count; loop_count++, last_mfn--) { in page_get_high_mfn()