Home
last modified time | relevance | path

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

/Linux-v4.19/fs/notify/inotify/
Dinotify_user.c132 return roundup(event->name_len + 1, sizeof(struct inotify_event)); in round_event_name_len()
145 size_t event_size = sizeof(struct inotify_event); in get_one_event()
176 struct inotify_event inotify_event; in copy_event_to_user() local
178 size_t event_size = sizeof(struct inotify_event); in copy_event_to_user()
191 inotify_event.len = pad_name_len; in copy_event_to_user()
192 inotify_event.mask = inotify_mask_to_arg(fsn_event->mask); in copy_event_to_user()
193 inotify_event.wd = event->wd; in copy_event_to_user()
194 inotify_event.cookie = event->sync_cookie; in copy_event_to_user()
197 if (copy_to_user(buf, &inotify_event, event_size)) in copy_event_to_user()
305 send_len += sizeof(struct inotify_event); in inotify_ioctl()
/Linux-v4.19/include/uapi/linux/
Dinotify.h21 struct inotify_event { struct