Home
last modified time | relevance | path

Searched refs:iter_info (Results 1 – 3 of 3) sorted by relevance

/fs/notify/
Dfsnotify.c270 u32 cookie, struct fsnotify_iter_info *iter_info) in fsnotify_handle_event() argument
272 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in fsnotify_handle_event()
273 struct fsnotify_mark *parent_mark = fsnotify_iter_parent_mark(iter_info); in fsnotify_handle_event()
276 if (WARN_ON_ONCE(fsnotify_iter_sb_mark(iter_info)) || in fsnotify_handle_event()
277 WARN_ON_ONCE(fsnotify_iter_vfsmount_mark(iter_info))) in fsnotify_handle_event()
322 u32 cookie, struct fsnotify_iter_info *iter_info) in send_to_group() argument
332 if (!iter_info->report_mask) in send_to_group()
337 fsnotify_foreach_iter_mark_type(iter_info, mark, type) { in send_to_group()
345 fsnotify_foreach_iter_mark_type(iter_info, mark, type) { in send_to_group()
361 file_name, cookie, iter_info); in send_to_group()
[all …]
Dmark.c394 bool fsnotify_prepare_user_wait(struct fsnotify_iter_info *iter_info) in fsnotify_prepare_user_wait() argument
401 if (!fsnotify_get_mark_safe(iter_info->marks[type])) { in fsnotify_prepare_user_wait()
412 srcu_read_unlock(&fsnotify_mark_srcu, iter_info->srcu_idx); in fsnotify_prepare_user_wait()
418 fsnotify_put_mark_wake(iter_info->marks[type]); in fsnotify_prepare_user_wait()
422 void fsnotify_finish_user_wait(struct fsnotify_iter_info *iter_info) in fsnotify_finish_user_wait() argument
427 iter_info->srcu_idx = srcu_read_lock(&fsnotify_mark_srcu); in fsnotify_finish_user_wait()
429 fsnotify_put_mark_wake(iter_info->marks[type]); in fsnotify_finish_user_wait()
/fs/notify/fanotify/
Dfanotify.c231 struct fsnotify_iter_info *iter_info) in fanotify_get_response() argument
293 struct fsnotify_iter_info *iter_info, in fanotify_group_event_mask() argument
308 __func__, iter_info->report_mask, event_mask, data, data_type); in fanotify_group_event_mask()
323 fsnotify_foreach_iter_mark_type(iter_info, mark, type) { in fanotify_group_event_mask()
841 static __kernel_fsid_t fanotify_get_fsid(struct fsnotify_iter_info *iter_info) in fanotify_get_fsid() argument
847 fsnotify_foreach_iter_mark_type(iter_info, mark, type) { in fanotify_get_fsid()
892 struct fsnotify_iter_info *iter_info) in fanotify_handle_event() argument
924 mask = fanotify_group_event_mask(group, iter_info, &match_mask, in fanotify_handle_event()
937 if (!fsnotify_prepare_user_wait(iter_info)) in fanotify_handle_event()
942 fsid = fanotify_get_fsid(iter_info); in fanotify_handle_event()
[all …]