Lines Matching refs:hwidx
1769 struct hw_buf_info *hwb = &sc->sge.hw_buf_info[cll->hwidx];
4011 *d = htobe64(pa | cll->hwidx);
4978 int8_t zidx, hwidx, idx;
4996 hwidx = -1;
4999 if (__predict_true(hwidx != -1))
5017 hwidx = idx; /* best option so far */
5030 /* A usable hwidx has been located. */
5031 MPASS(hwidx != -1);
5032 hwb = &hwb_list[hwidx];
5040 * inlining is allowed. Remember that the hwidx's are sorted in
5043 for (idx = hwidx; idx != -1; idx = hwb->next) {
5066 hwidx = idx;
5079 KASSERT(hwidx >= 0 && hwidx <= SGE_FLBUF_SIZES,
5080 ("%s: bad hwidx %d for fl %p, maxp %d", __func__, hwidx, fl, maxp));
5081 KASSERT(region1 + sc->sge.hw_buf_info[hwidx].size + region3 ==
5086 sc->sge.hw_buf_info[hwidx].size, region3));
5092 sc->sge.hw_buf_info[hwidx].size, region3));
5097 sc->sge.hw_buf_info[hwidx].size, region3));
5101 fl->cll_def.hwidx = hwidx;
5113 int8_t hwidx;
5116 hwidx = s->safe_hwidx2; /* with room for metadata */
5118 hwidx = s->safe_hwidx2;
5119 hwb = &s->hw_buf_info[hwidx];
5125 hwidx = s->safe_hwidx1;
5127 hwidx = s->safe_hwidx1;
5129 if (hwidx == -1) {
5131 fl->cll_alt.hwidx = -1;
5137 hwb = &s->hw_buf_info[hwidx];
5140 fl->cll_alt.hwidx = hwidx;