Lines Matching defs:i_type
728 const char *i_type;
738 if (LINUX_S_ISDIR(inode->i_mode)) i_type = "directory";
739 else if (LINUX_S_ISREG(inode->i_mode)) i_type = "regular";
740 else if (LINUX_S_ISLNK(inode->i_mode)) i_type = "symlink";
741 else if (LINUX_S_ISBLK(inode->i_mode)) i_type = "block special";
742 else if (LINUX_S_ISCHR(inode->i_mode)) i_type = "character special";
743 else if (LINUX_S_ISFIFO(inode->i_mode)) i_type = "FIFO";
744 else if (LINUX_S_ISSOCK(inode->i_mode)) i_type = "socket";
745 else i_type = "bad type";
746 fprintf(out, "%sInode: %u Type: %s ", prefix, inode_num, i_type);