Searched refs:S_IFMT (Results 1 - 11 of 11) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dfcntl.h278 #ifndef S_IFMT
280 #define S_IFMT 0170000 /* [XSI] type of file mask */ macro
320 #endif /* !S_IFMT */
H A Dstat.h364 #ifndef S_IFMT
366 #define S_IFMT 0170000 /* [XSI] type of file mask */ macro
406 #endif /* !S_IFMT */
H A Dvnode.h410 #define IFTOVT(mode) (iftovt_tab[((mode) & S_IFMT) >> 12])
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_lookup.c310 int type = (attr.ca_mode & S_IFMT);
H A Dhfs_catalog.c90 #define MODE_TO_DT(mode) (modetodirtype[((mode) & S_IFMT) >> 12])
733 attrp->ca_mode &= S_IFMT | S_IRUSR | S_IRGRP | S_IROTH;
806 modeformat = attrp->ca_mode & S_IFMT;
3626 int type = attrp->ca_mode & S_IFMT;
3772 if ((bsd->fileMode & S_IFMT) == 0) {
3790 switch (attrp->ca_mode & S_IFMT) {
3826 attrp->ca_mode &= ~S_IFMT;
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/
H A Dcd9660_vfsops.c1005 if ((ip->inode.iso_mode & S_IFMT) != S_IFREG)
1313 ip->inode.iso_mode = (ip->inode.iso_mode & ~S_IFMT) | S_IFDIR;
H A Dcd9660_vnops.c153 if (ip->i_size == 0 && (vap->va_mode & S_IFMT) == S_IFLNK) {
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_syscalls.c2366 if ((uap->mode & S_IFMT) == S_IFIFO)
2387 switch (uap->mode & S_IFMT) {
2388 case S_IFMT: /* used by badsect to flag bad sectors */
H A Dkpi_vfs.c1372 return(iftovt_tab[((mode) & S_IFMT) >> 12]);
H A Dvfs_subr.c144 S_IFSOCK, S_IFIFO, S_IFMT,
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_subs.c1149 if ((vtype == VNON) || ((vtype == VREG) && ((vmode & S_IFMT) != 0)))

Completed in 108 milliseconds