Lines Matching full:enclave

17  *		  an enclave VM.
21 * enclave. Memory and vCPUs are set for the slot mapped to an enclave.
34 * * Enclave file descriptor - Enclave file descriptor used with
36 * regions, then start the enclave.
50 * NE_ADD_VCPU - The command is used to set a vCPU for an enclave. The vCPU can
54 * be associated with an enclave.
56 * then a CPU is chosen from the enclave CPU pool and returned via
58 * The ioctl can be invoked on the enclave fd, before an enclave
70 * that created the enclave.
77 * * NE_ERR_NOT_IN_INIT_STATE - The enclave is not in init state
87 * in-memory enclave image loading e.g. offset in
88 * enclave memory to start placing the enclave image.
91 * and returns the offset in enclave memory where to
92 * start placing the enclave image.
93 * The ioctl can be invoked on the enclave fd, before
94 * an enclave is started.
102 * * NE_ERR_NOT_IN_INIT_STATE - The enclave is not in init state (init =
110 * enclave, given the allocated memory from the
111 * userspace. Enclave memory needs to be from the
112 * same NUMA node as the enclave CPUs.
116 * The ioctl can be invoked on the enclave fd,
117 * before an enclave is started.
128 * the one that created the enclave.
131 * * NE_ERR_NOT_IN_INIT_STATE - The enclave is not in init state
143 * the enclave reached maximum.
153 * NE_START_ENCLAVE - The command is used to trigger enclave start after the
154 * enclave resources, such as memory and CPU, have been set.
155 * The enclave start info is an input / output parameter. It
156 * includes info provided by the caller - enclave cid and
158 * The ioctl can be invoked on the enclave fd, after an
159 * enclave slot is created and resources, such as memory and
160 * vCPUs are set for an enclave.
168 * * NE_ERR_NOT_IN_INIT_STATE - The enclave is not in init state
172 * * NE_ERR_FULL_CORES_NOT_USED - Full core(s) not set for the enclave.
173 * * NE_ERR_ENCLAVE_MEM_MIN_SIZE - Enclave memory is less than minimum
176 * * NE_ERR_INVALID_ENCLAVE_CID - The provided enclave CID is invalid.
234 * NE_ERR_NO_MEM_REGIONS_ADDED - The command to start an enclave is triggered
239 * NE_ERR_NO_VCPUS_ADDED - The command to start an enclave is triggered and no
244 * NE_ERR_ENCLAVE_MEM_MIN_SIZE - The enclave memory size is lower than the
249 * NE_ERR_FULL_CORES_NOT_USED - The command to start an enclave is triggered and
254 * NE_ERR_NOT_IN_INIT_STATE - The enclave is not in init state when setting
263 * NE_ERR_NO_CPUS_AVAIL_IN_POOL - The command to create an enclave is triggered
277 * NE_ERR_INVALID_ENCLAVE_CID - The provided enclave CID is invalid, either
288 * NE_EIF_IMAGE - Enclave Image Format (EIF)
295 * struct ne_image_load_info - Info necessary for in-memory enclave image
297 * @flags: Flags to determine the enclave image type
298 * (e.g. Enclave Image Format - EIF) (in).
299 * @memory_offset: Offset in enclave memory where to start placing the
300 * enclave image (out).
312 * NE_DEFAULT_MEMORY_REGION - Memory region for enclave general usage.
319 * struct ne_user_memory_region - Memory region to be set for an enclave (in).
322 * an enclave (in).
324 * the memory region to set for an enclave (in).
333 * DOC: Enclave start info flags
337 * NE_ENCLAVE_PRODUCTION_MODE - Start enclave in production mode.
341 * NE_ENCLAVE_DEBUG_MODE - Start enclave in debug mode.
348 * struct ne_enclave_start_info - Setup info necessary for enclave start (in / out).
349 * @flags: Flags for the enclave to start with (e.g. debug mode) (in).
350 * @enclave_cid: Context ID (CID) for the enclave vsock device. If 0 as