Home
last modified time | relevance | path

Searched refs:user_fpsimd_state (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.6/arch/arm64/include/asm/
Dfpsimd.h49 extern void fpsimd_save_state(struct user_fpsimd_state *state);
50 extern void fpsimd_load_state(struct user_fpsimd_state *state);
58 extern void fpsimd_update_current_state(struct user_fpsimd_state const *state);
62 struct user_fpsimd_state *st;
Dkvm_hyp.h110 void __fpsimd_save_state(struct user_fpsimd_state *fp_regs);
111 void __fpsimd_restore_state(struct user_fpsimd_state *fp_regs);
Delf.h152 typedef struct user_fpsimd_state elf_fpregset_t;
Dprocessor.h158 struct user_fpsimd_state fpsimd_state;
Dkvm_host.h426 struct user_fpsimd_state fp_regs;
541 struct user_fpsimd_state *host_fpsimd_state; /* hyp VA */
/Linux-v6.6/tools/testing/selftests/arm64/fp/
Dsve-ptrace.c93 static int get_fpsimd(pid_t pid, struct user_fpsimd_state *fpsimd) in get_fpsimd()
102 static int set_fpsimd(pid_t pid, struct user_fpsimd_state *fpsimd) in set_fpsimd()
275 struct user_fpsimd_state *fpsimd, new_fpsimd; in ptrace_sve_fpsimd()
293 fpsimd = (struct user_fpsimd_state *)((char *)sve + in ptrace_sve_fpsimd()
431 struct user_fpsimd_state fpsimd_state; in ptrace_set_sve_get_fpsimd_data()
515 struct user_fpsimd_state write_fpsimd; in ptrace_set_fpsimd_get_sve_data()
/Linux-v6.6/arch/arm64/kvm/
Dfpsimd.c20 struct user_fpsimd_state *fpsimd; in kvm_vcpu_unshare_task_fp()
43 struct user_fpsimd_state *fpsimd = &current->thread.uw.fpsimd_state; in kvm_arch_vcpu_run_map_fp()
/Linux-v6.6/arch/arm64/include/uapi/asm/
Dptrace.h95 struct user_fpsimd_state { struct
169 #define SVE_PT_FPSIMD_SIZE(vq, flags) (sizeof(struct user_fpsimd_state))
Dkvm.h59 struct user_fpsimd_state fp_regs;
/Linux-v6.6/arch/arm64/kernel/
Dfpsimd.c652 static void __fpsimd_to_sve(void *sst, struct user_fpsimd_state const *fst, in __fpsimd_to_sve()
680 struct user_fpsimd_state const *fst = &task->thread.uw.fpsimd_state; in fpsimd_to_sve()
704 struct user_fpsimd_state *fst = &task->thread.uw.fpsimd_state; in sve_to_fpsimd()
836 struct user_fpsimd_state const *fst = &task->thread.uw.fpsimd_state; in sve_sync_from_fpsimd_zeropad()
1804 void fpsimd_update_current_state(struct user_fpsimd_state const *state) in fpsimd_update_current_state()
1942 static DEFINE_PER_CPU(struct user_fpsimd_state, efi_fpsimd_state);
Dsignal32.c94 struct user_fpsimd_state const *fpsimd = in compat_preserve_vfp_context()
144 struct user_fpsimd_state fpsimd; in compat_restore_vfp_context()
Dptrace.c594 struct user_fpsimd_state *uregs; in __fpr_get()
622 struct user_fpsimd_state newstate; in __fpr_set()
1453 .n = sizeof(struct user_fpsimd_state) / sizeof(u32),
1696 struct user_fpsimd_state *uregs; in compat_vfp_get()
1722 struct user_fpsimd_state *uregs; in compat_vfp_set()
Dsignal.c189 struct user_fpsimd_state const *fpsimd = in preserve_fpsimd_context()
207 struct user_fpsimd_state fpsimd; in restore_fpsimd_context()
277 struct user_fpsimd_state fpsimd; in restore_sve_fpsimd_context()
/Linux-v6.6/tools/arch/arm64/include/uapi/asm/
Dkvm.h59 struct user_fpsimd_state fp_regs;
/Linux-v6.6/Documentation/arch/arm64/
Dsve.rst87 byte offset i. (struct fpsimd_context, struct user_fpsimd_state).
339 The payload is of type struct user_fpsimd_state, with the same