Home
last modified time | relevance | path

Searched refs:g_mode (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/dtrace/
H A Ddtrace.c93 static int g_mode = DMODE_EXEC; variable
1227 g_mode = DMODE_ANON; in main()
1238 g_mode = DMODE_HEADER; in main()
1246 g_mode = DMODE_LINK; in main()
1254 g_mode = DMODE_LIST; in main()
1260 g_mode = DMODE_VERS; in main()
1280 if (g_mode == DMODE_VERS) in main()
1289 if (g_mode == DMODE_LINK && in main()
1357 if (g_mode == DMODE_LINK) { in main()
1372 } else if (g_mode == DMODE_ANON) in main()
[all …]
/titanic_50/usr/src/cmd/cpio/
H A Dcpio.c241 g_mode, /* Mode of file */ member
1704 Gen.g_mode = SrcSt.st_mode; in creat_hdr()
1861 if (fchmod(dirfd, G_p->g_mode) != 0) { in creat_spec()
1973 result = mkdir(nam_p, G_p->g_mode); in creat_spec()
1982 result = mknod(nam_p, (int)G_p->g_mode, in creat_spec()
2119 (G_p->g_mode & (ulong_t)Ftype) == S_IFREG) { in creat_tmp()
2685 if (((G_p->g_mode & Ftype) == S_IFLNK && proc_mode != P_SKIP) || in data_in()
2712 if (S_ISSPARSE(G_p->g_mode) && G_p->g_holes != NULL) { in data_in()
3002 if ((G_p->g_mode & Ftype) == S_IFLNK && (Hdr_type != in data_out()
3034 } else if ((G_p->g_mode & Ftype) == S_IFLNK && in data_out()
[all …]
/titanic_50/usr/src/cmd/tar/
H A Dtar.c391 ulong_t g_mode; /* Mode of file */ member
1517 (void) sscanf(dblock.dbuf.mode, "%8lo", &Gen.g_mode); in getdir()
1528 sp->st_mode = Gen.g_mode; in getdir()
3229 if (mknod(namep, (int)(Gen.g_mode|S_IFIFO), in doxtract()
3270 if (mknod(namep, (int)(Gen.g_mode|S_IFCHR), in doxtract()
3319 if (mknod(namep, (int)(Gen.g_mode|S_IFBLK), in doxtract()
4377 if ((S_ISUID & Gen.g_mode) == S_ISUID) in verbose()
4379 if ((S_ISVTX & Gen.g_mode) == S_ISVTX) in verbose()
4381 if ((S_ISGID & Gen.g_mode) == S_ISGID && modestr[6] == 'x') in verbose()
4383 else if ((S_ENFMT & Gen.g_mode) == S_ENFMT && modestr[6] != 'x') in verbose()