• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/

Lines Matching refs:dfd

1088 static int fastcall do_path_lookup(int dfd, const char *name,
1113 } else if (dfd == AT_FDCWD) {
1121 file = fget_light(dfd, &fput_needed);
1161 static int __path_lookup_intent_open(int dfd, const char *name,
1173 err = do_path_lookup(dfd, name, lookup_flags|LOOKUP_OPEN, nd);
1186 * @dfd: the directory to use as base, or AT_FDCWD
1192 int path_lookup_open(int dfd, const char *name, unsigned int lookup_flags,
1195 return __path_lookup_intent_open(dfd, name, lookup_flags, nd,
1201 * @dfd: the directory to use as base, or AT_FDCWD
1208 static int path_lookup_create(int dfd, const char *name,
1212 return __path_lookup_intent_open(dfd, name, lookup_flags|LOOKUP_CREATE,
1336 int fastcall __user_walk_fd(int dfd, const char __user *name, unsigned flags,
1343 err = do_path_lookup(dfd, tmp, flags, nd);
1631 int open_namei(int dfd, const char *pathname, int flag,
1654 error = path_lookup_open(dfd, pathname, lookup_flags(flag),
1664 error = path_lookup_create(dfd,pathname,LOOKUP_PARENT,nd,flag,mode);
1867 asmlinkage long sys_mknodat(int dfd, const char __user *filename, int mode,
1881 error = do_path_lookup(dfd, tmp, LOOKUP_PARENT, &nd);
1944 asmlinkage long sys_mkdirat(int dfd, const char __user *pathname, int mode)
1956 error = do_path_lookup(dfd, tmp, LOOKUP_PARENT, &nd);
2042 static long do_rmdir(int dfd, const char __user *pathname)
2053 error = do_path_lookup(dfd, name, LOOKUP_PARENT, &nd);
2125 static long do_unlinkat(int dfd, const char __user *pathname)
2137 error = do_path_lookup(dfd, name, LOOKUP_PARENT, &nd);
2172 asmlinkage long sys_unlinkat(int dfd, const char __user *pathname, int flag)
2178 return do_rmdir(dfd, pathname);
2180 return do_unlinkat(dfd, pathname);