/linux-master/tools/perf/util/ |
H A D | evswitch.c | 34 static int evswitch__fprintf_enoent(FILE *fp, const char *evtype, const char *evname) argument 36 int printed = fprintf(fp, "ERROR: switch-%s event not found (%s)\n", evtype, evname); 38 return printed += fprintf(fp, "HINT: use 'perf evlist' to see the available event names\n"); 41 int evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp) argument 46 evswitch__fprintf_enoent(fp, "on", evswitch->on_name); 55 evswitch__fprintf_enoent(fp, "off", evswitch->off_name);
|
H A D | print_binary.c | 8 void *extra, FILE *fp) 19 printed += printer(BINARY_PRINT_DATA_BEGIN, 0, extra, fp); 22 printed += printer(BINARY_PRINT_LINE_BEGIN, -1, extra, fp); 23 printed += printer(BINARY_PRINT_ADDR, i, extra, fp); 26 printed += printer(BINARY_PRINT_NUM_DATA, data[i], extra, fp); 30 printed += printer(BINARY_PRINT_NUM_PAD, -1, extra, fp); 32 printer(BINARY_PRINT_SEP, i, extra, fp); 34 printed += printer(BINARY_PRINT_CHAR_DATA, data[j], extra, fp); 36 printed += printer(BINARY_PRINT_CHAR_PAD, i, extra, fp); 37 printed += printer(BINARY_PRINT_LINE_END, -1, extra, fp); 6 binary__fprintf(unsigned char *data, size_t len, size_t bytes_per_line, binary__fprintf_t printer, void *extra, FILE *fp) argument [all...] |
H A D | bpf_map.h | 10 int bpf_map__fprintf(struct bpf_map *map, FILE *fp); 16 static inline int bpf_map__fprintf(struct bpf_map *map __maybe_unused, FILE *fp __maybe_unused)
|
H A D | print_insn.h | 13 struct machine *machine, FILE *fp); 14 size_t sample__fprintf_insn_raw(struct perf_sample *sample, FILE *fp);
|
/linux-master/drivers/scsi/libfc/ |
H A D | fc_elsct.c | 25 * @fp: The frame to be sent 32 struct fc_frame *fp, unsigned int op, 44 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); 47 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); 51 fc_frame_free(fp); 55 fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type, 58 return fc_exch_seq_send(lport, fp, resp, NULL, arg, timer_msec); 77 * @fp: The frame pointer or possible error code 79 const char *fc_els_resp_type(struct fc_frame *fp) argument 85 if (IS_ERR(fp)) { 31 fc_elsct_send(struct fc_lport *lport, u32 did, struct fc_frame *fp, unsigned int op, void (*resp)(struct fc_seq *, struct fc_frame *, void *), void *arg, u32 timer_msec) argument [all...] |
/linux-master/arch/sparc/include/asm/ |
H A D | hibernate.h | 12 unsigned long fp; member in struct:saved_context
|
/linux-master/sound/usb/ |
H A D | stream.h | 10 struct audioformat *fp);
|
H A D | proc.c | 94 struct audioformat *fp; local 99 list_for_each_entry(fp, &subs->fmt_list, list) { 102 snd_iprintf(buffer, " Interface %d\n", fp->iface); 103 snd_iprintf(buffer, " Altset %d\n", fp->altsetting); 106 if (fp->formats & pcm_format_to_bits(fmt)) 110 snd_iprintf(buffer, " Channels: %d\n", fp->channels); 112 fp->endpoint, 113 fp->endpoint & USB_ENDPOINT_NUMBER_MASK, 114 fp->endpoint & USB_DIR_IN ? "IN" : "OUT", 115 sync_types[(fp [all...] |
H A D | stream.c | 31 static void audioformat_free(struct audioformat *fp) argument 33 list_del(&fp->list); /* unlink for avoiding double-free */ 34 kfree(fp->rate_table); 35 kfree(fp->chmap); 36 kfree(fp); 44 struct audioformat *fp, *n; local 48 list_for_each_entry_safe(fp, n, &subs->fmt_list, list) 49 audioformat_free(fp); 81 struct audioformat *fp, 100 list_add_tail(&fp 79 snd_usb_init_substream(struct snd_usb_stream *as, int stream, struct audioformat *fp, struct snd_usb_power_domain *pd) argument 133 have_dup_chmap(struct snd_usb_substream *subs, struct audioformat *fp) argument 151 struct audioformat *fp; local 212 struct audioformat *fp; local 479 __snd_usb_add_audio_stream(struct snd_usb_audio *chip, int stream, struct audioformat *fp, struct snd_usb_power_domain *pd) argument 561 snd_usb_add_audio_stream(struct snd_usb_audio *chip, int stream, struct audioformat *fp) argument 568 snd_usb_add_audio_stream_v3(struct snd_usb_audio *chip, int stream, struct audioformat *fp, struct snd_usb_power_domain *pd) argument 683 struct audioformat *fp; local 716 struct audioformat *fp; local 878 struct audioformat *fp; local 1097 struct audioformat *fp = NULL; local [all...] |
/linux-master/drivers/net/phy/ |
H A D | fixed_phy.c | 52 struct fixed_phy *fp; local 57 list_for_each_entry(fp, &fmb->phys, node) { 58 if (fp->addr == phydev->mdio.addr) { 59 fp->no_carrier = !new_carrier; 67 static void fixed_phy_update(struct fixed_phy *fp) argument 69 if (!fp->no_carrier && fp->link_gpiod) 70 fp->status.link = !!gpiod_get_value_cansleep(fp->link_gpiod); 76 struct fixed_phy *fp; local 116 struct fixed_phy *fp; local 139 struct fixed_phy *fp; local 175 struct fixed_phy *fp, *tmp; local 375 struct fixed_phy *fp, *tmp; local [all...] |
/linux-master/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_ktls.c | 6 static int fun_admin_ktls_create(struct funeth_priv *fp, unsigned int id) argument 15 return fun_submit_admin_sync_cmd(fp->fdev, &req.common, NULL, 0, 0); 23 struct funeth_priv *fp = netdev_priv(netdev); local 28 .id = cpu_to_be32(fp->ktls_id), 58 rc = fun_submit_admin_sync_cmd(fp->fdev, &req.common, &rsp, 67 atomic64_inc(&fp->tx_tls_add); 75 struct funeth_priv *fp = netdev_priv(netdev); local 88 req.id = cpu_to_be32(fp->ktls_id); 91 fun_submit_admin_sync_cmd(fp->fdev, &req.common, NULL, 0, 0); 92 atomic64_inc(&fp 98 struct funeth_priv *fp = netdev_priv(netdev); local 134 struct funeth_priv *fp = netdev_priv(netdev); local 148 fun_ktls_cleanup(struct funeth_priv *fp) argument [all...] |
H A D | funeth_ethtool.c | 206 const struct funeth_priv *fp = netdev_priv(netdev); local 217 seq = read_seqcount_begin(&fp->link_seq); 219 speed = fp->link_speed; 220 xcvr = fp->xcvr_type; 221 lp_advertising = fp->lp_advertising; 222 } while (read_seqcount_retry(&fp->link_seq, seq)); 234 ks->base.autoneg = (fp->advertising & FUN_PORT_CAP_AUTONEG) ? 238 fun_link_modes_to_ethtool(fp->port_caps, ks->link_modes.supported); 239 if (fp->port_caps & (FUN_PORT_CAP_RX_PAUSE | FUN_PORT_CAP_TX_PAUSE)) 242 fun_link_modes_to_ethtool(fp 300 fun_change_advert(struct funeth_priv *fp, u64 new_advert) argument 320 struct funeth_priv *fp = netdev_priv(netdev); local 357 const struct funeth_priv *fp = netdev_priv(netdev); local 368 struct funeth_priv *fp = netdev_priv(netdev); local 394 struct funeth_priv *fp = netdev_priv(netdev); local 406 struct funeth_priv *fp = netdev_priv(netdev); local 422 const struct funeth_priv *fp = netdev_priv(netdev); local 430 const struct funeth_priv *fp = netdev_priv(netdev); local 437 struct funeth_priv *fp = netdev_priv(netdev); local 450 const struct funeth_priv *fp = netdev_priv(dev); local 470 const struct funeth_priv *fp = netdev_priv(netdev); local 485 struct funeth_priv *fp = netdev_priv(netdev); local 557 const struct funeth_priv *fp = netdev_priv(netdev); local 578 struct funeth_priv *fp = netdev_priv(netdev); local 617 const struct funeth_priv *fp = netdev_priv(dev); local 639 const struct funeth_priv *fp = netdev_priv(netdev); local 684 get_mac_stats(const struct funeth_priv *fp, u64 *data) argument 750 const struct funeth_priv *fp = netdev_priv(netdev); local 850 const struct funeth_priv *fp = netdev_priv(netdev); local 862 const struct funeth_priv *fp = netdev_priv(netdev); local 879 const struct funeth_priv *fp = netdev_priv(netdev); local 903 const struct funeth_priv *fp = netdev_priv(netdev); local 935 const struct funeth_priv *fp = netdev_priv(netdev); local 968 const struct funeth_priv *fp = netdev_priv(netdev); local 975 const struct funeth_priv *fp = netdev_priv(netdev); local 983 const struct funeth_priv *fp = netdev_priv(netdev); local 1005 struct funeth_priv *fp = netdev_priv(netdev); local 1076 struct funeth_priv *fp = netdev_priv(netdev); local 1092 struct funeth_priv *fp = netdev_priv(netdev); local 1129 struct funeth_priv *fp = netdev_priv(netdev); local [all...] |
H A D | funeth_ktls.h | 17 void fun_ktls_cleanup(struct funeth_priv *fp); 25 static inline void fun_ktls_cleanup(struct funeth_priv *fp) argument
|
H A D | funeth_main.c | 42 static int fun_port_write_cmds(struct funeth_priv *fp, unsigned int n, argument 61 fp->netdev->dev_port); 66 return fun_submit_admin_sync_cmd(fp->fdev, &cmd.req.common, 70 int fun_port_write_cmd(struct funeth_priv *fp, int key, u64 data) argument 72 return fun_port_write_cmds(fp, 1, &key, &data); 76 static int fun_port_read_cmds(struct funeth_priv *fp, unsigned int n, argument 97 fp->netdev->dev_port); 101 rc = fun_submit_admin_sync_cmd(fp->fdev, &cmd.req.common, 108 dev_dbg(fp->fdev->dev, 110 fp 116 fun_port_read_cmd(struct funeth_priv *fp, int key, u64 *data) argument 124 const struct funeth_priv *fp = netdev_priv(netdev); local 179 struct funeth_priv *fp = netdev_priv(dev); local 226 fun_destroy_rss(struct funeth_priv *fp) argument 249 fun_alloc_qirq(struct funeth_priv *fp, unsigned int idx, int node, unsigned int xa_idx_offset) argument 284 fun_free_qirq(struct funeth_priv *fp, struct fun_irq *irq) argument 294 struct funeth_priv *fp = netdev_priv(dev); local 322 struct funeth_priv *fp = netdev_priv(dev); local 363 struct funeth_priv *fp = netdev_priv(dev); local 391 struct funeth_priv *fp = netdev_priv(dev); local 443 struct funeth_priv *fp = netdev_priv(netdev); local 532 struct funeth_priv *fp = netdev_priv(dev); local 564 struct funeth_priv *fp = netdev_priv(netdev); local 590 struct funeth_priv *fp = netdev_priv(netdev); local 600 fun_eth_create(struct funeth_priv *fp) argument 620 fun_vi_create(struct funeth_priv *fp) argument 637 fun_create_and_bind_tx(struct funeth_priv *fp, u32 sqid) argument 667 struct funeth_priv *fp = netdev_priv(dev); local 732 struct funeth_priv *fp = netdev_priv(dev); local 743 struct funeth_priv *fp = netdev_priv(dev); local 776 struct funeth_priv *fp = netdev_priv(dev); local 836 struct funeth_priv *fp = netdev_priv(netdev); local 872 struct funeth_priv *fp = netdev_priv(netdev); local 925 struct funeth_priv *fp = netdev_priv(netdev); local 936 struct funeth_priv *fp = netdev_priv(netdev); local 963 struct funeth_priv *fp = netdev_priv(netdev); local 1019 const struct funeth_priv *fp = netdev_priv(dev); local 1027 struct funeth_priv *fp = netdev_priv(dev); local 1079 struct funeth_priv *fp = netdev_priv(dev); local 1110 struct funeth_priv *fp = netdev_priv(dev); local 1134 struct funeth_priv *fp = netdev_priv(dev); local 1216 struct funeth_priv *fp = netdev_priv(dev); local 1244 struct funeth_priv *fp = netdev_priv(dev); local 1278 struct funeth_priv *fp = netdev_priv(dev); local 1305 struct funeth_priv *fp = netdev_priv(dev); local 1329 struct funeth_priv *fp = netdev_priv(dev); local 1361 fun_dflt_rss_indir(struct funeth_priv *fp, unsigned int nrx) argument 1376 struct funeth_priv *fp = netdev_priv(dev); local 1396 struct funeth_priv *fp = netdev_priv(dev); local 1434 struct funeth_priv *fp = netdev_priv(dev); local 1452 fun_free_rss(struct funeth_priv *fp) argument 1472 fun_init_stats_area(struct funeth_priv *fp) argument 1489 fun_free_stats_area(struct funeth_priv *fp) argument 1503 struct funeth_priv *fp = netdev_priv(netdev); local 1588 struct funeth_priv *fp = netdev_priv(dev); local 1627 struct funeth_priv *fp = netdev_priv(dev); local 1711 struct funeth_priv *fp; local 1823 struct funeth_priv *fp; local 1887 struct funeth_priv *fp; local [all...] |
/linux-master/tools/perf/ |
H A D | builtin-list.c | 33 /** @fp: File to write output to. */ 34 FILE *fp; member in struct:print_state 72 fprintf(print_state->fp, 79 static void wordwrap(FILE *fp, const char *s, int start, int max, int corr) argument 89 fprintf(fp, "\n%*s", start, ""); 92 n = fprintf(fp, "%s%.*s", column > start ? " " : "", wlen, s); 111 FILE *fp = print_state->fp; local 127 fprintf(fp, "%s ", event_alias); 129 fprintf(fp, " 192 FILE *fp = print_state->fp; local 270 FILE *fp; member in struct:json_print_state 278 FILE *fp = print_state->fp; local 286 FILE *fp = print_state->fp; local 291 fix_escape_fprintf(FILE *fp, struct strbuf *buf, const char *fmt, ...) argument 352 FILE *fp = print_state->fp; local 427 FILE *fp = print_state->fp; local [all...] |
/linux-master/arch/powerpc/net/ |
H A D | bpf_jit_comp.c | 62 struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp) argument 75 struct bpf_prog *org_fp = fp; 84 if (!fp->jit_requested) 93 fp = tmp_fp; 96 jit_data = fp->aux->jit_data; 100 fp = org_fp; 103 fp->aux->jit_data = jit_data; 106 flen = fp->len; 128 fp = org_fp; 136 cgctx.stack_size = round_up(fp 257 bpf_add_extable_entry(struct bpf_prog *fp, u32 *image, u32 *fimage, int pass, struct codegen_context *ctx, int insn_idx, int jmp_off, int dst_reg) argument 339 bpf_jit_free(struct bpf_prog *fp) argument [all...] |
/linux-master/arch/x86/tools/ |
H A D | relocs_common.c | 24 FILE *fp; local 67 fp = fopen(fname, "r"); 68 if (!fp) { 71 if (fread(&e_ident, 1, EI_NIDENT, fp) != EI_NIDENT) { 74 rewind(fp); 76 process_64(fp, use_real_mode, as_text, 80 process_32(fp, use_real_mode, as_text, 83 fclose(fp);
|
/linux-master/arch/mips/boot/tools/ |
H A D | relocs_main.c | 33 FILE *fp; local 71 fp = fopen(fname, "r+"); 72 if (!fp) 75 if (fread(&e_ident, 1, EI_NIDENT, fp) != EI_NIDENT) 78 rewind(fp); 80 process_64(fp, as_text, as_bin, show_reloc_info, keep_relocs); 82 process_32(fp, as_text, as_bin, show_reloc_info, keep_relocs); 83 fclose(fp);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | trace_printk.c | 18 FILE *fp = NULL; local 39 fp = fopen(TRACEFS_PIPE, "r"); 41 fp = fopen(DEBUGFS_PIPE, "r"); 42 if (!ASSERT_OK_PTR(fp, "fopen(TRACE_PIPE)")) 46 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); 59 while (getline(&buf, &buflen, fp) >= 0 || errno == EAGAIN) { 74 if (fp) 75 fclose(fp);
|
H A D | trace_vprintk.c | 18 FILE *fp = NULL; local 32 fp = fopen(TRACEFS_PIPE, "r"); 34 fp = fopen(DEBUGFS_PIPE, "r"); 35 if (!ASSERT_OK_PTR(fp, "fopen(TRACE_PIPE)")) 39 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); 52 while (getline(&buf, &buflen, fp) >= 0 || errno == EAGAIN) { 70 if (fp) 71 fclose(fp);
|
/linux-master/arch/arm64/include/asm/stacktrace/ |
H A D | common.h | 22 * @fp: The fp value in the frame record (or the real fp) 30 unsigned long fp; member in struct:unwind_state 140 unsigned long fp = state->fp; local 143 if (fp & 0x7) 146 err = unwind_consume_stack(state, fp, 16); 153 state->fp = READ_ONCE(*(unsigned long *)(fp)); [all...] |
/linux-master/arch/arm/kernel/ |
H A D | stacktrace.c | 22 * stmdb sp!, {fp, ip, lr, pc} 23 * sub fp, ip, #4 26 * ldm sp, {fp, sp, pc} 31 * stmdb {..., fp, lr} 32 * add fp, sp, #x 37 * sub sp, fp, #x 38 * ldm {..., fp, pc} 50 unsigned long fp = frame->fp; local 68 if (fp < lo 80 unsigned long fp = frame->fp; local 145 start_stack_trace(struct stackframe *frame, struct task_struct *task, unsigned long fp, unsigned long sp, unsigned long lr, unsigned long pc) argument [all...] |
/linux-master/drivers/usb/gadget/function/ |
H A D | f_phonet.c | 202 struct f_phonet *fp = ep->driver_data; local 203 struct net_device *dev = fp->dev; 227 struct f_phonet *fp; local 235 fp = port->usb; 236 if (unlikely(!fp)) /* race with carrier loss */ 239 req = fp->in_req; 246 if (unlikely(usb_ep_queue(fp->in_ep, req, GFP_ATOMIC))) 295 pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags) argument 308 err = usb_ep_queue(fp->out_ep, req, gfp_flags); 316 struct f_phonet *fp local 382 struct f_phonet *fp = func_to_pn(f); local 399 struct f_phonet *fp = func_to_pn(f); local 449 struct f_phonet *fp = func_to_pn(f); local 469 struct f_phonet *fp = func_to_pn(f); local 485 struct f_phonet *fp = func_to_pn(f); local 654 struct f_phonet *fp = func_to_pn(f); local 669 struct f_phonet *fp; local [all...] |
/linux-master/drivers/net/fddi/skfp/ |
H A D | fplustm.c | 170 smc->hw.fp.fifo.rbc_ram_start = 0 ; 171 smc->hw.fp.fifo.rbc_ram_end = 172 smc->hw.fp.fifo.rbc_ram_start + RBC_MEM_SIZE ; 174 MARW(smc->hw.fp.fifo.rbc_ram_start) ; 175 for (i = smc->hw.fp.fifo.rbc_ram_start; 176 i < (u_short) (smc->hw.fp.fifo.rbc_ram_end-1); i++) 190 outpw(FM_A(FM_RPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* RPR1 */ 191 outpw(FM_A(FM_SWPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* SWPR1 */ 192 outpw(FM_A(FM_WPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* WPR1 */ 193 outpw(FM_A(FM_EARV1),smc->hw.fp [all...] |
/linux-master/arch/csky/kernel/ |
H A D | ptrace.c | 465 void show_regs(struct pt_regs *fp) argument 483 pr_info("PC: 0x%08lx (%pS)\n", (long)fp->pc, (void *)fp->pc); 484 pr_info("LR: 0x%08lx (%pS)\n", (long)fp->lr, (void *)fp->lr); 485 pr_info("SP: 0x%08lx\n", (long)fp->usp); 486 pr_info("PSR: 0x%08lx\n", (long)fp->sr); 487 pr_info("orig_a0: 0x%08lx\n", fp->orig_a0); 488 pr_info("PT_REGS: 0x%08lx\n", (long)fp); 491 fp [all...] |