Lines Matching refs:enclave_start_info
1073 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()
1324 if (enclave_start_info.enclave_cid == U32_MAX) { in ne_enclave_ioctl()
1334 if (enclave_start_info.enclave_cid == NE_PARENT_VM_CID) { in ne_enclave_ioctl()
1342 if (enclave_start_info.enclave_cid > U32_MAX) { in ne_enclave_ioctl()
1360 rc = ne_start_enclave_ioctl(ne_enclave, &enclave_start_info); in ne_enclave_ioctl()
1369 if (copy_to_user((void __user *)arg, &enclave_start_info, in ne_enclave_ioctl()
1370 sizeof(enclave_start_info))) in ne_enclave_ioctl()