S_IFDIR
case S_IFDIR:
case S_IFDIR:
case S_IFDIR:
case S_IFDIR:
arcn->sb.st_mode |= S_IFDIR;
arcn->sb.st_mode |= S_IFDIR;
case S_IFDIR:
if (!(sb.st_mode & S_IFDIR)) {
if ((statbuf.st_mode & S_IFMT) == S_IFDIR) {
if (omode & (S_IFDIR|S_IXUSR|S_IXGRP|S_IXOTH))
case S_IFDIR: /* directory */
0, S_IFREG, S_IFDIR, S_IFBLK, S_IFCHR, S_IFLNK,
case S_IFDIR:
mode |= S_IFDIR;
case S_IFDIR:
case S_IFDIR:
(sb.st_mode & S_IFMT) == S_IFDIR) {
st->st_mode = S_IFDIR | fwcfg_dir_mask;
st->st_mode = S_IFDIR | fwcfg_dir_mask;
tp->dir.st_mode = S_IFDIR | 0755;
stp->st_mode = S_IFDIR;
if ((sb.st_mode & S_IFDIR) == 0)
if ((sb.st_mode & S_IFDIR) == 0)
if ((sb.st_mode & S_IFDIR) == 0)
st->st_mode = S_IFDIR | 0755;
st->st_mode = (S_IFDIR | 0755);
st->st_mode = S_IFDIR | 0755;
st->st_mode = S_IFDIR | 0755;
st->st_mode = S_IFDIR | 0755;
case S_IFDIR:
st->st_mode = S_IFDIR | 0755;
st->st_mode = S_IFDIR | 0755;
tp->dir.st_mode = S_IFDIR | 0755;
sb->st_mode = 0755 | (fp->f_isdir? S_IFDIR: 0); /* XXX */
sb->st_mode |= S_IFDIR;
|| (sb.st_mode & S_IFMT) != S_IFDIR) {
if ((sb.st_mode & S_IFMT) != S_IFDIR) {
inop->inode.iso_mode = S_IFDIR;
KASSERT((ei->ei_mode & S_IFMT) == S_IFDIR);
case S_IFDIR:
m |= S_IFDIR | S_IXUSR | S_IXGRP | S_IXOTH;
vap->va_mode = (S_IFDIR | HFS_DEFAULT_DIR_MODE);
return S_IFDIR;
0, S_IFREG, S_IFDIR, S_IFBLK, S_IFCHR, S_IFLNK,
mode |= S_IFDIR;
(S_IFDIR | 0555) : (S_IFREG | 0444);
|| (sb.st_mode & S_IFMT) != S_IFDIR) {
if ((sb.st_mode & S_IFMT) != S_IFDIR) {
0, S_IFREG, S_IFDIR, S_IFBLK, S_IFCHR, S_IFLNK, 0 };
st->st_mode = S_IFDIR | 0755;
mask = S_IFDIR;
ftype = S_IFDIR;
fsp->mode |= S_IFDIR;
if (s == S_IFDIR && dirbehave == DIR_SKIP)
case S_IFDIR:
if ((cst.cst_mode & S_IFMT) != S_IFDIR) {
case S_IFDIR:
case S_IFDIR:
recvf(cp, S_IFDIR);
case S_IFDIR:
case S_IFDIR:
if (type == S_IFDIR) {
case S_IFDIR: sdata = "/"; break;
case S_IFDIR: sdata = "Directory"; break;
to->node->inode->st.st_mode |= S_IFDIR;
tfsnode->type |= S_IFDIR;
temp->node->type |= S_IFDIR;
!(writenode->node->type & S_IFDIR)) {
if (node->type == S_IFDIR)
case S_IFDIR:
case S_IFDIR:
case S_IFDIR:
case S_IFDIR:
case S_IFDIR:
if (dirnode->type != S_IFDIR)
if (curfsnode->type == S_IFDIR) {
if (curfsnode->type != S_IFDIR)
assert(cur->type == S_IFDIR);
return S_IFDIR;
case S_IFDIR:
return target_test(S_IFDIR, path);
{ S_IFDIR, "/etc" },
{ S_IFDIR, "/dev" },
return file_mode_match(path, S_IFDIR);
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)