Searched refs:S_SHIFT (Results 1 – 1 of 1) sorted by relevance
3636 #define S_SHIFT 12 macro3637 static const unsigned char ext4_type_by_mode[(S_IFMT >> S_SHIFT) + 1] = {3638 [S_IFREG >> S_SHIFT] = EXT4_FT_REG_FILE,3639 [S_IFDIR >> S_SHIFT] = EXT4_FT_DIR,3640 [S_IFCHR >> S_SHIFT] = EXT4_FT_CHRDEV,3641 [S_IFBLK >> S_SHIFT] = EXT4_FT_BLKDEV,3642 [S_IFIFO >> S_SHIFT] = EXT4_FT_FIFO,3643 [S_IFSOCK >> S_SHIFT] = EXT4_FT_SOCK,3644 [S_IFLNK >> S_SHIFT] = EXT4_FT_SYMLINK,3651 de->file_type = ext4_type_by_mode[(mode & S_IFMT)>>S_SHIFT]; in ext4_set_de_type()