Home
last modified time | relevance | path

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

/system/extras/ext4_utils/include/ext4_utils/
Dext4.h319 (raw_inode)->xtime = cpu_to_le32((inode)->xtime.tv_sec); \
326 (raw_inode)->xtime = cpu_to_le32((einode)->xtime.tv_sec); \
506 ((EXT4_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask)) != 0)
508 ((EXT4_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask)) != 0)
510 ((EXT4_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask)) != 0)
511 #define EXT4_SET_COMPAT_FEATURE(sb, mask) EXT4_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask)
513 EXT4_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask)
515 EXT4_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(mask)
517 EXT4_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask)
519 EXT4_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask)
[all …]
Dext4_utils.h64 #define cpu_to_le32(x) (x) macro
/system/core/fs_mgr/
Dfs_mgr.cpp361 bool has_quota = (sb->s_feature_ro_compat & cpu_to_le32(EXT4_FEATURE_RO_COMPAT_QUOTA)) != 0; in tune_quota()
448 if ((sb->s_feature_incompat & cpu_to_le32(EXT4_FEATURE_INCOMPAT_ENCRYPT)) == 0) { in tune_encrypt()
461 if ((sb->s_feature_compat & cpu_to_le32(EXT4_FEATURE_COMPAT_STABLE_INODES)) == 0) { in tune_encrypt()
489 bool has_verity = (sb->s_feature_ro_compat & cpu_to_le32(EXT4_FEATURE_RO_COMPAT_VERITY)) != 0; in tune_verity()
526 bool has_casefold = (sb->s_feature_incompat & cpu_to_le32(EXT4_FEATURE_INCOMPAT_CASEFOLD)) != 0; in tune_casefold()
567 (sb->s_feature_ro_compat & cpu_to_le32(EXT4_FEATURE_RO_COMPAT_METADATA_CSUM)) != 0; in tune_metadata_csum()
625 if (sb1 != cpu_to_le32(F2FS_SUPER_MAGIC) && sb2 != cpu_to_le32(F2FS_SUPER_MAGIC)) { in read_f2fs_superblock()
642 if (sb == cpu_to_le32(F2FS_SUPER_MAGIC)) return true; in fs_mgr_is_f2fs()
647 return sb == cpu_to_le32(F2FS_SUPER_MAGIC); in fs_mgr_is_f2fs()