Home
last modified time | relevance | path

Searched refs:uobj (Results 1 – 6 of 6) sorted by relevance

/linux/include/rdma/
H A Duverbs_std_types.h15 * 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/gpu/drm/nouveau/nvkm/engine/fifo/
H A Duchan.c77 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 …]
/linux/drivers/infiniband/core/
H A Duverbs_std_types_dmabuf.c73 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 Duverbs_std_types_dm.c53 struct ib_uobject *uobj = in UVERBS_HANDLER() local
79 dm->uobject = uobj; in UVERBS_HANDLER()
82 uobj->object = dm; in UVERBS_HANDLER()
H A Duverbs_std_types_counters.c58 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 Duverbs_std_types_wq.c111 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()