/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/core/ |
D | uevent.c | 39 nvkm_uevent_mthd_block(struct nvkm_uevent *uevent, union nvif_event_block_args *args, u32 argc) in nvkm_uevent_mthd_block() argument 44 nvkm_event_ntfy_block(&uevent->ntfy); in nvkm_uevent_mthd_block() 45 atomic_set(&uevent->allowed, 0); in nvkm_uevent_mthd_block() 50 nvkm_uevent_mthd_allow(struct nvkm_uevent *uevent, union nvif_event_allow_args *args, u32 argc) in nvkm_uevent_mthd_allow() argument 55 nvkm_event_ntfy_allow(&uevent->ntfy); in nvkm_uevent_mthd_allow() 56 atomic_set(&uevent->allowed, 1); in nvkm_uevent_mthd_allow() 63 struct nvkm_uevent *uevent = nvkm_uevent(object); in nvkm_uevent_mthd() local 66 case NVIF_EVENT_V0_ALLOW: return nvkm_uevent_mthd_allow(uevent, argv, argc); in nvkm_uevent_mthd() 67 case NVIF_EVENT_V0_BLOCK: return nvkm_uevent_mthd_block(uevent, argv, argc); in nvkm_uevent_mthd() 78 struct nvkm_uevent *uevent = nvkm_uevent(object); in nvkm_uevent_fini() local [all …]
|
D | oproxy.c | 115 struct nvkm_uevent *uevent) in nvkm_oproxy_uevent() argument 119 if (!oproxy->object->func->uevent) in nvkm_oproxy_uevent() 122 return oproxy->object->func->uevent(oproxy->object, argv, argc, uevent); in nvkm_oproxy_uevent() 208 .uevent = nvkm_oproxy_uevent,
|
/linux-6.6.21/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 | 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 | 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_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() 265 obj->uevent.uobject.object = qp; in UVERBS_HANDLER() 281 if (obj->uevent.event_file) in UVERBS_HANDLER() 282 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER() 351 container_of(uobj, struct ib_uqp_object, uevent.uobject); in UVERBS_HANDLER() [all …]
|
D | uverbs_cmd.c | 1031 obj->uevent.uobject.user_handle = cmd->user_handle; in create_cq() 1033 INIT_LIST_HEAD(&obj->uevent.event_list); in create_cq() 1059 obj->uevent.uobject.object = cq; in create_cq() 1060 obj->uevent.event_file = READ_ONCE(attrs->ufile->default_async_file); in create_cq() 1061 if (obj->uevent.event_file) in create_cq() 1062 uverbs_uobject_get(&obj->uevent.event_file->uobj); in create_cq() 1063 uobj_finalize_uobj_create(&obj->uevent.uobject, attrs); in create_cq() 1065 resp.base.cq_handle = obj->uevent.uobject.id; in create_cq() 1077 uobj_alloc_abort(&obj->uevent.uobject, attrs); in create_cq() 1141 rdma_lookup_put_uobject(&cq->uobject->uevent.uobject, in ib_uverbs_resize_cq() [all …]
|
/linux-6.6.21/Documentation/filesystems/ |
D | gfs2-uevents.rst | 18 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 …]
|
/linux-6.6.21/drivers/net/wwan/iosm/ |
D | iosm_ipc_uevent.c | 20 envp[0] = info->uevent; in ipc_uevent_work() 23 pr_err("uevent %s failed to sent", info->uevent); in ipc_uevent_work() 28 void ipc_uevent_send(struct device *dev, char *uevent) in ipc_uevent_send() argument 40 snprintf(info->uevent, MAX_UEVENT_LEN, "IOSM_EVENT=%s", uevent); in ipc_uevent_send()
|
D | iosm_ipc_uevent.h | 29 char uevent[MAX_UEVENT_LEN]; member 39 void ipc_uevent_send(struct device *dev, char *uevent);
|
/linux-6.6.21/include/linux/ |
D | eventpoll.h | 75 struct epoll_event __user *uevent); 79 struct epoll_event __user *uevent) in epoll_put_uevent() argument 81 if (__put_user(revents, &uevent->events) || in epoll_put_uevent() 82 __put_user(data, &uevent->data)) in epoll_put_uevent() 85 return uevent+1; in epoll_put_uevent()
|
/linux-6.6.21/Documentation/ABI/testing/ |
D | sysfs-uevent | 1 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::
|
D | usb-uevent | 1 What: Raise a uevent when a USB Host Controller has died 6 longer functional a uevent will be raised. The uevent will
|
/linux-6.6.21/samples/hid/ |
D | hid_mouse.c | 58 char uevent[1024]; in get_hid_id() local 61 memset(uevent, 0, sizeof(uevent)); in get_hid_id() 62 snprintf(uevent, sizeof(uevent) - 1, "%s/uevent", path); in get_hid_id() 64 fd = open(uevent, O_RDONLY | O_NONBLOCK); in get_hid_id()
|
D | hid_surface_dial.c | 71 char uevent[1024]; in get_hid_id() local 74 memset(uevent, 0, sizeof(uevent)); in get_hid_id() 75 snprintf(uevent, sizeof(uevent) - 1, "%s/uevent", path); in get_hid_id() 77 fd = open(uevent, O_RDONLY | O_NONBLOCK); in get_hid_id()
|
/linux-6.6.21/Documentation/translations/zh_CN/core-api/ |
D | kobject.rst | 161 当kobject从内核中移除时(关于如何做的细节在下面), **KOBJ_REMOVE** 的uevent 295 - Ksets可以支持kobjects的 "热插拔",并影响uevent事件如何被报告给 323 如果一个kset希望控制与它相关的kobjects的uevent操作,它可以使用 329 int (* const uevent)(struct kobject *kobj, struct kobj_uevent_env *env); 333 过滤器函数允许kset阻止一个特定kobject的uevent被发送到用户空间。 334 如果该函数返回0,该uevent将不会被发射出去。 336 name函数将被调用以覆盖uevent发送到用户空间的kset的默认名称。默 340 当uevent即将被发送至用户空间时,uevent函数将被调用,以允许更多 341 的环境变量被添加到uevent中。 360 uevent,那么相应的 ``KOBJ_REMOVE`` uevent也将被发送,任何其他的
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
D | nvsw.c | 30 nvkm_nvsw_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_uevent *uevent) in nvkm_nvsw_uevent() argument 34 if (!uevent) in nvkm_nvsw_uevent() 39 return nvkm_uevent_add(uevent, &nvkm_nvsw(object)->chan->event, 0, in nvkm_nvsw_uevent() 57 .uevent = nvkm_nvsw_uevent,
|
/linux-6.6.21/Documentation/admin-guide/ |
D | video-output.rst | 18 | `-- uevent 23 | `-- uevent 28 | `-- uevent 33 `-- uevent
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
D | user.c | 32 nvkm_ufault_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_uevent *uevent) in nvkm_ufault_uevent() argument 37 if (!uevent) in nvkm_ufault_uevent() 42 return nvkm_uevent_add(uevent, &buffer->fault->event, buffer->id, in nvkm_ufault_uevent() 86 .uevent = nvkm_ufault_uevent,
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | test_lirc_mode2.sh | 22 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)
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | uhead.c | 31 nvkm_uhead_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_uevent *uevent) in nvkm_uhead_uevent() argument 36 if (!uevent) in nvkm_uhead_uevent() 41 return nvkm_uevent_add(uevent, &head->disp->vblank, head->id, in nvkm_uhead_uevent() 102 .uevent = nvkm_uhead_uevent,
|
D | uconn.c | 78 nvkm_uconn_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_uevent *uevent) in nvkm_uconn_uevent() argument 86 if (!uevent) { in nvkm_uconn_uevent() 108 return nvkm_uevent_add(uevent, &device->i2c->event, outp->dp.aux->id, bits, in nvkm_uconn_uevent() 120 return nvkm_uevent_add(uevent, &device->gpio->event, conn->info.hpd, bits, in nvkm_uconn_uevent() 180 .uevent = nvkm_uconn_uevent,
|
/linux-6.6.21/Documentation/driver-api/firmware/ |
D | firmware_cache.rst | 30 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
|
/linux-6.6.21/Documentation/admin-guide/device-mapper/ |
D | dm-uevent.rst | 2 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.
|