Home
last modified time | relevance | path

Searched refs:S_SHIFT (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/fs/nilfs2/
Ddir.c244 #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()
/linux-6.1.9/fs/f2fs/
Ddir.c56 static unsigned char f2fs_type_by_mode[S_IFMT >> S_SHIFT] = {
57 [S_IFREG >> S_SHIFT] = F2FS_FT_REG_FILE,
58 [S_IFDIR >> S_SHIFT] = F2FS_FT_DIR,
59 [S_IFCHR >> S_SHIFT] = F2FS_FT_CHRDEV,
60 [S_IFBLK >> S_SHIFT] = F2FS_FT_BLKDEV,
61 [S_IFIFO >> S_SHIFT] = F2FS_FT_FIFO,
62 [S_IFSOCK >> S_SHIFT] = F2FS_FT_SOCK,
63 [S_IFLNK >> S_SHIFT] = F2FS_FT_SYMLINK,
68 de->file_type = f2fs_type_by_mode[(mode & S_IFMT) >> S_SHIFT]; in set_de_type()
Dinline.c502 fake_mode = f2fs_get_de_type(de) << S_SHIFT; in f2fs_add_inline_entries()
/linux-6.1.9/fs/ext4/
Dext4.h3628 #define S_SHIFT 12 macro
3629 static const unsigned char ext4_type_by_mode[(S_IFMT >> S_SHIFT) + 1] = {
3630 [S_IFREG >> S_SHIFT] = EXT4_FT_REG_FILE,
3631 [S_IFDIR >> S_SHIFT] = EXT4_FT_DIR,
3632 [S_IFCHR >> S_SHIFT] = EXT4_FT_CHRDEV,
3633 [S_IFBLK >> S_SHIFT] = EXT4_FT_BLKDEV,
3634 [S_IFIFO >> S_SHIFT] = EXT4_FT_FIFO,
3635 [S_IFSOCK >> S_SHIFT] = EXT4_FT_SOCK,
3636 [S_IFLNK >> S_SHIFT] = EXT4_FT_SYMLINK,
3643 de->file_type = ext4_type_by_mode[(mode & S_IFMT)>>S_SHIFT]; in ext4_set_de_type()
/linux-6.1.9/include/linux/
Df2fs_fs.h601 #define S_SHIFT 12 macro