Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/arch/riscv/kernel/
Dptrace.c146 if (test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_enter()
159 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_enter()
171 if (test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_exit()
175 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_exit()
/kernel/linux/linux-5.10/arch/nds32/kernel/
Dptrace.c105 if (test_thread_flag(TIF_SYSCALL_TRACE)) { in syscall_trace_enter()
114 int step = test_thread_flag(TIF_SINGLESTEP); in syscall_trace_leave()
115 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_leave()
/kernel/linux/linux-5.10/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()
Dsignal.c274 signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP)); in handle_signal()
316 if (test_thread_flag(TIF_SIGPENDING) || in do_notify_resume()
317 test_thread_flag(TIF_NOTIFY_SIGNAL)) in do_notify_resume()
320 if (test_thread_flag(TIF_NOTIFY_RESUME)) in do_notify_resume()
/kernel/linux/linux-5.10/arch/openrisc/kernel/
Dptrace.c161 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
182 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
183 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
/kernel/linux/linux-5.10/arch/um/kernel/
Dptrace.c135 if (!test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_enter()
148 if (test_thread_flag(TIF_SINGLESTEP)) in syscall_trace_leave()
151 if (!test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_leave()
Dprocess.c102 if (test_thread_flag(TIF_SIGPENDING) || in interrupt_end()
103 test_thread_flag(TIF_NOTIFY_SIGNAL)) in interrupt_end()
105 if (test_thread_flag(TIF_NOTIFY_RESUME)) in interrupt_end()
345 if (!test_thread_flag(TIF_SINGLESTEP)) in singlestepping()
Dsignal.c56 if (test_thread_flag(TIF_SINGLESTEP) && (current->ptrace & PT_PTRACED)) in handle_signal()
131 if (test_thread_flag(TIF_SINGLESTEP)) in do_signal()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpage_64_types.h90 #define TASK_SIZE_LOW (test_thread_flag(TIF_ADDR32) ? \
92 #define TASK_SIZE (test_thread_flag(TIF_ADDR32) ? \
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dsignal.c364 if (!test_thread_flag(TIF_32BIT)) in setup_rt_frame()
370 if (!test_thread_flag(TIF_32BIT)) in setup_rt_frame()
435 signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP) || in handle_signal()
436 test_thread_flag(TIF_BLOCKSTEP)); in handle_signal()
612 if (test_thread_flag(TIF_SIGPENDING) || in do_notify_resume()
613 test_thread_flag(TIF_NOTIFY_SIGNAL)) in do_notify_resume()
616 if (test_thread_flag(TIF_NOTIFY_RESUME)) in do_notify_resume()
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/
Dcore.c134 !test_thread_flag(TIF_NEED_FPU_LOAD)) { in kernel_fpu_begin_mask()
174 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) { in fpu__save()
240 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu__copy()
420 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpregs_assert_state_consistent()
Dsignal.c66 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in save_fsave_header()
190 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in copy_fpstate_to_sigframe()
358 if (test_thread_flag(TIF_NEED_FPU_LOAD) && in __fpu__restore_sig()
382 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in __fpu__restore_sig()
405 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) { in __fpu__restore_sig()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dfpsimd.c288 if (system_supports_sve() && test_thread_flag(TIF_SVE)) in task_fpsimd_load()
309 if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) { in fpsimd_save()
310 if (system_supports_sve() && test_thread_flag(TIF_SVE)) { in fpsimd_save()
666 if (test_thread_flag(TIF_SVE_VL_INHERIT)) in sve_prctl_status()
1066 if (!test_thread_flag(TIF_SVE_VL_INHERIT)) in fpsimd_flush_thread()
1095 if (system_supports_sve() && test_thread_flag(TIF_SVE)) in fpsimd_signal_preserve_current_state()
1117 if (test_thread_flag(TIF_SVE)) in fpsimd_bind_task_to_cpu()
1184 if (system_supports_sve() && test_thread_flag(TIF_SVE)) in fpsimd_update_current_state()
/kernel/linux/linux-5.10/arch/h8300/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
Dptrace.c245 if (!test_thread_flag(TIF_SECCOMP)) in do_seccomp()
344 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter()
375 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_leave()
378 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
379 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
/kernel/linux/linux-5.10/arch/sh/kernel/
Dptrace_32.c458 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
467 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter()
482 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_leave()
485 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
486 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
/kernel/linux/linux-5.10/arch/xtensa/kernel/
Dsignal.c468 if (test_thread_flag(TIF_SINGLESTEP)) in do_signal()
494 if (test_thread_flag(TIF_SINGLESTEP)) in do_signal()
501 if (test_thread_flag(TIF_SIGPENDING) || in do_notify_resume()
502 test_thread_flag(TIF_NOTIFY_SIGNAL)) in do_notify_resume()
505 if (test_thread_flag(TIF_NOTIFY_RESUME)) in do_notify_resume()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dprocessor.h62 #define TASK_SIZE (test_thread_flag(TIF_32BIT) ? \
66 #define DEFAULT_MAP_WINDOW (test_thread_flag(TIF_32BIT) ? \
83 #define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
/kernel/linux/linux-5.10/arch/x86/kernel/
Dprocess.c107 if (test_thread_flag(TIF_IO_BITMAP)) in exit_thread()
246 if (test_thread_flag(TIF_NOTSC)) in get_tsc_mode()
307 return !test_thread_flag(TIF_NOCPUID); in get_cpuid_mode()
329 if (test_thread_flag(TIF_NOCPUID)) in arch_setup_new_exec()
336 if (test_thread_flag(TIF_SSBD) && in arch_setup_new_exec()
389 if (!test_thread_flag(TIF_IO_BITMAP)) { in native_tss_update_io_bitmap()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dthread_info.h172 #define is_32bit_task() (test_thread_flag(TIF_32BIT))
178 #define is_elf2_task() (test_thread_flag(TIF_ELF2ABI))
/kernel/linux/linux-5.10/include/linux/
Dthread_info.h110 #define test_thread_flag(flag) \ macro
113 #define tif_need_resched() test_thread_flag(TIF_NEED_RESCHED)
/kernel/linux/linux-5.10/arch/csky/kernel/
Dptrace.c322 if (test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_enter()
329 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in syscall_trace_enter()
340 if (test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_exit()
343 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in syscall_trace_exit()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dprocessor_64.h34 (test_thread_flag(TIF_32BIT) ? \
41 #define STACK_TOP (test_thread_flag(TIF_32BIT) ? \

12345