Searched refs:S_SHIFT (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/fs/nilfs2/ |
D | dir.c | 244 #define S_SHIFT 12 macro 246 nilfs_type_by_mode[S_IFMT >> S_SHIFT] = { 247 [S_IFREG >> S_SHIFT] = NILFS_FT_REG_FILE, 248 [S_IFDIR >> S_SHIFT] = NILFS_FT_DIR, 249 [S_IFCHR >> S_SHIFT] = NILFS_FT_CHRDEV, 250 [S_IFBLK >> S_SHIFT] = NILFS_FT_BLKDEV, 251 [S_IFIFO >> S_SHIFT] = NILFS_FT_FIFO, 252 [S_IFSOCK >> S_SHIFT] = NILFS_FT_SOCK, 253 [S_IFLNK >> S_SHIFT] = NILFS_FT_SYMLINK, 260 de->file_type = nilfs_type_by_mode[(mode & S_IFMT)>>S_SHIFT]; in nilfs_set_de_type()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | dir.c | 51 static unsigned char f2fs_type_by_mode[S_IFMT >> S_SHIFT] = { 52 [S_IFREG >> S_SHIFT] = F2FS_FT_REG_FILE, 53 [S_IFDIR >> S_SHIFT] = F2FS_FT_DIR, 54 [S_IFCHR >> S_SHIFT] = F2FS_FT_CHRDEV, 55 [S_IFBLK >> S_SHIFT] = F2FS_FT_BLKDEV, 56 [S_IFIFO >> S_SHIFT] = F2FS_FT_FIFO, 57 [S_IFSOCK >> S_SHIFT] = F2FS_FT_SOCK, 58 [S_IFLNK >> S_SHIFT] = F2FS_FT_SYMLINK, 63 de->file_type = f2fs_type_by_mode[(mode & S_IFMT) >> S_SHIFT]; in set_de_type()
|
D | inline.c | 500 fake_mode = f2fs_get_de_type(de) << S_SHIFT; in f2fs_add_inline_entries()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | ext4.h | 3507 #define S_SHIFT 12 macro 3508 static const unsigned char ext4_type_by_mode[(S_IFMT >> S_SHIFT) + 1] = { 3509 [S_IFREG >> S_SHIFT] = EXT4_FT_REG_FILE, 3510 [S_IFDIR >> S_SHIFT] = EXT4_FT_DIR, 3511 [S_IFCHR >> S_SHIFT] = EXT4_FT_CHRDEV, 3512 [S_IFBLK >> S_SHIFT] = EXT4_FT_BLKDEV, 3513 [S_IFIFO >> S_SHIFT] = EXT4_FT_FIFO, 3514 [S_IFSOCK >> S_SHIFT] = EXT4_FT_SOCK, 3515 [S_IFLNK >> S_SHIFT] = EXT4_FT_SYMLINK, 3522 de->file_type = ext4_type_by_mode[(mode & S_IFMT)>>S_SHIFT]; in ext4_set_de_type()
|
/kernel/linux/linux-5.10/include/linux/ |
D | f2fs_fs.h | 558 #define S_SHIFT 12 macro
|