Home
last modified time | relevance | path

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

12345678

/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_std_types_wq.c16 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 …]
Duverbs_std_types_srq.c15 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 …]
Duverbs_std_types_cq.c45 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()
Ducma.c262 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 …]
Duverbs_std_types_qp.c17 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 …]
Duverbs_cmd.c997 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 …]
Duverbs.h195 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
/kernel/linux/linux-5.10/Documentation/filesystems/
Dgfs2-uevents.rst18 uevent generated by the newly created filesystem. If the mount
19 is successful, an ONLINE uevent will follow. If it is not successful
20 then a REMOVE uevent will follow.
22 The ADD uevent has two environment variables: SPECTATOR=[0|1]
30 The ONLINE uevent is generated after a successful mount or remount. It
31 has the same environment variables as the ADD uevent. The ONLINE
32 uevent, along with the two environment variables for spectator and
39 The CHANGE uevent is used in two places. One is when reporting the
44 The other CHANGE uevent is used to inform of the completion
53 Because the CHANGE uevent was used (in early versions of gfs_controld)
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-uevent1 What: /sys/.../uevent
7 are generated by writing /sys/.../uevent file.
13 The ACTION is compulsory - it is the name of the uevent
24 listeners. The UUID value appears in uevent as
28 If UUID is not passed in, the generated synthetic uevent gains
35 synthetic uevent as ``SYNTH_ARG_KEY=VALUE``. That means the KEY
39 Example of valid sequence written to the uevent file::
43 This generates synthetic uevent including these variables::
Dusb-uevent1 What: Raise a uevent when a USB Host Controller has died
6 longer functional a uevent will be raised. The uevent will
Dsysfs-devices16 Or rely on the uevent messages to notify programs of
21 chain will have emitted uevent messages, so userspace
Dsysfs-class-pktcdvd28 What: /sys/class/pktcdvd/pktcdvd[0-7]/uevent
35 uevent: (WO) To send a uevent
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dvideo-output.rst18 | `-- uevent
23 | `-- uevent
28 | `-- uevent
33 `-- uevent
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_lirc_mode2.sh22 if grep -q DRV_NAME=rc-loopback $i/uevent
24 LIRCDEV=$(grep DEVNAME= $i/lirc*/uevent | sed sQDEVNAME=Q/dev/Q)
25 INPUTDEV=$(grep DEVNAME= $i/input*/event*/uevent | sed sQDEVNAME=Q/dev/Q)
/kernel/linux/linux-5.10/Documentation/driver-api/firmware/
Dfirmware_cache.rst30 device if the second argument (uevent) to request_firmware_nowait() is
31 true. When uevent is true it requests that a kobject uevent be sent to
47 * Upon suspend any pending non-uevent firmware requests are killed to avoid
49 calls requiring the non-uevent therefore need to implement their own firmware
Dfallback-mechanisms.rst15 enable the kobject uevent fallback mechanism on all firmware API calls
19 argument to request_firmware_nowait(), uevent, is set to false you are
28 the kobject uevent fallback mechanism will never take effect even
29 for request_firmware_nowait() when uevent is set to true.
60 * Kobject uevent fallback mechanism
117 Firmware kobject uevent fallback mechanism
127 The kernel's kobject uevent mechanism is implemented in lib/kobject_uevent.c,
134 in the kernel for each kobject uevent triggered.
156 Below is an example simple kobject uevent script::
178 rely on the uevent flag which can be disabled by request_firmware_nowait() to
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Ddm-uevent.rst2 device-mapper uevent
5 The device-mapper uevent code adds the capability to device-mapper to create
21 The variables added to the uevent environment are:
35 :Value: Device-mapper specific action that caused the uevent action.
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dbase.c174 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dchangf119.c29 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()
Dnv50.h18 struct nvkm_event uevent; member
59 const struct nvkm_event_func *uevent; member
/kernel/linux/linux-5.10/Documentation/leds/
Dleds-blinkm.rst27 brightness device max_brightness power subsystem trigger uevent
30 brightness device max_brightness power subsystem trigger uevent
33 brightness device max_brightness power subsystem trigger uevent
/kernel/linux/linux-5.10/Documentation/power/powercap/
Dpowercap.rst61 │   │   └──uevent
78 │   │   └──uevent
88 │   ├──uevent
114 │   │   └──uevent
131 │   │   └──uevent
140 │   ├──uevent
146 └──uevent
/kernel/linux/linux-5.10/drivers/xen/xenbus/
Dxenbus_probe_backend.c125 if (drv && drv->uevent) in xenbus_uevent_backend()
126 return drv->uevent(xdev, env); in xenbus_uevent_backend()
205 .uevent = xenbus_uevent_backend,
/kernel/linux/linux-5.10/drivers/acpi/
Ddock.c107 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()
/kernel/linux/linux-5.10/include/linux/
Dfirmware.h49 struct module *module, bool uevent,
84 struct module *module, bool uevent, in request_firmware_nowait() argument

12345678