Searched refs:inotify_event (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/fs/notify/inotify/
H A Dinotify_user.c133 return roundup(event->name_len + 1, sizeof(struct inotify_event)); round_event_name_len()
146 size_t event_size = sizeof(struct inotify_event); get_one_event()
177 struct inotify_event inotify_event; copy_event_to_user() local
179 size_t event_size = sizeof(struct inotify_event); copy_event_to_user()
192 inotify_event.len = pad_name_len; copy_event_to_user()
193 inotify_event.mask = inotify_mask_to_arg(fsn_event->mask); copy_event_to_user()
194 inotify_event.wd = event->wd; copy_event_to_user()
195 inotify_event.cookie = event->sync_cookie; copy_event_to_user()
198 if (copy_to_user(buf, &inotify_event, event_size)) copy_event_to_user()
205 * and then pad that pathname out to a multiple of sizeof(inotify_event) copy_event_to_user()
306 send_len += sizeof(struct inotify_event); inotify_ioctl()
/linux-4.1.27/include/uapi/linux/
H A Dinotify.h15 * struct inotify_event - structure read from the inotify device for each event
20 struct inotify_event { struct

Completed in 91 milliseconds