Searched refs:ctrl_chan_fd (Results 1 – 1 of 1) sorted by relevance
| /devicemodel/hw/platform/tpm/ |
| A D | tpm_emulator.c | 133 int ctrl_chan_fd; member 290 ret = sendmsg(ctrl_chan_fd, &msg, 0); in ctrl_chan_write() 300 static int ctrl_chan_read(int ctrl_chan_fd, uint8_t *buf, int len) in ctrl_chan_read() argument 324 n = recvmsg(ctrl_chan_fd, &msg, 0); in ctrl_chan_read() 424 send_num = ctrl_chan_write(ctrl_chan_fd, buf, n, pdatafd, fd_num); in swtpm_ctrlcmd() 431 recv_num = ctrl_chan_read(ctrl_chan_fd, msg, msg_len_out); in swtpm_ctrlcmd() 523 tpm_context.ctrl_chan_fd = connfd; in swtpm_ctrlchan_create() 566 if (swtpm_ctrlcmd(tpm_context.ctrl_chan_fd, CMD_INIT, in swtpm_start() 667 if (swtpm_ctrlcmd(tpm_context.ctrl_chan_fd, CMD_SHUTDOWN, in swtpm_shutdown() 683 if (swtpm_ctrlcmd(tpm_context.ctrl_chan_fd, CMD_SET_LOCALITY, &loc, in swtpm_set_locality() [all …]
|
Completed in 4 milliseconds