Searched refs:dotdot (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/backup/dump/
H A Dpartial.c158 char dotdot[MAXPATHLEN + 16]; local
161 if (strlen(path) > sizeof (dotdot))
164 (void) strcpy(dotdot, path);
166 if (stat64(dotdot, &st) < 0)
171 if (slash = strrchr(dotdot, '/'))
173 if (slash == dotdot)
180 (void) strcpy(dotdot, ".");
184 if (stat64(dotdot, &st) < 0 ||
189 if (strlen(dotdot) > (sizeof (dotdot)
[all...]
/illumos-gate/usr/src/lib/libgen/common/
H A Drmdirp.c51 static int dotdot(char *);
71 if (dotdot(d)) {
92 if (dotdot(++slash)) {
136 dotdot(char *dir) function
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_dir.c546 struct tdirent *dot, *dotdot; local
553 dotdot = tmp_memalloc(sizeof (struct tdirent) + 3, TMP_MUSTHAVE);
565 dotdot->td_tmpnode = parent;
566 dotdot->td_offset = 1;
567 dotdot->td_name = (char *)dotdot + sizeof (struct tdirent);
568 dotdot->td_name[0] = '.';
569 dotdot->td_name[1] = '.';
570 dotdot->td_parent = dir;
571 tmpfs_hash_in(dotdot);
680 struct tmpnode *dir, *dotdot; local
868 struct tdirent *dotdot; local
[all...]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.dir.c503 bool slash, dotdot, hardpaths; local
584 dotdot = sp[0] == '.' && sp[1] == '.' && sp[2] == '\0';
585 if (hardpaths || dotdot) {
696 if (dotdot) {
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_vercheck.c105 dot = dotdot = 0;
111 dotdot = strtoi(c + 1, &c);
160 * dotdot numbers are not checked, only the date/time stamp.
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dgenf.c234 char *dotdot; local
238 dotdot = strstr(path, "/../");
239 if (dotdot == NULL) {
251 if (dotdot == path) {
261 * at the '/' just before "../" using the dotdot pointer.
263 *dotdot = '\0';
277 strcat(path, dotdot+4);
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dfts.c56 FTSENT* dotdot; \
986 fts->dotdot = 0;
1060 fts->dotdot = f;
1118 || !fts->dotdot
1119 || !SAME(f->fts_statp, fts->dotdot->fts_statp)
1124 || !SAME(&sb, fts->dotdot->fts_statp)
/illumos-gate/usr/src/cmd/luxadm/
H A Dlux_util.c1121 char *dotdot; local
1125 dotdot = strstr(path, "/../");
1126 if (dotdot == NULL) {
1138 if (dotdot == path) {
1148 * at the '/' just before "../" using the dotdot pointer.
1150 *dotdot = '\0';
1164 (void) strcat(path, dotdot+4);
H A Dhotplug.c1004 char *dotdot; local
1008 dotdot = strstr(path, "/../");
1009 if (dotdot == NULL) {
1021 if (dotdot == path) {
1031 * at the '/' just before "../" using the dotdot pointer.
1033 *dotdot = '\0';
1047 (void) strcat(path, dotdot+4);
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_subr.c1081 struct sdev_node *dotdot, *dir; local
1083 dotdot = tdv->sdev_dotdot;
1084 ASSERT(dotdot);
1087 if (dotdot == tdv) {
1098 if (dotdot == sdv) {
1103 dir = dotdot;
1104 dotdot = dir->sdev_dotdot;
1107 if (dir == dotdot) {
/illumos-gate/usr/src/cmd/make/bin/
H A Dread2.cc332 * dotdot The Name "..", compared against
337 static Name dotdot; local
345 if (dotdot == NULL) {
347 dotdot = GETNAME(wcs_buffer, FIND_LENGTH);
416 if(name != dotdot) {
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dmacro.c77 int dotdot; /* set for .. in subscript */ member in struct:_mac_
778 mp->dotdot = stktell(stkp);
958 mp->dotdot = 0;
1173 if(type && mp->dotdot)
1258 if(mp->dotdot)
1263 v = stkptr(stkp,mp->dotdot);
1316 if(ap && !mp->dotdot && !(ap->nelem&ARRAY_UNDEF))
1740 if(mp->dotdot)
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv.c881 int dotdot, walk; local
884 dotdot = (nm[0] == '.' && nm[1] == '.' && nm[2] == '\0');
890 if (dotdot) {
895 * and do the dotdot lookup there.
986 if (dotdot)
2617 int attrdir, dotdot, walk; local
2628 dotdot = (nm[0] == '.' && nm[1] == '.' && nm[2] == '\0');
2635 if (dotdot) {
2640 * and do the dotdot lookup there.
2741 if (dotdot)
[all...]

Completed in 91 milliseconds