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

/freebsd-11-stable/sys/dev/patm/
H A Dif_patm_attach.c522 if (sc->lbufs != NULL) {
524 bus_dmamap_destroy(sc->lbuf_tag, sc->lbufs[i].map);
525 free(sc->lbufs, M_DEVBUF);
870 sc->lbufs = malloc(sizeof(sc->lbufs[0]) * sc->lbuf_max,
875 struct lmbuf *b = &sc->lbufs[i];
883 sc->lbufs[i].map);
884 free(sc->lbufs, M_DEVBUF);
885 sc->lbufs = NULL;
H A Dif_patm_intr.c484 sc->rawh = &sc->lbufs[le32toh(sc->rawhnd->handle) & MBUF_HMASK];
502 sc->rawh = &sc->lbufs[h & MBUF_HMASK];
H A Dif_patm.c276 if (sc->lbufs[i].m != NULL)
277 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.c350 b = &sc->lbufs[c];
/freebsd-11-stable/sys/dev/hatm/
H A Dif_hatm_intr.c342 if (sc->lbufs[sc->lbufs_next] != NULL)
343 panic("hatm: lbufs full %u", sc->lbufs_next);
344 sc->lbufs[sc->lbufs_next] = m;
430 m = sc->lbufs[handle];
431 sc->lbufs[handle] = NULL;
H A Dif_hatm.c280 if (sc->lbufs != NULL)
281 free(sc->lbufs, M_DEVBUF);
291 sc->lbufs = malloc(sizeof(sc->lbufs[0]) * sc->lbufs_size,
831 u_int lbufs_per_row; /* number of lbufs per memory row */
884 u_int lbufs_per_row; /* number of lbufs per memory row */
2211 bzero(sc->lbufs, sizeof(sc->lbufs[0]) * sc->lbufs_size);
2336 if (sc->lbufs[i] != NULL) {
2338 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 205 milliseconds