/drivers/infiniband/core/ |
D | uverbs_std_types_wq.c | 16 container_of(uobject, struct ib_uwq_object, uevent.uobject); in uverbs_free_wq() 23 ib_uverbs_release_uevent(&uwq->uevent); in uverbs_free_wq() 32 typeof(*obj), uevent.uobject); in UVERBS_HANDLER() 66 obj->uevent.event_file = ib_uverbs_get_async_event(attrs, in UVERBS_HANDLER() 68 obj->uevent.uobject.user_handle = user_handle; in UVERBS_HANDLER() 69 INIT_LIST_HEAD(&obj->uevent.event_list); in UVERBS_HANDLER() 80 obj->uevent.uobject.object = wq; in UVERBS_HANDLER() 110 if (obj->uevent.event_file) in UVERBS_HANDLER() 111 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER() 165 container_of(uobj, struct ib_uwq_object, uevent.uobject); in UVERBS_HANDLER() [all …]
|
D | uverbs_std_types_srq.c | 15 struct ib_uevent_object *uevent = in uverbs_free_srq() local 27 uevent.uobject); in uverbs_free_srq() 32 ib_uverbs_release_uevent(uevent); in uverbs_free_srq() 41 typeof(*obj), uevent.uobject); in UVERBS_HANDLER() 101 obj->uevent.event_file = ib_uverbs_get_async_event(attrs, in UVERBS_HANDLER() 103 INIT_LIST_HEAD(&obj->uevent.event_list); in UVERBS_HANDLER() 105 obj->uevent.uobject.user_handle = user_handle; in UVERBS_HANDLER() 113 obj->uevent.uobject.object = srq; in UVERBS_HANDLER() 139 if (obj->uevent.event_file) in UVERBS_HANDLER() 140 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER() [all …]
|
D | ucma.c | 262 struct ucma_event *uevent; in ucma_create_uevent() local 264 uevent = kzalloc(sizeof(*uevent), GFP_KERNEL); in ucma_create_uevent() 265 if (!uevent) in ucma_create_uevent() 268 uevent->ctx = ctx; in ucma_create_uevent() 272 uevent->mc = (struct ucma_multicast *) in ucma_create_uevent() 274 uevent->resp.uid = uevent->mc->uid; in ucma_create_uevent() 275 uevent->resp.id = uevent->mc->id; in ucma_create_uevent() 278 uevent->resp.uid = ctx->uid; in ucma_create_uevent() 279 uevent->resp.id = ctx->id; in ucma_create_uevent() 282 uevent->resp.event = event->event; in ucma_create_uevent() [all …]
|
D | uverbs_std_types_cq.c | 45 container_of(uobject, struct ib_ucq_object, uevent.uobject); in uverbs_free_cq() 66 typeof(*obj), uevent.uobject); in UVERBS_HANDLER() 104 obj->uevent.event_file = ib_uverbs_get_async_event( in UVERBS_HANDLER() 113 INIT_LIST_HEAD(&obj->uevent.event_list); in UVERBS_HANDLER() 135 obj->uevent.uobject.object = cq; in UVERBS_HANDLER() 136 obj->uevent.uobject.user_handle = user_handle; in UVERBS_HANDLER() 148 if (obj->uevent.event_file) in UVERBS_HANDLER() 149 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER() 191 container_of(uobj, struct ib_ucq_object, uevent.uobject); in UVERBS_HANDLER() 194 .async_events_reported = obj->uevent.events_reported in UVERBS_HANDLER()
|
D | uverbs_std_types_qp.c | 17 container_of(uobject, struct ib_uqp_object, uevent.uobject); in uverbs_free_qp() 41 ib_uverbs_release_uevent(&uqp->uevent); in uverbs_free_qp() 87 typeof(*obj), uevent.uobject); in UVERBS_HANDLER() 228 obj->uevent.event_file = ib_uverbs_get_async_event(attrs, in UVERBS_HANDLER() 230 INIT_LIST_HEAD(&obj->uevent.event_list); in UVERBS_HANDLER() 232 obj->uevent.uobject.user_handle = user_handle; in UVERBS_HANDLER() 280 obj->uevent.uobject.object = qp; in UVERBS_HANDLER() 302 if (obj->uevent.event_file) in UVERBS_HANDLER() 303 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER() 372 container_of(uobj, struct ib_uqp_object, uevent.uobject); in UVERBS_HANDLER() [all …]
|
D | uverbs_cmd.c | 997 obj->uevent.uobject.user_handle = cmd->user_handle; in create_cq() 999 INIT_LIST_HEAD(&obj->uevent.event_list); in create_cq() 1025 obj->uevent.uobject.object = cq; in create_cq() 1026 obj->uevent.event_file = READ_ONCE(attrs->ufile->default_async_file); in create_cq() 1027 if (obj->uevent.event_file) in create_cq() 1028 uverbs_uobject_get(&obj->uevent.event_file->uobj); in create_cq() 1029 uobj_finalize_uobj_create(&obj->uevent.uobject, attrs); in create_cq() 1031 resp.base.cq_handle = obj->uevent.uobject.id; in create_cq() 1043 uobj_alloc_abort(&obj->uevent.uobject, attrs); in create_cq() 1107 rdma_lookup_put_uobject(&cq->uobject->uevent.uobject, in ib_uverbs_resize_cq() [all …]
|
D | uverbs.h | 195 struct ib_uevent_object uevent; member 200 struct ib_uevent_object uevent; member 208 struct ib_uevent_object uevent; member 212 struct ib_uevent_object uevent; member
|
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | base.c | 174 struct nvkm_fifo *fifo = container_of(event, typeof(*fifo), uevent); in nvkm_fifo_uevent_fini() 181 struct nvkm_fifo *fifo = container_of(event, typeof(*fifo), uevent); in nvkm_fifo_uevent_init() 215 nvkm_event_send(&fifo->uevent, 1, 0, &rep, sizeof(rep)); in nvkm_fifo_uevent() 336 nvkm_event_fini(&fifo->uevent); in nvkm_fifo_dtor() 374 &fifo->uevent); in nvkm_fifo_ctor()
|
/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | changf119.c | 29 struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); in gf119_disp_chan_uevent_fini() 38 struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); in gf119_disp_chan_uevent_init()
|
D | nv50.h | 18 struct nvkm_event uevent; member 59 const struct nvkm_event_func *uevent; member
|
D | channv50.c | 109 struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); in nv50_disp_chan_uevent_fini() 118 struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); in nv50_disp_chan_uevent_init() 130 nvkm_event_send(&disp->uevent, 1, chid, &rep, sizeof(rep)); in nv50_disp_chan_uevent_send() 204 *pevent = &disp->uevent; in nv50_disp_chan_ntfy()
|
D | gp100.c | 35 .uevent = &gf119_disp_chan_uevent,
|
D | gk104.c | 35 .uevent = &gf119_disp_chan_uevent,
|
D | gk110.c | 35 .uevent = &gf119_disp_chan_uevent,
|
D | gm200.c | 35 .uevent = &gf119_disp_chan_uevent,
|
D | gm107.c | 35 .uevent = &gf119_disp_chan_uevent,
|
D | gt200.c | 34 .uevent = &nv50_disp_chan_uevent,
|
D | mcp89.c | 32 .uevent = &nv50_disp_chan_uevent,
|
D | g84.c | 34 .uevent = &nv50_disp_chan_uevent,
|
D | mcp77.c | 32 .uevent = &nv50_disp_chan_uevent,
|
D | gt215.c | 34 .uevent = &nv50_disp_chan_uevent,
|
D | g94.c | 34 .uevent = &nv50_disp_chan_uevent,
|
/drivers/acpi/ |
D | dock.c | 107 void (*uevent)(struct acpi_device *, u32); in dock_hotplug_event() local 109 uevent = adev->hp->uevent; in dock_hotplug_event() 110 if (uevent) { in dock_hotplug_event() 112 uevent(adev, event); in dock_hotplug_event()
|
/drivers/xen/xenbus/ |
D | xenbus_probe_backend.c | 125 if (drv && drv->uevent) in xenbus_uevent_backend() 126 return drv->uevent(xdev, env); in xenbus_uevent_backend() 205 .uevent = xenbus_uevent_backend,
|
/drivers/base/ |
D | Kconfig | 5 bool "Support for uevent helper" 7 The uevent helper program is forked by the kernel for 8 every uevent. 9 Before the switch to the netlink-based uevent source, this was 19 string "path to uevent helper"
|