/kernel/linux/linux-5.10/fs/ |
D | init.c | 49 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()
|
D | open.c | 489 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()
|
D | namei.c | 1206 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()
|
D | namespace.c | 3722 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/ |
D | syscalls.c | 70 dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in do_spu_create()
|
/kernel/linux/linux-5.10/include/linux/ |
D | namei.h | 22 #define LOOKUP_DIRECTORY 0x0002 /* require a directory */ macro
|
/kernel/linux/common_modules/xpm/validator/ |
D | exec_signature_info.c | 85 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/ |
D | main.c | 39 err = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, in sharefs_fill_super()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | inode_cloud_merge.c | 101 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()
|
D | hmdfs_server.c | 311 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()
|
D | inode_merge.c | 354 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()
|
D | hmdfs_dentryfile.c | 1036 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()
|
D | file_merge.c | 720 dentry = kern_path_create(AT_FDCWD, path_value, &path, LOOKUP_DIRECTORY); in create_dir()
|
D | main.c | 891 err = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, in hmdfs_fill_super()
|
D | stash.c | 1542 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/ |
D | blackbox_common.c | 109 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); in create_new_dir()
|
/kernel/linux/linux-5.10/fs/configfs/ |
D | symlink.c | 124 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
|
/kernel/linux/linux-5.10/fs/cachefiles/ |
D | bind.c | 114 ret = kern_path(cache->rootdirname, LOOKUP_DIRECTORY, &path); in cachefiles_daemon_add_cache()
|
/kernel/linux/linux-5.10/drivers/base/ |
D | devtmpfs.c | 168 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); in dev_mkdir()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | dir.c | 1693 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()
|
D | nfstrace.h | 265 TRACE_DEFINE_ENUM(LOOKUP_DIRECTORY); 280 { LOOKUP_DIRECTORY, "DIRECTORY" }, \
|
/kernel/linux/linux-5.10/fs/ecryptfs/ |
D | main.c | 527 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
|
/kernel/linux/linux-5.10/fs/notify/inotify/ |
D | inotify_user.c | 741 flags |= LOOKUP_DIRECTORY; in SYSCALL_DEFINE3()
|
/kernel/linux/linux-5.10/fs/notify/fanotify/ |
D | fanotify_user.c | 697 lookup_flags |= LOOKUP_DIRECTORY; in fanotify_find_path()
|
/kernel/linux/linux-5.10/Documentation/filesystems/ |
D | path-lookup.rst | 1393 ``LOOKUP_DIRECTORY`` insists that the final component is a directory.
|