Lines Matching refs:lookup_flags
1191 static int follow_automount(struct path *path, int *count, unsigned lookup_flags)
1206 if (!(lookup_flags & (LOOKUP_PARENT | LOOKUP_DIRECTORY |
1224 int *count, unsigned lookup_flags)
1259 ret = follow_automount(path, count, lookup_flags);
1277 int *count, unsigned lookup_flags)
1288 return __traverse_mounts(path, flags, jumped, count, lookup_flags);
3455 int flags = op->lookup_flags;
3474 int flags = op->lookup_flags;
3497 struct path *path, unsigned int lookup_flags)
3504 bool is_dir = (lookup_flags & LOOKUP_DIRECTORY);
3510 lookup_flags &= LOOKUP_REVAL;
3512 name = filename_parentat(dfd, name, lookup_flags, path, &last, &type);
3528 lookup_flags |= LOOKUP_CREATE | LOOKUP_EXCL;
3530 dentry = __lookup_hash(&last, path->dentry, lookup_flags);
3568 struct path *path, unsigned int lookup_flags)
3571 path, lookup_flags);
3585 struct path *path, unsigned int lookup_flags)
3587 return filename_create(dfd, getname(pathname), path, lookup_flags);
3645 unsigned int lookup_flags = 0;
3651 dentry = user_path_create(dfd, filename, &path, lookup_flags);
3675 if (retry_estale(error, lookup_flags)) {
3676 lookup_flags |= LOOKUP_REVAL;
3724 unsigned int lookup_flags = LOOKUP_DIRECTORY;
3727 dentry = user_path_create(dfd, pathname, &path, lookup_flags);
3736 if (retry_estale(error, lookup_flags)) {
3737 lookup_flags |= LOOKUP_REVAL;
3799 unsigned int lookup_flags = 0;
3801 name = filename_parentat(dfd, name, lookup_flags,
3823 dentry = __lookup_hash(&last, path.dentry, lookup_flags);
3842 if (retry_estale(error, lookup_flags)) {
3843 lookup_flags |= LOOKUP_REVAL;
3930 unsigned int lookup_flags = 0;
3932 name = filename_parentat(dfd, name, lookup_flags, &path, &last, &type);
3945 dentry = __lookup_hash(&last, path.dentry, lookup_flags);
3974 if (retry_estale(error, lookup_flags)) {
3975 lookup_flags |= LOOKUP_REVAL;
4035 unsigned int lookup_flags = 0;
4041 dentry = user_path_create(newdfd, newname, &path, lookup_flags);
4050 if (retry_estale(error, lookup_flags)) {
4051 lookup_flags |= LOOKUP_REVAL;
4444 unsigned int lookup_flags = 0, target_flags = LOOKUP_RENAME_TARGET;
4459 from = filename_parentat(olddfd, from, lookup_flags, &old_path,
4466 to = filename_parentat(newdfd, to, lookup_flags, &new_path, &new_last,
4493 old_dentry = __lookup_hash(&old_last, old_path.dentry, lookup_flags);
4501 new_dentry = __lookup_hash(&new_last, new_path.dentry, lookup_flags | target_flags);
4557 if (retry_estale(error, lookup_flags))
4564 lookup_flags |= LOOKUP_REVAL;