Searched refs:host_fd (Results 1 – 2 of 2) sorted by relevance
32 if (tpm_proxy->host_fd != -1) { in spapr_tpm_proxy_reset()33 close(tpm_proxy->host_fd); in spapr_tpm_proxy_reset()34 tpm_proxy->host_fd = -1; in spapr_tpm_proxy_reset()62 if (tpm_proxy->host_fd == -1) { in tpm_execute()63 tpm_proxy->host_fd = open(tpm_proxy->host_path, O_RDWR); in tpm_execute()64 if (tpm_proxy->host_fd == -1) { in tpm_execute()74 ret = write(tpm_proxy->host_fd, buf_in, data_in_size); in tpm_execute()87 ret = read(tpm_proxy->host_fd, buf_out, data_out_size); in tpm_execute()137 tpm_proxy->host_fd = -1; in spapr_tpm_proxy_realize()
27 int host_fd; member