Searched refs:inotify_event (Results 1 – 7 of 7) sorted by relevance
124 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() local170 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()
21 struct inotify_event { struct
28 struct inotify_event struct
3599 char buffer[DIRS * (sizeof(struct inotify_event) + NAME_MAX + 1)]; in inotify_test()3601 struct inotify_event *event; in inotify_test()3602 struct inotify_event *events[DIRS] = {}; in inotify_test()3633 event = (struct inotify_event *) ptr; in inotify_test()3673 event = (struct inotify_event *) buffer; in inotify_test()3681 event = (struct inotify_event *) buffer; in inotify_test()3693 event = (struct inotify_event *) ptr; in inotify_test()