/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zfs.c | 486 if (stat(dname, &stbuf) != 0 || !S_ISDIR(stbuf.st_mode) || in path2name()
|
/illumos-gate/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 1771 if (stat(optarg, &sb) == -1 || !S_ISDIR(sb.st_mode)) { 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/cmd/vt/ |
H A D | vtdaemon.c | 1194 if ((stat(VT_TMPDIR, &st) < 0) || !S_ISDIR(st.st_mode)) { in mkvtdir()
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 1930 !S_ISDIR(stbuf.st_mode) && in putfile() 1998 (split == NAMSIZ && S_ISDIR(stbuf.st_mode) && !Pflag)) { in putfile() 2019 if ((i > NAMSIZ) || (i == NAMSIZ && S_ISDIR(stbuf.st_mode) && in putfile() 2037 S_ISDIR(stbuf.st_mode) && !Pflag)) in putfile()
|
/illumos-gate/usr/src/cmd/tail/ |
H A D | forward.c | 418 (stat("/proc/self/fd", &sb2) == -1 || !S_ISDIR(sb2.st_mode) || in follow()
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 325 if (lstat("/var/run", &sb) != 0 || !(S_ISDIR(sb.st_mode))) { in main() 2575 if (S_ISDIR(buf.st_mode)) { in open_door() 2732 if (S_ISDIR(buf.st_mode)) { in open_door() 4397 if (lstat(DoorFileName, &sb) == 0 && !S_ISDIR(sb.st_mode)) { in delete_doorfiles() 4414 if (lstat(OLD_DOORFILE, &sb) == 0 && !S_ISDIR(sb.st_mode)) { in delete_doorfiles() 4443 if (lstat(PidFileName, &sb) == 0 && !S_ISDIR(sb.st_mode)) { in delete_doorfiles() 4460 if (lstat(OLD_PIDFILE, &sb) == 0 && !S_ISDIR(sb.st_mode)) { in delete_doorfiles()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | main.c | 1207 (lstat(ept->path, &st) == 0 && S_ISDIR(st.st_mode))) { in rmclass()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/ |
H A D | main.c | 560 if (S_ISDIR(st.st_mode) || S_ISBLK(st.st_mode)) { in setpathlist()
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | map_core.c | 2313 if (S_ISDIR(stat_buf.st_mode)) { in ld_map_parse()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | util.c | 2428 if (!S_ISDIR(statbuf.st_mode))
|
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | conf.h | 2674 # ifndef S_ISDIR 2675 # define S_ISDIR(foo) ((foo & S_IFMT) == S_IFDIR) macro
|
/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/rmvolmgr/ |
H A D | vold.c | 1014 if (!(S_ISDIR(stat_buf.st_mode))) { in pushdir()
|
/illumos-gate/usr/src/cmd/rm/ |
H A D | rm.c | 339 if (S_ISDIR(temp.st_mode)) { in rm()
|
/illumos-gate/usr/src/cmd/power/ |
H A D | handlers.c | 1166 if (S_ISREG(stbuf.st_mode) || (dir && S_ISDIR(stbuf.st_mode))) { in sfpath()
|
/illumos-gate/usr/src/cmd/pathchk/ |
H A D | pathchk.c | 305 } else if (S_ISDIR(sb.st_mode)) { in checkpathname()
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | useradd.c | 792 if (!S_ISDIR(statbuf.st_mode)) { in valid_input()
|
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/cmd/oamuser/lib/ |
H A D | file.c | 41 if( S_ISDIR( statbuf.st_mode )) {
|
/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/cmd/ndmpd/ndmp/ |
H A D | ndmpd_tar3.c | 667 if (!S_ISDIR(st.st_mode)) { in is_valid_backup_dir_v3() 1874 *errp = S_ISDIR(estp->st_mode) ? FST_SKIP : 0; in shouldskip() 1879 *errp = S_ISDIR(estp->st_mode) ? FST_SKIP : 0; in shouldskip() 1884 *errp = S_ISDIR(estp->st_mode) ? FST_SKIP : 0; in shouldskip() 1887 } else if (!S_ISDIR(estp->st_mode) && in shouldskip() 1937 } else if (S_ISDIR(stp->st_mode) && ndmp_force_bk_dirs) { in ischngd() 1940 } else if (S_ISDIR(stp->st_mode) && in ischngd() 2108 if (S_ISDIR(stp->st_mode)) { in timebk_v3() 2188 if (S_ISDIR(stp->st_mode)) { in lbrbk_v3()
|
H A D | ndmpd_tar.c | 378 if (S_ISDIR(attr->st_mode) && ndmp_force_bk_dirs) { in timecmp() 383 if (S_ISDIR(attr->st_mode) && in timecmp() 817 if (S_ISDIR(ret_attr.st_mode)) { in backup_work() 1601 } else if (!S_ISDIR(st.st_mode)) { in check_backup_dir_validity()
|
H A D | ndmpd_mark.c | 375 } else if (S_ISDIR(estp->st_mode) && in mark_cb() 801 if (S_ISDIR(estp->st_mode) && in marklbrv3_cb()
|
H A D | ndmpd_fhistory.c | 916 if (S_ISDIR(ret_attr.st_mode)) { in ndmpd_fhdir_v3_cb() 1500 if (S_ISDIR(ret_attr.st_mode)) { in ndmpd_file_history_dir()
|