Searched refs:ne_dev_fd (Results 1 – 1 of 1) sorted by relevance
164 static int ne_create_vm(int ne_dev_fd, unsigned long *slot_uid, int *enclave_fd) in ne_create_vm() argument167 *enclave_fd = ioctl(ne_dev_fd, NE_CREATE_VM, slot_uid); in ne_create_vm()770 int ne_dev_fd = -1; in main() local789 ne_dev_fd = open(NE_DEV_NAME, O_RDWR | O_CLOEXEC); in main()790 if (ne_dev_fd < 0) { in main()798 rc = ne_create_vm(ne_dev_fd, &slot_uid, &enclave_fd); in main()800 close(ne_dev_fd); in main()