Home
last modified time | relevance | path

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

/openbmc/linux/arch/riscv/kernel/
H A Dvector.c25 unsigned long riscv_v_vsize __read_mostly;
26 EXPORT_SYMBOL_GPL(riscv_v_vsize);
37 if (!riscv_v_vsize) { in riscv_v_setup_vsize()
38 riscv_v_vsize = this_vsize; in riscv_v_setup_vsize()
42 if (riscv_v_vsize != this_vsize) { in riscv_v_setup_vsize()
87 datap = kzalloc(riscv_v_vsize, GFP_KERNEL); in riscv_v_thread_zalloc()
H A Dsignal.c96 err |= __copy_to_user(datap, current->thread.vstate.datap, riscv_v_vsize); in save_v_state()
133 err = copy_from_user(current->thread.vstate.datap, datap, riscv_v_vsize); in __restore_v_state()
471 sizeof(struct __sc_riscv_v_state) + riscv_v_vsize; in init_rt_signal_env()
H A Dptrace.c115 return membuf_write(&to, vstate->datap, riscv_v_vsize); in riscv_vr_get()
147 0, riscv_v_vsize); in riscv_vr_set()
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_vector.c28 memset(cntx->vector.datap, 0, riscv_v_vsize); in kvm_riscv_vcpu_vector_reset()
76 cntx->vector.datap = kmalloc(riscv_v_vsize, GFP_KERNEL); in kvm_riscv_vcpu_alloc_vector_context()
80 vcpu->arch.host_context.vector.datap = kzalloc(riscv_v_vsize, GFP_KERNEL); in kvm_riscv_vcpu_alloc_vector_context()
100 size_t vlenb = riscv_v_vsize / 32; in kvm_riscv_vcpu_vreg_addr()
/openbmc/linux/arch/riscv/include/asm/
H A Dvector.h22 extern unsigned long riscv_v_vsize;
209 #define riscv_v_vsize (0) macro