Home
last modified time | relevance | path

Searched refs:fid_mode (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/fs/notify/fanotify/
Dfanotify.c303 unsigned int fid_mode = FAN_GROUP_FLAG(group, FANOTIFY_FID_BITS); in fanotify_group_event_mask() local
311 if (!fid_mode) { in fanotify_group_event_mask()
318 } else if (!(fid_mode & FAN_REPORT_FID)) { in fanotify_group_event_mask()
358 if (fid_mode) { in fanotify_group_event_mask()
483 static inline bool fanotify_report_child_fid(unsigned int fid_mode, u32 mask) in fanotify_report_child_fid() argument
486 return (fid_mode & FAN_REPORT_TARGET_FID); in fanotify_report_child_fid()
488 return (fid_mode & FAN_REPORT_FID) && !(mask & FAN_ONDIR); in fanotify_report_child_fid()
507 unsigned int fid_mode) in fanotify_fid_inode() argument
510 !(fid_mode & FAN_REPORT_TARGET_FID)) in fanotify_fid_inode()
718 unsigned int fid_mode = FAN_GROUP_FLAG(group, FANOTIFY_FID_BITS); in fanotify_alloc_event() local
[all …]
Dfanotify_user.c539 unsigned int fid_mode = info_mode & FANOTIFY_FID_BITS; in copy_info_records_to_user() local
589 if (fid_mode == FAN_REPORT_FID || info_type) { in copy_info_records_to_user()
595 } else if ((fid_mode & FAN_REPORT_NAME) && in copy_info_records_to_user()
1397 unsigned int fid_mode = flags & FANOTIFY_FID_BITS; in SYSCALL_DEFINE2() local
1411 if ((flags & FANOTIFY_ADMIN_INIT_FLAGS) || !fid_mode) in SYSCALL_DEFINE2()
1449 if (fid_mode && class != FAN_CLASS_NOTIF) in SYSCALL_DEFINE2()
1456 if ((fid_mode & FAN_REPORT_NAME) && !(fid_mode & FAN_REPORT_DIR_FID)) in SYSCALL_DEFINE2()
1464 if ((fid_mode & FAN_REPORT_TARGET_FID) && in SYSCALL_DEFINE2()
1465 (!(fid_mode & FAN_REPORT_NAME) || !(fid_mode & FAN_REPORT_FID))) in SYSCALL_DEFINE2()
1673 unsigned int obj_type, fid_mode; in do_fanotify_mark() local
[all …]