Lines Matching refs:tmpnode

43 static int tdircheckpath(struct tmpnode *, struct tmpnode *, struct cred *);
44 static int tdirrename(struct tmpnode *, struct tmpnode *, struct tmpnode *,
45 char *, struct tmpnode *, struct tdirent *, struct cred *);
46 static void tdirfixdotdot(struct tmpnode *, struct tmpnode *, struct tmpnode *);
47 static int tdirmaketnode(struct tmpnode *, struct tmount *, struct vattr *,
48 enum de_op, struct tmpnode **, struct cred *);
49 static int tdiraddentry(struct tmpnode *, struct tmpnode *, char *,
50 enum de_op, struct tmpnode *);
130 tmpfs_hash_change(struct tdirent *tdp, struct tmpnode *fromtp) in tmpfs_hash_change()
143 tmpfs_hash_lookup(char *name, struct tmpnode *parent, uint_t hold, in tmpfs_hash_lookup()
144 struct tmpnode **found) in tmpfs_hash_lookup()
149 struct tmpnode *tnp; in tmpfs_hash_lookup()
192 struct tmpnode *parent, in tdirlookup()
194 struct tmpnode **foundtp, in tdirlookup()
236 struct tmpnode *dir, /* target directory to make entry in */ in tdirenter()
239 struct tmpnode *fromparent, /* source directory if rename */ in tdirenter()
240 struct tmpnode *tp, /* source tmpnode, if link/rename */ in tdirenter()
242 struct tmpnode **tpp, /* return tmpnode, if create/mkdir */ in tdirenter()
247 struct tmpnode *found = NULL; in tdirenter()
488 struct tmpnode *dir, in tdirdelete()
489 struct tmpnode *tp, in tdirdelete()
497 struct tmpnode *tnp; in tdirdelete()
603 struct tmpnode *parent, /* parent of directory to initialize */ in tdirinit()
604 struct tmpnode *dir) /* the new directory */ in tdirinit()
671 tdirtrunc(struct tmpnode *dir) in tdirtrunc()
674 struct tmpnode *tp; in tdirtrunc()
735 struct tmpnode *fromtp, in tdircheckpath()
736 struct tmpnode *toparent, in tdircheckpath()
740 struct tmpnode *dir, *dotdot; in tdircheckpath()
789 struct tmpnode *fromparent, /* parent directory of source */ in tdirrename()
790 struct tmpnode *fromtp, /* source tmpnode */ in tdirrename()
791 struct tmpnode *toparent, /* parent directory of target */ in tdirrename()
793 struct tmpnode *to, /* target tmpnode */ in tdirrename()
924 struct tmpnode *fromtp, /* child directory */ in tdirfixdotdot()
925 struct tmpnode *fromparent, /* old parent directory */ in tdirfixdotdot()
926 struct tmpnode *toparent) /* new parent directory */ in tdirfixdotdot()
960 struct tmpnode *dir, /* target directory to make entry in */ in tdiraddentry()
961 struct tmpnode *tp, /* new tmpnode */ in tdiraddentry()
964 struct tmpnode *fromtp) in tdiraddentry()
1072 struct tmpnode *dir, in tdirmaketnode()
1076 struct tmpnode **newnode, in tdirmaketnode()
1079 struct tmpnode *tp; in tdirmaketnode()
1088 tp = tmp_memalloc(sizeof (struct tmpnode), TMP_MUSTHAVE); in tdirmaketnode()