Searched refs:fp (Results 101 - 125 of 766) sorted by relevance

1234567891011>>

/linux-master/tools/perf/util/
H A Dbranch.c112 void branch_type_stat_display(FILE *fp, const struct branch_type_stat *st) argument
123 fprintf(fp, "\n#");
124 fprintf(fp, "\n# Branch Statistics:");
125 fprintf(fp, "\n#");
128 fprintf(fp, "\n%8s: %5.1f%%",
134 fprintf(fp, "\n%8s: %5.1f%%",
140 fprintf(fp, "\n%8s: %5.1f%%",
146 fprintf(fp, "\n%8s: %5.1f%%",
153 fprintf(fp, "\n%8s: %5.1f%%",
161 fprintf(fp, "\
[all...]
H A Ddsos.h36 size_t __dsos__fprintf_buildid(struct list_head *head, FILE *fp,
38 size_t __dsos__fprintf(struct list_head *head, FILE *fp);
H A Dtsc.c116 size_t perf_event__fprintf_time_conv(union perf_event *event, FILE *fp) argument
121 ret = fprintf(fp, "\n... Time Shift %" PRI_lu64 "\n", tc->time_shift);
122 ret += fprintf(fp, "... Time Muliplier %" PRI_lu64 "\n", tc->time_mult);
123 ret += fprintf(fp, "... Time Zero %" PRI_lu64 "\n", tc->time_zero);
131 ret += fprintf(fp, "... Time Cycles %" PRI_lu64 "\n",
133 ret += fprintf(fp, "... Time Mask %#" PRI_lx64 "\n",
135 ret += fprintf(fp, "... Cap Time Zero %" PRId32 "\n",
137 ret += fprintf(fp, "... Cap Time Short %" PRId32 "\n",
/linux-master/fs/smb/server/
H A Doplock.h99 u64 pid, struct ksmbd_file *fp, __u16 tid,
102 struct ksmbd_file *fp, int is_trunc);
107 void close_id_del_oplock(struct ksmbd_file *fp);
108 void smb_break_all_oplock(struct ksmbd_work *work, struct ksmbd_file *fp);
109 struct oplock_info *opinfo_get(struct ksmbd_file *fp);
120 void create_durable_v2_rsp_buf(char *cc, struct ksmbd_file *fp);
123 void create_posix_rsp_buf(char *cc, struct ksmbd_file *fp);
130 void smb_send_parent_lease_break_noti(struct ksmbd_file *fp,
132 void smb_lazy_parent_lease_break_close(struct ksmbd_file *fp);
135 struct ksmbd_file *fp,
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.h124 * @fp: pointer to the fastpath structure
128 int bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp,
433 * @fp: fastpath handle for the event
436 void bnx2x_sp_event(struct bnx2x_fastpath *fp, union eth_rx_cqe *rr_cqe);
506 struct bnx2x_fastpath *fp,
528 REG_WR_RELAXED(bp, fp->ustorm_rx_prods_offset + i * 4,
533 fp->index, bd_prod, rx_comp_prod, rx_sge_prod);
630 static inline void bnx2x_update_fpsb_idx(struct bnx2x_fastpath *fp) argument
633 fp->fp_hc_idx = fp
505 bnx2x_update_rx_prod(struct bnx2x *bp, struct bnx2x_fastpath *fp, u16 bd_prod, u16 rx_comp_prod, u16 rx_sge_prod) argument
765 bnx2x_has_tx_work(struct bnx2x_fastpath *fp) argument
776 bnx2x_has_rx_work(struct bnx2x_fastpath *fp) argument
799 bnx2x_free_rx_sge(struct bnx2x *bp, struct bnx2x_fastpath *fp, u16 index) argument
856 bnx2x_clear_sge_mask_next_elems(struct bnx2x_fastpath *fp) argument
870 bnx2x_init_sge_ring_bit_mask(struct bnx2x_fastpath *fp) argument
887 bnx2x_reuse_rx_data(struct bnx2x_fastpath *fp, u16 cons, u16 prod) argument
1010 bnx2x_free_rx_sge_range(struct bnx2x *bp, struct bnx2x_fastpath *fp, int last) argument
1027 bnx2x_set_next_page_rx_bd(struct bnx2x_fastpath *fp) argument
1047 bnx2x_stats_id(struct bnx2x_fastpath *fp) argument
1059 bnx2x_init_vlan_mac_fp_objs(struct bnx2x_fastpath *fp, bnx2x_obj_type obj_type) argument
1153 bnx2x_fp_qzone_id(struct bnx2x_fastpath *fp) argument
1161 bnx2x_init_txdata(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, u32 cid, int txq_index, __le16 *tx_cons_sb, struct bnx2x_fastpath *fp) argument
[all...]
/linux-master/tools/perf/
H A Dbuiltin-script.c332 FILE *fp; member in struct:evsel_script
351 es->fp = fopen(es->filename, "w");
352 if (es->fp == NULL)
367 fclose(es->fp);
368 es->fp = NULL;
372 static int evsel_script__fprintf(struct evsel_script *es, FILE *fp) argument
376 fstat(fileno(es->fp), &st);
377 return fprintf(fp, "[ perf script: Wrote %.3f MB %s (%" PRIu64 " samples) ]\n",
694 FILE *fp)
702 printed += fprintf(fp, " AB
693 perf_sample__fprintf_regs(struct regs_dump *regs, uint64_t mask, const char *arch, FILE *fp) argument
762 perf_sample__fprintf_iregs(struct perf_sample *sample, struct perf_event_attr *attr, const char *arch, FILE *fp) argument
769 perf_sample__fprintf_uregs(struct perf_sample *sample, struct perf_event_attr *attr, const char *arch, FILE *fp) argument
776 perf_sample__fprintf_start(struct perf_script *script, struct perf_sample *sample, struct thread *thread, struct evsel *evsel, u32 type, FILE *fp) argument
908 print_bstack_flags(FILE *fp, struct branch_entry *br) argument
919 perf_sample__fprintf_brstack(struct perf_sample *sample, struct thread *thread, struct perf_event_attr *attr, FILE *fp) argument
958 perf_sample__fprintf_brstacksym(struct perf_sample *sample, struct thread *thread, struct perf_event_attr *attr, FILE *fp) argument
996 perf_sample__fprintf_brstackoff(struct perf_sample *sample, struct thread *thread, struct perf_event_attr *attr, FILE *fp) argument
1104 map__fprintf_srccode(struct map *map, u64 addr, FILE *fp, struct srccode_state *state) argument
1165 ip__fprintf_jump(uint64_t ip, struct branch_entry *en, struct perf_insn *x, u8 *inbuf, int len, int insn, FILE *fp, int *total_cycles, struct perf_event_attr *attr, struct thread *thread) argument
1203 ip__fprintf_sym(uint64_t addr, struct thread *thread, u8 cpumode, int cpu, struct symbol **lastsym, struct perf_event_attr *attr, FILE *fp) argument
1243 perf_sample__fprintf_brstackinsn(struct perf_sample *sample, struct thread *thread, struct perf_event_attr *attr, struct machine *machine, FILE *fp) argument
1395 perf_sample__fprintf_addr(struct perf_sample *sample, struct thread *thread, struct perf_event_attr *attr, FILE *fp) argument
1453 perf_sample__fprintf_callindent(struct perf_sample *sample, struct evsel *evsel, struct thread *thread, struct addr_location *al, struct addr_location *addr_al, FILE *fp) argument
1517 perf_sample__fprintf_insn(struct perf_sample *sample, struct perf_event_attr *attr, struct thread *thread, struct machine *machine, FILE *fp) argument
1542 perf_sample__fprintf_ipc(struct perf_sample *sample, struct perf_event_attr *attr, FILE *fp) argument
1556 perf_sample__fprintf_bts(struct perf_sample *sample, struct evsel *evsel, struct thread *thread, struct addr_location *al, struct addr_location *addr_al, struct machine *machine, FILE *fp) argument
1702 perf_sample__fprintf_flags(u32 flags, FILE *fp) argument
1716 sample__fprintf_bpf_output(enum binary_printer_ops op, unsigned int val, void *extra, FILE *fp) argument
1777 perf_sample__fprintf_bpf_output(struct perf_sample *sample, FILE *fp) argument
1790 perf_sample__fprintf_spacing(int len, int spacing, FILE *fp) argument
1798 perf_sample__fprintf_pt_spacing(int len, FILE *fp) argument
1824 perf_sample__fprintf_synth_ptwrite(struct perf_sample *sample, FILE *fp) argument
1844 perf_sample__fprintf_synth_mwait(struct perf_sample *sample, FILE *fp) argument
1857 perf_sample__fprintf_synth_pwre(struct perf_sample *sample, FILE *fp) argument
1870 perf_sample__fprintf_synth_exstop(struct perf_sample *sample, FILE *fp) argument
1882 perf_sample__fprintf_synth_pwrx(struct perf_sample *sample, FILE *fp) argument
1896 perf_sample__fprintf_synth_cbr(struct perf_sample *sample, FILE *fp) argument
1914 perf_sample__fprintf_synth_psb(struct perf_sample *sample, FILE *fp) argument
1927 perf_sample__fprintf_synth_evt(struct perf_sample *sample, FILE *fp) argument
1963 perf_sample__fprintf_synth_iflag_chg(struct perf_sample *sample, FILE *fp) argument
1976 perf_sample__fprintf_synth(struct perf_sample *sample, struct evsel *evsel, FILE *fp) argument
2019 data_src__fprintf(u64 data_src, FILE *fp) argument
2040 FILE *fp; member in struct:metric_ctx
2072 perf_sample__fprint_metric(struct perf_script *script, struct thread *thread, struct evsel *evsel, struct perf_sample *sample, FILE *fp) argument
2163 FILE *fp = es->fp; local
3283 FILE *fp; local
3446 FILE *fp; local
[all...]
/linux-master/drivers/target/tcm_fc/
H A Dtfc_io.c44 struct fc_frame *fp = NULL; local
113 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len);
114 if (!fp)
116 to = fc_frame_payload_get(fp, 0);
125 fr_max_payload(fp) = cmd->sess->max_frame;
133 skb_fill_page_desc(fp_skb(fp),
134 skb_shinfo(fp_skb(fp))->nr_frags,
136 fr_len(fp) += tlen;
137 fp_skb(fp)->data_len += tlen;
138 fp_skb(fp)
195 ft_recv_write_data(struct ft_cmd *cmd, struct fc_frame *fp) argument
[all...]
/linux-master/arch/powerpc/perf/
H A Dcallchain.c50 unsigned long *fp; local
60 fp = (unsigned long *) sp;
61 next_sp = fp[0];
65 fp[STACK_INT_FRAME_MARKER_LONGS] == STACK_FRAME_REGS_MARKER) {
80 next_ip = fp[STACK_FRAME_LR_SAVE];
H A Dcallchain_64.c40 static int is_sigreturn_64_address(unsigned long nip, unsigned long fp) argument
42 if (nip == fp + offsetof(struct signal_frame_64, tramp))
75 unsigned long __user *fp, *uregs; local
83 fp = (unsigned long __user *) sp;
84 if (invalid_user_sp(sp) || read_user_stack_64(fp, &next_sp))
86 if (level > 0 && read_user_stack_64(&fp[2], &next_ip))
/linux-master/arch/sparc/kernel/
H A Dprocess_32.c147 unsigned long pc, fp; local
156 __asm__ __volatile__("mov %%fp, %0" : "=r" (_ksp));
159 fp = (unsigned long) _ksp;
162 if (fp < (task_base + sizeof(struct thread_info)) ||
163 fp >= (task_base + (PAGE_SIZE << 1)))
165 rw = (struct reg_window32 *) fp;
169 fp = rw->ins[6];
221 unsigned long size, fp; local
225 if (get_user(tmp, &src->fp))
228 fp
369 unsigned long pc, fp, bias = 0; local
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dget_branch_snapshot.c14 FILE *fp; local
16 fp = fopen("/proc/cpuinfo", "r");
17 if (!fp)
20 while (getline(&line, &len, fp) != -1) {
29 fclose(fp);
H A Darg_parsing.c120 FILE *fp; local
128 fp = fdopen(fd, "w");
129 if (!ASSERT_NEQ(fp, NULL, "fdopen tmp")) {
134 fprintf(fp, "# comment\n");
135 fprintf(fp, " test_with_spaces \n");
136 fprintf(fp, "testA/subtest # comment\n");
137 fprintf(fp, "testB#comment with no space\n");
138 fprintf(fp, "testB # duplicate\n");
139 fprintf(fp, "testA/subtest # subtest duplicate\n");
140 fprintf(fp, "test
[all...]
/linux-master/sound/usb/
H A Dpcm.c95 const struct audioformat *fp; local
99 list_for_each_entry(fp, fmt_list_head, list) {
101 if (!(fp->formats & pcm_format_to_bits(format)))
103 if (fp->channels != channels)
106 if (rate < fp->rate_min || rate > fp->rate_max)
108 if (!(fp->rates & SNDRV_PCM_RATE_CONTINUOUS)) {
110 for (i = 0; i < fp->nr_rates; i++)
111 if (fp->rate_table[i] == rate)
113 if (i >= fp
162 const struct audioformat *fp; local
724 hw_check_valid_format(struct snd_usb_substream *subs, struct snd_pcm_hw_params *params, const struct audioformat *fp) argument
820 const struct audioformat *fp; local
884 const struct audioformat *fp; local
925 const struct audioformat *fp; local
964 const struct audioformat *fp; local
993 const struct audioformat *fp; local
1038 const struct audioformat *fp; local
1084 const struct audioformat *fp; local
[all...]
H A Dquirks.c116 struct audioformat *fp)
120 stream = (fp->endpoint & USB_DIR_IN) ?
123 snd_usb_audioformat_set_sync_ep(chip, fp);
125 err = snd_usb_add_audio_stream(chip, stream, fp);
129 err = snd_usb_add_endpoint(chip, fp->endpoint,
134 if (fp->sync_ep) {
135 err = snd_usb_add_endpoint(chip, fp->sync_ep,
136 fp->implicit_fb ?
154 struct audioformat *fp; local
160 fp
115 add_audio_stream_from_fixed_fmt(struct snd_usb_audio *chip, struct audioformat *fp) argument
410 struct audioformat *fp; local
1643 snd_usb_is_big_endian_format(struct snd_usb_audio *chip, const struct audioformat *fp) argument
1855 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip, struct audioformat *fp, unsigned int sample_bytes) argument
1954 snd_usb_audioformat_attributes_quirk(struct snd_usb_audio *chip, struct audioformat *fp, int stream) argument
[all...]
/linux-master/include/linux/
H A Dbpf_mprog.h81 * struct bpf_mprog_fp *fp;
88 * bpf_mprog_foreach_prog(entry, fp, prog) {
115 #define bpf_mprog_foreach_tuple(entry, fp, cp, t) \
116 for (fp = &entry->fp_items[0], cp = &entry->parent->cp_items[0];\
118 t.prog = READ_ONCE(fp->prog); \
122 fp++, cp++)
124 #define bpf_mprog_foreach_prog(entry, fp, p) \
125 for (fp = &entry->fp_items[0]; \
126 (p = READ_ONCE(fp->prog)); \
127 fp
205 const struct bpf_mprog_fp *fp; local
304 bpf_mprog_read(struct bpf_mprog_entry *entry, u32 idx, struct bpf_mprog_fp **fp, struct bpf_mprog_cp **cp) argument
312 bpf_mprog_write(struct bpf_mprog_fp *fp, struct bpf_mprog_cp *cp, struct bpf_tuple *tuple) argument
[all...]
/linux-master/drivers/hid/
H A Dhid-roccat-common.h40 ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj,
43 ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj,
48 static ssize_t roccat_common2_sysfs_write_ ## thingy(struct file *fp, \
52 return roccat_common2_sysfs_write(fp, kobj, buf, off, count, \
57 static ssize_t roccat_common2_sysfs_read_ ## thingy(struct file *fp, \
61 return roccat_common2_sysfs_read(fp, kobj, buf, off, count, \
/linux-master/arch/arm64/kernel/
H A Dperf_callchain.c14 struct frame_tail __user *fp; member in struct:frame_tail
49 if (tail >= buftail.fp)
52 return buftail.fp;
58 * length saved register structure. The fp points at the end of this
60 * (struct compat_frame_tail *)(xxx->fp)-1
65 compat_uptr_t fp; /* a (struct compat_frame_tail *) in compat mode */ member in struct:compat_frame_tail
95 compat_ptr(buftail.fp))
98 return (struct compat_frame_tail __user *)compat_ptr(buftail.fp) - 1;
/linux-master/drivers/scsi/libfc/
H A Dfc_libfc.c147 * @fp: reply frame containing header to be filled in
154 void fc_fill_hdr(struct fc_frame *fp, const struct fc_frame *in_fp, argument
162 fh = __fc_frame_header_get(fp);
166 fill = -fr_len(fp) & 3;
169 skb_put_zero(fp_skb(fp), fill);
172 fr_eof(fp) = FC_EOF_T;
174 WARN_ON(fr_len(fp) % 4 != 0); /* no pad to non last frame */
175 fr_eof(fp) = FC_EOF_N;
191 fr_seq(fp) = sp;
198 fr_sof(fp)
210 fc_fill_reply_hdr(struct fc_frame *fp, const struct fc_frame *in_fp, enum fc_rctl r_ctl, u32 parm_offset) argument
[all...]
H A Dfc_fcp.c436 struct fc_frame *fp; local
438 fp = fc_frame_alloc(lport, len);
439 if (likely(fp))
440 return fp;
470 * @fp: The data frame
472 static void fc_fcp_recv_data(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument
487 fh = fc_frame_header_get(fp);
490 len = fr_len(fp) - sizeof(*fh);
491 buf = fc_frame_payload_get(fp, 0);
508 if ((fr_flags(fp)
595 struct fc_frame *fp = NULL; local
736 fc_fcp_abts_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument
773 fc_fcp_recv(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument
848 fc_fcp_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument
1162 fc_fcp_cmd_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp, void (*resp)(struct fc_seq *, struct fc_frame *fp, void *arg)) argument
1167 struct fc_frame *fp; local
1215 fc_fcp_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument
1362 fc_tm_done(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument
1458 struct fc_frame *fp; local
1504 fc_fcp_rec_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument
1648 fc_fcp_rec_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument
1722 struct fc_frame *fp; local
1768 fc_fcp_srr_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument
1815 fc_fcp_srr_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument
[all...]
/linux-master/security/selinux/ss/
H A Dpolicydb.h321 extern int policydb_read(struct policydb *p, void *fp);
322 extern int policydb_write(struct policydb *p, void *fp);
352 void *fp; member in struct:policy_data
355 static inline int next_entry(void *buf, struct policy_file *fp, size_t bytes) argument
357 if (bytes > fp->len)
360 memcpy(buf, fp->data, bytes);
361 fp->data += bytes;
362 fp->len -= bytes;
367 struct policy_file *fp)
374 if (len > fp
366 put_entry(const void *buf, size_t bytes, size_t num, struct policy_file *fp) argument
[all...]
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_main.c528 static void qede_fp_sb_dump(struct qede_dev *edev, struct qede_fastpath *fp) argument
530 char *p_sb = (char *)fp->sb_info->sb_virt;
544 struct qede_fastpath *fp, struct qede_tx_queue *txq)
548 /* Dump txq/fp/sb ids etc. other metadata */
551 fp->id, fp->sb_info->igu_sb_id, txq->index, txq->ndev_txq_id, txq->cos,
562 qede_tx_log_print(struct qede_dev *edev, struct qede_fastpath *fp, struct qede_tx_queue *txq) argument
568 qede_fp_sb_dump(edev, fp);
571 rc = edev->ops->common->get_sb_info(edev->cdev, fp->sb_info, (u16)fp
543 qede_txq_fp_log_metadata(struct qede_dev *edev, struct qede_fastpath *fp, struct qede_tx_queue *txq) argument
600 struct qede_fastpath *fp; local
953 struct qede_fastpath *fp; local
981 struct qede_fastpath *fp; local
1700 qede_free_mem_fp(struct qede_dev *edev, struct qede_fastpath *fp) argument
1721 qede_alloc_mem_fp(struct qede_dev *edev, struct qede_fastpath *fp) argument
1760 struct qede_fastpath *fp = &edev->fp_array[i]; local
1772 struct qede_fastpath *fp = &edev->fp_array[queue_id]; local
1830 struct qede_fastpath *fp; local
1843 struct qede_fastpath *fp; local
1987 struct qede_fastpath *fp = &edev->fp_array[i]; local
2024 struct qede_fastpath *fp = (struct qede_fastpath *)cookie; local
2104 struct qede_fastpath *fp; local
2188 qede_start_txq(struct qede_dev *edev, struct qede_fastpath *fp, struct qede_tx_queue *txq, u8 rss_id, u16 sb_idx) argument
2281 struct qede_fastpath *fp = &edev->fp_array[i]; local
2848 struct qede_fastpath *fp; local
[all...]
/linux-master/arch/mips/boot/tools/
H A Drelocs.h42 void process_32(FILE *fp, int as_text, int as_bin,
44 void process_64(FILE *fp, int as_text, int as_bin,
/linux-master/drivers/gpu/drm/i915/
H A Di915_fixed.h27 uint_fixed_16_16_t fp = { .val = val << 16 }; local
31 return fp;
34 static inline u32 fixed16_to_u32_round_up(uint_fixed_16_16_t fp) argument
36 return DIV_ROUND_UP(fp.val, 1 << 16);
39 static inline u32 fixed16_to_u32(uint_fixed_16_16_t fp) argument
41 return fp.val >> 16;
62 uint_fixed_16_16_t fp = { .val = (u32)val }; local
66 return fp;
/linux-master/arch/x86/tools/
H A Drelocs.h33 void process_32(FILE *fp, int use_real_mode, int as_text,
36 void process_64(FILE *fp, int use_real_mode, int as_text,
/linux-master/arch/nios2/include/asm/
H A Dptrace.h40 unsigned long fp; /* Frame pointer */ member in struct:pt_regs
61 unsigned long fp; member in struct:switch_stack

Completed in 457 milliseconds

1234567891011>>