Home
last modified time | relevance | path

Searched refs:TIF_PATCH_PENDING (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/kernel/livepatch/
H A Dtransition.c111 WARN_ON_ONCE(test_tsk_thread_flag(task, TIF_PATCH_PENDING)); in klp_complete_transition()
118 WARN_ON_ONCE(test_tsk_thread_flag(task, TIF_PATCH_PENDING)); in klp_complete_transition()
175 * 1) Enforce the order of the TIF_PATCH_PENDING read and the in klp_update_patch_state()
179 * 2) Enforce the order of the TIF_PATCH_PENDING read and a future read in klp_update_patch_state()
183 if (test_and_clear_tsk_thread_flag(task, TIF_PATCH_PENDING)) in klp_update_patch_state()
322 clear_tsk_thread_flag(task, TIF_PATCH_PENDING); in klp_try_switch_task()
340 * Sends a fake signal to all non-kthread tasks with TIF_PATCH_PENDING set.
341 * Kthreads with TIF_PATCH_PENDING set are woken up.
356 * There is a small race here. We could see TIF_PATCH_PENDING in klp_send_signals()
423 clear_tsk_thread_flag(task, TIF_PATCH_PENDING); in klp_try_complete_transition()
603 clear_tsk_thread_flag(idle_task(cpu), TIF_PATCH_PENDING); klp_reverse_transition() local
[all...]
/kernel/linux/linux-6.6/kernel/livepatch/
H A Dtransition.c132 WARN_ON_ONCE(test_tsk_thread_flag(task, TIF_PATCH_PENDING)); in klp_complete_transition()
139 WARN_ON_ONCE(test_tsk_thread_flag(task, TIF_PATCH_PENDING)); in klp_complete_transition()
196 * 1) Enforce the order of the TIF_PATCH_PENDING read and the in klp_update_patch_state()
200 * 2) Enforce the order of the TIF_PATCH_PENDING read and a future read in klp_update_patch_state()
204 if (test_and_clear_tsk_thread_flag(task, TIF_PATCH_PENDING)) in klp_update_patch_state()
304 clear_tsk_thread_flag(task, TIF_PATCH_PENDING); in klp_check_and_switch_task()
390 * Enforce the order of the TIF_PATCH_PENDING read above and the in __klp_sched_try_switch()
405 * Sends a fake signal to all non-kthread tasks with TIF_PATCH_PENDING set.
406 * Kthreads with TIF_PATCH_PENDING set are woken up.
421 * There is a small race here. We could see TIF_PATCH_PENDING in klp_send_signals()
669 clear_tsk_thread_flag(idle_task(cpu), TIF_PATCH_PENDING); klp_reverse_transition() local
[all...]
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dthread_info.h66 #define TIF_PATCH_PENDING 5 /* pending live patching update */ macro
91 #define _TIF_PATCH_PENDING BIT(TIF_PATCH_PENDING)
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dthread_info.h69 #define TIF_PATCH_PENDING 5 /* pending live patching update */ macro
94 #define _TIF_PATCH_PENDING BIT(TIF_PATCH_PENDING)
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dthread_info.h102 #define TIF_PATCH_PENDING 6 /* pending live patching update */ macro
129 #define _TIF_PATCH_PENDING (1<<TIF_PATCH_PENDING)
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dthread_info.h90 #define TIF_PATCH_PENDING 13 /* pending live patching update */ macro
120 #define _TIF_PATCH_PENDING (1 << TIF_PATCH_PENDING)
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dthread_info.h103 #define TIF_PATCH_PENDING 6 /* pending live patching update */ macro
129 #define _TIF_PATCH_PENDING (1<<TIF_PATCH_PENDING)
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dthread_info.h90 #define TIF_PATCH_PENDING 13 /* pending live patching update */ macro
113 #define _TIF_PATCH_PENDING (1 << TIF_PATCH_PENDING)
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dthread_info.h90 #define TIF_PATCH_PENDING 23 /* pending live patching update */ macro
/kernel/linux/linux-5.10/include/linux/
H A Dlivepatch.h207 return test_tsk_thread_flag(task, TIF_PATCH_PENDING); in klp_patch_pending()
/kernel/linux/linux-6.6/include/linux/
H A Dlivepatch.h206 return test_tsk_thread_flag(task, TIF_PATCH_PENDING); in klp_patch_pending()

Completed in 6 milliseconds