Home
last modified time | relevance | path

Searched refs:resched (Results 1 – 6 of 6) sorted by relevance

/kernel/trace/
Dtrace.h616 int resched; in ftrace_preempt_disable() local
618 resched = need_resched(); in ftrace_preempt_disable()
621 return resched; in ftrace_preempt_disable()
635 static inline void ftrace_preempt_enable(int resched) in ftrace_preempt_enable() argument
637 if (resched) in ftrace_preempt_enable()
Dtrace_sched_wakeup.c45 int resched; in wakeup_tracer_call() local
53 resched = ftrace_preempt_disable(); in wakeup_tracer_call()
83 ftrace_preempt_enable(resched); in wakeup_tracer_call()
Dtrace_stack.c113 int cpu, resched; in stack_trace_call() local
118 resched = ftrace_preempt_disable(); in stack_trace_call()
130 ftrace_preempt_enable(resched); in stack_trace_call()
Dring_buffer.c1287 int cpu, resched; in ring_buffer_lock_reserve() local
1296 resched = ftrace_preempt_disable(); in ring_buffer_lock_reserve()
1322 per_cpu(rb_need_resched, cpu) = resched; in ring_buffer_lock_reserve()
1327 ftrace_preempt_enable(resched); in ring_buffer_lock_reserve()
1401 int cpu, resched; in ring_buffer_write() local
1409 resched = ftrace_preempt_disable(); in ring_buffer_write()
1435 ftrace_preempt_enable(resched); in ring_buffer_write()
Dtrace.c1174 int cpu, resched; local
1181 resched = ftrace_preempt_disable();
1191 ftrace_preempt_enable(resched);
/kernel/
Dsched.c5803 int resched = need_resched() && system_state == SYSTEM_RUNNING; in cond_resched_lock() local
5806 if (spin_needbreak(lock) || resched) { in cond_resched_lock()
5808 if (resched && need_resched()) in cond_resched_lock()