Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h95 unsigned int nstids; member
127 return stid < t->nstids ? t->stid_tab[stid].data : NULL; in lookup_stid()
Dcxgb4_main.c2132 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid()
2133 if (stid < t->nstids) in cxgb4_alloc_stid()
2138 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 2); in cxgb4_alloc_stid()
2268 t->nstids * sizeof(*t->stid_tab) + in tid_init()
2269 BITS_TO_LONGS(t->nstids) * sizeof(long); in tid_init()
2276 t->stid_bmap = (unsigned long *)&t->stid_tab[t->nstids]; in tid_init()
2291 bitmap_zero(t->stid_bmap, t->nstids); in tid_init()
3039 adap->tids.nstids = val[2] - val[1] + 1; in adap_init0()
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c1200 unsigned int natids, unsigned int nstids, in init_tid_tabs() argument
1204 natids * sizeof(*t->atid_tab) + nstids * sizeof(*t->stid_tab); in init_tid_tabs()
1211 t->atid_tab = (union active_open_entry *)&t->stid_tab[nstids]; in init_tid_tabs()
1213 t->nstids = nstids; in init_tid_tabs()
1227 if (nstids) { in init_tid_tabs()
1228 while (--nstids) in init_tid_tabs()
1229 t->stid_tab[nstids - 1].next = &t->stid_tab[nstids]; in init_tid_tabs()
Dcxgb3_defs.h82 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid()
Dcxgb3_offload.h163 unsigned int nstids; member