Lines Matching refs:path
252 static int create_fd(struct fsnotify_group *group, const struct path *path,
266 new_file = dentry_open(path,
662 const struct path *path = fanotify_event_path(event);
693 path && path->mnt && path->dentry) {
694 fd = create_fd(group, path, &f);
998 struct path *path, unsigned int flags, __u64 mask,
1020 *path = f.file->f_path;
1021 path_get(path);
1031 ret = user_path_at(dfd, filename, lookup_flags, path);
1037 ret = path_permission(path, MAY_READ);
1039 path_put(path);
1043 ret = security_path_notify(path, mask, obj_type);
1045 path_put(path);
1613 const struct path *path, __u64 mask,
1631 path->mnt->mnt_sb->s_type->fs_flags & FS_DISALLOW_NOTIFY_PERM)
1645 path->mnt->mnt_sb->s_flags & SB_NOUSER)
1654 !d_is_dir(path->dentry) && (mask & FANOTIFY_DIRONLY_EVENT_BITS))
1667 struct path path;
1781 * carry enough information (i.e. path) to be filtered by mount
1808 ret = fanotify_find_path(dfd, pathname, &path, flags,
1814 ret = fanotify_events_supported(group, &path, mask, flags);
1820 ret = fanotify_test_fsid(path.dentry, &__fsid);
1824 ret = fanotify_test_fid(path.dentry, flags);
1831 /* inode held in place by reference to path; group by fget on fd */
1833 inode = path.dentry->d_inode;
1835 mnt = path.mnt;
1886 path_put(&path);