Home
last modified time | relevance | path

Searched refs:ne_dev_fd (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/samples/nitro_enclaves/
Dne_ioctl_sample.c164 static int ne_create_vm(int ne_dev_fd, unsigned long *slot_uid, int *enclave_fd) in ne_create_vm() argument
167 *enclave_fd = ioctl(ne_dev_fd, NE_CREATE_VM, slot_uid); in ne_create_vm()
770 int ne_dev_fd = -1; in main() local
789 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()