Home
last modified time | relevance | path

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

12345

/linux/arch/nds32/kernel/
A 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/arch/microblaze/kernel/
A 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()
A 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/arch/openrisc/kernel/
A 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/arch/mips/include/asm/
A Delfcore-compat.h21 (!test_thread_flag(TIF_32BIT_REGS) \
25 (*(!test_thread_flag(TIF_32BIT_REGS) \
A 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/arch/riscv/kernel/
A 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/arch/parisc/kernel/
A Dsignal.c353 if (!test_thread_flag(TIF_32BIT)) in setup_rt_frame()
359 if (!test_thread_flag(TIF_32BIT)) in setup_rt_frame()
424 signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP) || in handle_signal()
425 test_thread_flag(TIF_BLOCKSTEP)); in handle_signal()
600 if (test_thread_flag(TIF_SIGPENDING) || in do_notify_resume()
601 test_thread_flag(TIF_NOTIFY_SIGNAL)) in do_notify_resume()
604 if (test_thread_flag(TIF_NOTIFY_RESUME)) in do_notify_resume()
A 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/arch/powerpc/kernel/ptrace/
A 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/arch/sparc/kernel/
A 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/arch/arm64/kernel/
A Dfpsimd.c335 if (IS_ENABLED(CONFIG_ARM64_SVE) && test_thread_flag(TIF_SVE)) { in task_fpsimd_load()
357 if (test_thread_flag(TIF_FOREIGN_FPSTATE)) in fpsimd_save()
361 test_thread_flag(TIF_SVE)) { in fpsimd_save()
714 if (test_thread_flag(TIF_SVE_VL_INHERIT)) in sve_prctl_status()
1017 if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) { in do_sve_acc()
1122 if (!test_thread_flag(vec_vl_inherit_flag(type))) in fpsimd_flush_thread_vl()
1168 if (test_thread_flag(TIF_SVE)) in fpsimd_signal_preserve_current_state()
1190 if (test_thread_flag(TIF_SVE)) in fpsimd_bind_task_to_cpu()
1257 if (test_thread_flag(TIF_SVE)) in fpsimd_update_current_state()
/linux/arch/x86/kernel/fpu/
A 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()
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()
A Dcore.c246 if (!cur_fps->is_confidential && !test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_swap_kvm_fpstate()
345 !test_thread_flag(TIF_NEED_FPU_LOAD)) { in kernel_fpu_begin_mask()
380 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_sync_fpstate()
514 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_clone()
671 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpregs_assert_state_consistent()
/linux/arch/h8300/kernel/
A 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/arch/x86/include/asm/
A Dpage_64_types.h73 #define TASK_SIZE_LOW (test_thread_flag(TIF_ADDR32) ? \
75 #define TASK_SIZE (test_thread_flag(TIF_ADDR32) ? \
/linux/arch/sh/kernel/
A 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/arch/x86/kernel/
A Dprocess.c115 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/arch/powerpc/include/asm/
A Dthread_info.h170 #define is_32bit_task() (test_thread_flag(TIF_32BIT))
176 #define is_elf2_task() (test_thread_flag(TIF_ELF2ABI))
/linux/arch/arm64/include/asm/
A 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/arch/um/kernel/
A 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()
A 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()
/linux/arch/xtensa/kernel/
A 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()
/linux/arch/sparc/include/asm/
A Dprocessor_64.h34 (test_thread_flag(TIF_32BIT) ? \
41 #define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
/linux/arch/csky/kernel/
A Dptrace.c323 if (test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_enter()
330 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in syscall_trace_enter()
341 if (test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_exit()
344 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in syscall_trace_exit()

Completed in 29 milliseconds

12345