/xen-4.10.0-shim-comet/xen/include/xsm/ |
A D | dummy.h | 85 static XSM_INLINE void xsm_security_domaininfo(struct domain *d, in xsm_security_domaininfo() 97 static XSM_INLINE int xsm_getdomaininfo(XSM_DEFAULT_ARG struct domain *d) in xsm_getdomaininfo() 121 static XSM_INLINE int xsm_domctl(XSM_DEFAULT_ARG struct domain *d, int cmd) in xsm_domctl() 150 static XSM_INLINE int xsm_alloc_security_domain(struct domain *d) in xsm_alloc_security_domain() 155 static XSM_INLINE void xsm_free_security_domain(struct domain *d) in xsm_free_security_domain() 251 static XSM_INLINE int xsm_claim_pages(XSM_DEFAULT_ARG struct domain *d) in xsm_claim_pages() 327 static XSM_INLINE int xsm_get_vnumainfo(XSM_DEFAULT_ARG struct domain *d) in xsm_get_vnumainfo() 572 static XSM_INLINE int xsm_mem_access(XSM_DEFAULT_ARG struct domain *d) in xsm_mem_access() 580 static XSM_INLINE int xsm_mem_paging(XSM_DEFAULT_ARG struct domain *d) in xsm_mem_paging() 588 static XSM_INLINE int xsm_mem_sharing(XSM_DEFAULT_ARG struct domain *d) in xsm_mem_sharing() [all …]
|
A D | xsm.h | 191 static inline void xsm_security_domaininfo (struct domain *d, in xsm_security_domaininfo() 202 static inline int xsm_getdomaininfo (xsm_default_t def, struct domain *d) in xsm_getdomaininfo() 300 static inline int xsm_alloc_security_domain (struct domain *d) in xsm_alloc_security_domain() 305 static inline void xsm_free_security_domain (struct domain *d) in xsm_free_security_domain() 378 static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) in xsm_claim_pages() 428 static inline int xsm_bind_pt_irq(xsm_default_t def, struct domain *d, in xsm_bind_pt_irq() 434 static inline int xsm_unbind_pt_irq(xsm_default_t def, struct domain *d, in xsm_unbind_pt_irq() 585 static inline int xsm_mem_access (xsm_default_t def, struct domain *d) in xsm_mem_access() 592 static inline int xsm_mem_paging (xsm_default_t def, struct domain *d) in xsm_mem_paging() 599 static inline int xsm_mem_sharing (xsm_default_t def, struct domain *d) in xsm_mem_sharing() [all …]
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | iocap.h | 13 #define iomem_permit_access(d, s, e) \ argument 15 #define iomem_deny_access(d, s, e) \ argument 17 #define iomem_access_permitted(d, s, e) \ argument 20 #define irq_permit_access(d, i) \ argument 22 #define irq_deny_access(d, i) \ argument 24 #define irqs_permit_access(d, s, e) \ argument 26 #define irqs_deny_access(d, s, e) \ argument 28 #define irq_access_permitted(d, i) \ argument 31 #define pirq_access_permitted(d, i) ({ \ argument
|
A D | event.h | 98 #define group_from_port(d, p) \ argument 100 #define bucket_from_port(d, p) \ argument 103 static inline bool_t port_is_valid(struct domain *d, unsigned int p) in port_is_valid() 173 static inline void evtchn_port_set_pending(struct domain *d, in evtchn_port_set_pending() 180 static inline void evtchn_port_clear_pending(struct domain *d, in evtchn_port_clear_pending() 186 static inline void evtchn_port_unmask(struct domain *d, in evtchn_port_unmask() 192 static inline bool evtchn_port_is_pending(const struct domain *d, in evtchn_port_is_pending() 198 static inline bool evtchn_port_is_masked(const struct domain *d, in evtchn_port_is_masked() 204 static inline bool evtchn_port_is_busy(const struct domain *d, in evtchn_port_is_busy() 211 static inline int evtchn_port_set_priority(struct domain *d, in evtchn_port_set_priority() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/ |
A D | irq.c | 31 static void assert_gsi(struct domain *d, unsigned ioapic_gsi) in assert_gsi() 51 static void deassert_irq(struct domain *d, unsigned isa_irq) in deassert_irq() 61 struct domain *d, unsigned int device, unsigned int intx) in __hvm_pci_intx_assert() 129 void hvm_gsi_assert(struct domain *d, unsigned int gsi) in hvm_gsi_assert() 156 void hvm_gsi_deassert(struct domain *d, unsigned int gsi) in hvm_gsi_deassert() 196 struct domain *d, unsigned int isa_irq) in hvm_isa_irq_deassert() 214 struct domain *d = v->domain; in hvm_set_callback_irq_level() local 262 struct domain *d = current->domain; in hvm_maybe_deassert_evtchn_irq() local 383 void hvm_set_callback_via(struct domain *d, uint64_t via) in hvm_set_callback_via() 551 static void irq_dump(struct domain *d) in irq_dump() [all …]
|
A D | ioreq.c | 48 struct domain *d = v->domain; in hvm_io_pending() local 126 struct domain *d = v->domain; in handle_hvm_io_completion() local 221 struct domain *d = s->domain; in hvm_map_ioreq_page() local 327 struct domain *d = s->domain; in hvm_ioreq_server_add_vcpu() local 437 struct domain *d = s->domain; in hvm_ioreq_server_setup_pages() local 474 struct domain *d = s->domain; in hvm_ioreq_server_unmap_pages() local 548 struct domain *d = s->domain; in hvm_ioreq_server_enable() local 579 struct domain *d = s->domain; in hvm_ioreq_server_disable() local 1265 struct domain *d = current->domain; in hvm_send_buffered_ioreq() local 1359 struct domain *d = curr->domain; in hvm_send_ioreq() local [all …]
|
A D | vioapic.c | 47 static struct hvm_vioapic *addr_vioapic(const struct domain *d, in addr_vioapic() 64 static struct hvm_vioapic *gsi_vioapic(const struct domain *d, in gsi_vioapic() 211 struct domain *d = vioapic_domain(vioapic); in vioapic_write_redirent() local 386 struct domain *d = vioapic_domain(vioapic); in vioapic_deliver() local 496 void vioapic_update_EOI(struct domain *d, u8 vector) in vioapic_update_EOI() 539 int vioapic_get_mask(const struct domain *d, unsigned int gsi) in vioapic_get_mask() 550 int vioapic_get_vector(const struct domain *d, unsigned int gsi) in vioapic_get_vector() 572 static int ioapic_save(struct domain *d, hvm_domain_context_t *h) in ioapic_save() 606 void vioapic_reset(struct domain *d) in vioapic_reset() 652 int vioapic_init(struct domain *d) in vioapic_init() [all …]
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | domain.c | 100 struct domain *d = v->domain; in vcpu_check_shutdown() local 118 struct domain *d = v->domain; in vcpu_info_reset() local 534 struct domain *d; in get_domain_by_id() local 558 struct domain *d = NULL; in rcu_lock_domain_by_id() local 614 int domain_kill(struct domain *d) in domain_kill() 739 void domain_resume(struct domain *d) in domain_resume() 791 struct domain *d = curr->domain; in domain_pause_for_debugger() local 978 void domain_pause(struct domain *d) in domain_pause() 1124 struct domain *d = v->domain; in vcpu_reset() local 1166 struct domain *d = v->domain; in map_vcpu_info() local [all …]
|
A D | event_2l.c | 18 struct domain *d = v->domain; in evtchn_2l_set_pending() local 41 static void evtchn_2l_clear_pending(struct domain *d, struct evtchn *evtchn) in evtchn_2l_clear_pending() 46 static void evtchn_2l_unmask(struct domain *d, struct evtchn *evtchn) in evtchn_2l_unmask() 64 static bool evtchn_2l_is_pending(const struct domain *d, evtchn_port_t port) in evtchn_2l_is_pending() 72 static bool evtchn_2l_is_masked(const struct domain *d, evtchn_port_t port) in evtchn_2l_is_masked() 80 static void evtchn_2l_print_state(struct domain *d, in evtchn_2l_print_state() 99 void evtchn_2l_init(struct domain *d) in evtchn_2l_init()
|
A D | event_fifo.c | 22 static inline event_word_t *evtchn_fifo_word_from_port(const struct domain *d, in evtchn_fifo_word_from_port() 42 static void evtchn_fifo_init(struct domain *d, struct evtchn *evtchn) in evtchn_fifo_init() 58 static struct evtchn_fifo_queue *lock_old_queue(const struct domain *d, in lock_old_queue() 154 struct domain *d = v->domain; in evtchn_fifo_set_pending() local 333 static void evtchn_fifo_print_state(struct domain *d, in evtchn_fifo_print_state() 456 static int setup_event_array(struct domain *d) in setup_event_array() 465 static void cleanup_event_array(struct domain *d) in cleanup_event_array() 478 static void setup_ports(struct domain *d) in setup_ports() 506 struct domain *d = current->domain; in evtchn_fifo_init_control() local 615 struct domain *d = current->domain; in evtchn_fifo_expand_array() local [all …]
|
A D | xenoprof.c | 90 int is_active(struct domain *d) in is_active() 96 int is_passive(struct domain *d) in is_passive() 102 static int is_profiled(struct domain *d) in is_profiled() 318 static int set_active(struct domain *d) in set_active() 408 struct domain *d; in add_active_list() local 427 struct domain *d; in add_passive_list() local 533 struct domain *d = vcpu->domain; in xenoprof_add_trace() local 549 struct domain *d = vcpu->domain; in xenoprof_log_event() local 607 struct domain *d = current->domain; in xenoprof_op_init() local 640 struct domain *d = current->domain; in xenoprof_op_get_buffer() local [all …]
|
A D | event_channel.c | 230 struct domain *d; in evtchn_alloc_unbound() local 368 struct domain *d = current->domain; in evtchn_bind_virq() local 468 struct domain *d = v->domain; in unlink_pirq_port() local 739 struct domain *d; in send_guest_vcpu_virq() local 871 struct domain *d; in evtchn_status() local 1010 int evtchn_reset(struct domain *d) in evtchn_reset() 1156 struct domain *d; in do_event_channel_op() local 1295 int evtchn_init(struct domain *d) in evtchn_init() 1327 void evtchn_destroy(struct domain *d) in evtchn_destroy() 1369 struct domain *d = v->domain; in evtchn_move_pirqs() local [all …]
|
A D | vm_event.c | 43 struct domain *d, in vm_event_enable() 189 void vm_event_wake(struct domain *d, struct vm_event_domain *ved) in vm_event_wake() 197 static int vm_event_disable(struct domain *d, struct vm_event_domain **ved) in vm_event_disable() 238 static inline void vm_event_release_slot(struct domain *d, in vm_event_release_slot() 270 void vm_event_put_request(struct domain *d, in vm_event_put_request() 327 int vm_event_get_response(struct domain *d, struct vm_event_domain *ved, in vm_event_get_response() 369 void vm_event_resume(struct domain *d, struct vm_event_domain *ved) in vm_event_resume() 448 void vm_event_cancel_slot(struct domain *d, struct vm_event_domain *ved) in vm_event_cancel_slot() 516 int __vm_event_claim_slot(struct domain *d, struct vm_event_domain *ved, in __vm_event_claim_slot() 560 void vm_event_cleanup(struct domain *d) in vm_event_cleanup() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/ |
A D | paging.c | 60 static mfn_t paging_new_log_dirty_page(struct domain *d) in paging_new_log_dirty_page() 344 void paging_mark_dirty(struct domain *d, mfn_t gmfn) in paging_mark_dirty() 407 static int paging_log_dirty_op(struct domain *d, in paging_log_dirty_op() 595 void paging_log_dirty_range(struct domain *d, in paging_log_dirty_range() 760 struct domain *d; in paging_domctl_continuation() local 799 int paging_teardown(struct domain *d) in paging_teardown() 824 void paging_final_teardown(struct domain *d) in paging_final_teardown() 836 int paging_enable(struct domain *d, u32 mode) in paging_enable() 860 void pagetable_dying(struct domain *d, paddr_t gpa) in pagetable_dying() 875 void paging_dump_domain_info(struct domain *d) in paging_dump_domain_info() [all …]
|
A D | p2m.c | 226 int p2m_init(struct domain *d) in p2m_init() 539 struct domain *d = p2m->domain; in p2m_set_entry() local 619 struct domain *d = p2m->domain; in p2m_alloc_table() local 677 struct domain *d; in p2m_teardown() local 1737 struct domain *d = p2m->domain; in p2m_flush_table_locked() local 1795 p2m_flush_nestedp2m(struct domain *d) in p2m_flush_nestedp2m() 1804 struct domain *d = v->domain; in np2m_flush_base() local 1829 struct domain *d = v->domain; in assign_np2m() local 1850 struct domain *d = v->domain; in p2m_get_nestedp2m_locked() local 2164 struct domain *d = v->domain; in p2m_switch_vcpu_altp2m_by_id() local [all …]
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | shadow.h | 95 #define shadow_teardown(d, p) ASSERT(is_pv_domain(d)) argument 96 #define shadow_final_teardown(d) ASSERT(is_pv_domain(d)) argument 97 #define shadow_enable(d, mode) \ argument 99 #define shadow_track_dirty_vram(d, begin_pfn, nr, bitmap) \ argument 101 #define shadow_set_allocation(d, pages, preempted) \ argument 104 static inline void sh_remove_shadows(struct domain *d, mfn_t gmfn, in sh_remove_shadows() 107 static inline void shadow_blow_tables_per_domain(struct domain *d) {} in shadow_blow_tables_per_domain() 109 static inline int shadow_domctl(struct domain *d, in shadow_domctl() 119 static inline void shadow_remove_all_shadows(struct domain *d, mfn_t gmfn) in shadow_remove_all_shadows()
|
A D | iocap.h | 10 #define ioports_permit_access(d, s, e) \ argument 12 #define ioports_deny_access(d, s, e) \ argument 14 #define ioports_access_permitted(d, s, e) \ argument 17 #define cache_flush_permitted(d) \ argument
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/hap/ |
A D | hap.c | 65 int hap_track_dirty_vram(struct domain *d, in hap_track_dirty_vram() 219 static int hap_disable_log_dirty(struct domain *d) in hap_disable_log_dirty() 266 static void hap_free(struct domain *d, mfn_t mfn) in hap_free() 330 hap_get_allocation(struct domain *d) in hap_get_allocation() 397 struct domain *d = v->domain; in hap_make_monitor_table() local 423 struct domain *d = v->domain; in hap_destroy_monitor_table() local 432 void hap_domain_init(struct domain *d) in hap_domain_init() 447 int hap_enable(struct domain *d, u32 mode) in hap_enable() 517 void hap_final_teardown(struct domain *d) in hap_final_teardown() 647 struct domain *d = v->domain; in hap_page_fault() local [all …]
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | monitor.h | 29 void arch_monitor_allow_userspace(struct domain *d, bool allow_userspace) in arch_monitor_allow_userspace() 34 int arch_monitor_domctl_op(struct domain *d, struct xen_domctl_monitor_op *mop) in arch_monitor_domctl_op() 44 int arch_monitor_init_domain(struct domain *d) in arch_monitor_init_domain() 51 void arch_monitor_cleanup_domain(struct domain *d) in arch_monitor_cleanup_domain() 56 static inline uint32_t arch_monitor_get_capabilities(struct domain *d) in arch_monitor_get_capabilities()
|
/xen-4.10.0-shim-comet/xen/xsm/flask/ |
A D | hooks.c | 389 static int flask_get_pod_target(struct domain *d) in flask_get_pod_target() 394 static int flask_set_pod_target(struct domain *d) in flask_set_pod_target() 399 static int flask_memory_exchange(struct domain *d) in flask_memory_exchange() 420 static int flask_claim_pages(struct domain *d) in flask_claim_pages() 425 static int flask_get_vnumainfo(struct domain *d) in flask_get_vnumainfo() 449 static int flask_profile(struct domain *d, int op) in flask_profile() 525 static int flask_getdomaininfo(struct domain *d) in flask_getdomaininfo() 1264 static int flask_mem_access(struct domain *d) in flask_mem_access() 1271 static int flask_mem_paging(struct domain *d) in flask_mem_paging() 1278 static int flask_mem_sharing(struct domain *d) in flask_mem_sharing() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | vuart.c | 43 #define domain_has_vuart(d) ((d)->arch.vuart.info != NULL) argument 55 int domain_vuart_init(struct domain *d) in domain_vuart_init() 78 void domain_vuart_free(struct domain *d) in domain_vuart_free() 88 struct domain *d = v->domain; in vuart_print_char() local 111 struct domain *d = v->domain; in vuart_mmio_read() local 129 struct domain *d = v->domain; in vuart_mmio_write() local
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/ |
A D | iommu.c | 138 int iommu_domain_init(struct domain *d) in iommu_domain_init() 154 static void __hwdom_init check_hwdom_reqs(struct domain *d) in check_hwdom_reqs() 168 void __hwdom_init iommu_hwdom_init(struct domain *d) in iommu_hwdom_init() 213 void iommu_teardown(struct domain *d) in iommu_teardown() 222 int iommu_construct(struct domain *d) in iommu_construct() 248 void iommu_domain_destroy(struct domain *d) in iommu_domain_destroy() 282 int iommu_unmap_page(struct domain *d, unsigned long gfn) in iommu_unmap_page() 346 int iommu_iotlb_flush_all(struct domain *d) in iommu_iotlb_flush_all() 427 struct xen_domctl *domctl, struct domain *d, in iommu_do_domctl() 447 void iommu_share_p2m_table(struct domain* d) in iommu_share_p2m_table() [all …]
|
A D | device_tree.c | 27 int iommu_assign_dt_device(struct domain *d, struct dt_device_node *dev) in iommu_assign_dt_device() 70 int iommu_deassign_dt_device(struct domain *d, struct dt_device_node *dev) in iommu_deassign_dt_device() 110 int iommu_dt_domain_init(struct domain *d) in iommu_dt_domain_init() 117 int iommu_release_dt_devices(struct domain *d) in iommu_release_dt_devices() 137 int iommu_do_dt_domctl(struct xen_domctl *domctl, struct domain *d, in iommu_do_dt_domctl()
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | monitor.c | 25 int arch_monitor_init_domain(struct domain *d) in arch_monitor_init_domain() 36 void arch_monitor_cleanup_domain(struct domain *d) in arch_monitor_cleanup_domain() 44 static unsigned long *monitor_bitmap_for_msr(const struct domain *d, u32 *msr) in monitor_bitmap_for_msr() 70 static int monitor_enable_msr(struct domain *d, u32 msr) in monitor_enable_msr() 90 static int monitor_disable_msr(struct domain *d, u32 msr) in monitor_disable_msr() 107 bool monitored_msr(const struct domain *d, u32 msr) in monitored_msr() 122 int arch_monitor_domctl_event(struct domain *d, in arch_monitor_domctl_event()
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/shadow/ |
A D | common.c | 436 static void sh_oos_audit(struct domain *d) in sh_oos_audit() 535 struct domain *d = v->domain; in oos_fixup_flush_gmfn() local 614 struct domain *d = v->domain; in oos_remove_write_access() local 1060 struct domain *d = v->domain; in sh_validate_guest_pt_write() local 1308 struct domain *d; in shadow_blow_all_tables() local 1348 mfn_t shadow_alloc(struct domain *d, in shadow_alloc() 1481 shadow_alloc_p2m_page(struct domain *d) in shadow_alloc_p2m_page() 1689 struct domain *d = v->domain; in sh_emulate_map_dest() local 2122 struct domain *d = v->domain; in hash_vcpu_foreach() local 2868 struct domain *d = v->domain; in sh_update_paging_modes() local [all …]
|