/linux-6.12.1/arch/riscv/kernel/ |
D | ptrace.c | 92 struct __riscv_v_ext_state *vstate = &target->thread.vstate; in riscv_vr_get() local 104 riscv_v_vstate_save(¤t->thread.vstate, task_pt_regs(current)); in riscv_vr_get() 108 ptrace_vstate.vstart = vstate->vstart; in riscv_vr_get() 109 ptrace_vstate.vl = vstate->vl; in riscv_vr_get() 110 ptrace_vstate.vtype = vstate->vtype; in riscv_vr_get() 111 ptrace_vstate.vcsr = vstate->vcsr; in riscv_vr_get() 112 ptrace_vstate.vlenb = vstate->vlenb; in riscv_vr_get() 118 return membuf_write(&to, vstate->datap, riscv_v_vsize); in riscv_vr_get() 127 struct __riscv_v_ext_state *vstate = &target->thread.vstate; in riscv_vr_set() local 139 if (vstate->vlenb != ptrace_vstate.vlenb) in riscv_vr_set() [all …]
|
D | kernel_mode_vector.c | 147 uvstate = ¤t->thread.vstate; in riscv_v_start_kernel_context() 171 struct __riscv_v_ext_state *vstate = ¤t->thread.kernel_vstate; in riscv_v_context_nesting_end() local 183 __riscv_v_vstate_restore(vstate, vstate->datap); in riscv_v_context_nesting_end() 218 riscv_v_vstate_save(¤t->thread.vstate, task_pt_regs(current)); in kernel_vector_begin()
|
D | vector.c | 125 if (tsk->thread.vstate.datap) in riscv_v_thread_free() 126 kmem_cache_free(riscv_v_user_cachep, tsk->thread.vstate.datap); in riscv_v_thread_free() 198 WARN_ON(current->thread.vstate.datap); in riscv_v_first_use_handler() 205 if (riscv_v_thread_zalloc(riscv_v_user_cachep, ¤t->thread.vstate)) { in riscv_v_first_use_handler()
|
D | signal.c | 90 riscv_v_vstate_save(¤t->thread.vstate, regs); in save_v_state() 94 err = __copy_to_user(&state->v_state, ¤t->thread.vstate, in save_v_state() 99 err |= __copy_to_user(datap, current->thread.vstate.datap, riscv_v_vsize); in save_v_state() 130 err = __copy_from_user(¤t->thread.vstate, &state->v_state, in __restore_v_state() 143 return copy_from_user(current->thread.vstate.datap, datap, riscv_v_vsize); in __restore_v_state()
|
D | process.c | 179 kfree(current->thread.vstate.datap); in flush_thread() 180 memset(¤t->thread.vstate, 0, sizeof(struct __riscv_v_ext_state)); in flush_thread() 197 memset(&dst->thread.vstate, 0, sizeof(struct __riscv_v_ext_state)); in arch_dup_task_struct()
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | vector.h | 177 static inline void riscv_v_vstate_save(struct __riscv_v_ext_state *vstate, in riscv_v_vstate_save() argument 181 __riscv_v_vstate_save(vstate, vstate->datap); in riscv_v_vstate_save() 186 static inline void riscv_v_vstate_restore(struct __riscv_v_ext_state *vstate, in riscv_v_vstate_restore() argument 190 __riscv_v_vstate_restore(vstate, vstate->datap); in riscv_v_vstate_restore() 253 riscv_v_vstate_save(&prev->thread.vstate, regs); in __switch_to_vector() 276 #define riscv_v_vstate_save(vstate, regs) do {} while (0) argument 277 #define riscv_v_vstate_restore(vstate, regs) do {} while (0) argument
|
D | entry-common.h | 19 riscv_v_vstate_restore(¤t->thread.vstate, regs); in arch_exit_to_user_mode_prepare()
|
D | processor.h | 107 struct __riscv_v_ext_state vstate; member
|
/linux-6.12.1/tools/perf/util/ |
D | pmus.c | 427 static int perf_pmus__print_pmu_events__callback(void *vstate, in perf_pmus__print_pmu_events__callback() argument 430 struct events_callback_state *state = vstate; in perf_pmus__print_pmu_events__callback()
|
/linux-6.12.1/kernel/bpf/ |
D | verifier.c | 3367 struct bpf_verifier_state *vstate = env->cur_state; in check_reg_arg() local 3368 struct bpf_func_state *state = vstate->frame[vstate->curframe]; in check_reg_arg() 4880 struct bpf_verifier_state *vstate = env->cur_state; in mark_reg_stack_read() local 4881 struct bpf_func_state *state = vstate->frame[vstate->curframe]; in mark_reg_stack_read() 4921 struct bpf_verifier_state *vstate = env->cur_state; in check_stack_read_fixed_off() local 4922 struct bpf_func_state *state = vstate->frame[vstate->curframe]; in check_stack_read_fixed_off() 5249 struct bpf_verifier_state *vstate = env->cur_state; in check_mem_region_access() local 5250 struct bpf_func_state *state = vstate->frame[vstate->curframe]; in check_mem_region_access() 5553 struct bpf_verifier_state *vstate = env->cur_state; in check_map_access() local 5554 struct bpf_func_state *state = vstate->frame[vstate->curframe]; in check_map_access() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 888 struct amd_vce_state *vstate = NULL; in amdgpu_dpm_get_vce_clock_state() local 894 vstate = pp_funcs->get_vce_clock_state(adev->powerplay.pp_handle, in amdgpu_dpm_get_vce_clock_state() 898 return vstate; in amdgpu_dpm_get_vce_clock_state()
|