Searched refs:natids (Results 1 – 5 of 5) 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()
1188 unsigned int natids, unsigned int nstids, in init_tid_tabs() argument1192 natids * sizeof(*t->atid_tab) + nstids * sizeof(*t->stid_tab); in init_tid_tabs()1204 t->natids = natids; in init_tid_tabs()1220 if (natids) { in init_tid_tabs()1221 while (--natids) in init_tid_tabs()1222 t->atid_tab[natids - 1].next = &t->atid_tab[natids]; in init_tid_tabs()1250 int natids, err; in cxgb3_offload_activate() local1274 natids = min(tid_range.num / 2, MAX_ATIDS); in cxgb3_offload_activate()1275 err = init_tid_tabs(&t->tid_maps, tid_range.num, natids, in cxgb3_offload_activate()
167 unsigned int natids; member
99 unsigned int natids; member121 return atid < t->natids ? t->atid_tab[atid].data : NULL; in lookup_atid()
2302 unsigned int natids = t->natids; in tid_init() local2304 size = t->ntids * sizeof(*t->tid_tab) + natids * sizeof(*t->atid_tab) + in tid_init()2312 t->stid_tab = (struct serv_entry *)&t->atid_tab[natids]; in tid_init()2323 if (natids) { in tid_init()2324 while (--natids) in tid_init()2325 t->atid_tab[natids - 1].next = &t->atid_tab[natids]; in tid_init()3073 adap->tids.natids = min(adap->tids.ntids / 2, MAX_ATIDS); in adap_init0()