Searched refs:timo (Results 1 - 25 of 90) sorted by relevance

1234

/freebsd-10-stable/sys/nlm/
H A Dnlm_prot_clnt.c21 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 Dnlm_advlock.c77 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);
306 error = nlm_setlock(host, &ext, vers, &timo, retries,
311 error = nlm_clearlock(host, &ext, vers, &timo,
324 &timo, retries, vp, F_SETLK, fl,
330 error = nlm_setlock(host, &ext, vers, &timo, retries,
353 error = nlm_clearlock(host, &ext, vers, &timo, retrie
566 nlm_test_rpc(rpcvers_t vers, nlm4_testargs *args, nlm4_testres *res, CLIENT *client, struct rpc_callextra *ext, struct timeval timo) argument
597 nlm_lock_rpc(rpcvers_t vers, nlm4_lockargs *args, nlm4_res *res, CLIENT *client, struct rpc_callextra *ext, struct timeval timo) argument
626 nlm_cancel_rpc(rpcvers_t vers, nlm4_cancargs *args, nlm4_res *res, CLIENT *client, struct rpc_callextra *ext, struct timeval timo) argument
653 nlm_unlock_rpc(rpcvers_t vers, nlm4_unlockargs *args, nlm4_res *res, CLIENT *client, struct rpc_callextra *ext, struct timeval timo) argument
752 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
951 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
1026 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-stable/lib/libkse/thread/
H A Dthr_pselect.c42 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-stable/sys/sys/
H A Dsema.h50 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 Dlockmgr.h70 const char *wmesg, int prio, int timo, const char *file, int line);
81 void lockinit(struct lock *lk, int prio, const char *wmesg, int timo,
95 int prio, int timo, const char *file, int line)
99 NULL, wmesg, prio, timo, file, line));
104 const char *wmesg, int prio, int timo, const char *file, int line)
108 NULL, wmesg, prio, timo, file, line));
117 #define lockmgr_args(lk, flags, ilk, wmesg, prio, timo) \
118 _lockmgr_args((lk), (flags), (ilk), (wmesg), (prio), (timo), \
120 #define lockmgr_args_rw(lk, flags, ilk, wmesg, prio, timo) \
121 _lockmgr_args_rw((lk), (flags), (ilk), (wmesg), (prio), (timo), \
94 _lockmgr_args(struct lock *lk, u_int flags, struct mtx *ilk, const char *wmesg, int prio, int timo, const char *file, int line) argument
103 _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 Dcondvar.h72 #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 Dsleepqueue.h101 #define sleepq_set_timeout(wchan, timo) \
102 sleepq_set_timeout_sbt((wchan), tick_sbt * (timo), 0, C_HARDCLOCK)
H A Dsystm.h374 #define msleep(chan, mtx, pri, wmesg, timo) \
376 tick_sbt * (timo), 0, C_HARDCLOCK)
382 #define msleep_spin(chan, mtx, wmesg, timo) \
383 msleep_spin_sbt((chan), (mtx), (wmesg), tick_sbt * (timo), \
387 #define pause(wmesg, timo) \
388 pause_sbt((wmesg), tick_sbt * (timo), 0, C_HARDCLOCK)
389 #define pause_sig(wmesg, timo) \
390 pause_sbt((wmesg), tick_sbt * (timo), 0, C_HARDCLOCK | C_CATCH)
391 #define tsleep(chan, pri, wmesg, timo) \
392 _sleep((chan), NULL, (pri), (wmesg), tick_sbt * (timo), \
[all...]
/freebsd-10-stable/usr.sbin/lpr/common_source/
H A Dnet.c92 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-stable/sys/dev/acpica/Osd/
H A DOsdSchedule.c241 int timo; local
245 timo = Milliseconds * hz / 1000;
251 if (timo > 0)
252 pause("acpislp", timo);
/freebsd-10-stable/sys/dev/speaker/
H A Dspkr.c68 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-stable/sys/nfsclient/
H A Dnfs_krpc.c194 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-stable/sys/dev/usb/net/
H A Dusb_ethernet.h106 #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-stable/sys/netgraph/bluetooth/drivers/h4/
H A Dng_h4_var.h96 struct callout timo; /* See man timeout(9) */ member in struct:ng_h4_info
/freebsd-10-stable/sys/netgraph/bluetooth/include/
H A Dng_btsocket_sco.h86 struct callout timo; /* timeout */ member in struct:ng_btsocket_sco_pcb
/freebsd-10-stable/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_misc.h76 KASSERT(!callout_pending(&(cmd)->timo), ("Pending callout!")); \
/freebsd-10-stable/sys/nfs/
H A Dkrpc_subr.c203 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-stable/sys/fs/nfs/
H A Dnfs_commonkrpc.c174 struct timeval timo; local
344 timo.tv_sec = nmp->nm_timeo / NFS_HZ;
345 timo.tv_usec = (nmp->nm_timeo % NFS_HZ) * 1000000 / NFS_HZ;
346 CLNT_CONTROL(client, CLSET_RETRY_TIMEOUT, &timo);
498 struct timeval timo; local
713 timo.tv_usec = 0;
715 timo.tv_sec = NFSV4_UPCALLTIMEO;
717 timo.tv_sec = NFSV4_CALLBACKTIMEO;
720 timo.tv_usec = 0;
722 timo
1230 newnfs_msleep(struct thread *td, void *ident, struct mtx *mtx, int priority, char *wmesg, int timo) argument
[all...]
/freebsd-10-stable/sys/kern/
H A Dkern_umtx.c717 abs_timeout_init(struct abs_timeout *timo, int clockid, int absolute, argument
721 timo->clockid = clockid;
723 kern_clock_gettime(curthread, clockid, &timo->end);
724 timo->cur = timo->end;
725 timespecadd(&timo->end, timeout);
727 timo->end = *timeout;
728 kern_clock_gettime(curthread, clockid, &timo->cur);
733 abs_timeout_init2(struct abs_timeout *timo, const struct _umtx_time *umtxtime) argument
736 abs_timeout_init(timo, umtxtim
742 abs_timeout_update(struct abs_timeout *timo) argument
748 abs_timeout_gethz(struct abs_timeout *timo) argument
767 int error, timo; local
855 struct abs_timeout timo; local
1036 struct abs_timeout timo; local
1216 struct abs_timeout timo; local
1289 struct abs_timeout timo; local
1889 umtxq_sleep_pi(struct umtx_q *uq, struct umtx_pi *pi, uint32_t owner, const char *wmesg, struct abs_timeout *timo) argument
2029 struct abs_timeout timo; local
2316 struct abs_timeout timo; local
2682 struct abs_timeout timo; local
2829 struct abs_timeout timo; local
3005 struct abs_timeout timo; local
3289 struct abs_timeout timo; local
[all...]
H A Dkern_sema.c109 _sema_timedwait(struct sema *sema, int timo, const char *file, int line) argument
123 error = cv_timedwait(&sema->sema_cv, &sema->sema_mtx, timo);
/freebsd-10-stable/sys/powerpc/powermac/
H A Dkiic.c357 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-stable/usr.sbin/portsnap/phttpget/
H A Dphttpget.c54 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));
/freebsd-10-stable/sys/dev/hptrr/
H A Dos_bsd.h203 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument
205 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo);
/freebsd-10-stable/sys/dev/hptnr/
H A Dos_bsd.h202 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument
204 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo);
/freebsd-10-stable/sys/dev/usb/serial/
H A Dusb_serial.h203 #define ucom_cfg_do_request(udev,com,req,ptr,flags,timo) \
204 usbd_do_request_proc(udev,&(com)->sc_super->sc_tq,req,ptr,flags,NULL,timo)

Completed in 180 milliseconds

1234