Searched defs:wait (Results 1 - 21 of 21) sorted by relevance

/osnet-11/usr/src/lib/libpri/common/
H A Dpri.c95 * - 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 */
/osnet-11/usr/src/lib/libnisdb/yptol/
H A Dupdate.c200 * Flag indication if we should wait for completion
206 update_map_if_required(map_ctrl *map, bool_t wait) argument
213 if (wait) {
294 if (!wait && (getpid() == parent_pid))
310 if (wait) {
/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_queue.c64 cond_t *wait; member in struct:queue
72 * queues can operate in one of two modes: timed-wait, and infinite
73 * wait. The timeout parameter specifies which of these modes should
78 cond_t *wait; local
91 if (!(wait = calloc(1, sizeof (*wait)))) {
96 (void) cond_init(wait, NULL, NULL);
107 q->wait = wait;
138 (void) cond_signal(q->wait);
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dwaitpid.c33 * 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
/osnet-11/usr/src/lib/libshare/common/
H A Dlibshare_proto.c187 saproto_share_publish(nvlist_t *share, sa_proto_t proto, int wait) argument
195 return (ops->sap_share_publish(share, wait));
207 saproto_share_unpublish(nvlist_t *share, sa_proto_t proto, int wait) argument
215 return (ops->sap_share_unpublish(share, wait));
228 sa_proto_t proto, int wait)
236 return (ops->sap_share_unpublish_byname(sh_name, sh_path, wait));
256 saproto_fs_publish(nvlist_t *sh_list, sa_proto_t proto, int wait) argument
264 return (ops->sap_fs_publish(sh_list, wait));
272 saproto_fs_unpublish(nvlist_t *sh_list, sa_proto_t proto, int wait) argument
280 return (ops->sap_fs_unpublish(sh_list, wait));
227 saproto_share_unpublish_byname(const char *sh_name, const char *sh_path, sa_proto_t proto, int wait) argument
[all...]
H A Dlibshare.c1165 sa_proto_t proto, int wait, boolean_t check_rename)
1175 proto, wait, sa_share_get_mntpnt(share));
1228 rc = saproto_share_publish(share, p, wait);
1262 int wait)
1270 proto, wait);
1281 rc = saproto_share_unpublish(share, p, wait);
1421 sa_notify_op_t notify_op, int proto_cnt, int wait)
1472 (proto = sa_proto_get_type(i)), wait);
1475 (proto = sa_proto_get_type(i)), wait);
1697 int proto_cnt, int wait)
1164 sa_share_publish(libshare_handle_t *shdl, nvlist_t *share, sa_proto_t proto, int wait, boolean_t check_rename) argument
1261 sa_share_unpublish(libshare_handle_t *shdl, nvlist_t *share, sa_proto_t proto, int wait) argument
1420 sa_share_process_list(libshare_handle_t *shdl, nvlist_t **share_list, sa_notify_op_t notify_op, int proto_cnt, int wait) argument
1696 sa_share_list_publish(libshare_handle_t *shdl, nvlist_t **share_list, int proto_cnt, int wait) argument
1774 sa_fs_publish(libshare_handle_t *shdl, const char *mntpnt, sa_proto_t proto, int wait) argument
1898 sa_share_list_unpublish(libshare_handle_t *shdl, nvlist_t **share_list, int proto_cnt, int wait) argument
1912 sa_fs_unpublish(libshare_handle_t *shdl, const char *mntpnt, sa_proto_t proto, int wait) argument
[all...]
/osnet-11/usr/src/lib/libnisdb/
H A Dnisdb_rw.h146 uint32_t wait; /* Blocked on mutex */ member in struct:__nisdb_rwlock
/osnet-11/usr/src/lib/libipadm/common/
H A Dipadm_persist.c58 * IPADM_NVP_DHCP - value holds wait time and primary info and when converted
60 * wait: DATA_TYPE_INT32
247 * the parameters from the arguments `primary' and `wait'.
251 i_ipadm_add_dhcp2nvl(nvlist_t *nvl, boolean_t primary, int32_t wait) argument
267 (err = nvlist_add_int32(nvl_dhcp, IPADM_NVP_WAIT, wait)) != 0 ||
H A Dipadm_addr.c2550 * should wait before returning while the dhcp address is being acquired
2558 ipadm_set_wait_time(ipadm_addrobj_t ipaddr, int32_t wait) argument
2562 ipaddr->ipadm_wait = wait;
2703 int32_t wait; local
2712 if ((err = netcfg_nvl_get_one_int32(nvl, IPADM_NVP_WAIT, &wait))
2729 * svc:/network/physical service being enabled, allow wait
2733 if ((wait = atoi(ewait)) < 0)
2734 wait = 0;
2736 ipaddr.ipadm_wait = wait;
/osnet-11/usr/src/lib/libnsl/rpc/
H A Drpc_soc.c155 struct timeval wait, int *sockp, uint_t sendsz, uint_t recvsz)
162 (void) CLNT_CONTROL(cl, CLSET_RETRY_TIMEOUT, (char *)&wait);
168 struct timeval wait, int *sockp)
170 return (clntudp_bufcreate(raddr, program, version, wait, sockp,
154 clntudp_bufcreate(struct sockaddr_in *raddr, rpcprog_t prog, rpcvers_t vers, struct timeval wait, int *sockp, uint_t sendsz, uint_t recvsz) argument
167 clntudp_create(struct sockaddr_in *raddr, rpcprog_t program, rpcvers_t version, struct timeval wait, int *sockp) argument
/osnet-11/usr/src/lib/fm/libldom/sparc/
H A Dldom.c82 static ssize_t (*ldom_pri_fp_get)(uint8_t wait, uint64_t *token, uint64_t **buf,
84 (ssize_t (*)(uint8_t wait, uint64_t *token, uint64_t **buf,
101 ldom_pri_fp_get = (ssize_t (*)(uint8_t wait, uint64_t *token,
114 ldom_pri_fp_get = (ssize_t (*)(uint8_t wait, uint64_t *token,
160 ldom_pri_get(uint8_t wait, uint64_t *token, uint64_t **buf, argument
172 return ((*ldom_pri_fp_get)(wait, token, buf, allocp, freep));
747 * least once before calling it with the wait flag.
767 * Now wait for a PRI update.
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.
/osnet-11/usr/src/lib/libc/port/aio/
H A Dposix_aio.c48 cond_t _aio_waitn_cv = DEFAULTCV; /* wait for end of aio_waitn */
352 timespec_t *wait = NULL; local
390 /* timeout pointer = NULL : wait indefinitely */
491 wait = &twait;
494 wait = &twait;
558 wait->tv_sec = hrtres / (hrtime_t)NANOSEC;
559 wait->tv_nsec = hrtres % (hrtime_t)NANOSEC;
569 list, nent, wait, -1);
597 wait->tv_sec = hrtres / (hrtime_t)NANOSEC;
598 wait
952 timespec_t *wait = NULL; local
[all...]
H A Daio.c91 cond_t _aio_iowait_cv = DEFAULTCV; /* wait for userland I/Os */
516 struct timeval *wait = NULL; local
522 * Check for a valid specified wait time.
536 wait = &twait;
588 wait, dontblock);
629 wait->tv_sec = hres / NANOSEC;
630 wait->tv_usec =
644 * into timespec_t *wait.
648 _aio_get_timedelta(timespec_t *end, timespec_t *wait) argument
659 wait
[all...]
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Deventlib_p.h173 struct { evWait *this; } wait; member in union:evEvent_p::__anon2431
/osnet-11/usr/src/lib/libshare_plugins/smb/
H A Dlibshare_smb.c1270 sa_smb_share_publish(nvlist_t *share, int wait) argument
1272 NOTE(ARGUNUSED(wait))
1291 sh_name, sh_path, wait);
1331 sa_smb_share_unpublish(nvlist_t *share, int wait) argument
1347 sh_name, (sh_path != NULL ? sh_path : ""), wait);
1378 int wait)
1380 NOTE(ARGUNUSED(wait))
1392 rc = sa_smb_share_unpublish(share, wait);
1410 sa_smb_fs_publish(nvlist_t *sh_list, int wait) argument
1412 NOTE(ARGUNUSED(wait))
1377 sa_smb_share_unpublish_byname(const char *sh_name, const char *sh_path, int wait) argument
1437 sa_smb_fs_unpublish(nvlist_t *sh_list, int wait) argument
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Djobs.c33 #include <wait.h>
50 #undef wait macro
51 #define wait ______wait macro
317 * When called with sig==0, it does a blocking wait
641 /* wait until we are in the foreground */
844 * wait built-in command
1458 * If pid < -1, then wait can be interrupted, -pid is waited for (wait builtin)
1460 * pid=1 to wait for at least one process to complete
1461 * pid=-1 to wait fo
[all...]
/osnet-11/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
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Deepro100.c189 /* How to wait for the command unit to accept a command.
193 int wait = 0; local
198 while(++wait <= 100);
202 while(++wait <= 10000);
204 delayed_cmd, wait);
550 /* wait for the reset to take effect */
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A DXSUB.h475 # define wait PerlProc_wait macro
/osnet-11/usr/src/lib/libshare_plugins/nfs/
H A Dlibshare_nfs.c3649 * sa_nfs_share_publish(share, wait)
3655 sa_nfs_share_publish(nvlist_t *share, int wait) argument
3657 NOTE(ARGUNUSED(wait))
3680 sh_name, sh_path, wait);
3740 nfs_share_unpub_common(const char *sh_name, const char *sh_path, int wait) argument
3746 sh_name, sh_path, wait);
3769 sa_nfs_share_unpublish(nvlist_t *share, int wait) argument
3771 NOTE(ARGUNUSED(wait))
3788 return (nfs_share_unpub_common(sh_name, sh_path, wait));
3794 int wait)
3793 sa_nfs_share_unpublish_byname(const char *sh_name, const char *sh_path, int wait) argument
3987 sa_nfs_fs_publish(nvlist_t *sh_list, int wait) argument
4027 sa_nfs_fs_unpublish(nvlist_t *sh_list, int wait) argument
[all...]

Completed in 69 milliseconds