/illumos-gate/usr/src/boot/libsa/ |
H A D | cd9660.c | 617 sb->st_mode |= S_IFDIR; in cd9660_stat()
|
H A D | dosfs.c | 397 sb->st_mode = f->de.attr & FA_DIR ? S_IFDIR | 0555 : S_IFREG | 0444; in dos_stat()
|
H A D | nfs.c | 733 0, S_IFREG, S_IFDIR, S_IFBLK, S_IFCHR, S_IFLNK, S_IFSOCK, S_IFIFO, 0 };
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | stat.h | 226 #define S_IFDIR 0040000 /* directory */ macro
|
/illumos-gate/usr/src/cmd/acct/lib/ |
H A D | devtolin.c | 194 ((sb.st_mode & S_IFMT) == S_IFDIR)) { in srch_dir()
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | param | 6 #ifndef S_IFDIR
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | param | 6 #ifndef S_IFDIR
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | param | 6 #ifndef S_IFDIR
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | param | 6 #ifndef S_IFDIR
|
/illumos-gate/usr/src/cmd/audit/ |
H A D | audit.c | 371 } else if (statbuf.st_mode & S_IFDIR) { in validate_path()
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | lftw.c | 174 if ((sb.st_mode & S_IFMT) != S_IFDIR && in lf_xftw()
|
H A D | partial.c | 153 if ((st.st_mode & S_IFMT) != S_IFDIR) in lf_mark_root() 168 (st.st_mode & S_IFMT) != S_IFDIR || in lf_mark_root()
|
/illumos-gate/usr/src/cmd/bart/ |
H A D | create.c | 430 case S_IFDIR: ftype = 'D'; break; in eval_file()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uucp.c | 621 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) {
|
H A D | uucp.h | 570 #define DIRECTORY(f) ((stat((f),&__s_)==0) && ((__s_.st_mode&(S_IFMT))==S_IFDIR) )
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 2500 if (sb.st_mode & S_IFDIR) in rmdir_r() 2921 if (sb.st_mode & S_IFDIR) in delete_stale()
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | bstream.c | 270 if ((st.st_mode & S_IFMT) == S_IFDIR) { in open_file_read_stream()
|
/illumos-gate/usr/src/cmd/chgrp/ |
H A D | chgrp.c | 246 == S_IFDIR) { in main() 293 == S_IFDIR) { in main() 300 } else if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFDIR)) { in main() 330 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) { in main() 413 if ((st2.st_mode & S_IFMT) == S_IFDIR) { in chgrpr() 464 if ((st2.st_mode & S_IFMT) == S_IFDIR) { in chgrpr() 471 } else if ((st.st_mode & S_IFMT) == S_IFDIR) { in chgrpr()
|
/illumos-gate/usr/src/cmd/chmod/ |
H A D | chmod.c | 295 if (rflag && ((st.st_mode & S_IFMT) == S_IFDIR) && !linkflg) { in dochmod()
|
H A D | common.c | 203 if (((old_mode & S_IFMT) == S_IFDIR) || in newmode_common() 296 ((new_mode & S_IFMT) != S_IFDIR)) { in newmode_common() 359 ((new_mode & S_IFMT) != S_IFDIR) && in newmode_common() 456 if ((old_mode & S_IFMT) == S_IFDIR) in newmode_common() 505 if ((mode & S_IFMT) == S_IFDIR) in abs()
|
/illumos-gate/usr/src/cmd/chown/ |
H A D | chown.c | 282 == S_IFDIR) { in main() 322 } else if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFDIR)) { in main() 423 if ((st2.st_mode & S_IFMT) == S_IFDIR) { in chownr() 466 } else if ((st.st_mode & S_IFMT) == S_IFDIR) { in chownr()
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_main.c | 362 if ((statbuf.st_mode & S_IFMT) != S_IFDIR) { in ipmgmt_init_privileges()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rcp.c | 1002 if ((stb.st_mode & S_IFMT) == S_IFDIR) in verifydir() 1166 case S_IFDIR: in source() 1443 if (stat(targ, &stb) == 0 && (stb.st_mode & S_IFMT) == S_IFDIR) in sink() 1546 if ((stb.st_mode&S_IFMT) != S_IFDIR) { in sink()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | defs.h | 92 #define ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
H A D | docmd.c | 595 case S_IFDIR: in cmptime()
|