Lines Matching refs:uevent

1657 	init_uobj(&obj->uevent.uobject, cmd.user_handle, file->ucontext, &qp_lock_class);  in ib_uverbs_create_qp()
1658 down_write(&obj->uevent.uobject.mutex); in ib_uverbs_create_qp()
1715 obj->uevent.events_reported = 0; in ib_uverbs_create_qp()
1716 INIT_LIST_HEAD(&obj->uevent.event_list); in ib_uverbs_create_qp()
1747 qp->uobject = &obj->uevent.uobject; in ib_uverbs_create_qp()
1749 obj->uevent.uobject.object = qp; in ib_uverbs_create_qp()
1750 ret = idr_add_uobj(&ib_uverbs_qp_idr, &obj->uevent.uobject); in ib_uverbs_create_qp()
1756 resp.qp_handle = obj->uevent.uobject.id; in ib_uverbs_create_qp()
1786 list_add_tail(&obj->uevent.uobject.list, &file->ucontext->qp_list); in ib_uverbs_create_qp()
1789 obj->uevent.uobject.live = 1; in ib_uverbs_create_qp()
1791 up_write(&obj->uevent.uobject.mutex); in ib_uverbs_create_qp()
1796 idr_remove_uobj(&ib_uverbs_qp_idr, &obj->uevent.uobject); in ib_uverbs_create_qp()
1813 put_uobj_write(&obj->uevent.uobject); in ib_uverbs_create_qp()
1844 init_uobj(&obj->uevent.uobject, cmd.user_handle, file->ucontext, &qp_lock_class); in ib_uverbs_open_qp()
1845 down_write(&obj->uevent.uobject.mutex); in ib_uverbs_open_qp()
1858 obj->uevent.events_reported = 0; in ib_uverbs_open_qp()
1859 INIT_LIST_HEAD(&obj->uevent.event_list); in ib_uverbs_open_qp()
1868 qp->uobject = &obj->uevent.uobject; in ib_uverbs_open_qp()
1870 obj->uevent.uobject.object = qp; in ib_uverbs_open_qp()
1871 ret = idr_add_uobj(&ib_uverbs_qp_idr, &obj->uevent.uobject); in ib_uverbs_open_qp()
1877 resp.qp_handle = obj->uevent.uobject.id; in ib_uverbs_open_qp()
1890 list_add_tail(&obj->uevent.uobject.list, &file->ucontext->qp_list); in ib_uverbs_open_qp()
1893 obj->uevent.uobject.live = 1; in ib_uverbs_open_qp()
1895 up_write(&obj->uevent.uobject.mutex); in ib_uverbs_open_qp()
1900 idr_remove_uobj(&ib_uverbs_qp_idr, &obj->uevent.uobject); in ib_uverbs_open_qp()
1907 put_uobj_write(&obj->uevent.uobject); in ib_uverbs_open_qp()
2141 obj = container_of(uobj, struct ib_uqp_object, uevent.uobject); in ib_uverbs_destroy_qp()
2166 ib_uverbs_release_uevent(file, &obj->uevent); in ib_uverbs_destroy_qp()
2168 resp.events_reported = obj->uevent.events_reported; in ib_uverbs_destroy_qp()
2674 obj = container_of(qp->uobject, struct ib_uqp_object, uevent.uobject); in ib_uverbs_attach_mcast()
2725 obj = container_of(qp->uobject, struct ib_uqp_object, uevent.uobject); in ib_uverbs_detach_mcast()
3002 init_uobj(&obj->uevent.uobject, cmd->user_handle, file->ucontext, &srq_lock_class); in __uverbs_create_xsrq()
3003 down_write(&obj->uevent.uobject.mutex); in __uverbs_create_xsrq()
3035 obj->uevent.events_reported = 0; in __uverbs_create_xsrq()
3036 INIT_LIST_HEAD(&obj->uevent.event_list); in __uverbs_create_xsrq()
3047 srq->uobject = &obj->uevent.uobject; in __uverbs_create_xsrq()
3061 obj->uevent.uobject.object = srq; in __uverbs_create_xsrq()
3062 ret = idr_add_uobj(&ib_uverbs_srq_idr, &obj->uevent.uobject); in __uverbs_create_xsrq()
3067 resp.srq_handle = obj->uevent.uobject.id; in __uverbs_create_xsrq()
3086 list_add_tail(&obj->uevent.uobject.list, &file->ucontext->srq_list); in __uverbs_create_xsrq()
3089 obj->uevent.uobject.live = 1; in __uverbs_create_xsrq()
3091 up_write(&obj->uevent.uobject.mutex); in __uverbs_create_xsrq()
3096 idr_remove_uobj(&ib_uverbs_srq_idr, &obj->uevent.uobject); in __uverbs_create_xsrq()
3115 put_uobj_write(&obj->uevent.uobject); in __uverbs_create_xsrq()
3282 us = container_of(obj, struct ib_usrq_object, uevent); in ib_uverbs_destroy_srq()