Lines Matching refs:recv_len
219 static int sandbox_tpm2_fill_buf(u8 *recv, size_t *recv_len, u16 tag, u32 rc) in sandbox_tpm2_fill_buf() argument
221 *recv_len = sizeof(tag) + sizeof(u32) + sizeof(rc); in sandbox_tpm2_fill_buf()
228 put_unaligned_be32(*recv_len, recv); in sandbox_tpm2_fill_buf()
261 size_t *recv_len) in sandbox_tpm2_xfer() argument
291 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
299 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
305 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
323 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
339 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
362 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
376 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
396 return sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
436 *recv_len = recv - recvbuf; in sandbox_tpm2_xfer()
437 put_unaligned_be32(*recv_len, recvbuf + sizeof(tag)); in sandbox_tpm2_xfer()
449 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
458 return sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
466 return sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
474 return sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
484 return sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
490 return sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
520 *recv_len = recv - recvbuf; in sandbox_tpm2_xfer()
521 put_unaligned_be32(*recv_len, recvbuf + sizeof(tag)); in sandbox_tpm2_xfer()
542 return sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
551 return sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
557 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
563 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()