Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_queue.c62 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 Diocpu.d42 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 Dctl_transact.c66 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 Dio.c65 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 Dqueue.c89 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 Dwait.h35 __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/cmd/dtrace/test/tst/common/ip/
H A Dtst.remotetcpstate.ksh.out9 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 Dtst.localtcpstate.ksh.out10 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 Dwait1 /* : : 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 Dwait1 /* : : 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 Dwait1 /* : : 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 Dwait1 /* : : 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/stand/lib/fs/nfs/
H A Dmount.c387 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 Dbootparams.c222 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 Dclnt.h197 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/mdb/common/kmdb/
H A Dkmdb_promif.c55 kmdb_prom_getchar(int wait) in kmdb_prom_getchar() argument
65 if (!wait) 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
307 kmdb_prom_fill_readbuf(0, wait); in kmdb_prom_read()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dwait1 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 Dmlxcx_dma.c283 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 Dupdate.c205 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/ucbhead/sys/
H A Dwait.h56 union wait { union
150 extern pid_t wait(int *);
158 extern pid_t wait();
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/pid/
H A Derr.uregswrite1.c33 int wait = 1; in main() local
35 while (startup_wait(&wait)) { in main()
H A Dtst.uregswrite.c41 int wait = 1; in main() local
43 while (startup_wait(&wait)) { in main()
/illumos-gate/usr/src/lib/libc/port/aio/
H A Dposix_aio.c347 timespec_t *wait = NULL; in __aio_suspend() local
486 wait = &twait; in __aio_suspend()
489 wait = &twait; in __aio_suspend()
564 list, nent, wait, -1); in __aio_suspend()
606 &__aio_mutex, wait); in __aio_suspend()
944 timespec_t *wait = NULL; in __aio_waitn() local
988 wait = &twait; in __aio_waitn()
1007 &kwaitcnt, wait); in __aio_waitn()
1052 wait = &twait; in __aio_waitn()
1081 &kwaitcnt, wait); in __aio_waitn()
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Dnisdb_rw.c267 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/amt/
H A Damt.c211 (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()

12345678910>>...15