Lines Matching refs:nstids
1508 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid()
1509 if (stid < t->nstids) in cxgb4_alloc_stid()
1514 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 2); in cxgb4_alloc_stid()
1544 t->nstids + t->nsftids, t->nstids); in cxgb4_alloc_sftid()
1545 if (stid < (t->nstids + t->nsftids)) in cxgb4_alloc_sftid()
1554 stid -= t->nstids; in cxgb4_alloc_sftid()
1570 stid += t->nstids; in cxgb4_free_stid()
1581 if (stid < t->nstids) { in cxgb4_free_stid()
1698 stid_bmap_size = BITS_TO_LONGS(t->nstids + t->nsftids); in tid_init()
1701 t->nstids * sizeof(*t->stid_tab) + in tid_init()
1713 t->stid_bmap = (unsigned long *)&t->stid_tab[t->nstids + t->nsftids]; in tid_init()
1731 bitmap_zero(t->stid_bmap, t->nstids + t->nsftids); in tid_init()
4011 adap->tids.nstids = val[2] - val[1] + 1; in adap_init0()