Searched refs:timeout (Results 1 - 25 of 385) sorted by relevance

1234567891011>>

/haiku/src/system/kernel/arch/ppc/
H A Darch_timer.cpp19 arch_timer_set_hardware_timer(bigtime_t timeout) argument
23 if(timeout < 1000)
24 timeout = 1000;
26 new_val_64 = (timeout * sTickRate) / 1000000;
/haiku/src/libs/compat/freebsd_network/
H A Dsystm.cpp16 _pause(const char* waitMessage, int timeout) argument
18 KASSERT(timeout != 0, ("pause: timeout required"));
19 return snooze(ticks_to_usecs(timeout));
H A Dcondvar.c25 int cv_timedwait(struct cv* variable, struct mtx* mutex, int timeout) argument
30 status = conditionTimedWait(variable, timeout);
H A Dsynch.c17 const char* description, int timeout)
29 status = publishedConditionTimedWait(identifier, timeout);
16 msleep(void* identifier, struct mtx* mutex, int priority, const char* description, int timeout) argument
/haiku/headers/private/kernel/arch/
H A Dtimer.h16 extern void arch_timer_set_hardware_timer(bigtime_t timeout);
/haiku/headers/private/kernel/
H A Dsyscall_restart.h14 /*! Helper function for syscalls with relative timeout.
15 Converts the given relative timeout to an absolute timeout or retrieves
17 restarted. A negative value means infinite timeout.
20 syscall_restart_handle_timeout_pre(bigtime_t& timeout) argument
22 // If restarted, get the timeout from the restart parameters. Otherwise
23 // convert relative timeout to an absolute one.
26 timeout = *(bigtime_t*)thread->syscall_restart.parameters;
27 else if (timeout >= 0) {
28 timeout
42 syscall_restart_handle_timeout_pre(uint32& flags, bigtime_t& timeout) argument
67 syscall_restart_handle_timeout_post(status_t error, bigtime_t timeout) argument
[all...]
H A Duser_mutex.h19 bigtime_t timeout);
22 const char* name, uint32 flags, bigtime_t timeout);
24 bigtime_t timeout);
H A Dport.h47 bigtime_t timeout);
58 bigtime_t timeout);
62 bigtime_t timeout);
66 uint32 flags, bigtime_t timeout);
69 size_t bufferSize, uint32 flags, bigtime_t timeout);
72 bigtime_t timeout);
/haiku/src/system/kernel/arch/m68k/
H A Darch_timer.cpp23 arch_timer_set_hardware_timer(bigtime_t timeout) argument
25 M68KPlatform::Default()->SetHardwareTimer(timeout);
/haiku/src/system/libroot/os/
H A Dwait_for_objects.cpp20 bigtime_t timeout)
22 return _kern_wait_for_objects(infos, numInfos, flags, timeout);
19 wait_for_objects_etc(object_wait_info* infos, int numInfos, uint32 flags, bigtime_t timeout) argument
/haiku/src/system/libroot/posix/
H A Dpoll.c19 poll(struct pollfd *fds, nfds_t numfds, int timeout) argument
21 RETURN_AND_SET_ERRNO_TEST_CANCEL(_kern_poll(fds, numfds, timeout * 1000LL));
/haiku/headers/private/net/
H A DSocketMessenger.h19 bigtime_t timeout = B_INFINITE_TIMEOUT);
26 bigtime_t timeout = B_INFINITE_TIMEOUT);
28 bigtime_t timeout = B_INFINITE_TIMEOUT);
37 bigtime_t timeout = B_INFINITE_TIMEOUT);
40 bigtime_t timeout = B_INFINITE_TIMEOUT);
46 bigtime_t timeout = B_INFINITE_TIMEOUT);
55 status_t _WaitForMessage(bigtime_t timeout);
59 BMessage& _reply, bigtime_t timeout);
/haiku/src/system/libroot/posix/sys/
H A Dselect.c37 bigtime_t timeout = -1LL; local
39 timeout = tv->tv_sec * 1000000LL + tv->tv_nsec / 1000LL;
44 status = _kern_select(numBits, readBits, writeBits, errorBits, timeout,
57 bigtime_t timeout = -1LL; local
59 timeout = tv->tv_sec * 1000000LL + tv->tv_nsec / 1000LL;
61 status = _kern_select(numBits, readBits, writeBits, errorBits, timeout,
73 bigtime_t timeout = -1LL; local
75 timeout = tv->tv_sec * 1000000LL + tv->tv_usec;
77 status = _kern_select(numBits, readBits, writeBits, errorBits, timeout,
/haiku/src/apps/cortex/NodeManager/
H A DAddOnHost.h61 bigtime_t timeout=B_INFINITE_TIMEOUT);
70 bigtime_t timeout=B_INFINITE_TIMEOUT);
74 bigtime_t timeout=B_INFINITE_TIMEOUT);
/haiku/src/system/kernel/arch/mips/
H A Darch_timer.cpp13 void arch_timer_set_hardware_timer(time_t timeout) argument
/haiku/src/system/libroot/posix/signal/
H A Dsigtimedwait.cpp20 const struct timespec* timeout)
27 // translate the timeout
30 if (timeout != NULL) {
33 timeoutMicros += (bigtime_t)timeout->tv_sec * 1000000
34 + timeout->tv_nsec / 1000;
19 sigtimedwait(const sigset_t* set, siginfo_t* info, const struct timespec* timeout) argument
/haiku/src/system/kernel/arch/sparc/
H A Darch_timer.cpp17 arch_timer_set_hardware_timer(bigtime_t timeout) argument
/haiku/src/system/kernel/arch/riscv64/
H A Darch_timer.cpp17 arch_timer_set_hardware_timer(bigtime_t timeout) argument
/haiku/src/libs/posix_error_mapper/
H A Dpthread_rwlock.cpp33 (pthread_rwlock_t *lock, const struct timespec *timeout),
34 return B_TO_POSITIVE_ERROR(sReal_pthread_rwlock_timedrdlock(lock, timeout));
49 (pthread_rwlock_t *lock, const struct timespec *timeout),
50 return B_TO_POSITIVE_ERROR(sReal_pthread_rwlock_timedwrlock(lock, timeout));
/haiku/headers/os/net/
H A DProxySecureSocket.h17 bigtime_t timeout = B_INFINITE_TIMEOUT);
24 bigtime_t timeout = B_INFINITE_TIMEOUT);
H A DAbstractSocket.h31 bigtime_t timeout = B_INFINITE_TIMEOUT) = 0;
35 virtual status_t SetTimeout(bigtime_t timeout);
43 virtual status_t WaitForReadable(bigtime_t timeout
45 virtual status_t WaitForWritable(bigtime_t timeout
54 bigtime_t timeout = B_INFINITE_TIMEOUT);
61 status_t _WaitFor(int flags, bigtime_t timeout) const;
/haiku/headers/private/shared/
H A DRWLocker.h35 // locker has been deleted, or, if a timeout occured. Therefore
89 status_t ReadLockWithTimeout(bigtime_t timeout);
94 status_t WriteLockWithTimeout(bigtime_t timeout);
107 status_t _ReadLock(bigtime_t timeout);
108 status_t _WriteLock(bigtime_t timeout);
118 bigtime_t timeout);
/haiku/src/apps/bootmanager/
H A DDefaultPartitionPage.cpp37 // The timeout code to wait indefinitely
38 // Note: The timeout is encoded in seconds, -1 indicates to wait indefinitely
43 int32 timeout; member in struct:TimeoutOption
64 get_index_for_timeout(int32 timeout) argument
68 if (gTimeoutOptions[i].timeout == timeout)
71 if (gTimeoutOptions[i].timeout == kDefaultTimeout)
82 return gTimeoutOptions[0].timeout;
84 return gTimeoutOptions[kNumberOfTimeoutOptions-1].timeout;
85 return gTimeoutOptions[index].timeout;
90 get_label_for_timeout(int32 timeout) argument
145 int32 timeout = get_timeout_for_index(sliderValue); local
192 int32 timeout; local
253 _GetTimeoutLabel(int32 timeout, BString& label) argument
[all...]
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/
H A DKPPPUtils.h33 // These are very simple send/receive_data functions with a timeout
37 size_t buffer_size, uint32 timeout);
39 void *buffer, size_t buffer_size, uint32 timeout);
/haiku/src/apps/cortex/support/
H A DSimpleLockable.h60 bigtime_t timeout=B_INFINITE_TIMEOUT) {
62 return m_lock.LockWithTimeout(timeout) == B_OK;
58 lock( lock_t type=WRITE, bigtime_t timeout=B_INFINITE_TIMEOUT) argument

Completed in 417 milliseconds

1234567891011>>