Searched refs:hfence_head (Results 1 – 3 of 3) sorted by relevance
270 if (varch->hfence_queue[varch->hfence_head].type) { in vcpu_hfence_dequeue()271 memcpy(out_data, &varch->hfence_queue[varch->hfence_head], in vcpu_hfence_dequeue()273 varch->hfence_queue[varch->hfence_head].type = 0; in vcpu_hfence_dequeue()275 varch->hfence_head++; in vcpu_hfence_dequeue()276 if (varch->hfence_head == KVM_RISCV_VCPU_MAX_HFENCE) in vcpu_hfence_dequeue()277 varch->hfence_head = 0; in vcpu_hfence_dequeue()
83 vcpu->arch.hfence_head = 0; in kvm_riscv_reset_vcpu()
212 unsigned long hfence_head; member