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

1234

/freebsd-11-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
758 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
957 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
1032 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-11-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 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 Dlockmgr.h70 const char *wmesg, int prio, int timo, const char *file, int line);
85 void lockinit(struct lock *lk, int prio, const char *wmesg, int timo,
99 int prio, int timo, const char *file, int line)
103 NULL, wmesg, prio, timo, file, line));
108 const char *wmesg, int prio, int timo, const char *file, int line)
112 NULL, wmesg, prio, timo, file, line));
121 #define lockmgr_args(lk, flags, ilk, wmesg, prio, timo) \
122 _lockmgr_args((lk), (flags), (ilk), (wmesg), (prio), (timo), \
124 #define lockmgr_args_rw(lk, flags, ilk, wmesg, prio, timo) \
125 _lockmgr_args_rw((lk), (flags), (ilk), (wmesg), (prio), (timo), \
98 _lockmgr_args(struct lock *lk, u_int flags, struct mtx *ilk, const char *wmesg, int prio, int timo, const char *file, int line) argument
107 _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 Dsleepqueue.h104 #define sleepq_set_timeout(wchan, timo) \
105 sleepq_set_timeout_sbt((wchan), tick_sbt * (timo), 0, C_HARDCLOCK)
H A Dsystm.h401 #define msleep(chan, mtx, pri, wmesg, timo) \
403 tick_sbt * (timo), 0, C_HARDCLOCK)
409 #define msleep_spin(chan, mtx, wmesg, timo) \
410 msleep_spin_sbt((chan), (mtx), (wmesg), tick_sbt * (timo), \
414 #define pause(wmesg, timo) \
415 pause_sbt((wmesg), tick_sbt * (timo), 0, C_HARDCLOCK)
416 #define pause_sig(wmesg, timo) \
417 pause_sbt((wmesg), tick_sbt * (timo), 0, C_HARDCLOCK | C_CATCH)
418 #define tsleep(chan, pri, wmesg, timo) \
419 _sleep((chan), NULL, (pri), (wmesg), tick_sbt * (timo), \
[all...]
/freebsd-11-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-11-stable/sys/dev/acpica/Osd/
H A DOsdSchedule.c249 int timo; local
253 timo = Milliseconds * hz / 1000;
259 if (timo > 0)
260 pause("acpislp", timo);
/freebsd-11-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-11-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-11-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-11-stable/sys/netgraph/bluetooth/include/
H A Dng_btsocket_sco.h86 struct callout timo; /* timeout */ member in struct:ng_btsocket_sco_pcb
/freebsd-11-stable/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_misc.h78 KASSERT(!callout_pending(&(cmd)->timo), ("Pending callout!")); \
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm_pcie_trans.h114 uint32_t bits, uint32_t mask, int timo);
/freebsd-11-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-11-stable/sys/fs/nfs/
H A Dnfs_commonkrpc.c173 struct timeval timo; local
343 timo.tv_sec = nmp->nm_timeo / NFS_HZ;
344 timo.tv_usec = (nmp->nm_timeo % NFS_HZ) * 1000000 / NFS_HZ;
345 CLNT_CONTROL(client, CLSET_RETRY_TIMEOUT, &timo);
497 struct timeval timo; local
712 timo.tv_usec = 0;
714 timo.tv_sec = NFSV4_UPCALLTIMEO;
716 timo.tv_sec = NFSV4_CALLBACKTIMEO;
719 timo.tv_usec = 0;
721 timo
1230 newnfs_msleep(struct thread *td, void *ident, struct mtx *mtx, int priority, char *wmesg, int timo) argument
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_umtx.c261 static void abs_timeout_update(struct abs_timeout *timo);
772 abs_timeout_init(struct abs_timeout *timo, int clockid, int absolute, argument
776 timo->clockid = clockid;
778 timo->is_abs_real = false;
779 abs_timeout_update(timo);
780 timo->end = timo->cur;
781 timespecadd(&timo->end, timeout);
783 timo->end = *timeout;
784 timo
798 abs_timeout_init2(struct abs_timeout *timo, const struct _umtx_time *umtxtime) argument
806 abs_timeout_update(struct abs_timeout *timo) argument
813 abs_timeout_gethz(struct abs_timeout *timo) argument
845 int error, timo; local
948 struct abs_timeout timo; local
1021 struct abs_timeout timo; local
1659 umtxq_sleep_pi(struct umtx_q *uq, struct umtx_pi *pi, uint32_t owner, const char *wmesg, struct abs_timeout *timo, bool shared) argument
1798 struct abs_timeout timo; local
2102 struct abs_timeout timo; local
2488 struct abs_timeout timo; local
2636 struct abs_timeout timo; local
2816 struct abs_timeout timo; local
3104 struct abs_timeout timo; local
3197 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-11-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-11-stable/usr.sbin/portsnap/phttpget/
H A Dphttpget.c56 static struct timeval timo = { 15, 0}; variable in typeref:struct:timeval
196 timo.tv_sec = http_timeout;
372 (void *)&timo, (socklen_t)sizeof(timo));
374 (void *)&timo, (socklen_t)sizeof(timo));
/freebsd-11-stable/sys/dev/hpt27xx/
H A Dos_bsd.h208 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument
210 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo);
/freebsd-11-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-11-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-11-stable/sys/dev/ppbus/
H A Dppb_base.c237 ppb_sleep(device_t bus, void *wchan, int priority, const char *wmesg, int timo) argument
241 return (mtx_sleep(wchan, ppb->ppc_lock, priority, wmesg, timo));

Completed in 358 milliseconds

1234