Home
last modified time | relevance | path

Searched refs:S_IFMT (Results 1 – 3 of 3) sorted by relevance

/tools/include/uapi/linux/
Dstat.h9 #define S_IFMT 00170000 macro
21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
26 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
/tools/perf/util/
Ddata.c219 return (st.st_mode & S_IFMT) == S_IFDIR; in is_dir()
/tools/include/nolibc/
Dnolibc.h214 #define S_IFMT 0170000 macro