Home
last modified time | relevance | path

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

/Linux-v5.10/fs/notify/inotify/
Dinotify_fsnotify.c65 struct fsnotify_event *fsn_event; in inotify_one_event() local
113 fsn_event = &event->fse; in inotify_one_event()
114 fsnotify_init_event(fsn_event, 0); in inotify_one_event()
122 ret = fsnotify_add_event(group, fsn_event, inotify_merge); in inotify_one_event()
125 fsnotify_destroy_event(group, fsn_event); in inotify_one_event()
214 static void inotify_free_event(struct fsnotify_event *fsn_event) in inotify_free_event() argument
216 kfree(INOTIFY_E(fsn_event)); in inotify_free_event()
Dinotify_user.c117 static int round_event_name_len(struct fsnotify_event *fsn_event) in round_event_name_len() argument
121 event = INOTIFY_E(fsn_event); in round_event_name_len()
165 struct fsnotify_event *fsn_event, in copy_event_to_user() argument
174 pr_debug("%s: group=%p event=%p\n", __func__, group, fsn_event); in copy_event_to_user()
176 event = INOTIFY_E(fsn_event); in copy_event_to_user()
182 pad_name_len = round_event_name_len(fsn_event); in copy_event_to_user()
282 struct fsnotify_event *fsn_event; in inotify_ioctl() local
295 list_for_each_entry(fsn_event, &group->notification_list, in inotify_ioctl()
298 send_len += round_event_name_len(fsn_event); in inotify_ioctl()
/Linux-v5.10/fs/notify/fanotify/
Dfanotify.c657 struct fsnotify_event *fsn_event; in fanotify_handle_event() local
718 fsn_event = &event->fse; in fanotify_handle_event()
719 ret = fsnotify_add_event(group, fsn_event, fanotify_merge); in fanotify_handle_event()
724 fsnotify_destroy_event(group, fsn_event); in fanotify_handle_event()
773 static void fanotify_free_event(struct fsnotify_event *fsn_event) in fanotify_free_event() argument
777 event = FANOTIFY_E(fsn_event); in fanotify_free_event()
Dfanotify_user.c631 struct fsnotify_event *fsn_event; in fanotify_ioctl() local
643 list_for_each_entry(fsn_event, &group->notification_list, list) in fanotify_ioctl()