/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/pid/ |
H A D | err.uregswrite1.c | 33 int wait = 1; local 35 while (startup_wait(&wait)) {
|
H A D | tst.uregswrite.c | 41 int wait = 1; local 43 while (startup_wait(&wait)) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | ctl_transact.c | 47 /* the amount of time to wait for a response, in seconds */ 68 struct timeval wait; local 70 wait.tv_sec = CTL_WAIT; 71 wait.tv_usec = 0; 106 0, 0, &wait)) < 0) { 139 timerclear(&wait); 140 nready = select(32, (fd_set *)&read_mask, 0, 0, &wait);
|
H A D | msgs.c | 63 static struct timeval wait = { MSG_INTERVAL, 0}; variable in typeref:struct:timeval 77 itimer.it_value = itimer.it_interval = wait;
|
H A D | io.c | 67 struct timeval wait; local 76 * wait on both the other process (sockt_mask) and 86 wait.tv_sec = A_LONG_TIME; 87 wait.tv_usec = 0; 89 nb = select(32, (fd_set *)&read_set, 0, 0, &wait); 113 pause(); /* wait for Ctrl-C */
|
/illumos-gate/usr/src/lib/libpri/common/ |
H A D | pri.c | 95 * - wait: specifies whether caller wants to wait for a new PRI, 96 * PRI_GET is no-wait, PRI_WAITGET is wait-forever 111 * - If wait time must be bounded, the caller can spawn a thread 134 pri_get(uint8_t wait, uint64_t *token, uint64_t **buf, argument 147 if (wait == PRI_WAITGET) { 148 /* wait until have new PRI with different token */
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | update.c | 199 * Flag indication if we should wait for completion 205 update_map_if_required(map_ctrl *map, bool_t wait) argument 212 if (wait) { 293 if (!wait && (getpid() == parent_pid)) 309 if (wait) {
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | queue.c | 91 dataq_waiter_t wait; local 96 wait.wakeup = 0; 97 (void) pthread_cond_init(&wait.cv, NULL); 99 ll_enqueue(&dataq->waiters, &wait.list); 100 while (wait.wakeup == 0) 101 (void) pthread_cond_wait(&wait.cv, &dataq->lock); 104 (void) pthread_cond_destroy(&wait.cv);
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_uthread.c | 74 /* max wait time for user thread stop */ 99 * can be stopped within the max wait time, CPR will proceed. Otherwise 103 cpr_stop_user(int wait) argument 166 utstop_timedwait(wait);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | waitpid.c | 33 * All of the wait*() functions are cancellation points. 36 #pragma weak _wait = wait 42 #include <wait.h> 49 * Convert the siginfo_t code and status fields to an old style wait status. 111 wait(int *stat_loc) function
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | wait.h | 19 * This file holds definitions relevant to the wait system call. 34 * wait and wait3. If w_stopval==WSTOPPED, then the second structure 37 union wait { union 86 * wait to not hang if there are no stopped or terminated processes, rather 89 * which stop due to signals. If children are stopped and a wait without 93 #define WNOHANG 1 /* dont hang in wait */ 100 extern pid_t csh_wait3(union wait *w, int options, struct rusage *rp);
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | xpak.c | 32 static int xpak_reset(struct cphy *cphy, int wait) argument 135 * Errata #26 states to wait 5 seconds after reset before transceiver
|
H A D | mv88x201x.c | 67 static int mv88x201x_reset(struct cphy *cphy, int wait) argument
|
H A D | my3126.c | 32 static int my3126_reset(struct cphy *cphy, int wait) argument
|
H A D | espi.c | 341 u32 t1_espi_get_mon(adapter_t *adapter, u32 addr, u8 wait) argument 348 if (!wait) { 373 t1_espi_get_mon_t204(adapter_t *adapter, u32 *valp, u8 wait) argument 378 if (!wait) {
|
H A D | mv88e1xxx.c | 74 static int mv88e1xxx_reset(struct cphy *cphy, int wait) argument
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | authdesubr.c | 80 struct timeval *timep, struct timeval *wait) 138 timo = TIMEVAL_TO_TICK(wait); 233 timo = TIMEVAL_TO_TICK(wait); 79 rtime(struct knetconfig *synconfig, struct netbuf *addrp, int calltype, struct timeval *timep, struct timeval *wait) argument
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_queue.c | 62 cond_t *wait; member in struct:queue 70 * queues can operate in one of two modes: timed-wait, and infinite 71 * wait. The timeout parameter specifies which of these modes should 76 cond_t *wait; local 89 if (!(wait = calloc(1, sizeof (*wait)))) { 94 (void) cond_init(wait, USYNC_THREAD, NULL); 105 q->wait = wait; 136 (void) cond_signal(q->wait); [all...] |
/illumos-gate/usr/src/uts/common/io/mlxcx/ |
H A D | mlxcx_dma.c | 283 ddi_dma_attr_t *attrp, boolean_t wait) 288 if (wait == B_TRUE) { 310 const mblk_t *mp, size_t off, boolean_t wait) 316 if (wait == B_TRUE) { 350 size_t size, boolean_t wait) 357 if (wait == B_TRUE) { 406 size_t size, size_t offset, boolean_t wait) 413 if (wait == B_TRUE) { 282 mlxcx_dma_init(mlxcx_t *mlxp, mlxcx_dma_buffer_t *mxdb, ddi_dma_attr_t *attrp, boolean_t wait) argument 309 mlxcx_dma_bind_mblk(mlxcx_t *mlxp, mlxcx_dma_buffer_t *mxdb, const mblk_t *mp, size_t off, boolean_t wait) argument 348 mlxcx_dma_alloc(mlxcx_t *mlxp, mlxcx_dma_buffer_t *mxdb, ddi_dma_attr_t *attrp, ddi_device_acc_attr_t *accp, boolean_t zero, size_t size, boolean_t wait) argument 404 mlxcx_dma_alloc_offset(mlxcx_t *mlxp, mlxcx_dma_buffer_t *mxdb, ddi_dma_attr_t *attrp, ddi_device_acc_attr_t *accp, boolean_t zero, size_t size, size_t offset, boolean_t wait) argument
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | wait.h | 48 * This wait.h is a combination of SunOS's wait.h and SysV wait.h 49 * The structure 'union wait' is taken from SunOS, while the 55 * wait and wait3. If w_stopval==WSTOPPED, then the second structure 58 union wait { union 97 /* ----- begin SysV wait.h ----- */ 107 * arguments to wait functions 110 #define WEXITED 0001 /* wait for processes that have exite */ 111 #define WTRAPPED 0002 /* wait fo [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcmu_cb.c | 131 pcmu_cb_disable_nintr_reg(pcmu_cb_t *pcb_p, pcmu_ib_ino_t ino, int wait) argument 141 if (wait) { 148 /* busy wait if there is interrupt being processed */ 182 pcmu_cb_disable_nintr(pcmu_cb_t *pcb_p, pcmu_cb_nintr_index_t idx, int wait) argument 192 pcmu_cb_disable_nintr_reg(pcb_p, ino, wait);
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_cb.c | 117 cb_disable_nintr_reg(cb_t *cb_p, ib_ino_t ino, int wait) argument 127 if (wait) { 132 /* busy wait if there is interrupt being processed */ 151 cb_disable_nintr(cb_t *cb_p, enum cb_nintr_index idx, int wait) argument 158 cb_disable_nintr_reg(cb_p, ino, wait);
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | bootparams.c | 84 int resp_wait; /* secs to wait for resp */ 107 * Retransmit/wait for up to resp_wait secs. 143 resp_wait = 0; /* go to default wait now. */ 222 int wait; local 268 wait = def_wait; 272 xdr_bp_getfile_res, (caddr_t)&res, rexmit, wait, 285 wait = def_wait; 299 wait, &to, &from, AUTH_NONE); 326 rexmit = wait; 327 wait [all...] |
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nisdb_rw.h | 146 uint32_t wait; /* Blocked on mutex */ member in struct:__nisdb_rwlock
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac_ioctl.h | 86 int32_t wait; member in struct:aac_get_adapter_fib
|