Home
last modified time | relevance | path

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

12345

/Linux-v4.19/arch/riscv/kernel/
Dptrace.c106 if (test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_enter()
111 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_enter()
118 if (test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_exit()
122 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in do_syscall_trace_exit()
/Linux-v4.19/arch/mips/include/asm/
Dsyscall.h76 if (test_thread_flag(TIF_32BIT_REGS)) in mips_get_syscall_arg()
147 if (!test_thread_flag(TIF_32BIT_REGS)) { in syscall_get_arch()
150 if (test_thread_flag(TIF_32BIT_ADDR)) in syscall_get_arch()
Dfpu.h116 return test_thread_flag(TIF_USEDFPU); in __is_fpu_owner()
129 if (test_thread_flag(TIF_HYBRID_FPREGS)) in __own_fpu()
132 mode = !test_thread_flag(TIF_32BIT_FPREGS); in __own_fpu()
Dseccomp.h20 if (IS_ENABLED(CONFIG_MIPS32_O32) && test_thread_flag(TIF_32BIT_REGS)) in get_compat_mode1_syscalls()
/Linux-v4.19/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()
/Linux-v4.19/arch/nds32/kernel/
Dptrace.c106 if (test_thread_flag(TIF_SYSCALL_TRACE)) { in syscall_trace_enter()
115 int step = test_thread_flag(TIF_SINGLESTEP); in syscall_trace_leave()
116 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_leave()
/Linux-v4.19/arch/openrisc/kernel/
Dptrace.c181 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
202 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
203 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
/Linux-v4.19/arch/arm64/kernel/
Dfpsimd.c222 if (system_supports_sve() && test_thread_flag(TIF_SVE)) in task_fpsimd_load()
243 if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) { in fpsimd_save()
244 if (system_supports_sve() && test_thread_flag(TIF_SVE)) { in fpsimd_save()
593 if (test_thread_flag(TIF_SVE_VL_INHERIT)) in sve_prctl_status()
936 if (!test_thread_flag(TIF_SVE_VL_INHERIT)) in fpsimd_flush_thread()
967 if (system_supports_sve() && test_thread_flag(TIF_SVE)) in fpsimd_signal_preserve_current_state()
985 if (test_thread_flag(TIF_SVE)) in fpsimd_bind_task_to_cpu()
1037 if (system_supports_sve() && test_thread_flag(TIF_SVE)) in fpsimd_update_current_state()
/Linux-v4.19/arch/sparc/kernel/
Dsys_sparc_64.c107 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()
271 if (test_thread_flag(TIF_32BIT)) in mmap_rnd()
289 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()
Dsignal_64.c75 if (test_thread_flag(TIF_32BIT)) { in sparc64_set_context()
166 if (test_thread_flag(TIF_32BIT)) { in sparc64_get_context()
284 if (test_thread_flag(TIF_32BIT)) { in do_rt_sigreturn()
439 if (test_thread_flag(TIF_32BIT)) { in setup_rt_frame()
502 if (test_thread_flag(TIF_32BIT)) { in do_signal()
/Linux-v4.19/arch/h8300/kernel/
Dptrace.c181 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
202 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
203 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
/Linux-v4.19/arch/parisc/kernel/
Dsignal.c360 if (!test_thread_flag(TIF_32BIT)) in setup_rt_frame()
366 if (!test_thread_flag(TIF_32BIT)) in setup_rt_frame()
431 signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP) || in handle_signal()
432 test_thread_flag(TIF_BLOCKSTEP)); in handle_signal()
608 if (test_thread_flag(TIF_SIGPENDING)) in do_notify_resume()
611 if (test_thread_flag(TIF_NOTIFY_RESUME)) { in do_notify_resume()
Dptrace.c311 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
327 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter()
353 int stepping = test_thread_flag(TIF_SINGLESTEP) || in do_syscall_trace_exit()
354 test_thread_flag(TIF_BLOCKSTEP); in do_syscall_trace_exit()
359 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_exit()
363 if (stepping || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_exit()
/Linux-v4.19/arch/sh/kernel/
Dptrace_64.c514 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
523 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter()
538 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_leave()
541 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
542 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
Dptrace_32.c494 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
503 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter()
518 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_leave()
521 step = test_thread_flag(TIF_SINGLESTEP); in do_syscall_trace_leave()
522 if (step || test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_leave()
/Linux-v4.19/arch/powerpc/include/asm/
Dthread_info.h154 #define is_32bit_task() (test_thread_flag(TIF_32BIT))
160 #define is_elf2_task() (test_thread_flag(TIF_ELF2ABI))
/Linux-v4.19/include/linux/
Dthread_info.h97 #define test_thread_flag(flag) \ macro
100 #define tif_need_resched() test_thread_flag(TIF_NEED_RESCHED)
/Linux-v4.19/arch/um/kernel/
Dptrace.c136 if (!test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_enter()
152 if (!test_thread_flag(TIF_SYSCALL_TRACE)) in syscall_trace_leave()
/Linux-v4.19/arch/sparc/include/asm/
Dprocessor_64.h40 (test_thread_flag(TIF_32BIT) ? \
47 #define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
Dthread_info_64.h214 #define is_32bit_task() (test_thread_flag(TIF_32BIT))
230 ((test_thread_flag(TIF_32BIT) && !thread32_stack_is_64bit(__SP)) ? \
Dcompat.h169 if (test_thread_flag(TIF_32BIT)) in arch_compat_alloc_user_space()
240 return test_thread_flag(TIF_32BIT); in is_compat_task()
/Linux-v4.19/arch/s390/kernel/
Dptrace.c159 return test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per()
163 return test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per()
167 return test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per()
171 return test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per()
544 return (__u32) test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per_compat()
548 return (__u32) test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per_compat()
552 return test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per_compat()
556 return (__u32) test_thread_flag(TIF_SINGLE_STEP) ? in __peek_user_per_compat()
847 if (test_thread_flag(TIF_SYSCALL_TRACE) && in do_syscall_trace_enter()
865 if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) in do_syscall_trace_enter()
[all …]
/Linux-v4.19/arch/arm64/include/asm/
Dprocessor.h57 #define TASK_SIZE (test_thread_flag(TIF_32BIT) ? \
70 #define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
/Linux-v4.19/include/trace/
Dsyscall.h40 if (test_thread_flag(TIF_SYSCALL_TRACEPOINT)) in syscall_tracepoint_update()
/Linux-v4.19/arch/nios2/kernel/
Dptrace.c157 if (test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_enter()
165 if (test_thread_flag(TIF_SYSCALL_TRACE)) in do_syscall_trace_exit()

12345