rep 324 arch/i386/i386/via.c viac3_cbc(void *cw, void *src, void *dst, void *key, int rep, rep 335 arch/i386/i386/via.c : "a" (iv), "b" (key), "c" (rep), "d" (cw), "S" (src), "D" (dst) rep 711 dev/rnd.c struct rand_event *rep; rep 792 dev/rnd.c if ((rep = rnd_put()) == NULL) { rep 798 dev/rnd.c rep->re_state = p; rep 799 dev/rnd.c rep->re_nbits = nbits; rep 800 dev/rnd.c rep->re_time = tv.tv_nsec ^ (tv.tv_sec << 20); rep 801 dev/rnd.c rep->re_val = val; rep 819 dev/rnd.c struct rand_event *rep; rep 828 dev/rnd.c while ((rep = rnd_get())) { rep 830 dev/rnd.c buf[0] = rep->re_time; rep 831 dev/rnd.c buf[1] = rep->re_val; rep 832 dev/rnd.c nbits = rep->re_nbits; rep 413 dev/usb/uhidev.c u_int rep; rep 442 dev/usb/uhidev.c rep = *p++, cc--; rep 444 dev/usb/uhidev.c rep = 0; rep 445 dev/usb/uhidev.c if (rep >= sc->sc_nrepid) { rep 446 dev/usb/uhidev.c printf("uhidev_intr: bad repid %d\n", rep); rep 449 dev/usb/uhidev.c scd = sc->sc_subdevs[rep]; rep 451 dev/usb/uhidev.c rep, scd, scd ? scd->sc_state : 0)); rep 147 nfs/nfs_socket.c nfs_connect(nmp, rep) rep 149 nfs/nfs_socket.c struct nfsreq *rep; rep 227 nfs/nfs_socket.c so->so_error == 0 && rep && rep 228 nfs/nfs_socket.c (error = nfs_sigintr(nmp, rep, rep->r_procp)) != 0){ rep 310 nfs/nfs_socket.c nfs_reconnect(rep) rep 311 nfs/nfs_socket.c struct nfsreq *rep; rep 314 nfs/nfs_socket.c struct nfsmount *nmp = rep->r_nmp; rep 318 nfs/nfs_socket.c while ((error = nfs_connect(nmp, rep)) != 0) { rep 368 nfs/nfs_socket.c nfs_send(so, nam, top, rep) rep 372 nfs/nfs_socket.c struct nfsreq *rep; rep 377 nfs/nfs_socket.c if (rep) { rep 378 nfs/nfs_socket.c if (rep->r_flags & R_SOFTTERM) { rep 382 nfs/nfs_socket.c if ((so = rep->r_nmp->nm_so) == NULL) { rep 383 nfs/nfs_socket.c rep->r_flags |= R_MUSTRESEND; rep 387 nfs/nfs_socket.c rep->r_flags &= ~R_MUSTRESEND; rep 388 nfs/nfs_socket.c soflags = rep->r_nmp->nm_soflags; rep 403 nfs/nfs_socket.c if (rep) { rep 407 nfs/nfs_socket.c if (rep->r_flags & R_SOFTTERM) rep 410 nfs/nfs_socket.c rep->r_flags |= R_MUSTRESEND; rep 434 nfs/nfs_socket.c nfs_receive(rep, aname, mp) rep 435 nfs/nfs_socket.c struct nfsreq *rep; rep 454 nfs/nfs_socket.c sotype = rep->r_nmp->nm_sotype; rep 465 nfs/nfs_socket.c error = nfs_sndlock(&rep->r_nmp->nm_flag, rep); rep 478 nfs/nfs_socket.c if (rep->r_mrep || (rep->r_flags & R_SOFTTERM)) { rep 479 nfs/nfs_socket.c nfs_sndunlock(&rep->r_nmp->nm_flag); rep 482 nfs/nfs_socket.c so = rep->r_nmp->nm_so; rep 484 nfs/nfs_socket.c error = nfs_reconnect(rep); rep 486 nfs/nfs_socket.c nfs_sndunlock(&rep->r_nmp->nm_flag); rep 491 nfs/nfs_socket.c while (rep->r_flags & R_MUSTRESEND) { rep 492 nfs/nfs_socket.c m = m_copym(rep->r_mreq, 0, M_COPYALL, M_WAIT); rep 494 nfs/nfs_socket.c rep->r_rtt = 0; rep 495 nfs/nfs_socket.c rep->r_flags &= ~R_TIMING; rep 496 nfs/nfs_socket.c error = nfs_send(so, rep->r_nmp->nm_nam, m, rep); rep 499 nfs/nfs_socket.c (error = nfs_reconnect(rep)) != 0) { rep 500 nfs/nfs_socket.c nfs_sndunlock(&rep->r_nmp->nm_flag); rep 506 nfs/nfs_socket.c nfs_sndunlock(&rep->r_nmp->nm_flag); rep 521 nfs/nfs_socket.c if (error == EWOULDBLOCK && rep) { rep 522 nfs/nfs_socket.c if (rep->r_flags & R_SOFTTERM) rep 530 nfs/nfs_socket.c if (rep->r_rexmit >= rep->r_nmp->nm_retry) { rep 541 nfs/nfs_socket.c rep->r_nmp->nm_mountp->mnt_stat.f_mntfromname); rep 556 nfs/nfs_socket.c rep->r_nmp->nm_mountp->mnt_stat.f_mntfromname); rep 571 nfs/nfs_socket.c rep->r_nmp->nm_mountp->mnt_stat.f_mntfromname); rep 591 nfs/nfs_socket.c if (error == EWOULDBLOCK && rep) { rep 592 nfs/nfs_socket.c if (rep->r_flags & R_SOFTTERM) rep 611 nfs/nfs_socket.c rep->r_nmp->nm_mountp->mnt_stat.f_mntfromname); rep 612 nfs/nfs_socket.c error = nfs_sndlock(&rep->r_nmp->nm_flag, rep); rep 614 nfs/nfs_socket.c error = nfs_reconnect(rep); rep 617 nfs/nfs_socket.c nfs_sndunlock(&rep->r_nmp->nm_flag); rep 621 nfs/nfs_socket.c if ((so = rep->r_nmp->nm_so) == NULL) rep 634 nfs/nfs_socket.c (rep->r_flags & R_SOFTTERM)) rep 663 nfs/nfs_socket.c struct nfsreq *rep; rep 731 nfs/nfs_socket.c for (rep = TAILQ_FIRST(&nfs_reqq); rep != NULL; rep 732 nfs/nfs_socket.c rep = TAILQ_NEXT(rep, r_chain)) { rep 733 nfs/nfs_socket.c if (rep->r_mrep == NULL && rxid == rep->r_xid) { rep 735 nfs/nfs_socket.c rep->r_mrep = mrep; rep 736 nfs/nfs_socket.c rep->r_md = md; rep 737 nfs/nfs_socket.c rep->r_dpos = dpos; rep 742 nfs/nfs_socket.c rt->proc = rep->r_procnum; rep 743 nfs/nfs_socket.c rt->rto = NFS_RTO(nmp, proct[rep->r_procnum]); rep 746 nfs/nfs_socket.c rt->srtt = nmp->nm_srtt[proct[rep->r_procnum] - 1]; rep 747 nfs/nfs_socket.c rt->sdrtt = nmp->nm_sdrtt[proct[rep->r_procnum] - 1]; rep 750 nfs/nfs_socket.c if (rep->r_flags & R_TIMING) rep 751 nfs/nfs_socket.c rt->rtt = rep->r_rtt; rep 768 nfs/nfs_socket.c rep->r_flags &= ~R_SENT; rep 774 nfs/nfs_socket.c if (rep->r_flags & R_TIMING) { rep 783 nfs/nfs_socket.c t1 = rep->r_rtt + 1; rep 784 nfs/nfs_socket.c t1 -= (NFS_SRTT(rep) >> 3); rep 785 nfs/nfs_socket.c NFS_SRTT(rep) += t1; rep 788 nfs/nfs_socket.c t1 -= (NFS_SDRTT(rep) >> 2); rep 789 nfs/nfs_socket.c NFS_SDRTT(rep) += t1; rep 799 nfs/nfs_socket.c if (rep == 0) { rep 802 nfs/nfs_socket.c } else if (rep == myrep) { rep 803 nfs/nfs_socket.c if (rep->r_mrep == NULL) rep 834 nfs/nfs_socket.c struct nfsreq *rep; rep 852 nfs/nfs_socket.c rep = pool_get(&nfsreqpl, PR_WAITOK); rep 853 nfs/nfs_socket.c rep->r_nmp = nmp; rep 854 nfs/nfs_socket.c rep->r_vp = vp; rep 855 nfs/nfs_socket.c rep->r_procp = procp; rep 856 nfs/nfs_socket.c rep->r_procnum = procnum; rep 877 nfs/nfs_socket.c error = nfs_getauth(nmp, rep, cred, &auth_str, rep 880 nfs/nfs_socket.c pool_put(&nfsreqpl, rep); rep 904 nfs/nfs_socket.c rep->r_mreq = m; rep 905 nfs/nfs_socket.c rep->r_xid = xid; rep 908 nfs/nfs_socket.c rep->r_retry = nmp->nm_retry; rep 910 nfs/nfs_socket.c rep->r_retry = NFS_MAXREXMIT + 1; /* past clip limit */ rep 911 nfs/nfs_socket.c rep->r_rtt = rep->r_rexmit = 0; rep 913 nfs/nfs_socket.c rep->r_flags = R_TIMING; rep 915 nfs/nfs_socket.c rep->r_flags = 0; rep 916 nfs/nfs_socket.c rep->r_mrep = NULL; rep 927 nfs/nfs_socket.c TAILQ_INSERT_TAIL(&nfs_reqq, rep, r_chain); rep 942 nfs/nfs_socket.c error = nfs_sndlock(&nmp->nm_flag, rep); rep 946 nfs/nfs_socket.c rep); rep 950 nfs/nfs_socket.c if (!error && (rep->r_flags & R_MUSTRESEND) == 0) { rep 952 nfs/nfs_socket.c rep->r_flags |= R_SENT; rep 956 nfs/nfs_socket.c rep->r_rtt = -1; rep 963 nfs/nfs_socket.c error = nfs_reply(rep); rep 969 nfs/nfs_socket.c TAILQ_REMOVE(&nfs_reqq, rep, r_chain); rep 975 nfs/nfs_socket.c if (rep->r_flags & R_SENT) { rep 976 nfs/nfs_socket.c rep->r_flags &= ~R_SENT; /* paranoia */ rep 984 nfs/nfs_socket.c if (!error && (rep->r_flags & R_TPRINTFMSG)) rep 985 nfs/nfs_socket.c nfs_msg(rep->r_procp, nmp->nm_mountp->mnt_stat.f_mntfromname, rep 987 nfs/nfs_socket.c mrep = rep->r_mrep; rep 988 nfs/nfs_socket.c md = rep->r_md; rep 989 nfs/nfs_socket.c dpos = rep->r_dpos; rep 991 nfs/nfs_socket.c m_freem(rep->r_mreq); rep 992 nfs/nfs_socket.c pool_put(&nfsreqpl, rep); rep 1008 nfs/nfs_socket.c m_freem(rep->r_mreq); rep 1015 nfs/nfs_socket.c m_freem(rep->r_mreq); rep 1016 nfs/nfs_socket.c pool_put(&nfsreqpl, rep); rep 1066 nfs/nfs_socket.c m_freem(rep->r_mreq); rep 1067 nfs/nfs_socket.c pool_put(&nfsreqpl, rep); rep 1074 nfs/nfs_socket.c m_freem(rep->r_mreq); rep 1075 nfs/nfs_socket.c pool_put(&nfsreqpl, rep); rep 1081 nfs/nfs_socket.c m_freem(rep->r_mreq); rep 1082 nfs/nfs_socket.c pool_put(&nfsreqpl, rep); rep 1222 nfs/nfs_socket.c struct nfsreq *rep; rep 1235 nfs/nfs_socket.c for (rep = TAILQ_FIRST(&nfs_reqq); rep != NULL; rep 1236 nfs/nfs_socket.c rep = TAILQ_NEXT(rep, r_chain)) { rep 1237 nfs/nfs_socket.c nmp = rep->r_nmp; rep 1238 nfs/nfs_socket.c if (rep->r_mrep || (rep->r_flags & R_SOFTTERM)) rep 1240 nfs/nfs_socket.c if (nfs_sigintr(nmp, rep, rep->r_procp)) { rep 1241 nfs/nfs_socket.c rep->r_flags |= R_SOFTTERM; rep 1244 nfs/nfs_socket.c if (rep->r_rtt >= 0) { rep 1245 nfs/nfs_socket.c rep->r_rtt++; rep 1249 nfs/nfs_socket.c timeo = NFS_RTO(nmp, proct[rep->r_procnum]); rep 1252 nfs/nfs_socket.c if (rep->r_rtt <= timeo) rep 1260 nfs/nfs_socket.c if ((rep->r_flags & R_TPRINTFMSG) == 0 && rep 1261 nfs/nfs_socket.c rep->r_rexmit > nmp->nm_deadthresh) { rep 1262 nfs/nfs_socket.c nfs_msg(rep->r_procp, rep 1265 nfs/nfs_socket.c rep->r_flags |= R_TPRINTFMSG; rep 1267 nfs/nfs_socket.c if (rep->r_rexmit >= rep->r_retry) { /* too many */ rep 1269 nfs/nfs_socket.c rep->r_flags |= R_SOFTTERM; rep 1273 nfs/nfs_socket.c if (++rep->r_rexmit > NFS_MAXREXMIT) rep 1274 nfs/nfs_socket.c rep->r_rexmit = NFS_MAXREXMIT; rep 1285 nfs/nfs_socket.c rep->r_rtt = -1; rep 1286 nfs/nfs_socket.c if (sbspace(&so->so_snd) >= rep->r_mreq->m_pkthdr.len && rep 1288 nfs/nfs_socket.c (rep->r_flags & R_SENT) || rep 1290 nfs/nfs_socket.c (m = m_copym(rep->r_mreq, 0, M_COPYALL, M_DONTWAIT))){ rep 1306 nfs/nfs_socket.c if (rep->r_flags & R_SENT) { rep 1307 nfs/nfs_socket.c rep->r_flags &= ~R_TIMING; rep 1308 nfs/nfs_socket.c if (++rep->r_rexmit > NFS_MAXREXMIT) rep 1309 nfs/nfs_socket.c rep->r_rexmit = NFS_MAXREXMIT; rep 1315 nfs/nfs_socket.c rep->r_flags |= R_SENT; rep 1318 nfs/nfs_socket.c rep->r_rtt = 0; rep 1346 nfs/nfs_socket.c nfs_sigintr(nmp, rep, p) rep 1348 nfs/nfs_socket.c struct nfsreq *rep; rep 1352 nfs/nfs_socket.c if (rep && (rep->r_flags & R_SOFTTERM)) rep 1370 nfs/nfs_socket.c nfs_sndlock(flagp, rep) rep 1372 nfs/nfs_socket.c struct nfsreq *rep; rep 1377 nfs/nfs_socket.c if (rep) { rep 1378 nfs/nfs_socket.c p = rep->r_procp; rep 1379 nfs/nfs_socket.c if (rep->r_nmp->nm_flag & NFSMNT_INT) rep 1384 nfs/nfs_socket.c if (nfs_sigintr(rep->r_nmp, rep, p)) rep 1416 nfs/nfs_socket.c nfs_rcvlock(rep) rep 1417 nfs/nfs_socket.c struct nfsreq *rep; rep 1419 nfs/nfs_socket.c int *flagp = &rep->r_nmp->nm_flag; rep 1427 nfs/nfs_socket.c if (nfs_sigintr(rep->r_nmp, rep, rep->r_procp)) rep 815 nfs/nfs_syscalls.c nfs_getauth(nmp, rep, cred, auth_str, auth_len, verf_str, verf_len, key) rep 817 nfs/nfs_syscalls.c struct nfsreq *rep; rep 831 nfs/nfs_syscalls.c error = nfs_sigintr(nmp, rep, rep->r_procp); rep 851 nfs/nfs_syscalls.c error = nfs_sigintr(nmp, rep, rep->r_procp);