/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_queue.c | 62 cond_t *wait; member 76 cond_t *wait; in slp_new_queue() local 89 if (!(wait = calloc(1, sizeof (*wait)))) { in slp_new_queue() 94 (void) cond_init(wait, USYNC_THREAD, NULL); in slp_new_queue() 105 q->wait = wait; in slp_new_queue() 136 (void) cond_signal(q->wait); in slp_enqueue() 161 (void) cond_signal(q->wait); in slp_enqueue_at_head() 208 err = cond_timedwait(q->wait, q->lock, to); in slp_dequeue_timed() 210 err = cond_wait(q->wait, q->lock); in slp_dequeue_timed() 256 (void) cond_destroy(q->wait); in slp_destroy_queue() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/demo/io/ |
H A D | iocpu.d | 42 io:::wait-start 45 self->wait = timestamp; 48 io:::wait-done 49 /self->wait/ 51 @io[args[2]->fi_name] = sum(timestamp - self->wait); 52 @time["<I/O wait>"] = sum(timestamp - self->wait); 53 self->wait = 0;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | ctl_transact.c | 66 struct timeval wait; local 68 wait.tv_sec = CTL_WAIT; 69 wait.tv_usec = 0; 104 0, 0, &wait)) < 0) { 137 timerclear(&wait); 138 nready = select(32, (fd_set *)&read_mask, 0, 0, &wait);
|
H A D | io.c | 65 struct timeval wait; in talk() local 84 wait.tv_sec = A_LONG_TIME; in talk() 85 wait.tv_usec = 0; in talk() 87 nb = select(32, (fd_set *)&read_set, 0, 0, &wait); in talk()
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | queue.c | 89 dataq_waiter_t wait; in dataq_dequeue() local 94 wait.wakeup = 0; in dataq_dequeue() 95 (void) pthread_cond_init(&wait.cv, NULL); in dataq_dequeue() 97 ll_enqueue(&dataq->waiters, &wait.list); in dataq_dequeue() 98 while (wait.wakeup == 0) in dataq_dequeue() 99 (void) pthread_cond_wait(&wait.cv, &dataq->lock); in dataq_dequeue() 102 (void) pthread_cond_destroy(&wait.cv); in dataq_dequeue()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | wait.h | 35 __STDPP__directive pragma pp:hide wait waitpid 37 #define wait ______wait 42 __STDPP__directive pragma pp:nohide wait waitpid 44 #undef wait 95 extern pid_t wait(int*);
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | mount.c | 387 struct timeval wait; in nfs4init() local 393 wait.tv_sec = RPC_RCVWAIT_MSEC / 1000; in nfs4init() 394 wait.tv_usec = 0; in nfs4init() 409 NFS_V4, wait, &fd, in nfs4init() 424 xdr_void, NULL, wait); in nfs4init() 561 struct timeval wait; in boot_nfs_mountroot() local 656 wait.tv_sec = RPC_RCVWAIT_MSEC / 1000; in boot_nfs_mountroot() 657 wait.tv_usec = 0; in boot_nfs_mountroot() 677 wait.tv_sec = ival / 10; in boot_nfs_mountroot() 678 wait.tv_usec = (ival % 10) * 100000; in boot_nfs_mountroot() [all …]
|
H A D | bootparams.c | 222 int wait; in getfile() local 268 wait = def_wait; in getfile() 272 xdr_bp_getfile_res, (caddr_t)&res, rexmit, wait, in getfile() 285 wait = def_wait; in getfile() 299 wait, &to, &from, AUTH_NONE); in getfile() 326 rexmit = wait; in getfile() 327 wait = def_wait; in getfile()
|
H A D | clnt.h | 197 rpcvers_t version, struct timeval wait, 200 rpcvers_t version, struct timeval wait, 217 rpcvers_t version, struct timeval wait,
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ip/ |
H A D | tst.remotetcpstate.ksh.out | 9 tcp:::state-change to fin-wait-1 - yes 10 tcp:::state-change to close-wait - yes 11 tcp:::state-change to fin-wait-2 - yes 12 tcp:::state-change to time-wait - yes
|
H A D | tst.localtcpstate.ksh.out | 10 tcp:::state-change to fin-wait-1 - yes 11 tcp:::state-change to close-wait - yes 12 tcp:::state-change to fin-wait-2 - yes 14 tcp:::state-change to time-wait - yes
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | wait | 1 /* : : generated from contrib/ast/src/lib/libast/features/wait by iffe version 2012-07-17 : : */ 5 #define _lib_wait 1 /* wait() in default lib(s) */ 9 #define _sys_wait 1 /* #include <sys/wait.h> ok */ 10 #define _ok_wif 1 /* posix wait macros ok */
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | wait | 1 /* : : generated from contrib/ast/src/lib/libast/features/wait by iffe version 2012-07-17 : : */ 5 #define _lib_wait 1 /* wait() in default lib(s) */ 9 #define _sys_wait 1 /* #include <sys/wait.h> ok */ 10 #define _ok_wif 1 /* posix wait macros ok */
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | wait | 1 /* : : generated from contrib/ast/src/lib/libast/features/wait by iffe version 2012-07-17 : : */ 5 #define _lib_wait 1 /* wait() in default lib(s) */ 9 #define _sys_wait 1 /* #include <sys/wait.h> ok */ 10 #define _ok_wif 1 /* posix wait macros ok */
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | wait | 1 /* : : generated from contrib/ast/src/lib/libast/features/wait by iffe version 2012-07-17 : : */ 5 #define _lib_wait 1 /* wait() in default lib(s) */ 9 #define _sys_wait 1 /* #include <sys/wait.h> ok */ 10 #define _ok_wif 1 /* posix wait macros ok */
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_promif.c | 55 kmdb_prom_getchar(int wait) in kmdb_prom_getchar() argument 65 if (!wait) in kmdb_prom_getchar() 75 if (!wait && ischar != 0 && !kmdb_dpi_call(ischar, 1, &arg)) in kmdb_prom_getchar() 99 kmdb_prom_reader(caddr_t buf, size_t len, int wait) in kmdb_prom_reader() argument 105 if ((c = kmdb_prom_getchar(wait)) == -1) in kmdb_prom_reader() 110 wait = 0; in kmdb_prom_reader() 227 kmdb_prom_fill_readbuf(int check_for_int, int wait) in kmdb_prom_fill_readbuf() argument 248 kmdb_prom_readbuf_head, left, wait)) <= 0) in kmdb_prom_fill_readbuf() 265 kmdb_prom_readbuf_head, left, wait)) <= 0) in kmdb_prom_fill_readbuf() 304 int wait = 1; in kmdb_prom_read() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | wait | 1 lib wait,wait2,wait3,wait4,waitpid 2 tst ok_wif sys/types.h sys/wait.h note{ posix wait macros ok }end compile{
|
/illumos-gate/usr/src/uts/common/io/mlxcx/ |
H A D | mlxcx_dma.c | 283 ddi_dma_attr_t *attrp, boolean_t wait) in mlxcx_dma_init() argument 288 if (wait == B_TRUE) { in mlxcx_dma_init() 310 const mblk_t *mp, size_t off, boolean_t wait) in mlxcx_dma_bind_mblk() argument 316 if (wait == B_TRUE) { in mlxcx_dma_bind_mblk() 350 size_t size, boolean_t wait) in mlxcx_dma_alloc() argument 357 if (wait == B_TRUE) { in mlxcx_dma_alloc() 406 size_t size, size_t offset, boolean_t wait) in mlxcx_dma_alloc_offset() argument 413 if (wait == B_TRUE) { in mlxcx_dma_alloc_offset()
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | update.c | 205 update_map_if_required(map_ctrl *map, bool_t wait) in update_map_if_required() argument 212 if (wait) { in update_map_if_required() 293 if (!wait && (getpid() == parent_pid)) in update_map_if_required() 309 if (wait) { in update_map_if_required()
|
/illumos-gate/usr/src/lib/libc/port/aio/ |
H A D | posix_aio.c | 346 timespec_t *wait = NULL; in __aio_suspend() local 485 wait = &twait; in __aio_suspend() 488 wait = &twait; in __aio_suspend() 552 wait->tv_sec = hrtres / (hrtime_t)NANOSEC; in __aio_suspend() 553 wait->tv_nsec = hrtres % (hrtime_t)NANOSEC; in __aio_suspend() 563 list, nent, wait, -1); in __aio_suspend() 591 wait->tv_sec = hrtres / (hrtime_t)NANOSEC; in __aio_suspend() 592 wait->tv_nsec = hrtres % (hrtime_t)NANOSEC; in __aio_suspend() 605 &__aio_mutex, wait); in __aio_suspend() 943 timespec_t *wait = NULL; in __aio_waitn() local [all …]
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | wait.h | 56 union wait { union 150 extern pid_t wait(int *); 158 extern pid_t wait();
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nisdb_rw.c | 267 rr->wait = 1; in __nisdb_wlock_trylock() 272 rr->wait = 0; in __nisdb_wlock_trylock() 284 rr->wait = 0; in __nisdb_wlock_trylock() 377 rr->wait = 1; in __nisdb_rlock() 382 rr->wait = 0; in __nisdb_rlock() 394 rr->wait = 0; in __nisdb_rlock() 718 if (rw->writer.wait) in __nisdb_lock_report() 734 (r->wait ? " (blocked)" : "")); in __nisdb_lock_report()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/pid/ |
H A D | err.uregswrite1.c | 33 int wait = 1; in main() local 35 while (startup_wait(&wait)) { in main()
|
H A D | tst.uregswrite.c | 41 int wait = 1; in main() local 43 while (startup_wait(&wait)) { in main()
|
/illumos-gate/usr/src/cmd/amt/ |
H A D | amt.c | 211 (void) wait(&status); in data_boundary_test() 310 (void) wait(&status); in text_area_not_writeable() 481 (void) wait(0); in memory_allocation_not_shared() 519 (void) wait(&status); in test_stack_end_of_hole() 541 (void) wait(&status); in test_stack_end_of_hole() 565 (void) wait(&status); in test_stack_end_of_hole()
|