/fs/ |
D | xattr.c | 458 static int path_setxattr(const char __user *pathname, in path_setxattr() argument 465 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_setxattr() 481 SYSCALL_DEFINE5(setxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument 485 return path_setxattr(pathname, name, value, size, flags, LOOKUP_FOLLOW); in SYSCALL_DEFINE5() 488 SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument 492 return path_setxattr(pathname, name, value, size, flags, 0); in SYSCALL_DEFINE5() 556 static ssize_t path_getxattr(const char __user *pathname, in path_getxattr() argument 563 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_getxattr() 575 SYSCALL_DEFINE4(getxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument 578 return path_getxattr(pathname, name, value, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE4() [all …]
|
D | statfs.c | 95 int user_statfs(const char __user *pathname, struct kstatfs *st) in user_statfs() argument 101 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in user_statfs() 190 SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument 193 int error = user_statfs(pathname, &st); in SYSCALL_DEFINE2() 199 SYSCALL_DEFINE3(statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument 205 error = user_statfs(pathname, &st); in SYSCALL_DEFINE3() 300 COMPAT_SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct compat_statfs __user *, buf) in COMPAT_SYSCALL_DEFINE2() argument 303 int error = user_statfs(pathname, &tmp); in COMPAT_SYSCALL_DEFINE2() 343 int kcompat_sys_statfs64(const char __user * pathname, compat_size_t sz, struct compat_statfs64 __u… in kcompat_sys_statfs64() argument 351 error = user_statfs(pathname, &tmp); in kcompat_sys_statfs64() [all …]
|
D | internal.h | 67 long do_mkdirat(int dfd, const char __user *pathname, umode_t mode); 68 long do_rmdir(int dfd, const char __user *pathname); 121 extern struct file *do_filp_open(int dfd, struct filename *pathname,
|
D | namei.c | 3668 struct file *do_filp_open(int dfd, struct filename *pathname, in do_filp_open() argument 3675 set_nameidata(&nd, dfd, pathname); in do_filp_open() 3785 struct dentry *kern_path_create(int dfd, const char *pathname, in kern_path_create() argument 3788 return filename_create(dfd, getname_kernel(pathname), in kern_path_create() 3802 inline struct dentry *user_path_create(int dfd, const char __user *pathname, in user_path_create() argument 3805 return filename_create(dfd, getname(pathname), path, lookup_flags); in user_path_create() 3947 long do_mkdirat(int dfd, const char __user *pathname, umode_t mode) in do_mkdirat() argument 3955 dentry = user_path_create(dfd, pathname, &path, lookup_flags); in do_mkdirat() 3972 SYSCALL_DEFINE3(mkdirat, int, dfd, const char __user *, pathname, umode_t, mode) in SYSCALL_DEFINE3() argument 3974 return do_mkdirat(dfd, pathname, mode); in SYSCALL_DEFINE3() [all …]
|
D | stat.c | 387 static int do_readlinkat(int dfd, const char __user *pathname, in do_readlinkat() argument 399 error = user_path_at_empty(dfd, pathname, lookup_flags, &path, &empty); in do_readlinkat() 423 SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname, in SYSCALL_DEFINE4() argument 426 return do_readlinkat(dfd, pathname, buf, bufsiz); in SYSCALL_DEFINE4()
|
D | open.c | 128 long do_sys_truncate(const char __user *pathname, loff_t length) in do_sys_truncate() argument 138 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in do_sys_truncate() 1165 SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) in SYSCALL_DEFINE2() argument 1167 return ksys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); in SYSCALL_DEFINE2()
|
D | direct-io.c | 230 char pathname[128]; in dio_warn_stale_pagecache() local 236 path = file_path(filp, pathname, sizeof(pathname)); in dio_warn_stale_pagecache()
|
D | block_dev.c | 2157 struct block_device *lookup_bdev(const char *pathname) in lookup_bdev() argument 2164 if (!pathname || !*pathname) in lookup_bdev() 2167 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in lookup_bdev()
|
/fs/notify/fanotify/ |
D | fanotify_user.c | 948 int dfd, const char __user *pathname) in do_fanotify_mark() argument 962 __func__, fanotify_fd, flags, dfd, pathname, mask); in do_fanotify_mark() 1047 ret = fanotify_find_path(dfd, pathname, &path, flags, in do_fanotify_mark() 1109 const char __user *, pathname) in SYSCALL_DEFINE5() argument 1111 return do_fanotify_mark(fanotify_fd, flags, mask, dfd, pathname); in SYSCALL_DEFINE5() 1118 const char __user *, pathname) in COMPAT_SYSCALL_DEFINE6() argument 1126 dfd, pathname); in COMPAT_SYSCALL_DEFINE6()
|
/fs/nfs/ |
D | nfs4namespace.c | 33 static inline char *nfs4_pathname_string(const struct nfs4_pathname *pathname, in nfs4_pathname_string() argument 42 n = pathname->ncomponents; in nfs4_pathname_string() 44 const struct nfs4_string *component = &pathname->components[n]; in nfs4_pathname_string()
|
D | mount_clnt.c | 300 static void encode_mntdirpath(struct xdr_stream *xdr, const char *pathname) in encode_mntdirpath() argument 302 const u32 pathname_len = strlen(pathname); in encode_mntdirpath() 306 xdr_encode_opaque(p, pathname, pathname_len); in encode_mntdirpath()
|
/fs/autofs/ |
D | dev-ioctl.c | 181 static int find_autofs_mount(const char *pathname, in find_autofs_mount() argument 189 err = kern_path_mountpoint(AT_FDCWD, pathname, &path, 0); in find_autofs_mount()
|
/fs/notify/inotify/ |
D | inotify_user.c | 698 SYSCALL_DEFINE3(inotify_add_watch, int, fd, const char __user *, pathname, in SYSCALL_DEFINE3() argument 747 ret = inotify_find_inode(pathname, &path, flags, in SYSCALL_DEFINE3()
|
/fs/proc/ |
D | base.c | 1639 char *pathname; in do_proc_readlink() local 1645 pathname = d_path(path, tmp, PAGE_SIZE); in do_proc_readlink() 1646 len = PTR_ERR(pathname); in do_proc_readlink() 1647 if (IS_ERR(pathname)) in do_proc_readlink() 1649 len = tmp + PAGE_SIZE - 1 - pathname; in do_proc_readlink() 1653 if (copy_to_user(buffer, pathname, len)) in do_proc_readlink()
|
/fs/ext4/ |
D | super.c | 561 char pathname[80], *path; in __ext4_error_file() local 570 path = file_path(file, pathname, sizeof(pathname)); in __ext4_error_file()
|