Lines Matching refs:tmpnode
45 static int tdircheckpath(struct tmpnode *, struct tmpnode *, struct cred *);
46 static int tdirrename(struct tmpnode *, struct tmpnode *, struct tmpnode *,
47 char *, struct tmpnode *, struct tdirent *, struct cred *);
48 static void tdirfixdotdot(struct tmpnode *, struct tmpnode *, struct tmpnode *);
49 static int tdirmaketnode(struct tmpnode *, struct tmount *, struct vattr *,
50 enum de_op, struct tmpnode **, struct cred *);
51 static int tdiraddentry(struct tmpnode *, struct tmpnode *, char *,
52 enum de_op, struct tmpnode *);
127 tmpfs_hash_change(struct tdirent *tdp, struct tmpnode *fromtp) in tmpfs_hash_change()
140 tmpfs_hash_lookup(char *name, struct tmpnode *parent, uint_t hold, in tmpfs_hash_lookup()
141 struct tmpnode **found) in tmpfs_hash_lookup()
146 struct tmpnode *tnp; in tmpfs_hash_lookup()
189 struct tmpnode *parent, in tdirlookup()
191 struct tmpnode **foundtp, in tdirlookup()
233 struct tmpnode *dir, /* target directory to make entry in */ in tdirenter()
236 struct tmpnode *fromparent, /* source directory if rename */ in tdirenter()
237 struct tmpnode *tp, /* source tmpnode, if link/rename */ in tdirenter()
239 struct tmpnode **tpp, /* return tmpnode, if create/mkdir */ in tdirenter()
244 struct tmpnode *found = NULL; in tdirenter()
428 struct tmpnode *dir, in tdirdelete()
429 struct tmpnode *tp, in tdirdelete()
437 struct tmpnode *tnp; in tdirdelete()
543 struct tmpnode *parent, /* parent of directory to initialize */ in tdirinit()
544 struct tmpnode *dir) /* the new directory */ in tdirinit()
611 tdirtrunc(struct tmpnode *dir) in tdirtrunc()
614 struct tmpnode *tp; in tdirtrunc()
675 struct tmpnode *fromtp, in tdircheckpath()
676 struct tmpnode *toparent, in tdircheckpath()
680 struct tmpnode *dir, *dotdot; in tdircheckpath()
729 struct tmpnode *fromparent, /* parent directory of source */ in tdirrename()
730 struct tmpnode *fromtp, /* source tmpnode */ in tdirrename()
731 struct tmpnode *toparent, /* parent directory of target */ in tdirrename()
733 struct tmpnode *to, /* target tmpnode */ in tdirrename()
864 struct tmpnode *fromtp, /* child directory */ in tdirfixdotdot()
865 struct tmpnode *fromparent, /* old parent directory */ in tdirfixdotdot()
866 struct tmpnode *toparent) /* new parent directory */ in tdirfixdotdot()
900 struct tmpnode *dir, /* target directory to make entry in */ in tdiraddentry()
901 struct tmpnode *tp, /* new tmpnode */ in tdiraddentry()
904 struct tmpnode *fromtp) in tdiraddentry()
1012 struct tmpnode *dir, in tdirmaketnode()
1016 struct tmpnode **newnode, in tdirmaketnode()
1019 struct tmpnode *tp; in tdirmaketnode()
1028 tp = tmp_memalloc(sizeof (struct tmpnode), TMP_MUSTHAVE); in tdirmaketnode()