Home
last modified time | relevance | path

Searched refs:LOOKUP_DIRECTORY (Results 1 – 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/fs/
Dinit.c49 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chdir()
64 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chroot()
226 dentry = kern_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in init_mkdir()
Dopen.c489 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in SYSCALL_DEFINE1()
537 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in SYSCALL_DEFINE1()
1088 lookup_flags |= LOOKUP_DIRECTORY; in build_open_flags()
Dnamei.c1206 if (!(lookup_flags & (LOOKUP_PARENT | LOOKUP_DIRECTORY | in follow_automount()
2324 nd->flags |= LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in lookup_last()
2359 if (!err && nd->flags & LOOKUP_DIRECTORY) in path_lookupat()
2981 if (nd->flags & LOOKUP_DIRECTORY) in atomic_open()
3157 nd->flags |= LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in open_last_lookups()
3247 if ((nd->flags & LOOKUP_DIRECTORY) && !d_can_lookup(nd->path.dentry)) in do_open()
3325 int error = path_lookupat(nd, flags | LOOKUP_DIRECTORY, &path); in do_tmpfile()
3455 bool is_dir = (lookup_flags & LOOKUP_DIRECTORY); in filename_create()
3675 unsigned int lookup_flags = LOOKUP_DIRECTORY; in do_mkdirat()
Dnamespace.c3722 LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &new); in SYSCALL_DEFINE2()
3727 LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &old); in SYSCALL_DEFINE2()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
Dsyscalls.c70 dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in do_spu_create()
/kernel/linux/linux-5.10/include/linux/
Dnamei.h22 #define LOOKUP_DIRECTORY 0x0002 /* require a directory */ macro
/kernel/linux/common_modules/xpm/validator/
Dexec_signature_info.c85 ret = kern_path("/", LOOKUP_DIRECTORY, &path); in get_dm_verity_partition_dev()
91 ret = vfs_path_lookup(root_path.dentry, root_path.mnt, dir, LOOKUP_DIRECTORY, &path); in get_dm_verity_partition_dev()
163 ret = kern_path("/", LOOKUP_DIRECTORY, &root_path); in dm_verity_check_for_path()
/kernel/linux/linux-5.10/fs/sharefs/
Dmain.c39 err = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, in sharefs_fill_super()
/kernel/linux/linux-5.10/fs/hmdfs/
Dinode_cloud_merge.c101 err = kern_path(sbi->real_dst, LOOKUP_DIRECTORY, &root); in cloud_merge_lookup_comrade()
270 ret = hmdfs_get_path_in_sb(child_dentry->d_sb, buf, LOOKUP_DIRECTORY, in lookup_cloud_merge_root()
487 &path, LOOKUP_DIRECTORY); in hmdfs_create_lower_cloud_dentry()
Dhmdfs_server.c311 err = kern_path(node->sbi->local_dst, LOOKUP_DIRECTORY, &root_path); in check_sec_level()
630 err = kern_path(con->sbi->local_dst, LOOKUP_DIRECTORY, &path_root); in hmdfs_lookup_create()
637 LOOKUP_DIRECTORY, &path_parent); in hmdfs_lookup_create()
1046 LOOKUP_DIRECTORY, path); in server_lookup()
1930 err = kern_path(con->sbi->local_dst, LOOKUP_DIRECTORY, &root_path); in hmdfs_server_getxattr()
1992 err = kern_path(con->sbi->local_dst, LOOKUP_DIRECTORY, &root_path); in hmdfs_server_setxattr()
2041 err = kern_path(con->sbi->local_dst, LOOKUP_DIRECTORY, &root_path); in hmdfs_server_listxattr()
Dinode_merge.c354 err = kern_path(sbi->real_dst, LOOKUP_DIRECTORY, &root); in merge_lookup_comrade()
661 ret = hmdfs_get_path_in_sb(child_dentry->d_sb, buf, LOOKUP_DIRECTORY, in lookup_merge_root()
962 &path, LOOKUP_DIRECTORY); in hmdfs_create_lower_dentry()
1295 LOOKUP_DIRECTORY); in do_rename_merge()
Dhmdfs_dentryfile.c1036 err = kern_path(sbi->cache_dir, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, dir); in hmdfs_get_cache_path()
1107 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); in cache_file_mkdir()
1853 err = kern_path(fullname, LOOKUP_DIRECTORY, &dirpath); in hmdfs_do_load()
2569 unlink_dir, LOOKUP_DIRECTORY, &path); in hmdfs_root_unlink()
2643 &path, LOOKUP_DIRECTORY); in hmdfs_root_mkdir()
2719 rmdir_dir, LOOKUP_DIRECTORY, &path); in hmdfs_root_rmdir()
Dfile_merge.c720 dentry = kern_path_create(AT_FDCWD, path_value, &path, LOOKUP_DIRECTORY); in create_dir()
Dmain.c891 err = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, in hmdfs_fill_super()
Dstash.c1542 err = hmdfs_get_path_in_sb(sbi->sb, sbi->real_dst, LOOKUP_DIRECTORY, in hmdfs_init_file_restore_ctx()
2044 err = kern_path(sbi->cache_dir, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, in hmdfs_init_stash()
/kernel/linux/linux-5.10/drivers/staging/blackbox/
Dblackbox_common.c109 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); in create_new_dir()
/kernel/linux/linux-5.10/fs/configfs/
Dsymlink.c124 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
/kernel/linux/linux-5.10/fs/cachefiles/
Dbind.c114 ret = kern_path(cache->rootdirname, LOOKUP_DIRECTORY, &path); in cachefiles_daemon_add_cache()
/kernel/linux/linux-5.10/drivers/base/
Ddevtmpfs.c168 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); in dev_mkdir()
/kernel/linux/linux-5.10/fs/nfs/
Ddir.c1693 lookup_flags = LOOKUP_OPEN|LOOKUP_DIRECTORY; in nfs_atomic_open()
1772 if ((lookup_flags & LOOKUP_DIRECTORY) && inode && in nfs_atomic_open()
1779 if ((lookup_flags & LOOKUP_DIRECTORY) && inode && in nfs_atomic_open()
1807 if (!(flags & LOOKUP_OPEN) || (flags & LOOKUP_DIRECTORY)) in nfs4_do_lookup_revalidate()
Dnfstrace.h265 TRACE_DEFINE_ENUM(LOOKUP_DIRECTORY);
280 { LOOKUP_DIRECTORY, "DIRECTORY" }, \
/kernel/linux/linux-5.10/fs/ecryptfs/
Dmain.c527 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
/kernel/linux/linux-5.10/fs/notify/inotify/
Dinotify_user.c741 flags |= LOOKUP_DIRECTORY; in SYSCALL_DEFINE3()
/kernel/linux/linux-5.10/fs/notify/fanotify/
Dfanotify_user.c697 lookup_flags |= LOOKUP_DIRECTORY; in fanotify_find_path()
/kernel/linux/linux-5.10/Documentation/filesystems/
Dpath-lookup.rst1393 ``LOOKUP_DIRECTORY`` insists that the final component is a directory.