Searched refs:totlength (Results 1 – 2 of 2) sorted by relevance
726 uint32_t totlength, length; in tpm_emulator_get_state_blob() local752 totlength = be32_to_cpu(pgs.u.resp.totlength); in tpm_emulator_get_state_blob()754 if (totlength != length) { in tpm_emulator_get_state_blob()756 "but would get %u", totlength, length); in tpm_emulator_get_state_blob()762 if (totlength > 0) { in tpm_emulator_get_state_blob()763 tsb->buffer = g_try_malloc(totlength); in tpm_emulator_get_state_blob()766 totlength); in tpm_emulator_get_state_blob()770 n = qemu_chr_fe_read_all(&tpm_emu->ctrl_chr, tsb->buffer, totlength); in tpm_emulator_get_state_blob()771 if (n != totlength) { in tpm_emulator_get_state_blob()774 type, totlength, n); in tpm_emulator_get_state_blob()[all …]
132 uint32_t totlength; /* total length that will be transferred */ member231 uint32_t totlength; member