Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A 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()
/openbmc/linux/arch/x86/um/
H A 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()
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c89 struct bnx2x_fastpath *to_fp = &bp->fp[to]; in bnx2x_move_fp() local
96 struct bnx2x_agg_info *old_tpa_info = to_fp->tpa_info; in bnx2x_move_fp()
99 from_fp->napi = to_fp->napi; in bnx2x_move_fp()
102 memcpy(to_fp, from_fp, sizeof(*to_fp)); in bnx2x_move_fp()
103 to_fp->index = to; in bnx2x_move_fp()
108 to_fp->tpa_info = old_tpa_info; in bnx2x_move_fp()
132 to_fp->txdata_ptr[0] = &bp->bnx2x_txq[new_txdata_index]; in bnx2x_move_fp()