Lines Matching refs:nstids
1636 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid()
1637 if (stid < t->nstids) in cxgb4_alloc_stid()
1642 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 1); in cxgb4_alloc_stid()
1674 t->nstids + t->nsftids, t->nstids); in cxgb4_alloc_sftid()
1675 if (stid < (t->nstids + t->nsftids)) in cxgb4_alloc_sftid()
1684 stid -= t->nstids; in cxgb4_alloc_sftid()
1700 stid += t->nstids; in cxgb4_free_stid()
1711 if (stid < t->nstids) { in cxgb4_free_stid()
1844 stid_bmap_size = BITS_TO_LONGS(t->nstids + t->nsftids); in tid_init()
1850 t->nstids * sizeof(*t->stid_tab) + in tid_init()
1866 t->stid_bmap = (unsigned long *)&t->stid_tab[t->nstids + t->nsftids]; in tid_init()
1895 bitmap_zero(t->stid_bmap, t->nstids + t->nsftids); in tid_init()
5198 adap->tids.nstids = val[2] - val[1] + 1; in adap_init0()