Home
last modified time | relevance | path

Searched refs:fstate (Results 1 – 9 of 9) sorted by relevance

/arch/riscv/kernel/
A Dasm-offsets.c356 offsetof(struct task_struct, thread.fstate.f[0]) in asm_offsets()
357 - offsetof(struct task_struct, thread.fstate.f[0]) in asm_offsets()
360 offsetof(struct task_struct, thread.fstate.f[1]) in asm_offsets()
361 - offsetof(struct task_struct, thread.fstate.f[0]) in asm_offsets()
364 offsetof(struct task_struct, thread.fstate.f[2]) in asm_offsets()
365 - offsetof(struct task_struct, thread.fstate.f[0]) in asm_offsets()
368 offsetof(struct task_struct, thread.fstate.f[3]) in asm_offsets()
369 - offsetof(struct task_struct, thread.fstate.f[0]) in asm_offsets()
372 offsetof(struct task_struct, thread.fstate.f[4]) in asm_offsets()
373 - offsetof(struct task_struct, thread.fstate.f[0]) in asm_offsets()
[all …]
A Dptrace.c60 struct __riscv_d_ext_state *fstate = &target->thread.fstate; in riscv_fpr_get() local
65 membuf_write(&to, fstate, offsetof(struct __riscv_d_ext_state, fcsr)); in riscv_fpr_get()
66 membuf_store(&to, fstate->fcsr); in riscv_fpr_get()
76 struct __riscv_d_ext_state *fstate = &target->thread.fstate; in riscv_fpr_set() local
78 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, fstate, 0, in riscv_fpr_set()
81 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, fstate, 0, in riscv_fpr_set()
83 sizeof(fstate->fcsr)); in riscv_fpr_set()
A Dcompat_signal.c56 err = __copy_from_user(&current->thread.fstate, state, sizeof(*state)); in compat_restore_fp_state()
84 err = __copy_to_user(state, &current->thread.fstate, sizeof(*state)); in compat_save_fp_state()
A Dprocess.c177 memset(&current->thread.fstate, 0, sizeof(current->thread.fstate)); in flush_thread()
A Dsignal.c48 err = __copy_from_user(&current->thread.fstate, state, sizeof(*state)); in restore_fp_state()
63 err = __copy_to_user(state, &current->thread.fstate, sizeof(*state)); in save_fp_state()
/arch/riscv/include/asm/
A Dprocessor.h110 struct __riscv_d_ext_state fstate; member
131 *offset = offsetof(struct thread_struct, fstate); in arch_thread_struct_whitelist()
132 *size = sizeof_field(struct thread_struct, fstate); in arch_thread_struct_whitelist()
/arch/powerpc/platforms/powernv/
A Dpci.c530 u8 fstate = 0; in pnv_pci_config_check_eeh() local
550 fstate = phb->get_pe_state(phb, pe_no); in pnv_pci_config_check_eeh()
554 &fstate, in pnv_pci_config_check_eeh()
565 (pdn->busno << 8) | (pdn->devfn), pe_no, fstate); in pnv_pci_config_check_eeh()
568 if (fstate == OPAL_EEH_STOPPED_MMIO_FREEZE || in pnv_pci_config_check_eeh()
569 fstate == OPAL_EEH_STOPPED_DMA_FREEZE || in pnv_pci_config_check_eeh()
570 fstate == OPAL_EEH_STOPPED_MMIO_DMA_FREEZE) { in pnv_pci_config_check_eeh()
A Deeh-powernv.c529 u8 fstate = 0; in pnv_eeh_get_phb_state() local
536 &fstate, in pnv_eeh_get_phb_state()
568 u8 fstate = 0; in pnv_eeh_get_pe_state() local
592 fstate = phb->get_pe_state(phb, pe->addr); in pnv_eeh_get_pe_state()
596 &fstate, in pnv_eeh_get_pe_state()
608 switch (fstate) { in pnv_eeh_get_pe_state()
639 pe->addr, fstate); in pnv_eeh_get_pe_state()
A Dpci-ioda.c522 u8 fstate = 0, state; in pnv_ioda_get_pe_state() local
559 &fstate, in pnv_ioda_get_pe_state()
574 if (fstate > state) in pnv_ioda_get_pe_state()
575 state = fstate; in pnv_ioda_get_pe_state()

Completed in 24 milliseconds