Lines Matching refs:dfd

464 static long do_faccessat(int dfd, const char __user *filename, int mode, int flags)
490 res = user_path_at(dfd, filename, lookup_flags, &path);
536 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode)
538 return do_faccessat(dfd, filename, mode, 0);
541 SYSCALL_DEFINE4(faccessat2, int, dfd, const char __user *, filename, int, mode,
544 return do_faccessat(dfd, filename, mode, flags);
681 static int do_fchmodat(int dfd, const char __user *filename, umode_t mode,
696 error = user_path_at(dfd, filename, lookup_flags, &path);
708 SYSCALL_DEFINE4(fchmodat2, int, dfd, const char __user *, filename,
711 return do_fchmodat(dfd, filename, mode, flags);
714 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename,
717 return do_fchmodat(dfd, filename, mode, 0);
801 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group,
815 error = user_path_at(dfd, filename, lookup_flags, &path);
833 SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user,
836 return do_fchownat(dfd, filename, user, group, flag);
1390 static long do_sys_openat2(int dfd, const char __user *filename,
1406 struct file *f = do_filp_open(dfd, tmp, &op);
1418 long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode)
1421 return do_sys_openat2(dfd, filename, &how);
1432 SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
1437 return do_sys_open(dfd, filename, flags, mode);
1440 SYSCALL_DEFINE4(openat2, int, dfd, const char __user *, filename,
1462 return do_sys_openat2(dfd, filename, &tmp);
1479 COMPAT_SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, umode_t, mode)
1481 return do_sys_open(dfd, filename, flags, mode);