/illumos-gate/usr/src/uts/common/xen/public/ |
H A D | sched.h | 75 * optional timeout may be specified. 82 uint64_t timeout; member in struct:sched_poll
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | tcp_misc.c | 69 tcp_open(char *dest, np_tcpjob_t *tcpjob, int timeout) argument 116 (void) alarm(timeout); 157 tcpjob->gen_data->filesize, tcpjob->gen_data->timeout)) < 0) {
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_diag.c | 142 clock_t timeout; local 234 timeout = emlxs_timeout(hba, (pkt->pkt_timeout + 15)); 238 cv_timedwait(&EMLXS_PKT_CV, &EMLXS_PKT_LOCK, timeout);
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_lock.c | 255 uint32_t timeout = 0; local 259 timeout = UINT_MAX; 265 timeout, ltype); 269 timeout = UINT_MAX; 275 timeout, ltype);
|
H A D | smb_locking_andx.c | 109 * specified to become unlocked. A timeout value of 0 indicates that the 112 * timeout value of -1 indicates that the server should wait as long as it 118 * If any of the lock ranges timeout because of the area to be locked is 234 uint32_t timeout; /* Milliseconds to wait for lock */ local 249 &oplock_level, &timeout, &unlock_num, &lock_num); 342 result = smb_lock_range(sr, offset64, length64, timeout, 378 (uint64_t)length32, timeout, ltype);
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | ofw_net.c | 128 ofwn_get(struct iodesc *desc, void *pkt, size_t len, time_t timeout) argument 134 printf("netif_get: pkt=%p, maxlen=%d, timeout=%d\n", pkt, len, 135 timeout); 142 (getsecs() - t < timeout));
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | epoll.c | 202 int maxevents, int timeout) 212 arg.dp_timeout = timeout; 220 int maxevents, int timeout, const sigset_t *sigmask) 230 arg.dp_timeout = timeout; 201 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) argument 219 epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask) argument
|
H A D | semsys.c | 142 const timespec_t *timeout) 145 timeout)); 141 semtimedop(int semid, struct sembuf *sops, size_t nsops, const timespec_t *timeout) argument
|
/illumos-gate/usr/src/lib/pam_modules/timestamp/ |
H A D | pam_timestamp.c | 31 #define TIMESTAMP_TIMEOUT 5 /* default timeout */ 175 * timeout= timeout in min, default is 5 187 time_t timeout = 0; local 198 timeout = TIMESTAMP_TIMEOUT; 204 } else if (strncmp(argv[i], "timeout=", 8) == 0) { 207 timeout = tmp; 302 if (time((time_t *)0) - sb.st_mtime > 60 * timeout) {
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-misc.c | 126 lpd_open(service_t *svc, char type, char **args, int timeout) argument 145 /* timeout */ 146 if (timeout > 0) { 147 snprintf(buf, sizeof (buf), "%d", timeout);
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | poll_solaris.c | 121 "file descriptor, poll waits at least timeout milliseconds " 124 "available, timeout is rounded up to the nearest legal value " 125 "available on that system. If the value timeout is 0, poll " 126 "returns immediately. If the value of timeout is -1, poll " 148 "[t:timeout]:[seconds?Timeout in seconds. If the value timeout is 0, " 149 "poll returns immediately. If the value of timeout is -1, poll " 152 "[T:mtimeout]:[milliseconds?Timeout in milliseconds. If the value timeout is 0, " 153 "poll returns immediately. If the value of timeout is -1, poll " 250 double timeout local [all...] |
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_timeout.c | 30 * Simple implementation of timeout functionality. The granuality is a sec 39 typedef struct timeout { struct 40 struct timeout *sip_timeout_next; 67 sip_timeout_t *timeout = NULL; local 71 timeout = timeout_current_start; 75 timeout_current_start = timeout->sip_timeout_next; 77 timeout->sip_timeout_callback_func( 78 timeout->sip_timeout_callback_func_arg); 79 free(timeout); 169 * Add a new timeout 242 sip_timeout_t *timeout = NULL; local [all...] |
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_da_cache.c | 244 timestruc_t timeout; local 245 timeout.tv_nsec = 0; 253 timeout.tv_sec = IDLE_TIMEOUT; 255 &cache_called_lock, &timeout);
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wgetch.c | 342 int ch, i, timeout; local 403 timeout = w->_flags & W_USE_TIMEOUT; 428 if (timeout) { 432 timeout = 0;
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_structs.h | 88 struct timeval timeout; member in struct:__anon3623
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_raw.c | 145 xdrproc_t xresults, caddr_t resultsp, struct timeval timeout) 144 clnt_raw_call(CLIENT *h, rpcproc_t proc, xdrproc_t xargs, caddr_t argsp, xdrproc_t xresults, caddr_t resultsp, struct timeval timeout) argument
|
H A D | pmap_clnt.c | 54 static const struct timeval timeout = { 5, 0 }; variable in typeref:struct:timeval 137 client = clntudp_bufcreate(address, PMAPPROG, PMAPVERS, timeout,
|
H A D | svid_funcs.c | 70 xdrproc_t xres, caddr_t resp, struct timeval timeout) 73 timeout)); 69 clnt_call(CLIENT *cl, uint32_t proc, xdrproc_t xargs, caddr_t argsp, xdrproc_t xres, caddr_t resp, struct timeval timeout) argument
|
/illumos-gate/usr/src/lib/libc/port/tpool/ |
H A D | thread_pool.c | 138 * It will only be left if a timeout or an error has occured. 154 timestruc_t timeout; local 156 timeout.tv_sec = tpool->tp_linger; 157 timeout.tv_nsec = 0; 159 &tpool->tp_mutex, &timeout) != 0) {
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | eh.c | 274 int n_lit, timeout, sig, saved_errno; local 280 timeout = tq ? iu_earliest_timer(tq) : INFTIM; 289 n_lit = poll(eh->iueh_pollfds, eh->iueh_num_fds, timeout); 316 * timeout occurred. we must have a valid tq pointer 317 * since that's the only way a timeout can happen.
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypset.c | 59 #define TIMEOUT 30 /* Total seconds for timeout */ 67 static struct timeval timeout = { variable in typeref:struct:timeval 305 timeout);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | main.c | 84 int timeout; local 231 timeout = 0; 233 timeout = TIME_TO_MSECS(waittime); 238 timeout); 242 timeout = INFTIM; 245 if ((n = poll(poll_ifs, poll_ifs_num, timeout)) < 0) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | eloop.c | 88 * Register timeout routines 95 struct eloop_timeout *timeout, *tmp, *prev; local 97 timeout = (struct eloop_timeout *)malloc(sizeof (*timeout)); 98 if (timeout == NULL) 100 (void) gettimeofday(&timeout->time, NULL); 101 timeout->time.tv_sec += secs; 102 timeout->time.tv_usec += usecs; 103 while (timeout->time.tv_usec >= 1000000) { 104 timeout 146 struct eloop_timeout *timeout, *prev, *next; local 311 struct eloop_timeout *timeout, *prev; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | script_handler.c | 65 * script's absolute timeout value. the first timeout is set to SCRIPT_TIMEOUT 66 * seconds from the time it is started. SIGTERM is sent on the first timeout 67 * the second timeout is set to SCRIPT_TIMEOUT_GRACE from the first timeout 68 * and SIGKILL is sent on the second timeout. 70 static time_t timeout; variable 87 if (now < timeout) 88 (void) alarm(timeout - now); 105 timeout [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_subr.c | 54 struct timeval timeout = { 5, 0}; local 81 xdr_nlm_res, (caddr_t)&rlm_res, timeout);
|