Lines Matching full:mark
317 /* Check interest of this mark in case event was sent with two marks */ in fsnotify_handle_inode_event()
389 struct fsnotify_mark *mark; in send_to_group() local
397 fsnotify_foreach_iter_mark_type(iter_info, mark, type) { in send_to_group()
398 if (!(mark->flags & in send_to_group()
400 mark->ignore_mask = 0; in send_to_group()
405 fsnotify_foreach_iter_mark_type(iter_info, mark, type) { in send_to_group()
406 group = mark->group; in send_to_group()
407 marks_mask |= mark->mask; in send_to_group()
409 fsnotify_effective_ignore_mask(mark, is_dir, type); in send_to_group()
440 static struct fsnotify_mark *fsnotify_next_mark(struct fsnotify_mark *mark) in fsnotify_next_mark() argument
444 if (mark) in fsnotify_next_mark()
445 node = srcu_dereference(mark->obj_list.next, in fsnotify_next_mark()
461 struct fsnotify_mark *mark; in fsnotify_iter_select_report_types() local
466 mark = iter_info->marks[type]; in fsnotify_iter_select_report_types()
467 if (mark && in fsnotify_iter_select_report_types()
468 fsnotify_compare_groups(max_prio_group, mark->group) > 0) in fsnotify_iter_select_report_types()
469 max_prio_group = mark->group; in fsnotify_iter_select_report_types()
479 mark = iter_info->marks[type]; in fsnotify_iter_select_report_types()
480 if (mark && mark->group == iter_info->current_group) { in fsnotify_iter_select_report_types()
485 * But is *this mark* watching children? in fsnotify_iter_select_report_types()
488 !(mark->mask & FS_EVENT_ON_CHILD) && in fsnotify_iter_select_report_types()
489 !(fsnotify_ignore_mask(mark) & FS_EVENT_ON_CHILD)) in fsnotify_iter_select_report_types()
505 struct fsnotify_mark *mark; in fsnotify_iter_next() local
510 * may need to advance a mark of type X that belongs to current_group in fsnotify_iter_next()
514 mark = iter_info->marks[type]; in fsnotify_iter_next()
515 if (mark && mark->group == iter_info->current_group) in fsnotify_iter_next()
636 * We need to merge inode/vfsmount/sb mark lists so that e.g. inode mark in fsnotify()
637 * ignore masks are properly reflected for mount/sb mark notifications. in fsnotify()