Searched refs:cpu_to_be32 (Results 1 – 14 of 14) sorted by relevance
244 cow_header.magic = cpu_to_be32(COW_MAGIC); in cow_create()245 cow_header.version = cpu_to_be32(COW_VERSION); in cow_create()248 cow_header.mtime = cpu_to_be32(0); in cow_create()260 cow_header.mtime = cpu_to_be32(st.st_mtime); in cow_create()265 cow_header.sectorsize = cpu_to_be32(512); in cow_create()
150 h.l1_size = cpu_to_be32(sn->l1_size); in qcow_write_snapshots()151 h.vm_state_size = cpu_to_be32(sn->vm_state_size); in qcow_write_snapshots()152 h.date_sec = cpu_to_be32(sn->date_sec); in qcow_write_snapshots()153 h.date_nsec = cpu_to_be32(sn->date_nsec); in qcow_write_snapshots()177 data32 = cpu_to_be32(s->nb_snapshots); in qcow_write_snapshots()
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()[all …]
768 header.magic = cpu_to_be32(QCOW_MAGIC); in qcow_create()769 header.version = cpu_to_be32(QCOW_VERSION); in qcow_create()777 header.backing_file_size = cpu_to_be32(backing_filename_len); in qcow_create()796 header.crypt_method = cpu_to_be32(QCOW_CRYPT_AES); in qcow_create()798 header.crypt_method = cpu_to_be32(QCOW_CRYPT_NONE); in qcow_create()
718 magic = cpu_to_be32(VMDK4_MAGIC); in vmdk_create()
76 #define cpu_to_be32(x) __bswap_32(x) macro83 #define cpu_to_be32(x) (x) macro
82 bstat->device = cpu_to_be32(bstat->device); in blkiomon_stat_to_be()
136 a[i] = cpu_to_be32(a[i]); in histlog2_to_be()
195 if (!(tag->t_flags & cpu_to_be32(JFS_FLAG_SAME_UUID))) in count_tags()198 if (tag->t_flags & cpu_to_be32(JFS_FLAG_LAST_TAG)) in count_tags()435 if (tmp->h_magic != cpu_to_be32(JFS_MAGIC_NUMBER)) { in do_one_pass()542 header->h_magic = cpu_to_be32(JFS_MAGIC_NUMBER); in do_one_pass()
18 #define cpu_to_be32(n) htonl(n) macro
217 ((j)->j_superblock->s_feature_compat & cpu_to_be32((mask))))220 ((j)->j_superblock->s_feature_ro_compat & cpu_to_be32((mask))))223 ((j)->j_superblock->s_feature_incompat & cpu_to_be32((mask))))
41 #define cpu_to_cfi32(x) cpu_to_be32(x)
229 ((j)->j_superblock->s_feature_compat & cpu_to_be32((mask))))232 ((j)->j_superblock->s_feature_ro_compat & cpu_to_be32((mask))))235 ((j)->j_superblock->s_feature_incompat & cpu_to_be32((mask))))
99 #define cpu_to_be32 __cpu_to_be32 macro