Searched refs:LOOKUP_DIRECTORY (Results 1 – 16 of 16) sorted by relevance
/linux-6.1.9/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() 229 dentry = kern_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in init_mkdir()
|
D | open.c | 512 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in SYSCALL_DEFINE1() 560 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in SYSCALL_DEFINE1() 1212 lookup_flags |= LOOKUP_DIRECTORY; in build_open_flags()
|
D | namei.c | 1355 if (!(lookup_flags & (LOOKUP_PARENT | LOOKUP_DIRECTORY | in follow_automount() 2448 nd->flags |= LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in lookup_last() 2483 if (!err && nd->flags & LOOKUP_DIRECTORY) in path_lookupat() 3271 if (nd->flags & LOOKUP_DIRECTORY) in atomic_open() 3448 nd->flags |= LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in open_last_lookups() 3540 if ((nd->flags & LOOKUP_DIRECTORY) && !d_can_lookup(nd->path.dentry)) in do_open() 3663 int error = path_lookupat(nd, flags | LOOKUP_DIRECTORY, &path); in do_tmpfile() 3781 bool want_dir = lookup_flags & LOOKUP_DIRECTORY; in filename_create() 4048 unsigned int lookup_flags = LOOKUP_DIRECTORY; in do_mkdirat()
|
D | namespace.c | 3880 LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &new); in SYSCALL_DEFINE2() 3885 LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &old); in SYSCALL_DEFINE2()
|
/linux-6.1.9/arch/powerpc/platforms/cell/spufs/ |
D | syscalls.c | 70 dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in do_spu_create()
|
/linux-6.1.9/include/trace/events/ |
D | fs.h | 105 { LOOKUP_DIRECTORY, "DIRECTORY" }, \
|
/linux-6.1.9/include/linux/ |
D | namei.h | 22 #define LOOKUP_DIRECTORY 0x0002 /* require a directory */ macro
|
/linux-6.1.9/fs/configfs/ |
D | symlink.c | 122 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
|
/linux-6.1.9/fs/cachefiles/ |
D | cache.c | 39 ret = kern_path(cache->rootdirname, LOOKUP_DIRECTORY, &path); in cachefiles_add_cache()
|
/linux-6.1.9/drivers/base/ |
D | devtmpfs.c | 172 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); in dev_mkdir()
|
/linux-6.1.9/fs/ecryptfs/ |
D | main.c | 527 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
|
/linux-6.1.9/fs/nfs/ |
D | dir.c | 2068 lookup_flags = LOOKUP_OPEN|LOOKUP_DIRECTORY; in nfs_atomic_open() 2152 if ((lookup_flags & LOOKUP_DIRECTORY) && inode && in nfs_atomic_open() 2159 if ((lookup_flags & LOOKUP_DIRECTORY) && inode && in nfs_atomic_open() 2187 if (!(flags & LOOKUP_OPEN) || (flags & LOOKUP_DIRECTORY)) in nfs4_do_lookup_revalidate()
|
/linux-6.1.9/fs/notify/inotify/ |
D | inotify_user.c | 775 flags |= LOOKUP_DIRECTORY; in SYSCALL_DEFINE3()
|
/linux-6.1.9/fs/ksmbd/ |
D | vfs.c | 208 LOOKUP_NO_SYMLINKS | LOOKUP_DIRECTORY, in ksmbd_vfs_mkdir() 792 LOOKUP_NO_SYMLINKS | LOOKUP_DIRECTORY, in ksmbd_vfs_fp_rename()
|
/linux-6.1.9/fs/notify/fanotify/ |
D | fanotify_user.c | 980 lookup_flags |= LOOKUP_DIRECTORY; in fanotify_find_path()
|
/linux-6.1.9/Documentation/filesystems/ |
D | path-lookup.rst | 1369 ``LOOKUP_DIRECTORY`` insists that the final component is a directory.
|