Home
last modified time | relevance | path

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

/system/core/adb/daemon/
Dusb_ffs.cpp41 #define cpu_to_le32(x) htole32(x) macro
174 .Reserved1 = cpu_to_le32(1),
181 .interface = cpu_to_le32(1),
182 .dwLength = cpu_to_le32(sizeof(os_desc_header) + sizeof(os_desc_compat)),
183 .bcdVersion = cpu_to_le32(1),
184 .wIndex = cpu_to_le32(4),
185 .bCount = cpu_to_le32(1),
186 .Reserved = cpu_to_le32(0),
199 .magic = cpu_to_le32(FUNCTIONFS_STRINGS_MAGIC),
200 .length = cpu_to_le32(sizeof(strings)),
[all …]
/system/extras/ext4_utils/include/ext4_utils/
Dext4.h306 #define EXT4_INODE_SET_XTIME(xtime, inode, raw_inode) do { (raw_inode)->xtime = cpu_to_le32((ino…
307 … (EXT4_FITS_IN_INODE(raw_inode, einode, xtime)) (raw_inode)->xtime = cpu_to_le32((einode)->xtime…
472 #define EXT4_HAS_COMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask…
473 …AS_RO_COMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask)) != 0)
474 #define EXT4_HAS_INCOMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(…
475 #define EXT4_SET_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask)
476 #define EXT4_SET_RO_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32
477 #define EXT4_SET_INCOMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(m…
478 #define EXT4_CLEAR_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(ma…
479 …XT4_CLEAR_RO_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask)
[all …]
Dext4_utils.h70 #define cpu_to_le32(x) (x) macro
/system/core/fs_mgr/
Dfs_mgr.cpp357 bool has_quota = (sb->s_feature_ro_compat & cpu_to_le32(EXT4_FEATURE_RO_COMPAT_QUOTA)) != 0; in tune_quota()
435 bool has_encrypt = (sb->s_feature_incompat & cpu_to_le32(EXT4_FEATURE_INCOMPAT_ENCRYPT)) != 0; in tune_encrypt()
461 bool has_verity = (sb->s_feature_ro_compat & cpu_to_le32(EXT4_FEATURE_RO_COMPAT_VERITY)) != 0; in tune_verity()
518 if (sb1 != cpu_to_le32(F2FS_SUPER_MAGIC) && sb2 != cpu_to_le32(F2FS_SUPER_MAGIC)) { in read_f2fs_superblock()
535 if (sb == cpu_to_le32(F2FS_SUPER_MAGIC)) return true; in fs_mgr_is_f2fs()
540 return sb == cpu_to_le32(F2FS_SUPER_MAGIC); in fs_mgr_is_f2fs()