Lines Matching refs:bendian_int
399 bendian_int(const uint32_t s) in bendian_int() function
897 part->map_count = bendian_int(apm_parts); in initialise_apm()
898 part->start_block = bendian_int(1); in initialise_apm()
899 part->block_count = bendian_int(4); in initialise_apm()
902 part->data_start = bendian_int(0); in initialise_apm()
903 part->data_count = bendian_int(10); in initialise_apm()
904 part->status = bendian_int(0x03); in initialise_apm()
909 part->map_count = bendian_int(3); in initialise_apm()
910 part->start_block = bendian_int(efi_lba); in initialise_apm()
911 part->block_count = bendian_int(efi_count / 4); in initialise_apm()
914 part->data_start = bendian_int(0); in initialise_apm()
915 part->data_count = bendian_int(efi_count / 4); in initialise_apm()
916 part->status = bendian_int(0x33); in initialise_apm()
923 part->map_count = bendian_int(3); in initialise_apm()
924 part->start_block = bendian_int(mac_lba); in initialise_apm()
925 part->block_count = bendian_int(mac_count / 4); in initialise_apm()
928 part->data_start = bendian_int(0); in initialise_apm()
929 part->data_count = bendian_int(mac_count / 4); in initialise_apm()
930 part->status = bendian_int(0x33); in initialise_apm()
933 part->map_count = bendian_int(3); in initialise_apm()
934 part->start_block = bendian_int((start/2048) + 10); in initialise_apm()
935 part->block_count = bendian_int(efi_lba - start/2048 - 10); in initialise_apm()
938 part->data_start = bendian_int(0); in initialise_apm()
939 part->data_count = bendian_int(efi_lba - start/2048 - 10); in initialise_apm()
940 part->status = bendian_int(0x01); in initialise_apm()