Lines Matching refs:nstids
1128 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid()
1129 if (stid < t->nstids) in cxgb4_alloc_stid()
1134 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 1); in cxgb4_alloc_stid()
1166 t->nstids + t->nsftids, t->nstids); in cxgb4_alloc_sftid()
1167 if (stid < (t->nstids + t->nsftids)) in cxgb4_alloc_sftid()
1176 stid -= t->nstids; in cxgb4_alloc_sftid()
1192 stid += t->nstids; in cxgb4_free_stid()
1203 if (stid < t->nstids) { in cxgb4_free_stid()
1334 stid_bmap_size = BITS_TO_LONGS(t->nstids + t->nsftids); in tid_init()
1338 t->nstids * sizeof(*t->stid_tab) + in tid_init()
1350 t->stid_bmap = (unsigned long *)&t->stid_tab[t->nstids + t->nsftids]; in tid_init()
1374 bitmap_zero(t->stid_bmap, t->nstids + t->nsftids); in tid_init()
4479 adap->tids.nstids = val[2] - val[1] + 1; in adap_init0()