Home
last modified time | relevance | path

Searched refs:tlb_flush_fifo (Results 1 – 2 of 2) sorted by relevance

/linux/arch/x86/kvm/
H A Dhyperv.h203 return &hv_vcpu->tlb_flush_fifo[i]; in kvm_hv_get_tlb_flush_fifo()
208 struct kvm_vcpu_hv_tlb_flush_fifo *tlb_flush_fifo; in kvm_hv_vcpu_purge_flush_tlb() local
213 tlb_flush_fifo = kvm_hv_get_tlb_flush_fifo(vcpu, is_guest_mode(vcpu)); in kvm_hv_vcpu_purge_flush_tlb()
215 kfifo_reset_out(&tlb_flush_fifo->entries); in kvm_hv_vcpu_purge_flush_tlb()
H A Dhyperv.c984 INIT_KFIFO(hv_vcpu->tlb_flush_fifo[i].entries); in kvm_hv_vcpu_init()
985 spin_lock_init(&hv_vcpu->tlb_flush_fifo[i].write_lock); in kvm_hv_vcpu_init()
1933 struct kvm_vcpu_hv_tlb_flush_fifo *tlb_flush_fifo, in hv_tlb_flush_enqueue() argument
1942 spin_lock(&tlb_flush_fifo->write_lock); in hv_tlb_flush_enqueue()
1949 if (count && entries && count < kfifo_avail(&tlb_flush_fifo->entries)) { in hv_tlb_flush_enqueue()
1950 WARN_ON(kfifo_in(&tlb_flush_fifo->entries, entries, count) != count); in hv_tlb_flush_enqueue()
1958 kfifo_in(&tlb_flush_fifo->entries, &flush_all_entry, 1); in hv_tlb_flush_enqueue()
1961 spin_unlock(&tlb_flush_fifo->write_lock); in hv_tlb_flush_enqueue()
1966 struct kvm_vcpu_hv_tlb_flush_fifo *tlb_flush_fifo; in kvm_hv_vcpu_flush_tlb() local
1975 tlb_flush_fifo = kvm_hv_get_tlb_flush_fifo(vcpu, is_guest_mode(vcpu)); in kvm_hv_vcpu_flush_tlb()
[all …]