Lines Matching refs:wqs
3082 struct ib_wq **wqs = NULL; in ib_uverbs_ex_create_rwq_ind_table() local
3115 wqs = kcalloc(num_wq_handles, sizeof(*wqs), GFP_KERNEL); in ib_uverbs_ex_create_rwq_ind_table()
3116 if (!wqs) { in ib_uverbs_ex_create_rwq_ind_table()
3130 wqs[num_read_wqs] = wq; in ib_uverbs_ex_create_rwq_ind_table()
3131 atomic_inc(&wqs[num_read_wqs]->usecnt); in ib_uverbs_ex_create_rwq_ind_table()
3147 init_attr.ind_tbl = wqs; in ib_uverbs_ex_create_rwq_ind_table()
3149 rwq_ind_tbl->ind_tbl = wqs; in ib_uverbs_ex_create_rwq_ind_table()
3162 rdma_lookup_put_uobject(&wqs[i]->uobject->uevent.uobject, in ib_uverbs_ex_create_rwq_ind_table()
3178 rdma_lookup_put_uobject(&wqs[i]->uobject->uevent.uobject, in ib_uverbs_ex_create_rwq_ind_table()
3180 atomic_dec(&wqs[i]->usecnt); in ib_uverbs_ex_create_rwq_ind_table()
3184 kfree(wqs); in ib_uverbs_ex_create_rwq_ind_table()