Home
last modified time | relevance | path

Searched refs:ucq (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_comp.c199 uverbs_ucq_uobj_t *ucq; in sol_uverbs_create_cq() local
226 ucq = kmem_zalloc(sizeof (*ucq), KM_NOSLEEP); in sol_uverbs_create_cq()
227 if (!ucq) { in sol_uverbs_create_cq()
233 sol_ofs_uobj_init(&ucq->uobj, cmd.user_handle, in sol_uverbs_create_cq()
235 rw_enter(&ucq->uobj.uo_lock, RW_WRITER); in sol_uverbs_create_cq()
237 "create_cq: ucq %p, comp_chan %d", ucq, cmd.comp_channel); in sol_uverbs_create_cq()
271 ucq->comp_chan = ufile; in sol_uverbs_create_cq()
278 "ucq %p, comp_chan %p", ucq, ucq->comp_chan); in sol_uverbs_create_cq()
280 ucq->comp_chan = NULL; in sol_uverbs_create_cq()
283 llist_head_init(&ucq->async_list, NULL); in sol_uverbs_create_cq()
[all …]
H A Dsol_uverbs_event.c574 uverbs_ucq_uobj_t *ucq; in uverbs_async_cq_event_handler() local
585 ucq = ibt_get_cq_private(event->ev_cq_hdl); in uverbs_async_cq_event_handler()
586 if (ucq->cq != event->ev_cq_hdl) { in uverbs_async_cq_event_handler()
592 uverbs_async_event_common(ucq->uctxt, ucq->uobj.uo_user_handle, in uverbs_async_cq_event_handler()
593 code, &ucq->async_list, &ucq->async_events_reported); in uverbs_async_cq_event_handler()
887 uverbs_ufile_uobj_t *ufile, uverbs_ucq_uobj_t *ucq) in uverbs_release_ucq_channel() argument
895 uctxt, ufile, ucq); in uverbs_release_ucq_channel()
906 uverbs_release_ucq_uevents(ufile, ucq); in uverbs_release_ucq_channel()
912 &ucq->comp_list, ucq->comp_list.prv, in uverbs_release_ucq_channel()
913 ucq->comp_list.nxt); in uverbs_release_ucq_channel()
[all …]
H A Dsol_uverbs.c1039 uverbs_ucq_uobj_t *ucq = (uverbs_ucq_uobj_t *)entry->data; in sol_uverbs_close() local
1041 rw_enter(&(ucq->uobj.uo_lock), RW_WRITER); in sol_uverbs_close()
1044 uverbs_release_ucq_channel(uctxt, ucq->comp_chan, ucq); in sol_uverbs_close()
1046 if (ucq->active_qp_cnt) { in sol_uverbs_close()
1049 ucq->list_entry = new_entry; in sol_uverbs_close()
1050 ucq->free_pending = 1; in sol_uverbs_close()
1051 rw_exit(&(ucq->uobj.uo_lock)); in sol_uverbs_close()
1053 ucq->list_entry = NULL; in sol_uverbs_close()
1054 sol_ofs_uobj_ref(&ucq->uobj); in sol_uverbs_close()
1056 rc = uverbs_ucq_free(ucq, uctxt); in sol_uverbs_close()
[all …]
H A Dsol_uverbs_qp.c2679 uverbs_cq_ctrl(uverbs_ucq_uobj_t *ucq, sol_uverbs_cq_ctrl_t ctrl) in uverbs_cq_ctrl() argument
2683 ufile = ucq->comp_chan; in uverbs_cq_ctrl()
2686 "cq_ctrl(%p), ufile NULL", ucq, ufile); in uverbs_cq_ctrl()
/titanic_44/usr/src/uts/common/sys/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_event.h54 uverbs_ufile_uobj_t *comp_chan, uverbs_ucq_uobj_t *ucq);
57 uverbs_ucq_uobj_t *ucq);