Searched refs:dtl (Results 1 – 6 of 6) sorted by relevance
20 struct dtl { struct28 static DEFINE_PER_CPU(struct dtl, cpu_dtl); argument81 static int dtl_start(struct dtl *dtl) in dtl_start() argument83 struct dtl_ring *dtlr = &per_cpu(dtl_rings, dtl->cpu); in dtl_start()85 dtlr->buf = dtl->buf; in dtl_start()86 dtlr->buf_end = dtl->buf + dtl->buf_entries; in dtl_start()91 dtlr->write_ptr = dtl->buf; in dtl_start()94 lppaca_of(dtl->cpu).dtl_enable_mask |= dtl_event_mask; in dtl_start()101 static void dtl_stop(struct dtl *dtl) in dtl_stop() argument103 struct dtl_ring *dtlr = &per_cpu(dtl_rings, dtl->cpu); in dtl_stop()[all …]
85 struct dtl_entry *dtl; in alloc_dtl_buffers() local91 dtl = kmem_cache_alloc(dtl_cache, GFP_KERNEL); in alloc_dtl_buffers()92 if (!dtl) { in alloc_dtl_buffers()102 pp->dispatch_log = dtl; in alloc_dtl_buffers()103 pp->dispatch_log_end = dtl + N_DISPATCH_LOG; in alloc_dtl_buffers()104 pp->dtl_curr = dtl; in alloc_dtl_buffers()117 struct dtl_entry *dtl; in register_dtl_buffer() local121 dtl = pp->dispatch_log; in register_dtl_buffer()122 if (dtl && dtl_mask) { in register_dtl_buffer()124 pp->dtl_curr = dtl; in register_dtl_buffer()[all …]
22 obj-$(CONFIG_DTL) += dtl.o
193 struct dtl_entry *dtl = local_paca->dtl_curr; in scan_dispatch_log() local200 if (!dtl) in scan_dispatch_log()206 dtb = be64_to_cpu(dtl->timebase); in scan_dispatch_log()207 tb_delta = be32_to_cpu(dtl->enqueue_to_dispatch_time) + in scan_dispatch_log()208 be32_to_cpu(dtl->ready_to_enqueue_time); in scan_dispatch_log()213 dtl = local_paca->dispatch_log + (i % N_DISPATCH_LOG); in scan_dispatch_log()219 dtl_consumer(dtl, i); in scan_dispatch_log()222 ++dtl; in scan_dispatch_log()223 if (dtl == dtl_end) in scan_dispatch_log()224 dtl = local_paca->dispatch_log; in scan_dispatch_log()[all …]
560 vpap = &tvcpu->arch.dtl; in do_h_register_vpa()577 if (vpa_is_registered(&tvcpu->arch.dtl) || in do_h_register_vpa()586 vpap = &tvcpu->arch.dtl; in do_h_register_vpa()661 vcpu->arch.dtl.update_pending)) in kvmppc_update_vpas()670 if (vcpu->arch.dtl.update_pending) { in kvmppc_update_vpas()671 kvmppc_update_vpa(vcpu, &vcpu->arch.dtl); in kvmppc_update_vpas()672 vcpu->arch.dtl_ptr = vcpu->arch.dtl.pinned_addr; in kvmppc_update_vpas()728 if (dt == vcpu->arch.dtl.pinned_end) in kvmppc_create_dtl_entry()729 dt = vcpu->arch.dtl.pinned_addr; in kvmppc_create_dtl_entry()734 vcpu->arch.dtl.dirty = true; in kvmppc_create_dtl_entry()[all …]
797 struct kvmppc_vpa dtl; member