Searched refs:kevent (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/fs/notify/inotify/ |
D | inotify_user.c | 216 struct fsnotify_event *kevent; in inotify_read() local 227 kevent = get_one_event(group, count); in inotify_read() 230 pr_debug("%s: group=%p kevent=%p\n", __func__, group, kevent); in inotify_read() 232 if (kevent) { in inotify_read() 233 ret = PTR_ERR(kevent); in inotify_read() 234 if (IS_ERR(kevent)) in inotify_read() 236 ret = copy_event_to_user(group, kevent, buf); in inotify_read() 237 fsnotify_destroy_event(group, kevent); in inotify_read()
|
/Linux-v5.4/fs/notify/fanotify/ |
D | fanotify_user.c | 338 struct fsnotify_event *kevent; in fanotify_read() local 350 kevent = get_one_event(group, count); in fanotify_read() 351 if (IS_ERR(kevent)) { in fanotify_read() 352 ret = PTR_ERR(kevent); in fanotify_read() 356 if (!kevent) { in fanotify_read() 372 ret = copy_event_to_user(group, kevent, buf, count); in fanotify_read() 387 if (!fanotify_is_perm_event(FANOTIFY_E(kevent)->mask)) { in fanotify_read() 388 fsnotify_destroy_event(group, kevent); in fanotify_read() 393 FANOTIFY_PE(kevent), FAN_DENY); in fanotify_read() 397 list_add_tail(&kevent->list, in fanotify_read()
|
/Linux-v5.4/drivers/media/rc/ |
D | mceusb.c | 518 struct work_struct kevent; member 765 static void mceusb_defer_kevent(struct mceusb_dev *ir, int kevent) in mceusb_defer_kevent() argument 767 set_bit(kevent, &ir->kevent_flags); in mceusb_defer_kevent() 771 kevent); in mceusb_defer_kevent() 775 if (!schedule_work(&ir->kevent)) in mceusb_defer_kevent() 776 dev_dbg(ir->dev, "kevent %d already scheduled", kevent); in mceusb_defer_kevent() 778 dev_dbg(ir->dev, "kevent %d scheduled", kevent); in mceusb_defer_kevent() 1465 container_of(work, struct mceusb_dev, kevent); in mceusb_deferred_kevent() 1715 INIT_WORK(&ir->kevent, mceusb_deferred_kevent); in mceusb_dev_probe() 1770 cancel_work_sync(&ir->kevent); in mceusb_dev_probe() [all …]
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | base.c | 125 nvkm_event_send(&fifo->kevent, 1, chid, NULL, 0); in nvkm_fifo_kevent() 334 nvkm_event_fini(&fifo->kevent); in nvkm_fifo_dtor() 383 return nvkm_event_init(&nvkm_fifo_kevent_func, 1, nr, &fifo->kevent); in nvkm_fifo_ctor()
|
D | gpfifogf100.c | 44 *pevent = &chan->fifo->kevent; in gf100_fifo_chan_ntfy()
|
/Linux-v5.4/Documentation/translations/zh_CN/video4linux/ |
D | v4l2-framework.txt | 905 当用户订阅一个事件,驱动会为此分配一些 kevent 结构体。所以每个 906 事件组(类型、ID)都会有自己的一套 kevent 结构体。这保证了如果 909 但如果你收到的事件数量大于同类事件 kevent 的保存数量,则最早的 916 kevent 结构体时,它将被调用。merge() 回调让你可以合并最早的事件净荷 917 到在它之后的那个事件净荷中。当该类型的事件分配了两个或更多 kevent
|
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
D | fifo.h | 46 struct nvkm_event kevent; /* channel killed */ member
|
/Linux-v5.4/include/linux/usb/ |
D | usbnet.h | 70 struct work_struct kevent; member
|
/Linux-v5.4/drivers/net/usb/ |
D | usbnet.c | 457 if (!schedule_work (&dev->kevent)) in usbnet_defer_kevent() 1135 container_of(work, struct usbnet, kevent); in usbnet_deferred_kevent() 1606 cancel_work_sync(&dev->kevent); in usbnet_disconnect() 1705 INIT_WORK (&dev->kevent, usbnet_deferred_kevent); in usbnet_probe() 1831 cancel_work_sync(&dev->kevent); in usbnet_probe()
|