Home
last modified time | relevance | path

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

12345678910>>...20

/xen-4.10.0-shim-comet/xen/include/xsm/
A Ddummy.h57 xsm_default_t action, struct domain *src, struct domain *target) in xsm_default_action()
115 static XSM_INLINE int xsm_set_target(XSM_DEFAULT_ARG struct domain *d, struct domain *e) in xsm_set_target()
160 static XSM_INLINE int xsm_grant_mapref(XSM_DEFAULT_ARG struct domain *d1, struct domain *d2, in xsm_grant_mapref()
167 static XSM_INLINE int xsm_grant_unmapref(XSM_DEFAULT_ARG struct domain *d1, struct domain *d2) in xsm_grant_unmapref()
173 static XSM_INLINE int xsm_grant_setup(XSM_DEFAULT_ARG struct domain *d1, struct domain *d2) in xsm_grant_setup()
179 static XSM_INLINE int xsm_grant_transfer(XSM_DEFAULT_ARG struct domain *d1, struct domain *d2) in xsm_grant_transfer()
185 static XSM_INLINE int xsm_grant_copy(XSM_DEFAULT_ARG struct domain *d1, struct domain *d2) in xsm_grant_copy()
288 static XSM_INLINE int xsm_evtchn_reset(XSM_DEFAULT_ARG struct domain *d1, struct domain *d2) in xsm_evtchn_reset()
638 static XSM_INLINE int xsm_mmu_update(XSM_DEFAULT_ARG struct domain *d, struct domain *t, in xsm_mmu_update()
650 static XSM_INLINE int xsm_mmuext_op(XSM_DEFAULT_ARG struct domain *d, struct domain *f) in xsm_mmuext_op()
[all …]
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 …]
/xen-4.10.0-shim-comet/tools/xenstore/
A Dxenstored_domain.c196 struct domain *domain = _domain; in destroy_domain() local
224 struct domain *domain; in domain_cleanup() local
301 struct domain *domain; in new_domain() local
304 domain = talloc(context, struct domain); in new_domain()
330 domain->conn->domain = domain; in new_domain()
374 struct domain *domain; in do_introduce() local
413 talloc_steal(domain->conn, domain); in do_introduce()
435 struct domain *domain; in find_connected_domain() local
449 struct domain *domain, *tdomain; in do_set_target() local
497 struct domain *domain; in do_release() local
[all …]
/xen-4.10.0-shim-comet/xen/include/xen/
A Diommu.h43 int iommu_domain_init(struct domain *d);
44 void iommu_hwdom_init(struct domain *d);
45 void iommu_domain_destroy(struct domain *d);
49 int arch_iommu_domain_init(struct domain *d);
53 int iommu_construct(struct domain *d);
56 void iommu_teardown(struct domain *d);
140 int (*init)(struct domain *d);
141 void (*hwdom_init)(struct domain *d);
146 int (*reassign_device)(struct domain *s, struct domain *t,
154 void (*teardown)(struct domain *d);
[all …]
A Devent.h36 int set_global_virq_handler(struct domain *d, uint32_t virq);
43 void send_guest_pirq(struct domain *, const struct pirq *);
46 int evtchn_send(struct domain *d, unsigned int lport);
58 int evtchn_close(struct domain *d1, int port1, bool guest);
61 void evtchn_free(struct domain *d, struct evtchn *chn);
64 int evtchn_allocate_port(struct domain *d, unsigned int port);
78 void free_xen_event_channel(struct domain *d, int port);
142 void evtchn_2l_init(struct domain *d);
145 int evtchn_reset(struct domain *d);
151 void (*init)(struct domain *d, struct evtchn *evtchn);
[all …]
A Dsched.h49 extern struct domain *hardware_domain;
150 struct domain *domain; member
305 struct domain struct
330 struct domain *next_in_list; argument
390 struct domain *target; argument
587 if ( d != current->domain ) in rcu_unlock_domain()
591 static inline struct domain *rcu_lock_domain(struct domain *d) in rcu_lock_domain()
593 if ( d != current->domain ) in rcu_lock_domain()
605 int domain_kill(struct domain *d);
735 extern struct domain *domain_list;
[all …]
A Ddomain.h18 struct vcpu *alloc_dom0_vcpu0(struct domain *dom0);
24 void arch_get_domain_info(const struct domain *d,
32 struct domain *alloc_domain_struct(void);
33 void free_domain_struct(struct domain *d);
61 void arch_domain_destroy(struct domain *d);
63 void arch_domain_shutdown(struct domain *d);
64 void arch_domain_pause(struct domain *d);
65 void arch_domain_unpause(struct domain *d);
67 int arch_domain_soft_reset(struct domain *d);
77 void dump_pageframe_info(struct domain *d);
[all …]
A Dvm_event.h30 void vm_event_cleanup(struct domain *d);
48 int __vm_event_claim_slot(struct domain *d, struct vm_event_domain *ved,
50 static inline int vm_event_claim_slot(struct domain *d, in vm_event_claim_slot()
56 static inline int vm_event_claim_slot_nosleep(struct domain *d, in vm_event_claim_slot_nosleep()
62 void vm_event_cancel_slot(struct domain *d, struct vm_event_domain *ved);
64 void vm_event_put_request(struct domain *d, struct vm_event_domain *ved,
67 int vm_event_get_response(struct domain *d, struct vm_event_domain *ved,
70 void vm_event_resume(struct domain *d, struct vm_event_domain *ved);
72 int vm_event_domctl(struct domain *d, struct xen_domctl_vm_event_op *vec,
/xen-4.10.0-shim-comet/tools/xenstat/libxenstat/src/
A Dxenstat.c230 domain->id = domaininfo[i].domain; in xenstat_get_node()
250 domain->cur_mem = in xenstat_get_node()
253 domain->max_mem = in xenstat_get_node()
265 domain++; in xenstat_get_node()
369 return domain->id; in xenstat_domain_id()
375 return domain->name; in xenstat_domain_name()
412 return domain->ssid; in xenstat_domain_ssid()
460 if (domain->networks && network < domain->num_networks) in xenstat_domain_network()
475 if (domain->vbds && vbd < domain->num_vbds) in xenstat_domain_vbd()
667 domain->vbds = realloc(domain->vbds, in xenstat_save_vbd()
[all …]
A Dxenstat.h90 unsigned xenstat_domain_id(xenstat_domain * domain);
93 char *xenstat_domain_name(xenstat_domain * domain);
102 xenstat_vcpu *xenstat_domain_vcpu(xenstat_domain * domain,
112 unsigned int xenstat_domain_ssid(xenstat_domain * domain);
115 unsigned int xenstat_domain_dying(xenstat_domain * domain);
116 unsigned int xenstat_domain_crashed(xenstat_domain * domain);
118 unsigned int xenstat_domain_paused(xenstat_domain * domain);
119 unsigned int xenstat_domain_blocked(xenstat_domain * domain);
120 unsigned int xenstat_domain_running(xenstat_domain * domain);
133 xenstat_vbd *xenstat_domain_vbd(xenstat_domain * domain,
[all …]
/xen-4.10.0-shim-comet/tools/xenstat/xentop/
A Dxentop.c171 void (*print)(xenstat_domain *domain);
445 void print_name(xenstat_domain *domain) in print_name() argument
536 print("%6.1f", get_cpu_pct(domain)); in print_cpu_pct()
772 vbd = xenstat_domain_vbd(domain,i); in tot_vbd_reqs()
871 xenstat_domain *domain; in do_summary() local
979 void do_domain(xenstat_domain *domain) in do_domain() argument
987 fields[i].print(domain); in do_domain()
995 void do_vcpu(xenstat_domain *domain) in do_vcpu() argument
1051 void do_vbd(xenstat_domain *domain) in do_vbd() argument
1068 vbd = xenstat_domain_vbd(domain,i); in do_vbd()
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/
A Dioreq.h26 int hvm_create_ioreq_server(struct domain *d, domid_t domid,
29 int hvm_destroy_ioreq_server(struct domain *d, ioservid_t id);
30 int hvm_get_ioreq_server_info(struct domain *d, ioservid_t id,
34 int hvm_map_io_range_to_ioreq_server(struct domain *d, ioservid_t id,
40 int hvm_map_mem_type_to_ioreq_server(struct domain *d, ioservid_t id,
42 int hvm_set_ioreq_server_state(struct domain *d, ioservid_t id,
45 int hvm_all_ioreq_servers_add_vcpu(struct domain *d, struct vcpu *v);
47 void hvm_destroy_all_ioreq_servers(struct domain *d);
49 int hvm_set_dm_domain(struct domain *d, domid_t domid);
51 struct hvm_ioreq_server *hvm_select_ioreq_server(struct domain *d,
[all …]
A Dvioapic.h51 struct domain *domain; member
62 #define vioapic_domain(v) ((v)->domain)
64 int vioapic_init(struct domain *d);
65 void vioapic_deinit(struct domain *d);
66 void vioapic_reset(struct domain *d);
67 void vioapic_irq_positive_edge(struct domain *d, unsigned int irq);
68 void vioapic_update_EOI(struct domain *d, u8 vector);
70 int vioapic_get_mask(const struct domain *d, unsigned int gsi);
71 int vioapic_get_vector(const struct domain *d, unsigned int gsi);
72 int vioapic_get_trigger_mode(const struct domain *d, unsigned int gsi);
A Dvpt.h140 struct domain *domain; member
175 void pit_reset(struct domain *d);
179 void pit_deinit(struct domain *d);
180 void rtc_init(struct domain *d);
182 void rtc_deinit(struct domain *d);
183 void rtc_reset(struct domain *d);
187 void pmtimer_deinit(struct domain *d);
188 void pmtimer_reset(struct domain *d);
191 void hpet_init(struct domain *d);
192 void hpet_deinit(struct domain *d);
[all …]
A Dirq.h170 struct domain *dom;
176 void pt_pirq_init(struct domain *, struct hvm_pirq_dpci *);
178 int pt_pirq_iterate(struct domain *d,
179 int (*cb)(struct domain *,
185 void hvm_pci_intx_assert(struct domain *d, unsigned int device,
187 void hvm_pci_intx_deassert(struct domain *d, unsigned int device,
197 int hvm_isa_irq_assert(struct domain *d, unsigned int isa_irq,
198 int (*get_vector)(const struct domain *d,
203 void hvm_gsi_assert(struct domain *d, unsigned int gsi);
204 void hvm_gsi_deassert(struct domain *d, unsigned int gsi);
[all …]
/xen-4.10.0-shim-comet/xen/xsm/flask/
A Dhooks.c45 static u32 domain_target_sid(struct domain *src, struct domain *dst) in domain_target_sid()
61 static int domain_has_perm(struct domain *dom1, struct domain *dom2, in domain_has_perm()
302 static int flask_evtchn_reset(struct domain *d1, struct domain *d2) in flask_evtchn_reset()
353 static int flask_grant_mapref(struct domain *d1, struct domain *d2, in flask_grant_mapref()
364 static int flask_grant_unmapref(struct domain *d1, struct domain *d2) in flask_grant_unmapref()
369 static int flask_grant_setup(struct domain *d1, struct domain *d2) in flask_grant_setup()
374 static int flask_grant_transfer(struct domain *d1, struct domain *d2) in flask_grant_transfer()
379 static int flask_grant_copy(struct domain *d1, struct domain *d2) in flask_grant_copy()
560 static int flask_set_target(struct domain *d, struct domain *t) in flask_set_target()
1606 static int flask_mmu_update(struct domain *d, struct domain *t, in flask_mmu_update()
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dp2m.h18 struct domain;
20 extern void memory_type_changed(struct domain *);
104 struct domain *domain; member
161 int p2m_init(struct domain *d);
164 void p2m_teardown(struct domain *d);
178 void p2m_dump_info(struct domain *d);
236 int map_regions_p2mt(struct domain *d,
242 int unmap_regions_p2mt(struct domain *d,
247 int map_dev_mmio_region(struct domain *d,
311 struct domain *domain, in get_page_and_type() argument
[all …]
A Dvgic.h141 int (*domain_init)(struct domain *d);
143 void (*domain_free)(struct domain *d);
148 int (*lpi_get_priority)(struct domain *d, uint32_t vlpi);
156 #define vgic_lock(v) spin_lock_irq(&(v)->domain->arch.vgic.lock)
202 extern void domain_vgic_free(struct domain *d);
217 int vgic_v2_init(struct domain *d, int *mmio_count);
218 int vgic_v3_init(struct domain *d, int *mmio_count);
235 extern int vgic_allocate_virq(struct domain *d, bool spi);
237 static inline int vgic_allocate_ppi(struct domain *d) in vgic_allocate_ppi()
242 static inline int vgic_allocate_spi(struct domain *d) in vgic_allocate_spi()
[all …]
A Dgic_v3_its.h141 unsigned long gicv3_its_make_hwdom_madt(const struct domain *d,
146 int gicv3_its_deny_access(const struct domain *d);
150 unsigned int vgic_v3_its_count(const struct domain *d);
168 int vgic_v3_its_init_domain(struct domain *d);
169 void vgic_v3_its_free_domain(struct domain *d);
172 int gicv3_its_make_hwdom_dt_nodes(const struct domain *d,
181 int gicv3_its_map_guest_device(struct domain *d,
189 void vgic_vcpu_inject_lpi(struct domain *d, unsigned int virq);
221 static inline int gicv3_its_deny_access(const struct domain *d) in gicv3_its_deny_access()
268 static inline int vgic_v3_its_init_domain(struct domain *d) in vgic_v3_its_init_domain()
[all …]
/xen-4.10.0-shim-comet/tools/flask/policy/modules/
A Dxen.if21 type_transition $1 $1:domain $1_self;
72 # Allow a domain to be created via its domain build label
78 allow $2_building $2:domain transition;
82 # Allow managing a running domain
105 # Inter-domain communication
132 # domain_self_comms(domain)
145 allow $1 $2:domain set_target;
170 # use_device_iommu(domain, device)
190 # use_device_noiommu(domain, device)
199 # admin_device(domain, device)
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dshadow.h51 int shadow_domain_init(struct domain *d, unsigned int domcr_flags);
60 int shadow_enable(struct domain *d, u32 mode);
63 int shadow_track_dirty_vram(struct domain *d,
71 int shadow_domctl(struct domain *d,
76 void shadow_teardown(struct domain *d, bool *preempted);
79 void shadow_final_teardown(struct domain *d);
84 void shadow_blow_tables_per_domain(struct domain *d);
90 int shadow_set_allocation(struct domain *d, unsigned int pages,
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()
[all …]
A Dp2m.h202 struct domain *domain; /* back pointer to domain */ member
506 struct domain *first_domain;
508 struct domain *second_domain;
562 int p2m_init(struct domain *d);
571 void p2m_final_teardown(struct domain *d);
613 int p2m_finish_type_change(struct domain *d,
643 void p2m_pod_dump_data(struct domain *d);
647 int p2m_pod_empty_cache(struct domain *d);
710 extern void audit_p2m(struct domain *d,
779 void p2m_flush_nestedp2m(struct domain *d);
[all …]
/xen-4.10.0-shim-comet/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`
/xen-4.10.0-shim-comet/xen/common/
A Dvm_event.c43 struct domain *d, in vm_event_enable()
242 if ( current->domain == d ) in vm_event_release_slot()
283 if ( curr->domain != d ) in vm_event_put_request()
381 ASSERT(d != current->domain); in vm_event_resume()
532 struct domain *domain = v->domain; in mem_paging_notification() local
535 vm_event_resume(domain, domain->vm_event_paging); in mem_paging_notification()
542 struct domain *domain = v->domain; in monitor_notification() local
545 vm_event_resume(domain, domain->vm_event_monitor); in monitor_notification()
552 struct domain *domain = v->domain; in mem_sharing_notification() local
555 vm_event_resume(domain, domain->vm_event_share); in mem_sharing_notification()
[all …]
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/
A Ddomain.ml19 let debug fmt = Logging.debug "domain" fmt
20 let warn fmt = Logging.warn "domain" fmt
41 let get_path dom = "/local/domain/" ^ (sprintf "%u" dom.id)
42 let get_id domain = domain.id
48 let is_bad_domain domain = domain.bad_client
49 let mark_as_bad domain = domain.bad_client <- true
51 let get_io_credit domain = domain.io_credit
52 let set_io_credit ?(n=1) domain = domain.io_credit <- max 0 n
53 let incr_io_credit domain = domain.io_credit <- domain.io_credit + 1
54 let decr_io_credit domain = domain.io_credit <- max 0 (domain.io_credit - 1)
[all …]

Completed in 47 milliseconds

12345678910>>...20