Lines Matching refs:buf_idx
1684 int buflen, buf_idx, ring_idx; in et_rxeof() local
1691 buf_idx = __SHIFTOUT(st->rxst_info2, ET_RXST_INFO2_BUFIDX); in et_rxeof()
1710 if (buf_idx >= ET_RX_NDESC) { in et_rxeof()
1713 sc->sc_dev.dv_xname, buf_idx); in et_rxeof()
1718 rb = &rbd->rbd_buf[buf_idx]; in et_rxeof()
1723 if (rbd->rbd_newbuf(rbd, buf_idx, 0) == 0) { in et_rxeof()
1738 if (buf_idx != rx_ring->rr_index) { in et_rxeof()
1741 ring_idx, buf_idx, rx_ring->rr_index); in et_rxeof()
1947 et_newbuf_cluster(struct et_rxbuf_data *rbd, int buf_idx, int init) in et_newbuf_cluster() argument
1949 return et_newbuf(rbd, buf_idx, init, MCLBYTES); in et_newbuf_cluster()
1953 et_newbuf_hdr(struct et_rxbuf_data *rbd, int buf_idx, int init) in et_newbuf_hdr() argument
1955 return et_newbuf(rbd, buf_idx, init, MHLEN); in et_newbuf_hdr()
1959 et_newbuf(struct et_rxbuf_data *rbd, int buf_idx, int init, int len0) in et_newbuf() argument
1969 KKASSERT(buf_idx < ET_RX_NDESC); in et_newbuf()
1970 rb = &rbd->rbd_buf[buf_idx]; in et_newbuf()
2039 desc = &rx_ring->rr_desc[buf_idx]; in et_newbuf()
2043 desc->rd_ctrl = __SHIFTIN(buf_idx, ET_RDCTRL_BUFIDX); in et_newbuf()