Home
last modified time | relevance | path

Searched refs:domain (Results 1 – 25 of 530) sorted by relevance

12345678910>>...22

/xen/xen/include/xsm/
A Dxsm.h53 int (*set_target) (struct domain *d, struct domain *e);
64 int (*evtchn_reset) (struct domain *d1, struct domain *d2);
67 int (*grant_unmapref) (struct domain *d1, struct domain *d2);
68 int (*grant_setup) (struct domain *d1, struct domain *d2);
69 int (*grant_transfer) (struct domain *d1, struct domain *d2);
70 int (*grant_copy) (struct domain *d1, struct domain *d2);
86 int (*add_to_physmap) (struct domain *d1, struct domain *d2);
88 int (*map_gmfn_foreign) (struct domain *d, struct domain *t);
172 int (*mmu_update) (struct domain *d, struct domain *t,
174 int (*mmuext_op) (struct domain *d, struct domain *f);
[all …]
A Ddummy.h73 xsm_default_t action, struct domain *src, struct domain *target) in xsm_default_action()
131 static XSM_INLINE int xsm_set_target(XSM_DEFAULT_ARG struct domain *d, struct domain *e) in xsm_set_target()
176 static XSM_INLINE int xsm_grant_mapref(XSM_DEFAULT_ARG struct domain *d1, struct domain *d2, in xsm_grant_mapref()
183 static XSM_INLINE int xsm_grant_unmapref(XSM_DEFAULT_ARG struct domain *d1, struct domain *d2) in xsm_grant_unmapref()
189 static XSM_INLINE int xsm_grant_setup(XSM_DEFAULT_ARG struct domain *d1, struct domain *d2) in xsm_grant_setup()
195 static XSM_INLINE int xsm_grant_transfer(XSM_DEFAULT_ARG struct domain *d1, struct domain *d2) in xsm_grant_transfer()
201 static XSM_INLINE int xsm_grant_copy(XSM_DEFAULT_ARG struct domain *d1, struct domain *d2) in xsm_grant_copy()
306 static XSM_INLINE int xsm_evtchn_reset(XSM_DEFAULT_ARG struct domain *d1, struct domain *d2) in xsm_evtchn_reset()
658 static XSM_INLINE int xsm_mmu_update(XSM_DEFAULT_ARG struct domain *d, struct domain *t, in xsm_mmu_update()
670 static XSM_INLINE int xsm_mmuext_op(XSM_DEFAULT_ARG struct domain *d, struct domain *f) in xsm_mmuext_op()
[all …]
/xen/tools/xenstore/
A Dxenstored_domain.c193 struct domain *domain = _domain; in destroy_domain() local
230 struct domain *domain; in domain_cleanup() local
335 struct domain *domain; in alloc_domain() local
360 domain->path = talloc_domain_path(domain, domain->domid); in new_domain()
382 domain->conn->domain = domain; in new_domain()
383 domain->conn->id = domain->domid; in new_domain()
424 struct domain *domain; in do_introduce() local
467 talloc_steal(domain->conn, domain); in do_introduce()
488 struct domain *domain; in find_connected_domain() local
547 struct domain *domain; in do_release() local
[all …]
/xen/xen/drivers/passthrough/arm/
A Dipmmu-vmsa.c531 ret = ipmmu_domain_allocate_context(domain->mmu->root, domain); in ipmmu_domain_init_context()
545 domain->d, domain->context_id, ttbr); in ipmmu_domain_init_context()
986 if ( !domain ) in ipmmu_alloc_cache_domain()
995 domain->d = d; in ipmmu_alloc_cache_domain()
999 return domain; in ipmmu_alloc_cache_domain()
1010 xfree(domain); in ipmmu_free_cache_domain()
1028 if ( !domain ) in ipmmu_alloc_root_domain()
1032 domain->d = d; in ipmmu_alloc_root_domain()
1043 return domain; in ipmmu_alloc_root_domain()
1049 xfree(domain); in ipmmu_free_root_domain()
[all …]
/xen/tools/xenstat/libxenstat/src/
A Dxenstat.c200 domain->id = domaininfo[i].domain; in xenstat_get_node()
220 domain->cur_mem = in xenstat_get_node()
223 domain->max_mem = in xenstat_get_node()
234 domain++; in xenstat_get_node()
338 return domain->id; in xenstat_domain_id()
344 return domain->name; in xenstat_domain_name()
381 return domain->ssid; in xenstat_domain_ssid()
429 if (domain->networks && network < domain->num_networks) in xenstat_domain_network()
444 if (domain->vbds && vbd < domain->num_vbds) in xenstat_domain_vbd()
636 domain->vbds = realloc(domain->vbds, in xenstat_save_vbd()
[all …]
A Dxenstat.h88 unsigned xenstat_domain_id(xenstat_domain * domain);
91 char *xenstat_domain_name(xenstat_domain * domain);
100 xenstat_vcpu *xenstat_domain_vcpu(xenstat_domain * domain,
110 unsigned int xenstat_domain_ssid(xenstat_domain * domain);
113 unsigned int xenstat_domain_dying(xenstat_domain * domain);
114 unsigned int xenstat_domain_crashed(xenstat_domain * domain);
115 unsigned int xenstat_domain_shutdown(xenstat_domain * domain);
116 unsigned int xenstat_domain_paused(xenstat_domain * domain);
117 unsigned int xenstat_domain_blocked(xenstat_domain * domain);
118 unsigned int xenstat_domain_running(xenstat_domain * domain);
[all …]
/xen/xen/include/xen/
A Diommu.h113 void iommu_hwdom_init(struct domain *d);
114 void iommu_domain_destroy(struct domain *d);
117 int arch_iommu_domain_init(struct domain *d);
119 void arch_iommu_hwdom_init(struct domain *d);
207 int iommu_dt_domain_init(struct domain *d);
237 int (*init)(struct domain *d);
238 void (*hwdom_init)(struct domain *d);
239 int (*quarantine_init)(struct domain *d);
244 int (*reassign_device)(struct domain *s, struct domain *t,
252 void (*teardown)(struct domain *d);
[all …]
A Dsched.h50 extern struct domain *hardware_domain;
156 struct domain *domain; member
262 struct domain *domain; member
319 struct domain struct
355 struct domain *next_in_list; argument
428 struct domain *target; argument
640 if ( d != current->domain ) in rcu_unlock_domain()
644 static inline struct domain *rcu_lock_domain(struct domain *d) in rcu_lock_domain()
646 if ( d != current->domain ) in rcu_lock_domain()
666 int domain_kill(struct domain *d);
[all …]
A Devent.h37 void send_guest_global_virq(struct domain *d, uint32_t virq);
44 int set_global_virq_handler(struct domain *d, uint32_t virq);
51 void send_guest_pirq(struct domain *, const struct pirq *);
54 int evtchn_send(struct domain *d, unsigned int lport);
66 int evtchn_close(struct domain *d1, int port1, bool guest);
69 void evtchn_free(struct domain *d, struct evtchn *chn);
86 void free_xen_event_channel(struct domain *d, int port);
194 void evtchn_2l_init(struct domain *d);
197 int evtchn_reset(struct domain *d, bool resuming);
245 static inline void evtchn_port_unmask(struct domain *d, in evtchn_port_unmask()
[all …]
A Ddomain.h28 void arch_get_domain_info(const struct domain *d,
39 struct domain *alloc_domain_struct(void);
40 void free_domain_struct(struct domain *d);
66 int arch_domain_create(struct domain *d,
69 void arch_domain_destroy(struct domain *d);
71 void arch_domain_shutdown(struct domain *d);
72 void arch_domain_pause(struct domain *d);
73 void arch_domain_unpause(struct domain *d);
75 int arch_domain_soft_reset(struct domain *d);
89 void dump_pageframe_info(struct domain *d);
[all …]
A Dgrant_table.h38 int grant_table_init(struct domain *d, int max_grant_frames,
41 struct domain *d);
47 void grant_table_warn_active_grants(struct domain *d);
52 struct domain *d);
57 int gnttab_map_frame(struct domain *d, unsigned long idx, gfn_t gfn,
59 int gnttab_get_shared_frame(struct domain *d, unsigned long idx,
61 int gnttab_get_status_frame(struct domain *d, unsigned long idx,
68 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()
[all …]
/xen/tools/xenstat/xentop/
A Dxentop.c171 void (*print)(xenstat_domain *domain);
441 void print_name(xenstat_domain *domain) in print_name() argument
520 return ((xenstat_domain_cpu_ns(domain) in get_cpu_pct()
532 print("%6.1f", get_cpu_pct(domain)); in print_cpu_pct()
836 vbd = xenstat_domain_vbd(domain,i); in tot_vbd_reqs()
946 xenstat_domain *domain; in do_summary() local
1043 void do_domain(xenstat_domain *domain) in do_domain() argument
1051 fields[i].print(domain); in do_domain()
1059 void do_vcpu(xenstat_domain *domain) in do_vcpu() argument
1115 void do_vbd(xenstat_domain *domain) in do_vbd() argument
[all …]
/xen/xen/include/asm-x86/hvm/
A Dioreq.h26 int hvm_create_ioreq_server(struct domain *d, int bufioreq_handling,
28 int hvm_destroy_ioreq_server(struct domain *d, ioservid_t id);
29 int hvm_get_ioreq_server_info(struct domain *d, ioservid_t id,
33 int hvm_get_ioreq_server_frame(struct domain *d, ioservid_t id,
35 int hvm_map_io_range_to_ioreq_server(struct domain *d, ioservid_t id,
41 int hvm_map_mem_type_to_ioreq_server(struct domain *d, ioservid_t id,
43 int hvm_set_ioreq_server_state(struct domain *d, ioservid_t id,
46 int hvm_all_ioreq_servers_add_vcpu(struct domain *d, struct vcpu *v);
48 void hvm_destroy_all_ioreq_servers(struct domain *d);
50 struct hvm_ioreq_server *hvm_select_ioreq_server(struct domain *d,
[all …]
A Dvioapic.h50 struct domain *domain; member
61 #define vioapic_domain(v) ((v)->domain)
63 int vioapic_init(struct domain *d);
64 void vioapic_deinit(struct domain *d);
65 void vioapic_reset(struct domain *d);
66 void vioapic_irq_positive_edge(struct domain *d, unsigned int irq);
67 void vioapic_update_EOI(struct domain *d, u8 vector);
69 int vioapic_get_mask(const struct domain *d, unsigned int gsi);
70 int vioapic_get_vector(const struct domain *d, unsigned int gsi);
71 int vioapic_get_trigger_mode(const struct domain *d, unsigned int gsi);
A Dirq.h174 struct domain *dom;
180 void pt_pirq_init(struct domain *, struct hvm_pirq_dpci *);
182 int pt_pirq_iterate(struct domain *d,
183 int (*cb)(struct domain *,
197 void hvm_pci_intx_assert(struct domain *d, unsigned int device,
209 int hvm_isa_irq_assert(struct domain *d, unsigned int isa_irq,
210 int (*get_vector)(const struct domain *d,
215 void hvm_gsi_assert(struct domain *d, unsigned int gsi);
216 void hvm_gsi_deassert(struct domain *d, unsigned int gsi);
224 void hvm_ioapic_deassert(struct domain *d, unsigned int gsi);
[all …]
A Dio.h104 void register_mmio_handler(struct domain *d,
108 struct domain *d, unsigned int port, unsigned int size,
121 void hvm_dpci_eoi(struct domain *d, unsigned int guest_irq,
126 void msixtbl_init(struct domain *d);
128 static inline void msixtbl_init(struct domain *d) {} in msixtbl_init()
159 void stdvga_init(struct domain *d);
160 void stdvga_deinit(struct domain *d);
162 extern void hvm_dpci_msi_eoi(struct domain *d, int vector);
172 void register_g2m_portio_handler(struct domain *d);
175 void register_vpci_portio_handler(struct domain *d);
[all …]
/xen/xen/xsm/flask/
A Dhooks.c305 static int flask_evtchn_reset(struct domain *d1, struct domain *d2) in flask_evtchn_reset()
356 static int flask_grant_mapref(struct domain *d1, struct domain *d2, in flask_grant_mapref()
367 static int flask_grant_unmapref(struct domain *d1, struct domain *d2) in flask_grant_unmapref()
372 static int flask_grant_setup(struct domain *d1, struct domain *d2) in flask_grant_setup()
377 static int flask_grant_transfer(struct domain *d1, struct domain *d2) in flask_grant_transfer()
382 static int flask_grant_copy(struct domain *d1, struct domain *d2) in flask_grant_copy()
417 static int flask_memory_pin_page(struct domain *d1, struct domain *d2, in flask_memory_pin_page()
565 static int flask_set_target(struct domain *d, struct domain *t) in flask_set_target()
1598 static int flask_mmu_update(struct domain *d, struct domain *t, in flask_mmu_update()
1621 static int flask_mmuext_op(struct domain *d, struct domain *f) in flask_mmuext_op()
[all …]
/xen/xen/include/asm-x86/
A Dshadow.h53 int shadow_domain_init(struct domain *d);
62 int shadow_enable(struct domain *d, u32 mode);
65 int shadow_track_dirty_vram(struct domain *d,
73 int shadow_domctl(struct domain *d,
78 void shadow_teardown(struct domain *d, bool *preempted);
81 void shadow_final_teardown(struct domain *d);
90 void shadow_blow_tables_per_domain(struct domain *d);
96 int shadow_set_allocation(struct domain *d, unsigned int pages,
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 Dmem_sharing.h68 int __mem_sharing_unshare_page(struct domain *d,
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()
85 int mem_sharing_fork_page(struct domain *d, gfn_t gfn,
101 int mem_sharing_notify_enomem(struct domain *d, unsigned long gfn,
104 int mem_sharing_domctl(struct domain *d,
112 int relinquish_shared_pages(struct domain *d);
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()
[all …]
/xen/xen/xsm/
A Dsilo.c27 static bool silo_mode_dom_check(const struct domain *ldom, in silo_mode_dom_check()
28 const struct domain *rdom) in silo_mode_dom_check()
30 const struct domain *currd = current->domain; in silo_mode_dom_check()
36 static int silo_evtchn_unbound(struct domain *d1, struct evtchn *chn, in silo_evtchn_unbound()
40 struct domain *d2 = rcu_lock_domain_by_any_id(id2); in silo_evtchn_unbound()
54 static int silo_evtchn_interdomain(struct domain *d1, struct evtchn *chan1, in silo_evtchn_interdomain()
55 struct domain *d2, struct evtchn *chan2) in silo_evtchn_interdomain()
62 static int silo_grant_mapref(struct domain *d1, struct domain *d2, in silo_grant_mapref()
70 static int silo_grant_transfer(struct domain *d1, struct domain *d2) in silo_grant_transfer()
77 static int silo_grant_copy(struct domain *d1, struct domain *d2) in silo_grant_copy()
/xen/xen/include/asm-arm/
A Dp2m.h27 struct domain;
29 extern void memory_type_changed(struct domain *);
106 struct domain *domain; member
183 int p2m_init(struct domain *d);
186 void p2m_teardown(struct domain *d);
200 void p2m_dump_info(struct domain *d);
276 int map_regions_p2mt(struct domain *d,
282 int unmap_regions_p2mt(struct domain *d,
287 int map_dev_mmio_region(struct domain *d,
357 struct domain *domain, in get_page_and_type() argument
[all …]
A Dgic_v3_its.h137 unsigned long gicv3_its_make_hwdom_madt(const struct domain *d,
142 int gicv3_its_deny_access(const struct domain *d);
146 unsigned int vgic_v3_its_count(const struct domain *d);
164 int vgic_v3_its_init_domain(struct domain *d);
165 void vgic_v3_its_free_domain(struct domain *d);
168 int gicv3_its_make_hwdom_dt_nodes(const struct domain *d,
177 int gicv3_its_map_guest_device(struct domain *d,
185 void vgic_vcpu_inject_lpi(struct domain *d, unsigned int virq);
209 static inline int gicv3_its_deny_access(const struct domain *d) in gicv3_its_deny_access()
256 static inline int vgic_v3_its_init_domain(struct domain *d) in vgic_v3_its_init_domain()
[all …]
A Dvgic.h229 int (*domain_init)(struct domain *d);
231 void (*domain_free)(struct domain *d);
236 int (*lpi_get_priority)(struct domain *d, uint32_t vlpi);
292 int vgic_v2_init(struct domain *d, int *mmio_count);
293 int vgic_v3_init(struct domain *d, int *mmio_count);
316 extern int vgic_allocate_virq(struct domain *d, bool spi);
321 static inline int vgic_allocate_ppi(struct domain *d) in vgic_allocate_ppi()
326 static inline int vgic_allocate_spi(struct domain *d) in vgic_allocate_spi()
338 int domain_vgic_register(struct domain *d, int *mmio_count);
339 int domain_vgic_init(struct domain *d, unsigned int nr_spis);
[all …]
/xen/tools/flask/policy/modules/
A Dxen.if21 type_transition $1 $1:domain $1_self;
73 # Allow a domain to be created via its domain build label
79 allow $2_building $2:domain transition;
83 # Allow managing a running domain
106 # Inter-domain communication
133 # domain_self_comms(domain)
146 allow $1 $2:domain set_target;
172 # use_device_iommu(domain, device)
192 # use_device_noiommu(domain, device)
201 # admin_device(domain, device)
[all …]
/xen/tools/hotplug/NetBSD/rc.d/
A Dxendomains49 for domain in $xendomains; do
50 case "$domain" in
56 cmdline=`printf "${xendomains_prehook}" $domain`
59 $cmdline || echo "Pre-hook \`\`$cmdline'' failed... skipping $domain."
66 file=`printf "${xendomains_config}" $domain`
96 for domain in $(xendomains_list); do
97 ${ctl_command} shutdown $domain
113 for domain in $xendomains; do
114 case "$domain" in
118 cmdline=`printf "${xendomains_posthook}" $domain`

Completed in 54 milliseconds

12345678910>>...22