Lines Matching refs:nstids
1482 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid()
1483 if (stid < t->nstids) in cxgb4_alloc_stid()
1488 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 2); in cxgb4_alloc_stid()
1518 t->nstids + t->nsftids, t->nstids); in cxgb4_alloc_sftid()
1519 if (stid < (t->nstids + t->nsftids)) in cxgb4_alloc_sftid()
1528 stid -= t->nstids; in cxgb4_alloc_sftid()
1544 stid += t->nstids; in cxgb4_free_stid()
1663 stid_bmap_size = BITS_TO_LONGS(t->nstids + t->nsftids); in tid_init()
1666 t->nstids * sizeof(*t->stid_tab) + in tid_init()
1678 t->stid_bmap = (unsigned long *)&t->stid_tab[t->nstids + t->nsftids]; in tid_init()
1694 bitmap_zero(t->stid_bmap, t->nstids + t->nsftids); in tid_init()
3837 adap->tids.nstids = val[2] - val[1] + 1; in adap_init0()