Home
last modified time | relevance | path

Searched refs:uctxt (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs.c144 static int (*uverbs_cmd_table[])(uverbs_uctxt_uobj_t *uctxt, char *buf,
787 uverbs_uctxt_uobj_t *uctxt; in sol_uverbs_open() local
847 uctxt = sol_uverbs_alloc_uctxt(devp, mod_ctxt, minor); in sol_uverbs_open()
848 if (!uctxt) { in sol_uverbs_open()
858 uctxt->uobj.uo_live = 1; in sol_uverbs_open()
859 rw_exit(&uctxt->uobj.uo_lock); in sol_uverbs_open()
887 uverbs_uctxt_uobj_t *uctxt; in sol_uverbs_close() local
913 uctxt = uverbs_uobj_get_uctxt_write(id - SOL_UVERBS_DRIVER_MAX_MINOR); in sol_uverbs_close()
914 if (uctxt == NULL) { in sol_uverbs_close()
920 "uctxt %p", uctxt); in sol_uverbs_close()
[all …]
H A Dsol_uverbs_comp.c67 uverbs_convert_wc(uverbs_uctxt_uobj_t *uctxt, ibt_wc_t *ibt_wc, in uverbs_convert_wc() argument
70 ASSERT(uctxt != NULL); in uverbs_convert_wc()
194 sol_uverbs_create_cq(uverbs_uctxt_uobj_t *uctxt, char *buf, in sol_uverbs_create_cq() argument
259 if (compl_uctxt->uctxt_verbs_id != uctxt->uobj.uo_id + in sol_uverbs_create_cq()
286 rc = ibt_alloc_cq(uctxt->hca->hdl, &cq_attr, &ucq->cq, &real_size); in sol_uverbs_create_cq()
306 rc = ibt_ci_data_out(uctxt->hca->hdl, IBT_CI_NO_FLAGS, IBT_HDL_CQ, in sol_uverbs_create_cq()
343 ucq->uctxt = uctxt; in sol_uverbs_create_cq()
345 mutex_enter(&uctxt->lock); in sol_uverbs_create_cq()
346 ucq->list_entry = add_genlist(&uctxt->cq_list, (uintptr_t)ucq, uctxt); in sol_uverbs_create_cq()
347 mutex_exit(&uctxt->lock); in sol_uverbs_create_cq()
[all …]
H A Dsol_uverbs_event.c313 uverbs_alloc_event_file(uverbs_uctxt_uobj_t *uctxt, int is_async) in uverbs_alloc_event_file() argument
318 uctxt, is_async); in uverbs_alloc_event_file()
349 ufile->uctxt = uctxt; in uverbs_alloc_event_file()
549 uverbs_async_event_common(uqp->uctxt, uqp->uobj.uo_user_handle, in uverbs_async_qp_event_handler()
592 uverbs_async_event_common(ucq->uctxt, ucq->uobj.uo_user_handle, in uverbs_async_cq_event_handler()
634 uverbs_async_event_common(usrq->uctxt, usrq->uobj.uo_user_handle, in uverbs_async_srq_event_handler()
660 uverbs_uctxt_uobj_t *uctxt; in uverbs_async_unaff_event_handler() local
679 uctxt = (uverbs_uctxt_uobj_t *)blk->ofs_uoblk_blks[j]; in uverbs_async_unaff_event_handler()
680 if (uctxt == NULL) { in uverbs_async_unaff_event_handler()
687 if (uctxt->hca->hdl == hca_hdl && uctxt->async_evfile) { in uverbs_async_unaff_event_handler()
[all …]
H A Dsol_uverbs_qp.c356 sol_uverbs_create_qp(uverbs_uctxt_uobj_t *uctxt, char *buf, in sol_uverbs_create_qp() argument
420 uqp->uctxt = uctxt; in sol_uverbs_create_qp()
468 rc = ibt_alloc_qp(uctxt->hca->hdl, qp_type, &qp_attr, &qp_sizes, in sol_uverbs_create_qp()
506 rc = ibt_ci_data_out(uctxt->hca->hdl, IBT_CI_NO_FLAGS, IBT_HDL_CHANNEL, in sol_uverbs_create_qp()
569 mutex_enter(&uctxt->lock); in sol_uverbs_create_qp()
570 uqp->list_entry = add_genlist(&uctxt->qp_list, (uintptr_t)uqp, in sol_uverbs_create_qp()
571 (void*)uctxt); in sol_uverbs_create_qp()
572 mutex_exit(&uctxt->lock); in sol_uverbs_create_qp()
647 uverbs_uqp_rsrc_free(uverbs_uqp_uobj_t *uqp, uverbs_uctxt_uobj_t *uctxt) in uverbs_uqp_rsrc_free() argument
700 ret = uverbs_upd_free(upd, uctxt); in uverbs_uqp_rsrc_free()
[all …]
/titanic_44/usr/src/uts/common/sys/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_qp.h53 int sol_uverbs_create_qp(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
56 int sol_uverbs_destroy_qp(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
59 int sol_uverbs_modify_qp(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
62 int sol_uverbs_query_qp(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
65 int sol_uverbs_create_srq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
68 int sol_uverbs_modify_srq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
71 int sol_uverbs_query_srq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
74 int sol_uverbs_destroy_srq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
77 int sol_uverbs_attach_mcast(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
80 int sol_uverbs_detach_mcast(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
H A Dsol_uverbs.h120 struct uverbs_uctxt_uobj *uctxt; member
214 uverbs_uctxt_uobj_t *uctxt; member
231 uverbs_uctxt_uobj_t *uctxt; member
258 uverbs_uctxt_uobj_t *uctxt; member
304 int sol_uverbs_dummy_command(uverbs_uctxt_uobj_t *uctxt, char *buf,
306 int sol_uverbs_get_context(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
308 int sol_uverbs_alloc_pd(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
310 int sol_uverbs_dealloc_pd(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
312 int sol_uverbs_create_ah(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
314 int sol_uverbs_destroy_ah(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
[all …]
H A Dsol_uverbs_comp.h54 sol_uverbs_create_cq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
58 sol_uverbs_destroy_cq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
62 sol_uverbs_resize_cq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
66 sol_uverbs_req_notify_cq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
70 sol_uverbs_poll_cq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len,
H A Dsol_uverbs_event.h45 uverbs_ufile_uobj_t *uverbs_alloc_event_file(uverbs_uctxt_uobj_t *uctxt,
53 void uverbs_release_ucq_channel(uverbs_uctxt_uobj_t *uctxt,