Home | History | Annotate | Download | only in vme

Lines Matching defs:nfree

128 	(SC)->freereq[(SC)->nfree++] = (N); \
130 if ((SC)->nfree == 1) wakeup(&(SC)->nfree); \
135 * XDC_RQALLOC: allocate an iorq off the free list (assume nfree > 0).
137 #define XDC_RQALLOC(XDCSC) (XDCSC)->freereq[--((XDCSC)->nfree)]
195 * [2] & of xdc_softc's "nfree" (waiting for a free iorq/iopb)
618 xdc->nfree
1290 while (parent->nfree > 0 && bufq_peek(parent->sc_wq) != NULL)
1298 if (parent->nfree == 0) {
1347 while (xdcsc->nfree > 0 && bufq_peek(xdcsc->sc_wq) != NULL)
1497 while (xdcsc->nfree == 0) {
1505 while (xdcsc->nfree == 0) {
1506 if (tsleep(&xdcsc->nfree, PRIBIO, "xdnfree", 0))
1513 if (xdcsc->nfree)
1520 if (xdcsc->nfree == 0)
1521 panic("xdcmd nfree");
1545 * start a buffer running, assumes nfree > 0
1558 if (!xdcsc->nfree)
1794 while (xdcsc->nfree > 0 && bufq_peek(xdcsc->sc_wq) != NULL)
1842 int oldfree = xdcsc->nfree;
1917 if (oldfree == 0 && xdcsc->nfree)
1918 wakeup(&xdcsc->nfree);
1921 del = xdcsc->nwait + xdcsc->nrun + xdcsc->nfree + xdcsc->ndone;
2233 int nwait, nrun, nfree, ndone, whd = 0;
2238 nfree = xdcsc->nfree;
2243 if (nwait + nrun + nfree + ndone != XDC_MAXIOPB) {
2245 device_xname(xdcsc->sc_dev), nwait, nfree, nrun, ndone,
2249 for (lcv = nfree; lcv > 0; lcv--) {
2280 xdcsc->xdc->xdc_csr, xdcsc->nwait, xdcsc->nfree, xdcsc->nrun,