Lines Matching refs:dfd
420 static long do_faccessat(int dfd, const char __user *filename, int mode, int flags) in do_faccessat() argument
446 res = user_path_at(dfd, filename, lookup_flags, &path); in do_faccessat()
492 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument
494 return do_faccessat(dfd, filename, mode, 0); in SYSCALL_DEFINE3()
497 SYSCALL_DEFINE4(faccessat2, int, dfd, const char __user *, filename, int, mode, in SYSCALL_DEFINE4() argument
500 return do_faccessat(dfd, filename, mode, flags); in SYSCALL_DEFINE4()
637 static int do_fchmodat(int dfd, const char __user *filename, umode_t mode) in do_fchmodat() argument
643 error = user_path_at(dfd, filename, lookup_flags, &path); in do_fchmodat()
655 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument
658 return do_fchmodat(dfd, filename, mode); in SYSCALL_DEFINE3()
747 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, in do_fchownat() argument
761 error = user_path_at(dfd, filename, lookup_flags, &path); in do_fchownat()
779 SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user, in SYSCALL_DEFINE5() argument
782 return do_fchownat(dfd, filename, user, group, flag); in SYSCALL_DEFINE5()
1294 static long do_sys_openat2(int dfd, const char __user *filename, in do_sys_openat2() argument
1310 struct file *f = do_filp_open(dfd, tmp, &op); in do_sys_openat2()
1323 long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode) in do_sys_open() argument
1326 return do_sys_openat2(dfd, filename, &how); in do_sys_open()
1337 SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, in SYSCALL_DEFINE4() argument
1342 return do_sys_open(dfd, filename, flags, mode); in SYSCALL_DEFINE4()
1345 SYSCALL_DEFINE4(openat2, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument
1367 return do_sys_openat2(dfd, filename, &tmp); in SYSCALL_DEFINE4()
1384 COMPAT_SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, umode_t, mode) in COMPAT_SYSCALL_DEFINE4() argument
1386 return do_sys_open(dfd, filename, flags, mode); in COMPAT_SYSCALL_DEFINE4()