Searched refs:loop (Results 1 – 6 of 6) sorted by relevance
267 pv_wait_early(struct pv_node *prev, int loop) in pv_wait_early() argument269 if ((loop & PV_PREV_CHECK_MASK) != 0) in pv_wait_early()297 int loop; in pv_wait_node() local301 for (wait_early = false, loop = SPIN_THRESHOLD; loop; loop--) { in pv_wait_node()304 if (pv_wait_early(pp, loop)) { in pv_wait_node()408 int loop; in pv_wait_head_or_lock() local434 for (loop = SPIN_THRESHOLD; loop; loop--) { in pv_wait_head_or_lock()
796 int loop = 0; in rwsem_optimistic_spin() local844 loop = 0; in rwsem_optimistic_spin()854 else if (!(++loop & 0xf) && (sched_clock() > rspin_threshold)) { in rwsem_optimistic_spin()
1118 int loop; in gdbstub_exit() local1134 for (loop = 0; loop < 3; loop++) { in gdbstub_exit()1135 ch = buffer[loop]; in gdbstub_exit()
253 spinning in a loop looking for interruptions caused by680 goes into an infinite loop (calling cond_sched() to let other tasks690 As it is a tight loop, it benchmarks as hot cache. That's fine because
1468 loop: in swsusp_free()1490 goto loop; in swsusp_free()
7364 unsigned int loop; member7628 env->loop++; in detach_tasks()7630 if (env->loop > env->loop_max) in detach_tasks()7634 if (env->loop > env->loop_break) { in detach_tasks()9260 env.loop = 0; in load_balance()9292 env.loop = 0; in load_balance()