Home
last modified time | relevance | path

Searched refs:S_IFDIR (Results 76 – 100 of 141) sorted by relevance

123456

/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautomount.c285 if ((stbuf.st_mode & S_IFMT) != S_IFDIR) { in main()
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c3044 if ((statbuf.st_mode & S_IFDIR)) { in setCmdLinePath()
3109 if (!(statbuf.st_mode & S_IFDIR)) { in setRootPath()
3312 if (!(statbuf.st_mode & S_IFDIR)) { in testPath()
3325 if (statbuf.st_mode & S_IFDIR) { in testPath()
/illumos-gate/usr/src/cmd/bart/
H A Dcreate.c430 case S_IFDIR: ftype = 'D'; break; in eval_file()
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dmerginfo.c596 if ((stat(path, &status) == 0) && (status.st_mode & S_IFDIR)) { in merginfo()
/illumos-gate/usr/src/cmd/vi/port/
H A Dex.h76 #define ISDIR(A) ((A.st_mode & S_IFMT) == S_IFDIR)
/illumos-gate/usr/src/cmd/bnu/
H A Duucp.h570 #define DIRECTORY(f) ((stat((f),&__s_)==0) && ((__s_.st_mode&(S_IFMT))==S_IFDIR) )
H A Duucp.c621 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) {
/illumos-gate/usr/src/cmd/find/
H A Dfind.c675 i == 'd' ? S_IFDIR : in compile()
1704 #ifdef S_IFDIR in list()
1705 case S_IFDIR: /* directory */ in list()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dsdev_impl.h254 #define SDEV_DIRMODE_DEFAULT (S_IFDIR |0755)
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dmap.c902 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) { in g_get_limited_map()
1166 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) { in g_get_dev_list()
1626 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) { in create_map()
2245 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) { in g_dev_map_init()
3409 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) { in g_rdls()
4670 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) { in g_get_nexus_path()
4847 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) { in g_get_fca_port_topology()
/illumos-gate/usr/src/cmd/ls/
H A Dls.c1880 ((statb.st_mode & S_IFMT) != S_IFDIR)) { in gstat()
1894 case S_IFDIR: in gstat()
1950 case S_IFDIR: in gstat()
1994 if ((statb1.st_mode & S_IFMT) == S_IFDIR) { in gstat()
/illumos-gate/usr/src/cmd/mailx/
H A Dutil.c117 return((sbuf.st_mode & S_IFMT) == S_IFDIR); in isdir()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dttyname.c554 if ((tsb.st_mode & S_IFMT) == S_IFDIR) in srch_dir()
H A Dnftw.c215 if ((statb.st_mode & S_IFMT) == S_IFDIR) { in walk()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dplugins.c133 if (!err && (statbuf.st_mode & S_IFMT) == S_IFDIR) { in krb5int_open_plugin()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.exp.c560 i = (stb.st_mode & S_IFMT) == S_IFDIR; in exp6()
H A Dsh.file.c270 if ((statb.st_mode & S_IFMT) == S_IFDIR) in filetype()
/illumos-gate/usr/src/cmd/sdiff/
H A Dsdiff.c787 if (stat(a1, &stbuf) != -1 && ((stbuf.st_mode&S_IFMT) == S_IFDIR)) { in filename()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Ddocmd.c595 case S_IFDIR: in cmptime()
/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/ptools/pfiles/
H A Dpfiles.c233 case S_IFDIR: s = "S_IFDIR"; break; in show_file()
/illumos-gate/usr/src/boot/libsa/
H A Dcd9660.c617 sb->st_mode |= S_IFDIR; in cd9660_stat()
/illumos-gate/usr/src/cmd/filesync/
H A Deval.c422 if ((statb.st_mode & S_IFMT) != S_IFDIR) in eval_file()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c1533 Adir = (ftype == S_IFDIR); in creat_hdr()
4856 Adir = ftype == S_IFDIR; in gethdr()
4999 Adir = (ftype == S_IFDIR); in gethdr()
5940 Gen.g_mode |= (S_IFMT & S_IFDIR); in read_hdr()
6734 if ((DesSt.st_mode & Ftype) != S_IFDIR) in setup()
6987 case (S_IFDIR): in verbose()
7013 case (S_IFDIR): in verbose()
7535 if (((TmpSt.st_mode & Ftype) != S_IFDIR) && in convert_to_old_stat()
8710 case S_IFDIR: in tartype()
8875 mode = S_IFDIR; in attrmode()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dverify.c526 case S_IFDIR: in averify()

123456