Home
last modified time | relevance | path

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

/linux/fs/notify/inotify/
H A Dinotify_user.c160 return roundup(event->name_len + 1, sizeof(struct inotify_event)); in round_event_name_len()
173 size_t event_size = sizeof(struct inotify_event); in get_one_event()
203 struct inotify_event inotify_event; in copy_event_to_user() local
205 size_t event_size = sizeof(struct inotify_event); in copy_event_to_user()
218 inotify_event.len = pad_name_len; in copy_event_to_user()
219 inotify_event.mask = inotify_mask_to_arg(event->mask); in copy_event_to_user()
220 inotify_event.wd = event->wd; in copy_event_to_user()
221 inotify_event.cookie = event->sync_cookie; in copy_event_to_user()
224 if (copy_to_user(buf, &inotify_event, event_size)) in copy_event_to_user()
332 send_len += sizeof(struct inotify_event); in inotify_ioctl()
/linux/tools/testing/selftests/cgroup/
H A Dwait_inotify.c77 struct inotify_event events[10]; in main()
83 len/sizeof(struct inotify_event)); in main()
/linux/samples/cgroup/
H A Dmemcg_event_listener.c203 struct inotify_event *event) in process_memcg_events()
244 struct inotify_event *event; in monitor_events()
252 event = (struct inotify_event *)buffer; in monitor_events()
/linux/include/uapi/linux/
H A Dinotify.h21 struct inotify_event { struct
/linux/tools/tracing/latency/
H A 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/tools/perf/
H A Dbuiltin-daemon.c1057 struct inotify_event *event = (struct inotify_event *) p; in process_inotify_event()
/linux/tools/testing/selftests/ublk/
H A Dkublk.c1204 #define EV_SIZE (sizeof(struct inotify_event)) in wait_ublk_dev()
1246 struct inotify_event *event = (struct inotify_event *)&buffer[i]; in wait_ublk_dev()