Lines Matching defs:pathname

12 /* [Feb 1997 T. Schoebel-Theuer] Complete rewrite of the pathname
48 * Fundamental changes in the pathname lookup mechanisms (namei)
50 * to know the _real_ pathname, not the user-supplied one, in case
60 * With the new dcache, the pathname is stored at each inode, at least as
102 * if the pathname has trailing slashes - follow.
122 * POSIX.1 2.4: an empty pathname is invalid (ENOENT).
177 * names_cache allocation for the pathname, and re-do the copy from
225 struct filename *__getname_maybe_null(const char __user *pathname)
231 if (get_user(c, pathname))
236 name = getname_flags(pathname, LOOKUP_EMPTY);
649 const char *pathname;
668 p->pathname = likely(name) ? name->name : "";
2413 * This is the basic name resolution function, turning a pathname into
2485 /* pathname or trailing symlink, done */
2521 const char *s = nd->pathname;
2559 /* Absolute pathname -- fetch the root (LOOKUP_IN_ROOT uses nd->dfd). */
2567 /* Relative pathname -- get the starting-point it is relative to. */
2906 * try_lookup_noperm - filesystem helper to lookup single pathname component
2907 * @name: qstr storing pathname component to lookup
2933 * lookup_noperm - filesystem helper to lookup single pathname component
2934 * @name: qstr storing pathname component to lookup
2959 * lookup_one - lookup single pathname component
2961 * @name: qstr holding pathname component to lookup
2986 * lookup_one_unlocked - lookup single pathname component
2988 * @name: qstr olding pathname component to lookup
3014 * lookup_one_positive_unlocked - lookup single pathname component
3016 * @name: qstr holding pathname component to lookup
3045 * lookup_noperm_unlocked - filesystem helper to lookup single pathname component
3046 * @name: pathname component to lookup
4065 struct file *do_filp_open(int dfd, struct filename *pathname,
4072 set_nameidata(&nd, dfd, pathname, NULL);
4162 struct dentry *kern_path_create(int dfd, const char *pathname,
4165 struct filename *filename = getname_kernel(pathname);
4183 inline struct dentry *user_path_create(int dfd, const char __user *pathname,
4186 struct filename *filename = getname(pathname);
4414 SYSCALL_DEFINE3(mkdirat, int, dfd, const char __user *, pathname, umode_t, mode)
4416 return do_mkdirat(dfd, getname(pathname), mode);
4419 SYSCALL_DEFINE2(mkdir, const char __user *, pathname, umode_t, mode)
4421 return do_mkdirat(AT_FDCWD, getname(pathname), mode);
4533 SYSCALL_DEFINE1(rmdir, const char __user *, pathname)
4535 return do_rmdir(AT_FDCWD, getname(pathname));
4684 SYSCALL_DEFINE3(unlinkat, int, dfd, const char __user *, pathname, int, flag)
4690 return do_rmdir(dfd, getname(pathname));
4691 return do_unlinkat(dfd, getname(pathname));
4694 SYSCALL_DEFINE1(unlink, const char __user *, pathname)
4696 return do_unlinkat(AT_FDCWD, getname(pathname));