Lines Matching refs:dotdot
606 struct tdirent *dot, *dotdot; in tdirinit() local
613 dotdot = tmp_memalloc(sizeof (struct tdirent) + 3, TMP_MUSTHAVE); in tdirinit()
625 dotdot->td_tmpnode = parent; in tdirinit()
626 dotdot->td_offset = 1; in tdirinit()
627 dotdot->td_name = (char *)dotdot + sizeof (struct tdirent); in tdirinit()
628 dotdot->td_name[0] = '.'; in tdirinit()
629 dotdot->td_name[1] = '.'; in tdirinit()
630 dotdot->td_parent = dir; in tdirinit()
631 tmpfs_hash_in(dotdot); in tdirinit()
636 dot->td_next = dotdot; in tdirinit()
637 dot->td_prev = dotdot; /* dot's td_prev holds roving slot pointer */ in tdirinit()
638 dotdot->td_next = NULL; in tdirinit()
639 dotdot->td_prev = dot; in tdirinit()
740 struct tmpnode *dir, *dotdot; in tdircheckpath() local
745 tdp = tmpfs_hash_lookup("..", toparent, 1, &dotdot); in tdircheckpath()
749 ASSERT(dotdot); in tdircheckpath()
751 if (dotdot == toparent) { in tdircheckpath()
753 tmpnode_rele(dotdot); in tdircheckpath()
761 if (dotdot == fromtp) { in tdircheckpath()
762 tmpnode_rele(dotdot); in tdircheckpath()
766 dir = dotdot; in tdircheckpath()
767 error = tdirlookup(dir, "..", &dotdot, cred); in tdircheckpath()
777 if (dir == dotdot) { in tdircheckpath()
779 tmpnode_rele(dotdot); in tdircheckpath()
928 struct tdirent *dotdot; in tdirfixdotdot() local
938 dotdot = tmpfs_hash_lookup("..", fromtp, 0, NULL); in tdirfixdotdot()
940 ASSERT(dotdot->td_tmpnode == fromparent); in tdirfixdotdot()
941 dotdot->td_tmpnode = toparent; in tdirfixdotdot()