Lines Matching refs:cpu_to_be32
695 ext_backing_fmt.len = cpu_to_be32(strlen(backing_fmt)); in qcow2_update_ext_header()
696 ext_backing_fmt.magic = cpu_to_be32(QCOW_EXT_MAGIC_BACKING_FORMAT); in qcow2_update_ext_header()
745 uint32_t be_backing_file_size = cpu_to_be32(backing_file_len); in qcow2_update_ext_header()
866 header.magic = cpu_to_be32(QCOW_MAGIC); in qcow_create2()
867 header.version = cpu_to_be32(QCOW_VERSION); in qcow_create2()
881 header.backing_file_size = cpu_to_be32(backing_filename_len); in qcow_create2()
898 header.cluster_bits = cpu_to_be32(s->cluster_bits); in qcow_create2()
901 header.crypt_method = cpu_to_be32(QCOW_CRYPT_AES); in qcow_create2()
903 header.crypt_method = cpu_to_be32(QCOW_CRYPT_NONE); in qcow_create2()
911 header.l1_size = cpu_to_be32(l1_size); in qcow_create2()
941 header.refcount_table_clusters = cpu_to_be32(reftable_clusters); in qcow_create2()