Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dkernel.h102 # define might_resched() __cond_resched() macro
108 DECLARE_STATIC_CALL(might_resched, __cond_resched);
110 static __always_inline void might_resched(void) in might_resched() function
112 static_call_mod(might_resched)(); in might_resched() local
118 # define might_resched() dynamic_might_resched() macro
122 # define might_resched() do { } while (0) macro
145 do { __might_sleep(__FILE__, __LINE__); might_resched(); } while (0)
187 # define might_sleep() do { might_resched(); } while (0)
/linux-6.6.21/kernel/sched/
Dcore.c8595 DEFINE_STATIC_CALL_RET0(might_resched, __cond_resched);
8596 EXPORT_STATIC_CALL_TRAMP(might_resched);
8761 preempt_dynamic_enable(might_resched); in __sched_dynamic_update()
8770 preempt_dynamic_disable(might_resched); in __sched_dynamic_update()
8781 preempt_dynamic_enable(might_resched); in __sched_dynamic_update()
8792 preempt_dynamic_disable(might_resched); in __sched_dynamic_update()