Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/virt/nitro_enclaves/
Dne_misc_dev.c1073 struct ne_enclave_start_info *enclave_start_info) in ne_start_enclave_ioctl() argument
1113 enclave_start_req.enclave_cid = enclave_start_info->enclave_cid; in ne_start_enclave_ioctl()
1114 enclave_start_req.flags = enclave_start_info->flags; in ne_start_enclave_ioctl()
1129 enclave_start_info->enclave_cid = cmd_reply.enclave_cid; in ne_start_enclave_ioctl()
1293 struct ne_enclave_start_info enclave_start_info = {}; in ne_enclave_ioctl() local
1296 if (copy_from_user(&enclave_start_info, (void __user *)arg, in ne_enclave_ioctl()
1297 sizeof(enclave_start_info))) in ne_enclave_ioctl()
1300 if (enclave_start_info.flags >= NE_ENCLAVE_START_MAX_FLAG_VAL) { in ne_enclave_ioctl()
1316 if (enclave_start_info.enclave_cid > 0 && in ne_enclave_ioctl()
1317 enclave_start_info.enclave_cid <= VMADDR_CID_HOST) { in ne_enclave_ioctl()
[all …]
/Linux-v6.6/samples/nitro_enclaves/
Dne_ioctl_sample.c580 static int ne_start_enclave(int enclave_fd, struct ne_enclave_start_info *enclave_start_info) in ne_start_enclave() argument
584 rc = ioctl(enclave_fd, NE_START_ENCLAVE, enclave_start_info); in ne_start_enclave()
655 struct ne_enclave_start_info enclave_start_info = {}; in ne_start_enclave_check_booted() local
690 rc = ne_start_enclave(enclave_fd, &enclave_start_info); in ne_start_enclave_check_booted()
694 printf("Enclave started, CID %llu\n", enclave_start_info.enclave_cid); in ne_start_enclave_check_booted()