/freebsd-10.0-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-10.0-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-10.0-release/sys/sys/ |
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 | condvar.h | 72 #define cv_timedwait(cvp, lock, timo) \ 74 tick_sbt * (timo), 0, C_HARDCLOCK) 77 #define cv_timedwait_sig(cvp, lock, timo) \ 79 tick_sbt * (timo), 0, C_HARDCLOCK)
|
H A D | sleepqueue.h | 111 #define sleepq_set_timeout(wchan, timo) \ 112 sleepq_set_timeout_sbt((wchan), tick_sbt * (timo), 0, C_HARDCLOCK)
|
H A D | systm.h | 354 #define msleep(chan, mtx, pri, wmesg, timo) \ 356 tick_sbt * (timo), 0, C_HARDCLOCK) 362 #define msleep_spin(chan, mtx, wmesg, timo) \ 363 msleep_spin_sbt((chan), (mtx), (wmesg), tick_sbt * (timo), \ 367 #define pause(wmesg, timo) \ 368 pause_sbt((wmesg), tick_sbt * (timo), 0, C_HARDCLOCK) 369 #define tsleep(chan, pri, wmesg, timo) \ 370 _sleep((chan), NULL, (pri), (wmesg), tick_sbt * (timo), \
|
/freebsd-10.0-release/usr.sbin/lpr/common_source/ |
H A D | net.c | 92 int s, timo = 1, lport = IPPORT_RESERVED - 1; local 125 if (refused && timo <= 16) { 126 sleep(timo); 127 timo *= 2; 157 if (refused && timo <= 16) { 158 sleep(timo); 159 timo *= 2;
|
/freebsd-10.0-release/sys/dev/acpica/Osd/ |
H A D | OsdSchedule.c | 236 int timo; local 240 timo = Milliseconds * hz / 1000; 246 if (timo > 0) 247 pause("acpislp", timo);
|
/freebsd-10.0-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-10.0-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-10.0-release/sys/dev/hpt27xx/ |
H A D | os_bsd.h | 240 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 242 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); 245 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 249 asleep(ident, priority, wmesg, timo); 251 retval = await(priority, timo);
|
/freebsd-10.0-release/sys/dev/hptnr/ |
H A D | os_bsd.h | 242 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 244 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); 247 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 251 asleep(ident, priority, wmesg, timo); 253 retval = await(priority, timo);
|
/freebsd-10.0-release/sys/dev/hptrr/ |
H A D | os_bsd.h | 240 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 242 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); 245 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 249 asleep(ident, priority, wmesg, timo); 251 retval = await(priority, timo);
|
/freebsd-10.0-release/sys/fs/nfs/ |
H A D | nfs_commonkrpc.c | 172 struct timeval timo; local 332 timo.tv_sec = nmp->nm_timeo / NFS_HZ; 333 timo.tv_usec = (nmp->nm_timeo % NFS_HZ) * 1000000 / NFS_HZ; 334 CLNT_CONTROL(client, CLSET_RETRY_TIMEOUT, &timo); 485 struct timeval timo; local 697 timo.tv_usec = 0; 699 timo.tv_sec = NFSV4_UPCALLTIMEO; 701 timo.tv_sec = NFSV4_CALLBACKTIMEO; 704 timo.tv_usec = 0; 706 timo 1096 newnfs_msleep(struct thread *td, void *ident, struct mtx *mtx, int priority, char *wmesg, int timo) argument [all...] |
/freebsd-10.0-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-10.0-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-10.0-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-10.0-release/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_misc.h | 76 KASSERT(!callout_pending(&(cmd)->timo), ("Pending callout!")); \
|
/freebsd-10.0-release/sys/arm/ti/ |
H A D | ti_i2c.c | 372 * @timo: the number of ticks to wait 387 ti_i2c_wait(struct ti_i2c_softc *sc, uint16_t flags, uint16_t *statp, int timo) argument 389 int waittime = timo; 440 * @timo: the time to wait for the bus to become free 455 ti_i2c_wait_for_free_bus(struct ti_i2c_softc *sc, int timo) argument 465 return ti_i2c_wait(sc, I2C_STAT_BF, NULL, timo); 486 int timo = (hz / 4); local 496 err = ti_i2c_wait_for_free_bus(sc, timo); 527 err = ti_i2c_wait(sc, events, &status, timo); 615 int timo local [all...] |
/freebsd-10.0-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-10.0-release/sys/kern/ |
H A D | kern_umtx.c | 709 abs_timeout_init(struct abs_timeout *timo, int clockid, int absolute, argument 713 timo->clockid = clockid; 715 kern_clock_gettime(curthread, clockid, &timo->end); 716 timo->cur = timo->end; 717 timespecadd(&timo->end, timeout); 719 timo->end = *timeout; 720 kern_clock_gettime(curthread, clockid, &timo->cur); 725 abs_timeout_init2(struct abs_timeout *timo, const struct _umtx_time *umtxtime) argument 728 abs_timeout_init(timo, umtxtim 734 abs_timeout_update(struct abs_timeout *timo) argument 740 abs_timeout_gethz(struct abs_timeout *timo) argument 759 int error, timo; local 847 struct abs_timeout timo; local 1028 struct abs_timeout timo; local 1208 struct abs_timeout timo; local 1269 struct abs_timeout timo; local 1797 umtxq_sleep_pi(struct umtx_q *uq, struct umtx_pi *pi, uint32_t owner, const char *wmesg, struct abs_timeout *timo) argument 1940 struct abs_timeout timo; local 2202 struct abs_timeout timo; local 2563 struct abs_timeout timo; local 2702 struct abs_timeout timo; local 2848 struct abs_timeout timo; local 3091 struct abs_timeout timo; local [all...] |
/freebsd-10.0-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-10.0-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));
|