Searched refs:lbufs (Results 1 - 8 of 8) sorted by relevance

/freebsd-9.3-release/sys/dev/patm/
H A Dif_patm_attach.c521 if (sc->lbufs != NULL) {
523 bus_dmamap_destroy(sc->lbuf_tag, sc->lbufs[i].map);
524 free(sc->lbufs, M_DEVBUF);
869 sc->lbufs = malloc(sizeof(sc->lbufs[0]) * sc->lbuf_max,
874 struct lmbuf *b = &sc->lbufs[i];
882 sc->lbufs[i].map);
883 free(sc->lbufs, M_DEVBUF);
884 sc->lbufs = NULL;
H A Dif_patm_intr.c483 sc->rawh = &sc->lbufs[le32toh(sc->rawhnd->handle) & MBUF_HMASK];
501 sc->rawh = &sc->lbufs[h & MBUF_HMASK];
H A Dif_patm.c275 if (sc->lbufs[i].m != NULL)
276 patm_lbuf_free(sc, &sc->lbufs[i]);
H A Dif_patmvar.h88 * an array of pointers (lbufs) to special structs and a free list of these
131 * this dynamic by allocating pages of several lbufs at once during run time.
271 struct lmbuf *lbufs; /* array for indexing */ member in struct:patm_softc
H A Dif_patm_rx.c349 b = &sc->lbufs[c];
/freebsd-9.3-release/sys/dev/hatm/
H A Dif_hatm_intr.c341 if (sc->lbufs[sc->lbufs_next] != NULL)
342 panic("hatm: lbufs full %u", sc->lbufs_next);
343 sc->lbufs[sc->lbufs_next] = m;
429 m = sc->lbufs[handle];
430 sc->lbufs[handle] = NULL;
H A Dif_hatm.c279 if (sc->lbufs != NULL)
280 free(sc->lbufs, M_DEVBUF);
290 sc->lbufs = malloc(sizeof(sc->lbufs[0]) * sc->lbufs_size,
832 u_int lbufs_per_row; /* number of lbufs per memory row */
885 u_int lbufs_per_row; /* number of lbufs per memory row */
2204 bzero(sc->lbufs, sizeof(sc->lbufs[0]) * sc->lbufs_size);
2329 if (sc->lbufs[i] != NULL) {
2331 m_freem(sc->lbufs[
[all...]
H A Dif_hatmvar.h220 * queue for both tasks. This is done with the lbufs member of softc. The
221 * handle for these buffer is the lbufs index ored with a flag.
432 struct mbuf **lbufs; /* mbufs */ member in struct:hatm_softc

Completed in 119 milliseconds