Home
last modified time | relevance | path

Searched refs:S_ISDIR (Results 101 – 125 of 146) sorted by last modified time

123456

/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c486 if (stat(dname, &stbuf) != 0 || !S_ISDIR(stbuf.st_mode) || in path2name()
/illumos-gate/usr/src/cmd/zlogin/
H A Dzlogin.c1771 if (stat(optarg, &sb) == -1 || !S_ISDIR(sb.st_mode)) { in main()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_project.c76 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 Dvtdaemon.c1194 if ((stat(VT_TMPDIR, &st) < 0) || !S_ISDIR(st.st_mode)) { in mkvtdir()
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c1930 !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 Dforward.c418 (stat("/proc/self/fd", &sb2) == -1 || !S_ISDIR(sb2.st_mode) || in follow()
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c325 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 Dmain.c1207 (lstat(ept->path, &st) == 0 && S_ISDIR(st.st_mode))) { in rmclass()
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dmain.c560 if (S_ISDIR(st.st_mode) || S_ISBLK(st.st_mode)) { in setpathlist()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmap_core.c2313 if (S_ISDIR(stat_buf.st_mode)) { in ld_map_parse()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dutil.c2428 if (!S_ISDIR(statbuf.st_mode))
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dconf.h2674 # ifndef S_ISDIR
2675 # define S_ISDIR(foo) ((foo & S_IFMT) == S_IFDIR) macro
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_stat.c43 #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 Dvold.c1014 if (!(S_ISDIR(stat_buf.st_mode))) { in pushdir()
/illumos-gate/usr/src/cmd/rm/
H A Drm.c339 if (S_ISDIR(temp.st_mode)) { in rm()
/illumos-gate/usr/src/cmd/power/
H A Dhandlers.c1166 if (S_ISREG(stbuf.st_mode) || (dir && S_ISDIR(stbuf.st_mode))) { in sfpath()
/illumos-gate/usr/src/cmd/pathchk/
H A Dpathchk.c305 } else if (S_ISDIR(sb.st_mode)) { in checkpathname()
/illumos-gate/usr/src/cmd/oamuser/user/
H A Duseradd.c792 if (!S_ISDIR(statbuf.st_mode)) { in valid_input()
H A Dhomedir.c90 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 Dfile.c41 if( S_ISDIR( statbuf.st_mode )) {
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_traverse.c210 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 Dndmpd_tar3.c667 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 Dndmpd_tar.c378 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 Dndmpd_mark.c375 } else if (S_ISDIR(estp->st_mode) && in mark_cb()
801 if (S_ISDIR(estp->st_mode) && in marklbrv3_cb()
H A Dndmpd_fhistory.c916 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()

123456