Searched refs:vlenb (Results 1 – 5 of 5) sorted by relevance
79 cntx->vector.vlenb = riscv_v_vsize / 32; in kvm_riscv_vcpu_alloc_vector_context()101 size_t vlenb = riscv_v_vsize / 32; in kvm_riscv_vcpu_vreg_addr() local119 case KVM_REG_RISCV_VECTOR_CSR_REG(vlenb): in kvm_riscv_vcpu_vreg_addr()120 *reg_addr = &cntx->vector.vlenb; in kvm_riscv_vcpu_vreg_addr()127 if (reg_size != vlenb) in kvm_riscv_vcpu_vreg_addr()130 (reg_num - KVM_REG_RISCV_VECTOR_REG(0)) * vlenb; in kvm_riscv_vcpu_vreg_addr()180 if (reg_num == KVM_REG_RISCV_VECTOR_CSR_REG(vlenb)) { in kvm_riscv_vcpu_set_reg_vector()186 if (reg_val != cntx->vector.vlenb) in kvm_riscv_vcpu_set_reg_vector()
1107 size = __builtin_ctzl(cntx->vector.vlenb); in copy_vector_reg_indices()
105 unsigned long vlenb; member119 unsigned long vlenb; member
112 ptrace_vstate.vlenb = vstate->vlenb; in riscv_vr_get()139 if (vstate->vlenb != ptrace_vstate.vlenb) in riscv_vr_set()
87 "=r" (dest->vcsr), "=r" (dest->vlenb) : :); in __vstate_csr_save()