Home
last modified time | relevance | path

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

/fs/notify/inotify/
Dinotify_user.c190 struct inotify_kernel_event *kevent; in kernel_event() local
192 kevent = kmem_cache_alloc(event_cachep, GFP_NOFS); in kernel_event()
193 if (unlikely(!kevent)) in kernel_event()
197 memset(&kevent->event, 0, sizeof(struct inotify_event)); in kernel_event()
199 kevent->event.wd = wd; in kernel_event()
200 kevent->event.mask = mask; in kernel_event()
201 kevent->event.cookie = cookie; in kernel_event()
203 INIT_LIST_HEAD(&kevent->list); in kernel_event()
223 kevent->name = kmalloc(len + rem, GFP_KERNEL); in kernel_event()
224 if (unlikely(!kevent->name)) { in kernel_event()
[all …]
/fs/
Dcompat_ioctl.c165 struct video_event kevent; in do_video_get_event() local
170 err = sys_ioctl(fd, cmd, (unsigned long) &kevent); in do_video_get_event()
176 err = put_user(kevent.type, &up->type); in do_video_get_event()
177 err |= put_user(kevent.timestamp, &up->timestamp); in do_video_get_event()
178 err |= put_user(kevent.u.size.w, &up->u.size.w); in do_video_get_event()
179 err |= put_user(kevent.u.size.h, &up->u.size.h); in do_video_get_event()
180 err |= put_user(kevent.u.size.aspect_ratio, in do_video_get_event()