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

1234567891011>>

/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/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))
H A Dcallchain_32.c58 static int is_sigreturn_32_address(unsigned int nip, unsigned int fp) argument
60 if (nip == fp + offsetof(struct signal_frame_32, mctx.mc_pad))
68 static int is_rt_sigreturn_32_address(unsigned int nip, unsigned int fp) argument
70 if (nip == fp + offsetof(struct rt_signal_frame_32,
140 unsigned int __user *fp, *uregs; local
148 fp = (unsigned int __user *) (unsigned long) sp;
149 if (invalid_user_sp(sp) || read_user_stack_32(fp, &next_sp))
151 if (level > 0 && read_user_stack_32(&fp[1], &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
1640 snd_usb_is_big_endian_format(struct snd_usb_audio *chip, const struct audioformat *fp) argument
1895 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip, struct audioformat *fp, unsigned int sample_bytes) argument
1994 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/tools/testing/selftests/drivers/net/hw/
H A Dpp_alloc_fail.py15 with open("/sys/kernel/debug/fail_function/" + key, "w") as fp:
16 fp.write(str(value) + "\n")
24 with open("/sys/kernel/debug/fail_function/inject", "w") as fp:
25 fp.write("page_pool_alloc_pages\n")
40 with open("/sys/kernel/debug/fail_function/inject", "w") as fp:
41 fp.write("\n")
/linux-master/arch/arm64/kernel/
H A Dstacktrace.c61 state->common.fp = regs->regs[29];
78 state->common.fp = (unsigned long)__builtin_frame_address(1);
98 state->common.fp = thread_saved_fp(task);
111 (void *)state->common.fp);
122 (void *)state->common.fp,
135 * records (e.g. a cycle), determined based on the location and fp value of A
136 * and the location (but not the fp value) of B.
142 unsigned long fp = state->common.fp; local
146 if (fp
284 arch_bpf_stack_walk(bool (consume_entry)void *cookie, u64 ip, u64 sp, u64 fp), void *cookie) argument
332 struct frame_tail __user *fp; member in struct:frame_tail
384 compat_uptr_t fp; /* a (struct compat_frame_tail *) in compat mode */ member in struct:compat_frame_tail
[all...]
/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/tools/perf/util/
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/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
/linux-master/arch/arm/include/asm/
H A Dstacktrace.h13 unsigned long fp; member in struct:stackframe
32 frame->fp = frame_pointer(regs);
/linux-master/arch/alpha/include/asm/
H A Dfpu.h20 ret = current_thread_info()->fp[31];
51 current_thread_info()->fp[31] = val;

Completed in 224 milliseconds

1234567891011>>