Home
last modified time | relevance | path

Searched refs:test_thread_flag (Results 1 – 25 of 120) sorted by relevance

12345

/Linux-v5.4/arch/riscv/kernel/
Dptrace.c153 if (test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_enter()
158 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_enter()
169 if (test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_exit()
173 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_exit()
/Linux-v5.4/arch/microblaze/kernel/
Dptrace.c142 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
162 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
163 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
/Linux-v5.4/arch/nds32/kernel/
Dptrace.c106 if (test_thread_flag(TIF_SYSCALL_TRACE)) { in syscall_trace_enter()
115 int step = test_thread_flag(TIF_SINGLESTEP); in syscall_trace_leave()
116 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_leave()
/Linux-v5.4/arch/openrisc/kernel/
Dptrace.c176 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
197 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
198 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
/Linux-v5.4/arch/x86/kernel/fpu/
Dcore.c95 !test_thread_flag(TIF_NEED_FPU_LOAD)) { in kernel_fpu_begin()
128 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) { in fpu__save()
194 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu__copy()
357 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpregs_assert_state_consistent()
/Linux-v5.4/arch/mips/include/asm/
Dfpu.h110 return test_thread_flag(TIF_USEDFPU); in __is_fpu_owner()
123 if (test_thread_flag(TIF_HYBRID_FPREGS)) in __own_fpu()
126 mode = !test_thread_flag(TIF_32BIT_FPREGS); in __own_fpu()
/Linux-v5.4/arch/arm64/kernel/
Dfpsimd.c274 if (system_supports_sve() && test_thread_flag(TIF_SVE)) in task_fpsimd_load()
294 if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) { in fpsimd_save()
295 if (system_supports_sve() && test_thread_flag(TIF_SVE)) { in fpsimd_save()
652 if (test_thread_flag(TIF_SVE_VL_INHERIT)) in sve_prctl_status()
1052 if (!test_thread_flag(TIF_SVE_VL_INHERIT)) in fpsimd_flush_thread()
1081 if (system_supports_sve() && test_thread_flag(TIF_SVE)) in fpsimd_signal_preserve_current_state()
1102 if (test_thread_flag(TIF_SVE)) in fpsimd_bind_task_to_cpu()
1157 if (system_supports_sve() && test_thread_flag(TIF_SVE)) in fpsimd_update_current_state()
/Linux-v5.4/arch/sparc/kernel/
Dsys_sparc_64.c108 if (test_thread_flag(TIF_32BIT)) in arch_get_unmapped_area()
160 BUG_ON(!test_thread_flag(TIF_32BIT)); in arch_get_unmapped_area_topdown()
272 if (test_thread_flag(TIF_32BIT)) in mmap_rnd()
290 if (!test_thread_flag(TIF_32BIT) || in arch_pick_mmap_layout()
437 if (test_thread_flag(TIF_32BIT)) { in sparc_mmap_check()
482 if (test_thread_flag(TIF_32BIT))
510 if (test_thread_flag(TIF_32BIT)) { in sparc_breakpoint()
/Linux-v5.4/arch/h8300/kernel/
Dptrace.c181 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
202 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
203 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
/Linux-v5.4/arch/parisc/kernel/
Dsignal.c359 if (!test_thread_flag(TIF_32BIT)) in setup_rt_frame()
365 if (!test_thread_flag(TIF_32BIT)) in setup_rt_frame()
430 signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP) || in handle_signal()
431 test_thread_flag(TIF_BLOCKSTEP)); in handle_signal()
607 if (test_thread_flag(TIF_SIGPENDING)) in do_notify_resume()
610 if (test_thread_flag(TIF_NOTIFY_RESUME)) { in do_notify_resume()
Dptrace.c319 if (test_thread_flag(TIF_SYSCALL_TRACE)) { in do_syscall_trace_enter()
349 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter()
374 int stepping = test_thread_flag(TIF_SINGLESTEP) || in do_syscall_trace_exit()
375 test_thread_flag(TIF_BLOCKSTEP); in do_syscall_trace_exit()
380 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_exit()
384 if (stepping || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_exit()
/Linux-v5.4/arch/arm64/include/asm/
Dprocessor.h57 #define TASK_SIZE (test_thread_flag(TIF_32BIT) ? \
61 #define DEFAULT_MAP_WINDOW (test_thread_flag(TIF_32BIT) ? \
78 #define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
/Linux-v5.4/arch/sh/kernel/
Dptrace_64.c511 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
520 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter()
535 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_leave()
538 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
539 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
Dptrace_32.c491 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
500 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter()
515 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_leave()
518 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
519 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
/Linux-v5.4/arch/powerpc/include/asm/
Dthread_info.h148 #define is_32bit_task() (test_thread_flag(TIF_32BIT))
154 #define is_elf2_task() (test_thread_flag(TIF_ELF2ABI))
/Linux-v5.4/arch/csky/kernel/
Dptrace.c217 if (test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_enter()
221 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in syscall_trace_enter()
231 if (test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_exit()
234 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in syscall_trace_exit()
/Linux-v5.4/include/linux/
Dthread_info.h97 #define test_thread_flag(flag) \ macro
100 #define tif_need_resched() test_thread_flag(TIF_NEED_RESCHED)
/Linux-v5.4/arch/um/kernel/
Dptrace.c135 if (!test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_enter()
151 if (!test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_leave()
/Linux-v5.4/arch/sparc/include/asm/
Dprocessor_64.h34 (test_thread_flag(TIF_32BIT) ? \
41 #define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
Dcompat.h154 if (test_thread_flag(TIF_32BIT)) in arch_compat_alloc_user_space()
225 return test_thread_flag(TIF_32BIT); in is_compat_task()
Dthread_info_64.h218 #define is_32bit_task() (test_thread_flag(TIF_32BIT))
234 ((test_thread_flag(TIF_32BIT) && !thread32_stack_is_64bit(__SP)) ? \
/Linux-v5.4/arch/xtensa/kernel/
Dptrace.c547 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
551 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_enter()
559 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_leave()
562 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
564 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
/Linux-v5.4/arch/s390/include/asm/
Dmmu_context.h28 mm->context.compat_mm = test_thread_flag(TIF_31BIT); in init_new_context()
31 test_thread_flag(TIF_PGSTE) || in init_new_context()
/Linux-v5.4/arch/s390/kernel/
Dptrace.c158 return test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per()
162 return test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per()
166 return test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per()
170 return test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per()
543 return (__u32) test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per_compat()
547 return (__u32) test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per_compat()
551 return test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per_compat()
555 return (__u32) test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per_compat()
846 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
864 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter()
[all …]
/Linux-v5.4/arch/x86/kernel/
Dprocess.c173 if (test_thread_flag(TIF_NOTSC)) in get_tsc_mode()
234 return !test_thread_flag(TIF_NOCPUID); in get_cpuid_mode()
256 if (test_thread_flag(TIF_NOCPUID)) in arch_setup_new_exec()
263 if (test_thread_flag(TIF_SSBD) && in arch_setup_new_exec()

12345