Home
last modified time | relevance | path

Searched refs:saved_preempt_count (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/arch/x86/include/asm/
Dpreempt.h34 task_thread_info(p)->saved_preempt_count = PREEMPT_DISABLED; \
38 task_thread_info(p)->saved_preempt_count = PREEMPT_ENABLED; \
Dthread_info.h57 int saved_preempt_count; member
69 .saved_preempt_count = INIT_PREEMPT_COUNT, \
/linux-4.1.27/arch/x86/kernel/
Dprocess_32.c285 task_thread_info(prev_p)->saved_preempt_count = this_cpu_read(__preempt_count); in __switch_to()
286 this_cpu_write(__preempt_count, task_thread_info(next_p)->saved_preempt_count); in __switch_to()
Dprocess_64.c407 task_thread_info(prev_p)->saved_preempt_count = this_cpu_read(__preempt_count); in __switch_to()
408 this_cpu_write(__preempt_count, task_thread_info(next_p)->saved_preempt_count); in __switch_to()
/linux-4.1.27/lib/
Dlocking-selftest.c972 unsigned long saved_preempt_count = preempt_count(); in dotest() local
1005 preempt_count_set(saved_preempt_count); in dotest()