Searched refs:event_log (Results 1 – 5 of 5) sorted by relevance
/xen-4.10.0-shim-comet/xen/include/public/ |
A D | xenoprof.h | 64 struct event_log { struct 85 struct event_log event_log[1]; argument
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/ |
A D | iommu_guest.c | 239 tail = iommu_get_rb_pointer(iommu->event_log.reg_tail.lo); in guest_iommu_add_event_log() 240 head = iommu_get_rb_pointer(iommu->event_log.reg_head.lo); in guest_iommu_add_event_log() 242 if ( tail >= iommu->event_log.entries || head >= iommu->event_log.entries ) in guest_iommu_add_event_log() 262 if ( ++tail >= iommu->event_log.entries ) in guest_iommu_add_event_log() 268 iommu_set_rb_pointer(&iommu->event_log.reg_tail.lo, tail); in guest_iommu_add_event_log() 640 val = reg_to_u64(iommu->event_log.reg_base); in iommu_mmio_read64() 652 val = reg_to_u64(iommu->event_log.reg_head); in iommu_mmio_read64() 655 val = reg_to_u64(iommu->event_log.reg_tail); in iommu_mmio_read64() 727 u64_to_reg(&iommu->event_log.reg_base, val); in guest_iommu_mmio_write64() 743 u64_to_reg(&iommu->event_log.reg_head, val); in guest_iommu_mmio_write64() [all …]
|
A D | iommu_init.c | 156 ASSERT( iommu->event_log.buffer ); in register_iommu_event_log_in_mmio_space() 158 addr_64 = virt_to_maddr(iommu->event_log.buffer); in register_iommu_event_log_in_mmio_space() 166 power_of2_entries = get_order_from_bytes(iommu->event_log.alloc_size) + in register_iommu_event_log_in_mmio_space() 360 BUG_ON(!iommu || ((log != &iommu->event_log) && (log != &iommu->ppr_log))); in iommu_read_log() 365 tail_offest = ( log == &iommu->event_log ) ? in iommu_read_log() 369 head_offset = ( log == &iommu->event_log ) ? in iommu_read_log() 408 run_bit = ( log == &iommu->event_log ) ? in iommu_reset_log() 429 writel(log == &iommu->event_log ? IOMMU_STATUS_EVENT_OVERFLOW_MASK in iommu_reset_log() 606 iommu_read_log(iommu, &iommu->event_log, in iommu_check_event_log() 983 return allocate_ring_buffer(&iommu->event_log, sizeof(event_entry_t), in allocate_event_log() [all …]
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | amd-iommu.h | 98 struct ring_buffer event_log; member 172 struct guest_buffer event_log; member
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | xenoprof.c | 232 i = sizeof(struct event_log); in alloc_xenoprof_struct() 512 xenoprof_buf(d, buf, event_log[head].eip) = eip; in xenoprof_add_sample() 513 xenoprof_buf(d, buf, event_log[head].mode) = mode; in xenoprof_add_sample() 514 xenoprof_buf(d, buf, event_log[head].event) = event; in xenoprof_add_sample()
|
Completed in 11 milliseconds