Searched refs:enclave_fd (Results 1 – 2 of 2) sorted by relevance
169 if (*enclave_fd < 0) { in ne_create_vm()170 rc = *enclave_fd; in ne_create_vm()198 int enclave_fd = *(int *)data; in ne_poll_enclave_fd() local205 fds[0].fd = enclave_fd; in ne_poll_enclave_fd()521 rc = ioctl(enclave_fd, NE_ADD_VCPU, vcpu_id); in ne_add_vcpu()768 int enclave_fd = -1; in main() local805 printf("Enclave fd %d\n", enclave_fd); in main()811 close(enclave_fd); in main()848 rc = ne_add_vcpu(enclave_fd, &ne_vcpus[i]); in main()871 close(enclave_fd); in main()[all …]
1595 int enclave_fd = -1; in ne_create_vm_ioctl() local1654 enclave_fd = get_unused_fd_flags(O_CLOEXEC); in ne_create_vm_ioctl()1655 if (enclave_fd < 0) { in ne_create_vm_ioctl()1656 rc = enclave_fd; in ne_create_vm_ioctl()1703 put_unused_fd(enclave_fd); in ne_create_vm_ioctl()1708 fd_install(enclave_fd, enclave_file); in ne_create_vm_ioctl()1710 return enclave_fd; in ne_create_vm_ioctl()1715 put_unused_fd(enclave_fd); in ne_create_vm_ioctl()1742 int enclave_fd = -1; in ne_ioctl() local1747 enclave_fd = ne_create_vm_ioctl(ne_pci_dev, slot_uid); in ne_ioctl()[all …]