Searched refs:resched (Results 1 – 6 of 6) sorted by relevance
616 int resched; in ftrace_preempt_disable() local618 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() argument637 if (resched) in ftrace_preempt_enable()
45 int resched; in wakeup_tracer_call() local53 resched = ftrace_preempt_disable(); in wakeup_tracer_call()83 ftrace_preempt_enable(resched); in wakeup_tracer_call()
113 int cpu, resched; in stack_trace_call() local118 resched = ftrace_preempt_disable(); in stack_trace_call()130 ftrace_preempt_enable(resched); in stack_trace_call()
1287 int cpu, resched; in ring_buffer_lock_reserve() local1296 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() local1409 resched = ftrace_preempt_disable(); in ring_buffer_write()1435 ftrace_preempt_enable(resched); in ring_buffer_write()
1174 int cpu, resched; local1181 resched = ftrace_preempt_disable();1191 ftrace_preempt_enable(resched);
5803 int resched = need_resched() && system_state == SYSTEM_RUNNING; in cond_resched_lock() local5806 if (spin_needbreak(lock) || resched) { in cond_resched_lock()5808 if (resched && need_resched()) in cond_resched_lock()