Lines Matching refs:nstids
1635 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid()
1636 if (stid < t->nstids) in cxgb4_alloc_stid()
1641 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 1); in cxgb4_alloc_stid()
1673 t->nstids + t->nsftids, t->nstids); in cxgb4_alloc_sftid()
1674 if (stid < (t->nstids + t->nsftids)) in cxgb4_alloc_sftid()
1683 stid -= t->nstids; in cxgb4_alloc_sftid()
1699 stid += t->nstids; in cxgb4_free_stid()
1710 if (stid < t->nstids) { in cxgb4_free_stid()
1843 stid_bmap_size = BITS_TO_LONGS(t->nstids + t->nsftids); in tid_init()
1849 t->nstids * sizeof(*t->stid_tab) + in tid_init()
1865 t->stid_bmap = (unsigned long *)&t->stid_tab[t->nstids + t->nsftids]; in tid_init()
1894 bitmap_zero(t->stid_bmap, t->nstids + t->nsftids); in tid_init()
5189 adap->tids.nstids = val[2] - val[1] + 1; in adap_init0()