Home
last modified time | relevance | path

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

/linux-6.6.21/arch/riscv/kernel/
Dasm-offsets.c43 OFFSET(TASK_THREAD_F0, task_struct, thread.fstate.f[0]); in asm_offsets()
44 OFFSET(TASK_THREAD_F1, task_struct, thread.fstate.f[1]); in asm_offsets()
45 OFFSET(TASK_THREAD_F2, task_struct, thread.fstate.f[2]); in asm_offsets()
46 OFFSET(TASK_THREAD_F3, task_struct, thread.fstate.f[3]); in asm_offsets()
47 OFFSET(TASK_THREAD_F4, task_struct, thread.fstate.f[4]); in asm_offsets()
48 OFFSET(TASK_THREAD_F5, task_struct, thread.fstate.f[5]); in asm_offsets()
49 OFFSET(TASK_THREAD_F6, task_struct, thread.fstate.f[6]); in asm_offsets()
50 OFFSET(TASK_THREAD_F7, task_struct, thread.fstate.f[7]); in asm_offsets()
51 OFFSET(TASK_THREAD_F8, task_struct, thread.fstate.f[8]); in asm_offsets()
52 OFFSET(TASK_THREAD_F9, task_struct, thread.fstate.f[9]); in asm_offsets()
[all …]
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()
Dprocess.c148 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.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()
/linux-6.6.21/arch/riscv/include/asm/
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()
/linux-6.6.21/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.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()
/linux-6.6.21/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()
/linux-6.6.21/kernel/bpf/
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()