Home
last modified time | relevance | path

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

/linux-6.12.1/fs/notify/inotify/
Dinotify_user.c253 struct fsnotify_event *kevent; in inotify_read() local
264 kevent = get_one_event(group, count); in inotify_read()
267 pr_debug("%s: group=%p kevent=%p\n", __func__, group, kevent); in inotify_read()
269 if (kevent) { in inotify_read()
270 ret = PTR_ERR(kevent); in inotify_read()
271 if (IS_ERR(kevent)) in inotify_read()
273 ret = copy_event_to_user(group, kevent, buf); in inotify_read()
274 fsnotify_destroy_event(group, kevent); in inotify_read()
/linux-6.12.1/drivers/media/rc/
Dmceusb.c517 struct work_struct kevent; member
780 static void mceusb_defer_kevent(struct mceusb_dev *ir, int kevent) in mceusb_defer_kevent() argument
782 set_bit(kevent, &ir->kevent_flags); in mceusb_defer_kevent()
786 kevent); in mceusb_defer_kevent()
790 if (!schedule_work(&ir->kevent)) in mceusb_defer_kevent()
791 dev_dbg(ir->dev, "kevent %d already scheduled", kevent); in mceusb_defer_kevent()
793 dev_dbg(ir->dev, "kevent %d scheduled", kevent); in mceusb_defer_kevent()
1520 container_of(work, struct mceusb_dev, kevent); in mceusb_deferred_kevent()
1765 INIT_WORK(&ir->kevent, mceusb_deferred_kevent); in mceusb_dev_probe()
1820 cancel_work_sync(&ir->kevent); in mceusb_dev_probe()
[all …]
/linux-6.12.1/Documentation/translations/zh_CN/video4linux/
Dv4l2-framework.txt893 当用户订阅一个事件,驱动会为此分配一些 kevent 结构体。所以每个
894 事件组(类型、ID)都会有自己的一套 kevent 结构体。这保证了如果
897 但如果你收到的事件数量大于同类事件 kevent 的保存数量,则最早的
904 kevent 结构体时,它将被调用。merge() 回调让你可以合并最早的事件净荷
905 到在它之后的那个事件净荷中。当该类型的事件分配了两个或更多 kevent
/linux-6.12.1/sound/virtio/
Dvirtio_kctl.c459 struct virtio_snd_ctl_event *kevent = in virtsnd_kctl_event() local
462 unsigned int cid = le16_to_cpu(kevent->control_id); in virtsnd_kctl_event()
470 if (le16_to_cpu(kevent->mask) & (1 << i)) in virtsnd_kctl_event()
/linux-6.12.1/drivers/net/usb/
Dusbnet.c468 if (!schedule_work(&dev->kevent)) in usbnet_defer_kevent()
854 cancel_work_sync(&dev->kevent); in usbnet_stop()
862 cancel_work_sync(&dev->kevent); in usbnet_stop()
1149 container_of(work, struct usbnet, kevent); in usbnet_deferred_kevent()
1735 INIT_WORK (&dev->kevent, usbnet_deferred_kevent); in usbnet_probe()
1875 cancel_work_sync(&dev->kevent); in usbnet_probe()
/linux-6.12.1/include/linux/usb/
Dusbnet.h63 struct work_struct kevent; member