Lines Matching refs:info_mode
157 static size_t fanotify_event_len(unsigned int info_mode, in fanotify_event_len() argument
164 if (!info_mode) in fanotify_event_len()
172 } else if ((info_mode & FAN_REPORT_NAME) && in fanotify_event_len()
181 if (info_mode & FAN_REPORT_PIDFD) in fanotify_event_len()
221 unsigned int info_mode = FAN_GROUP_FLAG(group, FANOTIFY_INFO_MODES); in get_one_event() local
231 event_size = fanotify_event_len(info_mode, event); in get_one_event()
535 unsigned int info_mode, int pidfd, in copy_info_records_to_user() argument
539 unsigned int fid_mode = info_mode & FANOTIFY_FID_BITS; in copy_info_records_to_user()
540 unsigned int pidfd_mode = info_mode & FAN_REPORT_PIDFD; in copy_info_records_to_user()
664 unsigned int info_mode = FAN_GROUP_FLAG(group, FANOTIFY_INFO_MODES); in copy_event_to_user() local
665 unsigned int pidfd_mode = info_mode & FAN_REPORT_PIDFD; in copy_event_to_user()
671 metadata.event_len = fanotify_event_len(info_mode, event); in copy_event_to_user()
744 if (info_mode) { in copy_event_to_user()
745 ret = copy_info_records_to_user(event, info, info_mode, pidfd, in copy_event_to_user()