Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 25 of 695) sorted by relevance

12345678910>>...28

/linux/drivers/s390/char/
H A Dfs3270.c53 static inline int fs3270_working(struct fs3270 *fp) in fs3270_working() argument
59 return fp->active && raw3270_request_final(fp->init); in fs3270_working()
64 struct fs3270 *fp; in fs3270_do_io() local
67 fp = (struct fs3270 *)view; in fs3270_do_io()
69 rq->callback_data = &fp->wait; in fs3270_do_io()
72 if (!fs3270_working(fp)) { in fs3270_do_io()
74 rc = wait_event_interruptible(fp->wait, in fs3270_do_io()
75 fs3270_working(fp)); in fs3270_do_io()
82 wait_event(fp->wait, raw3270_request_final(rq)); in fs3270_do_io()
93 struct fs3270 *fp; in fs3270_reset_callback() local
[all …]
H A Dhmcdrv_dev.c56 static int hmcdrv_dev_open(struct inode *inode, struct file *fp);
57 static int hmcdrv_dev_release(struct inode *inode, struct file *fp);
58 static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence);
59 static ssize_t hmcdrv_dev_read(struct file *fp, char __user *ubuf,
61 static ssize_t hmcdrv_dev_write(struct file *fp, const char __user *ubuf,
114 static int hmcdrv_dev_open(struct inode *inode, struct file *fp) in hmcdrv_dev_open() argument
120 if (fp->f_flags & O_NONBLOCK) in hmcdrv_dev_open()
126 if ((fp->f_flags & O_ACCMODE) == O_RDONLY) in hmcdrv_dev_open()
135 fp->private_data = NULL; /* no command yet */ in hmcdrv_dev_open()
140 pr_debug("open file '/dev/%pD' with return code %d\n", fp, rc); in hmcdrv_dev_open()
[all …]
/linux/drivers/net/fddi/
H A Ddefza.c212 static inline void fza_regs_dump(struct fza_private *fp) in fza_regs_dump() argument
214 pr_debug("%s: iomem registers:\n", fp->name); in fza_regs_dump()
215 pr_debug(" reset: 0x%04x\n", readw_o(&fp->regs->reset)); in fza_regs_dump()
216 pr_debug(" interrupt event: 0x%04x\n", readw_u(&fp->regs->int_event)); in fza_regs_dump()
217 pr_debug(" status: 0x%04x\n", readw_u(&fp->regs->status)); in fza_regs_dump()
218 pr_debug(" interrupt mask: 0x%04x\n", readw_u(&fp->regs->int_mask)); in fza_regs_dump()
219 pr_debug(" control A: 0x%04x\n", readw_u(&fp->regs->control_a)); in fza_regs_dump()
220 pr_debug(" control B: 0x%04x\n", readw_u(&fp->regs->control_b)); in fza_regs_dump()
223 static inline void fza_do_reset(struct fza_private *fp) in fza_do_reset() argument
226 writew_o(FZA_RESET_INIT, &fp->regs->reset); in fza_do_reset()
[all …]
/linux/fs/smb/server/
H A Dvfs_cache.c92 static struct ksmbd_inode *ksmbd_inode_lookup(struct ksmbd_file *fp) in ksmbd_inode_lookup() argument
94 return __ksmbd_inode_lookup(fp->filp->f_path.dentry); in ksmbd_inode_lookup()
125 bool ksmbd_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_inode_pending_delete() argument
127 return (fp->f_ci->m_flags & (S_DEL_PENDING | S_DEL_ON_CLS)); in ksmbd_inode_pending_delete()
130 void ksmbd_set_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_set_inode_pending_delete() argument
132 fp->f_ci->m_flags |= S_DEL_PENDING; in ksmbd_set_inode_pending_delete()
135 void ksmbd_clear_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_clear_inode_pending_delete() argument
137 fp->f_ci->m_flags &= ~S_DEL_PENDING; in ksmbd_clear_inode_pending_delete()
140 void ksmbd_fd_set_delete_on_close(struct ksmbd_file *fp, in ksmbd_fd_set_delete_on_close() argument
143 if (ksmbd_stream_fd(fp)) { in ksmbd_fd_set_delete_on_close()
[all …]
/linux/sound/usb/
H A Dformat.c27 * @fp: audioformat record
32 struct audioformat *fp, in parse_audio_format_i_type() argument
38 switch (fp->protocol) { in parse_audio_format_i_type()
45 fp->iface, fp->altsetting, format); in parse_audio_format_i_type()
62 fp->dsd_raw = true; in parse_audio_format_i_type()
87 fp->fmt_bits = sample_width; in parse_audio_format_i_type()
93 fp->iface, fp->altsetting); in parse_audio_format_i_type()
105 fp in parse_audio_format_i_type()
156 set_fixed_rate(struct audioformat * fp,int rate,int rate_bits) set_fixed_rate() argument
171 set_rate_table_min_max(struct audioformat * fp) set_rate_table_min_max() argument
197 parse_audio_format_rates_v1(struct snd_usb_audio * chip,struct audioformat * fp,unsigned char * fmt,int offset) parse_audio_format_rates_v1() argument
278 s1810c_valid_sample_rate(struct audioformat * fp,unsigned int rate) s1810c_valid_sample_rate() argument
303 focusrite_valid_sample_rate(struct snd_usb_audio * chip,struct audioformat * fp,unsigned int rate) focusrite_valid_sample_rate() argument
350 parse_uac2_sample_rate_range(struct snd_usb_audio * chip,struct audioformat * fp,int nr_triplets,const unsigned char * data) parse_uac2_sample_rate_range() argument
411 line6_parse_audio_format_rates_quirk(struct snd_usb_audio * chip,struct audioformat * fp) line6_parse_audio_format_rates_quirk() argument
466 validate_sample_rate_table_v2v3(struct snd_usb_audio * chip,struct audioformat * fp,int clock) validate_sample_rate_table_v2v3() argument
542 parse_audio_format_rates_v2v3(struct snd_usb_audio * chip,struct audioformat * fp) parse_audio_format_rates_v2v3() argument
647 parse_audio_format_i(struct snd_usb_audio * chip,struct audioformat * fp,u64 format,void * _fmt) parse_audio_format_i() argument
730 parse_audio_format_ii(struct snd_usb_audio * chip,struct audioformat * fp,u64 format,void * _fmt) parse_audio_format_ii() argument
780 snd_usb_parse_audio_format(struct snd_usb_audio * chip,struct audioformat * fp,u64 format,struct uac_format_type_i_continuous_descriptor * fmt,int stream) snd_usb_parse_audio_format() argument
822 snd_usb_parse_audio_format_v3(struct snd_usb_audio * chip,struct audioformat * fp,struct uac3_as_header_descriptor * as,int stream) snd_usb_parse_audio_format_v3() argument
[all...]
H A Dstream.c31 static void audioformat_free(struct audioformat *fp) in audioformat_free() argument
33 list_del(&fp->list); /* unlink for avoiding double-free */ in audioformat_free()
34 kfree(fp->rate_table); in audioformat_free()
35 kfree(fp->chmap); in audioformat_free()
36 kfree(fp); in audioformat_free()
44 struct audioformat *fp, *n; in free_substream() local
48 list_for_each_entry_safe(fp, n, &subs->fmt_list, list) in free_substream()
49 audioformat_free(fp); in free_substream()
81 struct audioformat *fp, in snd_usb_init_substream() argument
100 list_add_tail(&fp->list, &subs->fmt_list); in snd_usb_init_substream()
[all …]
/linux/include/scsi/
H A Dfc_frame.h50 #define fp_skb(fp) (&((fp)->skb)) argument
51 #define fr_hdr(fp) ((fp)->skb.data) argument
52 #define fr_len(fp) ((fp)->skb.len) argument
53 #define fr_cb(fp) ((struct fcoe_rcv_info *)&((fp)->skb.cb[0])) argument
54 #define fr_dev(fp) (fr_cb(fp)->fr_dev) argument
55 #define fr_seq(fp) (fr_cb(fp)->fr_seq) argument
56 #define fr_sof(fp) (fr_cb(fp)->fr_sof) argument
57 #define fr_eof(fp) (fr_cb(fp)->fr_eof) argument
58 #define fr_flags(fp) (fr_cb(fp)->fr_flags) argument
59 #define fr_encaps(fp) (fr_cb(fp)->fr_encaps) argument
[all …]
/linux/kernel/trace/
H A Dfprobe.c29 struct fprobe *fp; in __fprobe_handler() local
33 fp = container_of(ops, struct fprobe, ops); in __fprobe_handler()
35 if (fp->exit_handler) { in __fprobe_handler()
36 rh = rethook_try_get(fp->rethook); in __fprobe_handler()
38 fp->nmissed++; in __fprobe_handler()
44 if (fp->entry_data_size) in __fprobe_handler()
48 if (fp->entry_handler) in __fprobe_handler()
49 ret = fp->entry_handler(fp, ip, parent_ip, ftrace_get_regs(fregs), entry_data); in __fprobe_handler()
63 struct fprobe *fp; in fprobe_handler() local
66 fp = container_of(ops, struct fprobe, ops); in fprobe_handler()
[all …]
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_ethtool.c206 const struct funeth_priv *fp = netdev_priv(netdev); in fun_get_link_ksettings() local
217 seq = read_seqcount_begin(&fp->link_seq); in fun_get_link_ksettings()
219 speed = fp->link_speed; in fun_get_link_ksettings()
220 xcvr = fp->xcvr_type; in fun_get_link_ksettings()
221 lp_advertising = fp->lp_advertising; in fun_get_link_ksettings()
222 } while (read_seqcount_retry(&fp->link_seq, seq)); in fun_get_link_ksettings()
234 ks->base.autoneg = (fp->advertising & FUN_PORT_CAP_AUTONEG) ? in fun_get_link_ksettings()
238 fun_link_modes_to_ethtool(fp->port_caps, ks->link_modes.supported); in fun_get_link_ksettings()
239 if (fp->port_caps & (FUN_PORT_CAP_RX_PAUSE | FUN_PORT_CAP_TX_PAUSE)) in fun_get_link_ksettings()
242 fun_link_modes_to_ethtool(fp->advertising, ks->link_modes.advertising); in fun_get_link_ksettings()
[all …]
H A Dfuneth_main.c42 static int fun_port_write_cmds(struct funeth_priv *fp, unsigned int n, in fun_port_write_cmds() argument
61 fp->netdev->dev_port); in fun_port_write_cmds()
66 return fun_submit_admin_sync_cmd(fp->fdev, &cmd.req.common, in fun_port_write_cmds()
70 int fun_port_write_cmd(struct funeth_priv *fp, int key, u64 data) in fun_port_write_cmd() argument
72 return fun_port_write_cmds(fp, 1, &key, &data); in fun_port_write_cmd()
76 static int fun_port_read_cmds(struct funeth_priv *fp, unsigned int n, in fun_port_read_cmds() argument
97 fp->netdev->dev_port); in fun_port_read_cmds()
101 rc = fun_submit_admin_sync_cmd(fp->fdev, &cmd.req.common, in fun_port_read_cmds()
108 dev_dbg(fp->fdev->dev, in fun_port_read_cmds()
110 fp->lport, r48rsp->key_to_data, keys[i], data[i], in fun_port_read_cmds()
[all …]
/linux/tools/perf/
H A Dbuiltin-list.c35 /** @fp: File to write output to. */ member
36 FILE *fp;
74 fprintf(print_state->fp, in default_print_start()
88 static void wordwrap(FILE *fp, const char *s, int start, int max, int corr) in wordwrap()
100 fprintf(fp, comma ? ",\n%*s" : "\n%*s", start, ""); in wordwrap()
105 n = fprintf(fp, "%s%.*s", sep, wlen, s); in wordwrap()
125 FILE *fp = print_state->fp; in default_print_event()
141 fprintf(fp, "%s ", event_alias); in default_print_event()
143 fprintf(fp, " in default_print_event()
87 wordwrap(FILE * fp,const char * s,int start,int max,int corr) wordwrap() argument
124 FILE *fp = print_state->fp; default_print_event() local
203 FILE *fp = print_state->fp; default_print_metric() local
280 FILE *fp; global() member
288 FILE *fp = print_state->fp; json_print_start() local
296 FILE *fp = print_state->fp; json_print_end() local
301 fix_escape_fprintf(FILE * fp,struct strbuf * buf,const char * fmt,...) fix_escape_fprintf() argument
365 FILE *fp = print_state->fp; json_print_event() local
440 FILE *fp = print_state->fp; json_print_metric() local
[all...]
/linux/drivers/sbus/char/
H A Dbbc_envctrl.c93 static void set_fan_speeds(struct bbc_fan_control *fp) in set_fan_speeds() argument
98 if (fp->cpu_fan_speed < FAN_SPEED_MIN) in set_fan_speeds()
99 fp->cpu_fan_speed = FAN_SPEED_MIN; in set_fan_speeds()
100 if (fp->cpu_fan_speed > FAN_SPEED_MAX) in set_fan_speeds()
101 fp->cpu_fan_speed = FAN_SPEED_MAX; in set_fan_speeds()
102 if (fp->system_fan_speed < FAN_SPEED_MIN) in set_fan_speeds()
103 fp->system_fan_speed = FAN_SPEED_MIN; in set_fan_speeds()
104 if (fp->system_fan_speed > FAN_SPEED_MAX) in set_fan_speeds()
105 fp->system_fan_speed = FAN_SPEED_MAX; in set_fan_speeds()
108 fp->index, in set_fan_speeds()
[all …]
/linux/tools/perf/ui/stdio/
H A Dhist.c22 static size_t callchain__fprintf_left_margin(FILE *fp, int left_margin) in callchain__fprintf_left_margin() argument
25 int ret = fprintf(fp, " "); in callchain__fprintf_left_margin()
28 ret += fprintf(fp, " "); in callchain__fprintf_left_margin()
33 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line() argument
37 size_t ret = callchain__fprintf_left_margin(fp, left_margin); in ipchain__fprintf_graph_line()
41 ret += fprintf(fp, "| "); in ipchain__fprintf_graph_line()
43 ret += fprintf(fp, " "); in ipchain__fprintf_graph_line()
45 ret += fprintf(fp, "\n"); in ipchain__fprintf_graph_line()
50 static size_t ipchain__fprintf_graph(FILE *fp, struct callchain_node *node, in ipchain__fprintf_graph() argument
61 ret += callchain__fprintf_left_margin(fp, left_margin); in ipchain__fprintf_graph()
[all …]
/linux/include/linux/
H A Dfprobe.h12 typedef int (*fprobe_entry_cb)(struct fprobe *fp, unsigned long entry_ip,
16 typedef void (*fprobe_exit_cb)(struct fprobe *fp, unsigned long entry_ip,
60 static inline bool fprobe_disabled(struct fprobe *fp) in fprobe_disabled() argument
62 return (fp) ? fp->flags & FPROBE_FL_DISABLED : false; in fprobe_disabled()
65 static inline bool fprobe_shared_with_kprobes(struct fprobe *fp) in fprobe_shared_with_kprobes() argument
67 return (fp) ? fp->flags & FPROBE_FL_KPROBE_SHARED : false; in fprobe_shared_with_kprobes()
71 int register_fprobe(struct fprobe *fp, const char *filter, const char *notfilter);
72 int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num);
73 int register_fprobe_syms(struct fprobe *fp, const char **syms, int num);
74 int unregister_fprobe(struct fprobe *fp);
[all …]
/linux/drivers/usb/gadget/function/
H A Df_phonet.c202 struct f_phonet *fp = ep->driver_data; in pn_tx_complete() local
203 struct net_device *dev = fp->dev; in pn_tx_complete()
227 struct f_phonet *fp; in pn_net_xmit() local
235 fp = port->usb; in pn_net_xmit()
236 if (unlikely(!fp)) /* race with carrier loss */ in pn_net_xmit()
239 req = fp->in_req; in pn_net_xmit()
246 if (unlikely(usb_ep_queue(fp->in_ep, req, GFP_ATOMIC))) in pn_net_xmit()
295 pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags) in pn_rx_submit() argument
308 err = usb_ep_queue(fp->out_ep, req, gfp_flags); in pn_rx_submit()
316 struct f_phonet *fp = ep->driver_data; in pn_rx_complete() local
[all …]
/linux/arch/nios2/kernel/
H A Dtraps.c109 asmlinkage void breakpoint_c(struct pt_regs *fp) in breakpoint_c() argument
116 fp->ea -= 4; in breakpoint_c()
117 _exception(SIGTRAP, fp, TRAP_BRKPT, fp->ea); in breakpoint_c()
122 asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause) in handle_unaligned_c() argument
127 fp->ea -= 4; in handle_unaligned_c()
129 if (fixup_exception(fp)) in handle_unaligned_c()
132 if (!user_mode(fp)) { in handle_unaligned_c()
137 pr_alert(" op-code 0x%08lx\n", *(unsigned long *)(fp->ea)); in handle_unaligned_c()
138 show_regs(fp); in handle_unaligned_c()
142 _exception(SIGBUS, fp, BUS_ADRALN, addr); in handle_unaligned_c()
[all …]
H A Dprocess.c92 regs->ra, regs->fp, regs->sp, regs->gp); in show_regs()
152 void dump(struct pt_regs *fp) in dump() argument
174 pr_emerg("PC: %08lx\n", fp->ea); in dump()
176 (long) fp->estatus, (long) fp); in dump()
179 fp->r1, fp->r2, fp->r3); in dump()
182 fp->r4, fp->r5, fp->r6, fp->r7); in dump()
184 fp->r8, fp->r9, fp->r10, fp->r11); in dump()
186 fp->r12, fp->r13, fp->r14, fp->r15); in dump()
188 fp->orig_r2, fp->ra, fp->fp, fp->sp); in dump()
190 (unsigned int) fp->sp, (unsigned int) fp); in dump()
[all …]
H A Dmisaligned.c51 static inline u32 get_reg_val(struct pt_regs *fp, int reg) in get_reg_val() argument
53 u8 *p = ((u8 *)fp) + reg_offsets[reg]; in get_reg_val()
57 static inline void put_reg_val(struct pt_regs *fp, int reg, u32 val) in put_reg_val() argument
59 u8 *p = ((u8 *)fp) + reg_offsets[reg]; in put_reg_val()
66 asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause) in handle_unaligned_c() argument
75 fp->ea -= 4; in handle_unaligned_c()
77 if (fixup_exception(fp)) { in handle_unaligned_c()
81 in_kernel = !user_mode(fp); in handle_unaligned_c()
83 isn = *(unsigned long *)(fp->ea); in handle_unaligned_c()
93 addr = get_reg_val(fp, a) + imm16; in handle_unaligned_c()
[all …]
/linux/drivers/net/fddi/skfp/
H A Dfplustm.c170 smc->hw.fp.fifo.rbc_ram_start = 0 ; in init_ram()
171 smc->hw.fp.fifo.rbc_ram_end = in init_ram()
172 smc->hw.fp.fifo.rbc_ram_start + RBC_MEM_SIZE ; in init_ram()
174 MARW(smc->hw.fp.fifo.rbc_ram_start) ; in init_ram()
175 for (i = smc->hw.fp.fifo.rbc_ram_start; in init_ram()
176 i < (u_short) (smc->hw.fp.fifo.rbc_ram_end-1); i++) in init_ram()
190 outpw(FM_A(FM_RPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* RPR1 */ in set_recvptr()
191 outpw(FM_A(FM_SWPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* SWPR1 */ in set_recvptr()
192 outpw(FM_A(FM_WPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* WPR1 */ in set_recvptr()
193 outpw(FM_A(FM_EARV1),smc->hw.fp.fifo.tx_s_start-1) ; /* EARV1 */ in set_recvptr()
[all …]
/linux/tools/perf/util/
H A Devsel_fprintf.c20 static int comma_fprintf(FILE *fp, bool *first, const char *fmt, ...) in comma_fprintf() argument
26 ret += fprintf(fp, ","); in comma_fprintf()
28 ret += fprintf(fp, ":"); in comma_fprintf()
33 ret += vfprintf(fp, fmt, args); in comma_fprintf()
38 static int __print_attr__fprintf(FILE *fp, const char *name, const char *val, void *priv) in __print_attr__fprintf() argument
40 return comma_fprintf(fp, (bool *)priv, " %s: %s", name, val); in __print_attr__fprintf()
43 int evsel__fprintf(struct evsel *evsel, struct perf_attr_details *details, FILE *fp) in evsel__fprintf() argument
55 printed += fprintf(fp, "%s{", evsel->group_name ?: ""); in evsel__fprintf()
57 printed += fprintf(fp, "%s", evsel__name(evsel)); in evsel__fprintf()
59 printed += fprintf(fp, ", in evsel__fprintf()
112 sample__fprintf_callchain(struct perf_sample * sample,int left_alignment,unsigned int print_opts,struct callchain_cursor * cursor,struct strlist * bt_stop_list,FILE * fp) sample__fprintf_callchain() argument
209 sample__fprintf_sym(struct perf_sample * sample,struct addr_location * al,int left_alignment,unsigned int print_opts,struct callchain_cursor * cursor,struct strlist * bt_stop_list,FILE * fp) sample__fprintf_sym() argument
[all...]
/linux/drivers/net/phy/
H A Dfixed_phy.c52 struct fixed_phy *fp; in fixed_phy_change_carrier() local
57 list_for_each_entry(fp, &fmb->phys, node) { in fixed_phy_change_carrier()
58 if (fp->addr == phydev->mdio.addr) { in fixed_phy_change_carrier()
59 fp->no_carrier = !new_carrier; in fixed_phy_change_carrier()
67 static void fixed_phy_update(struct fixed_phy *fp) in fixed_phy_update() argument
69 if (!fp->no_carrier && fp->link_gpiod) in fixed_phy_update()
70 fp->status.link = !!gpiod_get_value_cansleep(fp->link_gpiod); in fixed_phy_update()
76 struct fixed_phy *fp; in fixed_mdio_read() local
78 list_for_each_entry(fp, &fmb->phys, node) { in fixed_mdio_read()
79 if (fp->addr == phy_addr) { in fixed_mdio_read()
[all …]
/linux/arch/csky/kernel/
H A Dptrace.c465 void show_regs(struct pt_regs *fp) in show_regs() argument
483 pr_info("PC: 0x%08lx (%pS)\n", (long)fp->pc, (void *)fp->pc); in show_regs()
484 pr_info("LR: 0x%08lx (%pS)\n", (long)fp->lr, (void *)fp->lr); in show_regs()
485 pr_info("SP: 0x%08lx\n", (long)fp->usp); in show_regs()
486 pr_info("PSR: 0x%08lx\n", (long)fp->sr); in show_regs()
487 pr_info("orig_a0: 0x%08lx\n", fp->orig_a0); in show_regs()
488 pr_info("PT_REGS: 0x%08lx\n", (long)fp); in show_regs()
491 fp->a0, fp->a1, fp->a2, fp->a3); in show_regs()
494 fp->regs[0], fp->regs[1], fp->regs[2], fp->regs[3]); in show_regs()
496 fp->regs[4], fp->regs[5], fp->regs[6], fp->regs[7]); in show_regs()
[all …]
H A Dperf_callchain.c9 unsigned long fp; member
18 if (unlikely(frame->fp < low || frame->fp > high)) in unwind_frame_kernel()
21 if (kstack_end((void *)frame->fp) || frame->fp & 0x3) in unwind_frame_kernel()
24 *frame = *(struct stackframe *)frame->fp; in unwind_frame_kernel()
48 unsigned long fp, unsigned long reg_lr) in user_backtrace() argument
52 unsigned long __user *user_frame_tail = (unsigned long __user *)fp; in user_backtrace()
66 fp = buftail.fp; in user_backtrace()
69 return fp; in user_backtrace()
89 unsigned long fp = 0; in perf_callchain_user() local
91 fp = regs->regs[4]; in perf_callchain_user()
[all …]
/linux/arch/riscv/kernel/
H A Dstacktrace.c22 static inline int fp_is_valid(unsigned long fp, unsigned long sp) in fp_is_valid() argument
29 return !(fp < low || fp > high || fp & 0x07); in fp_is_valid()
35 unsigned long fp, sp, pc; in walk_stackframe() local
40 fp = frame_pointer(regs); in walk_stackframe()
44 fp = (unsigned long)__builtin_frame_address(0); in walk_stackframe()
50 fp = task->thread.s[0]; in walk_stackframe()
61 if (unlikely(!fp_is_valid(fp, sp))) in walk_stackframe()
65 frame = (struct stackframe *)fp - 1; in walk_stackframe()
66 sp = fp; in walk_stackframe()
69 fp = frame->ra; in walk_stackframe()
[all …]
/linux/drivers/scsi/libfc/
H A Dfc_rport.c699 struct fc_frame *fp) in fc_rport_login_complete() argument
706 flogi = fc_frame_payload_get(fp, sizeof(*flogi)); in fc_rport_login_complete()
712 if (fc_frame_payload_op(fp) == ELS_FLOGI) { in fc_rport_login_complete()
738 static void fc_rport_flogi_resp(struct fc_seq *sp, struct fc_frame *fp, in fc_rport_flogi_resp() argument
749 IS_ERR(fp) ? "error" : fc_els_resp_type(fp)); in fc_rport_flogi_resp()
751 if (fp == ERR_PTR(-FC_EX_CLOSED)) in fc_rport_flogi_resp()
759 if (IS_ERR(fp)) in fc_rport_flogi_resp()
764 if (IS_ERR(fp)) { in fc_rport_flogi_resp()
765 fc_rport_error(rdata, PTR_ERR(fp)); in fc_rport_flogi_resp()
768 opcode = fc_frame_payload_op(fp); in fc_rport_flogi_resp()
[all …]

12345678910>>...28