Lines Matching refs:wqs
3047 struct ib_wq **wqs = NULL; in ib_uverbs_ex_create_rwq_ind_table() local
3080 wqs = kcalloc(num_wq_handles, sizeof(*wqs), GFP_KERNEL); in ib_uverbs_ex_create_rwq_ind_table()
3081 if (!wqs) { in ib_uverbs_ex_create_rwq_ind_table()
3095 wqs[num_read_wqs] = wq; in ib_uverbs_ex_create_rwq_ind_table()
3096 atomic_inc(&wqs[num_read_wqs]->usecnt); in ib_uverbs_ex_create_rwq_ind_table()
3112 init_attr.ind_tbl = wqs; in ib_uverbs_ex_create_rwq_ind_table()
3114 rwq_ind_tbl->ind_tbl = wqs; in ib_uverbs_ex_create_rwq_ind_table()
3127 rdma_lookup_put_uobject(&wqs[i]->uobject->uevent.uobject, in ib_uverbs_ex_create_rwq_ind_table()
3143 rdma_lookup_put_uobject(&wqs[i]->uobject->uevent.uobject, in ib_uverbs_ex_create_rwq_ind_table()
3145 atomic_dec(&wqs[i]->usecnt); in ib_uverbs_ex_create_rwq_ind_table()
3149 kfree(wqs); in ib_uverbs_ex_create_rwq_ind_table()