/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | partial.c | 141 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 D | tmp_dir.c | 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() [all …]
|
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | rmdirp.c | 49 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 D | genf.c | 234 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 D | sh.dir.c | 508 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 D | lux_util.c | 1118 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 D | hotplug.c | 1004 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 D | fts.c | 56 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 D | sdev_subr.c | 949 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 D | nfs4x_srv.c | 1121 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 D | nfs4_srv.c | 1104 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 D | macro.c | 87 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 D | read2.cc | 339 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 D | fs.c | 1881 bool dotdot; in fs_walk() local 1958 dotdot = false; in fs_walk() 1975 dotdot = true; in fs_walk() 1977 if (dotdot) { in fs_walk()
|