Searched refs:THREAD_FLAGS_RESTART_SYSCALL (Results 1 – 12 of 12) sorted by relevance
/haiku/headers/private/kernel/ |
H A D | syscall_restart.h | 73 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 D | thread_types.h | 837 #define THREAD_FLAGS_RESTART_SYSCALL 0x0080 macro
|
/haiku/src/system/kernel/arch/riscv64/ |
H A D | arch_int.cpp | 163 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 D | entry_compat.S | 291 | THREAD_FLAGS_RESTART_SYSCALL | THREAD_FLAGS_SYSCALL_RESTARTED) \ 378 testl $THREAD_FLAGS_RESTART_SYSCALL, THREAD_flags(%r12)
|
H A D | interrupts.S | 469 | THREAD_FLAGS_TRAP_FOR_CORE_DUMP | THREAD_FLAGS_RESTART_SYSCALL) \ 539 testl $THREAD_FLAGS_RESTART_SYSCALL, THREAD_flags(%r12)
|
H A D | thread.cpp | 86 atomic_and(&thread->flags, ~THREAD_FLAGS_RESTART_SYSCALL); in x86_restart_syscall()
|
/haiku/src/system/kernel/arch/arm/ |
H A D | arch_int.cpp | 289 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 D | signal.cpp | 907 ~(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 D | thread.cpp | 3634 atomic_or(&thread->flags, THREAD_FLAGS_RESTART_SYSCALL); in _user_snooze_etc()
|
/haiku/src/system/kernel/arch/x86/32/ |
H A D | interrupts.S | 645 | THREAD_FLAGS_RESTART_SYSCALL | THREAD_FLAGS_SYSCALL_RESTARTED) \ 718 testl $THREAD_FLAGS_RESTART_SYSCALL, THREAD_flags(%edi)
|
H A D | thread.cpp | 89 atomic_and(&thread->flags, ~THREAD_FLAGS_RESTART_SYSCALL); in x86_restart_syscall()
|
/haiku/src/system/kernel/arch/arm64/ |
H A D | arch_int.cpp | 371 if ((THREAD_FLAGS_RESTART_SYSCALL & thread_get_current_thread()->flags) != 0) { in do_sync_handler()
|