Searched refs:hfence_head (Results 1 – 3 of 3) sorted by relevance
211 if (varch->hfence_queue[varch->hfence_head].type) { in vcpu_hfence_dequeue()212 memcpy(out_data, &varch->hfence_queue[varch->hfence_head], in vcpu_hfence_dequeue()214 varch->hfence_queue[varch->hfence_head].type = 0; in vcpu_hfence_dequeue()216 varch->hfence_head++; in vcpu_hfence_dequeue()217 if (varch->hfence_head == KVM_RISCV_VCPU_MAX_HFENCE) in vcpu_hfence_dequeue()218 varch->hfence_head = 0; in vcpu_hfence_dequeue()
88 vcpu->arch.hfence_head = 0; in kvm_riscv_reset_vcpu()
250 unsigned long hfence_head; member