Home
last modified time | relevance | path

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

123456

/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/ucbcmd/ln/
H A Dln.c60 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()
/illumos-gate/usr/src/cmd/chmod/
H A Dcommon.c205 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()
/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/tools/protolist/
H A Dprotolist.c92 if (((st->st_mode & S_IFMT) == S_IFDIR) || in visit_dir()
110 case S_IFDIR: in visit_dir()
/illumos-gate/usr/src/cmd/backup/dump/
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/ucbcmd/install.d/
H A Dinstall.c146 if ((stb.st_mode&S_IFMT) != S_IFDIR) { in main()
178 if ((stb.st_mode&S_IFMT) != S_IFDIR) in main()
213 if ((to_sb.st_mode&S_IFMT) == S_IFDIR) {
/illumos-gate/usr/src/test/zfs-tests/cmd/mkbusy/
H A Dmkbusy.c131 S_IFDIR)) in main()
148 } else if ((sbuf.st_mode & S_IFMT) == S_IFDIR) { in main()
/illumos-gate/usr/src/ucbcmd/chown/
H A Dchown.c142 if (rflag && ((stbuf.st_mode&S_IFMT) == S_IFDIR)) { in main()
199 if ((st.st_mode&S_IFMT) == S_IFDIR) { in chownr()
/illumos-gate/usr/src/lib/libpkg/common/
H A Disdir.c104 if ((statbuf.st_mode & S_IFMT) != S_IFDIR) { in isdir()
145 if ((statbuf.st_mode & S_IFMT) == S_IFDIR) { in isfile()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dremove.c50 if ((statb.st_mode & S_IFMT) != S_IFDIR) in remove()
H A Dfdopendir.c68 if ((sbuf.st_mode & S_IFMT) != S_IFDIR) { in fdopendir()
/illumos-gate/usr/src/cmd/sh/
H A Dtest.c149 return(filtyp(nxtarg(0), S_IFDIR)); in e3()
159 (statb.st_mode & S_IFMT) != S_IFDIR); in e3()
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/
H A Dparam6 #ifndef S_IFDIR
/illumos-gate/usr/src/cmd/ast/libast/amd64/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/ucbcmd/test/
H A Dtest.c146 return (filtyp(nxtarg(0), S_IFDIR)); in e3()
158 (statb.st_mode & S_IFMT) != S_IFDIR); in e3()
/illumos-gate/usr/src/lib/libproc/common/
H A DPisprocdir.c58 (statb.st_mode & S_IFMT) == S_IFDIR && in Pisprocdir()
/illumos-gate/usr/src/test/os-tests/tests/sdevfs/
H A Dsdevfs_eisdir.c44 if ((st.st_mode & S_IFMT) != S_IFDIR) { in main()
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/
H A Dacwin64.h182 #define S_IFDIR _S_IFDIR macro
/illumos-gate/usr/src/cmd/filesync/
H A Daction.c487 if (dp->f_type == S_IFDIR) { in do_copy()
541 case S_IFDIR: in do_copy()
559 dp->f_type = S_IFDIR; in do_copy()
868 if (fp->f_info[0].f_type == S_IFDIR) { in do_remove()
963 (fp->f_info[0].f_type == S_IFDIR) ? "mvdir" : "mv", in do_rename()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Ddefs.h94 #define ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/illumos-gate/usr/src/uts/common/syscall/
H A Dmknod.c100 why = ((fmode & S_IFMT) == S_IFDIR) ? CRMKDIR : CRMKNOD; in mknodat()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_minix.c151 #define S_IFDIR 0040000 macro
154 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)

123456