Home
last modified time | relevance | path

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

123456

/titanic_54/usr/src/cmd/chgrp/
H A Dchgrp.c264 == S_IFDIR) { in main()
311 == S_IFDIR) { in main()
318 } else if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFDIR)) { in main()
348 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) { in main()
431 if ((st2.st_mode & S_IFMT) == S_IFDIR) { in chgrpr()
482 if ((st2.st_mode & S_IFMT) == S_IFDIR) { in chgrpr()
489 } else if ((st.st_mode & S_IFMT) == S_IFDIR) { in chgrpr()
/titanic_54/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()
/titanic_54/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()
/titanic_54/usr/src/cmd/chown/
H A Dchown.c296 == S_IFDIR) { in main()
336 } else if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFDIR)) { in main()
437 if ((st2.st_mode & S_IFMT) == S_IFDIR) { in chownr()
480 } else if ((st.st_mode & S_IFMT) == S_IFDIR) { in chownr()
/titanic_54/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()
/titanic_54/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) {
/titanic_54/usr/src/cmd/backup/dump/
H A Dpartial.c170 if ((st.st_mode & S_IFMT) != S_IFDIR)
185 (st.st_mode & S_IFMT) != S_IFDIR ||
/titanic_54/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()
/titanic_54/usr/src/ucbcmd/chown/
H A Dchown.c143 if (rflag && ((stbuf.st_mode&S_IFMT) == S_IFDIR)) { in main()
200 if ((st.st_mode&S_IFMT) == S_IFDIR) { in chownr()
/titanic_54/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()
/titanic_54/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()
/titanic_54/usr/src/lib/libbc/libc/sys/sys5/
H A Dmknod.c43 if ((mode & S_IFMT) == S_IFDIR) in mknod()
/titanic_54/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()
/titanic_54/usr/src/cmd/ast/libast/amd64/FEATURE/
H A Dparam6 #ifndef S_IFDIR
/titanic_54/usr/src/cmd/ast/libast/i386/FEATURE/
H A Dparam6 #ifndef S_IFDIR
/titanic_54/usr/src/cmd/ast/libast/sparc/FEATURE/
H A Dparam6 #ifndef S_IFDIR
/titanic_54/usr/src/cmd/ast/libast/sparcv9/FEATURE/
H A Dparam6 #ifndef S_IFDIR
/titanic_54/usr/src/lib/libproc/common/
H A DPisprocdir.c58 (statb.st_mode & S_IFMT) == S_IFDIR && in Pisprocdir()
/titanic_54/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()
/titanic_54/usr/src/lib/libbc/libc/gen/common/
H A Dopendir.c55 if ((sb.st_mode & S_IFMT) != S_IFDIR) {
/titanic_54/usr/src/cmd/filesync/
H A Daction.c486 if (dp->f_type == S_IFDIR) { in do_copy()
540 case S_IFDIR: in do_copy()
558 dp->f_type = S_IFDIR; in do_copy()
867 if (fp->f_info[0].f_type == S_IFDIR) { in do_remove()
962 (fp->f_info[0].f_type == S_IFDIR) ? "mvdir" : "mv", in do_rename()
/titanic_54/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Ddefs.h94 #define ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/titanic_54/usr/src/uts/common/syscall/
H A Dmknod.c100 why = ((fmode & S_IFMT) == S_IFDIR) ? CRMKDIR : CRMKNOD; in mknodat()
/titanic_54/usr/src/lib/libbc/inc/include/sys/
H A Dstat.h82 #define S_IFDIR _IFDIR macro

123456