Home
last modified time | relevance | path

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

/linux-5.19.10/arch/riscv/kernel/
Dasm-offsets.c41 OFFSET(TASK_THREAD_F0, task_struct, thread.fstate.f[0]); in asm_offsets()
42 OFFSET(TASK_THREAD_F1, task_struct, thread.fstate.f[1]); in asm_offsets()
43 OFFSET(TASK_THREAD_F2, task_struct, thread.fstate.f[2]); in asm_offsets()
44 OFFSET(TASK_THREAD_F3, task_struct, thread.fstate.f[3]); in asm_offsets()
45 OFFSET(TASK_THREAD_F4, task_struct, thread.fstate.f[4]); in asm_offsets()
46 OFFSET(TASK_THREAD_F5, task_struct, thread.fstate.f[5]); in asm_offsets()
47 OFFSET(TASK_THREAD_F6, task_struct, thread.fstate.f[6]); in asm_offsets()
48 OFFSET(TASK_THREAD_F7, task_struct, thread.fstate.f[7]); in asm_offsets()
49 OFFSET(TASK_THREAD_F8, task_struct, thread.fstate.f[8]); in asm_offsets()
50 OFFSET(TASK_THREAD_F9, task_struct, thread.fstate.f[9]); in asm_offsets()
[all …]
Dptrace.c56 struct __riscv_d_ext_state *fstate = &target->thread.fstate; in riscv_fpr_get() local
61 membuf_write(&to, fstate, offsetof(struct __riscv_d_ext_state, fcsr)); in riscv_fpr_get()
62 membuf_store(&to, fstate->fcsr); in riscv_fpr_get()
72 struct __riscv_d_ext_state *fstate = &target->thread.fstate; in riscv_fpr_set() local
74 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, fstate, 0, in riscv_fpr_set()
77 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, fstate, 0, in riscv_fpr_set()
79 sizeof(fstate->fcsr)); in riscv_fpr_set()
Dprocess.c149 memset(&current->thread.fstate, 0, sizeof(current->thread.fstate)); in flush_thread()
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()
Dsignal.c43 err = __copy_from_user(&current->thread.fstate, state, sizeof(*state)); in restore_fp_state()
71 err = __copy_to_user(state, &current->thread.fstate, sizeof(*state)); in save_fp_state()
/linux-5.19.10/arch/riscv/include/asm/
Dprocessor.h40 struct __riscv_d_ext_state fstate; member
48 *offset = offsetof(struct thread_struct, fstate); in arch_thread_struct_whitelist()
49 *size = sizeof_field(struct thread_struct, fstate); in arch_thread_struct_whitelist()
/linux-5.19.10/arch/powerpc/platforms/powernv/
Dpci.c533 u8 fstate = 0; in pnv_pci_config_check_eeh() local
553 fstate = phb->get_pe_state(phb, pe_no); in pnv_pci_config_check_eeh()
557 &fstate, in pnv_pci_config_check_eeh()
568 (pdn->busno << 8) | (pdn->devfn), pe_no, fstate); in pnv_pci_config_check_eeh()
571 if (fstate == OPAL_EEH_STOPPED_MMIO_FREEZE || in pnv_pci_config_check_eeh()
572 fstate == OPAL_EEH_STOPPED_DMA_FREEZE || in pnv_pci_config_check_eeh()
573 fstate == OPAL_EEH_STOPPED_MMIO_DMA_FREEZE) { in pnv_pci_config_check_eeh()
Deeh-powernv.c530 u8 fstate = 0; in pnv_eeh_get_phb_state() local
537 &fstate, in pnv_eeh_get_phb_state()
569 u8 fstate = 0; in pnv_eeh_get_pe_state() local
593 fstate = phb->get_pe_state(phb, pe->addr); in pnv_eeh_get_pe_state()
597 &fstate, in pnv_eeh_get_pe_state()
609 switch (fstate) { in pnv_eeh_get_pe_state()
640 pe->addr, fstate); in pnv_eeh_get_pe_state()
Dpci-ioda.c610 u8 fstate = 0, state; in pnv_ioda_get_pe_state() local
647 &fstate, in pnv_ioda_get_pe_state()
662 if (fstate > state) in pnv_ioda_get_pe_state()
663 state = fstate; in pnv_ioda_get_pe_state()
/linux-5.19.10/drivers/infiniband/hw/hfi1/
Dtid_rdma.c2073 struct flow_state *fstate; in tid_rdma_rcv_error() local
2127 fstate = &req->flows[req->clear_tail].flow_state; in tid_rdma_rcv_error()
2133 delta_psn(psn, fstate->resp_ib_psn), in tid_rdma_rcv_error()
2136 delta_psn(psn, fstate->resp_ib_psn); in tid_rdma_rcv_error()