Searched refs:S_IFMT (Results 1 - 25 of 207) sorted by relevance

123456789

/illumos-gate/usr/src/uts/common/sys/
H A Dmode.h50 #define IFTOVT(M) (iftovt_tab[((M) & S_IFMT) >> 12])
52 #define MAKEIMODE(T, M) (VTTOIF(T) | ((M) & ~S_IFMT))
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_mode.h26 #define S_ITYPE(m) ((m)&S_IFMT)
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_mode.h5 #define S_ITYPE(m) ((m)&S_IFMT)
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_mode.h26 #define S_ITYPE(m) ((m)&S_IFMT)
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_mode.h5 #define S_ITYPE(m) ((m)&S_IFMT)
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast_mode.h26 #define S_ITYPE(m) ((m)&S_IFMT)
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_mode.h5 #define S_ITYPE(m) ((m)&S_IFMT)
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_mode.h26 #define S_ITYPE(m) ((m)&S_IFMT)
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_mode.h5 #define S_ITYPE(m) ((m)&S_IFMT)
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/
H A Dmode5 #define S_ITYPE(m) ((m)&S_IFMT)
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dmkfifo.c43 return mknod(path, S_IFIFO|(mode & ~S_IFMT), 0);
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/FEATURE/
H A Dmode5 #define S_ITYPE(m) ((m)&S_IFMT)
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/FEATURE/
H A Dmode5 #define S_ITYPE(m) ((m)&S_IFMT)
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/
H A Dmode5 #define S_ITYPE(m) ((m)&S_IFMT)
/illumos-gate/usr/src/cmd/chgrp/
H A Dchgrp.c134 (void) chmod((dir), (mode) & ~S_IFMT)
240 if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFLNK)) {
263 if ((stbuf2.st_mode & S_IFMT)
283 ~S_IFMT);
310 if ((stbuf2.st_mode & S_IFMT)
314 stbuf2.st_mode & ~S_IFMT);
318 } else if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFDIR)) {
329 stbuf.st_mode & ~S_IFMT);
348 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) {
350 stbuf.st_mode & ~S_IFMT);
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dmknod.c43 if ((mode & S_IFMT) == S_IFDIR)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dremove.c50 if ((statb.st_mode & S_IFMT) != S_IFDIR)
/illumos-gate/usr/src/cmd/acct/lib/
H A Dlintodev.c45 if (stat(devtty, &sb) != -1 && (sb.st_mode&S_IFMT) == S_IFCHR)
/illumos-gate/usr/src/ucbcmd/ln/
H A Dln.c60 if ((stb.st_mode&S_IFMT) != S_IFDIR)
85 (stb.st_mode&S_IFMT) == S_IFDIR) {
89 if (stat(to, &stb) >= 0 && (stb.st_mode&S_IFMT) == S_IFDIR) {
/illumos-gate/usr/src/lib/libproc/common/
H A DPisprocdir.c58 (statb.st_mode & S_IFMT) == S_IFDIR &&
/illumos-gate/usr/src/cmd/backup/dump/
H A Dpartial.c58 (st.st_mode & S_IFMT) == S_IFCHR ||
59 (st.st_mode & S_IFMT) == S_IFBLK)
170 if ((st.st_mode & S_IFMT) != S_IFDIR)
185 (st.st_mode & S_IFMT) != S_IFDIR ||
/illumos-gate/usr/src/test/zfs-tests/cmd/mkbusy/
H A Dmkbusy.c143 } else if ((sbuf.st_mode & S_IFMT) == S_IFREG ||
144 (sbuf.st_mode & S_IFMT) == S_IFLNK ||
145 (sbuf.st_mode & S_IFMT) == S_IFCHR ||
146 (sbuf.st_mode & S_IFMT) == S_IFBLK) {
148 } else if ((sbuf.st_mode & S_IFMT) == S_IFDIR) {
/illumos-gate/usr/src/tools/protolist/
H A Dprotolist.c92 if (((st->st_mode & S_IFMT) == S_IFDIR) ||
93 ((st->st_mode & S_IFMT) == S_IFLNK))
104 switch (st->st_mode & S_IFMT) {
/illumos-gate/usr/src/uts/common/syscall/
H A Dmknod.c70 if ((fmode & S_IFMT) == 0)
76 if (((fmode & S_IFMT) != S_IFIFO) && secpolicy_sys_devices(CRED()) != 0)
100 why = ((fmode & S_IFMT) == S_IFDIR) ? CRMKDIR : CRMKNOD;
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dftw.c129 else if ((sb.st_mode & S_IFMT) == S_IFLNK) {
145 if((sb.st_mode & S_IFMT) != S_IFDIR)

Completed in 89 milliseconds

123456789