Searched defs:wait (Results 51 - 75 of 116) sorted by relevance

12345

/illumos-gate/usr/src/cmd/svc/startd/
H A Dfork.c44 #include <sys/wait.h>
614 fork_rc_script(char rl, const char *arg, boolean_t wait) argument
652 if (wait) {
1090 * gracetime specifies an amount of time in seconds which the routine must wait
1170 * wait for it-- it's possible that we could accumulate
/illumos-gate/usr/src/cmd/svc/svcprop/
H A Dsvcprop.c110 static int wait = 0; /* Wait mode. */ variable
836 gettext("Cannot wait for an instance.\n"));
885 gettext("Cannot wait for a service.\n"));
1025 if (cflag || sflag || wait)
1032 if (Cflag || sflag || wait)
1054 if (Cflag || cflag || wait)
1071 wait = 1;
1127 if (wait) {
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsubr_mchain.c955 m_copym(mblk_t *m, int off, int len, int wait) argument
1030 int wait)
1027 m_split( mblk_t *m0, int len0, int wait) argument
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_mac.c200 uint32_t tsfLow, j, wait; local
204 for (wait = 1000; wait != 0; wait--) {
235 wait = 1000;
238 if ((--wait) == 0) {
253 return (wait != 0);
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_ep.c684 rds_session_close(rds_session_t *sp, ibt_execution_mode_t mode, uint_t wait) argument
694 /* wait until the SQ is empty before closing */
695 if (wait != 0) {
696 (void) rds_is_sendq_empty(ep, wait);
710 if (wait == 0) {
725 /* wait until the SQ is empty before closing */
726 if (wait != 0) {
727 (void) rds_is_sendq_empty(ep, wait);
741 if (wait == 0) {
865 /* wait
1056 rds_close_this_session(rds_session_t *sp, uint8_t wait) argument
[all...]
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_ib.c144 px_ib_intr_disable(px_ib_t *ib_p, devino_t ino, int wait) argument
181 /* Busy wait on pending interrupt */
/illumos-gate/usr/src/lib/fm/libldom/sparc/
H A Dldmsvcs_utils.c254 * now wait for receiving thread to read in the data
369 * wait for the result before returning) the size
420 poller_shutdown(boolean_t wait) argument
428 if (wait == B_TRUE) {
431 * Then wait for it to exit.
1259 * wait for channel to become uninitialized. this should be quick.
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Djobs.c33 #include <wait.h>
50 #undef wait macro
51 #define wait ______wait macro
242 * When called with sig==0, it does a blocking wait
526 /* wait until we are in the foreground */
728 * wait built-in command
1292 * If pid < -1, then wait can be interrupted, -pid is waited for (wait builtin)
1294 * pid=1 to wait for at least one process to complete
1295 * pid=-1 to wait fo
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dkeystore.c106 /* wait on other keystore access for 1 minute before giving up */
2309 file_lock(int fd, int type, int wait) argument
2318 if (!wait) {
2321 * The caller would have to wait to get the
2348 * The caller would have to wait to get the
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Deventlib_p.h173 struct { evWait *this; } wait; member in union:evEvent_p::__anon3871
/illumos-gate/usr/src/lib/libc/port/aio/
H A Daio.c94 cond_t _aio_iowait_cv = DEFAULTCV; /* wait for userland I/Os */
520 struct timeval *wait = NULL; local
526 * Check for a valid specified wait time.
540 wait = &twait;
592 wait, dontblock);
633 wait->tv_sec = hres / NANOSEC;
634 wait->tv_usec =
648 * into timespec_t *wait.
652 _aio_get_timedelta(timespec_t *end, timespec_t *wait) argument
663 wait
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetconv/
H A Dinetconv.c34 #include <sys/wait.h>
87 boolean_t wait; member in struct:inetconfent
184 " Use inetd's built-in process kill support to offline wait type\n"
361 buf[sizeof (" service-name endpoint-type protocol wait-status")];
377 (void) strlcat(buf, " wait-status", sizeof (buf));
396 put_prop_value_boolean(prop, PR_ISWAIT_NAME, iconf->wait);
491 if (strcmp(iconf->wait_status, "wait") == 0) {
492 iconf->wait = B_TRUE;
494 iconf->wait = B_FALSE;
497 gettext("%s: Error %s line %d invalid wait
[all...]
/illumos-gate/usr/src/cmd/sa/
H A Dsa.h97 uint64_t wait[W_STATES]; member in struct:cpu64_sysinfo
/illumos-gate/usr/src/cmd/avs/dscfglockd/
H A Ddscfglockd.c419 int wait = 0; local
428 wait = 1;
432 if (wait == 0 && lock_wanted.type == LOCK_WRITE) {
490 /* write lock has to wait */
493 /* lock has to wait until write lock is cleared */
1330 * wait 2 time outs before allowing a lock to find if someone else
/illumos-gate/usr/src/cmd/svc/svcadm/
H A Dsvcadm.c69 * How long we will wait (in seconds) for a service to change state
2326 int wait = 0; local
2337 wait = 1;
2367 } else if (wait && exit_status == 0 &&
2381 int wait = 0; local
2390 wait = 1;
2421 } else if (wait && exit_status == 0 &&
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/
H A Dpkgserv.c86 #include <sys/wait.h>
397 /* Client still around? Just wait then. */
434 * We wait until the child process sends a SIGUSR1 or when it
475 if (wait(&stat) > 0) {
1240 hrtime_t wait = sec * LLNANOSEC - delta; local
1243 waitfor.tv_nsec = wait % LLNANOSEC;
1244 waitfor.tv_sec = wait / LLNANOSEC;
1365 * Tell the wait thread to wake up and quit.
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockstr.c183 * Can't use copyb since we want to wait
593 * Send down T_info_req and wait for the ack.
647 * Send down T_capability_req and wait for the ack.
923 * The caller has sent down a "request_prim" primitive and wants to wait for
937 t_uscalar_t min_size, mblk_t **mpp, clock_t wait)
944 (void *)so, request_prim, ack_prim, min_size, (void *)mpp, wait));
948 error = sowaitack(so, &mp, wait);
1063 sowaitack(struct sonode *so, mblk_t **mpp, clock_t wait) argument
1071 if (wait == 0 && sock_test_timelimit != 0)
1072 wait
936 sowaitprim(struct sonode *so, t_scalar_t request_prim, t_scalar_t ack_prim, t_uscalar_t min_size, mblk_t **mpp, clock_t wait) argument
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_diskq.c343 * wait for flusher threads to stop (taking into account this may be one)
347 rdc_fail_diskq(rdc_k_info_t *krdc, int wait, int flag) argument
412 /* can't wait for myself to go away, I'm a flusher */
413 if (wait & RDC_WAIT)
1985 * we have to wait until after this read to find out how
3158 #define NUM_RETRIES 15 /* Number of retries to wait if no progress */
/illumos-gate/usr/src/uts/common/os/
H A Dcyclic.c930 * cyclic_fire() is wait-free; it will not block or spin.
1794 * refuses to wait, we must return (doing nothing). Otherwise,
1798 * handler rpend times. The caller will wait until the
1894 cyclic_remove_here(cyc_cpu_t *cpu, cyc_index_t ndx, cyc_time_t *when, int wait) argument
1903 ASSERT(wait == CY_WAIT || wait == CY_NOWAIT);
1908 arg.cyx_wait = wait;
1918 * check the cyp_rpend. If it's non-zero, then we need to wait here
1922 ASSERT(!(wait == CY_NOWAIT && cpu->cyp_rpend != 0));
1925 if (wait !
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Dclnt_rdma.c565 struct timeval wait)
1280 * credit control. Current handling is to block and wait.
563 clnt_rdma_kcallit(CLIENT *h, rpcproc_t procnum, xdrproc_t xdr_args, caddr_t argsp, xdrproc_t xdr_results, caddr_t resultsp, struct timeval wait) argument
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_init.c1751 * Set default fw wait, adjusted for slow FCF's.
1756 if ((data = ql_get_prop(ha, "init-loop-sync-wait")) != 0xffffffff) {
1761 "'init-loop-sync-wait': %d; using default "
2817 * secs = max wait time, in seconds (0-255).
2832 clock_t wait = secs * sec_delay; local
2842 while (timer != 0 && wait != 0 &&
2849 wait--;
2852 wait--;
2870 wait--;
2878 wait
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_sess.c2462 * If the request is submitted and the wait is set to B_TRUE, the caller
2466 iscsi_sess_enum_request(iscsi_sess_t *isp, boolean_t wait, argument
2481 if (wait == B_TRUE) {
2500 if (wait == B_TRUE) {
/illumos-gate/usr/src/uts/common/io/zyd/
H A Dzyd.h79 kcondvar_t wait; /* for waiting on release */ member in struct:__anon6608
261 * one needs to wait for a callback function. It sipmply encapsulates one mutex
/illumos-gate/usr/src/uts/common/sys/
H A Dsysinfo.h58 uint_t wait[W_STATES]; /* CPU wait time breakdown */ member in struct:cpu_sysinfo
200 uint64_t wait_ticks_io; /* CPU wait time breakdown */
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcp.c1731 emlxs_reset_link(emlxs_hba_t *hba, uint32_t linkup, uint32_t wait) argument
1767 if (wait) {
1768 wait = MBX_WAIT;
1770 wait = MBX_NOWAIT;
1772 rc = EMLXS_SLI_ISSUE_MBOX_CMD(hba, mbq, wait, 0);
1799 if (wait == MBX_NOWAIT) {
1826 rc = EMLXS_SLI_ISSUE_MBOX_CMD(hba, mbq, wait, 0);
1837 if ((wait == MBX_WAIT) && mbq) {

Completed in 156 milliseconds

12345