Home
last modified time | relevance | path

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

/linux/drivers/virt/nitro_enclaves/
H A Dne_misc_dev.c471 * @ne_enclave : Private data associated with the current enclave.
474 * Context: Process context. This function is called with the ne_enclave mutex held.
479 static bool ne_donated_cpu(struct ne_enclave *ne_enclave, unsigned int cpu) in ne_donated_cpu() argument
481 if (cpumask_test_cpu(cpu, ne_enclave->vcpu_ids)) in ne_donated_cpu()
492 * Context: Process context. This function is called with the ne_enclave and
516 * @ne_enclave : Private data associated with the current enclave.
520 * Context: Process context. This function is called with the ne_enclave and
526 static int ne_set_enclave_threads_per_core(struct ne_enclave *ne_enclave, in ne_set_enclave_threads_per_core() argument
572 ne_get_cpu_from_cpu_pool(struct ne_enclave * ne_enclave,u32 * vcpu_id) ne_get_cpu_from_cpu_pool() argument
651 ne_check_cpu_in_cpu_pool(struct ne_enclave * ne_enclave,u32 vcpu_id) ne_check_cpu_in_cpu_pool() argument
705 ne_add_vcpu_ioctl(struct ne_enclave * ne_enclave,u32 vcpu_id) ne_add_vcpu_ioctl() argument
747 ne_sanity_check_user_mem_region(struct ne_enclave * ne_enclave,struct ne_user_memory_region mem_region) ne_sanity_check_user_mem_region() argument
809 ne_sanity_check_user_mem_region_page(struct ne_enclave * ne_enclave,struct page * mem_region_page) ne_sanity_check_user_mem_region_page() argument
914 ne_set_user_memory_region_ioctl(struct ne_enclave * ne_enclave,struct ne_user_memory_region mem_region) ne_set_user_memory_region_ioctl() argument
1069 ne_start_enclave_ioctl(struct ne_enclave * ne_enclave,struct ne_enclave_start_info * enclave_start_info) ne_start_enclave_ioctl() argument
1144 struct ne_enclave *ne_enclave = file->private_data; ne_enclave_ioctl() local
1387 ne_enclave_remove_all_mem_region_entries(struct ne_enclave * ne_enclave) ne_enclave_remove_all_mem_region_entries() argument
1414 ne_enclave_remove_all_vcpu_id_entries(struct ne_enclave * ne_enclave) ne_enclave_remove_all_vcpu_id_entries() argument
1446 ne_pci_dev_remove_enclave_entry(struct ne_enclave * ne_enclave,struct ne_pci_dev * ne_pci_dev) ne_pci_dev_remove_enclave_entry() argument
1476 struct ne_enclave *ne_enclave = file->private_data; ne_enclave_release() local
1557 struct ne_enclave *ne_enclave = file->private_data; ne_enclave_poll() local
1595 struct ne_enclave *ne_enclave = NULL; ne_create_vm_ioctl() local
[all...]
H A Dne_pci_dev.c217 struct ne_enclave *ne_enclave = NULL; in ne_event_work_handler() local
231 list_for_each_entry(ne_enclave, &ne_pci_dev->enclaves_list, enclave_list_entry) { in ne_event_work_handler()
232 mutex_lock(&ne_enclave->enclave_info_mutex); in ne_event_work_handler()
238 if (ne_enclave->state != NE_STATE_RUNNING) in ne_event_work_handler()
241 slot_info_req.slot_uid = ne_enclave->slot_uid; in ne_event_work_handler()
250 if (ne_enclave->state != cmd_reply.state) { in ne_event_work_handler()
251 ne_enclave->state = cmd_reply.state; in ne_event_work_handler()
253 ne_enclave->has_event = true; in ne_event_work_handler()
255 wake_up_interruptible(&ne_enclave->eventq); in ne_event_work_handler()
259 mutex_unlock(&ne_enclave->enclave_info_mutex); in ne_event_work_handler()
H A Dne_misc_dev.h64 struct ne_enclave { struct