Lines Matching refs:le32_to_cpu
111 le32_to_cpu(gpt_h->header_size)); in validate_gpt_header()
115 if (calc_crc32 != le32_to_cpu(crc32_backup)) { in validate_gpt_header()
118 le32_to_cpu(crc32_backup), calc_crc32); in validate_gpt_header()
160 le32_to_cpu(gpt_h->num_partition_entries) * in validate_gpt_entries()
161 le32_to_cpu(gpt_h->sizeof_partition_entry)); in validate_gpt_entries()
163 if (calc_crc32 != le32_to_cpu(gpt_h->partition_entry_array_crc32)) { in validate_gpt_entries()
166 le32_to_cpu(gpt_h->partition_entry_array_crc32), in validate_gpt_entries()
188 le32_to_cpu(gpt_h->header_size)); in prepare_backup_gpt_header()
238 for (i = 0; i < le32_to_cpu(gpt_head->num_partition_entries); i++) { in part_print_efi()
282 if (part > le32_to_cpu(gpt_head->num_partition_entries) || in part_get_info_efi()
385 le32_to_cpu(gpt_h->num_partition_entries) * in write_gpt_table()
386 le32_to_cpu(gpt_h->sizeof_partition_entry)); in write_gpt_table()
390 le32_to_cpu(gpt_h->header_size)); in write_gpt_table()
822 gpt_e_blk_cnt = BLOCK_CNT((le32_to_cpu(gpt_h->num_partition_entries) * in write_mbr_and_gpt_partitions()
823 le32_to_cpu(gpt_h->sizeof_partition_entry)), in write_mbr_and_gpt_partitions()
1044 count = le32_to_cpu(pgpt_head->num_partition_entries) * in alloc_read_gpt_entries()
1045 le32_to_cpu(pgpt_head->sizeof_partition_entry); in alloc_read_gpt_entries()
1048 (u32) le32_to_cpu(pgpt_head->num_partition_entries), in alloc_read_gpt_entries()
1049 (u32) le32_to_cpu(pgpt_head->sizeof_partition_entry), in alloc_read_gpt_entries()