Home
last modified time | relevance | path

Searched refs:uevent (Results 1 – 25 of 84) sorted by relevance

1234

/drivers/infiniband/core/
Ducma.c227 struct ucma_event *uevent) in ucma_set_event_context() argument
229 uevent->ctx = ctx; in ucma_set_event_context()
233 uevent->mc = (struct ucma_multicast *) in ucma_set_event_context()
235 uevent->resp.uid = uevent->mc->uid; in ucma_set_event_context()
236 uevent->resp.id = uevent->mc->id; in ucma_set_event_context()
239 uevent->resp.uid = ctx->uid; in ucma_set_event_context()
240 uevent->resp.id = ctx->id; in ucma_set_event_context()
248 struct ucma_event *uevent; in ucma_event_handler() local
252 uevent = kzalloc(sizeof(*uevent), GFP_KERNEL); in ucma_event_handler()
253 if (!uevent) in ucma_event_handler()
[all …]
Ducm.c155 struct ib_ucm_event *uevent; in ib_ucm_cleanup_events() local
161 uevent = list_entry(ctx->events.next, in ib_ucm_cleanup_events()
163 list_del(&uevent->file_list); in ib_ucm_cleanup_events()
164 list_del(&uevent->ctx_list); in ib_ucm_cleanup_events()
168 if (ib_ucm_new_cm_id(uevent->resp.event)) in ib_ucm_cleanup_events()
169 ib_destroy_cm_id(uevent->cm_id); in ib_ucm_cleanup_events()
171 kfree(uevent); in ib_ucm_cleanup_events()
351 struct ib_ucm_event *uevent; in ib_ucm_event_handler() local
357 uevent = kzalloc(sizeof *uevent, GFP_KERNEL); in ib_ucm_event_handler()
358 if (!uevent) in ib_ucm_event_handler()
[all …]
Duverbs_cmd.c1617 init_uobj(&obj->uevent.uobject, cmd.user_handle, file->ucontext, &qp_lock_class); in ib_uverbs_create_qp()
1618 down_write(&obj->uevent.uobject.mutex); in ib_uverbs_create_qp()
1675 obj->uevent.events_reported = 0; in ib_uverbs_create_qp()
1676 INIT_LIST_HEAD(&obj->uevent.event_list); in ib_uverbs_create_qp()
1707 qp->uobject = &obj->uevent.uobject; in ib_uverbs_create_qp()
1709 obj->uevent.uobject.object = qp; in ib_uverbs_create_qp()
1710 ret = idr_add_uobj(&ib_uverbs_qp_idr, &obj->uevent.uobject); in ib_uverbs_create_qp()
1716 resp.qp_handle = obj->uevent.uobject.id; in ib_uverbs_create_qp()
1746 list_add_tail(&obj->uevent.uobject.list, &file->ucontext->qp_list); in ib_uverbs_create_qp()
1749 obj->uevent.uobject.live = 1; in ib_uverbs_create_qp()
[all …]
Duverbs.h148 struct ib_uevent_object uevent; member
153 struct ib_uevent_object uevent; member
Duverbs_main.c241 container_of(uobj, struct ib_uqp_object, uevent.uobject); in ib_uverbs_cleanup_ucontext()
250 ib_uverbs_release_uevent(file, &uqp->uevent); in ib_uverbs_cleanup_ucontext()
268 struct ib_uevent_object *uevent = in ib_uverbs_cleanup_ucontext() local
273 ib_uverbs_release_uevent(file, uevent); in ib_uverbs_cleanup_ucontext()
274 kfree(uevent); in ib_uverbs_cleanup_ucontext()
/drivers/xen/xenbus/
Dxenbus_probe_backend.c126 if (drv && drv->uevent) in xenbus_uevent_backend()
127 return drv->uevent(xdev, env); in xenbus_uevent_backend()
199 .uevent = xenbus_uevent_backend,
/drivers/acpi/
Ddock.c131 void (*uevent)(struct acpi_device *, u32); in dock_hotplug_event() local
133 uevent = adev->hp->uevent; in dock_hotplug_event()
134 if (uevent) { in dock_hotplug_event()
136 uevent(adev, event); in dock_hotplug_event()
Dinternal.h74 bool acpi_scan_is_offline(struct acpi_device *adev, bool uevent);
/drivers/gpu/drm/nouveau/core/engine/fifo/
Dbase.c196 nvkm_event_send(&fifo->uevent, 1, 0, &rep, sizeof(rep)); in nouveau_fifo_uevent()
207 *event = &fifo->uevent; in _nouveau_fifo_channel_ntfy()
250 nvkm_event_fini(&priv->uevent); in nouveau_fifo_destroy()
Dnv84.c418 struct nouveau_fifo *fifo = container_of(event, typeof(*fifo), uevent); in nv84_fifo_uevent_init()
425 struct nouveau_fifo *fifo = container_of(event, typeof(*fifo), uevent); in nv84_fifo_uevent_fini()
459 ret = nvkm_event_init(&nv84_fifo_uevent_func, 1, 1, &priv->base.uevent); in nv84_fifo_ctor()
/drivers/switch/
DKconfig5 monitoring switches by userspace via sysfs and uevent.
/drivers/base/
DKconfig4 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"
Dcore.c336 if (dev->bus && dev->bus->uevent) { in dev_uevent()
337 retval = dev->bus->uevent(dev, env); in dev_uevent()
353 if (dev->type && dev->type->uevent) { in dev_uevent()
354 retval = dev->type->uevent(dev, env); in dev_uevent()
367 .uevent = dev_uevent,
388 if (!kset->uevent_ops || !kset->uevent_ops->uevent) in uevent_show()
401 retval = kset->uevent_ops->uevent(kset, &dev->kobj, env); in uevent_show()
424 static DEVICE_ATTR_RW(uevent);
/drivers/gpu/drm/nouveau/core/engine/disp/
Dnvf0.c71 ret = nvkm_event_init(&nvd0_disp_chan_uevent, 1, 17, &priv->uevent); in nvf0_disp_ctor()
Dgm107.c71 ret = nvkm_event_init(&nvd0_disp_chan_uevent, 1, 17, &priv->uevent); in gm107_disp_ctor()
Dnva3.c70 ret = nvkm_event_init(&nv50_disp_chan_uevent, 1, 9, &priv->uevent); in nva3_disp_ctor()
Dnva0.c115 ret = nvkm_event_init(&nv50_disp_chan_uevent, 1, 9, &priv->uevent); in nva0_disp_ctor()
Dnve0.c236 ret = nvkm_event_init(&nvd0_disp_chan_uevent, 1, 17, &priv->uevent); in nve0_disp_ctor()
Dnv94.c98 ret = nvkm_event_init(&nv50_disp_chan_uevent, 1, 9, &priv->uevent); in nv94_disp_ctor()
Dnv84.c239 ret = nvkm_event_init(&nv50_disp_chan_uevent, 1, 9, &priv->uevent); in nv84_disp_ctor()
/drivers/gpu/drm/nouveau/
Dnouveau_fence.h61 bool uevent; member
Dnouveau_fence.c188 if (!priv->uevent) in nouveau_fence_context_new()
268 if (priv->uevent) in nouveau_fence_emit()
/drivers/zorro/
Dzorro-driver.c167 .uevent = zorro_uevent,
/drivers/rapidio/
Drio-driver.c232 .uevent = rio_uevent,
/drivers/gpu/drm/nouveau/core/include/engine/
Dfifo.h73 struct nvkm_event uevent; /* async user trigger */ member

1234