/fs/ |
D | xattr.c | 254 SYSCALL_DEFINE5(setxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument 261 error = user_path(pathname, &path); in SYSCALL_DEFINE5() 273 SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument 280 error = user_lpath(pathname, &path); in SYSCALL_DEFINE5() 351 SYSCALL_DEFINE4(getxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument 357 error = user_path(pathname, &path); in SYSCALL_DEFINE4() 365 SYSCALL_DEFINE4(lgetxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument 371 error = user_lpath(pathname, &path); in SYSCALL_DEFINE4() 424 SYSCALL_DEFINE3(listxattr, const char __user *, pathname, char __user *, list, in SYSCALL_DEFINE3() argument 430 error = user_path(pathname, &path); in SYSCALL_DEFINE3() [all …]
|
D | quota.c | 236 char *pathname; in do_quotactl() local 238 if (IS_ERR(pathname = getname(addr))) in do_quotactl() 239 return PTR_ERR(pathname); in do_quotactl() 240 ret = sb->s_qcop->quota_on(sb, type, id, pathname, 0); in do_quotactl() 241 putname(pathname); in do_quotactl()
|
D | namei.c | 1630 struct file *do_filp_open(int dfd, const char *pathname, in do_filp_open() argument 1657 error = path_lookup_open(dfd, pathname, lookup_flags(flag), in do_filp_open() 1667 error = do_path_lookup(dfd, pathname, LOOKUP_PARENT, &nd); in do_filp_open() 1734 audit_inode(pathname, path.dentry); in do_filp_open() 2047 SYSCALL_DEFINE3(mkdirat, int, dfd, const char __user *, pathname, int, mode) in SYSCALL_DEFINE3() argument 2054 error = user_path_parent(dfd, pathname, &nd, &tmp); in SYSCALL_DEFINE3() 2084 SYSCALL_DEFINE2(mkdir, const char __user *, pathname, int, mode) in SYSCALL_DEFINE2() argument 2086 return sys_mkdirat(AT_FDCWD, pathname, mode); in SYSCALL_DEFINE2() 2149 static long do_rmdir(int dfd, const char __user *pathname) in do_rmdir() argument 2156 error = user_path_parent(dfd, pathname, &nd, &name); in do_rmdir() [all …]
|
D | open.c | 125 SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument 130 error = user_path(pathname, &path); in SYSCALL_DEFINE2() 141 SYSCALL_DEFINE3(statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument 148 error = user_path(pathname, &path); in SYSCALL_DEFINE3() 224 static long do_sys_truncate(const char __user *pathname, loff_t length) in do_sys_truncate() argument 234 error = user_path(pathname, &path); in do_sys_truncate() 1082 SYSCALL_DEFINE2(creat, const char __user *, pathname, int, mode) in SYSCALL_DEFINE2() argument 1084 return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); in SYSCALL_DEFINE2()
|
D | block_dev.c | 1302 struct block_device *lookup_bdev(const char *pathname) in lookup_bdev() argument 1309 if (!pathname || !*pathname) in lookup_bdev() 1312 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in lookup_bdev()
|
D | stat.c | 296 SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname, in SYSCALL_DEFINE4() argument 305 error = user_path_at(dfd, pathname, 0, &path); in SYSCALL_DEFINE4()
|
D | compat.c | 276 asmlinkage long compat_sys_statfs(const char __user *pathname, struct compat_statfs __user *buf) in compat_sys_statfs() argument 281 error = user_path(pathname, &path); in compat_sys_statfs() 341 asmlinkage long compat_sys_statfs64(const char __user *pathname, compat_size_t sz, struct compat_st… in compat_sys_statfs64() argument 349 error = user_path(pathname, &path); in compat_sys_statfs64()
|
/fs/nfs/ |
D | nfs4namespace.c | 28 static inline char *nfs4_pathname_string(const struct nfs4_pathname *pathname, in nfs4_pathname_string() argument 37 n = pathname->ncomponents; in nfs4_pathname_string() 39 const struct nfs4_string *component = &pathname->components[n]; in nfs4_pathname_string()
|
/fs/notify/inotify/ |
D | inotify_user.c | 676 SYSCALL_DEFINE3(inotify_add_watch, int, fd, const char __user *, pathname, in SYSCALL_DEFINE3() argument 701 ret = find_inode(pathname, &path, flags); in SYSCALL_DEFINE3()
|
/fs/proc/ |
D | base.c | 1398 char *pathname; in do_proc_readlink() local 1404 pathname = d_path(path, tmp, PAGE_SIZE); in do_proc_readlink() 1405 len = PTR_ERR(pathname); in do_proc_readlink() 1406 if (IS_ERR(pathname)) in do_proc_readlink() 1408 len = tmp + PAGE_SIZE - 1 - pathname; in do_proc_readlink() 1412 if (copy_to_user(buffer, pathname, len)) in do_proc_readlink()
|