Lines Matching refs:be32_to_cpu
169 checksum = be32_to_cpu(footer->checksum); in vpc_open()
191 s->block_size = be32_to_cpu(dyndisk_header->block_size); in vpc_open()
194 s->max_table_entries = be32_to_cpu(dyndisk_header->max_table_entries); in vpc_open()
360 bat_value = be32_to_cpu(s->pagetable[index]); in alloc_block()
535 footer->features = be32_to_cpu(0x02); in vpc_create()
536 footer->version = be32_to_cpu(0x00010000); in vpc_create()
538 footer->timestamp = be32_to_cpu(time(NULL) - VHD_TIMESTAMP_BASE); in vpc_create()
551 footer->type = be32_to_cpu(VHD_DYNAMIC); in vpc_create()
555 footer->checksum = be32_to_cpu(vpc_checksum(buf, HEADER_SIZE)); in vpc_create()
586 dyndisk_header->version = be32_to_cpu(0x00010000); in vpc_create()
587 dyndisk_header->block_size = be32_to_cpu(block_size); in vpc_create()
588 dyndisk_header->max_table_entries = be32_to_cpu(num_bat_entries); in vpc_create()
590 dyndisk_header->checksum = be32_to_cpu(vpc_checksum(buf, 1024)); in vpc_create()