Searched refs:S_IFMT (Results 1 – 10 of 10) sorted by relevance
221 #ifndef S_IFMT222 #define S_IFMT 0170000 macro253 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)254 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)255 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)256 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)257 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)258 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)259 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
105 switch (stat->st_mode & S_IFMT) { in yaffs_file_type_str()
1593 buf->st_mode = obj->yst_mode & ~S_IFMT; in yaffsfs_DoStat()
10 #define S_IFMT 00170000 /* type of file */ macro22 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)23 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)24 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)25 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)26 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)27 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)28 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
52 switch (mode & S_IFMT) { in mkmodestr()
284 if ((CRAMFS_16 (inode->mode) & S_IFMT) == S_IFLNK) { in cramfs_list_inode()
514 if ((inode->i_mode & S_IFMT) == S_IFLNK) { in ubifs_findfile()
327 switch (inode->i_mode & S_IFMT) { in ubifs_iget()408 if ((inode->i_mode & S_IFMT) == S_IFLNK) { in ubifs_iget()
519 #define S_IFMT 00170000 macro
859 switch (mode & S_IFMT) { in mkmodestr()
Completed in 29 milliseconds