/linux-6.1.9/arch/microblaze/kernel/ |
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()
|
D | signal.c | 267 signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP)); in handle_signal() 309 if (test_thread_flag(TIF_SIGPENDING) || in do_notify_resume() 310 test_thread_flag(TIF_NOTIFY_SIGNAL)) in do_notify_resume() 313 if (test_thread_flag(TIF_NOTIFY_RESUME)) in do_notify_resume()
|
/linux-6.1.9/arch/mips/include/asm/ |
D | elfcore-compat.h | 21 (!test_thread_flag(TIF_32BIT_REGS) \ 25 (*(!test_thread_flag(TIF_32BIT_REGS) \
|
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-6.1.9/arch/openrisc/kernel/ |
D | ptrace.c | 160 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter() 181 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave() 182 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
|
/linux-6.1.9/arch/um/kernel/ |
D | ptrace.c | 134 if (!test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_enter() 147 if (test_thread_flag(TIF_SINGLESTEP)) in syscall_trace_leave() 150 if (!test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_leave()
|
D | process.c | 103 if (test_thread_flag(TIF_SIGPENDING) || in interrupt_end() 104 test_thread_flag(TIF_NOTIFY_SIGNAL)) in interrupt_end() 106 if (test_thread_flag(TIF_NOTIFY_RESUME)) in interrupt_end() 339 if (!test_thread_flag(TIF_SINGLESTEP)) in singlestepping()
|
D | signal.c | 56 if (test_thread_flag(TIF_SINGLESTEP) && (current->ptrace & PT_PTRACED)) in handle_signal() 131 if (test_thread_flag(TIF_SINGLESTEP)) in do_signal()
|
/linux-6.1.9/arch/x86/include/asm/ |
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-6.1.9/arch/powerpc/kernel/ptrace/ |
D | ptrace.c | 204 if (!test_thread_flag(TIF_SECCOMP)) in do_seccomp() 300 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter() 331 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_leave() 334 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave() 335 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
|
/linux-6.1.9/arch/parisc/kernel/ |
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()
|
D | ptrace.c | 317 if (test_thread_flag(TIF_SYSCALL_TRACE)) { in do_syscall_trace_enter() 347 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter() 372 int stepping = test_thread_flag(TIF_SINGLESTEP) || in do_syscall_trace_exit() 373 test_thread_flag(TIF_BLOCKSTEP); in do_syscall_trace_exit() 378 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_exit() 382 if (stepping || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_exit()
|
/linux-6.1.9/arch/sparc/kernel/ |
D | sys_sparc_64.c | 108 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-6.1.9/arch/x86/kernel/fpu/ |
D | signal.c | 77 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in save_fsave_header() 227 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in copy_fpstate_to_sigframe() 304 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in restore_fpregs_from_user() 326 if (test_thread_flag(TIF_NEED_FPU_LOAD) && xfeatures_mask_supervisor()) in restore_fpregs_from_user() 380 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) { in __fpu_restore_sig()
|
D | core.c | 337 if (!cur_fps->is_confidential && !test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_swap_kvm_fpstate() 430 !test_thread_flag(TIF_NEED_FPU_LOAD)) { in kernel_fpu_begin_mask() 465 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_sync_fpstate() 602 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_clone() 766 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpregs_assert_state_consistent()
|
/linux-6.1.9/arch/riscv/kernel/ |
D | ptrace.c | 238 if (test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_enter() 251 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_enter() 263 if (test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_exit() 267 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_exit()
|
/linux-6.1.9/arch/arm64/kernel/ |
D | fpsimd.c | 382 if (IS_ENABLED(CONFIG_ARM64_SVE) && test_thread_flag(TIF_SVE)) { in task_fpsimd_load() 393 if (test_thread_flag(TIF_SME)) in task_fpsimd_load() 437 if (test_thread_flag(TIF_FOREIGN_FPSTATE)) in fpsimd_save() 440 if (test_thread_flag(TIF_SVE)) { in fpsimd_save() 896 if (test_thread_flag(vec_vl_inherit_flag(type))) in vec_prctl_status() 1363 if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) { in sve_init_regs() 1457 if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) { in do_sme_acc() 1560 if (!test_thread_flag(vec_vl_inherit_flag(type))) in fpsimd_flush_thread_vl() 1626 if (test_thread_flag(TIF_SVE)) in fpsimd_signal_preserve_current_state() 1654 if (test_thread_flag(TIF_SME)) in fpsimd_bind_task_to_cpu() [all …]
|
/linux-6.1.9/arch/xtensa/kernel/ |
D | signal.c | 475 if (test_thread_flag(TIF_SINGLESTEP)) in do_signal() 501 if (test_thread_flag(TIF_SINGLESTEP)) in do_signal() 508 if (test_thread_flag(TIF_SIGPENDING) || in do_notify_resume() 509 test_thread_flag(TIF_NOTIFY_SIGNAL)) in do_notify_resume() 512 if (test_thread_flag(TIF_NOTIFY_RESUME)) in do_notify_resume()
|
/linux-6.1.9/arch/sh/kernel/ |
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-6.1.9/arch/s390/include/asm/ |
D | processor.h | 92 #define TASK_SIZE (test_thread_flag(TIF_31BIT) ? \ 94 #define TASK_UNMAPPED_BASE (test_thread_flag(TIF_31BIT) ? \ 99 #define VDSO_LIMIT (test_thread_flag(TIF_31BIT) ? _REGION3_SIZE : _REGION2_SIZE)
|
/linux-6.1.9/arch/x86/kernel/ |
D | process.c | 116 if (test_thread_flag(TIF_IO_BITMAP)) in exit_thread() 273 if (test_thread_flag(TIF_NOTSC)) in get_tsc_mode() 334 return !test_thread_flag(TIF_NOCPUID); in get_cpuid_mode() 356 if (test_thread_flag(TIF_NOCPUID)) in arch_setup_new_exec() 363 if (test_thread_flag(TIF_SSBD) && in arch_setup_new_exec() 416 if (!test_thread_flag(TIF_IO_BITMAP)) { in native_tss_update_io_bitmap()
|
/linux-6.1.9/arch/sparc/include/asm/ |
D | processor_64.h | 34 (test_thread_flag(TIF_32BIT) ? \ 41 #define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
|
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-6.1.9/arch/arm64/kvm/ |
D | fpsimd.c | 78 BUG_ON(test_thread_flag(TIF_SVE)); in kvm_arch_vcpu_load_fp() 119 if (test_thread_flag(TIF_FOREIGN_FPSTATE)) in kvm_arch_vcpu_ctxflush_fp()
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | thread_info.h | 176 #define is_32bit_task() (test_thread_flag(TIF_32BIT)) 184 #define is_elf2_task() (test_thread_flag(TIF_ELF2ABI))
|