Home
last modified time | relevance | path

Searched refs:nstids (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c1158 unsigned int natids, unsigned int nstids, in init_tid_tabs() argument
1162 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()
Dcxgb3_defs.h79 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid()
Dcxgb3_offload.h163 unsigned int nstids; member
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h112 unsigned int nstids; member
187 stid += t->nstids; in lookup_stid()
192 return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; in lookup_stid()
Dcudbg_entity.h158 u32 nstids; member
Dcxgb4_main.c1635 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 …]
Dcudbg_lib.c2191 tid->nstids = padap->tids.nstids; in cudbg_collect_tid()
Dcxgb4_debugfs.c3363 if (t->nstids) in tid_info_show()
3368 t->stid_base + t->nstids - 1, in tid_info_show()