Home
last modified time | relevance | path

Searched defs:d (Results 1 – 25 of 313) sorted by relevance

12345678910>>...13

/xen/xen/include/xsm/
A Ddummy.h101 static XSM_INLINE void xsm_security_domaininfo(struct domain *d, in xsm_security_domaininfo()
113 static XSM_INLINE int xsm_getdomaininfo(XSM_DEFAULT_ARG struct domain *d) in xsm_getdomaininfo()
166 static XSM_INLINE int xsm_alloc_security_domain(struct domain *d) in xsm_alloc_security_domain()
171 static XSM_INLINE void xsm_free_security_domain(struct domain *d) in xsm_free_security_domain()
269 static XSM_INLINE int xsm_claim_pages(XSM_DEFAULT_ARG struct domain *d) in xsm_claim_pages()
592 static XSM_INLINE int xsm_mem_access(XSM_DEFAULT_ARG struct domain *d) in xsm_mem_access()
600 static XSM_INLINE int xsm_mem_paging(XSM_DEFAULT_ARG struct domain *d) in xsm_mem_paging()
608 static XSM_INLINE int xsm_mem_sharing(XSM_DEFAULT_ARG struct domain *d) in xsm_mem_sharing()
716 static XSM_INLINE int xsm_dm_op(XSM_DEFAULT_ARG struct domain *d) in xsm_dm_op()
725 static XSM_INLINE int xsm_argo_enable(const struct domain *d) in xsm_argo_enable()
[all …]
A Dxsm.h199 static inline void xsm_security_domaininfo (struct domain *d, in xsm_security_domaininfo()
308 static inline int xsm_alloc_security_domain (struct domain *d) in xsm_alloc_security_domain()
313 static inline void xsm_free_security_domain (struct domain *d) in xsm_free_security_domain()
386 static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) in xsm_claim_pages()
436 static inline int xsm_bind_pt_irq(xsm_default_t def, struct domain *d, in xsm_bind_pt_irq()
593 static inline int xsm_mem_access (xsm_default_t def, struct domain *d) in xsm_mem_access()
600 static inline int xsm_mem_paging (xsm_default_t def, struct domain *d) in xsm_mem_paging()
607 static inline int xsm_mem_sharing (xsm_default_t def, struct domain *d) in xsm_mem_sharing()
691 static inline int xsm_dm_op(xsm_default_t def, struct domain *d) in xsm_dm_op()
709 static inline int xsm_argo_enable(const struct domain *d) in xsm_argo_enable()
[all …]
/xen/xen/include/asm-x86/
A Dshadow.h101 #define shadow_teardown(d, p) ASSERT(is_pv_domain(d)) argument
102 #define shadow_final_teardown(d) ASSERT(is_pv_domain(d)) argument
103 #define shadow_enable(d, mode) \ argument
105 #define shadow_track_dirty_vram(d, begin_pfn, nr, bitmap) \ argument
107 #define shadow_set_allocation(d, pages, preempted) \ argument
110 static inline void sh_remove_shadows(struct domain *d, mfn_t gmfn, in sh_remove_shadows()
113 static inline void shadow_prepare_page_type_change(struct domain *d, in shadow_prepare_page_type_change()
117 static inline void shadow_blow_tables_per_domain(struct domain *d) {} in shadow_blow_tables_per_domain()
119 static inline int shadow_domctl(struct domain *d, in shadow_domctl()
236 static inline void pv_l1tf_domain_init(struct domain *d) in pv_l1tf_domain_init()
[all …]
A Dguest_atomics.h10 #define guest_set_bit(d, nr, p) ((void)(d), set_bit(nr, p)) argument
11 #define guest_clear_bit(d, nr, p) ((void)(d), clear_bit(nr, p)) argument
12 #define guest_change_bit(d, nr, p) ((void)(d), change_bit(nr, p)) argument
13 #define guest_test_bit(d, nr, p) ((void)(d), test_bit(nr, p)) argument
15 #define guest_test_and_set_bit(d, nr, p) \ argument
17 #define guest_test_and_clear_bit(d, nr, p) \ argument
19 #define guest_test_and_change_bit(d, nr, p) \ argument
22 #define guest_cmpxchg(d, ptr, o, n) ((void)(d), cmpxchg(ptr, o, n)) argument
A Dmonitor.h36 void arch_monitor_allow_userspace(struct domain *d, bool allow_userspace) in arch_monitor_allow_userspace()
42 int arch_monitor_domctl_op(struct domain *d, struct xen_domctl_monitor_op *mop) in arch_monitor_domctl_op()
73 static inline uint32_t arch_monitor_get_capabilities(struct domain *d) in arch_monitor_get_capabilities()
114 static inline int arch_monitor_init_domain(struct domain *d) in arch_monitor_init_domain()
119 static inline void arch_monitor_cleanup_domain(struct domain *d) {} in arch_monitor_cleanup_domain()
A Dmem_sharing.h29 #define mem_sharing_enabled(d) ((d)->arch.hvm.mem_sharing.enabled) argument
72 static inline int mem_sharing_unshare_page(struct domain *d, in mem_sharing_unshare_page()
80 static inline bool mem_sharing_is_fork(const struct domain *d) in mem_sharing_is_fork()
116 #define mem_sharing_enabled(d) false argument
128 static inline int mem_sharing_unshare_page(struct domain *d, unsigned long gfn) in mem_sharing_unshare_page()
134 static inline int mem_sharing_notify_enomem(struct domain *d, unsigned long gfn, in mem_sharing_notify_enomem()
141 static inline bool mem_sharing_is_fork(const struct domain *d) in mem_sharing_is_fork()
146 static inline int mem_sharing_fork_page(struct domain *d, gfn_t gfn, bool lock) in mem_sharing_fork_page()
/xen/xen/include/xen/
A Diocap.h13 #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 Devent.h103 #define group_from_port(d, p) \ argument
105 #define bucket_from_port(d, p) \ argument
108 static inline unsigned int max_evtchns(const struct domain *d) in max_evtchns()
230 static inline void evtchn_port_set_pending(struct domain *d, in evtchn_port_set_pending()
238 static inline void evtchn_port_clear_pending(struct domain *d, in evtchn_port_clear_pending()
245 static inline void evtchn_port_unmask(struct domain *d, in evtchn_port_unmask()
252 static inline bool evtchn_is_pending(const struct domain *d, in evtchn_is_pending()
270 static inline bool evtchn_is_masked(const struct domain *d, in evtchn_is_masked()
290 static inline bool evtchn_is_busy(const struct domain *d, in evtchn_is_busy()
297 static inline int evtchn_port_set_priority(struct domain *d, in evtchn_port_set_priority()
[all …]
A Dgrant_table.h68 static inline int grant_table_init(struct domain *d, in grant_table_init()
75 static inline void grant_table_destroy(struct domain *d) {} in grant_table_destroy()
79 static inline void grant_table_warn_active_grants(struct domain *d) {} in grant_table_warn_active_grants()
81 static inline void gnttab_release_mappings(struct domain *d) {} in gnttab_release_mappings()
90 static inline int gnttab_map_frame(struct domain *d, unsigned long idx, in gnttab_map_frame()
96 static inline int gnttab_get_shared_frame(struct domain *d, unsigned long idx, in gnttab_get_shared_frame()
102 static inline int gnttab_get_status_frame(struct domain *d, unsigned long idx, in gnttab_get_status_frame()
/xen/xen/arch/x86/hvm/
A Dirq.c37 static void assert_gsi(struct domain *d, unsigned ioapic_gsi) in assert_gsi()
170 void hvm_gsi_assert(struct domain *d, unsigned int gsi) in hvm_gsi_assert()
199 void hvm_gsi_deassert(struct domain *d, unsigned int gsi) in hvm_gsi_deassert()
240 struct domain *d, unsigned int isa_irq) in hvm_isa_irq_deassert()
258 struct domain *d = v->domain; in hvm_set_callback_irq_level() local
306 struct domain *d = current->domain; in hvm_maybe_deassert_evtchn_irq() local
598 static void irq_dump(struct domain *d) in irq_dump()
640 struct domain *d; in dump_irq_info() local
662 struct domain *d = v->domain; in irq_save_pci() local
695 const struct domain *d = v->domain; in irq_save_isa() local
[all …]
A Dioreq.c48 #define GET_IOREQ_SERVER(d, id) \ argument
68 #define FOR_EACH_IOREQ_SERVER(d, id, s) \ argument
86 struct domain *d = v->domain; in hvm_io_pending() local
174 struct domain *d = v->domain; in handle_hvm_io_completion() local
245 struct domain *d = s->target; in hvm_alloc_legacy_ioreq_gfn() local
261 struct domain *d = s->target; in hvm_alloc_ioreq_gfn() local
280 struct domain *d = s->target; in hvm_free_legacy_ioreq_gfn() local
297 struct domain *d = s->target; in hvm_free_ioreq_gfn() local
325 struct domain *d = s->target; in hvm_map_ioreq_gfn() local
449 struct domain *d = s->target; in hvm_remove_ioreq_gfn() local
[all …]
/xen/xen/common/
A Ddomain.c107 struct domain *d = v->domain; in vcpu_check_shutdown() local
125 struct domain *d = v->domain; in vcpu_info_reset() local
620 struct domain *d; in get_domain_by_id() local
644 struct domain *d = NULL; in rcu_lock_domain_by_id() local
700 int domain_kill(struct domain *d) in domain_kill()
754 void __domain_crash(struct domain *d) in __domain_crash()
823 void domain_resume(struct domain *d) in domain_resume()
1036 void domain_pause(struct domain *d) in domain_pause()
1193 struct domain *d = v->domain; in vcpu_reset() local
1234 struct domain *d = v->domain; in map_vcpu_info() local
[all …]
A Devent_2l.c20 struct domain *d = v->domain; in evtchn_2l_set_pending() local
43 static void evtchn_2l_clear_pending(struct domain *d, struct evtchn *evtchn) in evtchn_2l_clear_pending()
48 static void evtchn_2l_unmask(struct domain *d, struct evtchn *evtchn) in evtchn_2l_unmask()
66 static bool evtchn_2l_is_pending(const struct domain *d, in evtchn_2l_is_pending()
77 static bool evtchn_2l_is_masked(const struct domain *d, in evtchn_2l_is_masked()
88 static void evtchn_2l_print_state(struct domain *d, in evtchn_2l_print_state()
107 void evtchn_2l_init(struct domain *d) in evtchn_2l_init()
A Devent_fifo.c60 static void evtchn_fifo_init(struct domain *d, struct evtchn *evtchn) in evtchn_fifo_init()
142 struct domain *d = v->domain; in evtchn_fifo_set_pending() local
335 static bool evtchn_fifo_is_pending(const struct domain *d, in evtchn_fifo_is_pending()
343 static bool_t evtchn_fifo_is_masked(const struct domain *d, in evtchn_fifo_is_masked()
351 static bool_t evtchn_fifo_is_busy(const struct domain *d, in evtchn_fifo_is_busy()
375 static void evtchn_fifo_print_state(struct domain *d, in evtchn_fifo_print_state()
504 static int setup_event_array(struct domain *d) in setup_event_array()
513 static void cleanup_event_array(struct domain *d) in cleanup_event_array()
554 struct domain *d = current->domain; in evtchn_fifo_init_control() local
674 struct domain *d = current->domain; in evtchn_fifo_expand_array() local
[all …]
A Devent_channel.c282 struct domain *d; in evtchn_alloc_unbound() local
422 struct domain *d = current->domain; in evtchn_bind_virq() local
483 struct domain *d = current->domain; in evtchn_bind_ipi() local
526 struct domain *d = v->domain; in unlink_pirq_port() local
542 struct domain *d = current->domain; in evtchn_bind_pirq() local
798 struct domain *d; in send_guest_vcpu_virq() local
943 struct domain *d; in evtchn_status() local
1267 struct domain *d; in do_event_channel_op() local
1463 int evtchn_destroy(struct domain *d) in evtchn_destroy()
1522 struct domain *d = v->domain; in evtchn_move_pirqs() local
[all …]
/xen/xen/arch/x86/mm/
A Dpaging.c54 static mfn_t paging_new_log_dirty_page(struct domain *d) in paging_new_log_dirty_page()
338 void paging_mark_dirty(struct domain *d, mfn_t gmfn) in paging_mark_dirty()
401 static int paging_log_dirty_op(struct domain *d, in paging_log_dirty_op()
589 void paging_log_dirty_range(struct domain *d, in paging_log_dirty_range()
635 int paging_domain_init(struct domain *d) in paging_domain_init()
754 struct domain *d; in paging_domctl_continuation() local
793 int paging_teardown(struct domain *d) in paging_teardown()
818 void paging_final_teardown(struct domain *d) in paging_final_teardown()
830 int paging_enable(struct domain *d, u32 mode) in paging_enable()
872 void paging_dump_domain_info(struct domain *d) in paging_dump_domain_info()
[all …]
A Dmm-locks.h64 static inline int _lock_level(const struct domain *d, int l) in _lock_level()
75 static inline void _check_lock_level(const struct domain *d, int l) in _check_lock_level()
91 static inline void _mm_lock(const struct domain *d, mm_lock_t *l, in _mm_lock()
194 #define mm_lock(name, d, l) mm_lock_##name(d, l, __func__, 0) argument
197 #define mm_read_lock(name, d, l) mm_read_lock_##name(d, l) argument
253 #define nestedp2m_unlock(d) mm_unlock(&(d)->arch.nested_p2m_lock) argument
307 #define altp2m_list_lock(d) mm_lock(altp2mlist, d, \ argument
309 #define altp2m_list_unlock(d) mm_unlock(&(d)->arch.altp2m_list_lock) argument
369 #define page_alloc_mm_post_lock(d, l) \ argument
391 #define paging_lock_recursive(d) \ argument
[all …]
A Dp2m.c247 int p2m_init(struct domain *d) in p2m_init()
620 struct domain *d = p2m->domain; in p2m_set_entry() local
700 struct domain *d = p2m->domain; in p2m_alloc_table() local
745 struct domain *d; in p2m_teardown() local
1060 struct domain *d = p2m->domain; in change_type_range() local
1528 struct domain *d = p2m->domain; in p2m_flush_table_locked() local
1598 struct domain *d = v->domain; in np2m_flush_base() local
1623 struct domain *d = v->domain; in assign_np2m() local
1644 struct domain *d = v->domain; in p2m_get_nestedp2m_locked() local
2002 struct domain *d = v->domain; in p2m_switch_vcpu_altp2m_by_id() local
[all …]
/xen/xen/xsm/flask/
A Dhooks.c392 static int flask_get_pod_target(struct domain *d) in flask_get_pod_target()
397 static int flask_set_pod_target(struct domain *d) in flask_set_pod_target()
402 static int flask_memory_exchange(struct domain *d) in flask_memory_exchange()
423 static int flask_claim_pages(struct domain *d) in flask_claim_pages()
428 static int flask_get_vnumainfo(struct domain *d) in flask_get_vnumainfo()
452 static int flask_profile(struct domain *d, int op) in flask_profile()
528 static int flask_getdomaininfo(struct domain *d) in flask_getdomaininfo()
1252 static int flask_mem_access(struct domain *d) in flask_mem_access()
1259 static int flask_mem_paging(struct domain *d) in flask_mem_paging()
1266 static int flask_mem_sharing(struct domain *d) in flask_mem_sharing()
[all …]
/xen/xen/arch/x86/mm/hap/
A Dhap.c59 int hap_track_dirty_vram(struct domain *d, in hap_track_dirty_vram()
260 static void hap_free(struct domain *d, mfn_t mfn) in hap_free()
391 struct domain *d = v->domain; in hap_make_monitor_table() local
417 struct domain *d = v->domain; in hap_destroy_monitor_table() local
426 void hap_domain_init(struct domain *d) in hap_domain_init()
441 int hap_enable(struct domain *d, u32 mode) in hap_enable()
525 void hap_final_teardown(struct domain *d) in hap_final_teardown()
660 struct domain *d = v->domain; in hap_page_fault() local
705 struct domain *d = current->domain; in flush_tlb() local
748 struct domain *d = v->domain; in hap_update_paging_modes() local
[all …]
/xen/xen/include/asm-arm/
A Dmonitor.h29 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/xen/arch/x86/mm/shadow/
A Dcommon.c49 int shadow_domain_init(struct domain *d) in shadow_domain_init()
163 static void sh_oos_audit(struct domain *d) in sh_oos_audit()
289 struct domain *d = v->domain; in oos_fixup_flush_gmfn() local
369 struct domain *d = v->domain; in oos_remove_write_access() local
1046 struct domain *d; in shadow_blow_all_tables() local
1079 mfn_t shadow_alloc(struct domain *d, in shadow_alloc()
1635 struct domain *d = v->domain; in hash_vcpu_foreach() local
2377 struct domain *d = v->domain; in sh_update_paging_modes() local
3065 struct domain *d = p2m->domain; in shadow_write_p2m_entry() local
3420 int shadow_domctl(struct domain *d, in shadow_domctl()
[all …]
/xen/xen/arch/arm/
A Dvuart.c43 #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/xen/arch/x86/
A Dmonitor.c25 int arch_monitor_init_domain(struct domain *d) in arch_monitor_init_domain()
37 void arch_monitor_cleanup_domain(struct domain *d) in arch_monitor_cleanup_domain()
45 static unsigned long *monitor_bitmap_for_msr(const struct domain *d, u32 *msr) in monitor_bitmap_for_msr()
71 static int monitor_enable_msr(struct domain *d, u32 msr, bool onchangeonly) in monitor_enable_msr()
96 static int monitor_disable_msr(struct domain *d, u32 msr) in monitor_disable_msr()
113 bool monitored_msr(const struct domain *d, u32 msr) in monitored_msr()
128 bool monitored_msr_onchangeonly(const struct domain *d, u32 msr) in monitored_msr_onchangeonly()
143 int arch_monitor_domctl_event(struct domain *d, in arch_monitor_domctl_event()
/xen/xen/drivers/passthrough/
A Diommu.c155 static void __hwdom_init check_hwdom_reqs(struct domain *d) in check_hwdom_reqs()
166 int iommu_domain_init(struct domain *d, unsigned int opts) in iommu_domain_init()
212 void __hwdom_init iommu_hwdom_init(struct domain *d) in iommu_hwdom_init()
224 static void iommu_teardown(struct domain *d) in iommu_teardown()
232 void iommu_domain_destroy(struct domain *d) in iommu_domain_destroy()
242 int iommu_map(struct domain *d, dfn_t dfn, mfn_t mfn, in iommu_map()
285 int iommu_legacy_map(struct domain *d, dfn_t dfn, mfn_t mfn, in iommu_legacy_map()
358 int iommu_lookup_page(struct domain *d, dfn_t dfn, mfn_t *mfn, in iommu_lookup_page()
530 struct xen_domctl *domctl, struct domain *d, in iommu_do_domctl()
550 void iommu_share_p2m_table(struct domain* d) in iommu_share_p2m_table()
[all …]

Completed in 86 milliseconds

12345678910>>...13