Searched refs:ntids (Results 1 – 8 of 8) sorted by relevance
631 BUG_ON(tid >= t->ntids); in cxgb3_remove_tid()659 t->ntids) { in cxgb3_alloc_atid()803 if (unlikely(tid >= t->ntids)) { in do_cr()897 if (unlikely(tid >= t->ntids)) { in do_act_establish()1138 for (tid = 0; tid < ti->ntids; tid++) { in cxgb_redirect()1178 static int init_tid_tabs(struct tid_info *t, unsigned int ntids, in init_tid_tabs() argument1182 unsigned long size = ntids * sizeof(*t->tid_tab) + in init_tid_tabs()1189 t->stid_tab = (union listen_entry *)&t->tid_tab[ntids]; in init_tid_tabs()1191 t->ntids = ntids; in init_tid_tabs()
68 struct t3c_tid_entry *t3c_tid = tid < t->ntids ? in lookup_tid()
159 unsigned int ntids; member
96 unsigned int ntids; member136 return tid < t->ntids ? t->tid_tab[tid] : NULL; in lookup_tid()
2693 t->ntids - 1); in tid_info_show()2702 t->ntids - 1); in tid_info_show()2709 t->ntids - 1); in tid_info_show()2713 } else if (t->ntids) { in tid_info_show()2714 seq_printf(seq, "TID range: 0..%u", t->ntids - 1); in tid_info_show()2734 if (t->ntids) in tid_info_show()
1299 WARN_ON(tid >= t->ntids); in cxgb4_remove_tid()1332 size = t->ntids * sizeof(*t->tid_tab) + in tid_init()1344 t->atid_tab = (union aopen_entry *)&t->tid_tab[t->ntids]; in tid_init()3719 adap->tids.ntids = val[0]; in adap_init0()3720 adap->tids.natids = min(adap->tids.ntids / 2, MAX_ATIDS); in adap_init0()3788 adap->params.max_ird_adapter = 32 * adap->tids.ntids; in adap_init0()
725 u16 ntids = iovec[idx].iov_len / sizeof(*req->tids); in hfi1_user_sdma_process_request() local727 if (!ntids || ntids > MAX_TID_PAIR_ENTRIES) { in hfi1_user_sdma_process_request()731 req->tids = kcalloc(ntids, sizeof(*req->tids), GFP_KERNEL); in hfi1_user_sdma_process_request()743 ntids * sizeof(*req->tids)); in hfi1_user_sdma_process_request()746 ntids, ret); in hfi1_user_sdma_process_request()750 req->n_tids = ntids; in hfi1_user_sdma_process_request()
287 int ret = 0, ntids; in qib_tid_update() local339 ntids = tidcnt; in qib_tid_update()367 for (; ntids--; tid++) { in qib_tid_update()373 if (ntids < 0) { in qib_tid_update()