Home
last modified time | relevance | path

Searched refs:vlenb (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/arch/riscv/kvm/
Dvcpu_vector.c79 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() local
119 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()
Dvcpu_onereg.c1107 size = __builtin_ctzl(cntx->vector.vlenb); in copy_vector_reg_indices()
/linux-6.12.1/arch/riscv/include/uapi/asm/
Dptrace.h105 unsigned long vlenb; member
119 unsigned long vlenb; member
/linux-6.12.1/arch/riscv/kernel/
Dptrace.c112 ptrace_vstate.vlenb = vstate->vlenb; in riscv_vr_get()
139 if (vstate->vlenb != ptrace_vstate.vlenb) in riscv_vr_set()
/linux-6.12.1/arch/riscv/include/asm/
Dvector.h87 "=r" (dest->vcsr), "=r" (dest->vlenb) : :); in __vstate_csr_save()