Lines Matching full:enclave
7 * DOC: Enclave lifetime management driver for Nitro Enclaves (NE).
43 * NE_EIF_LOAD_OFFSET - The offset where to copy the Enclave Image Format (EIF)
44 * image in enclave memory.
49 * NE_MIN_ENCLAVE_MEM_SIZE - The minimum memory size an enclave can be launched
55 * NE_MIN_MEM_REGION_SIZE - The minimum size of an enclave memory region.
107 * enclave(s). The cpumasks from the array, indexed
110 * enclave(s). The full CPU cores are part of the
140 * ne_check_enclaves_created() - Verify if at least one enclave has been created.
145 * * True if at least one enclave is created.
332 * CPUs that are given to enclave(s) should not be considered online in ne_setup_cpu_pool()
335 * VM and given to the enclave VM. The same number of vCPUs would run in ne_setup_cpu_pool()
440 pr_err("%s: The CPU pool is used by enclave(s)\n", ne_misc_dev.name); in ne_set_kernel_param()
471 * ne_donated_cpu() - Check if the provided CPU is already used by the enclave.
472 * @ne_enclave : Private data associated with the current enclave.
477 * * True if the provided CPU is already used by the enclave.
516 * the enclave data structure.
517 * @ne_enclave : Private data associated with the current enclave.
565 * @ne_enclave : Private data associated with the current enclave.
581 * If previously allocated a thread of a core to this enclave, first in ne_get_cpu_from_cpu_pool()
583 * CPU cores are used for the enclave. in ne_get_cpu_from_cpu_pool()
597 * track of all the threads in the enclave threads per core data structure. in ne_get_cpu_from_cpu_pool()
644 * @ne_enclave : Private data associated with the current enclave.
666 * If previously allocated a thread of a core to this enclave, but not in ne_check_cpu_in_cpu_pool()
678 * enclave threads per core data structure. in ne_check_cpu_in_cpu_pool()
696 * enclave.
697 * @ne_enclave : Private data associated with the current enclave.
740 * @ne_enclave : Private data associated with the current enclave.
802 * @ne_enclave : Private data associated with the current enclave.
906 * associated with the current enclave.
907 * @ne_enclave : Private data associated with the current enclave.
1062 * ne_start_enclave_ioctl() - Trigger enclave start after the enclave resources,
1064 * @ne_enclave : Private data associated with the current enclave.
1065 * @enclave_start_info : Enclave info that includes enclave cid and flags.
1084 "Enclave has no mem regions\n"); in ne_start_enclave_ioctl()
1091 "Enclave memory is less than %ld\n", in ne_start_enclave_ioctl()
1099 "Enclave has no vCPUs\n"); in ne_start_enclave_ioctl()
1122 "Error in enclave start [rc=%d]\n", rc); in ne_start_enclave_ioctl()
1135 * ne_enclave_ioctl() - Ioctl function provided by the enclave file.
1161 "Enclave is not in init state\n"); in ne_enclave_ioctl()
1179 /* Use the CPU pool for choosing a CPU for the enclave. */ in ne_enclave_ioctl()
1229 "Enclave is not in init state\n"); in ne_enclave_ioctl()
1241 "Incorrect flag in enclave image load info\n"); in ne_enclave_ioctl()
1273 "Enclave is not in init state\n"); in ne_enclave_ioctl()
1302 "Incorrect flag in enclave start info\n"); in ne_enclave_ioctl()
1313 * Note: 0 is used as a placeholder to auto-generate an enclave CID. in ne_enclave_ioctl()
1353 "Enclave is not in init state\n"); in ne_enclave_ioctl()
1385 * from the enclave data structure.
1386 * @ne_enclave : Private data associated with the current enclave.
1412 * the enclave data structure.
1413 * @ne_enclave : Private data associated with the current enclave.
1440 * ne_pci_dev_remove_enclave_entry() - Remove the enclave entry from the data
1443 * @ne_enclave : Private data associated with the current enclave.
1446 * Context: Process context. This function is called with the ne_pci_dev enclave
1466 * ne_enclave_release() - Release function provided by the enclave file.
1489 * Early exit in case there is an error in the enclave creation logic in ne_enclave_release()
1496 * Acquire the enclave list mutex before the enclave mutex in ne_enclave_release()
1510 "Error in enclave stop [rc=%d]\n", rc); in ne_enclave_release()
1549 * ne_enclave_poll() - Poll functionality used for enclave out-of-band events.
1579 * ne_create_vm_ioctl() - Alloc slot to be associated with an enclave. Create
1580 * enclave file descriptor to be further used for enclave
1584 * associated with an enclave to.
1586 * Context: Process context. This function is called with the ne_pci_dev enclave
1589 * * Enclave fd on success.
1735 * * Ioctl result (e.g. enclave file descriptor) on success.