S_IFMT
switch (curr->fts_statp->st_mode & S_IFMT) {
switch (statb.st_mode & S_IFMT) {
switch (mode & S_IFMT) {
switch (curr->fts_statp->st_mode & S_IFMT) {
switch (S_IFMT & arcn->sb.st_mode) {
return ((s.st_mode & S_IFMT) == i);
if ((stbuf.st_mode & S_IFMT) == S_IFDIR) {
|| sb.st_rdev != dev || (sb.st_mode & S_IFMT) != type)
if ((sbuf.st_size == 0) || ((sbuf.st_mode & S_IFMT) != S_IFREG)) {
return ((sb.st_mode & S_IFMT) == fdtype);
(st.st_mode & S_IFMT) != S_IFREG) {
return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ?
switch (mode & S_IFMT) {
#define S_ISDIR(mode) ((mode & S_IFMT) == S_IFDIR)
#define S_ISREG(mode) ((mode & S_IFMT) == S_IFREG)
attr->st_mode = (attr->st_mode & S_IFMT) | (0777 & ~f->conf.umask);
switch (sbuf.st_mode & S_IFMT) {
if ((st.st_mode&S_IFMT) == S_IFDIR) {
switch (sp->st_mode & S_IFMT) {
if (mknod(*argv, S_IFMT|S_IRUSR|S_IWUSR,
if ((sb.st_mode & ~S_IFMT) != (S_IRUSR | S_IWUSR))
switch (DIP(dp, di_mode) & S_IFMT) {
if ((st.st_mode & S_IFMT) == rejecttype)
if ((sb.st_mode & S_IFMT) != S_IFDIR)
putchar("-fc-d-b---l-s-w-"[(sb->st_mode & S_IFMT) >> 12]);
if ((sb.st_mode & S_IFMT) != S_IFDIR)
putchar("-fc-d-b---l-s-w-"[(sb->st_mode & S_IFMT) >> 12]);
if ((sb.st_mode & S_IFMT) != S_IFDIR)
putchar("-fc-d-b---l-s-w-"[(sb->st_mode & S_IFMT) >> 12]);
S_IFSOCK, S_IFIFO, S_IFMT,
switch (mode & S_IFMT) {
case S_IFMT: /* used by badsect to flag bad sectors */
if (mode & ~(S_IFMT | ALLPERMS))
if (mode & ~(S_IFMT | ALLPERMS))
vap->va_mode = st->mode & ~S_IFMT;
if ((sb.st_mode & S_IFMT) != S_IFDIR)
putchar("-fc-d-b---l-s-w-"[(sb->st_mode & S_IFMT) >> 12]);
#define IFTOVT(mode) (iftovt_tab[((mode) & S_IFMT) >> 12])
(stbuf.st_mode & ~S_IFMT) == 0)
(stb1.st_mode & S_IFMT) != (stb2.st_mode & S_IFMT)) {
switch (st.st_mode & S_IFMT) {
switch (st.st_mode & S_IFMT) {
switch (st.st_mode & S_IFMT) {
(stb1.st_mode & S_IFMT) != (stb2.st_mode & S_IFMT))
switch (inf->msg->sb.st_mode & S_IFMT) {
if (iflag && (inf->msg->sb.st_mode & S_IFMT) != S_IFREG) {
switch (inf->msg->sb.st_mode & S_IFMT) {
return ((entry->fts_statp->st_mode & S_IFMT) == plan->m_data);
if ((st.st_mode & S_IFMT) != S_IFREG) {
(st.st_mode & S_IFMT) != S_IFREG) {
switch (stb.st_mode & S_IFMT) {
if ((ff->fts_statp->st_mode & S_IFMT) != S_IFREG)
switch (statp->st_mode & S_IFMT) {
int mode = stb.st_mode & S_IFMT;
switch (statb->st_mode & S_IFMT) {
switch (stb.st_mode & S_IFMT) {
switch (stb.st_mode & S_IFMT) {
switch (st->st_mode & S_IFMT) {
switch (st->st_mode & S_IFMT) {
} else if ((mode = (sb.st_mode & S_IFMT)) == S_IFDIR
switch (st.st_mode & S_IFMT) {
} else if ((stb.st_mode & S_IFMT) != S_IFDIR) {
if (stat(dir, &stb) < 0 || (stb.st_mode & S_IFMT) != S_IFDIR) {
(stb.st_mode & S_IFMT) == S_IFDIR ? 0 : error_so_far;
to->node->inode->st.st_mode = to->node->inode->st.st_mode & ~(S_IFMT);
tfsnode->type &= ~(S_IFMT);
inode_type(DIP(din, mode) & S_IFMT),
if (S_ISSOCK(stbuf.st_mode & S_IFMT))
cur->type = stbuf->st_mode & S_IFMT;
switch (mode & S_IFMT) {
switch(type & S_IFMT) {
type = ip->i_ffs1_mode & S_IFMT;
type = np->n_vattr.va_mode & S_IFMT;
(statb.st_mode & S_IFMT) != S_IFREG)
((st.st_mode & S_IFMT) != S_IFREG) ||