Lines Matching refs:g_mode
241 g_mode, /* Mode of file */
1704 Gen.g_mode = SrcSt.st_mode;
1861 if (fchmod(dirfd, G_p->g_mode) != 0) {
1973 result = mkdir(nam_p, G_p->g_mode);
1982 result = mknod(nam_p, (int)G_p->g_mode,
2119 (G_p->g_mode & (ulong_t)Ftype) == S_IFREG) {
2685 if (((G_p->g_mode & Ftype) == S_IFLNK && proc_mode != P_SKIP) ||
2712 if (S_ISSPARSE(G_p->g_mode) && G_p->g_holes != NULL) {
3002 if ((G_p->g_mode & Ftype) == S_IFLNK && (Hdr_type !=
3034 } else if ((G_p->g_mode & Ftype) == S_IFLNK &&
3079 if (Compress_sparse && S_ISREG(G_p->g_mode)) {
3284 if (S_ISREG(G_p->g_mode))
4270 if ((G_p->g_mode & Ftype) == S_IFLNK && !(Args & OCL)) {
4724 ftype = Gen.g_mode & Ftype;
4728 if (((Gen.g_mode & S_IFMT) == _XATTR_CPIO_MODE) ||
4841 Gen.g_mode = Gen.g_mode & (~_XATTR_CPIO_MODE);
4842 Gen.g_mode |= attrmode(xattrp->h_typeflag);
4847 ftype = Gen.g_mode & Ftype;
4875 if ((Gen.g_mode == SECMODE) || ((Hdr_type == USTAR ||
4975 S_ISSPARSE(Gen.g_mode) && Gen.g_filesz > MIN_HOLES_HDRSIZE) {
5639 } else if ((G_p->g_mode & Ftype) == S_IFLNK) {
5674 O_CREAT|O_RDWR|O_TRUNC, (int)G_p->g_mode)) < 0) {
5682 (int)G_p->g_mode);
5722 if ((G_p->g_mode & Ftype) == S_IFLNK ||
5840 Gen.g_mode = Hdr.h_mode;
5856 &Gen.g_magic, &Gen.g_dev, &Gen.g_ino, &Gen.g_mode,
5881 &Gen.g_magic, &Gen.g_ino, &Gen.g_mode, &Gen.g_uid,
5901 &Gen.g_mode);
5921 Gen.g_mode |= (S_IFMT & S_IFCHR);
5924 Gen.g_mode |= (S_IFMT & S_IFBLK);
5927 Gen.g_mode |= (S_IFMT & S_IFDIR);
5930 Gen.g_mode |= (S_IFMT & S_IFIFO);
5962 (void) sscanf(Thdr_p->tbuf.t_mode, "%lo", &Gen.g_mode);
6061 if (Gen.g_uid == UID_NOBODY && S_ISREG(Gen.g_mode))
6062 Gen.g_mode &= ~S_ISUID;
6069 if (Gen.g_gid == GID_NOBODY && S_ISREG(Gen.g_mode))
6070 Gen.g_mode &= ~S_ISGID;
6297 new_mask = G_p->g_mode;
6300 new_mask = G_p->g_mode & ~orig_mask;
6942 if ((Gen.g_mode == SECMODE) || ((Hdr_type == USTAR ||
6955 mode = Gen.g_mode;
6968 temp = Gen.g_mode & Ftype;
6994 temp = Gen.g_mode & Ftype;
7015 if ((S_ISUID & Gen.g_mode) == S_ISUID)
7017 if ((S_ISVTX & Gen.g_mode) == S_ISVTX)
7019 if ((S_ISGID & G_p->g_mode) == S_ISGID && modestr[6] == 'x')
7021 else if ((S_ENFMT & Gen.g_mode) == S_ENFMT && modestr[6] != 'x')
7057 if (!Aspec || ((Gen.g_mode & Ftype) == S_IFIFO) ||
7058 ((Gen.g_mode & Ftype) == S_IFSOCK) ||
7062 if (S_ISSPARSE(Gen.g_mode) && Gen.g_holes != NULL)
7077 if ((Gen.g_mode & Ftype) == S_IFLNK) {
7156 mode = (G_p->g_mode & POSIXMODES) | _XATTR_CPIO_MODE;
7158 mode = G_p->g_mode;
7166 mode = G_p->g_mode | C_ISSPARSE;
7312 if (((G_p->g_mode & Ftype) != S_IFLNK) &&
7408 Gen.g_mode = Gen.g_uid = Gen.g_gid = 0;
7606 (void) sscanf(bar_Vhdr->dbuf.mode, "%8lo", &Gen_bar_vol.g_mode);
7656 (void) sscanf(tmp, "%8lo", &Gen.g_mode);
7699 Gen.g_nam_p, Gen.g_nam_p, (int)G_p->g_mode, Gen.g_nam_p);
7751 &Gen_bar_vol.g_mode);
9020 tartype(Gen.g_mode & Ftype) : LNKTYPE,