Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 363) 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.c68 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 Dio.c67 struct timeval wait; in talk() local
86 wait.tv_sec = A_LONG_TIME; in talk()
87 wait.tv_usec = 0; in talk()
89 nb = select(32, (fd_set *)&read_set, 0, 0, &wait); in talk()
/illumos-gate/usr/src/cmd/syslogd/
H A Dqueue.c91 dataq_waiter_t wait; in dataq_dequeue() local
96 wait.wakeup = 0; in dataq_dequeue()
97 (void) pthread_cond_init(&wait.cv, NULL); in dataq_dequeue()
99 ll_enqueue(&dataq->waiters, &wait.list); in dataq_dequeue()
100 while (wait.wakeup == 0) in dataq_dequeue()
101 (void) pthread_cond_wait(&wait.cv, &dataq->lock); in dataq_dequeue()
104 (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/bhyve/
H A Drfb.h39 int rfb_init(char *hostname, int port, int wait, char *password,
41 int rfb_init_unix(const char *path, int wait, char *password,
44 int rfb_init(char *hostname, int port, int wait, char *password);
/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.h58 union wait { union
152 extern pid_t wait(int *);
160 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()
945 timespec_t *wait = NULL; in __aio_waitn() local
989 wait = &twait; in __aio_waitn()
1008 &kwaitcnt, wait); in __aio_waitn()
1053 wait = &twait; in __aio_waitn()
1082 &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()

12345678910>>...15