Home
last modified time | relevance | path

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

/Linux-v5.10/fs/notify/inotify/
Dinotify_user.c124 return roundup(event->name_len + 1, sizeof(struct inotify_event)); in round_event_name_len()
137 size_t event_size = sizeof(struct inotify_event); in get_one_event()
168 struct inotify_event inotify_event; in copy_event_to_user() local
170 size_t event_size = sizeof(struct inotify_event); in copy_event_to_user()
183 inotify_event.len = pad_name_len; in copy_event_to_user()
184 inotify_event.mask = inotify_mask_to_arg(event->mask); in copy_event_to_user()
185 inotify_event.wd = event->wd; in copy_event_to_user()
186 inotify_event.cookie = event->sync_cookie; in copy_event_to_user()
189 if (copy_to_user(buf, &inotify_event, event_size)) in copy_event_to_user()
297 send_len += sizeof(struct inotify_event); in inotify_ioctl()
/Linux-v5.10/include/uapi/linux/
Dinotify.h21 struct inotify_event { struct