Home
last modified time | relevance | path

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

/Linux-v5.10/fs/notify/fanotify/
Dfanotify_user.c67 static int fanotify_event_info_len(unsigned int fid_mode, in fanotify_event_info_len() argument
78 } else if ((fid_mode & FAN_REPORT_NAME) && (event->mask & FAN_ONDIR)) { in fanotify_event_info_len()
103 unsigned int fid_mode = FAN_GROUP_FLAG(group, FANOTIFY_FID_BITS); in get_one_event() local
111 if (fid_mode) { in get_one_event()
112 event_size += fanotify_event_info_len(fid_mode, in get_one_event()
330 unsigned int fid_mode = FAN_GROUP_FLAG(group, FANOTIFY_FID_BITS); in copy_event_to_user() local
338 fanotify_event_info_len(fid_mode, event); in copy_event_to_user()
391 if (fid_mode == FAN_REPORT_FID || info_type) { in copy_event_to_user()
397 } else if ((fid_mode & FAN_REPORT_NAME) && in copy_event_to_user()
928 unsigned int fid_mode = flags & FANOTIFY_FID_BITS; in SYSCALL_DEFINE2() local
[all …]
Dfanotify.c235 unsigned int fid_mode = FAN_GROUP_FLAG(group, FANOTIFY_FID_BITS); in fanotify_group_event_mask() local
242 if (!fid_mode) { in fanotify_group_event_mask()
249 } else if (!(fid_mode & FAN_REPORT_FID)) { in fanotify_group_event_mask()
297 if (fid_mode) { in fanotify_group_event_mask()
533 unsigned int fid_mode = FAN_GROUP_FLAG(group, FANOTIFY_FID_BITS); in fanotify_alloc_event() local
538 if ((fid_mode & FAN_REPORT_DIR_FID) && dirid) { in fanotify_alloc_event()
544 if ((fid_mode & FAN_REPORT_FID) && in fanotify_alloc_event()
563 if (!(fid_mode & FAN_REPORT_NAME)) { in fanotify_alloc_event()
591 } else if (fid_mode) { in fanotify_alloc_event()