/linux/arch/microblaze/kernel/ |
H A D | ptrace.c | 141 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter() 161 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave() 162 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
|
H A D | signal.c | 268 signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP)); in handle_signal() 310 if (test_thread_flag(TIF_SIGPENDING) || in do_notify_resume() 311 test_thread_flag(TIF_NOTIFY_SIGNAL)) in do_notify_resume() 314 if (test_thread_flag(TIF_NOTIFY_RESUME)) in do_notify_resume()
|
/linux/arch/mips/include/asm/ |
H A D | elfcore-compat.h | 21 (!test_thread_flag(TIF_32BIT_REGS) \ 25 (*(!test_thread_flag(TIF_32BIT_REGS) \
|
H A D | fpu.h | 110 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/arch/um/kernel/ |
H A D | ptrace.c | 129 if (!test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_enter() 142 if (test_thread_flag(TIF_SINGLESTEP)) in syscall_trace_leave() 145 if (!test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_leave()
|
H A D | process.c | 87 if (test_thread_flag(TIF_SIGPENDING) || in interrupt_end() 88 test_thread_flag(TIF_NOTIFY_SIGNAL)) in interrupt_end() 90 if (test_thread_flag(TIF_NOTIFY_RESUME)) in interrupt_end() 240 return test_thread_flag(TIF_SINGLESTEP); in singlestepping()
|
/linux/arch/loongarch/include/asm/ |
H A D | fpu.h | 99 return test_thread_flag(TIF_USEDFPU); in is_fpu_owner() 205 return test_thread_flag(TIF_USEDSIMD); in is_simd_owner() 308 return test_thread_flag(TIF_LSX_CTX_LIVE); in thread_lsx_context_live() 316 return test_thread_flag(TIF_LASX_CTX_LIVE); in thread_lasx_context_live()
|
H A D | lbt.h | 30 return test_thread_flag(TIF_USEDLBT); in is_lbt_owner() 106 return test_thread_flag(TIF_LBT_CTX_LIVE); in thread_lbt_context_live()
|
/linux/arch/arm64/kernel/ |
H A D | fpsimd.c | 360 WARN_ON(test_thread_flag(TIF_KERNEL_FPSTATE)); in task_fpsimd_load() 377 if (test_thread_flag(TIF_SVE)) in task_fpsimd_load() 403 if (test_thread_flag(TIF_SME)) in task_fpsimd_load() 449 if (test_thread_flag(TIF_FOREIGN_FPSTATE)) in fpsimd_save_user_state() 1361 if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) { in sve_init_regs() 1569 if (test_thread_flag(TIF_KERNEL_FPSTATE)) in fpsimd_thread_switch() 1747 if (test_thread_flag(TIF_SME)) in fpsimd_bind_task_to_cpu() 1754 if (test_thread_flag(TIF_SVE)) in fpsimd_bind_task_to_cpu() 1828 if (test_thread_flag(TIF_SVE)) in fpsimd_update_current_state() 1912 if (test_thread_flag(TIF_KERNEL_FPSTATE)) { in kernel_neon_begin() [all …]
|
/linux/arch/openrisc/kernel/ |
H A D | ptrace.c | 199 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter() 220 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave() 221 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
|
/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace.c | 201 if (!test_thread_flag(TIF_SECCOMP)) in do_seccomp() 297 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter() 328 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_leave() 331 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave() 332 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
|
/linux/arch/x86/include/asm/ |
H A D | page_64_types.h | 73 #define TASK_SIZE_LOW (test_thread_flag(TIF_ADDR32) ? \ 75 #define TASK_SIZE (test_thread_flag(TIF_ADDR32) ? \
|
/linux/arch/parisc/kernel/ |
H A D | signal.c | 323 if (!test_thread_flag(TIF_32BIT)) in setup_rt_frame() 329 if (!test_thread_flag(TIF_32BIT)) in setup_rt_frame() 394 signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP) || in handle_signal() 395 test_thread_flag(TIF_BLOCKSTEP)); in handle_signal() 583 if (test_thread_flag(TIF_SIGPENDING) || in do_notify_resume() 584 test_thread_flag(TIF_NOTIFY_SIGNAL)) in do_notify_resume() 587 if (test_thread_flag(TIF_NOTIFY_RESUME)) in do_notify_resume()
|
H A D | ptrace.c | 328 if (test_thread_flag(TIF_SYSCALL_TRACE)) { in do_syscall_trace_enter() 358 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter() 383 int stepping = test_thread_flag(TIF_SINGLESTEP) || in do_syscall_trace_exit() 384 test_thread_flag(TIF_BLOCKSTEP); in do_syscall_trace_exit() 389 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_exit() 393 if (stepping || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_exit()
|
/linux/arch/sparc/kernel/ |
H A D | sys_sparc_64.c | 108 if (test_thread_flag(TIF_32BIT)) in arch_get_unmapped_area() 159 BUG_ON(!test_thread_flag(TIF_32BIT)); in arch_get_unmapped_area_topdown() 268 if (test_thread_flag(TIF_32BIT)) in mmap_rnd() 286 if (!test_thread_flag(TIF_32BIT) || in arch_pick_mmap_layout() 433 if (test_thread_flag(TIF_32BIT)) { in sparc_mmap_check() 478 if (test_thread_flag(TIF_32BIT)) 506 if (test_thread_flag(TIF_32BIT)) { in sparc_breakpoint()
|
/linux/arch/sh/kernel/ |
H A D | ptrace_32.c | 457 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter() 466 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter() 481 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_leave() 484 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave() 485 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
|
/linux/arch/x86/kernel/fpu/ |
H A D | signal.c | 87 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in save_fsave_header() 244 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in copy_fpstate_to_sigframe() 322 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in restore_fpregs_from_user() 344 if (test_thread_flag(TIF_NEED_FPU_LOAD) && xfeatures_mask_supervisor()) in restore_fpregs_from_user() 394 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) { in __fpu_restore_sig()
|
H A D | core.c | 337 if (!cur_fps->is_confidential && !test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_swap_kvm_fpstate() 431 !test_thread_flag(TIF_NEED_FPU_LOAD)) { in kernel_fpu_begin_mask() 466 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_sync_fpstate() 631 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_clone() 805 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpregs_lock_and_load() 819 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpregs_assert_state_consistent()
|
/linux/arch/xtensa/kernel/ |
H A D | signal.c | 496 if (test_thread_flag(TIF_SINGLESTEP)) in do_signal() 522 if (test_thread_flag(TIF_SINGLESTEP)) in do_signal() 529 if (test_thread_flag(TIF_SIGPENDING) || in do_notify_resume() 530 test_thread_flag(TIF_NOTIFY_SIGNAL)) in do_notify_resume() 533 if (test_thread_flag(TIF_NOTIFY_RESUME)) in do_notify_resume()
|
H A D | ptrace.c | 549 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter() 562 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_enter() 577 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_leave() 580 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave() 582 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
|
/linux/arch/sparc/include/asm/ |
H A D | processor_64.h | 34 (test_thread_flag(TIF_32BIT) ? \ 41 #define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
|
H A D | thread_info_64.h | 219 #define is_32bit_task() (test_thread_flag(TIF_32BIT)) 235 ((test_thread_flag(TIF_32BIT) && !thread32_stack_is_64bit(__SP)) ? \
|
/linux/arch/s390/include/asm/ |
H A D | processor.h | 130 #define TASK_SIZE (test_thread_flag(TIF_31BIT) ? \ 132 #define TASK_UNMAPPED_BASE (test_thread_flag(TIF_31BIT) ? \ 137 #define VDSO_LIMIT (test_thread_flag(TIF_31BIT) ? _REGION3_SIZE : _REGION2_SIZE)
|
/linux/arch/x86/kernel/ |
H A D | process.c | 121 if (test_thread_flag(TIF_IO_BITMAP)) in exit_thread() 311 if (test_thread_flag(TIF_NOTSC)) in get_tsc_mode() 372 return !test_thread_flag(TIF_NOCPUID); in get_cpuid_mode() 394 if (test_thread_flag(TIF_NOCPUID)) in arch_setup_new_exec() 401 if (test_thread_flag(TIF_SSBD) && in arch_setup_new_exec() 456 if (!test_thread_flag(TIF_IO_BITMAP)) { in native_tss_update_io_bitmap()
|
/linux/arch/powerpc/include/asm/ |
H A D | thread_info.h | 177 #define is_32bit_task() (test_thread_flag(TIF_32BIT)) 187 #define is_elf2_task() (test_thread_flag(TIF_ELF2ABI))
|