Lines Matching defs:obj
11 void iommufd_hwpt_paging_destroy(struct iommufd_object *obj)
14 container_of(obj, struct iommufd_hwpt_paging, common.obj);
28 refcount_dec(&hwpt_paging->ioas->obj.users);
31 void iommufd_hwpt_paging_abort(struct iommufd_object *obj)
34 container_of(obj, struct iommufd_hwpt_paging, common.obj);
44 iommufd_hwpt_paging_destroy(obj);
47 void iommufd_hwpt_nested_destroy(struct iommufd_object *obj)
50 container_of(obj, struct iommufd_hwpt_nested, common.obj);
55 refcount_dec(&hwpt_nested->parent->common.obj.users);
58 void iommufd_hwpt_nested_abort(struct iommufd_object *obj)
60 iommufd_hwpt_nested_destroy(obj);
119 ictx, hwpt_paging, IOMMUFD_OBJ_HWPT_PAGING, common.obj);
126 refcount_inc(&ioas->obj.users);
189 iommufd_object_abort_and_destroy(ictx, &hwpt->obj);
222 ictx, hwpt_nested, IOMMUFD_OBJ_HWPT_NESTED, common.obj);
227 refcount_inc(&parent->common.obj.users);
246 iommufd_object_abort_and_destroy(ictx, &hwpt->obj);
283 ioas = container_of(pt_obj, struct iommufd_ioas, obj);
299 common.obj),
311 cmd->out_hwpt_id = hwpt->obj.id;
315 iommufd_object_finalize(ucmd->ictx, &hwpt->obj);
319 iommufd_object_abort_and_destroy(ucmd->ictx, &hwpt->obj);
326 iommufd_put_object(ucmd->ictx, &idev->obj);
351 iommufd_put_object(ucmd->ictx, &hwpt_paging->common.obj);
374 iommufd_put_object(ucmd->ictx, &hwpt_paging->common.obj);
411 iommufd_put_object(ucmd->ictx, &hwpt->obj);