Searched refs:iter_info (Results 1 – 8 of 8) sorted by relevance
/linux-4.19.296/fs/notify/ |
D | fsnotify.c | 194 struct fsnotify_iter_info *iter_info) in send_to_group() argument 203 if (WARN_ON(!iter_info->report_mask)) in send_to_group() 209 if (!fsnotify_iter_should_report_type(iter_info, type)) in send_to_group() 211 mark = iter_info->marks[type]; in send_to_group() 219 if (!fsnotify_iter_should_report_type(iter_info, type)) in send_to_group() 221 mark = iter_info->marks[type]; in send_to_group() 239 file_name, cookie, iter_info); in send_to_group() 272 struct fsnotify_iter_info *iter_info) in fsnotify_iter_select_report_types() argument 280 mark = iter_info->marks[type]; in fsnotify_iter_select_report_types() 290 iter_info->report_mask = 0; in fsnotify_iter_select_report_types() [all …]
|
D | mark.c | 335 bool fsnotify_prepare_user_wait(struct fsnotify_iter_info *iter_info) in fsnotify_prepare_user_wait() argument 341 if (!fsnotify_get_mark_safe(iter_info->marks[type])) in fsnotify_prepare_user_wait() 350 srcu_read_unlock(&fsnotify_mark_srcu, iter_info->srcu_idx); in fsnotify_prepare_user_wait() 356 fsnotify_put_mark_wake(iter_info->marks[type]); in fsnotify_prepare_user_wait() 360 void fsnotify_finish_user_wait(struct fsnotify_iter_info *iter_info) in fsnotify_finish_user_wait() argument 364 iter_info->srcu_idx = srcu_read_lock(&fsnotify_mark_srcu); in fsnotify_finish_user_wait() 366 fsnotify_put_mark_wake(iter_info->marks[type]); in fsnotify_finish_user_wait()
|
/linux-4.19.296/include/linux/ |
D | fsnotify_backend.h | 110 struct fsnotify_iter_info *iter_info); 234 struct fsnotify_iter_info *iter_info, int type) in fsnotify_iter_should_report_type() argument 236 return (iter_info->report_mask & (1U << type)); in fsnotify_iter_should_report_type() 240 struct fsnotify_iter_info *iter_info, int type) in fsnotify_iter_set_report_type() argument 242 iter_info->report_mask |= (1U << type); in fsnotify_iter_set_report_type() 246 struct fsnotify_iter_info *iter_info, int type, in fsnotify_iter_set_report_type_mark() argument 249 iter_info->marks[type] = mark; in fsnotify_iter_set_report_type_mark() 250 iter_info->report_mask |= (1U << type); in fsnotify_iter_set_report_type_mark() 255 struct fsnotify_iter_info *iter_info) \ 257 return (iter_info->report_mask & FSNOTIFY_OBJ_TYPE_##NAME##_FL) ? \ [all …]
|
/linux-4.19.296/fs/notify/fanotify/ |
D | fanotify.c | 62 struct fsnotify_iter_info *iter_info) in fanotify_get_response() argument 92 static bool fanotify_should_send_event(struct fsnotify_iter_info *iter_info, in fanotify_should_send_event() argument 102 __func__, iter_info->report_mask, event_mask, data, data_type); in fanotify_should_send_event() 114 if (!fsnotify_iter_should_report_type(iter_info, type)) in fanotify_should_send_event() 116 mark = iter_info->marks[type]; in fanotify_should_send_event() 197 struct fsnotify_iter_info *iter_info) in fanotify_handle_event() argument 214 if (!fanotify_should_send_event(iter_info, mask, data, data_type)) in fanotify_handle_event() 225 if (!fsnotify_prepare_user_wait(iter_info)) in fanotify_handle_event() 252 iter_info); in fanotify_handle_event() 257 fsnotify_finish_user_wait(iter_info); in fanotify_handle_event()
|
/linux-4.19.296/fs/notify/inotify/ |
D | inotify_fsnotify.c | 71 struct fsnotify_iter_info *iter_info) in inotify_handle_event() argument 73 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in inotify_handle_event() 81 if (WARN_ON(fsnotify_iter_vfsmount_mark(iter_info))) in inotify_handle_event()
|
D | inotify.h | 42 struct fsnotify_iter_info *iter_info);
|
D | inotify_user.c | 489 struct fsnotify_iter_info iter_info = { }; in inotify_ignored_and_remove_idr() local 491 fsnotify_iter_set_report_type_mark(&iter_info, FSNOTIFY_OBJ_TYPE_INODE, in inotify_ignored_and_remove_idr() 496 FSNOTIFY_EVENT_NONE, NULL, 0, &iter_info); in inotify_ignored_and_remove_idr()
|
/linux-4.19.296/fs/notify/dnotify/ |
D | dnotify.c | 85 struct fsnotify_iter_info *iter_info) in dnotify_handle_event() argument 87 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in dnotify_handle_event() 98 if (WARN_ON(fsnotify_iter_vfsmount_mark(iter_info))) in dnotify_handle_event()
|