Home
last modified time | relevance | path

Searched refs:dotdot (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/cmd/backup/dump/
H A Dpartial.c141 char dotdot[MAXPATHLEN + 16]; in lf_mark_root() local
144 if (strlen(path) > sizeof (dotdot)) in lf_mark_root()
147 (void) strcpy(dotdot, path); in lf_mark_root()
149 if (stat64(dotdot, &st) < 0) in lf_mark_root()
154 if (slash = strrchr(dotdot, '/')) in lf_mark_root()
156 if (slash == dotdot) in lf_mark_root()
163 (void) strcpy(dotdot, "."); in lf_mark_root()
167 if (stat64(dotdot, &st) < 0 || in lf_mark_root()
172 if (strlen(dotdot) > (sizeof (dotdot) - 4)) in lf_mark_root()
174 (void) strcat(dotdot, "/.."); in lf_mark_root()
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_dir.c626 dotdot->td_offset = 1; in tdirinit()
627 dotdot->td_name = (char *)dotdot + sizeof (struct tdirent); in tdirinit()
631 tmpfs_hash_in(dotdot); in tdirinit()
636 dot->td_next = dotdot; in tdirinit()
638 dotdot->td_next = NULL; in tdirinit()
639 dotdot->td_prev = dot; in tdirinit()
749 ASSERT(dotdot); in tdircheckpath()
753 tmpnode_rele(dotdot); in tdircheckpath()
762 tmpnode_rele(dotdot); in tdircheckpath()
766 dir = dotdot; in tdircheckpath()
[all …]
/illumos-gate/usr/src/lib/libgen/common/
H A Drmdirp.c49 static int dotdot(char *);
69 if (dotdot(d)) { in rmdirp()
90 if (dotdot(++slash)) { in rmdirp()
134 dotdot(char *dir) in dotdot() function
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dgenf.c234 char *dotdot; in cleanup_dotdot_path() local
238 dotdot = strstr(path, "/../"); in cleanup_dotdot_path()
239 if (dotdot == NULL) { in cleanup_dotdot_path()
251 if (dotdot == path) { in cleanup_dotdot_path()
263 *dotdot = '\0'; in cleanup_dotdot_path()
277 strcat(path, dotdot+4); in cleanup_dotdot_path()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.dir.c508 bool slash, dotdot, hardpaths; in dcanon() local
589 dotdot = sp[0] == '.' && sp[1] == '.' && sp[2] == '\0'; in dcanon()
590 if (hardpaths || dotdot) { in dcanon()
701 if (dotdot) { in dcanon()
/illumos-gate/usr/src/cmd/luxadm/
H A Dlux_util.c1118 char *dotdot; in cleanup_dotdot_path() local
1122 dotdot = strstr(path, "/../"); in cleanup_dotdot_path()
1123 if (dotdot == NULL) { in cleanup_dotdot_path()
1135 if (dotdot == path) { in cleanup_dotdot_path()
1147 *dotdot = '\0'; in cleanup_dotdot_path()
1161 (void) strcat(path, dotdot+4); in cleanup_dotdot_path()
H A Dhotplug.c1004 char *dotdot; in cleanup_dotdot_path() local
1008 dotdot = strstr(path, "/../"); in cleanup_dotdot_path()
1009 if (dotdot == NULL) { in cleanup_dotdot_path()
1021 if (dotdot == path) { in cleanup_dotdot_path()
1033 *dotdot = '\0'; in cleanup_dotdot_path()
1047 (void) strcat(path, dotdot+4); in cleanup_dotdot_path()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dfts.c56 FTSENT* dotdot; \
1003 fts->dotdot = 0; in fts_read()
1077 fts->dotdot = f; in fts_read()
1135 || !fts->dotdot in fts_read()
1136 || !SAME(f->fts_statp, fts->dotdot->fts_statp) in fts_read()
1141 || !SAME(&sb, fts->dotdot->fts_statp) in fts_read()
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_subr.c949 struct sdev_node *dotdot, *dir; in sdev_checkpath() local
951 dotdot = tdv->sdev_dotdot; in sdev_checkpath()
952 ASSERT(dotdot); in sdev_checkpath()
955 if (dotdot == tdv) { in sdev_checkpath()
966 if (dotdot == sdv) { in sdev_checkpath()
971 dir = dotdot; in sdev_checkpath()
972 dotdot = dir->sdev_dotdot; in sdev_checkpath()
975 if (dir == dotdot) { in sdev_checkpath()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4x_srv.c1121 bool_t dotdot; in rfs4x_op_secinfo_noname() local
1136 dotdot = in rfs4x_op_secinfo_noname()
1139 status = do_rfs4_op_secinfo(cs, dotdot ? ".." : ".", resp); in rfs4x_op_secinfo_noname()
H A Dnfs4_srv.c1104 int dotdot, walk; in do_rfs4_op_secinfo() local
1110 dotdot = (nm[0] == '.' && nm[1] == '.' && nm[2] == '\0'); in do_rfs4_op_secinfo()
1116 if (dotdot) { in do_rfs4_op_secinfo()
1215 if (dotdot) in do_rfs4_op_secinfo()
2873 int attrdir, dotdot, walk; in do_rfs4_op_lookup() local
2884 dotdot = (nm[0] == '.' && nm[1] == '.' && nm[2] == '\0'); in do_rfs4_op_lookup()
2891 if (dotdot) { in do_rfs4_op_lookup()
3000 if (dotdot) in do_rfs4_op_lookup()
3134 if (attrdir && ! dotdot) in do_rfs4_op_lookup()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dmacro.c87 int dotdot; /* set for .. in subscript */ member
852 mp->dotdot = stktell(stkp); in copyto()
1016 mp->dotdot = 0; in subcopy()
1253 if(type && mp->dotdot) in varsub()
1351 if(mp->dotdot) in varsub()
1363 v = stkptr(stkp,mp->dotdot); in varsub()
1416 if(ap && !mp->dotdot && !(ap->nelem&ARRAY_UNDEF)) in varsub()
1872 if(mp->dotdot) in varsub()
/illumos-gate/usr/src/cmd/make/bin/
H A Dread2.cc339 static Name dotdot; in normalize_name() local
347 if (dotdot == NULL) { in normalize_name()
349 dotdot = GETNAME(wcs_buffer, FIND_LENGTH); in normalize_name()
418 if(name != dotdot) { in normalize_name()
/illumos-gate/usr/src/lib/lib9p/common/backend/
H A Dfs.c1881 bool dotdot; in fs_walk() local
1958 dotdot = false; in fs_walk()
1975 dotdot = true; in fs_walk()
1977 if (dotdot) { in fs_walk()