Searched refs:totlength (Results 1 – 2 of 2) sorted by relevance
697 uint32_t totlength, length; in tpm_emulator_get_state_blob() local721 totlength = be32_to_cpu(pgs.u.resp.totlength); in tpm_emulator_get_state_blob()723 if (totlength != length) { in tpm_emulator_get_state_blob()725 "but would get %u", totlength, length); in tpm_emulator_get_state_blob()731 if (totlength > 0) { in tpm_emulator_get_state_blob()732 tsb->buffer = g_try_malloc(totlength); in tpm_emulator_get_state_blob()735 totlength); in tpm_emulator_get_state_blob()739 n = qemu_chr_fe_read_all(&tpm_emu->ctrl_chr, tsb->buffer, totlength); in tpm_emulator_get_state_blob()740 if (n != totlength) { in tpm_emulator_get_state_blob()743 type, totlength, n); in tpm_emulator_get_state_blob()[all …]
122 uint32_t totlength; /* total length that will be transferred */ member221 uint32_t totlength; member