Lines Matching refs:filename
363 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument
395 res = user_path_at(dfd, filename, lookup_flags, &path); in SYSCALL_DEFINE3()
441 SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) in SYSCALL_DEFINE2() argument
443 return sys_faccessat(AT_FDCWD, filename, mode); in SYSCALL_DEFINE2()
446 SYSCALL_DEFINE1(chdir, const char __user *, filename) in SYSCALL_DEFINE1() argument
452 error = user_path_at(AT_FDCWD, filename, lookup_flags, &path); in SYSCALL_DEFINE1()
499 SYSCALL_DEFINE1(chroot, const char __user *, filename) in SYSCALL_DEFINE1() argument
505 error = user_path_at(AT_FDCWD, filename, lookup_flags, &path); in SYSCALL_DEFINE1()
574 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, umode_t, mode) in SYSCALL_DEFINE3() argument
580 error = user_path_at(dfd, filename, lookup_flags, &path); in SYSCALL_DEFINE3()
592 SYSCALL_DEFINE2(chmod, const char __user *, filename, umode_t, mode) in SYSCALL_DEFINE2() argument
594 return sys_fchmodat(AT_FDCWD, filename, mode); in SYSCALL_DEFINE2()
639 SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user, in SYSCALL_DEFINE5() argument
653 error = user_path_at(dfd, filename, lookup_flags, &path); in SYSCALL_DEFINE5()
671 SYSCALL_DEFINE3(chown, const char __user *, filename, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
673 return sys_fchownat(AT_FDCWD, filename, user, group, 0); in SYSCALL_DEFINE3()
676 SYSCALL_DEFINE3(lchown, const char __user *, filename, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
678 return sys_fchownat(AT_FDCWD, filename, user, group, in SYSCALL_DEFINE3()
995 struct file *file_open_name(struct filename *name, int flags, umode_t mode) in file_open_name()
1013 struct file *filp_open(const char *filename, int flags, umode_t mode) in filp_open() argument
1015 struct filename *name = getname_kernel(filename); in filp_open()
1027 const char *filename, int flags, umode_t mode) in file_open_root() argument
1033 return do_file_open_root(dentry, mnt, filename, &op); in file_open_root()
1057 long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode) in do_sys_open() argument
1061 struct filename *tmp; in do_sys_open()
1066 tmp = getname(filename); in do_sys_open()
1085 SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode) in SYSCALL_DEFINE3() argument
1090 return do_sys_open(AT_FDCWD, filename, flags, mode); in SYSCALL_DEFINE3()
1093 SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, in SYSCALL_DEFINE4() argument
1099 return do_sys_open(dfd, filename, flags, mode); in SYSCALL_DEFINE4()