Home
last modified time | relevance | path

Searched refs:S_IFDIR (Results 1 – 25 of 141) sorted by path

123456

/illumos-gate/usr/src/boot/libsa/
H A Dcd9660.c617 sb->st_mode |= S_IFDIR; in cd9660_stat()
H A Ddosfs.c397 sb->st_mode = f->de.attr & FA_DIR ? S_IFDIR | 0555 : S_IFREG | 0444; in dos_stat()
H A Dnfs.c733 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 Dstat.h226 #define S_IFDIR 0040000 /* directory */ macro
/illumos-gate/usr/src/cmd/acct/lib/
H A Ddevtolin.c194 ((sb.st_mode & S_IFMT) == S_IFDIR)) { in srch_dir()
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/
H A Dparam6 #ifndef S_IFDIR
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/
H A Dparam6 #ifndef S_IFDIR
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/
H A Dparam6 #ifndef S_IFDIR
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/
H A Dparam6 #ifndef S_IFDIR
/illumos-gate/usr/src/cmd/audit/
H A Daudit.c371 } else if (statbuf.st_mode & S_IFDIR) { in validate_path()
/illumos-gate/usr/src/cmd/backup/dump/
H A Dlftw.c174 if ((sb.st_mode & S_IFMT) != S_IFDIR && in lf_xftw()
H A Dpartial.c153 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 Dcreate.c430 case S_IFDIR: ftype = 'D'; break; in eval_file()
/illumos-gate/usr/src/cmd/bnu/
H A Duucp.c621 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) {
H A Duucp.h570 #define DIRECTORY(f) ((stat((f),&__s_)==0) && ((__s_.st_mode&(S_IFMT))==S_IFDIR) )
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c2500 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 Dbstream.c270 if ((st.st_mode & S_IFMT) == S_IFDIR) { in open_file_read_stream()
/illumos-gate/usr/src/cmd/chgrp/
H A Dchgrp.c246 == 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 Dchmod.c295 if (rflag && ((st.st_mode & S_IFMT) == S_IFDIR) && !linkflg) { in dochmod()
H A Dcommon.c203 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 Dchown.c282 == 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 Dipmgmt_main.c362 if ((statbuf.st_mode & S_IFMT) != S_IFDIR) { in ipmgmt_init_privileges()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c1002 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 Ddefs.h92 #define ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
H A Ddocmd.c595 case S_IFDIR: in cmptime()

123456