Home
last modified time | relevance | path

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

12345

/Linux-v5.15/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()
/Linux-v5.15/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.c267 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-v5.15/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-v5.15/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()
/Linux-v5.15/arch/arm64/kernel/
Dfpsimd.c290 if (IS_ENABLED(CONFIG_ARM64_SVE) && test_thread_flag(TIF_SVE)) in task_fpsimd_load()
311 if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) { in fpsimd_save()
313 test_thread_flag(TIF_SVE)) { in fpsimd_save()
663 if (test_thread_flag(TIF_SVE_VL_INHERIT)) in sve_prctl_status()
959 if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) { in do_sve_acc()
1077 if (!test_thread_flag(TIF_SVE_VL_INHERIT)) in fpsimd_flush_thread()
1106 if (test_thread_flag(TIF_SVE)) in fpsimd_signal_preserve_current_state()
1128 if (test_thread_flag(TIF_SVE)) in fpsimd_bind_task_to_cpu()
1195 if (test_thread_flag(TIF_SVE)) in fpsimd_update_current_state()
/Linux-v5.15/arch/riscv/kernel/
Dptrace.c245 if (test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_enter()
258 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_enter()
270 if (test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_exit()
274 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_exit()
/Linux-v5.15/arch/parisc/kernel/
Dsignal.c352 if (!test_thread_flag(TIF_32BIT)) in setup_rt_frame()
358 if (!test_thread_flag(TIF_32BIT)) in setup_rt_frame()
423 signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP) || in handle_signal()
424 test_thread_flag(TIF_BLOCKSTEP)); in handle_signal()
599 if (test_thread_flag(TIF_SIGPENDING) || in do_notify_resume()
600 test_thread_flag(TIF_NOTIFY_SIGNAL)) in do_notify_resume()
603 if (test_thread_flag(TIF_NOTIFY_RESUME)) in do_notify_resume()
Dptrace.c318 if (test_thread_flag(TIF_SYSCALL_TRACE)) { in do_syscall_trace_enter()
348 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter()
373 int stepping = test_thread_flag(TIF_SINGLESTEP) || in do_syscall_trace_exit()
374 test_thread_flag(TIF_BLOCKSTEP); in do_syscall_trace_exit()
379 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_exit()
383 if (stepping || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_exit()
/Linux-v5.15/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-v5.15/arch/powerpc/kernel/ptrace/
Dptrace.c205 if (!test_thread_flag(TIF_SECCOMP)) in do_seccomp()
302 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter()
333 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_leave()
336 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
337 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
/Linux-v5.15/arch/x86/kernel/fpu/
Dcore.c164 !test_thread_flag(TIF_NEED_FPU_LOAD)) { in kernel_fpu_begin_mask()
199 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_sync_fpstate()
274 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_clone()
432 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpregs_assert_state_consistent()
Dsignal.c75 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in save_fsave_header()
199 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in copy_fpstate_to_sigframe()
273 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in restore_fpregs_from_user()
296 if (test_thread_flag(TIF_NEED_FPU_LOAD) && xfeatures_mask_supervisor()) in restore_fpregs_from_user()
356 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) { in __fpu_restore_sig()
/Linux-v5.15/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()
/Linux-v5.15/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.15/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()
/Linux-v5.15/arch/arm64/include/asm/
Dprocessor.h66 #define TASK_SIZE (test_thread_flag(TIF_32BIT) ? \
70 #define DEFAULT_MAP_WINDOW (test_thread_flag(TIF_32BIT) ? \
87 #define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
/Linux-v5.15/arch/x86/kernel/
Dprocess.c101 if (test_thread_flag(TIF_IO_BITMAP)) in exit_thread()
256 if (test_thread_flag(TIF_NOTSC)) in get_tsc_mode()
317 return !test_thread_flag(TIF_NOCPUID); in get_cpuid_mode()
339 if (test_thread_flag(TIF_NOCPUID)) in arch_setup_new_exec()
346 if (test_thread_flag(TIF_SSBD) && in arch_setup_new_exec()
399 if (!test_thread_flag(TIF_IO_BITMAP)) { in native_tss_update_io_bitmap()
/Linux-v5.15/arch/powerpc/include/asm/
Dthread_info.h167 #define is_32bit_task() (test_thread_flag(TIF_32BIT))
173 #define is_elf2_task() (test_thread_flag(TIF_ELF2ABI))
/Linux-v5.15/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.15/arch/sparc/include/asm/
Dprocessor_64.h34 (test_thread_flag(TIF_32BIT) ? \
41 #define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
Dthread_info_64.h221 #define is_32bit_task() (test_thread_flag(TIF_32BIT))
237 ((test_thread_flag(TIF_32BIT) && !thread32_stack_is_64bit(__SP)) ? \
/Linux-v5.15/arch/nios2/kernel/
Dptrace.c136 if (test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_enter()
144 if (test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_exit()
/Linux-v5.15/arch/xtensa/kernel/
Dptrace.c552 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
565 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_enter()
580 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_leave()
583 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
585 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()

12345