Lines Matching refs:zidx
563 hwb->zidx = hwsz_ok(sc, r) ? -1 : -2; in t4_read_chip_settings()
601 if (hwb->zidx != -1 || hwb->size > swz->size) in t4_read_chip_settings()
607 hwb->zidx = i; in t4_read_chip_settings()
620 hwb->zidx = -2; in t4_read_chip_settings()
1490 struct sw_zone_info *swz = &sc->sge.sw_zone_info[cll->zidx]; in cl_metadata()
1524 struct sw_zone_info *swz = &sc->sge.sw_zone_info[cll->zidx]; in get_scatter_segment()
3635 swz = &sc->sge.sw_zone_info[cll->zidx]; in refill_fl()
3677 if (cll == &fl->cll_alt || fl->cll_alt.zidx == -1 || in refill_fl()
3678 fl->cll_def.zidx == fl->cll_alt.zidx) in refill_fl()
3683 swz = &sc->sge.sw_zone_info[cll->zidx]; in refill_fl()
3779 uma_zfree(sc->sge.sw_zone_info[cll->zidx].zone, sd->cl); in free_fl_sdesc()
3781 uma_zfree(sc->sge.sw_zone_info[cll->zidx].zone, sd->cl); in free_fl_sdesc()
4453 int8_t zidx, hwidx, idx; in find_best_refill_source() local
4472 for (zidx = 0; zidx < SW_ZONE_SIZES; zidx++, swz++) { in find_best_refill_source()
4508 zidx = hwb->zidx; in find_best_refill_source()
4509 swz = &sc->sge.sw_zone_info[zidx]; in find_best_refill_source()
4552 KASSERT(zidx >= 0 && zidx < SW_ZONE_SIZES, in find_best_refill_source()
4553 ("%s: bad zone %d for fl %p, maxp %d", __func__, zidx, fl, maxp)); in find_best_refill_source()
4557 sc->sge.sw_zone_info[zidx].size, in find_best_refill_source()
4560 sc->sge.sw_zone_info[zidx].size, region1, in find_best_refill_source()
4566 sc->sge.sw_zone_info[zidx].size, region1, in find_best_refill_source()
4571 sc->sge.sw_zone_info[zidx].size, region1, in find_best_refill_source()
4575 fl->cll_def.zidx = zidx; in find_best_refill_source()
4595 swz = &s->sw_zone_info[hwb->zidx]; in find_safe_refill_source()
4607 fl->cll_alt.zidx = -1; in find_safe_refill_source()
4613 swz = &s->sw_zone_info[hwb->zidx]; in find_safe_refill_source()
4616 fl->cll_alt.zidx = hwb->zidx; in find_safe_refill_source()
4726 if (hwb->zidx >= 0 && swz[hwb->zidx].size <= largest_rx_cluster) in sysctl_bufsizes()