Searched refs:sc_rb (Results 1 – 5 of 5) sorted by relevance
332 bp = sc->sc_rb.rb_rxbuf + (idx % sc->sc_rb.rb_nrbuf) * QE_PKT_BUF_SZ; in qe_get()381 bp = sc->sc_rb.rb_txbuf + (idx % sc->sc_rb.rb_ntbuf) * QE_PKT_BUF_SZ; in qe_put()456 bix = sc->sc_rb.rb_tdhead; in qestart()491 sc->sc_rb.rb_tdhead = bix; in qestart()627 bix = sc->sc_rb.rb_tdtail; in qe_tint()630 if (sc->sc_rb.rb_td_nbusy <= 0) in qe_tint()644 --sc->sc_rb.rb_td_nbusy; in qe_tint()647 sc->sc_rb.rb_tdtail = bix; in qe_tint()651 if (sc->sc_rb.rb_td_nbusy == 0) in qe_tint()670 bix = sc->sc_rb.rb_rdtail; in qe_rint()[all …]
471 bp = sc->sc_rb.rb_txbuf + (idx % sc->sc_rb.rb_ntbuf) * BE_PKT_BUF_SZ; in be_put()502 bp = sc->sc_rb.rb_rxbuf + (idx % sc->sc_rb.rb_nrbuf) * BE_PKT_BUF_SZ; in be_get()601 bix = sc->sc_rb.rb_tdhead; in bestart()636 sc->sc_rb.rb_tdhead = bix; in bestart()877 bix = sc->sc_rb.rb_tdtail; in betint()880 if (sc->sc_rb.rb_td_nbusy <= 0) in betint()894 --sc->sc_rb.rb_td_nbusy; in betint()897 sc->sc_rb.rb_tdtail = bix; in betint()901 if (sc->sc_rb.rb_td_nbusy == 0) in betint()917 bix = sc->sc_rb.rb_rdtail; in berint()[all …]
200 &sc->sc_rb.rb_membase, in hme_config()664 bp = (char *)sc->sc_rb.rb_txbuf + (ri % sc->sc_rb.rb_ntbuf) * _HME_BUFSZ; in hme_put()705 bp = (char *)sc->sc_rb.rb_rxbuf + (ri % sc->sc_rb.rb_nrbuf) * _HME_BUFSZ; in hme_get()895 void *txd = sc->sc_rb.rb_txd; in hme_start()904 ri = sc->sc_rb.rb_tdhead; in hme_start()974 sc->sc_rb.rb_tdhead = ri; in hme_start()1009 ri = sc->sc_rb.rb_tdtail; in hme_tint()1026 --sc->sc_rb.rb_td_nbusy; in hme_tint()1030 sc->sc_rb.rb_tdtail = ri; in hme_tint()1054 ri = sc->sc_rb.rb_rdtail; in hme_rint()[all …]
75 struct hme_ring sc_rb; member
37574 sc_rb=$1337591 -if $sc_rb