Home
last modified time | relevance | path

Searched refs:to_fp (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/tools/perf/util/
Dcopyfile.c19 FILE *from_fp, *to_fp; in slow_copyfile() local
28 to_fp = fopen(to, "w"); in slow_copyfile()
29 if (to_fp == NULL) in slow_copyfile()
33 if (fputs(line, to_fp) == EOF) in slow_copyfile()
37 fclose(to_fp); in slow_copyfile()
/linux-5.19.10/arch/x86/um/
Dsignal.c238 struct _xstate __user *to_fp, struct pt_regs *regs, in copy_sc_to_user() argument
285 sc.fpstate = (unsigned long)to_fp; in copy_sc_to_user()
304 err = convert_fxsr_to_user(&to_fp->fpstate, &fpx); in copy_sc_to_user()
308 err |= __put_user(fpx.swd, &to_fp->fpstate.status); in copy_sc_to_user()
309 err |= __put_user(X86_FXSR_MAGIC, &to_fp->fpstate.magic); in copy_sc_to_user()
313 if (copy_to_user(&to_fp->fpstate._fxsr_env[0], &fpx, in copy_sc_to_user()
319 if (copy_to_user(to_fp, regs->regs.fp, sizeof(struct _xstate))) in copy_sc_to_user()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c91 struct bnx2x_fastpath *to_fp = &bp->fp[to]; in bnx2x_move_fp() local
98 struct bnx2x_agg_info *old_tpa_info = to_fp->tpa_info; in bnx2x_move_fp()
101 from_fp->napi = to_fp->napi; in bnx2x_move_fp()
104 memcpy(to_fp, from_fp, sizeof(*to_fp)); in bnx2x_move_fp()
105 to_fp->index = to; in bnx2x_move_fp()
110 to_fp->tpa_info = old_tpa_info; in bnx2x_move_fp()
134 to_fp->txdata_ptr[0] = &bp->bnx2x_txq[new_txdata_index]; in bnx2x_move_fp()