Searched refs:wait (Results 1 - 25 of 95) sorted by last modified time

1234

/haiku/src/system/kernel/fs/
H A Dvfs.cpp346 // 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 Dtraceroute.c342 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 Dspinlock_contention.cpp10 #include <sys/wait.h>
228 wait(&status);
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_send.c79 * 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 Deventlib_p.h175 struct { evWait *this; } wait; member in union:evEvent_p::__anon19
/haiku/src/system/kernel/
H A Dthread.cpp1104 // 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 Dteam.cpp21 #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 Dthread.h180 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 Dthread_types.h487 status_t status; // current wait status
492 } wait; member in struct:BKernel::Thread
/haiku/src/system/kernel/locks/
H A Duser_mutex.cpp29 * 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 Dlibroot_stubs_legacy.c2639 void wait() {} function
H A Dlibroot_stubs.c2649 void wait() {} function
/haiku/src/bin/debug/strace/
H A Dnetwork.cpp135 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 Dsystem_profiler.cpp44 // 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 DNetworkDevice.cpp740 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 DNetworkDevice.h112 status_t Scan(bool wait = true,
/haiku/src/tests/kits/net/netservices2/
H A DTestServer.cpp16 #include <sys/wait.h>
/haiku/src/apps/remotedesktop/
H A DRemoteDesktop.cpp21 #include <sys/wait.h>
/haiku/src/libs/compat/openbsd_network/compat/sys/
H A Dmbuf-obsd.h90 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 Drt2860.c253 /* 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 Dmbuf.h295 struct mbuf * m_copym(struct mbuf *m, int off0, int len, int wait);
/haiku/src/system/libroot/posix/unistd/
H A Dsystem.cpp12 #include <sys/wait.h>
/haiku/src/add-ons/accelerants/intel_extreme/
H A Dmode.cpp281 // 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 DShell.cpp30 #include <sys/wait.h>
180 wait(&status);
/haiku/src/system/kernel/arch/arm64/
H A Darch_uart_linflex.cpp133 ArchUARTlinflex::GetChar(bool wait) argument
142 if (wait) {
155 if (wait) {

Completed in 511 milliseconds

1234