Lines Matching refs:pidfd
415 static int copy_pidfd_info_to_user(int pidfd, in copy_pidfd_info_to_user() argument
427 info.pidfd = pidfd; in copy_pidfd_info_to_user()
437 unsigned int info_mode, int pidfd, in copy_info_records_to_user() argument
514 ret = copy_pidfd_info_to_user(pidfd, buf, count); in copy_info_records_to_user()
536 int ret, pidfd = FAN_NOPIDFD, fd = FAN_NOFD; in copy_event_to_user() local
589 pidfd = FAN_NOPIDFD; in copy_event_to_user()
591 pidfd = pidfd_create(event->pid, 0); in copy_event_to_user()
592 if (pidfd < 0) in copy_event_to_user()
593 pidfd = FAN_EPIDFD; in copy_event_to_user()
618 ret = copy_info_records_to_user(event, info, info_mode, pidfd, in copy_event_to_user()
632 if (pidfd >= 0) in copy_event_to_user()
633 close_fd(pidfd); in copy_event_to_user()