Searched refs:malo_rxbuf (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/malo/ |
H A D | if_malo.c | 68 static int malo_rxbuf = MALO_RXBUF; /* # rx buffers to allocate */ variable 69 SYSCTL_INT(_hw_malo, OID_AUTO, rxbuf, CTLFLAG_RWTUN, &malo_rxbuf, 505 struct malo_rxbuf *bf; in malo_rxdma_setup() 509 malo_rxbuf, sizeof(struct malo_rxbuf), in malo_rxdma_setup() 517 bsize = malo_rxbuf * sizeof(struct malo_rxbuf); in malo_rxdma_setup() 526 STAILQ_INIT(&sc->malo_rxbuf); in malo_rxdma_setup() 528 for (i = 0; i < malo_rxbuf; i++, bf++, ds++) { in malo_rxdma_setup() 540 STAILQ_INSERT_TAIL(&sc->malo_rxbuf, bf, bf_list); in malo_rxdma_setup() 602 struct malo_rxbuf *bf; in malo_rxdma_cleanup() 604 STAILQ_FOREACH(bf, &sc->malo_rxbuf, bf_list) { in malo_rxdma_cleanup() [all …]
|
H A D | if_malo.h | 446 struct malo_rxbuf { struct 447 STAILQ_ENTRY(malo_rxbuf) bf_list; 454 typedef STAILQ_HEAD(, malo_rxbuf) malo_rxbufhead; argument 549 malo_rxbufhead malo_rxbuf; /* rx buffers */ member 550 struct malo_rxbuf *malo_rxnext; /* next rx buffer to process */
|