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

/darwin-on-arm/xnu/bsd/sys/_types/
H A D_s_ifmt.h33 #ifndef S_IFMT
35 #define S_IFMT 0170000 /* [XSI] type of file mask */ macro
74 #endif /* !S_IFMT */
/darwin-on-arm/xnu/bsd/sys/
H A Dstat.h435 #ifndef S_IFMT
437 #define S_IFMT 0170000 /* [XSI] type of file mask */ macro
476 #endif /* !S_IFMT */
484 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */
485 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */
486 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */
487 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */
488 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */
489 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */
490 #define S_ISSOCK(m) (((m) & S_IFMT)
[all...]
H A Dfcntl.h352 #ifndef S_IFMT
354 #define S_IFMT 0170000 /* [XSI] type of file mask */ macro
393 #endif /* !S_IFMT */
H A Dvnode.h666 #define IFTOVT(mode) (iftovt_tab[((mode) & S_IFMT) >> 12])
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_lookup.c321 int type = (attr.ca_mode & S_IFMT);
H A Dhfs_catalog.c90 #define MODE_TO_DT(mode) (modetodirtype[((mode) & S_IFMT) >> 12])
811 attrp->ca_mode &= S_IFMT | S_IRUSR | S_IRGRP | S_IROTH;
899 modeformat = attrp->ca_mode & S_IFMT;
3854 int type = attrp->ca_mode & S_IFMT;
4000 if ((bsd->fileMode & S_IFMT) == 0) {
4018 switch (attrp->ca_mode & S_IFMT) {
4054 attrp->ca_mode &= ~S_IFMT;
H A Dhfs_vfsutils.c1558 mode = cnode.c_attr.ca_mode & S_IFMT;
H A Dhfs_readwrite.c1204 int mode = cnattr.ca_mode & S_IFMT;
/darwin-on-arm/xnu/SETUP/md/
H A Dmd.c294 switch(statbuf.st_mode & S_IFMT) {
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_syscalls.c3313 if ((uap->mode & S_IFMT) == S_IFIFO)
3334 switch (uap->mode & S_IFMT) {
3335 case S_IFMT: /* used by badsect to flag bad sectors */
H A Dkpi_vfs.c1573 return(iftovt_tab[((mode) & S_IFMT) >> 12]);
H A Dvfs_subr.c159 S_IFSOCK, S_IFIFO, S_IFMT,
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_subs.c1266 if ((vtype == VNON) || ((vtype == VREG) && ((vmode & S_IFMT) != 0)))

Completed in 217 milliseconds