Home
last modified time | relevance | path

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

/Linux-v5.15/fs/notify/inotify/
Dinotify_user.c138 return roundup(event->name_len + 1, sizeof(struct inotify_event)); in round_event_name_len()
151 size_t event_size = sizeof(struct inotify_event); in get_one_event()
181 struct inotify_event inotify_event; in copy_event_to_user() local
183 size_t event_size = sizeof(struct inotify_event); in copy_event_to_user()
196 inotify_event.len = pad_name_len; in copy_event_to_user()
197 inotify_event.mask = inotify_mask_to_arg(event->mask); in copy_event_to_user()
198 inotify_event.wd = event->wd; in copy_event_to_user()
199 inotify_event.cookie = event->sync_cookie; in copy_event_to_user()
202 if (copy_to_user(buf, &inotify_event, event_size)) in copy_event_to_user()
310 send_len += sizeof(struct inotify_event); in inotify_ioctl()
/Linux-v5.15/include/uapi/linux/
Dinotify.h21 struct inotify_event { struct
/Linux-v5.15/tools/tracing/latency/
Dlatency-collector.c1453 const ssize_t istructsize = sizeof(struct inotify_event); in tracing_loop()
1458 struct inotify_event *event; in tracing_loop()
1512 event = (struct inotify_event *) p; in tracing_loop()
/Linux-v5.15/tools/perf/
Dbuiltin-daemon.c1058 struct inotify_event *event = (struct inotify_event *) p; in process_inotify_event()