Home
last modified time | relevance | path

Searched refs:might_resched (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/include/linux/
Dkernel.h100 # define might_resched() __cond_resched() macro
106 DECLARE_STATIC_CALL(might_resched, __cond_resched);
108 static __always_inline void might_resched(void) in might_resched() function
110 static_call_mod(might_resched)(); in might_resched() local
116 # define might_resched() dynamic_might_resched() macro
120 # define might_resched() do { } while (0) macro
143 do { __might_sleep(__FILE__, __LINE__); might_resched(); } while (0)
185 # define might_sleep() do { might_resched(); } while (0)
/linux-6.1.9/kernel/sched/
Dcore.c8387 DEFINE_STATIC_CALL_RET0(might_resched, __cond_resched);
8388 EXPORT_STATIC_CALL_TRAMP(might_resched);
8548 preempt_dynamic_enable(might_resched); in sched_dynamic_update()
8556 preempt_dynamic_disable(might_resched); in sched_dynamic_update()
8565 preempt_dynamic_enable(might_resched); in sched_dynamic_update()
8574 preempt_dynamic_disable(might_resched); in sched_dynamic_update()