Searched refs:nstids (Results 1 – 8 of 8) sorted by relevance
1158 unsigned int natids, unsigned int nstids, in init_tid_tabs() argument1162 natids * sizeof(*t->atid_tab) + nstids * sizeof(*t->stid_tab); in init_tid_tabs()1169 t->atid_tab = (union active_open_entry *)&t->stid_tab[nstids]; in init_tid_tabs()1171 t->nstids = nstids; in init_tid_tabs()1185 if (nstids) { in init_tid_tabs()1186 while (--nstids) in init_tid_tabs()1187 t->stid_tab[nstids - 1].next = &t->stid_tab[nstids]; in init_tid_tabs()
79 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid()
163 unsigned int nstids; member
112 unsigned int nstids; member187 stid += t->nstids; in lookup_stid()192 return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; in lookup_stid()
158 u32 nstids; member
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()[all …]
2191 tid->nstids = padap->tids.nstids; in cudbg_collect_tid()
3363 if (t->nstids) in tid_info_show()3368 t->stid_base + t->nstids - 1, in tid_info_show()