Home
last modified time | relevance | path

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

/openbmc/linux/fs/notify/inotify/
H A Dinotify_fsnotify.c65 struct fsnotify_event *fsn_event; in inotify_handle_inode_event() local
117 fsn_event = &event->fse; in inotify_handle_inode_event()
118 fsnotify_init_event(fsn_event); in inotify_handle_inode_event()
126 ret = fsnotify_add_event(group, fsn_event, inotify_merge); in inotify_handle_inode_event()
129 fsnotify_destroy_event(group, fsn_event); in inotify_handle_inode_event()
188 struct fsnotify_event *fsn_event) in inotify_free_event() argument
190 kfree(INOTIFY_E(fsn_event)); in inotify_free_event()
H A Dinotify_user.c154 static int round_event_name_len(struct fsnotify_event *fsn_event) in round_event_name_len() argument
158 event = INOTIFY_E(fsn_event); in round_event_name_len()
201 struct fsnotify_event *fsn_event, in copy_event_to_user() argument
210 pr_debug("%s: group=%p event=%p\n", __func__, group, fsn_event); in copy_event_to_user()
212 event = INOTIFY_E(fsn_event); in copy_event_to_user()
218 pad_name_len = round_event_name_len(fsn_event); in copy_event_to_user()
318 struct fsnotify_event *fsn_event; in inotify_ioctl() local
331 list_for_each_entry(fsn_event, &group->notification_list, in inotify_ioctl()
334 send_len += round_event_name_len(fsn_event); in inotify_ioctl()
/openbmc/linux/fs/notify/fanotify/
H A Dfanotify.c875 struct fsnotify_event *fsn_event) in fanotify_insert_event() argument
877 struct fanotify_event *event = FANOTIFY_E(fsn_event); in fanotify_insert_event()
900 struct fsnotify_event *fsn_event; in fanotify_handle_event() local
965 fsn_event = &event->fse; in fanotify_handle_event()
966 ret = fsnotify_insert_event(group, fsn_event, fanotify_merge, in fanotify_handle_event()
972 fsnotify_destroy_event(group, fsn_event); in fanotify_handle_event()
1032 struct fsnotify_event *fsn_event) in fanotify_free_event() argument
1036 event = FANOTIFY_E(fsn_event); in fanotify_free_event()
H A Dfanotify_user.c220 struct fsnotify_event *fsn_event; in get_one_event() local
226 fsn_event = fsnotify_peek_first_event(group); in get_one_event()
227 if (!fsn_event) in get_one_event()
230 event = FANOTIFY_E(fsn_event); in get_one_event()
908 struct fsnotify_event *fsn_event; in fanotify_release() local
937 while ((fsn_event = fsnotify_remove_first_event(group))) { in fanotify_release()
938 struct fanotify_event *event = FANOTIFY_E(fsn_event); in fanotify_release()
942 fsnotify_destroy_event(group, fsn_event); in fanotify_release()
963 struct fsnotify_event *fsn_event; in fanotify_ioctl() local
975 list_for_each_entry(fsn_event, &group->notification_list, list) in fanotify_ioctl()