Home
last modified time | relevance | path

Searched refs:loop (Results 1 – 8 of 8) sorted by relevance

/kernel/locking/
Dqspinlock_paravirt.h267 pv_wait_early(struct pv_node *prev, int loop) in pv_wait_early() argument
269 if ((loop & PV_PREV_CHECK_MASK) != 0) in pv_wait_early()
297 int loop; in pv_wait_node() local
301 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() local
434 for (loop = SPIN_THRESHOLD; loop; loop--) { in pv_wait_head_or_lock()
Drwsem.c839 int loop = 0; in rwsem_optimistic_spin() local
889 loop = 0; in rwsem_optimistic_spin()
899 else if (!(++loop & 0xf) && (sched_clock() > rspin_threshold)) { in rwsem_optimistic_spin()
/kernel/debug/
Dgdbstub.c1127 int loop; in gdbstub_exit() local
1143 for (loop = 0; loop < 3; loop++) { in gdbstub_exit()
1144 ch = buffer[loop]; in gdbstub_exit()
/kernel/rcu/
Drcuscale.c567 int i, loop = 0; in kfree_scale_thread() local
592 } else if (loop % (kfree_loops / 4) == 0) { in kfree_scale_thread()
613 } while (!torture_must_stop() && ++loop < kfree_loops); in kfree_scale_thread()
DKconfig123 these readers to appear in the idle loop as well as on the
/kernel/trace/
DKconfig382 spinning in a loop looking for interruptions caused by
424 loop with preemption, SoftIRQs and IRQs enabled, thus allowing all
828 goes into an infinite loop (calling cond_resched() to let other tasks
838 As it is a tight loop, it benchmarks as hot cache. That's fine because
/kernel/power/
Dsnapshot.c1556 loop: in swsusp_free()
1578 goto loop; in swsusp_free()
/kernel/sched/
Dfair.c8276 unsigned int loop; member
8577 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()