Home
last modified time | relevance | path

Searched refs:loop (Results 1 – 6 of 6) 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.c796 int loop = 0; in rwsem_optimistic_spin() local
844 loop = 0; in rwsem_optimistic_spin()
854 else if (!(++loop & 0xf) && (sched_clock() > rspin_threshold)) { in rwsem_optimistic_spin()
/kernel/debug/
Dgdbstub.c1118 int loop; in gdbstub_exit() local
1134 for (loop = 0; loop < 3; loop++) { in gdbstub_exit()
1135 ch = buffer[loop]; in gdbstub_exit()
/kernel/trace/
DKconfig253 spinning in a loop looking for interruptions caused by
680 goes into an infinite loop (calling cond_sched() to let other tasks
690 As it is a tight loop, it benchmarks as hot cache. That's fine because
/kernel/power/
Dsnapshot.c1468 loop: in swsusp_free()
1490 goto loop; in swsusp_free()
/kernel/sched/
Dfair.c7364 unsigned int loop; member
7628 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()