Lines Matching refs:dfd

463 static int do_faccessat(int dfd, const char __user *filename, int mode, int flags)
488 res = filename_lookup(dfd, name, lookup_flags, &path, NULL);
534 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode)
536 return do_faccessat(dfd, filename, mode, 0);
539 SYSCALL_DEFINE4(faccessat2, int, dfd, const char __user *, filename, int, mode,
542 return do_faccessat(dfd, filename, mode, flags);
716 static int do_fchmodat(int dfd, const char __user *filename, umode_t mode,
729 error = filename_lookup(dfd, name, lookup_flags, &path, NULL);
741 SYSCALL_DEFINE4(fchmodat2, int, dfd, const char __user *, filename,
744 return do_fchmodat(dfd, filename, mode, flags);
747 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename,
750 return do_fchmodat(dfd, filename, mode, 0);
836 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group,
849 error = filename_lookup(dfd, name, lookup_flags, &path, NULL);
865 SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user,
868 return do_fchownat(dfd, filename, user, group, flag);
1434 static int do_sys_openat2(int dfd, const char __user *filename,
1443 return FD_ADD(how->flags, do_file_open(dfd, name, &op));
1446 int do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode)
1449 return do_sys_openat2(dfd, filename, &how);
1460 SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
1465 return do_sys_open(dfd, filename, flags, mode);
1468 SYSCALL_DEFINE4(openat2, int, dfd, const char __user *, filename,
1492 return do_sys_openat2(dfd, filename, &tmp);
1509 COMPAT_SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, umode_t, mode)
1511 return do_sys_open(dfd, filename, flags, mode);