/titanic_50/usr/src/cmd/chgrp/ |
H A D | chgrp.c | 134 (void) chmod((dir), (mode) & ~S_IFMT) 240 if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFLNK)) { in main() 263 if ((stbuf2.st_mode & S_IFMT) in main() 283 ~S_IFMT); in main() 310 if ((stbuf2.st_mode & S_IFMT) in main() 314 stbuf2.st_mode & ~S_IFMT); in main() 318 } else if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFDIR)) { in main() 329 stbuf.st_mode & ~S_IFMT); in main() 348 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) { in main() 350 stbuf.st_mode & ~S_IFMT); in main() [all …]
|
/titanic_50/usr/src/test/zfs-tests/cmd/mkbusy/ |
H A D | mkbusy.c | 143 } else if ((sbuf.st_mode & S_IFMT) == S_IFREG || in main() 144 (sbuf.st_mode & S_IFMT) == S_IFLNK || in main() 145 (sbuf.st_mode & S_IFMT) == S_IFCHR || in main() 146 (sbuf.st_mode & S_IFMT) == S_IFBLK) { in main() 148 } else if ((sbuf.st_mode & S_IFMT) == S_IFDIR) { in main()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | getvfsent.c | 60 (statb.st_mode & S_IFMT) != typem ||\ 78 ((bmode = (statb.st_mode & S_IFMT)) == S_IFBLK || in getvfsspec() 92 (statb.st_mode & S_IFMT) != bmode || in getvfsspec() 139 ((bmode = (statb.st_mode & S_IFMT)) == S_IFBLK || in getvfsany() 147 ((cmode = (statb.st_mode & S_IFMT)) == S_IFBLK || in getvfsany()
|
H A D | remove.c | 50 if ((statb.st_mode & S_IFMT) != S_IFDIR) in remove()
|
/titanic_50/usr/src/cmd/backup/dump/ |
H A D | partial.c | 58 (st.st_mode & S_IFMT) == S_IFCHR || in partial_check() 59 (st.st_mode & S_IFMT) == S_IFBLK) in partial_check() 170 if ((st.st_mode & S_IFMT) != S_IFDIR) 185 (st.st_mode & S_IFMT) != S_IFDIR ||
|
/titanic_50/usr/src/cmd/chown/ |
H A D | chown.c | 271 if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFLNK)) { in main() 295 if ((stbuf2.st_mode & S_IFMT) in main() 336 } else if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFDIR)) { in main() 413 if ((st.st_mode & S_IFMT) == S_IFLNK) { in chownr() 437 if ((st2.st_mode & S_IFMT) == S_IFDIR) { in chownr() 480 } else if ((st.st_mode & S_IFMT) == S_IFDIR) { in chownr()
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | mknod.c | 70 if ((fmode & S_IFMT) == 0) in mknodat() 76 if (((fmode & S_IFMT) != S_IFIFO) && secpolicy_sys_devices(CRED()) != 0) in mknodat() 100 why = ((fmode & S_IFMT) == S_IFDIR) ? CRMKDIR : CRMKNOD; in mknodat()
|
/titanic_50/usr/src/ucbcmd/ln/ |
H A D | ln.c | 60 if ((stb.st_mode&S_IFMT) != S_IFDIR) in main() 85 (stb.st_mode&S_IFMT) == S_IFDIR) { in linkit() 89 if (stat(to, &stb) >= 0 && (stb.st_mode&S_IFMT) == S_IFDIR) { in linkit()
|
/titanic_50/usr/src/lib/libadm/common/ |
H A D | ckpath.c | 203 if ((status.st_mode & S_IFMT) == S_IFREG) { in ckpath_val() 210 if ((pflags & P_CHR) && ((status.st_mode & S_IFMT) != S_IFCHR)) { in ckpath_val() 214 if ((pflags & P_BLK) && ((status.st_mode & S_IFMT) != S_IFBLK)) { in ckpath_val() 218 if ((pflags & P_DIR) && ((status.st_mode & S_IFMT) != S_IFDIR)) { in ckpath_val() 222 if ((pflags & P_REG) && ((status.st_mode & S_IFMT) != S_IFREG)) { in ckpath_val()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | mode.h | 50 #define IFTOVT(M) (iftovt_tab[((M) & S_IFMT) >> 12]) 52 #define MAKEIMODE(T, M) (VTTOIF(T) | ((M) & ~S_IFMT))
|
/titanic_50/usr/src/tools/protolist/ |
H A D | protolist.c | 92 if (((st->st_mode & S_IFMT) == S_IFDIR) || in visit_dir() 93 ((st->st_mode & S_IFMT) == S_IFLNK)) in visit_dir() 104 switch (st->st_mode & S_IFMT) { in visit_dir()
|
/titanic_50/usr/src/cmd/vi/port/ |
H A D | expreserve.c | 53 #define ISBLK(A) ((A.st_mode & S_IFMT) == S_IFBLK) 54 #define ISCHR(A) ((A.st_mode & S_IFMT) == S_IFCHR) 55 #define ISDIR(A) ((A.st_mode & S_IFMT) == S_IFDIR) 56 #define ISFIFO(A) ((A.st_mode & S_IFMT) == S_IFIFO) 57 #define ISREG(A) ((A.st_mode & S_IFMT) == S_IFREG)
|
H A D | ex.h | 74 #define ISBLK(A) ((A.st_mode & S_IFMT) == S_IFBLK) 75 #define ISCHR(A) ((A.st_mode & S_IFMT) == S_IFCHR) 76 #define ISDIR(A) ((A.st_mode & S_IFMT) == S_IFDIR) 77 #define ISFIFO(A) ((A.st_mode & S_IFMT) == S_IFIFO) 78 #define ISREG(A) ((A.st_mode & S_IFMT) == S_IFREG)
|
/titanic_50/usr/src/ucbcmd/install.d/ |
H A D | install.c | 146 if ((stb.st_mode&S_IFMT) != S_IFDIR) { in main() 178 if ((stb.st_mode&S_IFMT) != S_IFDIR) in main() 206 if (!devnull && !((from_sb.st_mode&S_IFMT) == S_IFREG)) { 213 if ((to_sb.st_mode&S_IFMT) == S_IFDIR) { 220 if ((to_sb.st_mode&S_IFMT) != S_IFREG) {
|
/titanic_50/usr/src/cmd/chmod/ |
H A D | common.c | 205 if (((old_mode & S_IFMT) == S_IFDIR) || in newmode_common() 298 ((new_mode & S_IFMT) != S_IFDIR)) { in newmode_common() 361 ((new_mode & S_IFMT) != S_IFDIR) && in newmode_common() 458 if ((old_mode & S_IFMT) == S_IFDIR) in newmode_common() 507 if ((mode & S_IFMT) == S_IFDIR) in abs()
|
/titanic_50/usr/src/cmd/truss/ |
H A D | stat.c | 80 switch (statb.st_mode & S_IFMT) { in show_stat32() 125 switch (statb.st_mode & S_IFMT) { in show_stat64_32() 169 switch (statb.st_mode & S_IFMT) { in show_stat64()
|
/titanic_50/usr/src/cmd/ptools/pfiles/ |
H A D | pfiles.c | 229 switch (mode & S_IFMT) { in show_file() 241 (void) sprintf(s, "0x%.4x ", (int)mode & S_IFMT); in show_file() 246 (int)mode & ~S_IFMT); in show_file() 251 if ((mode & S_IFMT) == S_IFPORT) { in show_file() 270 (mode & (S_IFMT|S_ENFMT|S_IXGRP)) == (S_IFREG|S_ENFMT), in show_file() 271 (mode & S_IFMT) == S_IFDOOR); in show_file() 276 if ((mode & S_IFMT) == S_IFSOCK) in show_file() 278 else if ((mode & S_IFMT) == S_IFIFO) in show_file() 281 if ((mode & S_IFMT) == S_IFCHR) { in show_file()
|
/titanic_50/usr/src/lib/libpkg/common/ |
H A D | isdir.c | 104 if ((statbuf.st_mode & S_IFMT) != S_IFDIR) { in isdir() 145 if ((statbuf.st_mode & S_IFMT) == S_IFDIR) { in isfile() 152 if ((statbuf.st_mode & S_IFMT) != S_IFREG) { in isfile()
|
/titanic_50/usr/src/cmd/fs.d/ufs/tunefs/ |
H A D | tunefs.c | 172 if ((st.st_mode & S_IFMT) == S_IFDIR) { in main() 178 } else if ((st.st_mode & S_IFMT) == S_IFBLK || in main() 179 (st.st_mode & S_IFMT) == S_IFCHR) { in main() 219 if ((st.st_mode & S_IFMT) != S_IFBLK && in main() 220 (st.st_mode & S_IFMT) != S_IFCHR) in main()
|
/titanic_50/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_minix.c | 148 #define S_IFMT 00170000 macro 152 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 153 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 154 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
/titanic_50/usr/src/lib/libbc/libc/gen/common/ |
H A D | ftw.c | 129 else if ((sb.st_mode & S_IFMT) == S_IFLNK) { 145 if((sb.st_mode & S_IFMT) != S_IFDIR)
|
/titanic_50/usr/src/cmd/prtconf/ |
H A D | prtconf.c | 284 } else if (((sinfo.st_mode & S_IFMT) == S_IFCHR) || in main() 285 ((sinfo.st_mode & S_IFMT) == S_IFBLK)) { in main() 290 } else if ((sinfo.st_mode & S_IFMT) == S_IFDIR) { in main()
|
/titanic_50/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | setup.c | 111 if ((statb.st_mode & S_IFMT) == S_IFDIR) { in setup() 117 if ((statb.st_mode & S_IFMT) == S_IFBLK) { in setup() 127 if ((statb.st_mode & S_IFMT) == S_IFDIR) { in setup() 159 } else if (((statb.st_mode & S_IFMT) != S_IFBLK) && in setup() 160 ((statb.st_mode & S_IFMT) != S_IFCHR)) { in setup()
|
/titanic_50/usr/src/cmd/ttymon/ |
H A D | tmutil.c | 75 if ((statbuf.st_mode & S_IFMT) != S_IFCHR) { in check_device() 119 if ((statbuf.st_mode & S_IFMT) != S_IFREG) { in check_cmd()
|
/titanic_50/usr/src/ucbcmd/chown/ |
H A D | chown.c | 143 if (rflag && ((stbuf.st_mode&S_IFMT) == S_IFDIR)) { in main() 200 if ((st.st_mode&S_IFMT) == S_IFDIR) { in chownr()
|