/freebsd-9.3-release/sys/nlm/ |
H A D | nlm_prot_clnt.c | 21 nlm_sm_notify_0(struct nlm_sm_status *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 26 timo)); 30 nlm_test_1(struct nlm_testargs *argp, nlm_testres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 35 timo)); 39 nlm_lock_1(struct nlm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 44 timo)); 48 nlm_cancel_1(struct nlm_cancargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 53 timo)); 57 nlm_unlock_1(struct nlm_unlockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 62 timo)); 66 nlm_granted_1(struct nlm_testargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 75 nlm_test_msg_1(struct nlm_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 84 nlm_lock_msg_1(struct nlm_lockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 93 nlm_cancel_msg_1(struct nlm_cancargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 102 nlm_unlock_msg_1(struct nlm_unlockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 111 nlm_granted_msg_1(struct nlm_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 120 nlm_test_res_1(nlm_testres *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 129 nlm_lock_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 138 nlm_cancel_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 147 nlm_unlock_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 156 nlm_granted_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 165 nlm_share_3(nlm_shareargs *argp, nlm_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 174 nlm_unshare_3(nlm_shareargs *argp, nlm_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 183 nlm_nm_lock_3(nlm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 192 nlm_free_all_3(nlm_notify *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 201 nlm4_test_4(nlm4_testargs *argp, nlm4_testres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 210 nlm4_lock_4(nlm4_lockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 219 nlm4_cancel_4(nlm4_cancargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 228 nlm4_unlock_4(nlm4_unlockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 237 nlm4_granted_4(nlm4_testargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 246 nlm4_test_msg_4(nlm4_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 255 nlm4_lock_msg_4(nlm4_lockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 264 nlm4_cancel_msg_4(nlm4_cancargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 273 nlm4_unlock_msg_4(nlm4_unlockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 282 nlm4_granted_msg_4(nlm4_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 291 nlm4_test_res_4(nlm4_testres *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 300 nlm4_lock_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 309 nlm4_cancel_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 318 nlm4_unlock_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 327 nlm4_granted_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 336 nlm4_share_4(nlm4_shareargs *argp, nlm4_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 345 nlm4_unshare_4(nlm4_shareargs *argp, nlm4_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 354 nlm4_nm_lock_4(nlm4_lockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 363 nlm4_free_all_4(nlm4_notify *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument [all...] |
H A D | nlm_advlock.c | 77 rpcvers_t vers, struct timeval *timo, int retries, 81 rpcvers_t vers, struct timeval *timo, int retries, 85 rpcvers_t vers, struct timeval *timo, int retries, 206 struct timeval timo; local 231 nmp->nm_getinfo(vp, fh.fh_bytes, &fhlen, &ss, &is_v3, &size, &timo); 304 error = nlm_setlock(host, &ext, vers, &timo, retries, 309 error = nlm_clearlock(host, &ext, vers, &timo, 322 &timo, retries, vp, F_SETLK, fl, 328 error = nlm_setlock(host, &ext, vers, &timo, retries, 351 error = nlm_clearlock(host, &ext, vers, &timo, retrie 562 nlm_test_rpc(rpcvers_t vers, nlm4_testargs *args, nlm4_testres *res, CLIENT *client, struct rpc_callextra *ext, struct timeval timo) argument 593 nlm_lock_rpc(rpcvers_t vers, nlm4_lockargs *args, nlm4_res *res, CLIENT *client, struct rpc_callextra *ext, struct timeval timo) argument 622 nlm_cancel_rpc(rpcvers_t vers, nlm4_cancargs *args, nlm4_res *res, CLIENT *client, struct rpc_callextra *ext, struct timeval timo) argument 649 nlm_unlock_rpc(rpcvers_t vers, nlm4_unlockargs *args, nlm4_res *res, CLIENT *client, struct rpc_callextra *ext, struct timeval timo) argument 718 nlm_setlock(struct nlm_host *host, struct rpc_callextra *ext, rpcvers_t vers, struct timeval *timo, int retries, struct vnode *vp, int op, struct flock *fl, int flags, int svid, size_t fhlen, void *fh, off_t size, bool_t reclaim) argument 917 nlm_clearlock(struct nlm_host *host, struct rpc_callextra *ext, rpcvers_t vers, struct timeval *timo, int retries, struct vnode *vp, int op, struct flock *fl, int flags, int svid, size_t fhlen, void *fh, off_t size) argument 992 nlm_getlock(struct nlm_host *host, struct rpc_callextra *ext, rpcvers_t vers, struct timeval *timo, int retries, struct vnode *vp, int op, struct flock *fl, int flags, int svid, size_t fhlen, void *fh, off_t size) argument [all...] |
/freebsd-9.3-release/lib/libkse/thread/ |
H A D | thr_pselect.c | 42 const struct timespec *timo, const sigset_t *mask); 45 const struct timespec *timo, const sigset_t *mask); 51 const struct timespec *timo, const sigset_t *mask) 57 ret = __pselect(count, rfds, wfds, efds, timo, mask); 50 _pselect(int count, fd_set *rfds, fd_set *wfds, fd_set *efds, const struct timespec *timo, const sigset_t *mask) argument
|
/freebsd-9.3-release/sys/sys/ |
H A D | condvar.h | 58 int _cv_timedwait(struct cv *cvp, struct lock_object *lock, int timo); 59 int _cv_timedwait_sig(struct cv *cvp, struct lock_object *lock, int timo); 70 #define cv_timedwait(cvp, lock, timo) \ 71 _cv_timedwait((cvp), &(lock)->lock_object, (timo)) 72 #define cv_timedwait_sig(cvp, lock, timo) \ 73 _cv_timedwait_sig((cvp), &(lock)->lock_object, (timo))
|
H A D | sema.h | 50 int _sema_timedwait(struct sema *sema, int timo, const char *file, int 57 #define sema_timedwait(sema, timo) \ 58 _sema_timedwait((sema), (timo), LOCK_FILE, LOCK_LINE)
|
H A D | lockmgr.h | 70 const char *wmesg, int prio, int timo, const char *file, int line); 80 void lockinit(struct lock *lk, int prio, const char *wmesg, int timo, 94 int prio, int timo, const char *file, int line) 98 NULL, wmesg, prio, timo, file, line)); 103 const char *wmesg, int prio, int timo, const char *file, int line) 107 NULL, wmesg, prio, timo, file, line)); 116 #define lockmgr_args(lk, flags, ilk, wmesg, prio, timo) \ 117 _lockmgr_args((lk), (flags), (ilk), (wmesg), (prio), (timo), \ 119 #define lockmgr_args_rw(lk, flags, ilk, wmesg, prio, timo) \ 120 _lockmgr_args_rw((lk), (flags), (ilk), (wmesg), (prio), (timo), \ 93 _lockmgr_args(struct lock *lk, u_int flags, struct mtx *ilk, const char *wmesg, int prio, int timo, const char *file, int line) argument 102 _lockmgr_args_rw(struct lock *lk, u_int flags, struct rwlock *ilk, const char *wmesg, int prio, int timo, const char *file, int line) argument [all...] |
H A D | sleepqueue.h | 108 void sleepq_set_timeout(void *wchan, int timo);
|
H A D | systm.h | 350 int timo) __nonnull(1); 351 #define msleep(chan, mtx, pri, wmesg, timo) \ 352 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), (timo)) 353 int msleep_spin(void *chan, struct mtx *mtx, const char *wmesg, int timo) 355 int pause(const char *wmesg, int timo); 356 #define tsleep(chan, pri, wmesg, timo) \ 357 _sleep((chan), NULL, (pri), (wmesg), (timo))
|
/freebsd-9.3-release/sys/kern/ |
H A D | kern_synch.c | 135 * runnable with the specified priority. Sleeps at most timo/hz seconds 149 const char *wmesg, int timo) 165 KASSERT(timo != 0 || mtx_owned(&Giant) || lock != NULL, 235 if (timo) 236 sleepq_set_timeout(ident, timo); 243 if (timo && catch) 245 else if (timo) 266 msleep_spin(void *ident, struct mtx *mtx, const char *wmesg, int timo) argument 304 if (timo) 305 sleepq_set_timeout(ident, timo); 148 _sleep(void *ident, struct lock_object *lock, int priority, const char *wmesg, int timo) argument 351 pause(const char *wmesg, int timo) argument [all...] |
/freebsd-9.3-release/lib/libthr/thread/ |
H A D | thr_umtx.c | 114 struct timespec timo, cts; local 119 TIMESPEC_SUB(&timo, ets, &cts); 121 if (timo.tv_sec < 0) 128 ret = _umtx_op_err(mtx, UMTX_OP_MUTEX_WAIT, 0, 0, &timo); 136 ret = _umtx_op_err(mtx, UMTX_OP_MUTEX_LOCK, 0, 0, &timo); 143 TIMESPEC_SUB(&timo, ets, &cts); 144 if (timo.tv_sec < 0 || (timo.tv_sec == 0 && timo.tv_nsec == 0)) {
|
/freebsd-9.3-release/usr.sbin/lpr/common_source/ |
H A D | net.c | 93 int s, timo = 1, lport = IPPORT_RESERVED - 1; local 126 if (refused && timo <= 16) { 127 sleep(timo); 128 timo *= 2; 158 if (refused && timo <= 16) { 159 sleep(timo); 160 timo *= 2;
|
/freebsd-9.3-release/sys/dev/acpica/Osd/ |
H A D | OsdSchedule.c | 224 int timo; local 228 timo = Milliseconds * hz / 1000; 234 if (timo > 0) 235 pause("acpislp", timo);
|
/freebsd-9.3-release/sys/dev/speaker/ |
H A D | spkr.c | 68 int sps, timo; local 95 timo = centisecs * hz / 100; 96 if (timo > 0) 97 tsleep(&endtone, SPKRPRI | PCATCH, "spkrtn", timo); 109 int timo; local 119 timo = centisecs * hz / 100; 120 if (timo > 0) 121 tsleep(&endrest, SPKRPRI | PCATCH, "spkrrs", timo);
|
/freebsd-9.3-release/sys/nfsclient/ |
H A D | nfs_krpc.c | 194 struct timeval timo; local 289 timo.tv_sec = nmp->nm_timeo / NFS_HZ; 290 timo.tv_usec = (nmp->nm_timeo % NFS_HZ) * 1000000 / NFS_HZ; 291 CLNT_CONTROL(client, CLSET_RETRY_TIMEOUT, &timo); 445 struct timeval timo; local 527 timo.tv_sec = timeo / NFS_HZ; 528 timo.tv_usec = (timeo % NFS_HZ) * 1000000 / NFS_HZ; 531 timo.tv_sec = NFS_MAXTIMEO / NFS_HZ; 532 timo.tv_usec = 0; 535 timo 769 nfs_msleep(struct thread *td, void *ident, struct mtx *mtx, int priority, char *wmesg, int timo) argument [all...] |
/freebsd-9.3-release/sys/dev/hpt27xx/ |
H A D | os_bsd.h | 239 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 241 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); 244 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 248 asleep(ident, priority, wmesg, timo); 250 retval = await(priority, timo);
|
/freebsd-9.3-release/sys/dev/hptnr/ |
H A D | os_bsd.h | 241 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 243 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); 246 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 250 asleep(ident, priority, wmesg, timo); 252 retval = await(priority, timo);
|
/freebsd-9.3-release/sys/dev/hptrr/ |
H A D | os_bsd.h | 239 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 241 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); 244 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 248 asleep(ident, priority, wmesg, timo); 250 retval = await(priority, timo);
|
/freebsd-9.3-release/sys/fs/nfs/ |
H A D | nfs_commonkrpc.c | 170 struct timeval timo; local 312 timo.tv_sec = nmp->nm_timeo / NFS_HZ; 313 timo.tv_usec = (nmp->nm_timeo % NFS_HZ) * 1000000 / NFS_HZ; 314 CLNT_CONTROL(client, CLSET_RETRY_TIMEOUT, &timo); 480 struct timeval timo; local 680 timo.tv_usec = 0; 682 timo.tv_sec = NFSV4_UPCALLTIMEO; 684 timo.tv_sec = NFSV4_CALLBACKTIMEO; 687 timo.tv_usec = 0; 689 timo 1023 newnfs_msleep(struct thread *td, void *ident, struct mtx *mtx, int priority, char *wmesg, int timo) argument [all...] |
/freebsd-9.3-release/sys/dev/usb/net/ |
H A D | usb_ethernet.h | 106 #define uether_do_request(ue,req,data,timo) \ 107 usbd_do_request_proc((ue)->ue_udev,&(ue)->ue_tq,req,data,0,NULL,timo)
|
/freebsd-9.3-release/sys/netgraph/bluetooth/drivers/h4/ |
H A D | ng_h4_var.h | 96 struct callout timo; /* See man timeout(9) */ member in struct:ng_h4_info
|
/freebsd-9.3-release/sys/netgraph/bluetooth/include/ |
H A D | ng_btsocket_sco.h | 86 struct callout timo; /* timeout */ member in struct:ng_btsocket_sco_pcb
|
/freebsd-9.3-release/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_misc.h | 76 KASSERT(!callout_pending(&(cmd)->timo), ("Pending callout!")); \
|
/freebsd-9.3-release/sys/nfs/ |
H A D | krpc_subr.c | 203 int error, rcvflg, timo, secs, len; local 309 timo = 0; 322 if (timo < MAX_RESEND_DELAY) 323 timo++; 334 * Wait for up to timo seconds for a reply. 337 secs = timo;
|
/freebsd-9.3-release/sys/powerpc/powermac/ |
H A D | kiic.c | 357 int i, x, timo, err; local 362 timo = 100; 368 mtx_sleep(dev, &sc->sc_mutex, 0, "kiic", timo); 398 timo = 1000 + sc->sc_resid * 200; 399 timo += 100000; 415 err = mtx_sleep(dev, &sc->sc_mutex, 0, "kiic", timo);
|
/freebsd-9.3-release/usr.sbin/portsnap/phttpget/ |
H A D | phttpget.c | 54 static struct timeval timo = { 15, 0}; variable in typeref:struct:timeval 194 timo.tv_sec = http_timeout; 370 (void *)&timo, (socklen_t)sizeof(timo)); 372 (void *)&timo, (socklen_t)sizeof(timo));
|