Searched refs:fp (Results 376 - 400 of 766) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/char/
H A Dapm-emulation.c203 static ssize_t apm_read(struct file *fp, char __user *buf, size_t count, loff_t *ppos) argument
205 struct apm_user *as = fp->private_data;
212 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK)
240 static __poll_t apm_poll(struct file *fp, poll_table * wait) argument
242 struct apm_user *as = fp->private_data;
244 poll_wait(fp, &apm_waitqueue, wait);
/linux-master/tools/power/cpupower/utils/
H A Dcpufreq-info.c25 FILE *fp; local
30 fp = fopen("/proc/stat", "r");
31 if (!fp) {
36 while (!feof(fp)) {
37 if (!fgets(value, LINE_LEN, fp))
49 fclose(fp);
/linux-master/arch/mips/kvm/
H A Dfpu.S17 /* preprocessor replaces the fp in ".set fp=64" with $30 otherwise */
18 #undef fp
26 .set fp=64
70 .set fp=64
/linux-master/include/scsi/
H A Dlibfc.h909 void fc_lport_recv(struct fc_lport *lport, struct fc_frame *fp);
927 void fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp);
981 struct fc_frame *fp,
983 struct fc_frame *fp,
993 struct fc_seq *fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp);
1006 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp);
/linux-master/tools/bpf/bpftool/
H A Dxlated_dumper.c31 FILE *fp; local
33 fp = fopen("/proc/kallsyms", "r");
34 if (!fp)
37 while (fgets(buff, sizeof(buff), fp)) {
44 fclose(fp);
66 fclose(fp);
/linux-master/arch/powerpc/platforms/powermac/
H A Dsetup.c254 const int *fp; local
264 fp = of_get_property(cpu, "clock-frequency", NULL);
265 if (fp != NULL) {
268 loops_per_jiffy = *fp / (3 * HZ);
271 loops_per_jiffy = *fp / HZ;
274 loops_per_jiffy = *fp / (2 * HZ);
/linux-master/drivers/hid/
H A Dhid-roccat-arvo.c185 static ssize_t arvo_sysfs_write(struct file *fp, argument
204 static ssize_t arvo_sysfs_read(struct file *fp, argument
226 static ssize_t arvo_sysfs_write_button(struct file *fp, argument
230 return arvo_sysfs_write(fp, kobj, buf, off, count,
236 static ssize_t arvo_sysfs_read_info(struct file *fp, argument
240 return arvo_sysfs_read(fp, kobj, buf, off, count,
H A Dhid-roccat-isku.c115 static ssize_t isku_sysfs_read(struct file *fp, struct kobject *kobj, argument
137 static ssize_t isku_sysfs_write(struct file *fp, struct kobject *kobj, argument
158 static ssize_t isku_sysfs_write_ ## thingy(struct file *fp, struct kobject *kobj, \
162 return isku_sysfs_write(fp, kobj, buf, off, count, \
167 static ssize_t isku_sysfs_read_ ## thingy(struct file *fp, struct kobject *kobj, \
171 return isku_sysfs_read(fp, kobj, buf, off, count, \
H A Dhid-roccat-common.c130 ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj, argument
153 ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj, argument
/linux-master/arch/arm/kernel/
H A Dunwind.c395 pr_debug("%s: fp = %08lx sp = %08lx lr = %08lx pc = %08lx\n", __func__,
437 ctrl.vrs[FP] = frame->fp;
491 sp_low = frame->fp;
492 ctrl.sp_high = ALIGN(frame->fp, THREAD_SIZE);
513 frame->fp = ctrl.vrs[FP];
540 frame.fp = (unsigned long)__builtin_frame_address(0);
551 frame.fp = thread_saved_fp(tsk);
/linux-master/arch/sparc/kernel/
H A Dsignal32.c71 /* Checks if the fp is valid. We always build signal frames which are
75 static bool invalid_frame_pointer(void __user *fp, int fplen) argument
77 if ((((unsigned long) fp) & 15) ||
78 ((unsigned long)fp) > 0x100000000ULL - fplen)
411 __siginfo_fpu_t __user *fp = tail; local
412 tail += sizeof(*fp);
413 err |= save_fpu_state(regs, fp);
414 err |= __put_user((u64)fp, &sf->fpu_save);
450 err |= __put_user(rp->ins[6], &sf->ss.fp);
545 __siginfo_fpu_t __user *fp local
[all...]
/linux-master/net/sched/
H A Dsch_mqprio.c31 u32 fp[TC_QOPT_MAX_QUEUE]; member in struct:mqprio_sched
68 mqprio_fp_to_offload(priv->fp, &mqprio);
169 static int mqprio_parse_tc_entry(u32 fp[TC_QOPT_MAX_QUEUE], argument
197 fp[tc] = nla_get_u32(tb[TCA_MQPRIO_TC_ENTRY_FP]);
210 u32 fp[TC_QOPT_MAX_QUEUE]; local
216 fp[tc] = priv->fp[tc];
222 err = mqprio_parse_tc_entry(fp, n, &seen_tcs, extack);
228 priv->fp[tc] = fp[t
[all...]
/linux-master/tools/perf/util/
H A Dmaps.c678 FILE *fp; member in struct:maps__fprintf_args
686 args->printed += fprintf(args->fp, "Map:");
687 args->printed += map__fprintf(map, args->fp);
689 args->printed += dso__fprintf(map__dso(map), args->fp);
690 args->printed += fprintf(args->fp, "--\n");
695 size_t maps__fprintf(struct maps *maps, FILE *fp) argument
698 .fp = fp,
745 FILE *fp = debug_file(); local
772 map__fprintf(new, fp);
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c305 static u32 bnx2x_rx_ustorm_prods_offset(struct bnx2x_fastpath *fp);
970 struct bnx2x_fastpath *fp = &bp->fp[i]; local
986 if (!bp->fp)
989 if (!fp->rx_cons_sb)
993 BNX2X_ERR("fp%d: rx_bd_prod(0x%x) rx_bd_cons(0x%x) rx_comp_prod(0x%x) rx_comp_cons(0x%x) *rx_cons_sb(0x%x)\n",
994 i, fp->rx_bd_prod, fp->rx_bd_cons,
995 fp->rx_comp_prod,
996 fp
1111 struct bnx2x_fastpath *fp = &bp->fp[i]; local
1151 struct bnx2x_fastpath *fp = &bp->fp[i]; local
1814 bnx2x_sp_event(struct bnx2x_fastpath *fp, union eth_rx_cqe *rr_cqe) argument
1943 struct bnx2x_fastpath *fp = &bp->fp[i]; local
3104 bnx2x_get_common_flags(struct bnx2x *bp, struct bnx2x_fastpath *fp, bool zero_stats) argument
3135 bnx2x_get_q_flags(struct bnx2x *bp, struct bnx2x_fastpath *fp, bool leading) argument
3173 bnx2x_pf_q_prep_general(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_general_setup_params *gen_init, u8 cos) argument
3191 bnx2x_pf_rx_q_prep(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct rxq_pause_params *pause, struct bnx2x_rxq_setup_params *rxq_init) argument
3279 bnx2x_pf_tx_q_prep(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_txq_setup_params *txq_init, u8 cos) argument
5388 struct bnx2x_fastpath *fp; local
5707 struct bnx2x_fastpath *fp = bnx2x_fcoe_fp(bp); local
6342 bnx2x_fp_igu_sb_id(struct bnx2x_fastpath *fp) argument
6347 bnx2x_fp_fw_sb_id(struct bnx2x_fastpath *fp) argument
6352 bnx2x_fp_cl_id(struct bnx2x_fastpath *fp) argument
6362 struct bnx2x_fastpath *fp = &bp->fp[fp_idx]; local
6466 struct bnx2x_fastpath *fp = bnx2x_fcoe_fp(bp); local
8738 bnx2x_pf_q_prep_init(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_queue_init_params *init_params) argument
8789 bnx2x_setup_tx_only(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_queue_state_params *q_params, struct bnx2x_queue_setup_tx_only_params *tx_only_params, int tx_index, bool leading) argument
8832 bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp, bool leading) argument
8918 struct bnx2x_fastpath *fp = &bp->fp[index]; local
8996 struct bnx2x_fastpath *fp = &bp->fp[i]; local
9345 struct bnx2x_fastpath *fp = &bp->fp[i]; local
15068 bnx2x_rx_ustorm_prods_offset(struct bnx2x_fastpath *fp) argument
15241 struct bnx2x_fastpath *fp = &bp->fp[i]; local
[all...]
/linux-master/drivers/misc/
H A Dhpilo.c434 static ssize_t ilo_read(struct file *fp, char __user *buf, argument
438 struct ccb_data *data = fp->private_data;
484 static ssize_t ilo_write(struct file *fp, const char __user *buf, argument
488 struct ccb_data *data = fp->private_data;
516 static __poll_t ilo_poll(struct file *fp, poll_table *wait) argument
518 struct ccb_data *data = fp->private_data;
521 poll_wait(fp, &data->ccb_waitq, wait);
531 static int ilo_close(struct inode *ip, struct file *fp) argument
545 data = fp->private_data;
562 static int ilo_open(struct inode *ip, struct file *fp) argument
[all...]
/linux-master/arch/sparc/power/
H A Dhibernate_asm.S26 stx %fp, [%g3 + SC_REG_FP]
107 ldxa [%g3 + SC_REG_FP] %asi, %fp
/linux-master/drivers/soc/bcm/brcmstb/pm/
H A Ds3-mips.S37 sw fp, 44(t0)
116 lw fp, 44(t0)
/linux-master/net/802/
H A Dhippi.c56 * have to set the fp field this way.
58 hip->fp.fixed = htonl(0x04800018);
59 hip->fp.d2_size = htonl(len + 8);
/linux-master/arch/nios2/kernel/
H A Dptrace.c35 membuf_store(&to, regs->fp);
77 REG_IN_ONE(&regs->fp, PTR_FP);
/linux-master/arch/mips/include/asm/
H A Dasmmacro-32.h74 LONG_S fp, THREAD_REG30(\thread) variable
87 LONG_L fp, THREAD_REG30(\thread) variable
/linux-master/tools/perf/tests/
H A Ddwarf-unwind.c165 void *fp = &bsearch; local
175 _bsearch = fp;
/linux-master/arch/m68k/lib/
H A Dudivsi3.S82 #define fp REG (fp) define
/linux-master/arch/x86/kernel/
H A Dsignal_32.c225 #define unsafe_put_sigcontext32(sc, fp, regs, set, label) \
227 if (__unsafe_setup_sigcontext32(sc, fp, regs, set->sig[0])) \
236 void __user *fp = NULL; local
249 frame = get_sigframe(ksig, regs, sizeof(*frame), &fp);
266 unsafe_put_sigcontext32(&frame->sc, fp, regs, set, Efault);
307 void __user *fp = NULL; local
322 frame = get_sigframe(ksig, regs, sizeof(*frame), &fp);
351 unsafe_put_sigcontext32(&frame->uc.uc_mcontext, fp, regs, set, Efault);
/linux-master/arch/arc/kernel/
H A Dkgdb.c25 gdb_regs[_FP] = kernel_regs->fp;
45 kernel_regs->fp = gdb_regs[_FP];
/linux-master/arch/m68k/68000/
H A Dints.c80 asmlinkage void process_int(int vec, struct pt_regs *fp) argument
131 do_IRQ(irq, fp);

Completed in 323 milliseconds

<<11121314151617181920>>