Home
last modified time | relevance | path

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

/openbmc/linux/arch/riscv/kernel/
H A Dasm-offsets.c342 offsetof(struct task_struct, thread.fstate.f[0]) in asm_offsets()
343 - offsetof(struct task_struct, thread.fstate.f[0]) in asm_offsets()
346 offsetof(struct task_struct, thread.fstate.f[1]) in asm_offsets()
347 - offsetof(struct task_struct, thread.fstate.f[0]) in asm_offsets()
350 offsetof(struct task_struct, thread.fstate.f[2]) in asm_offsets()
351 - offsetof(struct task_struct, thread.fstate.f[0]) in asm_offsets()
354 offsetof(struct task_struct, thread.fstate.f[3]) in asm_offsets()
355 - offsetof(struct task_struct, thread.fstate.f[0]) in asm_offsets()
358 offsetof(struct task_struct, thread.fstate.f[4]) in asm_offsets()
359 - offsetof(struct task_struct, thread.fstate.f[0]) in asm_offsets()
[all …]
H A Dptrace.c57 struct __riscv_d_ext_state *fstate = &target->thread.fstate; in riscv_fpr_get() local
62 membuf_write(&to, fstate, offsetof(struct __riscv_d_ext_state, fcsr)); in riscv_fpr_get()
63 membuf_store(&to, fstate->fcsr); in riscv_fpr_get()
73 struct __riscv_d_ext_state *fstate = &target->thread.fstate; in riscv_fpr_set() local
75 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, fstate, 0, in riscv_fpr_set()
78 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, fstate, 0, in riscv_fpr_set()
80 sizeof(fstate->fcsr)); in riscv_fpr_set()
H 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()
H A Dprocess.c146 memset(&current->thread.fstate, 0, sizeof(current->thread.fstate)); in flush_thread()
H 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()
/openbmc/linux/arch/riscv/include/asm/
H A Dprocessor.h81 struct __riscv_d_ext_state fstate; member
91 *offset = offsetof(struct thread_struct, fstate); in arch_thread_struct_whitelist()
92 *size = sizeof_field(struct thread_struct, fstate); in arch_thread_struct_whitelist()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A 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()
H A 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()
H A Dpci-ioda.c524 u8 fstate = 0, state; in pnv_ioda_get_pe_state() local
561 &fstate, in pnv_ioda_get_pe_state()
576 if (fstate > state) in pnv_ioda_get_pe_state()
577 state = fstate; in pnv_ioda_get_pe_state()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A 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()
/openbmc/linux/kernel/bpf/
H A Dverifier.c1052 struct bpf_func_state *fstate; in destroy_if_dynptr_stack_slot() local
1084 bpf_for_each_reg_in_vstate(env->cur_state, fstate, dreg, ({ in destroy_if_dynptr_stack_slot()