Lines Matching refs:nameidata

568 struct nameidata {  struct
585 struct nameidata *saved; argument
596 static void __set_nameidata(struct nameidata *p, int dfd, struct filename *name) in __set_nameidata() argument
598 struct nameidata *old = current->nameidata; in __set_nameidata()
607 current->nameidata = p; in __set_nameidata()
610 static inline void set_nameidata(struct nameidata *p, int dfd, struct filename *name, in set_nameidata()
623 struct nameidata *now = current->nameidata, *old = now->saved; in restore_nameidata()
625 current->nameidata = old; in restore_nameidata()
632 static bool nd_alloc_stack(struct nameidata *nd) in nd_alloc_stack()
664 static void drop_links(struct nameidata *nd) in drop_links()
674 static void leave_rcu(struct nameidata *nd) in leave_rcu()
681 static void terminate_walk(struct nameidata *nd) in terminate_walk()
718 static inline bool legitimize_path(struct nameidata *nd, in legitimize_path()
724 static bool legitimize_links(struct nameidata *nd) in legitimize_links()
743 static bool legitimize_root(struct nameidata *nd) in legitimize_root()
774 static bool try_to_unlazy(struct nameidata *nd) in try_to_unlazy()
810 static bool try_to_unlazy_next(struct nameidata *nd, struct dentry *dentry) in try_to_unlazy_next()
877 static int complete_walk(struct nameidata *nd) in complete_walk()
932 static int set_root(struct nameidata *nd) in set_root()
959 static int nd_jump_root(struct nameidata *nd) in nd_jump_root()
998 struct nameidata *nd = current->nameidata; in nd_jump_link()
1023 static inline void put_link(struct nameidata *nd) in put_link()
1102 static inline int may_follow_link(struct nameidata *nd, const struct inode *inode) in may_follow_link()
1239 struct nameidata *nd, struct inode *const inode) in may_create_in_sticky()
1484 static bool __follow_mount_rcu(struct nameidata *nd, struct path *path) in __follow_mount_rcu()
1528 static inline int handle_mounts(struct nameidata *nd, struct dentry *dentry, in handle_mounts()
1618 static struct dentry *lookup_fast(struct nameidata *nd) in lookup_fast()
1717 struct nameidata *nd) in may_lookup()
1727 static int reserve_stack(struct nameidata *nd, struct path *link) in reserve_stack()
1755 static const char *pick_link(struct nameidata *nd, struct path *link, in pick_link()
1835 static const char *step_into(struct nameidata *nd, int flags, in step_into()
1875 static struct dentry *follow_dotdot_rcu(struct nameidata *nd) in follow_dotdot_rcu()
1915 static struct dentry *follow_dotdot(struct nameidata *nd) in follow_dotdot()
1947 static const char *handle_dots(struct nameidata *nd, int type) in handle_dots()
1985 static const char *walk_component(struct nameidata *nd, int flags) in walk_component()
2247 static int link_path_walk(const char *name, struct nameidata *nd) in link_path_walk()
2350 static const char *path_init(struct nameidata *nd, unsigned flags) in path_init()
2454 static inline const char *lookup_last(struct nameidata *nd) in lookup_last()
2462 static int handle_lookup_down(struct nameidata *nd) in handle_lookup_down()
2471 static int path_lookupat(struct nameidata *nd, unsigned flags, struct path *path) in path_lookupat()
2508 struct nameidata nd; in filename_lookup()
2526 static int path_parentat(struct nameidata *nd, unsigned flags, in path_parentat()
2549 struct nameidata nd; in __filename_parentat()
3340 static struct dentry *atomic_open(struct nameidata *nd, struct dentry *dentry, in atomic_open()
3395 static struct dentry *lookup_open(struct nameidata *nd, struct file *file, in lookup_open()
3506 static const char *open_last_lookups(struct nameidata *nd, in open_last_lookups()
3590 static int do_open(struct nameidata *nd, in do_open()
3736 static int do_tmpfile(struct nameidata *nd, unsigned flags, in do_tmpfile()
3759 static int do_o_path(struct nameidata *nd, unsigned flags, struct file *file) in do_o_path()
3771 static struct file *path_openat(struct nameidata *nd, in path_openat()
3813 struct nameidata nd; in do_filp_open()
3830 struct nameidata nd; in do_file_open_root()