| /linux/fs/smb/server/ |
| H A D | vfs_cache.c | 47 struct ksmbd_file *fp; 57 idr_for_each_entry(global_ft.idr, fp, id) { 58 opinfo = opinfo_get(fp); 117 static int ksmbd_mark_fp_closed(struct ksmbd_file *fp); 173 static unsigned int ksmbd_proc_file_flags(struct ksmbd_file *fp) in proc_show_files() 177 if (fp->is_durable) in proc_show_files() 179 if (fp->is_persistent) in proc_show_files() 181 if (fp->is_resilient) in create_proc_files() 183 if (fp->coption & FILE_DELETE_ON_CLOSE_LE) in create_proc_files() 185 if (fp in create_proc_files() 97 ksmbd_proc_file_flags(struct ksmbd_file * fp) ksmbd_proc_file_flags() argument 120 struct ksmbd_file *fp = NULL; proc_show_files() local 256 ksmbd_inode_lookup(struct ksmbd_file * fp) ksmbd_inode_lookup() argument 294 ksmbd_inode_pending_delete(struct ksmbd_file * fp) ksmbd_inode_pending_delete() argument 312 ksmbd_set_inode_pending_delete(struct ksmbd_file * fp) ksmbd_set_inode_pending_delete() argument 321 ksmbd_clear_inode_pending_delete(struct ksmbd_file * fp) ksmbd_clear_inode_pending_delete() argument 330 ksmbd_has_stream_without_delete_share(struct ksmbd_file * fp) ksmbd_has_stream_without_delete_share() argument 357 ksmbd_fd_set_delete_on_close(struct ksmbd_file * fp,int file_info) ksmbd_fd_set_delete_on_close() argument 382 ksmbd_fd_set_delete_pending(struct ksmbd_file * fp) ksmbd_fd_set_delete_pending() argument 393 ksmbd_fd_clear_delete_pending(struct ksmbd_file * fp) ksmbd_fd_clear_delete_pending() argument 419 ksmbd_inode_init(struct ksmbd_inode * ci,struct ksmbd_file * fp) ksmbd_inode_init() argument 433 ksmbd_inode_get(struct ksmbd_file * fp) ksmbd_inode_get() argument 506 __ksmbd_inode_close(struct ksmbd_file * fp) __ksmbd_inode_close() argument 577 __ksmbd_remove_durable_fd(struct ksmbd_file * fp) __ksmbd_remove_durable_fd() argument 593 ksmbd_remove_durable_fd(struct ksmbd_file * fp) ksmbd_remove_durable_fd() argument 602 __ksmbd_remove_fd(struct ksmbd_file_table * ft,struct ksmbd_file * fp) __ksmbd_remove_fd() argument 616 __ksmbd_close_fd(struct ksmbd_file_table * ft,struct ksmbd_file * fp) __ksmbd_close_fd() argument 739 struct ksmbd_file *fp, *tmp; ksmbd_close_disconnected_durable_delete_on_close() local 791 ksmbd_fp_get(struct ksmbd_file * fp) ksmbd_fp_get() argument 801 ksmbd_file_get(struct ksmbd_file * fp) ksmbd_file_get() argument 809 struct ksmbd_file *fp; __ksmbd_lookup_fd() local 822 __put_fd_final(struct ksmbd_work * work,struct ksmbd_file * fp) __put_fd_final() argument 842 set_close_state_blocked_works(struct ksmbd_file * fp) set_close_state_blocked_works() argument 859 struct ksmbd_file *fp; ksmbd_wake_session_blocked_works() local 870 struct ksmbd_file *fp; ksmbd_close_fd() local 903 ksmbd_fd_put(struct ksmbd_work * work,struct ksmbd_file * fp) ksmbd_fd_put() argument 913 __sanity_check(struct ksmbd_tree_connect * tcon,struct ksmbd_file * fp) __sanity_check() argument 929 struct ksmbd_file *fp = __ksmbd_lookup_fd(&work->sess->file_table, id); ksmbd_lookup_fd_fast() local 941 struct ksmbd_file *fp; ksmbd_lookup_fd_slow() local 967 struct ksmbd_file *fp; ksmbd_lookup_durable_fd() local 982 ksmbd_put_durable_fd(struct ksmbd_file * fp) ksmbd_put_durable_fd() argument 990 ksmbd_has_other_active_fd(struct ksmbd_file * fp) ksmbd_has_other_active_fd() argument 1014 struct ksmbd_file *fp = NULL; ksmbd_lookup_fd_app_instance_id() local 1035 struct ksmbd_file *fp; ksmbd_close_fd_app_instance_id() local 1088 struct ksmbd_file *fp; ksmbd_invalidate_durable_fd() local 1112 struct ksmbd_file *fp = NULL; ksmbd_lookup_fd_cguid() local 1157 struct ksmbd_file *fp; ksmbd_has_other_nonposix_open() local 1185 struct ksmbd_file *fp; ksmbd_has_nonposix_open_child() local 1212 __open_id_set(struct ksmbd_file * fp,u64 id,int type) __open_id_set() argument 1220 __open_id(struct ksmbd_file_table * ft,struct ksmbd_file * fp,int type) __open_id() argument 1249 ksmbd_open_durable_fd(struct ksmbd_file * fp) ksmbd_open_durable_fd() argument 1257 struct ksmbd_file *fp; ksmbd_open_fd() local 1321 ksmbd_update_fstate(struct ksmbd_file_table * ft,struct ksmbd_file * fp,unsigned int state) ksmbd_update_fstate() argument 1353 ksmbd_mark_fp_closed(struct ksmbd_file * fp) ksmbd_mark_fp_closed() argument 1368 __close_file_table_ids(struct ksmbd_session * sess,struct ksmbd_tree_connect * tcon,bool (* skip)(struct ksmbd_tree_connect * tcon,struct ksmbd_file * fp,struct ksmbd_user * user),bool skip_preserves_fp) __close_file_table_ids() argument 1373 struct ksmbd_file *fp; __close_file_table_ids() local 1499 is_reconnectable(struct ksmbd_file * fp) is_reconnectable() argument 1526 tree_conn_fd_check(struct ksmbd_tree_connect * tcon,struct ksmbd_file * fp,struct ksmbd_user * user) tree_conn_fd_check() argument 1546 ksmbd_scavenger_dispose_dh(struct ksmbd_file * fp) ksmbd_scavenger_dispose_dh() argument 1572 struct ksmbd_file *fp = NULL; ksmbd_durable_scavenger() local 1703 ksmbd_vfs_set_durable_owner(struct ksmbd_file * fp,struct ksmbd_user * user) ksmbd_vfs_set_durable_owner() argument 1737 ksmbd_vfs_compare_durable_owner(struct ksmbd_file * fp,struct ksmbd_user * user) ksmbd_vfs_compare_durable_owner() argument 1761 session_fd_check(struct ksmbd_tree_connect * tcon,struct ksmbd_file * fp,struct ksmbd_user * user) session_fd_check() argument 1852 struct ksmbd_file *fp = NULL; ksmbd_free_global_file_table() local 1865 ksmbd_validate_name_reconnect(struct ksmbd_share_config * share,struct ksmbd_file * fp,char * name) ksmbd_validate_name_reconnect() argument 1890 ksmbd_reopen_durable_fd(struct ksmbd_work * work,struct ksmbd_file * fp) ksmbd_reopen_durable_fd() argument [all...] |
| /linux/drivers/s390/char/ |
| H A D | fs3270.c | 52 static inline int fs3270_working(struct fs3270 *fp) in fs3270_working() argument 58 return fp->active && raw3270_request_final(fp->init); in fs3270_working() 63 struct fs3270 *fp; in fs3270_do_io() local 66 fp = (struct fs3270 *)view; in fs3270_do_io() 68 rq->callback_data = &fp->wait; in fs3270_do_io() 71 if (!fs3270_working(fp)) { in fs3270_do_io() 73 rc = wait_event_interruptible(fp->wait, in fs3270_do_io() 74 fs3270_working(fp)); in fs3270_do_io() 81 wait_event(fp->wait, raw3270_request_final(rq)); in fs3270_do_io() 92 struct fs3270 *fp; in fs3270_reset_callback() local [all …]
|
| H A D | hmcdrv_dev.c | 41 static int hmcdrv_dev_open(struct inode *inode, struct file *fp); 42 static int hmcdrv_dev_release(struct inode *inode, struct file *fp); 43 static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence); 44 static ssize_t hmcdrv_dev_read(struct file *fp, char __user *ubuf, 46 static ssize_t hmcdrv_dev_write(struct file *fp, const char __user *ubuf, 67 static int hmcdrv_dev_open(struct inode *inode, struct file *fp) in hmcdrv_dev_open() argument 73 if (fp->f_flags & O_NONBLOCK) in hmcdrv_dev_open() 79 if ((fp->f_flags & O_ACCMODE) == O_RDONLY) in hmcdrv_dev_open() 88 fp->private_data = NULL; /* no command yet */ in hmcdrv_dev_open() 93 pr_debug("open file '/dev/%pD' with return code %d\n", fp, rc); in hmcdrv_dev_open() [all …]
|
| /linux/drivers/net/fddi/ |
| H A D | defza.c | 212 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/sound/usb/ |
| H A D | format.c | 27 * @fp: audioformat record 32 struct audioformat *fp, in parse_audio_format_i_type() argument 39 switch (fp->protocol) { in parse_audio_format_i_type() 46 fp->iface, fp->altsetting, format); in parse_audio_format_i_type() 63 fp->dsd_raw = true; in parse_audio_format_i_type() 88 fp->fmt_bits = sample_width; in parse_audio_format_i_type() 89 fp->fmt_sz = sample_bytes; in parse_audio_format_i_type() 95 fp->iface, fp in parse_audio_format_i_type() 165 set_fixed_rate(struct audioformat * fp,int rate,int rate_bits) set_fixed_rate() argument 180 set_rate_table_min_max(struct audioformat * fp) set_rate_table_min_max() argument 206 parse_audio_format_rates_v1(struct snd_usb_audio * chip,struct audioformat * fp,unsigned char * fmt,int offset) parse_audio_format_rates_v1() argument 288 s1810c_valid_sample_rate(struct audioformat * fp,unsigned int rate) s1810c_valid_sample_rate() argument 341 focusrite_valid_sample_rate(struct snd_usb_audio * chip,struct audioformat * fp,unsigned int rate) focusrite_valid_sample_rate() argument 422 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 491 line6_parse_audio_format_rates_quirk(struct snd_usb_audio * chip,struct audioformat * fp) line6_parse_audio_format_rates_quirk() argument 546 validate_sample_rate_table_v2v3(struct snd_usb_audio * chip,struct audioformat * fp,int clock) validate_sample_rate_table_v2v3() argument 622 parse_audio_format_rates_v2v3(struct snd_usb_audio * chip,struct audioformat * fp) parse_audio_format_rates_v2v3() argument 727 parse_audio_format_i(struct snd_usb_audio * chip,struct audioformat * fp,u64 format,void * _fmt) parse_audio_format_i() argument 810 parse_audio_format_ii(struct snd_usb_audio * chip,struct audioformat * fp,u64 format,void * _fmt) parse_audio_format_ii() argument 860 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 902 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 D | stream.c | 31 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 in snd_usb_init_substream() 134 have_dup_chmap(struct snd_usb_substream * subs,struct audioformat * fp) have_dup_chmap() argument 151 struct audioformat *fp; usb_chmap_ctl_tlv() local 212 struct audioformat *fp; add_chmap() local 498 __snd_usb_add_audio_stream(struct snd_usb_audio * chip,int stream,struct audioformat * fp,struct snd_usb_power_domain * pd) __snd_usb_add_audio_stream() argument 581 snd_usb_add_audio_stream(struct snd_usb_audio * chip,int stream,struct audioformat * fp) snd_usb_add_audio_stream() argument 588 snd_usb_add_audio_stream_v3(struct snd_usb_audio * chip,int stream,struct audioformat * fp,struct snd_usb_power_domain * pd) snd_usb_add_audio_stream_v3() argument 702 struct audioformat *fp; audio_format_alloc_init() local 733 struct audioformat *fp; snd_usb_get_audioformat_uac12() local 898 struct audioformat *fp; snd_usb_get_audioformat_uac3() local 1131 struct audioformat *fp = NULL; __snd_usb_parse_audio_interface() local [all...] |
| /linux/arch/m68k/kernel/ |
| H A D | traps.c | 130 asmlinkage void trap_c(struct frame *fp); 133 static inline void access_error060 (struct frame *fp) in access_error060() argument 135 unsigned long fslw = fp->un.fmt4.pc; /* is really FSLW for access error */ in access_error060() 137 pr_debug("fslw=%#lx, fa=%#lx\n", fslw, fp->un.fmt4.effaddr); in access_error060() 152 unsigned long addr = fp->un.fmt4.effaddr; in access_error060() 165 do_page_fault(&fp->ptregs, addr, errorcode); in access_error060() 170 send_fault_sig(&fp->ptregs); in access_error060() 172 send_fault_sig(&fp->ptregs) > 0) { in access_error060() 173 pr_err("pc=%#lx, fa=%#lx\n", fp->ptregs.pc, in access_error060() 174 fp->un.fmt4.effaddr); in access_error060() [all …]
|
| /linux/include/scsi/ |
| H A D | fc_frame.h | 50 #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 D | fprobe.c | 37 * When unregistering the fprobe, fprobe_hlist::fp and fprobe_hlist::array[*].fp 86 static int __insert_fprobe_node(struct fprobe_hlist_node *node, struct fprobe *fp) in __insert_fprobe_node() argument 95 WRITE_ONCE(node->fp, fp); in __insert_fprobe_node() 104 if (READ_ONCE(node->fp) != NULL) { in __delete_fprobe_node() 105 WRITE_ONCE(node->fp, NULL); in __delete_fprobe_node() 112 static bool fprobe_registered(struct fprobe *fp) in fprobe_registered() argument 117 head = &fprobe_table[hash_ptr(fp, FPROBE_HASH_BITS)]; in fprobe_registered() 120 if (fph->fp in fprobe_registered() 127 add_fprobe_hash(struct fprobe * fp) add_fprobe_hash() argument 142 del_fprobe_hash(struct fprobe * fp) del_fprobe_hash() argument 165 write_fprobe_header(unsigned long * stack,struct fprobe * fp,unsigned int size_words) write_fprobe_header() argument 176 read_fprobe_header(unsigned long * stack,struct fprobe ** fp,unsigned int * size_words) read_fprobe_header() argument 191 struct fprobe *fp; global() member 198 write_fprobe_header(unsigned long * stack,struct fprobe * fp,unsigned int size_words) write_fprobe_header() argument 211 read_fprobe_header(unsigned long * stack,struct fprobe ** fp,unsigned int * size_words) read_fprobe_header() argument 237 __fprobe_handler(unsigned long ip,unsigned long parent_ip,struct fprobe * fp,struct ftrace_regs * fregs,void * data) __fprobe_handler() argument 247 __fprobe_kprobe_handler(unsigned long ip,unsigned long parent_ip,struct fprobe * fp,struct ftrace_regs * fregs,void * data) __fprobe_kprobe_handler() argument 333 struct fprobe *fp; fprobe_ftrace_entry() local 411 fprobe_is_ftrace(struct fprobe * fp) fprobe_is_ftrace() argument 417 insert_fprobe_node(struct fprobe_hlist_node * node,struct fprobe * fp) insert_fprobe_node() argument 436 struct fprobe *fp; delete_fprobe_node() local 454 struct fprobe *fp; fprobe_exists_on_hash() local 493 fprobe_is_ftrace(struct fprobe * fp) fprobe_is_ftrace() argument 499 insert_fprobe_node(struct fprobe_hlist_node * node,struct fprobe * fp) insert_fprobe_node() argument 514 struct fprobe *fp; delete_fprobe_node() local 528 struct fprobe *fp; fprobe_exists_on_hash() local 568 struct fprobe *fp; fprobe_fgraph_entry() local 668 struct fprobe *fp; fprobe_return() local 897 fprobe_fail_cleanup(struct fprobe * fp) fprobe_fail_cleanup() argument 904 fprobe_init(struct fprobe * fp,unsigned long * addrs,int num) fprobe_init() argument 956 register_fprobe(struct fprobe * fp,const char * filter,const char * notfilter) register_fprobe() argument 1004 register_fprobe_ips(struct fprobe * fp,unsigned long * addrs,int num) register_fprobe_ips() argument 1052 register_fprobe_syms(struct fprobe * fp,const char ** syms,int num) register_fprobe_syms() argument 1072 fprobe_is_registered(struct fprobe * fp) fprobe_is_registered() argument 1079 unregister_fprobe_nolock(struct fprobe * fp) unregister_fprobe_nolock() argument 1126 unregister_fprobe_async(struct fprobe * fp) unregister_fprobe_async() argument 1144 unregister_fprobe(struct fprobe * fp) unregister_fprobe() argument [all...] |
| /linux/drivers/net/ethernet/fungible/funeth/ |
| H A D | funeth_main.c | 42 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/include/linux/ |
| H A D | fprobe.h | 14 typedef int (*fprobe_entry_cb)(struct fprobe *fp, unsigned long entry_ip, 18 typedef void (*fprobe_exit_cb)(struct fprobe *fp, unsigned long entry_ip, 32 struct fprobe *fp; member 47 struct fprobe *fp; member 82 static inline bool fprobe_disabled(struct fprobe *fp) in fprobe_disabled() argument 84 return (fp) ? fp->flags & FPROBE_FL_DISABLED : false; in fprobe_disabled() 87 static inline bool fprobe_shared_with_kprobes(struct fprobe *fp) in fprobe_shared_with_kprobes() argument 89 return (fp) ? fp->flags & FPROBE_FL_KPROBE_SHARED : false; in fprobe_shared_with_kprobes() 93 int register_fprobe(struct fprobe *fp, const char *filter, const char *notfilter); 94 int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num); [all …]
|
| /linux/drivers/sbus/char/ |
| H A D | bbc_envctrl.c | 93 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 D | hist.c | 23 static size_t callchain__fprintf_left_margin(FILE *fp, int left_margin) in callchain__fprintf_left_margin() argument 26 int ret = fprintf(fp, " "); in callchain__fprintf_left_margin() 32 ret += fprintf(fp, " "); in callchain__fprintf_left_margin() 37 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line() argument 41 size_t ret = callchain__fprintf_left_margin(fp, left_margin); in ipchain__fprintf_graph_line() 45 ret += fprintf(fp, "| "); in ipchain__fprintf_graph_line() 47 ret += fprintf(fp, " "); in ipchain__fprintf_graph_line() 49 ret += fprintf(fp, "\n"); in ipchain__fprintf_graph_line() 54 static size_t ipchain__fprintf_graph(FILE *fp, struct callchain_node *node, in ipchain__fprintf_graph() argument 65 ret += callchain__fprintf_left_margin(fp, left_margin); in ipchain__fprintf_graph() [all …]
|
| /linux/arch/nios2/kernel/ |
| H A D | traps.c | 109 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 D | process.c | 92 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 D | misaligned.c | 51 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/tools/perf/util/ |
| H A D | evsel_fprintf.c | 20 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() 114 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 218 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/fddi/skfp/ |
| H A D | fplustm.c | 170 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 in set_recvptr() [all...] |
| /linux/tools/perf/ |
| H A D | builtin-list.c | 37 /** @fp: File to write output to. */ 38 FILE *fp; 78 fprintf(print_state->fp, in default_print_start() 92 static void wordwrap(FILE *fp, const char *s, int start, int max, int corr) in wordwrap() 104 fprintf(fp, comma ? ",\n%*s" : "\n%*s", start, ""); in wordwrap() 109 n = fprintf(fp, "%s%.*s", sep, wlen, s); in wordwrap() 130 FILE *fp = print_state->fp; in default_print_event() 149 fprintf(fp, "%s ", event_alias); in default_print_event() 151 fprintf(fp, " in default_print_event() 36 FILE *fp; global() member 90 wordwrap(FILE * fp,const char * s,int start,int max,int corr) wordwrap() argument 128 FILE *fp = print_state->fp; default_print_event() local 210 FILE *fp = print_state->fp; default_print_metric() local 295 FILE *fp = print_state->common.fp; json_print_start() local 303 FILE *fp = print_state->common.fp; json_print_end() local 308 fix_escape_fprintf(FILE * fp,struct strbuf * buf,const char * fmt,...) fix_escape_fprintf() argument 373 FILE *fp = print_state->common.fp; json_print_event() local 466 FILE *fp = print_state->common.fp; json_print_metric() local [all...] |
| /linux/arch/csky/kernel/ |
| H A D | perf_callchain.c | 9 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/drivers/scsi/libfc/ |
| H A D | fc_rport.c | 699 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 …]
|
| H A D | fc_lport.c | 156 static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) in fc_frame_drop() argument 158 fc_frame_free(fp); in fc_frame_drop() 403 static void fc_lport_recv_rlir_req(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_recv_rlir_req() argument 410 fc_seq_els_rsp_send(fp, ELS_LS_ACC, NULL); in fc_lport_recv_rlir_req() 411 fc_frame_free(fp); in fc_lport_recv_rlir_req() 422 struct fc_frame *fp; in fc_lport_recv_echo_req() local 438 fp = fc_frame_alloc(lport, len); in fc_lport_recv_echo_req() 439 if (fp) { in fc_lport_recv_echo_req() 440 dp = fc_frame_payload_get(fp, len); in fc_lport_recv_echo_req() 443 fc_fill_reply_hdr(fp, in_fp, FC_RCTL_ELS_REP, 0); in fc_lport_recv_echo_req() [all …]
|
| H A D | fc_exch.c | 256 * @fp: The frame whose header is to be modified 262 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, in fc_exch_setup_hdr() argument 265 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_exch_setup_hdr() 268 fr_sof(fp) = ep->class; in fc_exch_setup_hdr() 270 fr_sof(fp) = fc_sof_normal(ep->class); in fc_exch_setup_hdr() 273 fr_eof(fp) = FC_EOF_T; in fc_exch_setup_hdr() 275 fr_eof(fp) = FC_EOF_N; in fc_exch_setup_hdr() 285 fill = fr_len(fp) & 3; in fc_exch_setup_hdr() 289 skb_put(fp_skb(fp), fill); in fc_exch_setup_hdr() 293 WARN_ON(fr_len(fp) in fc_exch_setup_hdr() 464 fc_seq_send_locked(struct fc_lport * lport,struct fc_seq * sp,struct fc_frame * fp) fc_seq_send_locked() argument 525 fc_seq_send(struct fc_lport * lport,struct fc_seq * sp,struct fc_frame * fp) fc_seq_send() argument 637 struct fc_frame *fp; fc_exch_abort_locked() local 730 fc_invoke_resp(struct fc_exch * ep,struct fc_seq * sp,struct fc_frame * fp) fc_invoke_resp() argument 906 fc_exch_alloc(struct fc_lport * lport,struct fc_frame * fp) fc_exch_alloc() argument 992 fc_exch_resp(struct fc_lport * lport,struct fc_exch_mgr * mp,struct fc_frame * fp) fc_exch_resp() argument 1040 fc_seq_lookup_recip(struct fc_lport * lport,struct fc_exch_mgr * mp,struct fc_frame * fp) fc_seq_lookup_recip() argument 1169 fc_seq_lookup_orig(struct fc_exch_mgr * mp,struct fc_frame * fp) fc_seq_lookup_orig() argument 1227 fc_seq_els_rsp_send(struct fc_frame * fp,enum fc_els_cmd els_cmd,struct fc_seq_els_data * els_data) fc_seq_els_rsp_send() argument 1256 fc_seq_send_last(struct fc_seq * sp,struct fc_frame * fp,enum fc_rctl rctl,enum fc_fh_type fh_type) fc_seq_send_last() argument 1277 struct fc_frame *fp; fc_seq_send_ack() local 1341 struct fc_frame *fp; fc_exch_send_ba_rjt() local 1413 struct fc_frame *fp; fc_exch_recv_abts() local 1474 fc_seq_assign(struct fc_lport * lport,struct fc_frame * fp) fc_seq_assign() argument 1510 fc_exch_recv_req(struct fc_lport * lport,struct fc_exch_mgr * mp,struct fc_frame * fp) fc_exch_recv_req() argument 1571 fc_exch_recv_seq_resp(struct fc_exch_mgr * mp,struct fc_frame * fp) fc_exch_recv_seq_resp() argument 1665 fc_exch_recv_resp(struct fc_exch_mgr * mp,struct fc_frame * fp) fc_exch_recv_resp() argument 1687 fc_exch_abts_resp(struct fc_exch * ep,struct fc_frame * fp) fc_exch_abts_resp() argument 1764 fc_exch_recv_bls(struct fc_exch_mgr * mp,struct fc_frame * fp) fc_exch_recv_bls() argument 1833 struct fc_frame *fp; fc_seq_ls_acc() local 1865 struct fc_frame *fp; fc_seq_ls_rjt() local 2019 struct fc_frame *fp; fc_exch_els_rec() local 2101 fc_exch_rrq_resp(struct fc_seq * sp,struct fc_frame * fp,void * arg) fc_exch_rrq_resp() argument 2176 fc_exch_seq_send(struct fc_lport * lport,struct fc_frame * fp,void (* resp)(struct fc_seq *,struct fc_frame * fp,void * arg),void (* destructor)(struct fc_seq *,void *),void * arg,u32 timer_msec) fc_exch_seq_send() argument 2247 struct fc_frame *fp; fc_exch_rrq() local 2293 fc_exch_els_rrq(struct fc_frame * fp) fc_exch_els_rrq() argument 2602 fc_exch_recv(struct fc_lport * lport,struct fc_frame * fp) fc_exch_recv() argument [all...] |
| H A D | fc_frame.c | 22 u32 fc_frame_crc_check(struct fc_frame *fp) in fc_frame_crc_check() argument 29 WARN_ON(!fc_frame_is_linear(fp)); in fc_frame_crc_check() 30 fr_flags(fp) &= ~FCPHF_CRC_UNCHECKED; in fc_frame_crc_check() 31 len = (fr_len(fp) + 3) & ~3; /* round up length to include fill */ in fc_frame_crc_check() 32 bp = (const u8 *) fr_hdr(fp); in fc_frame_crc_check() 34 error = crc ^ fr_crc(fp); in fc_frame_crc_check() 45 struct fc_frame *fp; in _fc_frame_alloc() local 55 fp = (struct fc_frame *) skb; in _fc_frame_alloc() 56 fc_frame_init(fp); in _fc_frame_alloc() 58 return fp; in _fc_frame_alloc() [all …]
|
| /linux/drivers/comedi/drivers/ni_routing/tools/ |
| H A D | convert_c_to_py.c | 36 void family_write(const struct family_route_values *rv, FILE *fp) in family_write() argument 38 fprintf(fp, in family_write() 54 fprintf(fp, " %u : {\n", dest); in family_write() 75 fprintf(fp, " %u : \"%s(%u)\",\n", in family_write() 78 fprintf(fp, " },\n"); in family_write() 80 fprintf(fp, " },\n\n"); in family_write() 99 void device_write(const struct ni_device_routes *dR, FILE *fp) in device_write() argument 101 fprintf(fp, in device_write() 116 fprintf(fp, " %u : [", dR->routes[i].dest); in device_write() 128 fprintf(fp, "%u,", dR->routes[i].src[j]); in device_write() [all …]
|