Searched refs:ucq (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs_comp.c | 226 ucq = kmem_zalloc(sizeof (*ucq), KM_NOSLEEP); in sol_uverbs_create_cq() 227 if (!ucq) { in sol_uverbs_create_cq() 278 "ucq %p, comp_chan %p", ucq, ucq->comp_chan); in sol_uverbs_create_cq() 296 ibt_set_cq_private(ucq->cq, ucq); in sol_uverbs_create_cq() 357 ibt_set_cq_handler(ucq->cq, sol_uverbs_comp_event_handler, ucq); in sol_uverbs_create_cq() 378 uverbs_release_ucq_channel(uctxt, ucq->comp_chan, ucq); in sol_uverbs_create_cq() 447 if (ucq == NULL) { in sol_uverbs_destroy_cq() 455 uverbs_release_ucq_channel(uctxt, ucq->comp_chan, ucq); in sol_uverbs_destroy_cq() 775 if (!ucq || !ucq->comp_chan) { in sol_uverbs_comp_event_handler() 777 "ucq %p ucq->comp_chan %p", ucq, (ucq) ? ucq->comp_chan : in sol_uverbs_comp_event_handler() [all …]
|
H A D | sol_uverbs_event.c | 576 uverbs_ucq_uobj_t *ucq; in uverbs_async_cq_event_handler() local 588 if (ucq->cq != event->ev_cq_hdl) { in uverbs_async_cq_event_handler() 594 uverbs_async_event_common(ucq->uctxt, ucq->uobj.uo_user_handle, in uverbs_async_cq_event_handler() 595 code, &ucq->async_list, &ucq->async_events_reported); in uverbs_async_cq_event_handler() 897 uctxt, ufile, ucq); in uverbs_release_ucq_channel() 914 &ucq->comp_list, ucq->comp_list.prv, in uverbs_release_ucq_channel() 915 ucq->comp_list.nxt); in uverbs_release_ucq_channel() 918 entry = ucq->comp_list.nxt; in uverbs_release_ucq_channel() 920 while (entry != &ucq->comp_list) { in uverbs_release_ucq_channel() 967 entry = ucq->async_list.nxt; in uverbs_release_ucq_uevents() [all …]
|
H A D | sol_uverbs.c | 1039 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 D | sol_uverbs_qp.c | 2679 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()
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs_event.h | 54 uverbs_ufile_uobj_t *comp_chan, uverbs_ucq_uobj_t *ucq); 57 uverbs_ucq_uobj_t *ucq);
|