Searched refs:loop (Results 1 – 8 of 8) 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()
839 int loop = 0; in rwsem_optimistic_spin() local889 loop = 0; in rwsem_optimistic_spin()899 else if (!(++loop & 0xf) && (sched_clock() > rspin_threshold)) { in rwsem_optimistic_spin()
1127 int loop; in gdbstub_exit() local1143 for (loop = 0; loop < 3; loop++) { in gdbstub_exit()1144 ch = buffer[loop]; in gdbstub_exit()
567 int i, loop = 0; in kfree_scale_thread() local592 } else if (loop % (kfree_loops / 4) == 0) { in kfree_scale_thread()613 } while (!torture_must_stop() && ++loop < kfree_loops); in kfree_scale_thread()
123 these readers to appear in the idle loop as well as on the
382 spinning in a loop looking for interruptions caused by424 loop with preemption, SoftIRQs and IRQs enabled, thus allowing all828 goes into an infinite loop (calling cond_resched() to let other tasks838 As it is a tight loop, it benchmarks as hot cache. That's fine because
1556 loop: in swsusp_free()1578 goto loop; in swsusp_free()
8276 unsigned int loop; member8577 env->loop++; in detach_tasks()8582 if (env->loop > env->loop_max && in detach_tasks()8587 if (env->loop > env->loop_break) { in detach_tasks()10741 if (env.loop < busiest->nr_running) in load_balance()10772 env.loop = 0; in load_balance()10804 env.loop = 0; in load_balance()