Home
last modified time | relevance | path

Searched refs:THREAD_FLAGS_RESTART_SYSCALL (Results 1 – 12 of 12) sorted by relevance

/haiku/headers/private/kernel/
H A Dsyscall_restart.h73 atomic_or(&thread->flags, THREAD_FLAGS_RESTART_SYSCALL); in syscall_restart_handle_timeout_post()
86 atomic_or(&thread->flags, THREAD_FLAGS_RESTART_SYSCALL); in syscall_restart_handle_post()
150 atomic_or(&fThread->flags, THREAD_FLAGS_RESTART_SYSCALL); in ~SyscallRestartWrapper()
H A Dthread_types.h837 #define THREAD_FLAGS_RESTART_SYSCALL 0x0080 macro
/haiku/src/system/kernel/arch/riscv64/
H A Darch_int.cpp163 if ((THREAD_FLAGS_RESTART_SYSCALL & thread_get_current_thread()->flags) != 0) { in STrap()
164 atomic_and(&thread_get_current_thread()->flags, ~THREAD_FLAGS_RESTART_SYSCALL); in STrap()
/haiku/src/system/kernel/arch/x86/64/
H A Dentry_compat.S291 | THREAD_FLAGS_RESTART_SYSCALL | THREAD_FLAGS_SYSCALL_RESTARTED) \
378 testl $THREAD_FLAGS_RESTART_SYSCALL, THREAD_flags(%r12)
H A Dinterrupts.S469 | THREAD_FLAGS_TRAP_FOR_CORE_DUMP | THREAD_FLAGS_RESTART_SYSCALL) \
539 testl $THREAD_FLAGS_RESTART_SYSCALL, THREAD_flags(%r12)
H A Dthread.cpp86 atomic_and(&thread->flags, ~THREAD_FLAGS_RESTART_SYSCALL); in x86_restart_syscall()
/haiku/src/system/kernel/arch/arm/
H A Darch_int.cpp289 if ((thread_get_current_thread()->flags & THREAD_FLAGS_RESTART_SYSCALL) != 0) { in arch_arm_syscall()
290 atomic_and(&thread_get_current_thread()->flags, ~THREAD_FLAGS_RESTART_SYSCALL); in arch_arm_syscall()
/haiku/src/system/kernel/
H A Dsignal.cpp907 ~(THREAD_FLAGS_RESTART_SYSCALL | THREAD_FLAGS_64_BIT_SYSCALL_RETURN)); in setup_signal_frame()
1090 atomic_and(&thread->flags, ~THREAD_FLAGS_RESTART_SYSCALL); in handle_signals()
1247 atomic_and(&thread->flags, ~THREAD_FLAGS_RESTART_SYSCALL); in handle_signals()
1292 atomic_or(&thread->flags, THREAD_FLAGS_RESTART_SYSCALL); in handle_signals()
1296 atomic_and(&thread->flags, ~THREAD_FLAGS_RESTART_SYSCALL); in handle_signals()
2512 ~(THREAD_FLAGS_RESTART_SYSCALL | THREAD_FLAGS_64_BIT_SYSCALL_RETURN)); in _user_restore_signal_frame()
2514 & (THREAD_FLAGS_RESTART_SYSCALL | THREAD_FLAGS_64_BIT_SYSCALL_RETURN)); in _user_restore_signal_frame()
H A Dthread.cpp3634 atomic_or(&thread->flags, THREAD_FLAGS_RESTART_SYSCALL); in _user_snooze_etc()
/haiku/src/system/kernel/arch/x86/32/
H A Dinterrupts.S645 | THREAD_FLAGS_RESTART_SYSCALL | THREAD_FLAGS_SYSCALL_RESTARTED) \
718 testl $THREAD_FLAGS_RESTART_SYSCALL, THREAD_flags(%edi)
H A Dthread.cpp89 atomic_and(&thread->flags, ~THREAD_FLAGS_RESTART_SYSCALL); in x86_restart_syscall()
/haiku/src/system/kernel/arch/arm64/
H A Darch_int.cpp371 if ((THREAD_FLAGS_RESTART_SYSCALL & thread_get_current_thread()->flags) != 0) { in do_sync_handler()