Searched refs:natids (Results 1 – 6 of 6) sorted by relevance
87 (void *)e->next < (void *)&t->atid_tab[t->natids]) in lookup_stid()101 if (tid < t->atid_base || tid >= t->atid_base + t->natids) in lookup_atid()106 (void *)e->next < (void *)&t->atid_tab[t->natids]) in lookup_atid()
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()1195 t->natids = natids; in init_tid_tabs()1211 if (natids) { in init_tid_tabs()1212 while (--natids) in init_tid_tabs()1213 t->atid_tab[natids - 1].next = &t->atid_tab[natids]; in init_tid_tabs()1241 int natids, err; in cxgb3_offload_activate() local1266 natids = min(tid_range.num / 2, MAX_ATIDS); in cxgb3_offload_activate()1267 err = init_tid_tabs(&t->tid_maps, tid_range.num, natids, in cxgb3_offload_activate()
167 unsigned int natids; member
103 unsigned int natids; member136 return atid < t->natids ? t->atid_tab[atid].data : NULL; in lookup_atid()
1695 unsigned int natids = t->natids; in tid_init() local1700 natids * sizeof(*t->atid_tab) + in tid_init()1712 t->stid_tab = (struct serv_entry *)&t->atid_tab[natids]; in tid_init()1726 if (natids) { in tid_init()1727 while (--natids) in tid_init()1728 t->atid_tab[natids - 1].next = &t->atid_tab[natids]; in tid_init()4013 adap->tids.natids = min(adap->tids.ntids / 2, MAX_ATIDS); in adap_init0()
2610 if (t->natids) in tid_info_show()2612 t->natids - 1, t->atids_in_use); in tid_info_show()