search for: caller_buf

Displaying 2 results from an estimated 2 matches for "caller_buf".

Did you mean: call_buf
2019 Feb 22
0
[PATCH] tpm: Add driver for TPM over virtio
...eeds max size, %u > %u\n", > + dev->readable, > + (unsigned int) TPM_BUFSIZE); > + dev->readable = TPM_BUFSIZE; > + return -EPROTO; > + } > + } > + } > + > + return 0; > +} > + > +static int vtpm_op_send(struct tpm_chip *chip, u8 *caller_buf, size_t len) > +{ > + int ret; > + bool did_kick; > + struct scatterlist sg_outbuf, sg_inbuf; > + struct scatterlist *sgs[2] = { &sg_outbuf, &sg_inbuf }; > + struct vtpm_device *dev = dev_get_drvdata(&chip->dev); > + u8 *virtqueue_buf = dev->virtqueue_buffer;...
2019 Feb 22
0
[PATCH] tpm: Add driver for TPM over virtio
...) TPM_BUFSIZE); > >> + dev->readable = TPM_BUFSIZE; > >> + return -EPROTO; > >> + } > >> + } > >> + } > >> + > >> + return 0; > >> +} > >> + > >> +static int vtpm_op_send(struct tpm_chip *chip, u8 *caller_buf, size_t len) > >> +{ > >> + int ret; > >> + bool did_kick; > >> + struct scatterlist sg_outbuf, sg_inbuf; > >> + struct scatterlist *sgs[2] = { &sg_outbuf, &sg_inbuf }; > >> + struct vtpm_device *dev = dev_get_drvdata(&chip->dev);...