Home
last modified time | relevance | path

Searched refs:need_resched (Results 1 – 25 of 88) sorted by relevance

1234

/linux-2.4.37.9/arch/ppc64/kernel/ !
Didle.c107 if ( !current->need_resched ) in idle_iSeries()
111 oldval = xchg(&current->need_resched, -1); in idle_iSeries()
113 while(current->need_resched == -1) { in idle_iSeries()
122 if (current->need_resched) { in idle_iSeries()
142 oldval = xchg(&current->need_resched, -1); in idle_default()
144 while(current->need_resched == -1) { in idle_default()
149 if (current->need_resched) { in idle_default()
174 oldval = xchg(&current->need_resched, -1); in idle_dedicated()
177 while(current->need_resched == -1) { in idle_dedicated()
198 oldval = xchg(&current->need_resched, 0); in idle_dedicated()
[all …]
/linux-2.4.37.9/arch/ppc/kernel/ !
Didle.c59 int oldval = xchg(&current->need_resched, -1); in idled()
62 while(current->need_resched == -1) in idled()
67 if (do_power_save && !current->need_resched) in idled()
70 if (current->need_resched) { in idled()
Didle_gen.c40 if (!current->need_resched) { in power_save()
/linux-2.4.37.9/drivers/char/ !
Dtipar.c79 # define need_resched() (current->need_resched) macro
130 if (need_resched()) schedule(); }
179 if (need_resched()) in put_ti_parallel()
219 if (need_resched()) in get_ti_parallel()
352 if (need_resched()) in tipar_read()
/linux-2.4.37.9/arch/x86_64/kernel/ !
Dprocess.c93 if (!current->need_resched) in default_idle()
115 oldval = xchg(&current->need_resched, -1); in poll_idle()
123 : :"m" (current->need_resched)); in poll_idle()
143 while (!current->need_resched) in cpu_idle()
163 oldval = xchg(&current->need_resched, -1); in mwait_idle()
166 __monitor((void *)&current->need_resched, 0, 0); in mwait_idle()
167 if (current->need_resched != -1) in mwait_idle()
170 } while (current->need_resched == -1); in mwait_idle()
/linux-2.4.37.9/kernel/ !
Dsched.c228 int need_resched; in reschedule_idle() local
235 need_resched = tsk->need_resched; in reschedule_idle()
236 tsk->need_resched = 1; in reschedule_idle()
237 if ((best_cpu != this_cpu) && !need_resched) in reschedule_idle()
301 tsk->need_resched = 1; in reschedule_idle()
314 tsk->need_resched = 1; in reschedule_idle()
594 prev->need_resched = 0; in schedule()
700 if (current->need_resched) in schedule()
877 p->need_resched = 1; in set_cpus_allowed()
995 current->need_resched = 1; in setscheduler()
[all …]
/linux-2.4.37.9/arch/x86_64/tools/ !
Doffset.c32 ENTRY(need_resched); in main()
36 ENTRY(need_resched); in main()
/linux-2.4.37.9/arch/i386/kernel/ !
Dprocess.c87 if (!current->need_resched) in default_idle()
109 oldval = xchg(&current->need_resched, -1); in poll_idle()
117 : :"m" (current->need_resched)); in poll_idle()
137 while (!current->need_resched) in cpu_idle()
/linux-2.4.37.9/arch/alpha/kernel/ !
Dcheck_asm.c21 (long)offsetof(struct task_struct, need_resched)); in main()
/linux-2.4.37.9/arch/s390/kernel/ !
Dasm-offsets.c27 offsetof(struct task_struct, need_resched),); in main()
/linux-2.4.37.9/arch/s390x/kernel/ !
Dasm-offsets.c27 offsetof(struct task_struct, need_resched),); in main()
/linux-2.4.37.9/arch/cris/kernel/ !
Dentryoffsets.c37 OF (LTASK_NEEDRESCHED, struct task_struct, need_resched)
/linux-2.4.37.9/arch/arm/tools/ !
Dgetconstants.c35 DEFN("TSK_NEED_RESCHED", OFF_TSK(need_resched)); in func()
/linux-2.4.37.9/arch/arm/kernel/ !
Dprocess.c76 if (!current->need_resched && !hlt_counter) in default_idle()
98 while (!current->need_resched) in cpu_idle()
Dentry-common.S40 teq r1, #0 @ need_resched || sigpending
63 teq r1, #0 @ need_resched => schedule()
/linux-2.4.37.9/include/linux/ !
Dsched.h295 volatile long need_resched; member
954 static inline int need_resched(void) in need_resched() function
956 return (unlikely(current->need_resched)); in need_resched()
962 if (need_resched()) in cond_resched()
/linux-2.4.37.9/arch/ia64/kernel/ !
Dprocess.c141 if (!current->need_resched) in default_idle()
161 if (!current->need_resched) in cpu_idle()
165 while (!current->need_resched) { in cpu_idle()
/linux-2.4.37.9/arch/mips64/kernel/ !
Dentry.S44 mfc0 t0, CP0_STATUS # need_resched and signals atomic test
/linux-2.4.37.9/include/linux/raid/ !
Dmd_compatible.h135 #define md_need_resched(tsk) ((tsk)->need_resched)
/linux-2.4.37.9/arch/sh/kernel/ !
Dprocess.c51 if (current->need_resched) in cpu_idle()
55 while (!current->need_resched) { in cpu_idle()
/linux-2.4.37.9/mm/ !
Dvmscan.c354 if (unlikely(current->need_resched)) { in swap_out()
399 if (unlikely(current->need_resched)) { in shrink_cache()
732 if (unlikely(current->need_resched)) in kswapd_balance_pgdat()
/linux-2.4.37.9/fs/jbd/ !
Dcommit.c272 if (bufs || current->need_resched) { in journal_commit_transaction()
278 if (current->need_resched) in journal_commit_transaction()
511 if (current->need_resched) in journal_commit_transaction()
/linux-2.4.37.9/include/linux/mtd/ !
Dcompatmac.h503 #define need_resched() (current->need_resched) macro
504 #define cond_resched() do { if need_resched() schedule(); } while(0)
/linux-2.4.37.9/arch/parisc/kernel/ !
Dprocess.c72 while (!current->need_resched) { in cpu_idle()
/linux-2.4.37.9/fs/jffs2/ !
Dbackground.c128 if (current->need_resched) in jffs2_garbage_collect_thread()

1234