/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | processor.h | 142 } uw; member 165 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist() 166 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist() 167 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist() 168 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist() 170 *offset = offsetof(struct thread_struct, uw); in arch_thread_struct_whitelist() 171 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist() 179 __tls = &(t)->thread.uw.tp2_value; \ 181 __tls = &(t)->thread.uw.tp_value; \ 185 #define task_user_tls(t) (&(t)->thread.uw [all...] |
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | processor.h | 159 } uw; member 250 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist() 251 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist() 252 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist() 253 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist() 255 *offset = offsetof(struct thread_struct, uw); in arch_thread_struct_whitelist() 256 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist() 264 __tls = &(t)->thread.uw.tp2_value; \ 266 __tls = &(t)->thread.uw.tp_value; \ 270 #define task_user_tls(t) (&(t)->thread.uw [all...] |
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | fpsimd.c | 262 * task->thread.uw.fpsimd_state; bits [max : 128] for each of Z0-Z31 are 271 * * FPSR and FPCR are always stored in task->thread.uw.fpsimd_state 290 ¤t->thread.uw.fpsimd_state.fpsr, in task_fpsimd_load() 293 fpsimd_load_state(¤t->thread.uw.fpsimd_state); in task_fpsimd_load() 436 * Transfer the FPSIMD state in task->thread.uw.fpsimd_state to 444 * task->thread.uw.fpsimd_state must be up to date before calling this 451 struct user_fpsimd_state const *fst = &task->thread.uw.fpsimd_state; in fpsimd_to_sve() 462 * task->thread.uw.fpsimd_state. 475 struct user_fpsimd_state *fst = &task->thread.uw.fpsimd_state; in sve_to_fpsimd() 544 * Ensure that task->thread.uw [all...] |
H A D | ptrace.c | 606 uregs = &target->thread.uw.fpsimd_state; in __fpr_get() 633 * Ensure target->thread.uw.fpsimd_state is up to date, so that a in __fpr_set() 638 newstate = target->thread.uw.fpsimd_state; in __fpr_set() 645 target->thread.uw.fpsimd_state = newstate; in __fpr_set() 675 return membuf_store(&to, target->thread.uw.tp_value); in tls_get() 683 unsigned long tls = target->thread.uw.tp_value; in tls_set() 689 target->thread.uw.tp_value = tls; in tls_set() 787 membuf_write(&to, &target->thread.uw.fpsimd_state.fpsr, end - start); in sve_get() 882 &target->thread.uw.fpsimd_state.fpsr, in sve_set() 1306 uregs = &target->thread.uw in compat_vfp_get() [all...] |
H A D | sys_compat.c | 92 current->thread.uw.tp_value = regs->regs[0]; in compat_arm_syscall()
|
H A D | process.c | 318 current->thread.uw.tp_value = 0; in tls_thread_flush() 423 p->thread.uw.tp_value = tls; in copy_thread() 457 write_sysreg(next->thread.uw.tp_value, tpidrro_el0); in tls_thread_switch()
|
H A D | signal32.c | 97 ¤t->thread.uw.fpsimd_state; in compat_preserve_vfp_context()
|
H A D | signal.c | 174 ¤t->thread.uw.fpsimd_state; in preserve_fpsimd_context()
|
/kernel/linux/linux-6.6/arch/arm64/kvm/ |
H A D | fpsimd.c | 25 fpsimd = &p->thread.uw.fpsimd_state; in kvm_vcpu_unshare_task_fp() 43 struct user_fpsimd_state *fpsimd = ¤t->thread.uw.fpsimd_state; in kvm_arch_vcpu_run_map_fp()
|
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | fpsimd.c | 343 * task->thread.uw.fpsimd_state; bits [max : 128] for each of Z0-Z31 are 361 * task->thread.uw.fpsimd_state should be ignored. 365 * task->thread.uw.fpsimd_state.vregs should be considered stale 368 * * FPSR and FPCR are always stored in task->thread.uw.fpsimd_state 442 ¤t->thread.uw.fpsimd_state.fpsr, in task_fpsimd_load() 446 fpsimd_load_state(¤t->thread.uw.fpsimd_state); in task_fpsimd_load() 665 * Transfer the FPSIMD state in task->thread.uw.fpsimd_state to 673 * task->thread.uw.fpsimd_state must be up to date before calling this 680 struct user_fpsimd_state const *fst = &task->thread.uw.fpsimd_state; in fpsimd_to_sve() 691 * task->thread.uw [all...] |
H A D | ptrace.c | 598 uregs = &target->thread.uw.fpsimd_state; in __fpr_get() 625 * Ensure target->thread.uw.fpsimd_state is up to date, so that a in __fpr_set() 630 newstate = target->thread.uw.fpsimd_state; in __fpr_set() 637 target->thread.uw.fpsimd_state = newstate; in __fpr_set() 669 ret = membuf_store(&to, target->thread.uw.tp_value); in tls_get() 685 tls[0] = target->thread.uw.tp_value; in tls_set() 693 target->thread.uw.tp_value = tls[0]; in tls_set() 821 membuf_write(&to, &target->thread.uw.fpsimd_state.fpsr, in sve_get_common() 972 &target->thread.uw.fpsimd_state.fpsr, in sve_set_common() 1704 uregs = &target->thread.uw in compat_vfp_get() [all...] |
H A D | sys_compat.c | 91 current->thread.uw.tp_value = regs->regs[0]; in compat_arm_syscall()
|
H A D | process.c | 256 current->thread.uw.tp_value = 0; in tls_thread_flush() 389 p->thread.uw.tp_value = tls; in copy_thread() 431 write_sysreg(next->thread.uw.tp_value, tpidrro_el0); in tls_thread_switch()
|
H A D | signal.c | 190 ¤t->thread.uw.fpsimd_state; in preserve_fpsimd_context() 1112 memset(¤t->thread.uw.fpsimd_state, 0, in setup_return() 1113 sizeof(current->thread.uw.fpsimd_state)); in setup_return()
|
H A D | signal32.c | 95 ¤t->thread.uw.fpsimd_state; in compat_preserve_vfp_context()
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | uaccess_64.h | 155 case 4: __get_kernel_asm(__gu_val, uw, addr, __gu_ret); break; \ 193 case 4: __get_user_asm(__gu_val, uw, addr, __gu_ret); break; \
|
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/ |
H A D | vgic-mmio.h | 67 #define REGISTER_DESC_WITH_BITS_PER_IRQ(off, rd, wr, ur, uw, bpi, acc) \ 76 .uaccess_write = uw, \
|
H A D | vgic-mmio-v3.c | 535 #define REGISTER_DESC_WITH_BITS_PER_IRQ_SHARED(off, rd, wr, ur, uw, bpi, acc) \ 551 .uaccess_write = uw, \
|
/kernel/linux/linux-6.6/arch/arm64/kvm/vgic/ |
H A D | vgic-mmio.h | 67 #define REGISTER_DESC_WITH_BITS_PER_IRQ(off, rd, wr, ur, uw, bpi, acc) \ 76 .uaccess_write = uw, \
|
H A D | vgic-mmio-v3.c | 600 #define REGISTER_DESC_WITH_BITS_PER_IRQ_SHARED(off, rd, wr, ur, uw, bpi, acc) \ 616 .uaccess_write = uw, \
|
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
H A D | fpsimd.c | 31 struct user_fpsimd_state *fpsimd = ¤t->thread.uw.fpsimd_state; in kvm_arch_vcpu_run_map_fp()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | uaccess_64.h | 144 case 4: __get_user_asm(__gu_val, uw, addr, __gu_ret); break; \
|
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/include/hyp/ |
H A D | switch.h | 255 struct thread_struct, uw.fpsimd_state); in __hyp_handle_fpsimd()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 2874 unsigned uw; in amdgpu_hwmon_show_power_avg() local 2896 uw = (query >> 8) * 1000000 + (query & 0xff) * 1000; in amdgpu_hwmon_show_power_avg() 2898 return snprintf(buf, PAGE_SIZE, "%u\n", uw); in amdgpu_hwmon_show_power_avg()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 2784 unsigned int uw; in amdgpu_hwmon_get_power() local 2793 uw = (query >> 8) * 1000000 + (query & 0xff) * 1000; in amdgpu_hwmon_get_power() 2795 return uw; in amdgpu_hwmon_get_power()
|