Home
last modified time | relevance | path

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

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