/xen-4.10.0-shim-comet/tools/xentrace/ |
A D | formats | 3 0x0001f001 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) lost_records 0x%(1)08x 29 0x00028008 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) sched_ctl 45 0x00022006 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched:tickle [ cpu = %(1)d ] 50 0x0002200B CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched:steal_check [ peer_cpu = %(1)d, checked = … 117 0x00082010 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) NMI 118 0x00082011 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) SMI 123 0x00082015 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) MCE 198 0x00801003 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) cpu_idle_exit [ C%(1)d -> C0, acpi_pm_tick = %(2)… 213 0x00084005 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) hpet destroy [ tn = %(1)d ] 219 0x0008400b CPU%(cpu)d %(tsc)d (+%(reltsc)8d) vpic_update_int_output [ int_output = %(1)d, is_mas… [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | trace.c | 18 } d; in __trace_pv_trap() local 25 __trace_var(TRC_PV_TRAP, 1, sizeof(d), &d); in __trace_pv_trap() 34 } d; in __trace_pv_trap() local 44 __trace_var(event, 1, sizeof(d), &d); in __trace_pv_trap() 56 } d; in __trace_pv_page_fault() local 69 } d; in __trace_pv_page_fault() local 77 __trace_var(event, 1, sizeof(d), &d); in __trace_pv_page_fault() 86 __trace_var(event, 1, sizeof(d), &d); in __trace_trap_one_addr() 105 __trace_var(event, 1, sizeof(d), &d); in __trace_trap_two_addr() 115 __trace_var(event, 1, sizeof(d), &d); in __trace_trap_two_addr() [all …]
|
A D | monitor.c | 40 memset(&d->arch.monitor, 0, sizeof(d->arch.monitor)); in arch_monitor_cleanup_domain() 41 memset(&d->monitor, 0, sizeof(d->monitor)); in arch_monitor_cleanup_domain() 148 domain_pause(d); in arch_monitor_domctl_event() 179 domain_unpause(d); in arch_monitor_domctl_event() 190 domain_pause(d); in arch_monitor_domctl_event() 217 domain_pause(d); in arch_monitor_domctl_event() 234 domain_pause(d); in arch_monitor_domctl_event() 251 domain_pause(d); in arch_monitor_domctl_event() 264 domain_pause(d); in arch_monitor_domctl_event() 280 domain_pause(d); in arch_monitor_domctl_event() [all …]
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | domain.c | 93 evtchn_send(d, d->suspend_evtchn); in __domain_finalise_shutdown() 209 if ( d != hardware_domain || d->domain_id == 0 ) in late_hwdom_init() 337 d->irq_caps = rangeset_new(d, "Interrupts", 0); in domain_create() 338 if ( (d->iomem_caps == NULL) || (d->irq_caps == NULL) ) in domain_create() 403 return d; in domain_create() 442 if ( !d->vcpu || !d->vcpu[0] ) in domain_update_node_affinity() 540 d = rcu_dereference(d->next_in_hashbucket) ) in get_domain_by_id() 552 return d; in get_domain_by_id() 564 d = rcu_dereference(d->next_in_hashbucket) ) in rcu_lock_domain_by_id() 575 return d; in rcu_lock_domain_by_id() [all …]
|
A D | vm_event.c | 43 struct domain *d, in vm_event_enable() argument 144 if ( d->vcpu ) in vm_event_wake_blocked() 318 if( curr->domain == d && avail_req < d->max_vcpus && in vm_event_put_request() 573 (void)vm_event_disable(d, &d->vm_event_paging); in vm_event_cleanup() 579 (void)vm_event_disable(d, &d->vm_event_monitor); in vm_event_cleanup() 585 (void)vm_event_disable(d, &d->vm_event_share); in vm_event_cleanup() 666 rc = vm_event_disable(d, &d->vm_event_paging); in vm_event_domctl() 673 vm_event_resume(d, d->vm_event_paging); in vm_event_domctl() 714 vm_event_resume(d, d->vm_event_monitor); in vm_event_domctl() 754 rc = vm_event_disable(d, &d->vm_event_share); in vm_event_domctl() [all …]
|
A D | xenoprof.c | 104 return (is_active(d) || is_passive(d)); in is_profiled() 292 x = d->xenoprof; in free_xenoprof_pages() 327 x = d->xenoprof; in set_active() 348 x = d->xenoprof; in reset_active() 357 put_domain(d); in reset_active() 369 if ( d == NULL ) in reset_passive() 372 x = d->xenoprof; in reset_passive() 408 struct domain *d; in add_active_list() local 414 if ( d == NULL ) in add_active_list() 437 if ( d == NULL ) in add_passive_list() [all …]
|
A D | event_channel.c | 161 if ( port > d->max_evtchn_port || port >= d->max_evtchns ) in evtchn_allocate_port() 493 if ( !is_hvm_domain(d) && !pirq_access_permitted(d, pirq) ) in evtchn_bind_pirq() 765 if ( unlikely(d == NULL) || unlikely(d->vcpu == NULL) ) in send_guest_global_virq() 1014 if ( d != current->domain && !d->controller_pause_count ) in evtchn_reset() 1277 if ( likely(bitmap_empty(d->poll_mask, d->max_vcpus)) ) in evtchn_check_pollers() 1300 d->evtchn = alloc_evtchn_bucket(d, 0); in evtchn_init() 1308 free_evtchn_bucket(d, d->evtchn); in evtchn_init() 1318 free_evtchn_bucket(d, d->evtchn); in evtchn_init() 1355 free_evtchn_bucket(d, d->evtchn_group[i][j]); in evtchn_destroy_final() 1358 free_evtchn_bucket(d, d->evtchn); in evtchn_destroy_final() [all …]
|
A D | event_2l.c | 18 struct domain *d = v->domain; in evtchn_2l_set_pending() local 32 !test_and_set_bit(port / BITS_PER_EVTCHN_WORD(d), in evtchn_2l_set_pending() 38 evtchn_check_pollers(d, port); in evtchn_2l_set_pending() 48 struct vcpu *v = d->vcpu[evtchn->notify_vcpu_id]; in evtchn_2l_unmask() 66 unsigned int max_ports = BITS_PER_EVTCHN_WORD(d) * BITS_PER_EVTCHN_WORD(d); in evtchn_2l_is_pending() 74 unsigned int max_ports = BITS_PER_EVTCHN_WORD(d) * BITS_PER_EVTCHN_WORD(d); in evtchn_2l_is_masked() 80 static void evtchn_2l_print_state(struct domain *d, in evtchn_2l_print_state() argument 83 struct vcpu *v = d->vcpu[evtchn->notify_vcpu_id]; in evtchn_2l_print_state() 99 void evtchn_2l_init(struct domain *d) in evtchn_2l_init() argument 101 d->evtchn_port_ops = &evtchn_port_ops_2l; in evtchn_2l_init() [all …]
|
A D | event_fifo.c | 459 if ( !d->evtchn_fifo ) in setup_event_array() 469 if ( !d->evtchn_fifo ) in cleanup_event_array() 474 xfree(d->evtchn_fifo); in cleanup_event_array() 475 d->evtchn_fifo = NULL; in cleanup_event_array() 519 if ( vcpu_id >= d->max_vcpus || !d->vcpu[vcpu_id] ) in evtchn_fifo_init_control() 521 v = d->vcpu[vcpu_id]; in evtchn_fifo_init_control() 537 if ( !d->evtchn_fifo ) in evtchn_fifo_init_control() 557 setup_ports(d); in evtchn_fifo_init_control() 567 evtchn_fifo_destroy(d); in evtchn_fifo_init_control() 618 if ( !d->evtchn_fifo ) in evtchn_fifo_expand_array() [all …]
|
A D | domctl.c | 140 struct domain *d; in is_free_domid() local 212 info->cpupool = d->cpupool ? d->cpupool->cpupool_id : CPUPOOLID_NONE; in getdomaininfo() 416 if ( d ) in do_domctl() 433 (vcpu >= d->max_vcpus) || ((v = d->vcpu[vcpu]) == NULL) ) in do_domctl() 564 d = NULL; in do_domctl() 604 if ( (max < d->max_vcpus) && (d->vcpu[max] != NULL) ) in do_domctl() 614 if ( (d->max_vcpus > 0) && (max > d->max_vcpus) ) in do_domctl() 815 if ( !d ) in do_domctl() 848 d = NULL; in do_domctl() 1073 if ( (d == e) || (d->target != NULL) ) in do_domctl() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/hap/ |
A D | hap.c | 90 paging_lock(d); in hap_track_dirty_vram() 200 paging_lock(d); in hap_enable_log_dirty() 202 paging_unlock(d); in hap_enable_log_dirty() 221 paging_lock(d); in hap_disable_log_dirty() 223 paging_unlock(d); in hap_disable_log_dirty() 298 paging_unlock(d); in hap_alloc_p2m_page() 417 domain_crash(d); in hap_make_monitor_table() 453 domain_pause(d); in hap_enable() 545 paging_lock(d); in hap_final_teardown() 698 paging_lock(d); in hap_update_paging_modes() [all …]
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | event.h | 105 if ( p >= d->max_evtchns ) in port_is_valid() 113 return &d->evtchn[p]; in evtchn_from_port() 170 d->evtchn_port_ops->init(d, evtchn); in evtchn_port_init() 177 d->evtchn_port_ops->set_pending(d->vcpu[vcpu_id], evtchn); in evtchn_port_set_pending() 183 d->evtchn_port_ops->clear_pending(d, evtchn); in evtchn_port_clear_pending() 189 d->evtchn_port_ops->unmask(d, evtchn); in evtchn_port_unmask() 195 return d->evtchn_port_ops->is_pending(d, port); in evtchn_port_is_pending() 201 return d->evtchn_port_ops->is_masked(d, port); in evtchn_port_is_masked() 208 d->evtchn_port_ops->is_busy(d, port); in evtchn_port_is_busy() 217 return d->evtchn_port_ops->set_priority(d, evtchn, priority); in evtchn_port_set_priority() [all …]
|
A D | iommu.h | 43 int iommu_domain_init(struct domain *d); 44 void iommu_hwdom_init(struct domain *d); 53 int iommu_construct(struct domain *d); 56 void iommu_teardown(struct domain *d); 90 #define dom_iommu(d) (&(d)->iommu) argument 91 #define iommu_set_feature(d, f) set_bit(f, dom_iommu(d)->features) argument 92 #define iommu_clear_feature(d, f) clear_bit(f, dom_iommu(d)->features) argument 140 int (*init)(struct domain *d); 141 void (*hwdom_init)(struct domain *d); 154 void (*teardown)(struct domain *d); [all …]
|
A D | iocap.h | 13 #define iomem_permit_access(d, s, e) \ argument 14 rangeset_add_range((d)->iomem_caps, s, e) 15 #define iomem_deny_access(d, s, e) \ argument 16 rangeset_remove_range((d)->iomem_caps, s, e) 17 #define iomem_access_permitted(d, s, e) \ argument 18 rangeset_contains_range((d)->iomem_caps, s, e) 21 rangeset_add_singleton((d)->irq_caps, i) 23 rangeset_remove_singleton((d)->irq_caps, i) 25 rangeset_add_range((d)->irq_caps, s, e) 27 rangeset_remove_range((d)->irq_caps, s, e) [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/ |
A D | paging.c | 64 page = d->arch.paging.alloc_page(d); in paging_new_log_dirty_page() 113 d->arch.paging.free_page(d, mfn_to_page(mfn)); in paging_free_log_dirty_page() 121 paging_lock(d); in paging_free_log_dirty_bitmap() 198 paging_free_log_dirty_page(d, d->arch.paging.log_dirty.top); in paging_free_log_dirty_bitmap() 234 domain_pause(d); in paging_log_dirty_enable() 235 ret = d->arch.paging.log_dirty.ops->enable(d, log_global); in paging_log_dirty_enable() 251 ret = d->arch.paging.log_dirty.ops->disable(d); in paging_log_dirty_disable() 297 d->arch.paging.log_dirty.top = paging_new_log_dirty_node(d); in paging_mark_pfn_dirty() 437 paging_lock(d); in paging_log_dirty_op() 573 d->arch.paging.log_dirty.ops->clean(d); in paging_log_dirty_op() [all …]
|
/xen-4.10.0-shim-comet/xen/include/xsm/ |
A D | xsm.h | 180 int (*dm_op) (struct domain *d); 204 return xsm_ops->getdomaininfo(d); in xsm_getdomaininfo() 224 return xsm_ops->domctl(d, cmd); in xsm_domctl() 380 return xsm_ops->claim_pages(d); in xsm_claim_pages() 390 return xsm_ops->profile(d, op); in xsm_profile() 587 return xsm_ops->mem_access(d); in xsm_mem_access() 594 return xsm_ops->mem_paging(d); in xsm_mem_paging() 601 return xsm_ops->mem_sharing(d); in xsm_mem_sharing() 628 return xsm_ops->apic(d, cmd); in xsm_apic() 680 return xsm_ops->pmu_op(d, op); in xsm_pmu_op() [all …]
|
A D | dummy.h | 221 return xsm_default_action(XSM_HOOK, d, NULL); in xsm_console_io() 223 return xsm_default_action(XSM_PRIV, d, NULL); in xsm_console_io() 229 return xsm_default_action(action, d, NULL); in xsm_profile() 279 return xsm_default_action(action, d, NULL); in xsm_evtchn_send() 519 return xsm_default_action(action, d, t); in xsm_map_gmfn_foreign() 623 return xsm_default_action(action, d, NULL); in xsm_apic() 644 rc = xsm_default_action(action, d, f); in xsm_mmu_update() 646 rc = xsm_default_action(action, d, t); in xsm_mmu_update() 653 return xsm_default_action(action, d, f); in xsm_mmuext_op() 660 return xsm_default_action(action, d, f); in xsm_update_va_mapping() [all …]
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/ |
A D | iommu.c | 172 check_hwdom_reqs(d); in iommu_hwdom_init() 179 if ( need_iommu(d) && !iommu_use_hap_pt(d) ) in iommu_hwdom_init() 217 d->need_iommu = 0; in iommu_teardown() 224 if ( need_iommu(d) > 0 ) in iommu_construct() 236 d->need_iommu = 1; in iommu_construct() 243 memory_type_changed(d); in iommu_construct() 253 iommu_teardown(d); in iommu_domain_destroy() 276 domain_crash(d); in iommu_map_page() 484 struct domain *d; in iommu_dump_p2m_table() local 494 for_each_domain(d) in iommu_dump_p2m_table() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/ |
A D | irq.c | 34 pirq_info(d, domain_emuirq_to_pirq(d, ioapic_gsi)); in assert_gsi() 38 send_guest_pirq(d, pirq); in assert_gsi() 46 assert_gsi(d, ioapic_gsi); in assert_irq() 54 pirq_info(d, domain_emuirq_to_pirq(d, isa_irq)); in deassert_irq() 78 assert_gsi(d, gsi); in __hvm_pci_intx_assert() 151 assert_gsi(d, gsi); in hvm_gsi_assert() 396 (!has_vlapic(d) || !has_vioapic(d) || !has_vpic(d)) ) in hvm_set_callback_via() 451 for_each_vcpu ( d, v ) in hvm_set_callback_via() 593 struct domain *d; in dump_irq_info() local 599 for_each_domain ( d ) in dump_irq_info() [all …]
|
A D | save.c | 73 if ( d->arch.vtsc ) in arch_hvm_load() 142 if ( d->is_dying || in hvm_save_one() 198 if ( d->is_dying ) in hvm_save() 259 if ( d->is_dying ) in hvm_load() 270 for_each_vcpu(d, v) in hvm_load() 327 d->typecode = tc; in _hvm_init_entry() 329 d->length = len; in _hvm_init_entry() 357 (strict_length ? (len != d->length) : (len < d->length)) || in _hvm_check_entry() 358 (d->length > (h->size - h->cur - sizeof(*d))) ) in _hvm_check_entry() 364 d->typecode, d->length, h->size - h->cur - sizeof(*d)); in _hvm_check_entry() [all …]
|
/xen-4.10.0-shim-comet/xen/include/acpi/ |
A D | acmacros.h | 147 #define ACPI_MOVE_16_TO_32(d,s) {(*(u32 *)(void *)(d))=0;\ argument 151 #define ACPI_MOVE_16_TO_64(d,s) {(*(u64 *)(void *)(d))=0;\ argument 164 #define ACPI_MOVE_32_TO_64(d,s) {(*(u64 *)(void *)(d))=0;\ argument 227 #define ACPI_MOVE_16_TO_32(d,s) {(*(u32 *)(void *)(d)) = 0; ACPI_MOVE_16_TO_16(d,s);} argument 228 #define ACPI_MOVE_16_TO_64(d,s) {(*(u64 *)(void *)(d)) = 0; ACPI_MOVE_16_TO_16(d,s);} argument 239 #define ACPI_MOVE_32_TO_64(d,s) {(*(u64 *)(void *)(d)) = 0; ACPI_MOVE_32_TO_32(d,s);} argument 259 #define ACPI_MOVE_SIZE_TO_16(d,s) ACPI_MOVE_32_TO_16(d,s) argument 262 #define ACPI_MOVE_SIZE_TO_16(d,s) ACPI_MOVE_64_TO_16(d,s) argument 335 #define ACPI_IS_OCTAL_DIGIT(d) (((char)(d) >= '0') && ((char)(d) <= '7')) argument 396 #define ARGI_LIST4(a,b,c,d) (ARG_1(d)|ARG_2(c)|ARG_3(b)|ARG_4(a)) argument [all …]
|
/xen-4.10.0-shim-comet/stubdom/ |
A D | pciutils.patch | 105 + d->domain = domain; 106 + d->bus = bus; 107 + d->dev = slot; 108 + d->func = fun; 122 + if (pcifront_conf_read(NULL, d->domain, d->bus, d->dev, d->func, pos, len, &val)) 127 + if (pcifront_conf_read(NULL, d->domain, d->bus, d->dev, d->func, pos, len, &val)) 132 + if (pcifront_conf_read(NULL, d->domain, d->bus, d->dev, d->func, pos, len, &val)) 158 + return !pcifront_conf_write(NULL, d->domain, d->bus, d->dev, d->func, pos, len, val); 228 …a->warning("%04x:%02x:%02x.%d: Invalid 64-bit address seen for BAR %d.", d->domain, d->bus, d->dev… 247 …a->warning("%04x:%02x:%02x.%d 64-bit device address ignored.", d->domain, d->bus, d->dev, d->func); [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/shadow/ |
A D | common.c | 1203 ASSERT(d->vcpu && d->vcpu[0]); in _shadow_prealloc() 1273 ASSERT(d->vcpu && d->vcpu[0]); in shadow_blow_tables() 1295 if ( shadow_mode_enabled(d) && d->vcpu != NULL && d->vcpu[0] != NULL ) { in shadow_blow_tables_per_domain() 1313 if ( shadow_mode_enabled(d) && d->vcpu != NULL && d->vcpu[0] != NULL ) in shadow_blow_all_tables() 3021 if ( is_hvm_domain(d) && !d->arch.paging.shadow.oos_off ) in sh_update_paging_modes() 3137 paging_lock(d); in shadow_enable() 3192 paging_lock(d); in shadow_teardown() 3322 paging_lock(d); in shadow_final_teardown() 3368 sh_new_mode(d, d->arch.paging.mode | mode); in shadow_one_bit_enable() 3386 sh_new_mode(d, d->arch.paging.mode & ~mode); in shadow_one_bit_disable() [all …]
|
/xen-4.10.0-shim-comet/tools/blktap2/drivers/ |
A D | md5.c | 199 register uint32_t a, b, c, d; in MD5Transform() local 204 d = buf[3]; in MD5Transform() 206 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in MD5Transform() 210 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in MD5Transform() 214 MD5STEP(F1, a, b, c, d, in[8] + 0x698098d8, 7); in MD5Transform() 223 MD5STEP(F2, a, b, c, d, in[1] + 0xf61e2562, 5); in MD5Transform() 224 MD5STEP(F2, d, a, b, c, in[6] + 0xc040b340, 9); in MD5Transform() 227 MD5STEP(F2, a, b, c, d, in[5] + 0xd62f105d, 5); in MD5Transform() 231 MD5STEP(F2, a, b, c, d, in[9] + 0x21e1cde6, 5); in MD5Transform() 236 MD5STEP(F2, d, a, b, c, in[2] + 0xfcefa3f8, 9); in MD5Transform() [all …]
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/x86/ |
A D | iommu.c | 44 const struct domain_iommu *hd = dom_iommu(d); in arch_iommu_populate_page_table() 48 d->need_iommu = -1; in arch_iommu_populate_page_table() 51 spin_lock(&d->page_alloc_lock); in arch_iommu_populate_page_table() 53 if ( unlikely(d->is_dying) ) in arch_iommu_populate_page_table() 58 if ( is_hvm_domain(d) || in arch_iommu_populate_page_table() 93 page_list_move(&d->page_list, &d->arch.relmem_list); in arch_iommu_populate_page_table() 103 spin_unlock(&d->page_alloc_lock); in arch_iommu_populate_page_table() 107 rc = iommu_iotlb_flush_all(d); in arch_iommu_populate_page_table() 110 iommu_teardown(d); in arch_iommu_populate_page_table() 121 int arch_iommu_domain_init(struct domain *d) in arch_iommu_domain_init() argument [all …]
|