• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/ofed/drivers/infiniband/core/

Lines Matching defs:uobj

183 			  struct ib_ucq_object *uobj)
189 list_for_each_entry_safe(evt, tmp, &uobj->comp_list, obj_list) {
199 list_for_each_entry_safe(evt, tmp, &uobj->async_list, obj_list) {
207 struct ib_uevent_object *uobj)
212 list_for_each_entry_safe(evt, tmp, &uobj->event_list, obj_list) {
220 struct ib_uqp_object *uobj)
224 list_for_each_entry_safe(mcast, tmp, &uobj->mcast_list, list) {
234 struct ib_uobject *uobj, *tmp;
238 list_for_each_entry_safe(uobj, tmp, &context->ah_list, list) {
239 struct ib_ah *ah = uobj->object;
241 idr_remove_uobj(&ib_uverbs_ah_idr, uobj);
243 kfree(uobj);
247 list_for_each_entry_safe(uobj, tmp, &context->mw_list, list) {
248 struct ib_mw *mw = uobj->object;
250 idr_remove_uobj(&ib_uverbs_mw_idr, uobj);
252 kfree(uobj);
255 list_for_each_entry_safe(uobj, tmp, &context->rule_list, list) {
256 struct ib_flow *flow_id = uobj->object;
258 idr_remove_uobj(&ib_uverbs_rule_idr, uobj);
260 kfree(uobj);
263 list_for_each_entry_safe(uobj, tmp, &context->qp_list, list) {
264 struct ib_qp *qp = uobj->object;
266 container_of(uobj, struct ib_uqp_object, uevent.uobject);
268 idr_remove_uobj(&ib_uverbs_qp_idr, uobj);
276 list_for_each_entry_safe(uobj, tmp, &context->rwq_ind_tbl_list, list) {
277 struct ib_rwq_ind_table *rwq_ind_tbl = uobj->object;
280 idr_remove_uobj(&ib_uverbs_rwq_ind_tbl_idr, uobj);
283 kfree(uobj);
286 list_for_each_entry_safe(uobj, tmp, &context->wq_list, list) {
287 struct ib_wq *wq = uobj->object;
289 container_of(uobj, struct ib_uwq_object, uevent.uobject);
291 idr_remove_uobj(&ib_uverbs_wq_idr, uobj);
297 list_for_each_entry_safe(uobj, tmp, &context->srq_list, list) {
298 struct ib_srq *srq = uobj->object;
300 container_of(uobj, struct ib_uevent_object, uobject);
302 idr_remove_uobj(&ib_uverbs_srq_idr, uobj);
308 list_for_each_entry_safe(uobj, tmp, &context->cq_list, list) {
309 struct ib_cq *cq = uobj->object;
312 container_of(uobj, struct ib_ucq_object, uobject);
314 idr_remove_uobj(&ib_uverbs_cq_idr, uobj);
320 list_for_each_entry_safe(uobj, tmp, &context->mr_list, list) {
321 struct ib_mr *mr = uobj->object;
323 idr_remove_uobj(&ib_uverbs_mr_idr, uobj);
325 kfree(uobj);
329 list_for_each_entry_safe(uobj, tmp, &context->xrcd_list, list) {
330 struct ib_xrcd *xrcd = uobj->object;
332 container_of(uobj, struct ib_uxrcd_object, uobject);
334 idr_remove_uobj(&ib_uverbs_xrcd_idr, uobj);
340 list_for_each_entry_safe(uobj, tmp, &context->pd_list, list) {
341 struct ib_pd *pd = uobj->object;
343 idr_remove_uobj(&ib_uverbs_pd_idr, uobj);
345 kfree(uobj);
508 struct ib_ucq_object *uobj;
527 uobj = container_of(cq->uobject, struct ib_ucq_object, uobject);
530 entry->counter = &uobj->comp_events_reported;
533 list_add_tail(&entry->obj_list, &uobj->comp_list);
576 struct ib_ucq_object *uobj = container_of(event->element.cq->uobject,
579 ib_uverbs_async_handler(uobj->uverbs_file, uobj->uobject.user_handle,
580 event->event, &uobj->async_list,
581 &uobj->async_events_reported);
586 struct ib_uevent_object *uobj;
592 uobj = container_of(event->element.qp->uobject,
595 ib_uverbs_async_handler(context_ptr, uobj->uobject.user_handle,
596 event->event, &uobj->event_list,
597 &uobj->events_reported);
602 struct ib_uevent_object *uobj = container_of(event->element.wq->uobject,
605 ib_uverbs_async_handler(context_ptr, uobj->uobject.user_handle,
606 event->event, &uobj->event_list,
607 &uobj->events_reported);
612 struct ib_uevent_object *uobj;
614 uobj = container_of(event->element.srq->uobject,
617 ib_uverbs_async_handler(context_ptr, uobj->uobject.user_handle,
618 event->event, &uobj->event_list,
619 &uobj->events_reported);