Searched refs:cpu_to_le32 (Results 1 – 4 of 4) sorted by relevance
/system/core/adb/daemon/ |
D | usb_ffs.cpp | 44 #define cpu_to_le32(x) htole32(x) macro 74 uint32_t dwPropertyDataType = cpu_to_le32(USB_EXT_PROP_UNICODE); 81 uint32_t dwPropertyDataLength = cpu_to_le32(PropertyDataLength); 207 .Reserved1 = cpu_to_le32(1), 214 .interface = cpu_to_le32(0), 215 .dwLength = cpu_to_le32(sizeof(os_desc_header) + sizeof(os_desc_compat)), 216 .bcdVersion = cpu_to_le32(1), 217 .wIndex = cpu_to_le32(4), 218 .bCount = cpu_to_le32(1), 219 .Reserved = cpu_to_le32(0), [all …]
|
/system/extras/ext4_utils/include/ext4_utils/ |
D | ext4.h | 306 #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 …]
|
D | ext4_utils.h | 64 #define cpu_to_le32(x) (x) macro
|
/system/core/fs_mgr/ |
D | fs_mgr.cpp | 386 bool has_quota = (sb->s_feature_ro_compat & cpu_to_le32(EXT4_FEATURE_RO_COMPAT_QUOTA)) != 0; in tune_quota() 473 if ((sb->s_feature_incompat & cpu_to_le32(EXT4_FEATURE_INCOMPAT_ENCRYPT)) == 0) { in tune_encrypt() 486 if ((sb->s_feature_compat & cpu_to_le32(EXT4_FEATURE_COMPAT_STABLE_INODES)) == 0) { in tune_encrypt() 514 bool has_verity = (sb->s_feature_ro_compat & cpu_to_le32(EXT4_FEATURE_RO_COMPAT_VERITY)) != 0; in tune_verity() 551 bool has_casefold = (sb->s_feature_incompat & cpu_to_le32(EXT4_FEATURE_INCOMPAT_CASEFOLD)) != 0; in tune_casefold() 592 (sb->s_feature_ro_compat & cpu_to_le32(EXT4_FEATURE_RO_COMPAT_METADATA_CSUM)) != 0; in tune_metadata_csum() 650 if (sb1 != cpu_to_le32(F2FS_SUPER_MAGIC) && sb2 != cpu_to_le32(F2FS_SUPER_MAGIC)) { in read_f2fs_superblock() 667 if (sb == cpu_to_le32(F2FS_SUPER_MAGIC)) return true; in fs_mgr_is_f2fs() 672 return sb == cpu_to_le32(F2FS_SUPER_MAGIC); in fs_mgr_is_f2fs()
|