/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_stat.c | 43 #if !defined(S_ISDIR) || defined(STAT_MACROS_BROKEN) 45 #define S_ISDIR(m) (_S_IFDIR & (m)) macro 47 #define S_ISDIR(m) (((m) & 0170000) == 0040000) macro 51 *isdirp = S_ISDIR(sb.st_mode);
|
/illumos-gate/usr/src/cmd/chmod/ |
H A D | common.c | 241 if (lcheck == 1 && !S_ISDIR(new_mode)) { in newmode_common() 254 !S_ISDIR(new_mode)) { in newmode_common() 271 !S_ISDIR(new_mode)) { in newmode_common() 285 !S_ISDIR(new_mode)) { in newmode_common() 324 !S_ISDIR(new_mode)) { in newmode_common() 376 !S_ISDIR(new_mode)) { in newmode_common() 420 !S_ISDIR(new_mode)) { in newmode_common() 444 !S_ISDIR(new_mode)) { in newmode_common()
|
/illumos-gate/usr/src/cmd/tcpd/ |
H A D | tcpdmatch.c | 41 #ifndef S_ISDIR 42 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro 105 } else if (!S_ISDIR(st.st_mode)) {
|
H A D | tcpdchk.c | 43 #ifndef S_ISDIR 44 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro 131 } else if (!S_ISDIR(st.st_mode)) {
|
/illumos-gate/usr/src/cmd/acpi/acpidump/ |
H A D | osunixdir.c | 289 if ((S_ISDIR (temp_stat.st_mode) in AcpiOsGetNextFilename() 292 ((!S_ISDIR (temp_stat.st_mode) in AcpiOsGetNextFilename()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | mode.c | 76 #ifdef S_ISDIR in main() 77 if (!S_ISDIR(X_IFDIR)) idtype = 0; in main()
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_project.c | 76 if (!S_ISREG(st->st_mode) && !S_ISDIR(st->st_mode)) { in zfs_project_sanity_check() 82 if (!S_ISDIR(st->st_mode)) { in zfs_project_sanity_check() 288 if (ret || !S_ISDIR(st.st_mode) || zpc->zpc_dironly || in zfs_project_handle()
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | dir.c | 87 S_ISDIR(statstruct.st_mode)) { in sourcedir() 121 S_ISDIR(statstruct.st_mode)) { in includedir() 254 S_ISDIR(statstruct.st_mode)) { in makefilelist()
|
/illumos-gate/usr/src/boot/common/ |
H A D | ls.c | 93 if (stat(path, &sb) == 0 && !S_ISDIR(sb.st_mode)) { in command_ls() 197 if (!S_ISDIR(sb.st_mode)) { in ls_getdir()
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_traverse.c | 210 if (!S_ISDIR(st->st_mode)) in fs_getstat() 264 if (S_ISDIR(st.st_mode)) in fs_getdents() 375 if (!S_ISDIR(pst.st_mode)) { in traverse_post() 474 if (S_ISDIR(est.st_mode)) { in traverse_post() 717 if (!S_ISDIR(dent->fd_attr.st_mode)) { in traverse_level_nondir() 794 if (!S_ISDIR(pst.st_mode)) { in traverse_level() 938 if (!S_ISDIR(est.st_mode)) in traverse_level()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/ |
H A D | db-int.h | 290 #ifndef S_ISDIR /* POSIX 1003.1 file type tests. */ 291 #define S_ISDIR(m) ((m & 0170000) == 0040000) /* directory */ macro
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | depend.c | 199 if (!S_ISDIR(sbuf.st_mode)) { in find_dependencies() 207 if (!S_ISDIR(sbuf.st_mode)) { in find_dependencies()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | mknod.c | 44 if (S_ISDIR(mode))
|
H A D | rmdir.c | 45 if (!S_ISDIR(st.st_mode))
|
/illumos-gate/usr/src/cmd/fs.d/dev/ |
H A D | mount.c | 325 if (! S_ISDIR(st.st_mode)) { in main() 336 if (! S_ISDIR(st.st_mode)) { in main()
|
/illumos-gate/usr/src/cmd/mkdir/ |
H A D | mkdir.c | 164 if (S_ISDIR(buf.st_mode)) { in main() 179 if (! S_ISDIR(buf.st_mode)) { in main()
|
/illumos-gate/usr/src/cmd/oamuser/lib/ |
H A D | file.c | 41 if( S_ISDIR( statbuf.st_mode )) {
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | cp.c | 373 if (!S_ISDIR(st.st_mode)) in visit() 416 …else if (state->update && !S_ISDIR(st.st_mode) && (unsigned long)ent->fts_statp->st_mtime < (unsig… in visit() 443 if (S_ISDIR(st.st_mode)) in visit() 567 if (errno != EXDEV && (rm || S_ISDIR(ent->fts_statp->st_mode))) in visit() 591 else if (state->op == CP || S_ISREG(ent->fts_statp->st_mode) || S_ISDIR(ent->fts_statp->st_mode)) in visit() 965 if (!(state->directory = !stat(file, &st) && S_ISDIR(st.st_mode)) && argc > 1) in b_cp()
|
/illumos-gate/usr/src/lib/lib9p/common/backend/ |
H A D | fs.c | 521 if (!S_ISDIR(st->st_mode)) in fs_pdir() 580 if (!S_ISDIR(st->st_mode)) in fs_nde() 664 if (S_ISDIR(buf->st_mode)) in dostat() 766 if (S_ISDIR(buf->st_mode)) in generate_qid() 979 else if (!S_ISDIR(st.st_mode)) in fs_attach() 1334 if (S_ISDIR(first.st_mode)) { in fs_iopen() 1841 S_ISDIR(cst.st_mode) ? AT_REMOVEDIR : 0) != 0) { in fs_remove() 1843 if (error == EEXIST && S_ISDIR(cst.st_mode)) in fs_remove() 1938 if (!S_ISDIR(st.st_mode)) { in fs_walk() 2454 op = S_ISDIR(cst.st_mode) ? L9P_ACE_ADD_SUBDIRECTORY : L9P_ACE_ADD_FILE; in fs_rename() [all …]
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | homedir.c | 90 if ((stat(pdir, &stbuf) != 0) || !S_ISDIR(stbuf.st_mode)) { in create_home() 225 if ((stat(dir, &stbuf) != 0) || !S_ISDIR(stbuf.st_mode)) in rm_homedir()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | modex.c | 59 else if (S_ISDIR(i)) x |= X_IFDIR; in modex()
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | fileurl.c | 291 } else if (S_ISDIR(fstats.st_mode)) { in ldaptool_berval_from_ldif_value() 308 !S_ISDIR(fstats.st_mode)) { /* get value from file */ in ldaptool_berval_from_ldif_value()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/dir/ |
H A D | opendir.c | 57 !S_ISDIR(st.st_mode) && (errno = ENOTDIR) ||
|
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | mktemp.c | 111 if (!S_ISDIR(sbuf.st_mode)) { in gettemp()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | safechown.c | 37 if (!S_ISDIR(fdbuf.st_mode) && fdbuf.st_nlink != 1) { in safechown()
|