/linux-4.1.27/drivers/s390/char/ |
D | fs3270.c | 53 fs3270_working(struct fs3270 *fp) in fs3270_working() argument 59 return fp->active && raw3270_request_final(fp->init); in fs3270_working() 65 struct fs3270 *fp; in fs3270_do_io() local 68 fp = (struct fs3270 *) view; in fs3270_do_io() 70 rq->callback_data = &fp->wait; in fs3270_do_io() 73 if (!fs3270_working(fp)) { in fs3270_do_io() 75 rc = wait_event_interruptible(fp->wait, in fs3270_do_io() 76 fs3270_working(fp)); in fs3270_do_io() 83 wait_event(fp->wait, raw3270_request_final(rq)); in fs3270_do_io() 95 struct fs3270 *fp; in fs3270_reset_callback() local [all …]
|
D | hmcdrv_dev.c | 55 static int hmcdrv_dev_open(struct inode *inode, struct file *fp); 56 static int hmcdrv_dev_release(struct inode *inode, struct file *fp); 57 static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence); 58 static ssize_t hmcdrv_dev_read(struct file *fp, char __user *ubuf, 60 static ssize_t hmcdrv_dev_write(struct file *fp, const char __user *ubuf, 113 static int hmcdrv_dev_open(struct inode *inode, struct file *fp) in hmcdrv_dev_open() argument 119 if (fp->f_flags & O_NONBLOCK) in hmcdrv_dev_open() 125 if ((fp->f_flags & O_ACCMODE) == O_RDONLY) in hmcdrv_dev_open() 134 fp->private_data = NULL; /* no command yet */ in hmcdrv_dev_open() 139 pr_debug("open file '/dev/%pD' with return code %d\n", fp, rc); in hmcdrv_dev_open() [all …]
|
/linux-4.1.27/include/scsi/ |
D | fc_frame.h | 62 #define fp_skb(fp) (&((fp)->skb)) argument 63 #define fr_hdr(fp) ((fp)->skb.data) argument 64 #define fr_len(fp) ((fp)->skb.len) argument 65 #define fr_cb(fp) ((struct fcoe_rcv_info *)&((fp)->skb.cb[0])) argument 66 #define fr_dev(fp) (fr_cb(fp)->fr_dev) argument 67 #define fr_seq(fp) (fr_cb(fp)->fr_seq) argument 68 #define fr_sof(fp) (fr_cb(fp)->fr_sof) argument 69 #define fr_eof(fp) (fr_cb(fp)->fr_eof) argument 70 #define fr_flags(fp) (fr_cb(fp)->fr_flags) argument 71 #define fr_encaps(fp) (fr_cb(fp)->fr_encaps) argument [all …]
|
D | fc_encode.h | 73 static inline void fc_fill_fc_hdr(struct fc_frame *fp, enum fc_rctl r_ctl, in fc_fill_fc_hdr() argument 79 fh = fc_frame_header_get(fp); in fc_fill_fc_hdr() 88 static inline void fc_adisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_adisc_fill() argument 92 adisc = fc_frame_payload_get(fp, sizeof(*adisc)); in fc_adisc_fill() 104 static inline struct fc_ct_req *fc_ct_hdr_fill(const struct fc_frame *fp, in fc_ct_hdr_fill() argument 113 ct = fc_frame_payload_get(fp, ct_plen); in fc_ct_hdr_fill() 132 u32 fc_id, struct fc_frame *fp, in fc_ct_ns_fill() argument 141 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_gid_ft), in fc_ct_ns_fill() 147 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_fid), in fc_ct_ns_fill() 154 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rft), in fc_ct_ns_fill() [all …]
|
/linux-4.1.27/arch/m68k/kernel/ |
D | traps.c | 129 asmlinkage void trap_c(struct frame *fp); 132 static inline void access_error060 (struct frame *fp) in access_error060() argument 134 unsigned long fslw = fp->un.fmt4.pc; /* is really FSLW for access error */ in access_error060() 136 pr_debug("fslw=%#lx, fa=%#lx\n", fslw, fp->un.fmt4.effaddr); in access_error060() 151 unsigned long addr = fp->un.fmt4.effaddr; in access_error060() 164 do_page_fault(&fp->ptregs, addr, errorcode); in access_error060() 169 send_fault_sig(&fp->ptregs); in access_error060() 171 send_fault_sig(&fp->ptregs) > 0) { in access_error060() 172 pr_err("pc=%#lx, fa=%#lx\n", fp->ptregs.pc, in access_error060() 173 fp->un.fmt4.effaddr); in access_error060() [all …]
|
D | process.c | 182 : "m" (p->thread.fp[0]), in copy_thread() 191 : "m" (p->thread.fp[0]), in copy_thread() 215 memcpy(fpu->fpregs, current->thread.fp, 96); in dump_fpu() 259 unsigned long fp, pc; in get_wchan() local 266 fp = ((struct switch_stack *)p->thread.ksp)->a6; in get_wchan() 268 if (fp < stack_page+sizeof(struct thread_info) || in get_wchan() 269 fp >= 8184+stack_page) in get_wchan() 271 pc = ((unsigned long *)fp)[1]; in get_wchan() 274 fp = *(unsigned long *) fp; in get_wchan()
|
/linux-4.1.27/sound/usb/ |
D | format.c | 45 struct audioformat *fp, in parse_audio_format_i_type() argument 51 switch (fp->protocol) { in parse_audio_format_i_type() 78 fp->iface, fp->altsetting); in parse_audio_format_i_type() 90 fp->iface, fp->altsetting, in parse_audio_format_i_type() 99 if (snd_usb_is_big_endian_format(chip, fp)) in parse_audio_format_i_type() 105 if (snd_usb_is_big_endian_format(chip, fp)) in parse_audio_format_i_type() 116 fp->iface, fp->altsetting, in parse_audio_format_i_type() 141 fp->iface, fp->altsetting, format); in parse_audio_format_i_type() 144 pcm_formats |= snd_usb_interface_dsd_format_quirks(chip, fp, sample_bytes); in parse_audio_format_i_type() 160 static int parse_audio_format_rates_v1(struct snd_usb_audio *chip, struct audioformat *fp, in parse_audio_format_rates_v1() argument [all …]
|
D | stream.c | 45 struct audioformat *fp, *n; in free_substream() local 49 list_for_each_entry_safe(fp, n, &subs->fmt_list, list) { in free_substream() 50 kfree(fp->rate_table); in free_substream() 51 kfree(fp->chmap); in free_substream() 52 kfree(fp); in free_substream() 84 struct audioformat *fp) in snd_usb_init_substream() argument 100 list_add_tail(&fp->list, &subs->fmt_list); in snd_usb_init_substream() 101 subs->formats |= fp->formats; in snd_usb_init_substream() 103 subs->fmt_type = fp->fmt_type; in snd_usb_init_substream() 104 subs->ep_num = fp->endpoint; in snd_usb_init_substream() [all …]
|
D | quirks.c | 139 struct audioformat *fp; in create_fixed_stream_quirk() local 145 fp = kmemdup(quirk->data, sizeof(*fp), GFP_KERNEL); in create_fixed_stream_quirk() 146 if (!fp) { in create_fixed_stream_quirk() 150 if (fp->nr_rates > MAX_NR_RATES) { in create_fixed_stream_quirk() 151 kfree(fp); in create_fixed_stream_quirk() 154 if (fp->nr_rates > 0) { in create_fixed_stream_quirk() 155 rate_table = kmemdup(fp->rate_table, in create_fixed_stream_quirk() 156 sizeof(int) * fp->nr_rates, GFP_KERNEL); in create_fixed_stream_quirk() 158 kfree(fp); in create_fixed_stream_quirk() 161 fp->rate_table = rate_table; in create_fixed_stream_quirk() [all …]
|
D | pcm.c | 98 struct audioformat *fp; in find_format() local 102 list_for_each_entry(fp, &subs->fmt_list, list) { in find_format() 103 if (!(fp->formats & pcm_format_to_bits(subs->pcm_format))) in find_format() 105 if (fp->channels != subs->channels) in find_format() 107 if (subs->cur_rate < fp->rate_min || in find_format() 108 subs->cur_rate > fp->rate_max) in find_format() 110 if (! (fp->rates & SNDRV_PCM_RATE_CONTINUOUS)) { in find_format() 112 for (i = 0; i < fp->nr_rates; i++) in find_format() 113 if (fp->rate_table[i] == subs->cur_rate) in find_format() 115 if (i >= fp->nr_rates) in find_format() [all …]
|
D | proc.c | 76 struct audioformat *fp; in proc_dump_substream_formats() local 81 list_for_each_entry(fp, &subs->fmt_list, list) { in proc_dump_substream_formats() 84 snd_iprintf(buffer, " Interface %d\n", fp->iface); in proc_dump_substream_formats() 85 snd_iprintf(buffer, " Altset %d\n", fp->altsetting); in proc_dump_substream_formats() 88 if (fp->formats & pcm_format_to_bits(fmt)) in proc_dump_substream_formats() 92 snd_iprintf(buffer, " Channels: %d\n", fp->channels); in proc_dump_substream_formats() 94 fp->endpoint & USB_ENDPOINT_NUMBER_MASK, in proc_dump_substream_formats() 95 fp->endpoint & USB_DIR_IN ? "IN" : "OUT", in proc_dump_substream_formats() 96 sync_types[(fp->ep_attr & USB_ENDPOINT_SYNCTYPE) >> 2]); in proc_dump_substream_formats() 97 if (fp->rates & SNDRV_PCM_RATE_CONTINUOUS) { in proc_dump_substream_formats() [all …]
|
/linux-4.1.27/drivers/net/phy/ |
D | fixed_phy.c | 48 static int fixed_phy_update_regs(struct fixed_phy *fp) in fixed_phy_update_regs() argument 55 if (!fp->status.link) in fixed_phy_update_regs() 59 if (fp->status.duplex) { in fixed_phy_update_regs() 62 switch (fp->status.speed) { in fixed_phy_update_regs() 82 switch (fp->status.speed) { in fixed_phy_update_regs() 103 if (fp->status.pause) in fixed_phy_update_regs() 106 if (fp->status.asym_pause) in fixed_phy_update_regs() 110 fp->regs[MII_PHYSID1] = 0; in fixed_phy_update_regs() 111 fp->regs[MII_PHYSID2] = 0; in fixed_phy_update_regs() 113 fp->regs[MII_BMSR] = bmsr; in fixed_phy_update_regs() [all …]
|
/linux-4.1.27/drivers/sbus/char/ |
D | bbc_envctrl.c | 92 static void set_fan_speeds(struct bbc_fan_control *fp) in set_fan_speeds() argument 97 if (fp->cpu_fan_speed < FAN_SPEED_MIN) in set_fan_speeds() 98 fp->cpu_fan_speed = FAN_SPEED_MIN; in set_fan_speeds() 99 if (fp->cpu_fan_speed > FAN_SPEED_MAX) in set_fan_speeds() 100 fp->cpu_fan_speed = FAN_SPEED_MAX; in set_fan_speeds() 101 if (fp->system_fan_speed < FAN_SPEED_MIN) in set_fan_speeds() 102 fp->system_fan_speed = FAN_SPEED_MIN; in set_fan_speeds() 103 if (fp->system_fan_speed > FAN_SPEED_MAX) in set_fan_speeds() 104 fp->system_fan_speed = FAN_SPEED_MAX; in set_fan_speeds() 107 fp->index, in set_fan_speeds() [all …]
|
/linux-4.1.27/arch/nios2/kernel/ |
D | process.c | 89 regs->ra, regs->fp, regs->sp, regs->gp); in show_regs() 147 void dump(struct pt_regs *fp) in dump() argument 169 pr_emerg("PC: %08lx\n", fp->ea); in dump() 171 (long) fp->estatus, (long) fp); in dump() 174 fp->r1, fp->r2, fp->r3); in dump() 177 fp->r4, fp->r5, fp->r6, fp->r7); in dump() 179 fp->r8, fp->r9, fp->r10, fp->r11); in dump() 181 fp->r12, fp->r13, fp->r14, fp->r15); in dump() 183 fp->orig_r2, fp->ra, fp->fp, fp->sp); in dump() 185 (unsigned int) fp->sp, (unsigned int) fp); in dump() [all …]
|
D | traps.c | 118 asmlinkage void breakpoint_c(struct pt_regs *fp) in breakpoint_c() argument 125 fp->ea -= 4; in breakpoint_c() 126 _exception(SIGTRAP, fp, TRAP_BRKPT, fp->ea); in breakpoint_c() 131 asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause) in handle_unaligned_c() argument 136 fp->ea -= 4; in handle_unaligned_c() 138 if (fixup_exception(fp)) in handle_unaligned_c() 141 if (!user_mode(fp)) { in handle_unaligned_c() 146 pr_alert(" op-code 0x%08lx\n", *(unsigned long *)(fp->ea)); in handle_unaligned_c() 147 show_regs(fp); in handle_unaligned_c() 151 _exception(SIGBUS, fp, BUS_ADRALN, addr); in handle_unaligned_c() [all …]
|
D | misaligned.c | 53 static inline u32 get_reg_val(struct pt_regs *fp, int reg) in get_reg_val() argument 55 u8 *p = ((u8 *)fp) + reg_offsets[reg]; in get_reg_val() 60 static inline void put_reg_val(struct pt_regs *fp, int reg, u32 val) in put_reg_val() argument 62 u8 *p = ((u8 *)fp) + reg_offsets[reg]; in put_reg_val() 69 asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause) in handle_unaligned_c() argument 78 fp->ea -= 4; in handle_unaligned_c() 80 if (fixup_exception(fp)) { in handle_unaligned_c() 85 in_kernel = !user_mode(fp); in handle_unaligned_c() 87 isn = *(unsigned long *)(fp->ea); in handle_unaligned_c() 97 addr = get_reg_val(fp, a) + imm16; in handle_unaligned_c() [all …]
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_phonet.c | 205 struct f_phonet *fp = ep->driver_data; in pn_tx_complete() local 206 struct net_device *dev = fp->dev; in pn_tx_complete() 229 struct f_phonet *fp; in pn_net_xmit() local 237 fp = port->usb; in pn_net_xmit() 238 if (unlikely(!fp)) /* race with carrier loss */ in pn_net_xmit() 241 req = fp->in_req; in pn_net_xmit() 248 if (unlikely(usb_ep_queue(fp->in_ep, req, GFP_ATOMIC))) in pn_net_xmit() 301 pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags) in pn_rx_submit() argument 314 err = usb_ep_queue(fp->out_ep, req, gfp_flags); in pn_rx_submit() 322 struct f_phonet *fp = ep->driver_data; in pn_rx_complete() local [all …]
|
/linux-4.1.27/tools/perf/ui/stdio/ |
D | hist.c | 9 static size_t callchain__fprintf_left_margin(FILE *fp, int left_margin) in callchain__fprintf_left_margin() argument 12 int ret = fprintf(fp, " "); in callchain__fprintf_left_margin() 15 ret += fprintf(fp, " "); in callchain__fprintf_left_margin() 20 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line() argument 24 size_t ret = callchain__fprintf_left_margin(fp, left_margin); in ipchain__fprintf_graph_line() 28 ret += fprintf(fp, "| "); in ipchain__fprintf_graph_line() 30 ret += fprintf(fp, " "); in ipchain__fprintf_graph_line() 32 ret += fprintf(fp, "\n"); in ipchain__fprintf_graph_line() 37 static size_t ipchain__fprintf_graph(FILE *fp, struct callchain_list *chain, in ipchain__fprintf_graph() argument 46 ret += callchain__fprintf_left_margin(fp, left_margin); in ipchain__fprintf_graph() [all …]
|
/linux-4.1.27/drivers/net/fddi/skfp/ |
D | fplustm.c | 178 smc->hw.fp.fifo.rbc_ram_start = 0 ; in init_ram() 179 smc->hw.fp.fifo.rbc_ram_end = in init_ram() 180 smc->hw.fp.fifo.rbc_ram_start + RBC_MEM_SIZE ; in init_ram() 182 MARW(smc->hw.fp.fifo.rbc_ram_start) ; in init_ram() 183 for (i = smc->hw.fp.fifo.rbc_ram_start; in init_ram() 184 i < (u_short) (smc->hw.fp.fifo.rbc_ram_end-1); i++) in init_ram() 198 outpw(FM_A(FM_RPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* RPR1 */ in set_recvptr() 199 outpw(FM_A(FM_SWPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* SWPR1 */ in set_recvptr() 200 outpw(FM_A(FM_WPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* WPR1 */ in set_recvptr() 201 outpw(FM_A(FM_EARV1),smc->hw.fp.fifo.tx_s_start-1) ; /* EARV1 */ in set_recvptr() [all …]
|
D | hwmtm.c | 311 smc->hw.fp.mdr2init = FM_LSB | FM_BMMODE | FM_ENNPRQ | FM_ENHSRQ | 3 ; in init_driver_fplus() 314 smc->hw.fp.mdr2init |= FM_CHKPAR | FM_PARITY ; in init_driver_fplus() 316 smc->hw.fp.mdr3init = FM_MENRQAUNLCK | FM_MENRS ; in init_driver_fplus() 320 smc->hw.fp.frselreg_init = FM_ENXMTADSWAP | FM_ENRCVADSWAP ; in init_driver_fplus() 366 queue = smc->hw.fp.tx[QUEUE_A0] ; in init_txd_ring() 380 queue = smc->hw.fp.tx[QUEUE_S] ; in init_txd_ring() 402 queue = smc->hw.fp.rx[QUEUE_R1] ; in init_rxd_ring() 567 phys = repair_txd_ring(smc,smc->hw.fp.tx[QUEUE_A0]) ; in mac_drv_repair_descr() 569 if (smc->hw.fp.tx_q[QUEUE_A0].tx_used) { in mac_drv_repair_descr() 572 phys = repair_txd_ring(smc,smc->hw.fp.tx[QUEUE_S]) ; in mac_drv_repair_descr() [all …]
|
/linux-4.1.27/arch/blackfin/kernel/ |
D | traps.c | 28 kgdb_handle_exception(trapnr, sig, info.si_code, fp); \ 69 asmlinkage notrace void trap_c(struct pt_regs *fp) in trap_c() argument 81 unsigned long trapnr = fp->seqstat & SEQSTAT_EXCAUSE; in trap_c() 85 last_seqstat = (u32)fp->seqstat; in trap_c() 96 fp->orig_pc = fp->retx; in trap_c() 118 if (kernel_mode_regs(fp)) in trap_c() 164 if (kernel_mode_regs(fp)) in trap_c() 193 if (kernel_mode_regs(fp)) { in trap_c() 194 switch (report_bug(fp->pc, fp)) { in trap_c() 199 fp->pc += 2; in trap_c() [all …]
|
D | trace.c | 732 void dump_bfin_process(struct pt_regs *fp) in dump_bfin_process() argument 741 if (context & 0x0020 && (fp->seqstat & SEQSTAT_EXCAUSE) == VEC_HWERR) in dump_bfin_process() 782 void dump_bfin_mem(struct pt_regs *fp) in dump_bfin_mem() argument 787 erraddr = (void *)fp->pc; in dump_bfin_mem() 819 if (unlikely(sti && (fp->seqstat & SEQSTAT_EXCAUSE) == VEC_HWERR && in dump_bfin_mem() 831 if ((!(((fp)->ipend & ~0x30) & (((fp)->ipend & ~0x30) - 1))) && in dump_bfin_mem() 834 if ((fp + 1)->pc >= current->mm->start_code && in dump_bfin_mem() 835 (fp + 1)->pc <= current->mm->end_code) { in dump_bfin_mem() 838 show_regs(fp + 1); in dump_bfin_mem() 846 void show_regs(struct pt_regs *fp) in show_regs() argument [all …]
|
D | pseudodbg.c | 40 static bool fix_up_reg(struct pt_regs *fp, long *value, int grp, int reg) in fix_up_reg() argument 42 long *val = &fp->r0; in fix_up_reg() 54 val = &fp->usp; in fix_up_reg() 56 val = &fp->fp; in fix_up_reg() 58 val = &fp->i0; in fix_up_reg() 61 val = &fp->l0; in fix_up_reg() 64 val = &fp->b0; in fix_up_reg() 67 val = &fp->a0x; in fix_up_reg() 70 val = &fp->astat; in fix_up_reg() 72 val = &fp->rets; in fix_up_reg() [all …]
|
D | dumpstack.c | 38 unsigned int *addr, *endstack, *fp = 0, *frame; in show_stack() local 78 fp = addr - 1; in show_stack() 80 if (fp) { in show_stack() 82 while (fp >= (addr - 1) && fp < endstack in show_stack() 83 && fp && ((unsigned int) fp & 0x3) == 0) in show_stack() 84 fp = (unsigned int *)*fp; in show_stack() 85 if (fp == 0 || fp == endstack) { in show_stack() 86 fp = addr - 1; in show_stack() 89 fp = 0; in show_stack() 92 if (fp) { in show_stack() [all …]
|
D | stacktrace.c | 16 unsigned long fp; member 26 unsigned long fp; in save_stack_trace() local 32 fp = current_frame_pointer; in save_stack_trace() 34 while (fp >= low && fp <= (high - sizeof(*frame))) { in save_stack_trace() 35 frame = (struct stackframe *)fp; in save_stack_trace() 49 low = fp + sizeof(*frame); in save_stack_trace() 50 fp = frame->fp; in save_stack_trace()
|
D | early_printk.c | 203 asmlinkage void __init early_trap_c(struct pt_regs *fp, void *retaddr) in early_trap_c() argument 218 early_shadow_reg(fp->ipend, 16); in early_trap_c() 219 if (fp->seqstat & SEQSTAT_EXCAUSE) { in early_trap_c() 221 early_shadow_reg(fp->seqstat & SEQSTAT_EXCAUSE, 8); in early_trap_c() 223 if (fp->seqstat & SEQSTAT_HWERRCAUSE) { in early_trap_c() 226 (fp->seqstat & SEQSTAT_HWERRCAUSE) >> 14, 8); in early_trap_c() 229 if (fp->ipend & EVT_EVX) in early_trap_c() 230 early_shadow_reg(fp->retx, 32); in early_trap_c() 232 early_shadow_reg(fp->pc, 32); in early_trap_c() 263 show_regs(fp); in early_trap_c()
|
D | nmi.c | 228 asmlinkage notrace void do_nmi(struct pt_regs *fp) in do_nmi() argument 265 dump_bfin_process(fp); in do_nmi() 266 dump_bfin_mem(fp); in do_nmi() 267 show_regs(fp); in do_nmi() 269 show_stack(current, (unsigned long *)fp); in do_nmi()
|
D | process.c | 145 unsigned long fp, pc; in get_wchan() local 152 fp = p->thread.usp; in get_wchan() 154 if (fp < stack_page + sizeof(struct thread_info) || in get_wchan() 155 fp >= 8184 + stack_page) in get_wchan() 157 pc = ((unsigned long *)fp)[1]; in get_wchan() 160 fp = *(unsigned long *)fp; in get_wchan()
|
/linux-4.1.27/drivers/scsi/libfc/ |
D | fc_rport.c | 544 static void fc_rport_error(struct fc_rport_priv *rdata, struct fc_frame *fp) in fc_rport_error() argument 547 IS_ERR(fp) ? -PTR_ERR(fp) : 0, in fc_rport_error() 583 struct fc_frame *fp) in fc_rport_error_retry() argument 588 if (PTR_ERR(fp) == -FC_EX_CLOSED) in fc_rport_error_retry() 593 PTR_ERR(fp), fc_rport_state(rdata)); in fc_rport_error_retry() 596 if (PTR_ERR(fp) == -FC_EX_TIMEOUT) in fc_rport_error_retry() 603 fc_rport_error(rdata, fp); in fc_rport_error_retry() 617 struct fc_frame *fp) in fc_rport_login_complete() argument 624 flogi = fc_frame_payload_get(fp, sizeof(*flogi)); in fc_rport_login_complete() 630 if (fc_frame_payload_op(fp) == ELS_FLOGI) { in fc_rport_login_complete() [all …]
|
D | fc_frame.c | 34 u32 fc_frame_crc_check(struct fc_frame *fp) in fc_frame_crc_check() argument 41 WARN_ON(!fc_frame_is_linear(fp)); in fc_frame_crc_check() 42 fr_flags(fp) &= ~FCPHF_CRC_UNCHECKED; in fc_frame_crc_check() 43 len = (fr_len(fp) + 3) & ~3; /* round up length to include fill */ in fc_frame_crc_check() 44 bp = (const u8 *) fr_hdr(fp); in fc_frame_crc_check() 46 error = crc ^ fr_crc(fp); in fc_frame_crc_check() 57 struct fc_frame *fp; in _fc_frame_alloc() local 67 fp = (struct fc_frame *) skb; in _fc_frame_alloc() 68 fc_frame_init(fp); in _fc_frame_alloc() 70 return fp; in _fc_frame_alloc() [all …]
|
D | fc_exch.c | 272 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, in fc_exch_setup_hdr() argument 275 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_exch_setup_hdr() 278 fr_sof(fp) = ep->class; in fc_exch_setup_hdr() 280 fr_sof(fp) = fc_sof_normal(ep->class); in fc_exch_setup_hdr() 283 fr_eof(fp) = FC_EOF_T; in fc_exch_setup_hdr() 285 fr_eof(fp) = FC_EOF_N; in fc_exch_setup_hdr() 295 fill = fr_len(fp) & 3; in fc_exch_setup_hdr() 299 skb_put(fp_skb(fp), fill); in fc_exch_setup_hdr() 303 WARN_ON(fr_len(fp) % 4 != 0); /* no pad to non last frame */ in fc_exch_setup_hdr() 304 fr_eof(fp) = FC_EOF_N; in fc_exch_setup_hdr() [all …]
|
D | fc_lport.c | 165 static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) in fc_frame_drop() argument 167 fc_frame_free(fp); in fc_frame_drop() 410 static void fc_lport_recv_rlir_req(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_recv_rlir_req() argument 415 lport->tt.seq_els_rsp_send(fp, ELS_LS_ACC, NULL); in fc_lport_recv_rlir_req() 416 fc_frame_free(fp); in fc_lport_recv_rlir_req() 430 struct fc_frame *fp; in fc_lport_recv_echo_req() local 444 fp = fc_frame_alloc(lport, len); in fc_lport_recv_echo_req() 445 if (fp) { in fc_lport_recv_echo_req() 446 dp = fc_frame_payload_get(fp, len); in fc_lport_recv_echo_req() 449 fc_fill_reply_hdr(fp, in_fp, FC_RCTL_ELS_REP, 0); in fc_lport_recv_echo_req() [all …]
|
D | fc_elsct.c | 44 struct fc_frame *fp, unsigned int op, in fc_elsct_send() argument 56 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); in fc_elsct_send() 59 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); in fc_elsct_send() 63 fc_frame_free(fp); in fc_elsct_send() 67 fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type, in fc_elsct_send() 70 return lport->tt.exch_seq_send(lport, fp, resp, NULL, arg, timer_msec); in fc_elsct_send() 91 const char *fc_els_resp_type(struct fc_frame *fp) in fc_els_resp_type() argument 97 if (IS_ERR(fp)) { in fc_els_resp_type() 98 switch (-PTR_ERR(fp)) { in fc_els_resp_type() 113 fh = fc_frame_header_get(fp); in fc_els_resp_type() [all …]
|
D | fc_disc.c | 85 static void fc_disc_recv_rscn_req(struct fc_disc *disc, struct fc_frame *fp) in fc_disc_recv_rscn_req() argument 103 rp = fc_frame_payload_get(fp, sizeof(*rp)); in fc_disc_recv_rscn_req() 114 rp = fc_frame_payload_get(fp, len); in fc_disc_recv_rscn_req() 153 lport->tt.seq_els_rsp_send(fp, ELS_LS_ACC, NULL); in fc_disc_recv_rscn_req() 175 fc_frame_free(fp); in fc_disc_recv_rscn_req() 181 lport->tt.seq_els_rsp_send(fp, ELS_LS_RJT, &rjt_data); in fc_disc_recv_rscn_req() 182 fc_frame_free(fp); in fc_disc_recv_rscn_req() 194 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) in fc_disc_recv_req() argument 199 op = fc_frame_payload_op(fp); in fc_disc_recv_req() 203 fc_disc_recv_rscn_req(disc, fp); in fc_disc_recv_req() [all …]
|
D | fc_fcp.c | 423 struct fc_frame *fp; in fc_fcp_frame_alloc() local 425 fp = fc_frame_alloc(lport, len); in fc_fcp_frame_alloc() 426 if (likely(fp)) in fc_fcp_frame_alloc() 427 return fp; in fc_fcp_frame_alloc() 441 static void fc_fcp_recv_data(struct fc_fcp_pkt *fsp, struct fc_frame *fp) in fc_fcp_recv_data() argument 457 fh = fc_frame_header_get(fp); in fc_fcp_recv_data() 460 len = fr_len(fp) - sizeof(*fh); in fc_fcp_recv_data() 461 buf = fc_frame_payload_get(fp, 0); in fc_fcp_recv_data() 478 if ((fr_flags(fp) & FCPHF_CRC_UNCHECKED) && in fc_fcp_recv_data() 479 fc_frame_crc_check(fp)) in fc_fcp_recv_data() [all …]
|
D | fc_libfc.c | 166 void fc_fill_hdr(struct fc_frame *fp, const struct fc_frame *in_fp, in fc_fill_hdr() argument 174 fh = __fc_frame_header_get(fp); in fc_fill_hdr() 178 fill = -fr_len(fp) & 3; in fc_fill_hdr() 181 memset(skb_put(fp_skb(fp), fill), 0, fill); in fc_fill_hdr() 184 fr_eof(fp) = FC_EOF_T; in fc_fill_hdr() 186 WARN_ON(fr_len(fp) % 4 != 0); /* no pad to non last frame */ in fc_fill_hdr() 187 fr_eof(fp) = FC_EOF_N; in fc_fill_hdr() 203 fr_seq(fp) = sp; in fc_fill_hdr() 210 fr_sof(fp) = seq_cnt ? FC_SOF_N3 : FC_SOF_I3; in fc_fill_hdr() 211 fr_encaps(fp) = fr_encaps(in_fp); in fc_fill_hdr() [all …]
|
/linux-4.1.27/arch/alpha/include/uapi/asm/ |
D | fpu.h | 94 unsigned long fp; in ieee_swcr_to_fpcr() local 95 fp = (sw & IEEE_STATUS_MASK) << 35; in ieee_swcr_to_fpcr() 96 fp |= (sw & IEEE_MAP_DMZ) << 36; in ieee_swcr_to_fpcr() 97 fp |= (sw & IEEE_STATUS_MASK ? FPCR_SUM : 0); in ieee_swcr_to_fpcr() 98 fp |= (~sw & (IEEE_TRAP_ENABLE_INV in ieee_swcr_to_fpcr() 101 fp |= (~sw & (IEEE_TRAP_ENABLE_UNF | IEEE_TRAP_ENABLE_INE)) << 57; in ieee_swcr_to_fpcr() 102 fp |= (sw & IEEE_MAP_UMZ ? FPCR_UNDZ | FPCR_UNFD : 0); in ieee_swcr_to_fpcr() 103 fp |= (~sw & IEEE_TRAP_ENABLE_DNO) << 41; in ieee_swcr_to_fpcr() 104 return fp; in ieee_swcr_to_fpcr() 108 ieee_fpcr_to_swcr(unsigned long fp) in ieee_fpcr_to_swcr() argument [all …]
|
/linux-4.1.27/arch/x86/tools/ |
D | insn_sanity.c | 69 static void dump_field(FILE *fp, const char *name, const char *indent, in dump_field() argument 72 fprintf(fp, "%s.%s = {\n", indent, name); in dump_field() 73 fprintf(fp, "%s\t.value = %d, bytes[] = {%x, %x, %x, %x},\n", in dump_field() 76 fprintf(fp, "%s\t.got = %d, .nbytes = %d},\n", indent, in dump_field() 80 static void dump_insn(FILE *fp, struct insn *insn) in dump_insn() argument 82 fprintf(fp, "Instruction = {\n"); in dump_insn() 83 dump_field(fp, "prefixes", "\t", &insn->prefixes); in dump_insn() 84 dump_field(fp, "rex_prefix", "\t", &insn->rex_prefix); in dump_insn() 85 dump_field(fp, "vex_prefix", "\t", &insn->vex_prefix); in dump_insn() 86 dump_field(fp, "opcode", "\t", &insn->opcode); in dump_insn() [all …]
|
D | test_get_len.c | 59 static void dump_field(FILE *fp, const char *name, const char *indent, in dump_field() argument 62 fprintf(fp, "%s.%s = {\n", indent, name); in dump_field() 63 fprintf(fp, "%s\t.value = %d, bytes[] = {%x, %x, %x, %x},\n", in dump_field() 66 fprintf(fp, "%s\t.got = %d, .nbytes = %d},\n", indent, in dump_field() 70 static void dump_insn(FILE *fp, struct insn *insn) in dump_insn() argument 72 fprintf(fp, "Instruction = {\n"); in dump_insn() 73 dump_field(fp, "prefixes", "\t", &insn->prefixes); in dump_insn() 74 dump_field(fp, "rex_prefix", "\t", &insn->rex_prefix); in dump_insn() 75 dump_field(fp, "vex_prefix", "\t", &insn->vex_prefix); in dump_insn() 76 dump_field(fp, "opcode", "\t", &insn->opcode); in dump_insn() [all …]
|
D | relocs_common.c | 23 FILE *fp; in main() local 66 fp = fopen(fname, "r"); in main() 67 if (!fp) { in main() 70 if (fread(&e_ident, 1, EI_NIDENT, fp) != EI_NIDENT) { in main() 73 rewind(fp); in main() 75 process_64(fp, use_real_mode, as_text, in main() 79 process_32(fp, use_real_mode, as_text, in main() 82 fclose(fp); in main()
|
D | relocs.c | 333 static void read_ehdr(FILE *fp) in read_ehdr() argument 335 if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1) { in read_ehdr() 389 static void read_shdrs(FILE *fp) in read_shdrs() argument 399 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) { in read_shdrs() 405 if (fread(&shdr, sizeof shdr, 1, fp) != 1) in read_shdrs() 424 static void read_strtabs(FILE *fp) in read_strtabs() argument 437 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_strtabs() 441 if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) in read_strtabs() 449 static void read_symtabs(FILE *fp) in read_symtabs() argument 462 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_symtabs() [all …]
|
D | relocs.h | 31 void process_32(FILE *fp, int use_real_mode, int as_text, 34 void process_64(FILE *fp, int use_real_mode, int as_text,
|
/linux-4.1.27/net/core/ |
D | filter.c | 204 static bool convert_bpf_extensions(struct sock_filter *fp, in convert_bpf_extensions() argument 210 switch (fp->k) { in convert_bpf_extensions() 238 if (fp->k == SKF_AD_OFF + SKF_AD_IFINDEX) in convert_bpf_extensions() 297 switch (fp->k) { in convert_bpf_extensions() 363 struct sock_filter *fp; in bpf_convert_filter() local 381 fp = prog; in bpf_convert_filter() 387 for (i = 0; i < len; fp++, i++) { in bpf_convert_filter() 394 switch (fp->code) { in bpf_convert_filter() 427 if (BPF_CLASS(fp->code) == BPF_LD && in bpf_convert_filter() 428 BPF_MODE(fp->code) == BPF_ABS && in bpf_convert_filter() [all …]
|
D | scm.c | 92 fpp = &fpl->fp[fpl->count]; in scm_fp_copy() 120 struct scm_fp_list *fpl = scm->fp; in __scm_destroy() 124 scm->fp = NULL; in __scm_destroy() 126 fput(fpl->fp[i]); in __scm_destroy() 160 err=scm_fp_copy(cmsg, &p->fp); in __scm_send() 202 if (p->fp && !p->fp->count) in __scm_send() 204 kfree(p->fp); in __scm_send() 205 p->fp = NULL; in __scm_send() 260 int fdnum = scm->fp->count; in scm_detach_fds() 261 struct file **fp = scm->fp->fp; in scm_detach_fds() local [all …]
|
/linux-4.1.27/arch/alpha/kernel/ |
D | ptrace.c | 90 SW_REG(fp[ 0]), SW_REG(fp[ 1]), SW_REG(fp[ 2]), SW_REG(fp[ 3]), 91 SW_REG(fp[ 4]), SW_REG(fp[ 5]), SW_REG(fp[ 6]), SW_REG(fp[ 7]), 92 SW_REG(fp[ 8]), SW_REG(fp[ 9]), SW_REG(fp[10]), SW_REG(fp[11]), 93 SW_REG(fp[12]), SW_REG(fp[13]), SW_REG(fp[14]), SW_REG(fp[15]), 94 SW_REG(fp[16]), SW_REG(fp[17]), SW_REG(fp[18]), SW_REG(fp[19]), 95 SW_REG(fp[20]), SW_REG(fp[21]), SW_REG(fp[22]), SW_REG(fp[23]), 96 SW_REG(fp[24]), SW_REG(fp[25]), SW_REG(fp[26]), SW_REG(fp[27]), 97 SW_REG(fp[28]), SW_REG(fp[29]), SW_REG(fp[30]), SW_REG(fp[31]),
|
D | process.c | 349 memcpy(dest, sw->fp, 32 * 8); in dump_elf_task_fp() 372 unsigned long fp, sp = task_thread_info(t)->pcb.ksp; in thread_saved_pc() local 375 fp = ((unsigned long*)sp)[6]; in thread_saved_pc() 376 if (fp > sp && fp < base + 16*1024) in thread_saved_pc() 377 return *(unsigned long *)fp; in thread_saved_pc()
|
D | smc37c669.c | 2346 int __init smcc669_open( struct FILE *fp, char *info, char *next, char *mode ) 2353 ip = fp->ip; 2355 if ( fp->mode & ATTR$M_WRITE ) { 2365 *fp->offset = xtoi( info ); 2371 int __init smcc669_close( struct FILE *fp ) 2375 ip = fp->ip; 2376 if ( fp->mode & ATTR$M_WRITE ) { 2384 int __init smcc669_read( struct FILE *fp, int size, int number, unsigned char *buf ) 2394 ip = fp->ip; 2400 if ( !inrange( *fp->offset, 0, ip->len[0] ) ) [all …]
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | ftrace.h | 36 unsigned long *endstack, *fp, *ret_addr; in return_address() local 42 fp = (unsigned long *)__builtin_frame_address(0); in return_address() 45 while (((unsigned long)fp & 0x3) == 0 && fp && in return_address() 46 (fp + 1) < endstack && current_level < level) { in return_address() 47 fp = (unsigned long *)*fp; in return_address() 51 if (((unsigned long)fp & 0x3) == 0 && fp && in return_address() 52 (fp + 1) < endstack) in return_address() 53 ret_addr = (unsigned long *)*(fp + 1); in return_address()
|
D | context.S | 24 [--sp] = fp; 96 [--sp] = fp; 155 [--sp] = fp; 192 fp = 0(Z); define 272 fp = [sp++]; define 342 fp = [sp++]; define 353 [--sp] = fp; 385 fp = [sp++]; define
|
D | pseudo_instructions.h | 15 extern bool execute_pseudodbg_assert(struct pt_regs *fp, unsigned int opcode); 16 extern bool execute_pseudodbg(struct pt_regs *fp, unsigned int opcode);
|
/linux-4.1.27/arch/microblaze/kernel/ |
D | unwind.c | 124 static int lookup_prev_stack_frame(unsigned long fp, unsigned long pc, in lookup_prev_stack_frame() argument 138 *pprev_fp = fp + frame_size; in lookup_prev_stack_frame() 139 *pprev_pc = *(unsigned long *)fp; in lookup_prev_stack_frame() 144 *pprev_fp = fp; in lookup_prev_stack_frame() 154 unsigned long pc, unsigned long fp, 164 unsigned long fp, struct stack_trace *trace) in unwind_trap() argument 170 unsigned long fp, struct stack_trace *trace) in unwind_trap() argument 172 const struct pt_regs *regs = (const struct pt_regs *) fp; in unwind_trap() 188 unsigned long pc, unsigned long fp, in microblaze_unwind_inner() argument 194 pr_debug(" Unwinding with PC=%p, FP=%p\n", (void *)pc, (void *)fp); in microblaze_unwind_inner() [all …]
|
D | traps.c | 36 u32 fp = (u32) sp; in show_stack() local 38 if (fp == 0) { in show_stack() 40 fp = ((struct thread_info *) in show_stack() 44 fp = (u32)&sp - 8; in show_stack() 48 words_to_show = (THREAD_SIZE - (fp & (THREAD_SIZE - 1))) >> 2; in show_stack() 58 if (fp & 0xF) { in show_stack() 59 unsigned long line1_words = (0x10 - (fp & 0xF)) >> 2; in show_stack() 62 4, (void *)fp, line1_words << 2, 0); in show_stack() 63 fp += line1_words << 2; in show_stack() 67 print_hex_dump(KERN_INFO, "", DUMP_PREFIX_ADDRESS, 32, 4, (void *)fp, in show_stack()
|
/linux-4.1.27/security/selinux/ss/ |
D | policydb.c | 988 static int mls_read_range_helper(struct mls_range *r, void *fp) in mls_read_range_helper() argument 994 rc = next_entry(buf, fp, sizeof(u32)); in mls_read_range_helper() 1005 rc = next_entry(buf, fp, sizeof(u32) * items); in mls_read_range_helper() 1017 rc = ebitmap_read(&r->level[0].cat, fp); in mls_read_range_helper() 1023 rc = ebitmap_read(&r->level[1].cat, fp); in mls_read_range_helper() 1049 void *fp) in context_read_and_validate() argument 1054 rc = next_entry(buf, fp, sizeof buf); in context_read_and_validate() 1063 rc = mls_read_range_helper(&c->range, fp); in context_read_and_validate() 1087 static int str_read(char **strp, gfp_t flags, void *fp, u32 len) in str_read() argument 1099 rc = next_entry(str, fp, len); in str_read() [all …]
|
D | conditional.c | 220 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp) in cond_read_bool() argument 232 rc = next_entry(buf, fp, sizeof buf); in cond_read_bool() 249 rc = next_entry(key, fp, len); in cond_read_bool() 351 static int cond_read_av_list(struct policydb *p, void *fp, struct cond_av_list **ret_list, struct c… in cond_read_av_list() argument 361 rc = next_entry(buf, fp, sizeof(u32)); in cond_read_av_list() 374 rc = avtab_read_item(&p->te_cond_avtab, fp, p, cond_insertf, in cond_read_av_list() 398 static int cond_read_node(struct policydb *p, struct cond_node *node, void *fp) in cond_read_node() argument 405 rc = next_entry(buf, fp, sizeof(u32) * 2); in cond_read_node() 415 rc = next_entry(buf, fp, sizeof(u32) * 2); in cond_read_node() 440 rc = cond_read_av_list(p, fp, &node->true_list, NULL); in cond_read_node() [all …]
|
D | policydb.h | 310 extern int policydb_read(struct policydb *p, void *fp); 311 extern int policydb_write(struct policydb *p, void *fp); 334 void *fp; member 337 static inline int next_entry(void *buf, struct policy_file *fp, size_t bytes) in next_entry() argument 339 if (bytes > fp->len) in next_entry() 342 memcpy(buf, fp->data, bytes); in next_entry() 343 fp->data += bytes; in next_entry() 344 fp->len -= bytes; in next_entry() 348 static inline int put_entry(const void *buf, size_t bytes, int num, struct policy_file *fp) in put_entry() argument 352 memcpy(fp->data, buf, len); in put_entry() [all …]
|
D | avtab.h | 70 int avtab_read_item(struct avtab *a, void *fp, struct policydb *pol, 75 int avtab_read(struct avtab *a, void *fp, struct policydb *pol); 76 int avtab_write_item(struct policydb *p, struct avtab_node *cur, void *fp); 77 int avtab_write(struct policydb *p, struct avtab *a, void *fp);
|
D | avtab.c | 365 int avtab_read_item(struct avtab *a, void *fp, struct policydb *pol, in avtab_read_item() argument 383 rc = next_entry(buf32, fp, sizeof(u32)); in avtab_read_item() 394 rc = next_entry(buf32, fp, sizeof(u32)*items2); in avtab_read_item() 450 rc = next_entry(buf16, fp, sizeof(u16)*4); in avtab_read_item() 479 rc = next_entry(buf32, fp, sizeof(u32)); in avtab_read_item() 499 int avtab_read(struct avtab *a, void *fp, struct policydb *pol) in avtab_read() argument 506 rc = next_entry(buf, fp, sizeof(u32)); in avtab_read() 523 rc = avtab_read_item(a, fp, pol, avtab_insertf, NULL); in avtab_read() 543 int avtab_write_item(struct policydb *p, struct avtab_node *cur, void *fp) in avtab_write_item() argument 553 rc = put_entry(buf16, sizeof(u16), 4, fp); in avtab_write_item() [all …]
|
D | conditional.h | 71 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp); 72 int cond_read_list(struct policydb *p, void *fp); 74 int cond_write_list(struct policydb *p, struct cond_node *list, void *fp);
|
D | ebitmap.c | 343 int ebitmap_read(struct ebitmap *e, void *fp) in ebitmap_read() argument 353 rc = next_entry(buf, fp, sizeof buf); in ebitmap_read() 378 rc = next_entry(&startbit, fp, sizeof(u32)); in ebitmap_read() 421 rc = next_entry(&map, fp, sizeof(u64)); in ebitmap_read() 445 int ebitmap_write(struct ebitmap *e, void *fp) in ebitmap_write() argument 468 rc = put_entry(buf, sizeof(u32), 3, fp); in ebitmap_write() 487 rc = put_entry(buf, sizeof(u32), 1, fp); in ebitmap_write() 492 rc = put_entry(buf64, sizeof(u64), 1, fp); in ebitmap_write() 508 rc = put_entry(buf, sizeof(u32), 1, fp); in ebitmap_write() 513 rc = put_entry(buf64, sizeof(u64), 1, fp); in ebitmap_write()
|
/linux-4.1.27/kernel/time/ |
D | posix-clock.c | 33 static struct posix_clock *get_posix_clock(struct file *fp) in get_posix_clock() argument 35 struct posix_clock *clk = fp->private_data; in get_posix_clock() 52 static ssize_t posix_clock_read(struct file *fp, char __user *buf, in posix_clock_read() argument 55 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_read() 62 err = clk->ops.read(clk, fp->f_flags, buf, count); in posix_clock_read() 69 static unsigned int posix_clock_poll(struct file *fp, poll_table *wait) in posix_clock_poll() argument 71 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_poll() 78 result = clk->ops.poll(clk, fp, wait); in posix_clock_poll() 85 static int posix_clock_fasync(int fd, struct file *fp, int on) in posix_clock_fasync() argument 87 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_fasync() [all …]
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 90 struct bnx2x_fastpath *from_fp = &bp->fp[from]; in bnx2x_move_fp() 91 struct bnx2x_fastpath *to_fp = &bp->fp[to]; in bnx2x_move_fp() 180 struct bnx2x_fastpath *fp = &bp->fp[i]; in bnx2x_shrink_eth_fp() local 183 memcpy(&bp->bnx2x_txq[new_idx], fp->txdata_ptr[cos], in bnx2x_shrink_eth_fp() 185 fp->txdata_ptr[cos] = &bp->bnx2x_txq[new_idx]; in bnx2x_shrink_eth_fp() 343 static inline void bnx2x_update_last_max_sge(struct bnx2x_fastpath *fp, in bnx2x_update_last_max_sge() argument 346 u16 last_max = fp->last_max_sge; in bnx2x_update_last_max_sge() 349 fp->last_max_sge = idx; in bnx2x_update_last_max_sge() 352 static inline void bnx2x_update_sge_prod(struct bnx2x_fastpath *fp, in bnx2x_update_sge_prod() argument 356 struct bnx2x *bp = fp->bp; in bnx2x_update_sge_prod() [all …]
|
D | bnx2x_cmn.h | 126 int bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp, 432 void bnx2x_sp_event(struct bnx2x_fastpath *fp, union eth_rx_cqe *rr_cqe); 498 struct bnx2x_fastpath *fp, in bnx2x_update_rx_prod() argument 520 REG_WR(bp, fp->ustorm_rx_prods_offset + i*4, in bnx2x_update_rx_prod() 527 fp->index, bd_prod, rx_comp_prod, rx_sge_prod); in bnx2x_update_rx_prod() 625 static inline void bnx2x_update_fpsb_idx(struct bnx2x_fastpath *fp) in bnx2x_update_fpsb_idx() argument 628 fp->fp_hc_idx = fp->sb_running_index[SM_RX_ID]; in bnx2x_update_fpsb_idx() 762 static inline bool bnx2x_has_tx_work(struct bnx2x_fastpath *fp) in bnx2x_has_tx_work() argument 765 for_each_cos_in_tx_queue(fp, cos) in bnx2x_has_tx_work() 766 if (bnx2x_tx_queue_has_work(fp->txdata_ptr[cos])) in bnx2x_has_tx_work() [all …]
|
D | bnx2x.h | 320 #define FP_COS_TO_TXQ(fp, cos, bp) \ argument 321 ((fp)->index + cos * BNX2X_NUM_NON_CNIC_QUEUES(bp)) 604 #define bnx2x_fp(bp, nr, var) ((bp)->fp[(nr)].var) 605 #define bnx2x_sp_obj(bp, fp) ((bp)->sp_objs[(fp)->index]) argument 606 #define bnx2x_fp_stats(bp, fp) (&((bp)->fp_stats[(fp)->index])) argument 607 #define bnx2x_fp_qstats(bp, fp) (&((bp)->fp_stats[(fp)->index].eth_q_stats)) argument 623 static inline void bnx2x_fp_busy_poll_init(struct bnx2x_fastpath *fp) in bnx2x_fp_busy_poll_init() argument 625 WRITE_ONCE(fp->busy_poll_state, 0); in bnx2x_fp_busy_poll_init() 629 static inline bool bnx2x_fp_lock_napi(struct bnx2x_fastpath *fp) in bnx2x_fp_lock_napi() argument 631 unsigned long prev, old = READ_ONCE(fp->busy_poll_state); in bnx2x_fp_lock_napi() [all …]
|
D | bnx2x_main.c | 287 static u32 bnx2x_rx_ustorm_prods_offset(struct bnx2x_fastpath *fp); 955 struct bnx2x_fastpath *fp = &bp->fp[i]; in bnx2x_panic_dump() local 971 if (!bp->fp) in bnx2x_panic_dump() 974 if (!fp->rx_cons_sb) in bnx2x_panic_dump() 979 i, fp->rx_bd_prod, fp->rx_bd_cons, in bnx2x_panic_dump() 980 fp->rx_comp_prod, in bnx2x_panic_dump() 981 fp->rx_comp_cons, le16_to_cpu(*fp->rx_cons_sb)); in bnx2x_panic_dump() 983 fp->rx_sge_prod, fp->last_max_sge, in bnx2x_panic_dump() 984 le16_to_cpu(fp->fp_hc_idx)); in bnx2x_panic_dump() 987 for_each_cos_in_tx_queue(fp, cos) in bnx2x_panic_dump() [all …]
|
/linux-4.1.27/drivers/target/tcm_fc/ |
D | tfc_cmd.c | 91 struct fc_frame *fp; in ft_free_cmd() local 98 fp = cmd->req_frame; in ft_free_cmd() 99 lport = fr_dev(fp); in ft_free_cmd() 100 if (fr_seq(fp)) in ft_free_cmd() 101 lport->tt.seq_release(fr_seq(fp)); in ft_free_cmd() 102 fc_frame_free(fp); in ft_free_cmd() 126 struct fc_frame *fp; in ft_queue_status() local 139 fp = fc_frame_alloc(lport, len); in ft_queue_status() 140 if (!fp) { in ft_queue_status() 145 fcp = fc_frame_payload_get(fp, len); in ft_queue_status() [all …]
|
D | tfc_io.c | 63 struct fc_frame *fp = NULL; in ft_queue_data_in() local 132 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); in ft_queue_data_in() 133 if (!fp) in ft_queue_data_in() 135 to = fc_frame_payload_get(fp, 0); in ft_queue_data_in() 144 fr_max_payload(fp) = cmd->sess->max_frame; in ft_queue_data_in() 152 skb_fill_page_desc(fp_skb(fp), in ft_queue_data_in() 153 skb_shinfo(fp_skb(fp))->nr_frags, in ft_queue_data_in() 155 fr_len(fp) += tlen; in ft_queue_data_in() 156 fp_skb(fp)->data_len += tlen; in ft_queue_data_in() 157 fp_skb(fp)->truesize += in ft_queue_data_in() [all …]
|
/linux-4.1.27/arch/sh/kernel/cpu/sh5/ |
D | unwind.c | 46 static int lookup_prev_stack_frame(unsigned long fp, unsigned long pc, in lookup_prev_stack_frame() argument 70 if ((fp < (unsigned long) phys_to_virt(__MEMORY_START)) || in lookup_prev_stack_frame() 71 (fp >= (unsigned long)(phys_to_virt(__MEMORY_START)) + 128*1024*1024) || in lookup_prev_stack_frame() 72 ((fp & 7) != 0)) { in lookup_prev_stack_frame() 122 fp_prev = fp - fp_displacement; in lookup_prev_stack_frame() 173 fp_prev = fp - fp_displacement; in lookup_prev_stack_frame() 220 unsigned long pc, unsigned long fp) in unwind_nested() argument 222 if ((fp >= __MEMORY_START) && in unwind_nested() 223 ((fp & 7) == 0)) in unwind_nested() 224 sh64_unwind_inner(ops, data, (struct pt_regs *)fp); in unwind_nested() [all …]
|
/linux-4.1.27/tools/perf/util/ |
D | color.c | 70 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, in __color_vfprintf() argument 79 if (isatty(fileno(fp)) || pager_in_use()) in __color_vfprintf() 86 r += fprintf(fp, "%s", color); in __color_vfprintf() 87 r += vfprintf(fp, fmt, args); in __color_vfprintf() 89 r += fprintf(fp, "%s", PERF_COLOR_RESET); in __color_vfprintf() 91 r += fprintf(fp, "%s", trail); in __color_vfprintf() 101 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) in color_vfprintf() argument 103 return __color_vfprintf(fp, color, fmt, args, NULL); in color_vfprintf() 118 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...) in color_fprintf() argument 124 r = color_vfprintf(fp, color, fmt, args); in color_fprintf() [all …]
|
D | symbol-minimal.c | 84 FILE *fp; in filename__read_build_id() local 92 fp = fopen(filename, "r"); in filename__read_build_id() 93 if (fp == NULL) in filename__read_build_id() 96 if (fread(e_ident, sizeof(e_ident), 1, fp) != 1) in filename__read_build_id() 106 fseek(fp, 0, SEEK_SET); in filename__read_build_id() 112 if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1) in filename__read_build_id() 126 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id() 127 if (fread(buf, buf_size, 1, fp) != 1) in filename__read_build_id() 150 fseek(fp, offset, SEEK_SET); in filename__read_build_id() 151 if (fread(buf, buf_size, 1, fp) != 1) in filename__read_build_id() [all …]
|
D | map.c | 335 size_t map__fprintf(struct map *map, FILE *fp) in map__fprintf() argument 337 return fprintf(fp, " %" PRIx64 "-%" PRIx64 " %" PRIx64 " %s\n", in map__fprintf() 341 size_t map__fprintf_dsoname(struct map *map, FILE *fp) in map__fprintf_dsoname() argument 352 return fprintf(fp, "%s", dsoname); in map__fprintf_dsoname() 356 FILE *fp) in map__fprintf_srcline() argument 365 ret = fprintf(fp, "%s%s", prefix, srcline); in map__fprintf_srcline() 575 FILE *fp) in __map_groups__fprintf_maps() argument 577 size_t printed = fprintf(fp, "%s:\n", map_type__name[type]); in __map_groups__fprintf_maps() 582 printed += fprintf(fp, "Map:"); in __map_groups__fprintf_maps() 583 printed += map__fprintf(pos, fp); in __map_groups__fprintf_maps() [all …]
|
D | header.c | 452 FILE *fp; in build_cpu_topo() local 461 fp = fopen(filename, "r"); in build_cpu_topo() 462 if (!fp) in build_cpu_topo() 465 sret = getline(&buf, &len, fp); in build_cpu_topo() 466 fclose(fp); in build_cpu_topo() 488 fp = fopen(filename, "r"); in build_cpu_topo() 489 if (!fp) in build_cpu_topo() 492 if (getline(&buf, &len, fp) <= 0) in build_cpu_topo() 510 if(fp) in build_cpu_topo() 511 fclose(fp); in build_cpu_topo() [all …]
|
D | color.h | 35 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args); 36 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...); 38 int color_fprintf_ln(FILE *fp, const char *color, const char *fmt, ...); 39 int color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf); 43 int percent_color_fprintf(FILE *fp, const char *fmt, double percent);
|
D | values.c | 130 static void perf_read_values__display_pretty(FILE *fp, in perf_read_values__display_pretty() argument 160 fprintf(fp, "# %*s %*s", pidwidth, "PID", tidwidth, "TID"); in perf_read_values__display_pretty() 162 fprintf(fp, " %*s", counterwidth[j], values->countername[j]); in perf_read_values__display_pretty() 163 fprintf(fp, "\n"); in perf_read_values__display_pretty() 166 fprintf(fp, " %*d %*d", pidwidth, values->pid[i], in perf_read_values__display_pretty() 169 fprintf(fp, " %*" PRIu64, in perf_read_values__display_pretty() 171 fprintf(fp, "\n"); in perf_read_values__display_pretty() 176 static void perf_read_values__display_raw(FILE *fp, in perf_read_values__display_raw() argument 212 fprintf(fp, "# %*s %*s %*s %*s %*s\n", in perf_read_values__display_raw() 218 fprintf(fp, " %*d %*d %*s %*" PRIx64 " %*" PRIu64, in perf_read_values__display_raw() [all …]
|
D | cpumap.c | 179 size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp) in cpu_map__fprintf() argument 182 size_t printed = fprintf(fp, "%d cpu%s: ", in cpu_map__fprintf() 185 printed += fprintf(fp, "%s%d", i ? ", " : "", map->map[i]); in cpu_map__fprintf() 187 return printed + fprintf(fp, "\n"); in cpu_map__fprintf() 209 FILE *fp; in cpu_map__get_socket() local 227 fp = fopen(path, "r"); in cpu_map__get_socket() 228 if (!fp) in cpu_map__get_socket() 230 ret = fscanf(fp, "%d", &cpu); in cpu_map__get_socket() 231 fclose(fp); in cpu_map__get_socket() 272 FILE *fp; in cpu_map__get_core() local [all …]
|
D | cgroup.c | 13 FILE *fp; in cgroupfs_find_mountpoint() local 18 fp = fopen("/proc/mounts", "r"); in cgroupfs_find_mountpoint() 19 if (!fp) in cgroupfs_find_mountpoint() 27 while (fscanf(fp, "%*s %"STR(PATH_MAX)"s %"STR(PATH_MAX)"s %" in cgroupfs_find_mountpoint() 46 fclose(fp); in cgroupfs_find_mountpoint()
|
D | session.h | 86 size_t perf_session__fprintf(struct perf_session *session, FILE *fp); 88 size_t perf_session__fprintf_dsos(struct perf_session *session, FILE *fp); 90 size_t perf_session__fprintf_dsos_buildid(struct perf_session *session, FILE *fp, 93 size_t perf_session__fprintf_nr_events(struct perf_session *session, FILE *fp); 105 void perf_session__fprintf_info(struct perf_session *s, FILE *fp, bool full);
|
D | event.c | 218 FILE *fp; in perf_event__synthesize_mmap_events() local 227 fp = fopen(filename, "r"); in perf_event__synthesize_mmap_events() 228 if (fp == NULL) { in perf_event__synthesize_mmap_events() 247 if (fgets(bf, sizeof(bf), fp) == NULL) in perf_event__synthesize_mmap_events() 318 fclose(fp); in perf_event__synthesize_mmap_events() 667 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp) in perf_event__fprintf_comm() argument 676 return fprintf(fp, "%s: %s:%d/%d\n", s, event->comm.comm, event->comm.pid, event->comm.tid); in perf_event__fprintf_comm() 695 size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp) in perf_event__fprintf_mmap() argument 697 return fprintf(fp, " %d/%d: [%#" PRIx64 "(%#" PRIx64 ") @ %#" PRIx64 "]: %c %s\n", in perf_event__fprintf_mmap() 704 size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp) in perf_event__fprintf_mmap2() argument [all …]
|
D | map.h | 145 size_t map__fprintf(struct map *map, FILE *fp); 146 size_t map__fprintf_dsoname(struct map *map, FILE *fp); 148 FILE *fp); 161 FILE *fp); 171 size_t map_groups__fprintf(struct map_groups *mg, FILE *fp); 228 FILE *fp);
|
D | strlist.c | 72 FILE *fp = fopen(filename, "r"); in strlist__load() local 74 if (fp == NULL) in strlist__load() 77 while (fgets(entry, sizeof(entry), fp) != NULL) { in strlist__load() 91 fclose(fp); in strlist__load()
|
/linux-4.1.27/arch/avr32/kernel/ |
D | stacktrace.c | 19 unsigned long fp; member 28 unsigned long fp; in save_stack_trace() local 34 fp = current_frame_pointer; in save_stack_trace() 36 while (fp >= low && fp <= (high - 8)) { in save_stack_trace() 37 frame = (struct stackframe *)fp; in save_stack_trace() 51 low = fp + 8; in save_stack_trace() 52 fp = frame->fp; in save_stack_trace()
|
D | process.c | 121 unsigned long lr, fp; in show_trace_log_lvl() local 125 fp = regs->r7; in show_trace_log_lvl() 127 asm("mov %0, r7" : "=r"(fp)); in show_trace_log_lvl() 129 fp = tsk->thread.cpu_context.r7; in show_trace_log_lvl() 138 while (valid_stack_ptr(tinfo, fp)) { in show_trace_log_lvl() 141 lr = *(unsigned long *)fp; in show_trace_log_lvl() 149 new_fp = *(unsigned long *)(fp + 4); in show_trace_log_lvl() 150 if (new_fp <= fp) in show_trace_log_lvl() 152 fp = new_fp; in show_trace_log_lvl() 335 unsigned long fp = p->thread.cpu_context.r7; in get_wchan() local [all …]
|
/linux-4.1.27/arch/hexagon/kernel/ |
D | stacktrace.c | 29 unsigned long fp; member 39 unsigned long fp; in save_stack_trace() local 45 fp = current_frame_pointer; in save_stack_trace() 47 while (fp >= low && fp <= (high - sizeof(*frame))) { in save_stack_trace() 48 frame = (struct stackframe *)fp; in save_stack_trace() 62 low = fp + sizeof(*frame); in save_stack_trace() 63 fp = frame->fp; in save_stack_trace()
|
D | traps.c | 92 static void do_show_stack(struct task_struct *task, unsigned long *fp, in do_show_stack() argument 111 if (fp == NULL) { in do_show_stack() 113 asm("%0 = r30" : "=r" (fp)); in do_show_stack() 115 fp = (unsigned long *) in do_show_stack() 117 task->thread.switch_sp)->fp; in do_show_stack() 121 if ((((unsigned long) fp) & 0x3) || ((unsigned long) fp < 0x1000)) { in do_show_stack() 122 printk(KERN_INFO "-- Corrupt frame pointer %p\n", fp); in do_show_stack() 128 ip = *(fp+1); in do_show_stack() 139 printk(KERN_INFO "[%p] 0x%lx: %s + 0x%lx", fp, ip, name, in do_show_stack() 141 if (((unsigned long) fp < low) || (high < (unsigned long) fp)) in do_show_stack() [all …]
|
D | process.c | 160 unsigned long fp, pc; in get_wchan() local 167 fp = ((struct hexagon_switch_stack *)p->thread.switch_sp)->fp; in get_wchan() 169 if (fp < (stack_page + sizeof(struct thread_info)) || in get_wchan() 170 fp >= (THREAD_SIZE - 8 + stack_page)) in get_wchan() 172 pc = ((unsigned long *)fp)[1]; in get_wchan() 175 fp = *(unsigned long *) fp; in get_wchan()
|
/linux-4.1.27/arch/metag/oprofile/ |
D | backtrace.c | 16 static void user_backtrace_fp(unsigned long __user *fp, unsigned int depth) in user_backtrace_fp() argument 18 while (depth-- && access_ok(VERIFY_READ, fp, 8)) { in user_backtrace_fp() 21 if (__copy_from_user_inatomic(&addr, fp + 1, sizeof(addr))) in user_backtrace_fp() 28 if (__copy_from_user_inatomic(&fpnew, fp + 0, sizeof(fpnew))) in user_backtrace_fp() 30 if (fpnew >= fp) in user_backtrace_fp() 32 fp = fpnew; in user_backtrace_fp() 53 unsigned long *fp = (unsigned long *)regs->ctx.AX[1].U0; in metag_backtrace() local 54 user_backtrace_fp((unsigned long __user __force *)fp, depth); in metag_backtrace() 57 frame.fp = regs->ctx.AX[1].U0; /* A0FrP */ in metag_backtrace()
|
/linux-4.1.27/arch/m68k/mac/ |
D | macints.c | 320 struct pt_regs *fp = get_irq_regs(); in mac_nmi_handler() 322 printk("PC: %08lx\nSR: %04x SP: %p\n", fp->pc, fp->sr, fp); in mac_nmi_handler() 324 fp->d0, fp->d1, fp->d2, fp->d3); in mac_nmi_handler() 326 fp->d4, fp->d5, fp->a0, fp->a1); in mac_nmi_handler() 333 dump_stack((struct frame *)fp); in mac_nmi_handler()
|
/linux-4.1.27/arch/arm64/kernel/ |
D | stacktrace.c | 41 unsigned long fp = frame->fp; in unwind_frame() local 46 if (fp < low || fp > high - 0x18 || fp & 0xf) in unwind_frame() 49 frame->sp = fp + 0x10; in unwind_frame() 50 frame->fp = *(unsigned long *)(fp); in unwind_frame() 51 frame->pc = *(unsigned long *)(fp + 8); in unwind_frame() 106 frame.fp = thread_saved_fp(tsk); in save_stack_trace_tsk() 111 frame.fp = (unsigned long)__builtin_frame_address(0); in save_stack_trace_tsk()
|
/linux-4.1.27/drivers/video/fbdev/geode/ |
D | video_gx.c | 183 unsigned long fp; in gx_configure_tft() local 194 fp = read_fp(par, FP_PM); in gx_configure_tft() 195 fp &= ~FP_PM_P; in gx_configure_tft() 196 write_fp(par, FP_PM, fp); in gx_configure_tft() 200 fp = read_fp(par, FP_PT1); in gx_configure_tft() 201 fp &= FP_PT1_VSIZE_MASK; in gx_configure_tft() 202 fp |= info->var.yres << FP_PT1_VSIZE_SHIFT; in gx_configure_tft() 203 write_fp(par, FP_PT1, fp); in gx_configure_tft() 208 fp = 0x0F100000; in gx_configure_tft() 213 fp |= FP_PT2_VSP; in gx_configure_tft() [all …]
|
D | suspend_gx.c | 39 memcpy(par->fp, par->vid_regs + VP_FP_START, sizeof(par->fp)); in gx_save_regs() 185 for (i = 0; i < ARRAY_SIZE(par->fp); i++) { in gx_restore_regs() 187 write_fp(par, i, par->fp[i]); in gx_restore_regs() 199 write_fp(par, FP_PM, par->fp[FP_PM] & ~FP_PM_P); in gx_disable_graphics() 215 uint32_t fp; in gx_enable_graphics() local 217 fp = read_fp(par, FP_PM); in gx_enable_graphics() 218 if (par->fp[FP_PM] & FP_PM_P) { in gx_enable_graphics() 220 if (!(fp & (FP_PM_PANEL_ON|FP_PM_PANEL_PWR_UP))) in gx_enable_graphics() 221 write_fp(par, FP_PM, par->fp[FP_PM]); in gx_enable_graphics() 224 if (!(fp & (FP_PM_PANEL_OFF|FP_PM_PANEL_PWR_DOWN))) in gx_enable_graphics() [all …]
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | stacktrace.c | 38 unsigned long fp = frame->fp; in unwind_frame() local 45 if (fp < (low + 12) || fp + 4 >= high) in unwind_frame() 49 frame->fp = *(unsigned long *)(fp - 12); in unwind_frame() 50 frame->sp = *(unsigned long *)(fp - 8); in unwind_frame() 51 frame->pc = *(unsigned long *)(fp - 4); in unwind_frame() 107 frame.fp = thread_saved_fp(tsk); in save_stack_trace_tsk() 115 frame.fp = (unsigned long)__builtin_frame_address(0); in save_stack_trace_tsk()
|
D | traps.c | 140 unsigned int fp, mode; in dump_backtrace() local 149 fp = regs->UCreg_fp; in dump_backtrace() 152 fp = thread_saved_fp(tsk); in dump_backtrace() 155 asm("mov %0, fp" : "=r" (fp) : : "cc"); in dump_backtrace() 159 if (!fp) { in dump_backtrace() 162 } else if (verify_stack(fp)) { in dump_backtrace() 163 printk("invalid frame pointer 0x%08x", fp); in dump_backtrace() 165 } else if (fp < (unsigned long)end_of_stack(tsk)) in dump_backtrace() 170 c_backtrace(fp, mode); in dump_backtrace()
|
/linux-4.1.27/tools/net/ |
D | bpf_asm.c | 26 extern void bpf_asm_compile(FILE *fp, bool cstyle); 30 FILE *fp = stdin; in main() local 40 fp = fopen(argv[i], "r"); in main() 41 if (!fp) { in main() 42 fp = stdin; in main() 49 bpf_asm_compile(fp, cstyle); in main()
|
/linux-4.1.27/scripts/ |
D | pnmtologo.c | 84 static unsigned int get_number(FILE *fp) in get_number() argument 90 c = fgetc(fp); in get_number() 96 c = fgetc(fp); in get_number() 112 c = fgetc(fp); in get_number() 119 static unsigned int get_number255(FILE *fp, unsigned int maxval) in get_number255() argument 121 unsigned int val = get_number(fp); in get_number255() 127 FILE *fp; in read_image() local 133 fp = fopen(filename, "r"); in read_image() 134 if (!fp) in read_image() 138 magic = fgetc(fp); in read_image() [all …]
|
D | conmakehash.c | 52 static void addpair(int fp, int un) in addpair() argument 60 for ( i = 0 ; i < unicount[fp] ; i++ ) in addpair() 61 if ( unitable[fp][i] == un ) in addpair() 66 if ( unicount[fp] > 254 ) in addpair() 72 unitable[fp][unicount[fp]] = un; in addpair() 73 unicount[fp]++; in addpair()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_bios.c | 113 …uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->o… in call_lvds_manufacturer_script() 116 if (!bios->fp.xlated_entry || !sub || !scriptofs) in call_lvds_manufacturer_script() 119 run_digital_op_script(dev, scriptofs, dcbent, head, bios->fp.dual_link); in call_lvds_manufacturer_script() 123 mdelay(ROM16(bios->data[bios->fp.xlated_entry + 7])); in call_lvds_manufacturer_script() 163 scriptptr = ROM16(bios->data[bios->fp.lvdsmanufacturerpointer + 7 + outputset * 2]); in run_lvds_table() 167 scriptptr = ROM16(bios->data[bios->fp.lvdsmanufacturerpointer + 11 + outputset * 2]); in run_lvds_table() 170 clktable = bios->fp.lvdsmanufacturerpointer + 15; in run_lvds_table() 175 if (bios->fp.dual_link) in run_lvds_table() 177 if (bios->fp.if_is_24bit) in run_lvds_table() 183 if (bios->fp.dual_link) { in run_lvds_table() [all …]
|
/linux-4.1.27/net/irda/ |
D | iriap.c | 435 __u8 *fp; in iriap_getvaluebyclass_confirm() local 443 fp = skb->data; in iriap_getvaluebyclass_confirm() 447 len = get_unaligned_be16(fp + n); in iriap_getvaluebyclass_confirm() 453 obj_id = get_unaligned_be16(fp + n); in iriap_getvaluebyclass_confirm() 456 type = fp[n++]; in iriap_getvaluebyclass_confirm() 461 memcpy(&tmp_cpu32, fp+n, 4); n += 4; in iriap_getvaluebyclass_confirm() 469 charset = fp[n++]; in iriap_getvaluebyclass_confirm() 496 value_len = fp[n++]; in iriap_getvaluebyclass_confirm() 501 fp[n + value_len] = 0x00; in iriap_getvaluebyclass_confirm() 502 pr_debug("Got string %s\n", fp+n); in iriap_getvaluebyclass_confirm() [all …]
|
D | irlmp_frame.c | 94 __u8 *fp; in irlmp_link_data_indication() local 100 fp = skb->data; in irlmp_link_data_indication() 106 slsap_sel = fp[0] & LSAP_MASK; in irlmp_link_data_indication() 107 dlsap_sel = fp[1]; in irlmp_link_data_indication() 113 if ((fp[0] & CONTROL_BIT) && (fp[2] == CONNECT_CMD)) { in irlmp_link_data_indication() 136 if (fp[0] & CONTROL_BIT) { in irlmp_link_data_indication() 138 __func__, fp[2]); in irlmp_link_data_indication() 148 if (fp[0] & CONTROL_BIT) { in irlmp_link_data_indication() 149 switch (fp[2]) { in irlmp_link_data_indication() 171 __func__, fp[2]); in irlmp_link_data_indication() [all …]
|
/linux-4.1.27/include/linux/ |
D | filter.h | 342 static inline void bpf_prog_lock_ro(struct bpf_prog *fp) in bpf_prog_lock_ro() argument 344 set_memory_ro((unsigned long)fp, fp->pages); in bpf_prog_lock_ro() 347 static inline void bpf_prog_unlock_ro(struct bpf_prog *fp) in bpf_prog_unlock_ro() argument 349 set_memory_rw((unsigned long)fp, fp->pages); in bpf_prog_unlock_ro() 352 static inline void bpf_prog_lock_ro(struct bpf_prog *fp) in bpf_prog_lock_ro() argument 356 static inline void bpf_prog_unlock_ro(struct bpf_prog *fp) in bpf_prog_unlock_ro() argument 363 void bpf_prog_select_runtime(struct bpf_prog *fp); 364 void bpf_prog_free(struct bpf_prog *fp); 372 void __bpf_prog_free(struct bpf_prog *fp); 374 static inline void bpf_prog_unlock_free(struct bpf_prog *fp) in bpf_prog_unlock_free() argument [all …]
|
/linux-4.1.27/arch/metag/kernel/ |
D | stacktrace.c | 41 struct metag_frame *fp = (struct metag_frame *)frame->fp; in unwind_frame() local 45 if (frame->fp & 0x7) in unwind_frame() 48 fpnew = fp->fp; in unwind_frame() 49 lr = fp->lr - 4; in unwind_frame() 70 if (fpnew < (ALIGN_DOWN((unsigned long)fp, THREAD_SIZE) + in unwind_frame() 71 sizeof(struct thread_info)) || fpnew >= (unsigned long)fp) in unwind_frame() 75 frame->fp = fpnew; in unwind_frame() 162 frame.fp = thread_saved_fp(tsk); in save_stack_trace_tsk() 171 frame.fp = (unsigned long)__builtin_frame_address(0); in save_stack_trace_tsk()
|
/linux-4.1.27/arch/frv/kernel/ |
D | process.c | 143 p->thread.fp = 0; in copy_thread() 172 unsigned long fp, pc; in get_wchan() local 179 fp = p->thread.fp; in get_wchan() 183 if (fp < stack_limit || fp >= (unsigned long) regs0 || fp & 3) in get_wchan() 186 pc = ((unsigned long *) fp)[2]; in get_wchan() 192 fp = *(unsigned long *) fp; in get_wchan() 202 return ((unsigned long *)tsk->thread.fp)[2]; in thread_saved_pc()
|
/linux-4.1.27/arch/arm/kernel/ |
D | stacktrace.c | 28 unsigned long fp = frame->fp; in unwind_frame() local 35 if (fp < low + 12 || fp > high - 4) in unwind_frame() 39 frame->fp = *(unsigned long *)(fp - 12); in unwind_frame() 40 frame->sp = *(unsigned long *)(fp - 8); in unwind_frame() 41 frame->pc = *(unsigned long *)(fp - 4); in unwind_frame() 131 frame.fp = thread_saved_fp(tsk); in __save_stack_trace() 139 frame.fp = (unsigned long)__builtin_frame_address(0); in __save_stack_trace() 159 frame.fp = regs->ARM_fp; in save_stack_trace_regs()
|
D | entry-ftrace.S | 115 sub r0, fp, #4 @ &lr of instrumented routine (&parent) 124 mov r2, fp @ frame pointer 139 ldr \reg, [fp, #-4] 143 ldr lr, [fp, #-4] 150 ldr lr, [fp, #-4] 233 mov r0, fp @ frame pointer
|
D | head-common.S | 87 ldrne fp, [r4], #4 88 strne fp, [r5], #4 91 mov fp, #0 @ Clear BSS (and zero fp) 93 strcc fp, [r6],#4
|
D | perf_callchain.c | 23 struct frame_tail __user *fp; member 55 if (tail + 1 >= buftail.fp) in user_backtrace() 58 return buftail.fp - 1; in user_backtrace()
|
/linux-4.1.27/arch/powerpc/perf/ |
D | callchain.c | 56 unsigned long *fp; in perf_callchain_kernel() local 66 fp = (unsigned long *) sp; in perf_callchain_kernel() 67 next_sp = fp[0]; in perf_callchain_kernel() 70 fp[STACK_FRAME_MARKER] == STACK_FRAME_REGS_MARKER) { in perf_callchain_kernel() 85 next_ip = fp[STACK_FRAME_LR_SAVE]; in perf_callchain_kernel() 208 static int is_sigreturn_64_address(unsigned long nip, unsigned long fp) in is_sigreturn_64_address() argument 210 if (nip == fp + offsetof(struct signal_frame_64, tramp)) in is_sigreturn_64_address() 243 unsigned long __user *fp, *uregs; in perf_callchain_user_64() local 251 fp = (unsigned long __user *) sp; in perf_callchain_user_64() 252 if (!valid_user_sp(sp, 1) || read_user_stack_64(fp, &next_sp)) in perf_callchain_user_64() [all …]
|
/linux-4.1.27/fs/autofs4/ |
D | dev-ioctl.c | 176 static int autofs_dev_ioctl_protover(struct file *fp, in autofs_dev_ioctl_protover() argument 185 static int autofs_dev_ioctl_protosubver(struct file *fp, in autofs_dev_ioctl_protosubver() argument 271 static int autofs_dev_ioctl_openmount(struct file *fp, in autofs_dev_ioctl_openmount() argument 301 static int autofs_dev_ioctl_closemount(struct file *fp, in autofs_dev_ioctl_closemount() argument 312 static int autofs_dev_ioctl_ready(struct file *fp, in autofs_dev_ioctl_ready() argument 326 static int autofs_dev_ioctl_fail(struct file *fp, in autofs_dev_ioctl_fail() argument 350 static int autofs_dev_ioctl_setpipefd(struct file *fp, in autofs_dev_ioctl_setpipefd() argument 403 static int autofs_dev_ioctl_catatonic(struct file *fp, in autofs_dev_ioctl_catatonic() argument 412 static int autofs_dev_ioctl_timeout(struct file *fp, in autofs_dev_ioctl_timeout() argument 432 static int autofs_dev_ioctl_requester(struct file *fp, in autofs_dev_ioctl_requester() argument [all …]
|
/linux-4.1.27/arch/sparc/kernel/ |
D | process_32.c | 149 unsigned long pc, fp; in show_stack() local 161 fp = (unsigned long) _ksp; in show_stack() 164 if (fp < (task_base + sizeof(struct thread_info)) || in show_stack() 165 fp >= (task_base + (PAGE_SIZE << 1))) in show_stack() 167 rw = (struct reg_window32 *) fp; in show_stack() 171 fp = rw->ins[6]; in show_stack() 241 unsigned long size, fp; local 245 if (get_user(tmp, &src->fp)) 248 fp = (unsigned long) tmp; 249 size = (fp - ((unsigned long) src)); [all …]
|
D | stacktrace.c | 15 unsigned long ksp, fp; in __save_stack_trace() local 28 fp = ksp + STACK_BIAS; in __save_stack_trace() 37 if (!kstack_valid(tp, fp)) in __save_stack_trace() 40 sf = (struct sparc_stackf *) fp; in __save_stack_trace() 47 fp = regs->u_regs[UREG_I6] + STACK_BIAS; in __save_stack_trace() 50 fp = (unsigned long)sf->fp + STACK_BIAS; in __save_stack_trace()
|
D | unaligned_64.c | 121 unsigned long value, fp; in fetch_reg() local 126 fp = regs->u_regs[UREG_FP]; in fetch_reg() 130 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg() 132 } else if (!test_thread_64bit_stack(fp)) { in fetch_reg() 134 win32 = (struct reg_window32 __user *)((unsigned long)((u32)fp)); in fetch_reg() 138 win = (struct reg_window __user *)(fp + STACK_BIAS); in fetch_reg() 146 unsigned long fp; in fetch_reg_addr() local 151 fp = regs->u_regs[UREG_FP]; in fetch_reg_addr() 155 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg_addr() 157 } else if (!test_thread_64bit_stack(fp)) { in fetch_reg_addr() [all …]
|
D | process_64.c | 410 unsigned long *fp; in thread_saved_pc() local 411 fp = (unsigned long *)(sp[14] + STACK_BIAS); in thread_saved_pc() 412 if (((unsigned long)fp & (sizeof(long) - 1)) == 0UL) in thread_saved_pc() 413 ret = fp[15]; in thread_saved_pc() 451 unsigned long fp, distance, rval; in clone_stackframe() local 456 __get_user(fp, &(((struct reg_window __user *)psp)->ins[6])); in clone_stackframe() 457 fp += STACK_BIAS; in clone_stackframe() 459 fp &= 0xffffffff; in clone_stackframe() 461 __get_user(fp, &(((struct reg_window32 __user *)psp)->ins[6])); in clone_stackframe() 469 distance = fp - psp; in clone_stackframe() [all …]
|
D | signal_32.c | 182 static inline int invalid_frame_pointer(void __user *fp, int fplen) in invalid_frame_pointer() argument 184 if ((((unsigned long) fp) & 7) || !__access_ok((unsigned long)fp, fplen)) in invalid_frame_pointer() 249 __siginfo_fpu_t __user *fp = tail; in setup_frame() local 250 tail += sizeof(*fp); in setup_frame() 251 err |= save_fpu_state(regs, fp); in setup_frame() 252 err |= __put_user(fp, &sf->fpu_save); in setup_frame() 345 __siginfo_fpu_t __user *fp = tail; in setup_rt_frame() local 346 tail += sizeof(*fp); in setup_rt_frame() 347 err |= save_fpu_state(regs, fp); in setup_rt_frame() 348 err |= __put_user(fp, &sf->fpu_save); in setup_rt_frame()
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_file_ops.c | 98 static int qib_get_base_info(struct file *fp, void __user *ubase, in qib_get_base_info() argument 101 struct qib_ctxtdata *rcd = ctxt_fp(fp); in qib_get_base_info() 117 master = !subctxt_fp(fp); in qib_get_base_info() 206 unsigned slave = subctxt_fp(fp) - 1; in qib_get_base_info() 215 cvt_kvaddr(&rcd->user_event_mask[subctxt_fp(fp)]); in qib_get_base_info() 243 kinfo->spi_subctxt = subctxt_fp(fp); in qib_get_base_info() 284 static int qib_tid_update(struct qib_ctxtdata *rcd, struct file *fp, in qib_tid_update() argument 296 unsigned subctxt = subctxt_fp(fp); in qib_tid_update() 318 tid = tidcursor_fp(fp); in qib_tid_update() 323 tid = tidcursor_fp(fp); in qib_tid_update() [all …]
|
D | qib_diag.c | 131 static int qib_diag_open(struct inode *in, struct file *fp); 132 static int qib_diag_release(struct inode *in, struct file *fp); 133 static ssize_t qib_diag_read(struct file *fp, char __user *data, 135 static ssize_t qib_diag_write(struct file *fp, const char __user *data, 151 static ssize_t qib_diagpkt_write(struct file *fp, const char __user *data, 508 static int qib_diag_open(struct inode *in, struct file *fp) in qib_diag_open() argument 532 fp->private_data = dc; in qib_diag_open() 547 static ssize_t qib_diagpkt_write(struct file *fp, in qib_diagpkt_write() argument 678 static int qib_diag_release(struct inode *in, struct file *fp) in qib_diag_release() argument 681 return_client(fp->private_data); in qib_diag_release() [all …]
|
/linux-4.1.27/arch/mips/fw/lib/ |
D | call_o32.S | 51 REG_S fp,O32_FRAMESZ-2*SZREG(sp) 64 move fp,sp 66 REG_SUBU fp,a1,O32_NFRAMESZ 68 REG_S sp,O32_NFRAMESZ-1*SZREG(fp) 74 sw a6,4*O32_SZREG(fp) 75 sw a7,5*O32_SZREG(fp) 78 PTR_LA t1,6*O32_SZREG(fp) 88 move sp,fp 103 REG_L fp,O32_FRAMESZ-2*SZREG(sp)
|
/linux-4.1.27/net/decnet/ |
D | dn_table.c | 72 #define DN_FIB_SCAN(f, fp) \ argument 73 for( ; ((f) = *(fp)) != NULL; (fp) = &(f)->fn_next) 75 #define DN_FIB_SCAN_KEY(f, fp, key) \ argument 76 for( ; ((f) = *(fp)) != NULL && dn_key_eq((f)->fn_key, (key)); (fp) = &(f)->fn_next) 126 struct dn_fib_node *f, **fp, *next; in dn_rebuild_zone() local 132 for(fp = dn_chain_p(f->fn_key, dz); in dn_rebuild_zone() 133 *fp && dn_key_leq((*fp)->fn_key, f->fn_key); in dn_rebuild_zone() 134 fp = &(*fp)->fn_next) in dn_rebuild_zone() 136 f->fn_next = *fp; in dn_rebuild_zone() 137 *fp = f; in dn_rebuild_zone() [all …]
|
/linux-4.1.27/drivers/scsi/bnx2fc/ |
D | bnx2fc_els.c | 18 static void bnx2fc_logo_resp(struct fc_seq *seq, struct fc_frame *fp, 20 static void bnx2fc_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, 174 int bnx2fc_send_adisc(struct bnx2fc_rport *tgt, struct fc_frame *fp) in bnx2fc_send_adisc() argument 183 fh = fc_frame_header_get(fp); in bnx2fc_send_adisc() 193 adisc = fc_frame_payload_get(fp, sizeof(*adisc)); in bnx2fc_send_adisc() 202 int bnx2fc_send_logo(struct bnx2fc_rport *tgt, struct fc_frame *fp) in bnx2fc_send_logo() argument 211 fh = fc_frame_header_get(fp); in bnx2fc_send_logo() 221 logo = fc_frame_payload_get(fp, sizeof(*logo)); in bnx2fc_send_logo() 230 int bnx2fc_send_rls(struct bnx2fc_rport *tgt, struct fc_frame *fp) in bnx2fc_send_rls() argument 239 fh = fc_frame_header_get(fp); in bnx2fc_send_rls() [all …]
|
/linux-4.1.27/arch/sh/kernel/cpu/ |
D | fpu.c | 26 struct sh_fpu_hard_struct *fp = &tsk->thread.xstate->hardfpu; in init_fpu() local 27 memset(fp, 0, xstate_size); in init_fpu() 28 fp->fpscr = FPSCR_INIT; in init_fpu() 30 struct sh_fpu_soft_struct *fp = &tsk->thread.xstate->softfpu; in init_fpu() local 31 memset(fp, 0, xstate_size); in init_fpu() 32 fp->fpscr = FPSCR_INIT; in init_fpu()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | prom.c | 174 struct ibm_pa_feature *fp, in scan_features() argument 193 for (i = 0; i < ft_size; ++i, ++fp) { in scan_features() 194 if (fp->pabyte >= ftrs[0]) in scan_features() 196 bit = (ftrs[2 + fp->pabyte] >> (7 - fp->pabit)) & 1; in scan_features() 197 if (bit ^ fp->invert) { in scan_features() 198 cur_cpu_spec->cpu_features |= fp->cpu_features; in scan_features() 199 cur_cpu_spec->cpu_user_features |= fp->cpu_user_ftrs; in scan_features() 200 cur_cpu_spec->cpu_user_features2 |= fp->cpu_user_ftrs2; in scan_features() 201 cur_cpu_spec->mmu_features |= fp->mmu_features; in scan_features() 203 cur_cpu_spec->cpu_features &= ~fp->cpu_features; in scan_features() [all …]
|
/linux-4.1.27/arch/x86/kernel/ |
D | stacktrace.c | 92 copy_stack_frame(const void __user *fp, struct stack_frame_user *frame) in copy_stack_frame() argument 96 if (!access_ok(VERIFY_READ, fp, sizeof(*frame))) in copy_stack_frame() 101 if (__copy_from_user_inatomic(frame, fp, sizeof(*frame))) in copy_stack_frame() 111 const void __user *fp = (const void __user *)regs->bp; in __save_stack_trace_user() local 121 if (!copy_stack_frame(fp, &frame)) in __save_stack_trace_user() 123 if ((unsigned long)fp < regs->sp) in __save_stack_trace_user() 129 if (fp == frame.next_fp) in __save_stack_trace_user() 131 fp = frame.next_fp; in __save_stack_trace_user()
|
/linux-4.1.27/arch/mn10300/kernel/ |
D | entry.S | 55 mov d0,(REG_D0,fp) 60 mov (REG_D0,fp),d0 61 mov (REG_A0,fp),a0 65 mov d0,(REG_D0,fp) 76 mov d0,(REG_ORIG_D0,fp) 85 mov (REG_A0,fp),d0 88 mov d0,(REG_D0,fp) 143 mov fp,d0 151 mov d0,(REG_D0,fp) 152 mov fp,d0 [all …]
|
/linux-4.1.27/arch/tile/kernel/ |
D | backtrace.c | 554 unsigned long fp, initial_frame_caller_pc; in backtrace_init() local 563 fp = -1; in backtrace_init() 567 fp = r52; in backtrace_init() 571 fp = sp + location.sp_offset; in backtrace_init() 576 fp = -1; in backtrace_init() 583 if (fp % sizeof(bt_int_reg_t) != 0) in backtrace_init() 584 fp = -1; in backtrace_init() 592 fp = -1; in backtrace_init() 598 fp = -1; in backtrace_init() 612 fp = -1; in backtrace_init() [all …]
|
/linux-4.1.27/tools/lib/api/fs/ |
D | findfs.c | 32 FILE *fp; in find_mountpoint() local 47 fp = fopen("/proc/mounts", "r"); in find_mountpoint() 48 if (fp == NULL) in find_mountpoint() 53 while (fscanf(fp, format, mountpoint, type) == 2) { in find_mountpoint() 57 fclose(fp); in find_mountpoint()
|
D | fs.c | 58 FILE *fp; in fs__read_mounts() local 60 fp = fopen("/proc/mounts", "r"); in fs__read_mounts() 61 if (fp == NULL) in fs__read_mounts() 65 fscanf(fp, "%*s %" STR(PATH_MAX) "s %99s %*s %*d %*d\n", in fs__read_mounts() 72 fclose(fp); in fs__read_mounts()
|
/linux-4.1.27/fs/ocfs2/ |
D | locks.c | 42 struct ocfs2_file_private *fp = file->private_data; in ocfs2_do_flock() local 43 struct ocfs2_lock_res *lockres = &fp->fp_flock; in ocfs2_do_flock() 50 mutex_lock(&fp->fp_mutex); in ocfs2_do_flock() 89 mutex_unlock(&fp->fp_mutex); in ocfs2_do_flock() 97 struct ocfs2_file_private *fp = file->private_data; in ocfs2_do_funlock() local 99 mutex_lock(&fp->fp_mutex); in ocfs2_do_funlock() 102 mutex_unlock(&fp->fp_mutex); in ocfs2_do_funlock()
|
/linux-4.1.27/arch/avr32/oprofile/ |
D | backtrace.c | 24 struct frame_head *fp; member 49 if (bufhead[0].fp <= head) in dump_user_backtrace() 52 return bufhead[0].fp; in dump_user_backtrace() 69 if (head->fp <= head) in avr32_backtrace() 71 head = head->fp; in avr32_backtrace()
|
/linux-4.1.27/drivers/acpi/acpica/ |
D | utfileio.c | 63 acpi_ut_read_table(FILE * fp, 145 acpi_ut_read_table(FILE * fp, in acpi_ut_read_table() argument 157 file_size = cm_get_file_size(fp); in acpi_ut_read_table() 168 fseek(fp, 0, SEEK_SET); in acpi_ut_read_table() 170 count = fread(&table_header, 1, sizeof(struct acpi_table_header), fp); in acpi_ut_read_table() 201 status = fl_check_for_ascii(fp, NULL, FALSE); in acpi_ut_read_table() 242 fseek(fp, 0, SEEK_SET); in acpi_ut_read_table() 243 actual = fread(*table, 1, (size_t) file_size, fp); in acpi_ut_read_table()
|
/linux-4.1.27/net/sched/ |
D | cls_route.c | 325 struct route4_filter __rcu **fp; in route4_delete() local 337 fp = &b->ht[from_hash(h >> 16)]; in route4_delete() 338 for (nf = rtnl_dereference(*fp); nf; in route4_delete() 339 fp = &nf->next, nf = rtnl_dereference(*fp)) { in route4_delete() 342 RCU_INIT_POINTER(*fp, rtnl_dereference(f->next)); in route4_delete() 388 struct route4_filter *fp; in route4_set_parms() local 442 for (fp = rtnl_dereference(b->ht[h2]); in route4_set_parms() 443 fp; in route4_set_parms() 444 fp = rtnl_dereference(fp->next)) in route4_set_parms() 445 if (fp->handle == f->handle) in route4_set_parms() [all …]
|
D | act_bpf.c | 174 struct bpf_prog *fp; in tcf_bpf_init_from_ops() local 195 ret = bpf_prog_create(&fp, &fprog_tmp); in tcf_bpf_init_from_ops() 203 cfg->filter = fp; in tcf_bpf_init_from_ops() 211 struct bpf_prog *fp; in tcf_bpf_init_from_efd() local 217 fp = bpf_prog_get(bpf_fd); in tcf_bpf_init_from_efd() 218 if (IS_ERR(fp)) in tcf_bpf_init_from_efd() 219 return PTR_ERR(fp); in tcf_bpf_init_from_efd() 221 if (fp->type != BPF_PROG_TYPE_SCHED_ACT) { in tcf_bpf_init_from_efd() 222 bpf_prog_put(fp); in tcf_bpf_init_from_efd() 231 bpf_prog_put(fp); in tcf_bpf_init_from_efd() [all …]
|
D | cls_fw.c | 162 struct fw_filter __rcu **fp; in fw_delete() local 168 fp = &head->ht[fw_hash(f->id)]; in fw_delete() 170 for (pfp = rtnl_dereference(*fp); pfp; in fw_delete() 171 fp = &pfp->next, pfp = rtnl_dereference(*fp)) { in fw_delete() 173 RCU_INIT_POINTER(*fp, rtnl_dereference(f->next)); in fw_delete() 257 struct fw_filter __rcu **fp; in fw_change() local 281 fp = &head->ht[fw_hash(fnew->id)]; in fw_change() 282 for (pfp = rtnl_dereference(*fp); pfp; in fw_change() 283 fp = &pfp->next, pfp = rtnl_dereference(*fp)) in fw_change() 288 rcu_assign_pointer(*fp, fnew); in fw_change()
|
D | cls_tcindex.c | 66 struct tcindex_filter __rcu **fp; in tcindex_lookup() local 69 fp = &p->h[key % p->hash]; in tcindex_lookup() 70 for (f = rcu_dereference_bh_rtnl(*fp); in tcindex_lookup() 72 fp = &f->next, f = rcu_dereference_bh_rtnl(*fp)) in tcindex_lookup() 378 struct tcindex_filter __rcu **fp; in tcindex_set_parms() local 382 fp = cp->h + (handle % cp->hash); in tcindex_set_parms() 383 for (nfp = rtnl_dereference(*fp); in tcindex_set_parms() 385 fp = &nfp->next, nfp = rtnl_dereference(*fp)) in tcindex_set_parms() 388 rcu_assign_pointer(*fp, f); in tcindex_set_parms() 519 struct tcindex_filter __rcu **fp; in tcindex_dump() local [all …]
|
D | cls_bpf.c | 189 struct bpf_prog *fp; in cls_bpf_prog_from_ops() local 210 ret = bpf_prog_create(&fp, &fprog_tmp); in cls_bpf_prog_from_ops() 220 prog->filter = fp; in cls_bpf_prog_from_ops() 229 struct bpf_prog *fp; in cls_bpf_prog_from_efd() local 235 fp = bpf_prog_get(bpf_fd); in cls_bpf_prog_from_efd() 236 if (IS_ERR(fp)) in cls_bpf_prog_from_efd() 237 return PTR_ERR(fp); in cls_bpf_prog_from_efd() 239 if (fp->type != BPF_PROG_TYPE_SCHED_CLS) { in cls_bpf_prog_from_efd() 240 bpf_prog_put(fp); in cls_bpf_prog_from_efd() 249 bpf_prog_put(fp); in cls_bpf_prog_from_efd() [all …]
|
D | cls_rsvp.h | 336 struct rsvp_filter __rcu **fp; in rsvp_delete() local 342 fp = &s->ht[(h >> 8) & 0xFF]; in rsvp_delete() 343 for (nfp = rtnl_dereference(*fp); nfp; in rsvp_delete() 344 fp = &nfp->next, nfp = rtnl_dereference(*fp)) { in rsvp_delete() 346 RCU_INIT_POINTER(*fp, f->next); in rsvp_delete() 462 struct rsvp_filter __rcu **fp; in rsvp_change() local 571 fp = &s->ht[h2]; in rsvp_change() 579 fp = &s->ht[h2]; in rsvp_change() 580 for (nfp = rtnl_dereference(*fp); nfp; in rsvp_change() 581 fp = &nfp->next, nfp = rtnl_dereference(*fp)) { in rsvp_change() [all …]
|
/linux-4.1.27/fs/nfsd/ |
D | nfs4state.c | 74 static bool check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner); 272 struct nfs4_file *fp = container_of(rcu, struct nfs4_file, fi_rcu); in nfsd4_free_file_rcu() local 274 kmem_cache_free(file_slab, fp); in nfsd4_free_file_rcu() 401 __nfs4_file_get_access(struct nfs4_file *fp, u32 access) in __nfs4_file_get_access() argument 403 lockdep_assert_held(&fp->fi_lock); in __nfs4_file_get_access() 406 atomic_inc(&fp->fi_access[O_WRONLY]); in __nfs4_file_get_access() 408 atomic_inc(&fp->fi_access[O_RDONLY]); in __nfs4_file_get_access() 412 nfs4_file_get_access(struct nfs4_file *fp, u32 access) in nfs4_file_get_access() argument 414 lockdep_assert_held(&fp->fi_lock); in nfs4_file_get_access() 421 if ((access & fp->fi_share_deny) != 0) in nfs4_file_get_access() [all …]
|
D | nfs4layouts.c | 135 struct nfs4_file *fp = ls->ls_stid.sc_file; in nfsd4_free_layout_stateid() local 143 spin_lock(&fp->fi_lock); in nfsd4_free_layout_stateid() 145 spin_unlock(&fp->fi_lock); in nfsd4_free_layout_stateid() 188 struct nfs4_file *fp = parent->sc_file; in nfsd4_alloc_layout_stateid() local 196 get_nfs4_file(fp); in nfsd4_alloc_layout_stateid() 197 stp->sc_file = fp; in nfsd4_alloc_layout_stateid() 209 ls->ls_file = get_file(fp->fi_deleg_file); in nfsd4_alloc_layout_stateid() 211 ls->ls_file = find_any_file(fp); in nfsd4_alloc_layout_stateid() 215 put_nfs4_file(fp); in nfsd4_alloc_layout_stateid() 225 spin_lock(&fp->fi_lock); in nfsd4_alloc_layout_stateid() [all …]
|
/linux-4.1.27/arch/m68k/q40/ |
D | q40ints.c | 36 static void q40_irq_handler(unsigned int, struct pt_regs *fp); 205 static void q40_irq_handler(unsigned int irq, struct pt_regs *fp) in q40_irq_handler() argument 222 do_IRQ(Q40_IRQ_SAMPLE, fp); in q40_irq_handler() 226 do_IRQ(Q40_IRQ_FRAME, fp); in q40_irq_handler() 255 fp->sr = (((fp->sr) & (~0x700))+0x200); in q40_irq_handler() 261 do_IRQ(irq, fp); in q40_irq_handler() 292 do_IRQ(Q40_IRQ_KEYBOARD, fp); in q40_irq_handler()
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | book3s_paired_singles.c | 524 func(&vcpu->arch.fp.fpscr, &ps0_out, &ps0_in1, &ps0_in2, &ps0_in3); in kvmppc_ps_three_in() 541 func(&vcpu->arch.fp.fpscr, &qpr[reg_out], &ps1_in1, &ps1_in2, &ps1_in3); in kvmppc_ps_three_in() 573 func(&vcpu->arch.fp.fpscr, &ps0_out, &ps0_in1, &ps0_in2); in kvmppc_ps_two_in() 589 func(&vcpu->arch.fp.fpscr, &ps1_out, &ps1_in1, &ps1_in2); in kvmppc_ps_two_in() 615 func(&vcpu->arch.fp.fpscr, &ps0_out, &ps0_in); in kvmppc_ps_one_in() 624 func(&vcpu->arch.fp.fpscr, &qpr[reg_out], &ps1_in); in kvmppc_ps_one_in() 678 for (i = 0; i < ARRAY_SIZE(vcpu->arch.fp.fpr); i++) { in kvmppc_emulate_paired_single() 1110 fpd_fadds(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); in kvmppc_emulate_paired_single() 1114 fpd_fsubs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); in kvmppc_emulate_paired_single() 1118 fpd_fdivs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); in kvmppc_emulate_paired_single() [all …]
|
/linux-4.1.27/drivers/atm/ |
D | firestream.c | 796 pe->skb, pe->fp); in process_incoming() 812 pe->fp->n--; in process_incoming() 833 pe->fp->n--; in process_incoming() 1437 static int init_fp(struct fs_dev *dev, struct freepool *fp, int queue, in init_fp() argument 1450 fp->offset = queue; in init_fp() 1451 fp->bufsize = bufsize; in init_fp() 1452 fp->nr_buffers = nr_buffers; in init_fp() 1459 static inline int nr_buffers_in_freepool (struct fs_dev *dev, struct freepool *fp) in nr_buffers_in_freepool() argument 1463 return read_fs (dev, FP_CNT (fp->offset)); in nr_buffers_in_freepool() 1465 return fp->n; in nr_buffers_in_freepool() [all …]
|
/linux-4.1.27/net/ipv6/ |
D | exthdrs_core.c | 88 __be16 _frag_off, *fp; in ipv6_skip_exthdr() local 89 fp = skb_header_pointer(skb, in ipv6_skip_exthdr() 94 if (!fp) in ipv6_skip_exthdr() 97 *frag_offp = *fp; in ipv6_skip_exthdr() 239 __be16 *fp; in ipv6_find_hdr() local 243 fp = skb_header_pointer(skb, in ipv6_find_hdr() 248 if (!fp) in ipv6_find_hdr() 251 _frag_off = ntohs(*fp) & ~0x7; in ipv6_find_hdr()
|
D | reassembly.c | 383 struct sk_buff *fp, *head = fq->q.fragments; in ip6_frag_reasm() local 398 fp = skb_clone(head, GFP_ATOMIC); in ip6_frag_reasm() 400 if (!fp) in ip6_frag_reasm() 403 fp->next = head->next; in ip6_frag_reasm() 404 if (!fp->next) in ip6_frag_reasm() 405 fq->q.fragments_tail = fp; in ip6_frag_reasm() 406 prev->next = fp; in ip6_frag_reasm() 466 for (fp = head->next; fp;) { in ip6_frag_reasm() 469 struct sk_buff *next = fp->next; in ip6_frag_reasm() 471 sum_truesize += fp->truesize; in ip6_frag_reasm() [all …]
|
/linux-4.1.27/kernel/bpf/ |
D | core.c | 76 struct bpf_prog *fp; in bpf_prog_alloc() local 79 fp = __vmalloc(size, gfp_flags, PAGE_KERNEL); in bpf_prog_alloc() 80 if (fp == NULL) in bpf_prog_alloc() 85 vfree(fp); in bpf_prog_alloc() 89 fp->pages = size / PAGE_SIZE; in bpf_prog_alloc() 90 fp->aux = aux; in bpf_prog_alloc() 92 return fp; in bpf_prog_alloc() 101 struct bpf_prog *fp; in bpf_prog_realloc() local 109 fp = __vmalloc(size, gfp_flags, PAGE_KERNEL); in bpf_prog_realloc() 110 if (fp != NULL) { in bpf_prog_realloc() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_file_ops.c | 94 static int ipath_get_base_info(struct file *fp, in ipath_get_base_info() argument 97 struct ipath_portdata *pd = port_fp(fp); in ipath_get_base_info() 112 master = !subport_fp(fp); in ipath_get_base_info() 197 unsigned slave = subport_fp(fp) - 1; in ipath_get_base_info() 212 PAGE_SIZE * subport_fp(fp)); in ipath_get_base_info() 215 pd->port_rcvhdrq_size * subport_fp(fp)); in ipath_get_base_info() 219 subport_fp(fp)); in ipath_get_base_info() 252 kinfo->spi_subport = subport_fp(fp); in ipath_get_base_info() 295 static int ipath_tid_update(struct ipath_portdata *pd, struct file *fp, in ipath_tid_update() argument 307 unsigned subport = subport_fp(fp); in ipath_tid_update() [all …]
|
D | ipath_diag.c | 57 static int ipath_diag_open(struct inode *in, struct file *fp); 58 static int ipath_diag_release(struct inode *in, struct file *fp); 59 static ssize_t ipath_diag_read(struct file *fp, char __user *data, 61 static ssize_t ipath_diag_write(struct file *fp, const char __user *data, 73 static ssize_t ipath_diagpkt_write(struct file *fp, 281 static int ipath_diag_open(struct inode *in, struct file *fp) in ipath_diag_open() argument 302 fp->private_data = dd; in ipath_diag_open() 324 static ssize_t ipath_diagpkt_write(struct file *fp, in ipath_diagpkt_write() argument 479 static int ipath_diag_release(struct inode *in, struct file *fp) in ipath_diag_release() argument 483 fp->private_data = NULL; in ipath_diag_release() [all …]
|
/linux-4.1.27/net/ipv4/ |
D | ip_fragment.c | 288 struct sk_buff *fp; in ip_frag_reinit() local 296 fp = qp->q.fragments; in ip_frag_reinit() 298 struct sk_buff *xp = fp->next; in ip_frag_reinit() 300 sum_truesize += fp->truesize; in ip_frag_reinit() 301 kfree_skb(fp); in ip_frag_reinit() 302 fp = xp; in ip_frag_reinit() 303 } while (fp); in ip_frag_reinit() 507 struct sk_buff *fp, *head = qp->q.fragments; in ip_frag_reasm() local 524 fp = skb_clone(head, GFP_ATOMIC); in ip_frag_reasm() 525 if (!fp) in ip_frag_reasm() [all …]
|
/linux-4.1.27/net/unix/ |
D | garbage.c | 119 void unix_inflight(struct user_struct *user, struct file *fp) in unix_inflight() argument 121 struct sock *s = unix_get_socket(fp); in unix_inflight() 140 void unix_notinflight(struct user_struct *user, struct file *fp) in unix_notinflight() argument 142 struct sock *s = unix_get_socket(fp); in unix_notinflight() 168 if (UNIXCB(skb).fp) { in scan_inflight() 171 int nfd = UNIXCB(skb).fp->count; in scan_inflight() 172 struct file **fp = UNIXCB(skb).fp->fp; in scan_inflight() local 176 struct sock *sk = unix_get_socket(*fp++); in scan_inflight()
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 382 struct sk_buff *fp, *op, *head = fq->q.fragments; in nf_ct_frag6_reasm() local 449 for (fp=head->next; fp; fp = fp->next) { in nf_ct_frag6_reasm() 450 head->data_len += fp->len; in nf_ct_frag6_reasm() 451 head->len += fp->len; in nf_ct_frag6_reasm() 452 if (head->ip_summed != fp->ip_summed) in nf_ct_frag6_reasm() 455 head->csum = csum_add(head->csum, fp->csum); in nf_ct_frag6_reasm() 456 head->truesize += fp->truesize; in nf_ct_frag6_reasm() 478 fp = skb_shinfo(head)->frag_list; in nf_ct_frag6_reasm() 479 if (fp && NFCT_FRAG6_CB(fp)->orig == NULL) in nf_ct_frag6_reasm() 481 fp = fp->next; in nf_ct_frag6_reasm() [all …]
|
/linux-4.1.27/tools/power/cpupower/utils/helpers/ |
D | cpuid.c | 47 FILE *fp; in get_cpu_info() local 61 fp = fopen("/proc/cpuinfo", "r"); in get_cpu_info() 62 if (!fp) in get_cpu_info() 65 while (!feof(fp)) { in get_cpu_info() 66 if (!fgets(value, 64, fp)) in get_cpu_info() 108 fclose(fp); in get_cpu_info()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | frame.inc | 25 #define fp a3 39 mov sp,fp # FRAME pointer in A3 45 mov a0,(REG_NEXT,fp) 46 mov fp,(TI_frame,a1) 66 mov (TI_frame,a0),fp 67 mov fp,sp 68 mov (REG_NEXT,fp),d0 72 mov (REG_EPSW,fp),d0
|
/linux-4.1.27/net/ieee802154/6lowpan/ |
D | reassembly.c | 240 struct sk_buff *fp, *head = fq->q.fragments; in lowpan_frag_reasm() local 248 fp = skb_clone(head, GFP_ATOMIC); in lowpan_frag_reasm() 250 if (!fp) in lowpan_frag_reasm() 253 fp->next = head->next; in lowpan_frag_reasm() 254 if (!fp->next) in lowpan_frag_reasm() 255 fq->q.fragments_tail = fp; in lowpan_frag_reasm() 256 prev->next = fp; in lowpan_frag_reasm() 296 for (fp = head->next; fp;) { in lowpan_frag_reasm() 299 struct sk_buff *next = fp->next; in lowpan_frag_reasm() 301 sum_truesize += fp->truesize; in lowpan_frag_reasm() [all …]
|
/linux-4.1.27/drivers/hid/ |
D | hid-roccat-common.h | 43 ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj, 46 ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj, 51 static ssize_t roccat_common2_sysfs_write_ ## thingy(struct file *fp, \ 55 return roccat_common2_sysfs_write(fp, kobj, buf, off, count, \ 60 static ssize_t roccat_common2_sysfs_read_ ## thingy(struct file *fp, \ 64 return roccat_common2_sysfs_read(fp, kobj, buf, off, count, \
|
D | hid-roccat-lua.c | 29 static ssize_t lua_sysfs_read(struct file *fp, struct kobject *kobj, in lua_sysfs_read() argument 51 static ssize_t lua_sysfs_write(struct file *fp, struct kobject *kobj, in lua_sysfs_write() argument 71 static ssize_t lua_sysfs_write_ ## thingy(struct file *fp, \ 75 return lua_sysfs_write(fp, kobj, buf, off, count, \ 80 static ssize_t lua_sysfs_read_ ## thingy(struct file *fp, \ 84 return lua_sysfs_read(fp, kobj, buf, off, count, \
|
D | hid-roccat-pyra.c | 89 static ssize_t pyra_sysfs_read(struct file *fp, struct kobject *kobj, in pyra_sysfs_read() argument 115 static ssize_t pyra_sysfs_write(struct file *fp, struct kobject *kobj, in pyra_sysfs_write() argument 139 static ssize_t pyra_sysfs_write_ ## thingy(struct file *fp, \ 143 return pyra_sysfs_write(fp, kobj, buf, off, count, \ 148 static ssize_t pyra_sysfs_read_ ## thingy(struct file *fp, \ 152 return pyra_sysfs_read(fp, kobj, buf, off, count, \ 190 static ssize_t pyra_sysfs_read_profilex_settings(struct file *fp, in pyra_sysfs_read_profilex_settings() argument 204 return pyra_sysfs_read(fp, kobj, buf, off, count, in pyra_sysfs_read_profilex_settings() 209 static ssize_t pyra_sysfs_read_profilex_buttons(struct file *fp, in pyra_sysfs_read_profilex_buttons() argument 223 return pyra_sysfs_read(fp, kobj, buf, off, count, in pyra_sysfs_read_profilex_buttons() [all …]
|
D | hid-roccat-koneplus.c | 86 static ssize_t koneplus_sysfs_read(struct file *fp, struct kobject *kobj, in koneplus_sysfs_read() argument 112 static ssize_t koneplus_sysfs_write(struct file *fp, struct kobject *kobj, in koneplus_sysfs_write() argument 137 static ssize_t koneplus_sysfs_write_ ## thingy(struct file *fp, \ 141 return koneplus_sysfs_write(fp, kobj, buf, off, count, \ 146 static ssize_t koneplus_sysfs_read_ ## thingy(struct file *fp, \ 150 return koneplus_sysfs_read(fp, kobj, buf, off, count, \ 192 static ssize_t koneplus_sysfs_read_profilex_settings(struct file *fp, in koneplus_sysfs_read_profilex_settings() argument 206 return koneplus_sysfs_read(fp, kobj, buf, off, count, in koneplus_sysfs_read_profilex_settings() 211 static ssize_t koneplus_sysfs_read_profilex_buttons(struct file *fp, in koneplus_sysfs_read_profilex_buttons() argument 225 return koneplus_sysfs_read(fp, kobj, buf, off, count, in koneplus_sysfs_read_profilex_buttons()
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | adf_ctl_drv.c | 66 static long adf_ctl_ioctl(struct file *fp, unsigned int cmd, unsigned long arg); 224 static int adf_ctl_ioctl_dev_config(struct file *fp, unsigned int cmd, in adf_ctl_ioctl_dev_config() argument 300 static int adf_ctl_ioctl_dev_stop(struct file *fp, unsigned int cmd, in adf_ctl_ioctl_dev_stop() argument 334 static int adf_ctl_ioctl_dev_start(struct file *fp, unsigned int cmd, in adf_ctl_ioctl_dev_start() argument 375 static int adf_ctl_ioctl_get_num_devices(struct file *fp, unsigned int cmd, in adf_ctl_ioctl_get_num_devices() argument 387 static int adf_ctl_ioctl_get_status(struct file *fp, unsigned int cmd, in adf_ctl_ioctl_get_status() argument 427 static long adf_ctl_ioctl(struct file *fp, unsigned int cmd, unsigned long arg) in adf_ctl_ioctl() argument 436 ret = adf_ctl_ioctl_dev_config(fp, cmd, arg); in adf_ctl_ioctl() 440 ret = adf_ctl_ioctl_dev_stop(fp, cmd, arg); in adf_ctl_ioctl() 444 ret = adf_ctl_ioctl_dev_start(fp, cmd, arg); in adf_ctl_ioctl() [all …]
|
/linux-4.1.27/sound/mips/ |
D | ad1843.c | 231 const struct ad1843_bitfield *fp; in ad1843_read_multi() local 236 fp = va_arg(ap, const struct ad1843_bitfield *); in ad1843_read_multi() 239 reg = fp->reg; in ad1843_read_multi() 243 mask = (1 << fp->nbits) - 1; in ad1843_read_multi() 244 *value = w >> fp->lo_bit & mask; in ad1843_read_multi() 264 const struct ad1843_bitfield *fp; in ad1843_write_multi() local 274 fp = va_arg(ap, const struct ad1843_bitfield *); in ad1843_write_multi() 277 reg = fp->reg; in ad1843_write_multi() 279 WARN_ON(reg != fp->reg); in ad1843_write_multi() 280 m = ((1 << fp->nbits) - 1) << fp->lo_bit; in ad1843_write_multi() [all …]
|
/linux-4.1.27/scripts/kconfig/ |
D | confdata.c | 488 kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in kconfig_print_symbol() argument 498 fprintf(fp, "# %s%s is not set\n", in kconfig_print_symbol() 507 fprintf(fp, "%s%s=%s\n", CONFIG_, sym->name, value); in kconfig_print_symbol() 511 kconfig_print_comment(FILE *fp, const char *value, void *arg) in kconfig_print_comment() argument 518 fprintf(fp, "#"); in kconfig_print_comment() 520 fprintf(fp, " "); in kconfig_print_comment() 521 xfwrite(p, l, 1, fp); in kconfig_print_comment() 524 fprintf(fp, "\n"); in kconfig_print_comment() 542 header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in header_print_symbol() argument 557 fprintf(fp, "#define %s%s%s 1\n", in header_print_symbol() [all …]
|
/linux-4.1.27/drivers/scsi/fnic/ |
D | fnic_fcs.c | 157 struct fc_frame *fp; in fnic_handle_frame() local 167 fp = (struct fc_frame *)skb; in fnic_handle_frame() 181 fc_exch_recv(lp, fp); in fnic_handle_frame() 629 struct fc_frame *fp; in fnic_import_rq_eth_pkt() local 667 fp = (struct fc_frame *)skb; in fnic_import_rq_eth_pkt() 668 fc_frame_init(fp); in fnic_import_rq_eth_pkt() 669 fr_sof(fp) = fcoe_hdr->fcoe_sof; in fnic_import_rq_eth_pkt() 674 fr_eof(fp) = ft->fcoe_eof; in fnic_import_rq_eth_pkt() 734 void fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) in fnic_set_port_id() argument 741 port_id, fp); in fnic_set_port_id() [all …]
|
/linux-4.1.27/sound/ |
D | sound_firmware.c | 10 static int do_mod_firmware_load(const char *fn, char **fp) in do_mod_firmware_load() argument 46 *fp = dp; in do_mod_firmware_load() 67 int mod_firmware_load(const char *fn, char **fp) in mod_firmware_load() argument 73 r = do_mod_firmware_load(fn, fp); in mod_firmware_load()
|
/linux-4.1.27/drivers/misc/mei/ |
D | client.h | 51 struct file *fp); 81 const struct file *fp); 82 void mei_cl_read_cb_flush(const struct mei_cl *cl, const struct file *fp); 84 enum mei_cb_file_ops type, struct file *fp); 85 int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp); 109 int mei_cl_read_start(struct mei_cl *cl, size_t length, struct file *fp);
|
D | debugfs.c | 27 static ssize_t mei_dbgfs_read_meclients(struct file *fp, char __user *ubuf, in mei_dbgfs_read_meclients() argument 30 struct mei_device *dev = fp->private_data; in mei_dbgfs_read_meclients() 88 static ssize_t mei_dbgfs_read_active(struct file *fp, char __user *ubuf, in mei_dbgfs_read_active() argument 91 struct mei_device *dev = fp->private_data; in mei_dbgfs_read_active() 136 static ssize_t mei_dbgfs_read_devstate(struct file *fp, char __user *ubuf, in mei_dbgfs_read_devstate() argument 139 struct mei_device *dev = fp->private_data; in mei_dbgfs_read_devstate()
|
D | client.c | 348 struct file *fp) in mei_io_cb_init() argument 357 cb->file_object = fp; in mei_io_cb_init() 444 enum mei_cb_file_ops type, struct file *fp) in mei_cl_alloc_cb() argument 448 cb = mei_io_cb_init(cl, type, fp); in mei_cl_alloc_cb() 469 struct mei_cl_cb *mei_cl_read_cb(const struct mei_cl *cl, const struct file *fp) in mei_cl_read_cb() argument 474 if (!fp || fp == cb->file_object) in mei_cl_read_cb() 487 void mei_cl_read_cb_flush(const struct mei_cl *cl, const struct file *fp) in mei_cl_read_cb_flush() argument 492 if (!fp || fp == cb->file_object) in mei_cl_read_cb_flush() 497 if (!fp || fp == cb->file_object) in mei_cl_read_cb_flush() 509 int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp) in mei_cl_flush_queues() argument [all …]
|
/linux-4.1.27/drivers/scsi/fcoe/ |
D | fcoe.c | 865 static bool fcoe_oem_match(struct fc_frame *fp) in fcoe_oem_match() argument 867 struct fc_frame_header *fh = fc_frame_header_get(fp); in fcoe_oem_match() 870 if (fc_fcp_is_read(fr_fsp(fp)) && in fcoe_oem_match() 871 (fr_fsp(fp)->data_len > fcoe_ddp_min)) in fcoe_oem_match() 873 else if ((fr_fsp(fp) == NULL) && in fcoe_oem_match() 876 fcp = fc_frame_payload_get(fp, sizeof(*fcp)); in fcoe_oem_match() 1586 static int fcoe_xmit(struct fc_lport *lport, struct fc_frame *fp) in fcoe_xmit() argument 1604 WARN_ON((fr_len(fp) % sizeof(u32)) != 0); in fcoe_xmit() 1606 fh = fc_frame_header_get(fp); in fcoe_xmit() 1607 skb = fp_skb(fp); in fcoe_xmit() [all …]
|
/linux-4.1.27/scripts/dtc/ |
D | srcpos.c | 71 static char *try_open(const char *dirname, const char *fname, FILE **fp) in try_open() argument 80 *fp = fopen(fullname, "r"); in try_open() 81 if (!*fp) { in try_open() 98 static char *fopen_any_on_path(const char *fname, FILE **fp) in fopen_any_on_path() argument 105 assert(fp); in fopen_any_on_path() 108 fullname = try_open(cur_dir, fname, fp); in fopen_any_on_path() 111 for (node = search_path_head; !*fp && node; node = node->next) in fopen_any_on_path() 112 fullname = try_open(node->dirname, fname, fp); in fopen_any_on_path()
|
D | util.c | 400 FILE *fp = errmsg ? stderr : stdout; in util_usage() local 406 fprintf(fp, in util_usage() 428 fprintf(fp, " "); in util_usage() 430 fprintf(fp, " -%c, ", long_opts[i].val); in util_usage() 434 fprintf(fp, "--%-*s", optlen, long_opts[i].name); in util_usage() 436 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg, in util_usage() 440 fprintf(fp, "%s\n", opts_help[i]); in util_usage() 444 fprintf(fp, "\nError: %s\n", errmsg); in util_usage()
|
/linux-4.1.27/net/bridge/netfilter/ |
D | ebt_vlan.c | 52 const struct vlan_hdr *fp; in ebt_vlan_mt() local 55 fp = skb_header_pointer(skb, 0, sizeof(_frame), &_frame); in ebt_vlan_mt() 56 if (fp == NULL) in ebt_vlan_mt() 59 TCI = ntohs(fp->h_vlan_TCI); in ebt_vlan_mt() 60 encap = fp->h_vlan_encapsulated_proto; in ebt_vlan_mt()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | machine_kexec.c | 90 u64 fp, gp; in ia64_machine_kexec() local 100 fp = ia64_tpa(init_handler->fp); in ia64_machine_kexec() 102 ia64_sal_set_vectors(SAL_VECTOR_OS_INIT, fp, gp, 0, fp, gp, 0); in ia64_machine_kexec()
|
/linux-4.1.27/arch/powerpc/net/ |
D | bpf_jit_comp.c | 29 static void bpf_jit_build_prologue(struct bpf_prog *fp, u32 *image, in bpf_jit_build_prologue() argument 33 const struct sock_filter *filter = fp->insns; in bpf_jit_build_prologue() 115 static int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, in bpf_jit_build_body() argument 119 const struct sock_filter *filter = fp->insns; in bpf_jit_build_body() 120 int flen = fp->len; in bpf_jit_build_body() 554 void bpf_jit_compile(struct bpf_prog *fp) in bpf_jit_compile() argument 563 int flen = fp->len; in bpf_jit_compile() 626 if (bpf_jit_build_body(fp, 0, &cgctx, addrs)) in bpf_jit_compile() 635 bpf_jit_build_prologue(fp, 0, &cgctx); in bpf_jit_compile() 650 bpf_jit_build_prologue(fp, code_base, &cgctx); in bpf_jit_compile() [all …]
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
D | declance.c | 329 const unsigned short *fp; in cp_to_buf() local 339 fp = from; in cp_to_buf() 342 *tp++ = *fp++; in cp_to_buf() 348 rfp = (const unsigned char *)fp; in cp_to_buf() 358 fp = from; in cp_to_buf() 360 *tp++ = *fp++; in cp_to_buf() 361 *tp++ = *fp++; in cp_to_buf() 362 *tp++ = *fp++; in cp_to_buf() 363 *tp++ = *fp++; in cp_to_buf() 364 *tp++ = *fp++; in cp_to_buf() [all …]
|
/linux-4.1.27/drivers/staging/speakup/ |
D | devsynth.c | 16 static ssize_t speakup_file_write(struct file *fp, const char __user *buffer, in speakup_file_write() argument 40 static ssize_t speakup_file_read(struct file *fp, char __user *buf, in speakup_file_read() argument 46 static int speakup_file_open(struct inode *ip, struct file *fp) in speakup_file_open() argument 55 static int speakup_file_release(struct inode *ip, struct file *fp) in speakup_file_release() argument
|
D | speakup_soft.c | 177 static int softsynth_open(struct inode *inode, struct file *fp) in softsynth_open() argument 192 static int softsynth_close(struct inode *inode, struct file *fp) in softsynth_close() argument 205 static ssize_t softsynth_read(struct file *fp, char __user *buf, size_t count, in softsynth_read() argument 222 if (fp->f_flags & O_NONBLOCK) { in softsynth_read() 267 static ssize_t softsynth_write(struct file *fp, const char __user *buf, in softsynth_write() argument 282 static unsigned int softsynth_poll(struct file *fp, in softsynth_poll() argument 288 poll_wait(fp, &speakup_event, wait); in softsynth_poll()
|
/linux-4.1.27/tools/perf/ |
D | builtin-buildid-list.c | 20 static int sysfs__fprintf_build_id(FILE *fp) in sysfs__fprintf_build_id() argument 31 fprintf(fp, "%s\n", sbuild_id); in sysfs__fprintf_build_id() 35 static int filename__fprintf_build_id(const char *name, FILE *fp) in filename__fprintf_build_id() argument 45 return fprintf(fp, "%s\n", sbuild_id); in filename__fprintf_build_id()
|
/linux-4.1.27/arch/x86/oprofile/ |
D | backtrace.c | 46 struct stack_frame_ia32 *fp; in dump_user_backtrace_32() local 53 fp = (struct stack_frame_ia32 *) compat_ptr(bufhead[0].next_frame); in dump_user_backtrace_32() 59 if (head >= fp) in dump_user_backtrace_32() 62 return fp; in dump_user_backtrace_32()
|
/linux-4.1.27/drivers/net/fddi/skfp/h/ |
D | hwmtm.h | 243 #define HWM_GET_TX_USED(smc,queue) (int) (smc)->hw.fp.tx_q[queue].tx_used 262 (smc)->hw.fp.tx_q[queue].tx_curr_put 312 #define HWM_GET_RX_USED(smc) ((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_used) 326 #define HWM_GET_RX_FREE(smc) ((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_free-1) 342 (smc)->hw.fp.rx_q[QUEUE_R1].rx_curr_put 360 if ((low_water) >= (smc)->hw.fp.rx_q[QUEUE_R1].rx_used) {\
|
/linux-4.1.27/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 270 FILE *fp; in for_every_cpu() local 273 fp = fopen(proc_stat, "r"); in for_every_cpu() 274 if (fp == NULL) { in for_every_cpu() 279 retval = fscanf(fp, "cpu %*d %*d %*d %*d %*d %*d %*d %*d %*d %*d\n"); in for_every_cpu() 288 retval = fscanf(fp, in for_every_cpu() 296 fclose(fp); in for_every_cpu()
|
/linux-4.1.27/drivers/staging/goldfish/ |
D | goldfish_audio.c | 114 static ssize_t goldfish_audio_read(struct file *fp, char __user *buf, in goldfish_audio_read() argument 117 struct goldfish_audio *data = fp->private_data; in goldfish_audio_read() 144 static ssize_t goldfish_audio_write(struct file *fp, const char __user *buf, in goldfish_audio_write() argument 147 struct goldfish_audio *data = fp->private_data; in goldfish_audio_write() 193 static int goldfish_audio_open(struct inode *ip, struct file *fp) in goldfish_audio_open() argument 199 fp->private_data = audio_data; in goldfish_audio_open() 210 static int goldfish_audio_release(struct inode *ip, struct file *fp) in goldfish_audio_release() argument 218 static long goldfish_audio_ioctl(struct file *fp, unsigned int cmd, in goldfish_audio_ioctl() argument
|
/linux-4.1.27/arch/arm/crypto/ |
D | bsaes-armv7.pl | 1084 my ($inp,$out,$len,$key, $ivp,$fp,$rounds)=map("r$_",(0..3,8..10)); 1114 mov $fp, sp @ save sp 1171 vstmia $fp, {@XMM[15]} @ put aside IV 1175 vldmia $fp, {@XMM[14]} @ reload IV 1212 vstmia $fp, {@XMM[15]} @ put aside IV 1229 vldmia $fp, {@XMM[14]} @ reload IV 1252 vldmia $fp,{@XMM[14]} @ reload IV 1273 vldmia $fp, {@XMM[14]} @ reload IV 1291 vldmia $fp, {@XMM[14]} @ reload IV 1307 vldmia $fp, {@XMM[14]} @ reload IV [all …]
|
/linux-4.1.27/arch/m68k/coldfire/ |
D | vectors.c | 24 asmlinkage void dbginterrupt_c(struct frame *fp) in dbginterrupt_c() argument 26 extern void dump(struct pt_regs *fp); in dbginterrupt_c() 28 dump((struct pt_regs *) fp); in dbginterrupt_c()
|
/linux-4.1.27/tools/perf/ui/browsers/ |
D | scripts.c | 114 FILE *fp; in script_browse() local 151 fp = popen(cmd, "r"); in script_browse() 152 if (!fp) in script_browse() 155 while ((retlen = getline(&line, &len, fp)) != -1) { in script_browse() 177 pclose(fp); in script_browse()
|
D | header.c | 101 FILE *fp = open_memstream(&ptr, &size); in tui__header_window() local 104 perf_header__fprintf_info(session, fp, true); in tui__header_window() 105 fclose(fp); in tui__header_window()
|
/linux-4.1.27/include/net/ |
D | scm.h | 25 struct file *fp[SCM_MAX_FD]; member 30 struct scm_fp_list *fp; /* Passed files */ member 71 if (scm->fp) in scm_destroy() 114 if (test_bit(SOCK_PASSCRED, &sock->flags) || scm->fp) in scm_recv() 134 if (!scm->fp) in scm_recv()
|
D | af_unix.h | 9 void unix_inflight(struct user_struct *user, struct file *fp); 10 void unix_notinflight(struct user_struct *user, struct file *fp); 34 struct scm_fp_list *fp; /* Passed files */ member
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
D | psb_intel_display.c | 116 u32 dpll = 0, fp = 0, dspcntr, pipeconf; in psb_intel_crtc_mode_set() local 161 fp = clock.n << 16 | clock.m1 << 8 | clock.m2; in psb_intel_crtc_mode_set() 224 REG_WRITE(map->fp0, fp); in psb_intel_crtc_mode_set() 259 REG_WRITE(map->fp0, fp); in psb_intel_crtc_mode_set() 316 u32 fp; in psb_intel_crtc_clock_get() local 324 fp = REG_READ(map->fp0); in psb_intel_crtc_clock_get() 326 fp = REG_READ(map->fp1); in psb_intel_crtc_clock_get() 333 fp = p->fp0; in psb_intel_crtc_clock_get() 335 fp = p->fp1; in psb_intel_crtc_clock_get() 341 clock.m1 = (fp & FP_M1_DIV_MASK) >> FP_M1_DIV_SHIFT; in psb_intel_crtc_clock_get() [all …]
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | elsa_ser.c | 243 int count, len, fp; in write_modem() local 252 fp = cs->hw.elsa.transcnt + cs->hw.elsa.transp; in write_modem() 253 fp &= (MAX_MODEM_BUF - 1); in write_modem() 255 if (count > MAX_MODEM_BUF - fp) { in write_modem() 256 count = MAX_MODEM_BUF - fp; in write_modem() 258 cs->hw.elsa.transbuf + fp, count); in write_modem() 263 fp = 0; in write_modem() 266 cs->hw.elsa.transbuf + fp, count); in write_modem() 448 int count, fp; in modem_write_cmd() local 456 fp = cs->hw.elsa.transcnt + cs->hw.elsa.transp; in modem_write_cmd() [all …]
|
/linux-4.1.27/tools/iio/ |
D | generic_buffer.c | 151 int fp; in main() local 297 fp = open(buffer_access, O_RDONLY | O_NONBLOCK); in main() 298 if (fp == -1) { /* If it isn't there make the node */ in main() 308 .fd = fp, in main() 320 read_size = read(fp, in main() 347 close(fp); in main()
|
/linux-4.1.27/fs/ocfs2/dlmfs/ |
D | dlmfs.c | 136 struct dlmfs_filp_private *fp = NULL; in dlmfs_file_open() local 153 fp = kmalloc(sizeof(*fp), GFP_NOFS); in dlmfs_file_open() 154 if (!fp) { in dlmfs_file_open() 158 fp->fp_lock_level = level; in dlmfs_file_open() 170 kfree(fp); in dlmfs_file_open() 174 file->private_data = fp; in dlmfs_file_open() 184 struct dlmfs_filp_private *fp = file->private_data; in dlmfs_file_release() local 192 if (fp) { in dlmfs_file_release() 193 level = fp->fp_lock_level; in dlmfs_file_release() 197 kfree(fp); in dlmfs_file_release()
|
/linux-4.1.27/tools/lib/api/fd/ |
D | array.c | 119 int fdarray__fprintf(struct fdarray *fda, FILE *fp) in fdarray__fprintf() argument 121 int fd, printed = fprintf(fp, "%d [ ", fda->nr); in fdarray__fprintf() 124 printed += fprintf(fp, "%s%d", fd ? ", " : "", fda->entries[fd].fd); in fdarray__fprintf() 126 return printed + fprintf(fp, " ]"); in fdarray__fprintf()
|
/linux-4.1.27/arch/arm/oprofile/ |
D | common.c | 81 struct frame_tail *fp; member 100 if (tail + 1 >= buftail[0].fp) in user_backtrace() 103 return buftail[0].fp-1; in user_backtrace()
|
/linux-4.1.27/arch/unicore32/lib/ |
D | backtrace.S | 16 @ fp is 0 or stack frame 24 mov r0, fp 61 1002: ldw sv_fp, [frame+], #-12 @ get saved fp 86 1004: ldw r1, [sv_pc+], #0 @ if stmfd {, fp, ip, lr, pc} 93 cxor.a sv_fp, #0 @ zero saved fp means 160 .Ldsi: .word 0x92eec000 >> 14 @ stm.w sp, (... fp, ip, lr, pc)
|
/linux-4.1.27/drivers/tty/ |
D | n_tty.c | 1517 char *fp, int count) in n_tty_receive_buf_real_raw() argument 1537 char *fp, int count) in n_tty_receive_buf_raw() argument 1543 if (fp) in n_tty_receive_buf_raw() 1544 flag = *fp++; in n_tty_receive_buf_raw() 1554 char *fp, int count) in n_tty_receive_buf_closing() argument 1559 if (fp) in n_tty_receive_buf_closing() 1560 flag = *fp++; in n_tty_receive_buf_closing() 1570 char *fp, int count) in n_tty_receive_buf_standard() argument 1576 if (fp) in n_tty_receive_buf_standard() 1577 flag = *fp++; in n_tty_receive_buf_standard() [all …]
|
/linux-4.1.27/drivers/media/tuners/ |
D | fc0011.c | 187 u8 fa, fp, vco_sel, vco_cal; in fc0011_set_params() local 239 fp = xdivr / 8; in fc0011_set_params() 240 fa = xdivr - fp * 8; in fc0011_set_params() 242 fp -= 1; in fc0011_set_params() 245 if (fp > 0x1F) { in fc0011_set_params() 246 fp = 0x1F; in fc0011_set_params() 249 if (fa >= fp) { in fc0011_set_params() 252 (unsigned int)(u8)fa, (unsigned int)(u8)fp); in fc0011_set_params() 255 regs[FC11_REG_FP] = fp; in fc0011_set_params()
|
/linux-4.1.27/fs/ |
D | fcntl.c | 577 struct fasync_struct *fa, **fp; in fasync_remove_entry() local 582 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_remove_entry() 590 *fp = fa->fa_next; in fasync_remove_entry() 625 struct fasync_struct *fa, **fp; in fasync_insert_entry() local 629 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_insert_entry() 723 void kill_fasync(struct fasync_struct **fp, int sig, int band) in kill_fasync() argument 728 if (*fp) { in kill_fasync() 730 kill_fasync_rcu(rcu_dereference(*fp), sig, band); in kill_fasync()
|
/linux-4.1.27/arch/s390/net/ |
D | bpf_jit_comp.c | 453 static noinline int bpf_jit_insn(struct bpf_jit *jit, struct bpf_prog *fp, int i) in bpf_jit_insn() argument 455 struct bpf_insn *insn = &fp->insnsi[i]; in bpf_jit_insn() 955 last = (i == fp->len - 1) ? 1 : 0; in bpf_jit_insn() 1130 static int bpf_jit_prog(struct bpf_jit *jit, struct bpf_prog *fp) in bpf_jit_prog() argument 1138 for (i = 0; i < fp->len; i += insn_count) { in bpf_jit_prog() 1139 insn_count = bpf_jit_insn(jit, fp, i); in bpf_jit_prog() 1156 void bpf_jit_compile(struct bpf_prog *fp) in bpf_jit_compile() argument 1163 void bpf_int_jit_compile(struct bpf_prog *fp) in bpf_int_jit_compile() argument 1172 jit.addrs = kcalloc(fp->len + 1, sizeof(*jit.addrs), GFP_KERNEL); in bpf_int_jit_compile() 1181 if (bpf_jit_prog(&jit, fp)) in bpf_int_jit_compile() [all …]
|
/linux-4.1.27/arch/arc/kernel/ |
D | stacktrace.c | 51 unsigned long fp, sp, blink, ret; in seed_unwind_frame_info() local 59 : "=r"(fp), "=r"(sp), "=r"(blink), "=r"(ret) in seed_unwind_frame_info() 62 frame_info->regs.r27 = fp; in seed_unwind_frame_info() 101 frame_info->regs.r27 = regs->fp; in seed_unwind_frame_info()
|
/linux-4.1.27/arch/metag/include/asm/ |
D | stacktrace.h | 5 unsigned long fp; member 12 unsigned long fp; member
|
/linux-4.1.27/tools/lib/traceevent/ |
D | trace-seq.c | 234 int trace_seq_do_fprintf(struct trace_seq *s, FILE *fp) in trace_seq_do_fprintf() argument 240 return fprintf(fp, "%.*s", s->len, s->buffer); in trace_seq_do_fprintf() 242 fprintf(fp, "%s\n", "Usage of trace_seq after it was destroyed"); in trace_seq_do_fprintf() 245 fprintf(fp, "%s\n", "Can't allocate trace_seq buffer memory"); in trace_seq_do_fprintf()
|
/linux-4.1.27/drivers/net/team/ |
D | team_mode_loadbalance.c | 61 struct bpf_prog __rcu *fp; member 177 struct bpf_prog *fp; in lb_get_skb_hash() local 181 fp = rcu_dereference_bh(lb_priv->fp); in lb_get_skb_hash() 182 if (unlikely(!fp)) in lb_get_skb_hash() 184 lhash = BPF_PROG_RUN(fp, skb); in lb_get_skb_hash() 274 struct bpf_prog *fp = NULL; in lb_bpf_func_set() local 284 err = bpf_prog_create(&fp, fprog); in lb_bpf_func_set() 294 orig_fp = rcu_dereference_protected(lb_priv->fp, in lb_bpf_func_set() 298 rcu_assign_pointer(lb_priv->fp, fp); in lb_bpf_func_set()
|
/linux-4.1.27/arch/arm/lib/ |
D | backtrace.S | 17 @ fp is 0 or stack frame 65 1002: ldr sv_fp, [frame, #-12] @ get saved fp 88 1004: ldr r1, [sv_pc, #0] @ if stmfd sp!, {..., fp, ip, lr, pc} 94 teq sv_fp, #0 @ zero saved fp means 149 .Ldsi: .word 0xe92dd800 >> 11 @ stmfd sp!, {... fp, ip, lr, pc}
|
/linux-4.1.27/arch/mips/kernel/ |
D | ftrace.c | 281 old_parent_ra, unsigned long parent_ra_addr, unsigned long fp) in ftrace_get_parent_ra_addr() argument 316 sp = fp + (code & OFFSET_MASK); in ftrace_get_parent_ra_addr() 335 unsigned long fp) in prepare_ftrace_return() argument 372 old_parent_ra, (unsigned long)parent_ra_addr, fp); in prepare_ftrace_return() 385 if (ftrace_push_return_trace(old_parent_ra, self_ra, &trace.depth, fp) in prepare_ftrace_return()
|
/linux-4.1.27/arch/powerpc/xmon/ |
D | xmon.c | 1474 static void excprint(struct pt_regs *fp) in excprint() argument 1482 trap = TRAP(fp); in excprint() 1483 printf("Vector: %lx %s at [%lx]\n", fp->trap, getvecname(trap), fp); in excprint() 1485 xmon_print_symbol(fp->nip, ": ", "\n"); in excprint() 1487 printf(" lr: ", fp->link); in excprint() 1488 xmon_print_symbol(fp->link, ": ", "\n"); in excprint() 1490 printf(" sp: %lx\n", fp->gpr[1]); in excprint() 1491 printf(" msr: %lx\n", fp->msr); in excprint() 1494 printf(" dar: %lx\n", fp->dar); in excprint() 1496 printf(" dsisr: %lx\n", fp->dsisr); in excprint() [all …]
|
/linux-4.1.27/arch/powerpc/platforms/8xx/ |
D | m8xx_setup.c | 64 const unsigned int *fp; in get_freq() local 71 fp = of_get_property(cpu, name, NULL); in get_freq() 72 if (fp) { in get_freq() 74 *val = *fp; in get_freq()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pagealloc.c | 192 struct fw_page *fp; in alloc_4k() local 198 fp = list_entry(dev->priv.free_list.next, struct fw_page, list); in alloc_4k() 199 n = find_first_bit(&fp->bitmask, 8 * sizeof(fp->bitmask)); in alloc_4k() 204 clear_bit(n, &fp->bitmask); in alloc_4k() 205 fp->free_count--; in alloc_4k() 206 if (!fp->free_count) in alloc_4k() 207 list_del(&fp->list); in alloc_4k() 209 *addr = fp->addr + n * MLX5_ADAPTER_PAGE_SIZE; in alloc_4k()
|