Searched refs:nstids (Results 1 – 6 of 6) sorted by relevance
98 unsigned int nstids; member144 stid += t->nstids; in lookup_stid()149 return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; in lookup_stid()
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()[all …]
2604 if (t->nstids) in tid_info_show()2609 t->stid_base + t->nstids - 1, t->stids_in_use); in tid_info_show()
1179 unsigned int natids, unsigned int nstids, in init_tid_tabs() argument1183 natids * sizeof(*t->atid_tab) + nstids * sizeof(*t->stid_tab); in init_tid_tabs()1190 t->atid_tab = (union active_open_entry *)&t->stid_tab[nstids]; in init_tid_tabs()1192 t->nstids = nstids; in init_tid_tabs()1206 if (nstids) { in init_tid_tabs()1207 while (--nstids) in init_tid_tabs()1208 t->stid_tab[nstids - 1].next = &t->stid_tab[nstids]; in init_tid_tabs()
82 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid()
163 unsigned int nstids; member