Searched refs:kevent (Results 1 – 3 of 3) sorted by relevance
/fs/notify/inotify/ |
D | inotify_user.c | 235 struct fsnotify_event *kevent; in inotify_read() local 247 kevent = get_one_event(group, count); in inotify_read() 250 pr_debug("%s: group=%p kevent=%p\n", __func__, group, kevent); in inotify_read() 252 if (kevent) { in inotify_read() 253 ret = PTR_ERR(kevent); in inotify_read() 254 if (IS_ERR(kevent)) in inotify_read() 256 ret = copy_event_to_user(group, kevent, buf); in inotify_read() 257 fsnotify_put_event(kevent); in inotify_read()
|
/fs/notify/fanotify/ |
D | fanotify_user.c | 301 struct fsnotify_event *kevent; in fanotify_read() local 315 kevent = get_one_event(group, count); in fanotify_read() 318 if (kevent) { in fanotify_read() 319 ret = PTR_ERR(kevent); in fanotify_read() 320 if (IS_ERR(kevent)) in fanotify_read() 322 ret = copy_event_to_user(group, kevent, buf); in fanotify_read() 323 fsnotify_put_event(kevent); in fanotify_read()
|
/fs/ |
D | compat_ioctl.c | 146 struct video_event kevent; in do_video_get_event() local 151 err = sys_ioctl(fd, cmd, (unsigned long) &kevent); in do_video_get_event() 155 err = put_user(kevent.type, &up->type); in do_video_get_event() 156 err |= put_user(kevent.timestamp, &up->timestamp); in do_video_get_event() 157 err |= put_user(kevent.u.size.w, &up->u.size.w); in do_video_get_event() 158 err |= put_user(kevent.u.size.h, &up->u.size.h); in do_video_get_event() 159 err |= put_user(kevent.u.size.aspect_ratio, in do_video_get_event()
|