Lines Matching refs:info1
75 static bool fanotify_info_equal(struct fanotify_info *info1, in fanotify_info_equal() argument
78 if (info1->dir_fh_totlen != info2->dir_fh_totlen || in fanotify_info_equal()
79 info1->dir2_fh_totlen != info2->dir2_fh_totlen || in fanotify_info_equal()
80 info1->file_fh_totlen != info2->file_fh_totlen || in fanotify_info_equal()
81 info1->name_len != info2->name_len || in fanotify_info_equal()
82 info1->name2_len != info2->name2_len) in fanotify_info_equal()
85 if (info1->dir_fh_totlen && in fanotify_info_equal()
86 !fanotify_fh_equal(fanotify_info_dir_fh(info1), in fanotify_info_equal()
90 if (info1->dir2_fh_totlen && in fanotify_info_equal()
91 !fanotify_fh_equal(fanotify_info_dir2_fh(info1), in fanotify_info_equal()
95 if (info1->file_fh_totlen && in fanotify_info_equal()
96 !fanotify_fh_equal(fanotify_info_file_fh(info1), in fanotify_info_equal()
100 if (info1->name_len && in fanotify_info_equal()
101 memcmp(fanotify_info_name(info1), fanotify_info_name(info2), in fanotify_info_equal()
102 info1->name_len)) in fanotify_info_equal()
105 return !info1->name2_len || in fanotify_info_equal()
106 !memcmp(fanotify_info_name2(info1), fanotify_info_name2(info2), in fanotify_info_equal()
107 info1->name2_len); in fanotify_info_equal()
113 struct fanotify_info *info1 = &fne1->info; in fanotify_name_event_equal() local
117 if (!info1->dir_fh_totlen) in fanotify_name_event_equal()
123 return fanotify_info_equal(info1, info2); in fanotify_name_event_equal()