/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 346 // How long to wait for busy vnodes (10s) 881 This will also wait for BUSY_VNODE_DELAY before returning if one should 882 still wait for the vnode becoming unbusy. 1161 // which are also Busy will disappear soon, so we do not wait for them. 1716 /*! Acquires an advisory lock for the \a vnode. If \a wait is \c true, it 1717 will wait for the lock to become available, if there are any collisions 1718 (it will return B_PERMISSION_DENIED in this case if \a wait is \c false). 1727 struct file_descriptor* descriptor, struct flock* flock, bool wait) 1729 FUNCTION(("acquire_advisory_lock(vnode = %p, flock = %p, wait = %s)\n", 1730 vnode, flock, wait 1726 acquire_advisory_lock(struct vnode* vnode, io_context* context, struct file_descriptor* descriptor, struct flock* flock, bool wait) argument [all...] |
/haiku/src/bin/network/traceroute/ |
H A D | traceroute.c | 342 int waittime = 5; /* time to wait for response (in seconds) */ 699 waittime = str2val(optarg, "wait time", 1250 struct timeval now, wait; local 1261 wait.tv_sec = tp->tv_sec + waittime; 1262 wait.tv_usec = tp->tv_usec; 1264 tvsub(&wait, &now); 1265 if (wait.tv_sec < 0) { 1266 wait.tv_sec = 0; 1267 wait.tv_usec = 1; 1270 error = select(sock + 1, fdsp, NULL, NULL, &wait); [all...] |
/haiku/src/tests/system/kernel/ |
H A D | spinlock_contention.cpp | 10 #include <sys/wait.h> 228 wait(&status);
|
/haiku/src/system/libnetwork/netresolv/resolv/ |
H A D | res_send.c | 79 * Send query to name server and wait for reply. 834 * wait for the correct one. 974 wait: 1017 goto wait; 1024 goto wait; 1057 goto wait; 1070 goto wait; 1100 goto wait;
|
/haiku/src/system/libnetwork/netresolv/isc/ |
H A D | eventlib_p.h | 175 struct { evWait *this; } wait; member in union:evEvent_p::__anon19
|
/haiku/src/system/kernel/ |
H A D | thread.cpp | 1104 // wait for a thread to bury 1171 && thread->wait.type == THREAD_BLOCK_TYPE_SEMAPHORE) { 1172 return (sem_id)(addr_t)thread->wait.object; 1194 switch (thread->wait.type) { 1201 sem_id sem = (sem_id)(addr_t)thread->wait.object; 1642 switch (thread->wait.type) { 1648 sem_id sem = (sem_id)(addr_t)thread->wait.object; 1674 kprintf("%-*s id state wait for %-*s cpu pri %-*s team " 1690 switch (thread->wait.type) { 1693 sem_id sem = (sem_id)(addr_t)thread->wait [all...] |
H A D | team.cpp | 21 #include <sys/wait.h> 343 out.Print("team wait for child, child: %" B_PRId32 ", " 376 out.Print("team wait for child done, team: %" B_PRId32 ", " 381 out.Print("team wait for child failed, error: " 1888 // wait for the loader of the new team to finish its work 1895 // Now wait until loading is finished. We will be woken either by the 1905 panic("team loading wait complete, but loading_info != NULL"); 2520 // A 0 child argument means to wait for all children in the process 2546 // there is no child we could wait for 2556 // unless WNOWAIT has been specified, "consume" the wait stat [all...] |
/haiku/headers/private/kernel/ |
H A D | thread.h | 180 blocking it with the given wait/interrupt flags. 217 return atomic_get(&thread->wait.status) == 1; 224 (IOW, to let it wait for someone else to unblock it or optionally time out 267 - Check client condition and compare with block result. E.g. if the wait was 302 Care must be taken when the wait can be interrupted or can time out, 329 thread->wait.flags = flags; 330 thread->wait.type = type; 331 thread->wait.object = object; 332 atomic_set(&thread->wait.status, 1); 354 if (atomic_test_and_set(&thread->wait [all...] |
H A D | thread_types.h | 487 status_t status; // current wait status 492 } wait; member in struct:BKernel::Thread
|
/haiku/src/system/kernel/locks/ |
H A D | user_mutex.cpp | 29 * a "read" lock before initiating a wait, and an unblocker acquires a "write" 171 if (thread->wait.type != THREAD_BLOCK_TYPE_CONDITION_VARIABLE) { 176 ConditionVariable* variable = (ConditionVariable*)thread->wait.object; 622 // unset WAITING, because otherwise some other thread could initiate a wait.
|
/haiku/src/system/libroot/stubbed/ |
H A D | libroot_stubs_legacy.c | 2639 void wait() {} function
|
H A D | libroot_stubs.c | 2649 void wait() {} function
|
/haiku/src/bin/debug/strace/ |
H A D | network.cpp | 135 Syscall *wait = get_syscall("_kern_wait_for_child"); local 136 wait->ParameterAt(2)->SetOut(true); 137 wait->ParameterAt(3)->SetOut(true);
|
/haiku/src/system/kernel/debug/ |
H A D | system_profiler.cpp | 44 // minimum/maximum size of the table used for wait object caching 289 // compute the number wait objects we want to cache 317 // stop wait object listening 355 // delete wait object related allocations 394 // allocate the wait object buffer and init the hash table 507 // start scheduler and wait object listening 769 if (thread->wait.type != THREAD_BLOCK_TYPE_CONDITION_VARIABLE) 808 // If the old thread starts waiting, handle the wait object. 810 _WaitObjectUsed((addr_t)oldThread->wait.object, oldThread->wait [all...] |
/haiku/src/kits/network/libnetapi/ |
H A D | NetworkDevice.cpp | 740 BNetworkDevice::Scan(bool wait, bool forceRescan) argument 783 if (wait) 814 // one, which we of course don't want to wait for. So just return immediately 821 if (!wait || status != B_OK) {
|
/haiku/headers/os/net/ |
H A D | NetworkDevice.h | 112 status_t Scan(bool wait = true,
|
/haiku/src/tests/kits/net/netservices2/ |
H A D | TestServer.cpp | 16 #include <sys/wait.h>
|
/haiku/src/apps/remotedesktop/ |
H A D | RemoteDesktop.cpp | 21 #include <sys/wait.h>
|
/haiku/src/libs/compat/openbsd_network/compat/sys/ |
H A D | mbuf-obsd.h | 90 m_dup_pkt(struct mbuf *m0, unsigned int adj, int wait) argument 101 m = m_get(wait, m0->m_type); 105 if (m_dup_pkthdr(m, m0, wait) != 0) 109 MCLGETL(m, wait, len);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/ |
H A D | rt2860.c | 253 /* wait for NIC to initialize */ 2173 rt2860_mcu_cmd(struct rt2860_softc *sc, uint8_t cmd, uint16_t arg, int wait) argument 2187 cid = wait ? cmd : RT2860_TOKEN_NO_INTR; 2192 if (!wait) 2194 /* wait for the command to complete */ 3668 /* wait for BBP to wake up */ 3907 /* wait while MAC is busy */ 4150 /* wait until microcontroller is ready */
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | mbuf.h | 295 struct mbuf * m_copym(struct mbuf *m, int off0, int len, int wait);
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | system.cpp | 12 #include <sys/wait.h>
|
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | mode.cpp | 281 // anymore that's why we don't wait forever for it. At 50Hz, we're sure 282 // to get a vblank in at most 20ms, so there is no need to wait longer 401 // wait for warmup (Can be done anytime before enabling port) 407 // a. Enable PCH 120MHz clock source output to CPU, wait for DMI 410 // register, wait for warmup 416 // a. Enable PCH FDI Receiver PLL, wait for warmup plus DMI latency 418 // c. [DevSNB] Enable CPU FDI Transmitter PLL, wait for warmup 457 c. Configure and enable PCH DPLL, wait for PCH DPLL warmup (Can be done anytime before enabling
|
/haiku/src/apps/terminal/ |
H A D | Shell.cpp | 30 #include <sys/wait.h> 180 wait(&status);
|
/haiku/src/system/kernel/arch/arm64/ |
H A D | arch_uart_linflex.cpp | 133 ArchUARTlinflex::GetChar(bool wait) argument 142 if (wait) { 155 if (wait) {
|