Searched refs:uobject (Results 1 - 17 of 17) sorted by relevance

/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dsrq.c112 if (pd->uobject) {
120 srq->umem = ib_umem_get(pd->uobject->context, ucmd.buf_addr,
136 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context),
196 if (pd->uobject) {
209 if (pd->uobject)
210 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &srq->db);
218 if (pd->uobject)
224 if (!pd->uobject)
296 if (srq->xrc_cq && !srq->uobject) {
308 if (srq->uobject) {
[all...]
H A Dcq.c376 if (ibcq->uobject) {
400 if (ibcq->uobject) {
434 if (!ibcq->uobject)
459 if (cq->uobject) {
460 mlx4_ib_db_unmap_user(to_mucontext(cq->uobject->context), &mcq->db);
H A Dqp.c550 err = set_rq_size(dev, &init_attr->cap, !!pd->uobject,
555 if (pd->uobject) {
569 qp->umem = ib_umem_get(pd->uobject->context, ucmd.buf_addr,
591 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context),
686 if (pd->uobject) {
688 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context),
699 if (pd->uobject)
705 if (!pd->uobject && !init_attr->srq && init_attr->qp_type != IB_QPT_XRC)
801 mlx4_ib_db_unmap_user(to_mucontext(qp->ibqp.uobject->context),
835 (pd->uobject || init_att
[all...]
H A Dmr.c200 mr->umem = ib_umem_get(pd->uobject->context, start, length,
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/
H A Duverbs.h118 struct ib_uobject uobject; member in struct:ib_uevent_object
129 struct ib_uobject uobject; member in struct:ib_ucq_object
138 struct ib_uobject uobject; member in struct:ib_uxrcd_object
H A Duverbs_cmd.c70 * uobject.mutex must be held for reading. The rwsem must be held
215 put_uobj_read(pd->uobject);
225 put_uobj_read(cq->uobject);
235 put_uobj_read(ah->uobject);
245 put_uobj_read(qp->uobject);
255 put_uobj_read(srq->uobject);
516 pd->uobject = uobj;
644 mr->uobject = uobj;
786 init_uobj(&obj->uobject, cmd.user_handle, file->ucontext, &cq_lock_key);
787 down_write(&obj->uobject
[all...]
H A Duverbs_main.c217 container_of(uobj, struct ib_uqp_object, uevent.uobject);
230 container_of(uobj, struct ib_uevent_object, uobject);
242 container_of(uobj, struct ib_ucq_object, uobject);
265 container_of(uobj, struct ib_uxrcd_object, uobject);
435 uobj = container_of(cq->uobject, struct ib_ucq_object, uobject);
437 entry->desc.comp.cq_handle = cq->uobject->user_handle;
487 struct ib_ucq_object *uobj = container_of(event->element.cq->uobject,
488 struct ib_ucq_object, uobject);
490 ib_uverbs_async_handler(uobj->uverbs_file, uobj->uobject
[all...]
H A Dverbs.c123 pd->uobject = NULL;
151 ah->uobject = NULL;
250 srq->uobject = NULL;
278 srq->uobject = NULL;
353 qp->uobject = NULL;
734 cq->uobject = NULL;
779 mr->uobject = NULL;
805 mr->uobject = NULL;
882 mr->uobject = NULL;
929 mw->uobject
[all...]
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_srq.c106 if (pd->ibpd.uobject)
108 cpu_to_be32(to_mucontext(pd->ibpd.uobject->context)->uar.index);
132 if (pd->ibpd.uobject)
134 cpu_to_be32(to_mucontext(pd->ibpd.uobject->context)->uar.index);
155 if (pd->ibpd.uobject)
239 if (!pd->ibpd.uobject) {
309 if (!pd->ibpd.uobject)
316 if (!pd->ibpd.uobject && mthca_is_memfree(dev))
365 if (!srq->ibsrq.uobject) {
H A Dmthca_provider.c480 if (pd->uobject) {
481 context = to_mucontext(pd->uobject->context);
502 if (err && pd->uobject)
527 if (srq->uobject) {
528 context = to_mucontext(srq->uobject->context);
562 if (pd->uobject) {
563 context = to_mucontext(pd->uobject->context);
601 if (err && pd->uobject) {
602 context = to_mucontext(pd->uobject->context);
621 if (pd->uobject)
[all...]
H A Dmthca_qp.c616 if (qp->ibqp.uobject)
618 cpu_to_be32(to_mucontext(qp->ibqp.uobject->context)->uar.index);
660 u8 sched_queue = ibqp->uobject ? 0x2 : 0x1;
828 if (new_state == IB_QPS_RESET && !qp->ibqp.uobject) {
951 return pd->ibpd.uobject ? max_data_size - MTHCA_INLINE_HEADER_SIZE : 0;
1048 if (pd->ibpd.uobject)
1191 if (pd->ibpd.uobject)
1252 if (pd->ibpd.uobject &&
1256 max_inline_data = pd->ibpd.uobject ? cap->max_inline_data : 0;
1467 if (!qp->ibqp.uobject) {
[all...]
/freebsd-9.3-release/sys/contrib/rdma/
H A Drdma_verbs.c112 pd->uobject = NULL;
138 ah->uobject = NULL;
231 srq->uobject = NULL;
287 qp->uobject = NULL;
606 cq->uobject = NULL;
641 mr->uobject = NULL;
663 mr->uobject = NULL;
737 mw->uobject = NULL;
H A Dib_verbs.h755 struct ib_uobject *uobject; member in struct:ib_pd
762 struct ib_uobject *uobject; member in struct:ib_ah
769 struct ib_uobject *uobject; member in struct:ib_cq
780 struct ib_uobject *uobject; member in struct:ib_srq
792 struct ib_uobject *uobject; member in struct:ib_qp
802 struct ib_uobject *uobject; member in struct:ib_mr
811 struct ib_uobject *uobject; member in struct:ib_mw
/freebsd-9.3-release/sys/kern/
H A Dsubr_uio.c84 vm_object_t uobject; local
103 VM_PROT_WRITE, &entry, &uobject,
107 VM_OBJECT_LOCK(uobject);
109 if ((user_pg = vm_page_lookup(uobject, upindex)) != NULL) {
122 if (uobject->backing_object != NULL)
125 vm_page_insert(kern_pg, uobject, upindex);
127 VM_OBJECT_UNLOCK(uobject);
/freebsd-9.3-release/sys/ofed/include/rdma/
H A Dib_verbs.h880 struct ib_uobject *uobject; member in struct:ib_pd
886 struct ib_uobject *uobject; member in struct:ib_xrcd
896 struct ib_uobject *uobject; member in struct:ib_ah
903 struct ib_uobject *uobject; member in struct:ib_cq
916 struct ib_uobject *uobject; member in struct:ib_srq
929 struct ib_uobject *uobject; member in struct:ib_qp
940 struct ib_uobject *uobject; member in struct:ib_mr
949 struct ib_uobject *uobject; member in struct:ib_mw
/freebsd-9.3-release/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_provider.c568 mhp->umem = ib_umem_get(pd->uobject->context, start, length, acc, 0);
748 ucontext = ib_qp->uobject ? to_iwch_ucontext(ib_qp->uobject->context)
812 ucontext = pd->uobject ? to_iwch_ucontext(pd->uobject->context) : NULL;
H A Diw_cxgb_qp.c810 if (qhp->ibqp.uobject) {
865 if (!qhp->ibqp.uobject)
996 if (qhp->ibqp.uobject)

Completed in 143 milliseconds