Lines Matching refs:tlb_flush_fifo

984 		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()
1977 count = kfifo_out(&tlb_flush_fifo->entries, entries, KVM_HV_TLB_FLUSH_FIFO_SIZE); in kvm_hv_vcpu_flush_tlb()
1996 kfifo_reset_out(&tlb_flush_fifo->entries); in kvm_hv_vcpu_flush_tlb()
2010 struct kvm_vcpu_hv_tlb_flush_fifo *tlb_flush_fifo; in kvm_hv_flush_tlb() local
2137 tlb_flush_fifo = kvm_hv_get_tlb_flush_fifo(v, false); in kvm_hv_flush_tlb()
2138 hv_tlb_flush_enqueue(v, tlb_flush_fifo, in kvm_hv_flush_tlb()
2150 tlb_flush_fifo = kvm_hv_get_tlb_flush_fifo(v, false); in kvm_hv_flush_tlb()
2151 hv_tlb_flush_enqueue(v, tlb_flush_fifo, in kvm_hv_flush_tlb()
2183 tlb_flush_fifo = kvm_hv_get_tlb_flush_fifo(v, true); in kvm_hv_flush_tlb()
2184 hv_tlb_flush_enqueue(v, tlb_flush_fifo, in kvm_hv_flush_tlb()