| /linux/include/rdma/ |
| H A D | uverbs_std_types.h | 15 * The uobj APIs should only be used with the write based uAPI to access 34 static inline void *_uobj_get_obj_read(struct ib_uobject *uobj) in _uobj_get_obj_read() argument 36 if (IS_ERR(uobj)) in _uobj_get_obj_read() 37 return ERR_CAST(uobj); in _uobj_get_obj_read() 38 return uobj->object; in _uobj_get_obj_read() 62 static inline void uobj_put_destroy(struct ib_uobject *uobj) in uobj_put_destroy() argument 64 rdma_lookup_put_uobject(uobj, UVERBS_LOOKUP_DESTROY); in uobj_put_destroy() 67 static inline void uobj_put_read(struct ib_uobject *uobj) in uobj_put_read() argument 69 rdma_lookup_put_uobject(uobj, UVERBS_LOOKUP_READ); in uobj_put_read() 75 static inline void uobj_put_write(struct ib_uobject *uobj) in uobj_put_write() argument 80 uobj_alloc_abort(struct ib_uobject * uobj,struct uverbs_attr_bundle * attrs) uobj_alloc_abort() argument 86 uobj_finalize_uobj_create(struct ib_uobject * uobj,struct uverbs_attr_bundle * attrs) uobj_finalize_uobj_create() argument 104 struct ib_uobject *uobj = rdma_alloc_begin_uobject(obj, attrs); __uobj_alloc() local 115 uverbs_flow_action_fill_action(struct ib_flow_action * action,struct ib_uobject * uobj,struct ib_device * ib_dev,enum ib_flow_action_type type) uverbs_flow_action_fill_action() argument 146 ib_set_flow(struct ib_uobject * uobj,struct ib_flow * ibflow,struct ib_qp * qp,struct ib_device * device,struct ib_uflow_resources * uflow_res) ib_set_flow() argument 172 uobj_get_object_id(struct ib_uobject * uobj) uobj_get_object_id() argument [all...] |
| /linux/drivers/infiniband/core/ |
| H A D | uverbs_std_types_async_fd.c | 14 struct ib_uobject *uobj = in UVERBS_HANDLER() local 18 container_of(uobj, struct ib_uverbs_async_event_file, uobj)); in UVERBS_HANDLER() 22 static void uverbs_async_event_destroy_uobj(struct ib_uobject *uobj, in uverbs_async_event_destroy_uobj() argument 26 container_of(uobj, struct ib_uverbs_async_event_file, uobj); in uverbs_async_event_destroy_uobj() 38 struct ib_uobject *uobj = filp->private_data; in uverbs_async_event_release() local 41 if (!uobj) in uverbs_async_event_release() 45 container_of(uobj, struct ib_uverbs_async_event_file, uobj); in uverbs_async_event_release() 53 uverbs_uobject_get(uobj); in uverbs_async_event_release() 56 uverbs_uobject_put(uobj); in uverbs_async_event_release()
|
| H A D | uverbs_std_types_dmabuf.c | 73 if (!priv->uobj.context) in uverbs_dmabuf_release() 76 uverbs_uobject_release(&priv->uobj); in uverbs_dmabuf_release() 91 struct ib_uobject *uobj = in UVERBS_HANDLER() local 95 container_of(uobj, struct ib_uverbs_dmabuf_file, uobj); in UVERBS_HANDLER() 138 uobj->object = uverbs_dmabuf->dmabuf->file; in UVERBS_HANDLER() 160 static void uverbs_dmabuf_fd_destroy_uobj(struct ib_uobject *uobj, in uverbs_dmabuf_fd_destroy_uobj() argument 164 container_of(uobj, struct ib_uverbs_dmabuf_file, uobj); in uverbs_dmabuf_fd_destroy_uobj()
|
| H A D | uverbs.h | 126 struct ib_uobject uobj; member 132 struct ib_uobject uobj; member 137 struct ib_uobject uobj; member 212 struct ib_ucq_object *uobj); 213 void ib_uverbs_release_uevent(struct ib_uevent_object *uobj); 230 struct ib_uqp_object *uobj); 330 uobj); in ib_uverbs_get_async_event() 332 uverbs_uobject_get(&async_ev_file->uobj); in ib_uverbs_get_async_event()
|
| H A D | uverbs_std_types_dm.c | 53 struct ib_uobject *uobj = in UVERBS_HANDLER() local 79 dm->uobject = uobj; in UVERBS_HANDLER() 82 uobj->object = dm; in UVERBS_HANDLER()
|
| H A D | uverbs_std_types_counters.c | 58 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER() local 77 counters->uobject = uobj; in UVERBS_HANDLER() 78 uobj->object = counters; in UVERBS_HANDLER()
|
| H A D | uverbs_std_types_wq.c | 111 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER() 162 struct ib_uobject *uobj = in UVERBS_HANDLER() local 165 container_of(uobj, struct ib_uwq_object, uevent.uobject); in UVERBS_HANDLER()
|
| H A D | uverbs_std_types.c | 158 uverbs_completion_event_file_destroy_uobj(struct ib_uobject *uobj, in uverbs_completion_event_file_destroy_uobj() argument 162 container_of(uobj, struct ib_uverbs_completion_event_file, in uverbs_completion_event_file_destroy_uobj() 163 uobj); in uverbs_completion_event_file_destroy_uobj()
|
| H A D | uverbs_std_types_srq.c | 140 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER() 200 struct ib_uobject *uobj = in UVERBS_HANDLER() local 203 container_of(uobj, struct ib_usrq_object, uevent.uobject); in UVERBS_HANDLER()
|
| H A D | core_priv.h | 325 struct ib_uqp_object *uobj, const char *caller);
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| H A D | uchan.c | 77 struct nvkm_uobj *uobj = container_of(oproxy, typeof(*uobj), oproxy); in nvkm_uchan_object_fini_1() local 78 struct nvkm_chan *chan = uobj->chan; in nvkm_uchan_object_fini_1() 79 struct nvkm_cctx *cctx = uobj->cctx; in nvkm_uchan_object_fini_1() 100 struct nvkm_uobj *uobj = container_of(oproxy, typeof(*uobj), oproxy); in nvkm_uchan_object_init_0() local 101 struct nvkm_chan *chan = uobj->chan; in nvkm_uchan_object_init_0() 102 struct nvkm_cctx *cctx = uobj->cctx; in nvkm_uchan_object_init_0() 133 struct nvkm_uobj *uobj = container_of(oproxy, typeof(*uobj), oproxy); in nvkm_uchan_object_dtor() local 136 if (!uobj->cctx) in nvkm_uchan_object_dtor() 139 engn = uobj->cctx->vctx->ectx->engn; in nvkm_uchan_object_dtor() 141 engn->func->ramht_del(uobj->chan, uobj->hash); in nvkm_uchan_object_dtor() [all …]
|