Home
last modified time | relevance | path

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

/linux-6.1.9/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()
229 dentry = kern_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in init_mkdir()
Dopen.c512 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()
Dnamei.c1355 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()
Dnamespace.c3880 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/
Dsyscalls.c70 dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in do_spu_create()
/linux-6.1.9/include/trace/events/
Dfs.h105 { LOOKUP_DIRECTORY, "DIRECTORY" }, \
/linux-6.1.9/include/linux/
Dnamei.h22 #define LOOKUP_DIRECTORY 0x0002 /* require a directory */ macro
/linux-6.1.9/fs/configfs/
Dsymlink.c122 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
/linux-6.1.9/fs/cachefiles/
Dcache.c39 ret = kern_path(cache->rootdirname, LOOKUP_DIRECTORY, &path); in cachefiles_add_cache()
/linux-6.1.9/drivers/base/
Ddevtmpfs.c172 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); in dev_mkdir()
/linux-6.1.9/fs/ecryptfs/
Dmain.c527 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
/linux-6.1.9/fs/nfs/
Ddir.c2068 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/
Dinotify_user.c775 flags |= LOOKUP_DIRECTORY; in SYSCALL_DEFINE3()
/linux-6.1.9/fs/ksmbd/
Dvfs.c208 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/
Dfanotify_user.c980 lookup_flags |= LOOKUP_DIRECTORY; in fanotify_find_path()
/linux-6.1.9/Documentation/filesystems/
Dpath-lookup.rst1369 ``LOOKUP_DIRECTORY`` insists that the final component is a directory.