Lines Matching defs:uobj

148 			  struct ib_ucq_object *uobj)
154 list_for_each_entry_safe(evt, tmp, &uobj->comp_list, obj_list) {
164 list_for_each_entry_safe(evt, tmp, &uobj->async_list, obj_list) {
172 struct ib_uevent_object *uobj)
177 list_for_each_entry_safe(evt, tmp, &uobj->event_list, obj_list) {
185 struct ib_uqp_object *uobj)
189 list_for_each_entry_safe(mcast, tmp, &uobj->mcast_list, list) {
199 struct ib_uobject *uobj, *tmp;
206 list_for_each_entry_safe(uobj, tmp, &context->ah_list, list) {
207 struct ib_ah *ah = uobj->object;
209 idr_remove_uobj(&ib_uverbs_ah_idr, uobj);
211 kfree(uobj);
214 list_for_each_entry_safe(uobj, tmp, &context->qp_list, list) {
215 struct ib_qp *qp = uobj->object;
217 container_of(uobj, struct ib_uqp_object, uevent.uobject);
219 idr_remove_uobj(&ib_uverbs_qp_idr, uobj);
227 list_for_each_entry_safe(uobj, tmp, &context->srq_list, list) {
228 struct ib_srq *srq = uobj->object;
230 container_of(uobj, struct ib_uevent_object, uobject);
232 idr_remove_uobj(&ib_uverbs_srq_idr, uobj);
238 list_for_each_entry_safe(uobj, tmp, &context->cq_list, list) {
239 struct ib_cq *cq = uobj->object;
242 container_of(uobj, struct ib_ucq_object, uobject);
244 idr_remove_uobj(&ib_uverbs_cq_idr, uobj);
252 list_for_each_entry_safe(uobj, tmp, &context->mr_list, list) {
253 struct ib_mr *mr = uobj->object;
255 idr_remove_uobj(&ib_uverbs_mr_idr, uobj);
257 kfree(uobj);
261 list_for_each_entry_safe(uobj, tmp, &context->xrcd_list, list) {
262 struct ib_xrcd *xrcd = uobj->object;
265 container_of(uobj, struct ib_uxrcd_object, uobject);
275 idr_remove_uobj(&ib_uverbs_xrc_domain_idr, uobj);
277 kfree(uobj);
281 list_for_each_entry_safe(uobj, tmp, &context->pd_list, list) {
282 struct ib_pd *pd = uobj->object;
284 idr_remove_uobj(&ib_uverbs_pd_idr, uobj);
286 kfree(uobj);
416 struct ib_ucq_object *uobj;
435 uobj = container_of(cq->uobject, struct ib_ucq_object, uobject);
438 entry->counter = &uobj->comp_events_reported;
441 list_add_tail(&entry->obj_list, &uobj->comp_list);
487 struct ib_ucq_object *uobj = container_of(event->element.cq->uobject,
490 ib_uverbs_async_handler(uobj->uverbs_file, uobj->uobject.user_handle,
491 event->event, &uobj->async_list,
492 &uobj->async_events_reported);
497 struct ib_uevent_object *uobj;
499 uobj = container_of(event->element.qp->uobject,
502 ib_uverbs_async_handler(context_ptr, uobj->uobject.user_handle,
503 event->event, &uobj->event_list,
504 &uobj->events_reported);
509 struct ib_uevent_object *uobj;
511 uobj = container_of(event->element.srq->uobject,
514 ib_uverbs_async_handler(context_ptr, uobj->uobject.user_handle,
515 event->event, &uobj->event_list,
516 &uobj->events_reported);