Home
last modified time | relevance | path

Searched refs:totlength (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/backends/tpm/
H A Dtpm_emulator.c726 uint32_t totlength, length; in tpm_emulator_get_state_blob() local
752 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 …]
H A Dtpm_ioctl.h132 uint32_t totlength; /* total length that will be transferred */ member
231 uint32_t totlength; member