/linux-6.6.21/drivers/s390/char/ |
D | fs3270.c | 53 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 …]
|
D | hmcdrv_dev.c | 56 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-6.6.21/drivers/net/fddi/ |
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-6.6.21/arch/m68k/kernel/ |
D | traps.c | 131 asmlinkage void trap_c(struct frame *fp); 134 static inline void access_error060 (struct frame *fp) in access_error060() argument 136 unsigned long fslw = fp->un.fmt4.pc; /* is really FSLW for access error */ in access_error060() 138 pr_debug("fslw=%#lx, fa=%#lx\n", fslw, fp->un.fmt4.effaddr); in access_error060() 153 unsigned long addr = fp->un.fmt4.effaddr; in access_error060() 166 do_page_fault(&fp->ptregs, addr, errorcode); in access_error060() 171 send_fault_sig(&fp->ptregs); in access_error060() 173 send_fault_sig(&fp->ptregs) > 0) { in access_error060() 174 pr_err("pc=%#lx, fa=%#lx\n", fp->ptregs.pc, in access_error060() 175 fp->un.fmt4.effaddr); in access_error060() [all …]
|
/linux-6.6.21/sound/usb/ |
D | format.c | 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() 82 fp->fmt_bits = sample_width; in parse_audio_format_i_type() 88 fp->iface, fp->altsetting); in parse_audio_format_i_type() 100 fp->iface, fp->altsetting, in parse_audio_format_i_type() 109 if (snd_usb_is_big_endian_format(chip, fp)) in parse_audio_format_i_type() 115 if (snd_usb_is_big_endian_format(chip, fp)) in parse_audio_format_i_type() 126 fp->iface, fp->altsetting, in parse_audio_format_i_type() [all …]
|
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->list, &subs->fmt_list); in snd_usb_init_substream() [all …]
|
/linux-6.6.21/include/scsi/ |
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-6.6.21/kernel/trace/ |
D | fprobe.c | 29 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-6.6.21/fs/smb/server/ |
D | vfs_cache.c | 85 static struct ksmbd_inode *ksmbd_inode_lookup(struct ksmbd_file *fp) in ksmbd_inode_lookup() argument 87 return __ksmbd_inode_lookup(fp->filp->f_path.dentry); in ksmbd_inode_lookup() 118 bool ksmbd_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_inode_pending_delete() argument 120 return (fp->f_ci->m_flags & (S_DEL_PENDING | S_DEL_ON_CLS)); in ksmbd_inode_pending_delete() 123 void ksmbd_set_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_set_inode_pending_delete() argument 125 fp->f_ci->m_flags |= S_DEL_PENDING; in ksmbd_set_inode_pending_delete() 128 void ksmbd_clear_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_clear_inode_pending_delete() argument 130 fp->f_ci->m_flags &= ~S_DEL_PENDING; in ksmbd_clear_inode_pending_delete() 133 void ksmbd_fd_set_delete_on_close(struct ksmbd_file *fp, in ksmbd_fd_set_delete_on_close() argument 136 if (ksmbd_stream_fd(fp)) { in ksmbd_fd_set_delete_on_close() [all …]
|
/linux-6.6.21/drivers/net/ethernet/fungible/funeth/ |
D | funeth_ethtool.c | 206 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 …]
|
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-6.6.21/include/linux/ |
D | fprobe.h | 37 int (*entry_handler)(struct fprobe *fp, unsigned long entry_ip, 40 void (*exit_handler)(struct fprobe *fp, unsigned long entry_ip, 54 static inline bool fprobe_disabled(struct fprobe *fp) in fprobe_disabled() argument 56 return (fp) ? fp->flags & FPROBE_FL_DISABLED : false; in fprobe_disabled() 59 static inline bool fprobe_shared_with_kprobes(struct fprobe *fp) in fprobe_shared_with_kprobes() argument 61 return (fp) ? fp->flags & FPROBE_FL_KPROBE_SHARED : false; in fprobe_shared_with_kprobes() 65 int register_fprobe(struct fprobe *fp, const char *filter, const char *notfilter); 66 int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num); 67 int register_fprobe_syms(struct fprobe *fp, const char **syms, int num); 68 int unregister_fprobe(struct fprobe *fp); [all …]
|
/linux-6.6.21/drivers/sbus/char/ |
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-6.6.21/tools/perf/ui/stdio/ |
D | hist.c | 22 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-6.6.21/arch/nios2/kernel/ |
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 …]
|
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 …]
|
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-6.6.21/tools/perf/util/ |
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, ",%s", evsel__name(pos)); in evsel__fprintf() [all …]
|
/linux-6.6.21/drivers/usb/gadget/function/ |
D | f_phonet.c | 202 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-6.6.21/drivers/net/fddi/skfp/ |
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.fifo.tx_s_start-1) ; /* EARV1 */ in set_recvptr() [all …]
|
/linux-6.6.21/drivers/net/phy/ |
D | fixed_phy.c | 52 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-6.6.21/arch/powerpc/net/ |
D | bpf_jit_comp.c | 55 struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp) in bpf_int_jit_compile() argument 67 struct bpf_prog *org_fp = fp; in bpf_int_jit_compile() 74 if (!fp->jit_requested) in bpf_int_jit_compile() 83 fp = tmp_fp; in bpf_int_jit_compile() 86 jit_data = fp->aux->jit_data; in bpf_int_jit_compile() 90 fp = org_fp; in bpf_int_jit_compile() 93 fp->aux->jit_data = jit_data; in bpf_int_jit_compile() 96 flen = fp->len; in bpf_int_jit_compile() 111 fp = org_fp; in bpf_int_jit_compile() 119 cgctx.stack_size = round_up(fp->aux->stack_depth, 16); in bpf_int_jit_compile() [all …]
|
/linux-6.6.21/arch/csky/kernel/ |
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 …]
|
D | ptrace.c | 465 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 …]
|
/linux-6.6.21/drivers/scsi/libfc/ |
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 …]
|