Home
last modified time | relevance | path

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

12345

/linux-6.6.21/arch/microblaze/kernel/
Dptrace.c141 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()
Dsignal.c268 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-6.6.21/arch/mips/include/asm/
Delfcore-compat.h21 (!test_thread_flag(TIF_32BIT_REGS) \
25 (*(!test_thread_flag(TIF_32BIT_REGS) \
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-6.6.21/arch/loongarch/include/asm/
Dfpu.h98 return test_thread_flag(TIF_USEDFPU); in is_fpu_owner()
204 return test_thread_flag(TIF_USEDSIMD); in is_simd_owner()
307 return test_thread_flag(TIF_LSX_CTX_LIVE); in thread_lsx_context_live()
315 return test_thread_flag(TIF_LASX_CTX_LIVE); in thread_lasx_context_live()
Dlbt.h30 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-6.6.21/arch/um/kernel/
Dptrace.c134 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()
Dprocess.c104 if (test_thread_flag(TIF_SIGPENDING) || in interrupt_end()
105 test_thread_flag(TIF_NOTIFY_SIGNAL)) in interrupt_end()
107 if (test_thread_flag(TIF_NOTIFY_RESUME)) in interrupt_end()
339 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()
/linux-6.6.21/arch/openrisc/kernel/
Dptrace.c199 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-6.6.21/arch/powerpc/kernel/ptrace/
Dptrace.c204 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.6.21/arch/x86/include/asm/
Dpage_64_types.h73 #define TASK_SIZE_LOW (test_thread_flag(TIF_ADDR32) ? \
75 #define TASK_SIZE (test_thread_flag(TIF_ADDR32) ? \
/linux-6.6.21/arch/parisc/kernel/
Dsignal.c323 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()
Dptrace.c328 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-6.6.21/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-6.6.21/arch/x86/kernel/fpu/
Dsignal.c77 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()
305 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in restore_fpregs_from_user()
327 if (test_thread_flag(TIF_NEED_FPU_LOAD) && xfeatures_mask_supervisor()) in restore_fpregs_from_user()
377 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) { in __fpu_restore_sig()
Dcore.c337 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-6.6.21/arch/sh/kernel/
Dptrace_32.c457 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.6.21/arch/xtensa/kernel/
Dsignal.c496 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()
/linux-6.6.21/arch/arm64/kernel/
Dfpsimd.c400 if (test_thread_flag(TIF_SVE)) in task_fpsimd_load()
426 if (test_thread_flag(TIF_SME)) in task_fpsimd_load()
472 if (test_thread_flag(TIF_FOREIGN_FPSTATE)) in fpsimd_save()
480 if ((last->to_save == FP_STATE_CURRENT && test_thread_flag(TIF_SVE) && in fpsimd_save()
960 if (test_thread_flag(vec_vl_inherit_flag(type))) in vec_prctl_status()
1439 if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) { in sve_init_regs()
1534 if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) { in do_sme_acc()
1637 if (!test_thread_flag(vec_vl_inherit_flag(type))) in fpsimd_flush_thread_vl()
1759 if (test_thread_flag(TIF_SME)) in fpsimd_bind_task_to_cpu()
1766 if (test_thread_flag(TIF_SVE)) in fpsimd_bind_task_to_cpu()
[all …]
/linux-6.6.21/arch/s390/include/asm/
Dprocessor.h108 #define TASK_SIZE (test_thread_flag(TIF_31BIT) ? \
110 #define TASK_UNMAPPED_BASE (test_thread_flag(TIF_31BIT) ? \
115 #define VDSO_LIMIT (test_thread_flag(TIF_31BIT) ? _REGION3_SIZE : _REGION2_SIZE)
/linux-6.6.21/arch/sparc/include/asm/
Dprocessor_64.h34 (test_thread_flag(TIF_32BIT) ? \
41 #define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
/linux-6.6.21/arch/x86/kernel/
Dprocess.c121 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-6.6.21/arch/powerpc/include/asm/
Dthread_info.h177 #define is_32bit_task() (test_thread_flag(TIF_32BIT))
187 #define is_elf2_task() (test_thread_flag(TIF_ELF2ABI))
/linux-6.6.21/arch/arm64/include/asm/
Dprocessor.h67 #define TASK_SIZE (test_thread_flag(TIF_32BIT) ? \
71 #define DEFAULT_MAP_WINDOW (test_thread_flag(TIF_32BIT) ? \
88 #define STACK_TOP (test_thread_flag(TIF_32BIT) ? \

12345