fp                 95 arch/alpha/include/uapi/asm/fpu.h 	unsigned long fp;
fp                 96 arch/alpha/include/uapi/asm/fpu.h 	fp = (sw & IEEE_STATUS_MASK) << 35;
fp                 97 arch/alpha/include/uapi/asm/fpu.h 	fp |= (sw & IEEE_MAP_DMZ) << 36;
fp                 98 arch/alpha/include/uapi/asm/fpu.h 	fp |= (sw & IEEE_STATUS_MASK ? FPCR_SUM : 0);
fp                 99 arch/alpha/include/uapi/asm/fpu.h 	fp |= (~sw & (IEEE_TRAP_ENABLE_INV
fp                102 arch/alpha/include/uapi/asm/fpu.h 	fp |= (~sw & (IEEE_TRAP_ENABLE_UNF | IEEE_TRAP_ENABLE_INE)) << 57;
fp                103 arch/alpha/include/uapi/asm/fpu.h 	fp |= (sw & IEEE_MAP_UMZ ? FPCR_UNDZ | FPCR_UNFD : 0);
fp                104 arch/alpha/include/uapi/asm/fpu.h 	fp |= (~sw & IEEE_TRAP_ENABLE_DNO) << 41;
fp                105 arch/alpha/include/uapi/asm/fpu.h 	return fp;
fp                109 arch/alpha/include/uapi/asm/fpu.h ieee_fpcr_to_swcr(unsigned long fp)
fp                112 arch/alpha/include/uapi/asm/fpu.h 	sw = (fp >> 35) & IEEE_STATUS_MASK;
fp                113 arch/alpha/include/uapi/asm/fpu.h 	sw |= (fp >> 36) & IEEE_MAP_DMZ;
fp                114 arch/alpha/include/uapi/asm/fpu.h 	sw |= (~fp >> 48) & (IEEE_TRAP_ENABLE_INV
fp                117 arch/alpha/include/uapi/asm/fpu.h 	sw |= (~fp >> 57) & (IEEE_TRAP_ENABLE_UNF | IEEE_TRAP_ENABLE_INE);
fp                118 arch/alpha/include/uapi/asm/fpu.h 	sw |= (fp >> 47) & IEEE_MAP_UMZ;
fp                119 arch/alpha/include/uapi/asm/fpu.h 	sw |= (~fp >> 41) & IEEE_TRAP_ENABLE_DNO;
fp                 67 arch/alpha/include/uapi/asm/ptrace.h 	unsigned long fp[32];	/* fp[31] is fpcr */
fp                346 arch/alpha/kernel/process.c 	memcpy(dest, sw->fp, 32 * 8);
fp                369 arch/alpha/kernel/process.c 	unsigned long fp, sp = task_thread_info(t)->pcb.ksp;
fp                372 arch/alpha/kernel/process.c 		fp = ((unsigned long*)sp)[6];
fp                373 arch/alpha/kernel/process.c 		if (fp > sp && fp < base + 16*1024)
fp                374 arch/alpha/kernel/process.c 			return *(unsigned long *)fp;
fp                 92 arch/alpha/kernel/ptrace.c 	SW_REG(fp[ 0]), SW_REG(fp[ 1]), SW_REG(fp[ 2]), SW_REG(fp[ 3]),
fp                 93 arch/alpha/kernel/ptrace.c 	SW_REG(fp[ 4]), SW_REG(fp[ 5]), SW_REG(fp[ 6]), SW_REG(fp[ 7]),
fp                 94 arch/alpha/kernel/ptrace.c 	SW_REG(fp[ 8]), SW_REG(fp[ 9]), SW_REG(fp[10]), SW_REG(fp[11]),
fp                 95 arch/alpha/kernel/ptrace.c 	SW_REG(fp[12]), SW_REG(fp[13]), SW_REG(fp[14]), SW_REG(fp[15]),
fp                 96 arch/alpha/kernel/ptrace.c 	SW_REG(fp[16]), SW_REG(fp[17]), SW_REG(fp[18]), SW_REG(fp[19]),
fp                 97 arch/alpha/kernel/ptrace.c 	SW_REG(fp[20]), SW_REG(fp[21]), SW_REG(fp[22]), SW_REG(fp[23]),
fp                 98 arch/alpha/kernel/ptrace.c 	SW_REG(fp[24]), SW_REG(fp[25]), SW_REG(fp[26]), SW_REG(fp[27]),
fp                 99 arch/alpha/kernel/ptrace.c 	SW_REG(fp[28]), SW_REG(fp[29]), SW_REG(fp[30]), SW_REG(fp[31]),
fp                193 arch/alpha/kernel/signal.c 		err |= __get_user(sw->fp[i], sc->sc_fpregs+i);
fp                194 arch/alpha/kernel/signal.c 	err |= __get_user(sw->fp[31], &sc->sc_fpcr);
fp                316 arch/alpha/kernel/signal.c 		err |= __put_user(sw->fp[i], sc->sc_fpregs+i);
fp                318 arch/alpha/kernel/signal.c 	err |= __put_user(sw->fp[31], &sc->sc_fpcr);
fp               2342 arch/alpha/kernel/smc37c669.c int __init smcc669_open( struct FILE *fp, char *info, char *next, char *mode )
fp               2349 arch/alpha/kernel/smc37c669.c     ip = fp->ip;
fp               2351 arch/alpha/kernel/smc37c669.c     if ( fp->mode & ATTR$M_WRITE ) {
fp               2361 arch/alpha/kernel/smc37c669.c     *fp->offset = xtoi( info );
fp               2367 arch/alpha/kernel/smc37c669.c int __init smcc669_close( struct FILE *fp )
fp               2371 arch/alpha/kernel/smc37c669.c     ip = fp->ip;
fp               2372 arch/alpha/kernel/smc37c669.c     if ( fp->mode & ATTR$M_WRITE ) {
fp               2380 arch/alpha/kernel/smc37c669.c int __init smcc669_read( struct FILE *fp, int size, int number, unsigned char *buf )
fp               2390 arch/alpha/kernel/smc37c669.c     ip = fp->ip;
fp               2396 arch/alpha/kernel/smc37c669.c 	if ( !inrange( *fp->offset, 0, ip->len[0] ) ) 
fp               2398 arch/alpha/kernel/smc37c669.c 	*buf++ = SMC37c669_read_config( *fp->offset );
fp               2399 arch/alpha/kernel/smc37c669.c 	*fp->offset += 1;
fp               2406 arch/alpha/kernel/smc37c669.c int __init smcc669_write( struct FILE *fp, int size, int number, unsigned char *buf )
fp               2415 arch/alpha/kernel/smc37c669.c     ip = fp->ip;
fp               2421 arch/alpha/kernel/smc37c669.c 	if ( !inrange( *fp->offset, 0, ip->len[0] ) ) 
fp               2423 arch/alpha/kernel/smc37c669.c 	SMC37c669_write_config( *fp->offset, *buf );
fp               2424 arch/alpha/kernel/smc37c669.c 	*fp->offset += 1;
fp                 58 arch/arc/include/asm/entry-arcv2.h 	; (B) Manually saved some regs: r12,r25,r30, sp,fp,gp, ACCL pair
fp                137 arch/arc/include/asm/entry-arcv2.h 	ST2	gp, fp, PT_r26		; gp (r26), fp (r27)
fp                173 arch/arc/include/asm/entry-arcv2.h 	LD2	gp, fp, PT_r26		; gp (r26), fp (r27)
fp                183 arch/arc/include/asm/entry-compact.h 	PUSH	fp
fp                230 arch/arc/include/asm/entry-compact.h 	POP	fp
fp                272 arch/arc/include/asm/entry-compact.h 	PUSH	fp
fp                314 arch/arc/include/asm/entry-compact.h 	POP	fp
fp                 32 arch/arc/include/asm/ptrace.h 	unsigned long fp;
fp                 86 arch/arc/include/asm/ptrace.h 	unsigned long fp;
fp                 39 arch/arc/include/uapi/asm/ptrace.h 		unsigned long status32, ret, blink, fp, gp;
fp                 18 arch/arc/kernel/arc_hostlink.c static int arc_hl_mmap(struct file *fp, struct vm_area_struct *vma)
fp                450 arch/arc/kernel/disasm.c 		return regs->fp;
fp                479 arch/arc/kernel/disasm.c 		regs->fp = val;
fp                 25 arch/arc/kernel/kgdb.c 	gdb_regs[_FP]		= kernel_regs->fp;
fp                 45 arch/arc/kernel/kgdb.c 	kernel_regs->fp		= gdb_regs[_FP];
fp                 55 arch/arc/kernel/ptrace.c 	REG_O_ONE(scratch.fp, &ptregs->fp);
fp                145 arch/arc/kernel/ptrace.c 	REG_IN_ONE(scratch.fp, &ptregs->fp);
fp                 78 arch/arc/kernel/signal.c 	uregs.scratch.fp	= regs->fp;
fp                123 arch/arc/kernel/signal.c 	regs->fp	= uregs.scratch.fp;
fp                 50 arch/arc/kernel/stacktrace.c 		unsigned long fp, sp, blink, ret;
fp                 58 arch/arc/kernel/stacktrace.c 			: "=r"(fp), "=r"(sp), "=r"(blink), "=r"(ret)
fp                 61 arch/arc/kernel/stacktrace.c 		frame_info->regs.r27 = fp;
fp                100 arch/arc/kernel/stacktrace.c 		frame_info->regs.r27 = regs->fp;
fp                218 arch/arc/kernel/troubleshoot.c 		regs->bta, regs->sp, regs->fp);
fp                 85 arch/arm/include/asm/bug.h extern asmlinkage void c_backtrace(unsigned long fp, int pmode);
fp                 12 arch/arm/include/asm/stacktrace.h 	unsigned long fp;
fp                 21 arch/arm/include/asm/stacktrace.h 		frame->fp = frame_pointer(regs);
fp                 36 arch/arm/include/asm/thread_info.h 	__u32	fp;
fp                101 arch/arm/include/asm/thread_info.h 	((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
fp                 98 arch/arm/kernel/kgdb.c 	gdb_regs[_FP]		= ti->cpu_context.fp;
fp                 24 arch/arm/kernel/perf_callchain.c 	struct frame_tail __user *fp;
fp                 56 arch/arm/kernel/perf_callchain.c 	if (tail + 1 >= buftail.fp)
fp                 59 arch/arm/kernel/perf_callchain.c 	return buftail.fp - 1;
fp                286 arch/arm/kernel/process.c int dump_fpu (struct pt_regs *regs, struct user_fp *fp)
fp                292 arch/arm/kernel/process.c 		memcpy(fp, &thread->fpstate.soft, sizeof (*fp));
fp                306 arch/arm/kernel/process.c 	frame.fp = thread_saved_fp(p);
fp                 81 arch/arm/kernel/ptrace.c 	REG_OFFSET_NAME(fp),
fp                 43 arch/arm/kernel/return_address.c 	frame.fp = (unsigned long)__builtin_frame_address(0);
fp                 31 arch/arm/kernel/stacktrace.c 	unsigned long fp = frame->fp;
fp                 38 arch/arm/kernel/stacktrace.c 	if (fp < low + 12 || fp > high - 4)
fp                 42 arch/arm/kernel/stacktrace.c 	frame->fp = *(unsigned long *)(fp - 12);
fp                 43 arch/arm/kernel/stacktrace.c 	frame->sp = *(unsigned long *)(fp - 8);
fp                 44 arch/arm/kernel/stacktrace.c 	frame->pc = *(unsigned long *)(fp - 4);
fp                121 arch/arm/kernel/stacktrace.c 		frame.fp = thread_saved_fp(tsk);
fp                129 arch/arm/kernel/stacktrace.c 		frame.fp = (unsigned long)__builtin_frame_address(0);
fp                147 arch/arm/kernel/stacktrace.c 	frame.fp = regs->ARM_fp;
fp                209 arch/arm/kernel/traps.c 	unsigned int fp, mode;
fp                218 arch/arm/kernel/traps.c 		fp = frame_pointer(regs);
fp                221 arch/arm/kernel/traps.c 		fp = thread_saved_fp(tsk);
fp                224 arch/arm/kernel/traps.c 		asm("mov %0, fp" : "=r" (fp) : : "cc");
fp                228 arch/arm/kernel/traps.c 	if (!fp) {
fp                231 arch/arm/kernel/traps.c 	} else if (verify_stack(fp)) {
fp                232 arch/arm/kernel/traps.c 		pr_cont("invalid frame pointer 0x%08x", fp);
fp                234 arch/arm/kernel/traps.c 	} else if (fp < (unsigned long)end_of_stack(tsk))
fp                239 arch/arm/kernel/traps.c 		c_backtrace(fp, mode);
fp                397 arch/arm/kernel/unwind.c 	ctrl.vrs[FP] = frame->fp;
fp                450 arch/arm/kernel/unwind.c 	frame->fp = ctrl.vrs[FP];
fp                473 arch/arm/kernel/unwind.c 		frame.fp = (unsigned long)__builtin_frame_address(0);
fp                479 arch/arm/kernel/unwind.c 		frame.fp = thread_saved_fp(tsk);
fp                605 arch/arm/mach-s3c24xx/mach-mini2440.c 	const char *fp = features_str;
fp                611 arch/arm/mach-s3c24xx/mach-mini2440.c 	while (*fp) {
fp                612 arch/arm/mach-s3c24xx/mach-mini2440.c 		char f = *fp++;
fp                284 arch/arm/mach-s3c64xx/mach-mini6410.c 	const char *fp = features_str;
fp                289 arch/arm/mach-s3c64xx/mach-mini6410.c 	while (*fp) {
fp                290 arch/arm/mach-s3c64xx/mach-mini6410.c 		char f = *fp++;
fp                254 arch/arm/mach-s3c64xx/mach-real6410.c 	const char *fp = features_str;
fp                259 arch/arm/mach-s3c64xx/mach-real6410.c 	while (*fp) {
fp                260 arch/arm/mach-s3c64xx/mach-real6410.c 		char f = *fp++;
fp                 73 arch/arm/nwfpe/fpa11.c void nwfpe_init_fpa(union fp_state *fp)
fp                 75 arch/arm/nwfpe/fpa11.c 	FPA11 *fpa11 = (FPA11 *)fp;
fp                 83 arch/arm/nwfpe/fpa11.h extern void nwfpe_init_fpa(union fp_state *fp);
fp                 81 arch/arm/oprofile/common.c 	struct frame_tail *fp;
fp                100 arch/arm/oprofile/common.c 	if (tail + 1 >= buftail[0].fp)
fp                103 arch/arm/oprofile/common.c 	return buftail[0].fp-1;
fp                120 arch/arm64/include/asm/processor.h 	unsigned long fp;
fp                 54 arch/arm64/include/asm/stacktrace.h 	unsigned long fp;
fp                163 arch/arm64/include/asm/stacktrace.h 				   unsigned long fp, unsigned long pc)
fp                165 arch/arm64/include/asm/stacktrace.h 	frame->fp = fp;
fp                 51 arch/arm64/include/asm/thread_info.h 	((unsigned long)(tsk->thread.cpu_context.fp))
fp                145 arch/arm64/kernel/kgdb.c 	gdb_regs[29] = cpu_context->fp;
fp                 14 arch/arm64/kernel/perf_callchain.c 	struct frame_tail	__user *fp;
fp                 49 arch/arm64/kernel/perf_callchain.c 	if (tail >= buftail.fp)
fp                 52 arch/arm64/kernel/perf_callchain.c 	return buftail.fp;
fp                 65 arch/arm64/kernel/perf_callchain.c 	compat_uptr_t	fp; /* a (struct compat_frame_tail *) in compat mode */
fp                 95 arch/arm64/kernel/perf_callchain.c 			compat_ptr(buftail.fp))
fp                 98 arch/arm64/kernel/perf_callchain.c 	return (struct compat_frame_tail __user *)compat_ptr(buftail.fp) - 1;
fp                 45 arch/arm64/kernel/signal.c 	u64 fp;
fp                612 arch/arm64/kernel/signal.c 	__put_user_error(regs->regs[29], &user->next_frame->fp, err);
fp                730 arch/arm64/kernel/signal.c 	regs->regs[29] = (unsigned long)&user->next_frame->fp;
fp                 43 arch/arm64/kernel/stacktrace.c 	unsigned long fp = frame->fp;
fp                 46 arch/arm64/kernel/stacktrace.c 	if (fp & 0xf)
fp                 52 arch/arm64/kernel/stacktrace.c 	if (!on_accessible_stack(tsk, fp, &info))
fp                 72 arch/arm64/kernel/stacktrace.c 		if (fp <= frame->prev_fp)
fp                 82 arch/arm64/kernel/stacktrace.c 	frame->fp = READ_ONCE_NOCHECK(*(unsigned long *)(fp));
fp                 83 arch/arm64/kernel/stacktrace.c 	frame->pc = READ_ONCE_NOCHECK(*(unsigned long *)(fp + 8));
fp                 84 arch/arm64/kernel/stacktrace.c 	frame->prev_fp = fp;
fp                110 arch/arm64/kernel/stacktrace.c 	if (!frame->fp && !frame->pc)
fp                122 arch/arm64/kernel/traps.c 		} else if (frame.fp == regs->regs[29]) {
fp                183 arch/arm64/net/bpf_jit_comp.c 	const u8 fp = bpf2a64[BPF_REG_FP];
fp                218 arch/arm64/net/bpf_jit_comp.c 	emit(A64_PUSH(fp, tcc, A64_SP), ctx);
fp                221 arch/arm64/net/bpf_jit_comp.c 	emit(A64_MOV(1, fp, A64_SP), ctx);
fp                315 arch/arm64/net/bpf_jit_comp.c 	const u8 fp = bpf2a64[BPF_REG_FP];
fp                321 arch/arm64/net/bpf_jit_comp.c 	emit(A64_POP(fp, A64_R(26), A64_SP), ctx);
fp                 16 arch/c6x/include/asm/bug.h extern void die(char *str, struct pt_regs *fp, int nr);
fp                 68 arch/c6x/kernel/traps.c void die(char *str, struct pt_regs *fp, int nr)
fp                 72 arch/c6x/kernel/traps.c 	show_regs(fp);
fp                 83 arch/c6x/kernel/traps.c static void die_if_kernel(char *str, struct pt_regs *fp, int nr)
fp                 85 arch/c6x/kernel/traps.c 	if (user_mode(fp))
fp                 88 arch/c6x/kernel/traps.c 	die(str, fp, nr);
fp                 12 arch/csky/kernel/dumpstack.c 	unsigned long *fp;
fp                 19 arch/csky/kernel/dumpstack.c 	fp = stack;
fp                 22 arch/csky/kernel/dumpstack.c 	while (fp > stack_start && fp < stack_end) {
fp                 24 arch/csky/kernel/dumpstack.c 		addr	= fp[1];
fp                 25 arch/csky/kernel/dumpstack.c 		fp	= (unsigned long *) fp[0];
fp                 27 arch/csky/kernel/dumpstack.c 		addr	= *fp++;
fp                  9 arch/csky/kernel/perf_callchain.c 	unsigned long fp;
fp                 18 arch/csky/kernel/perf_callchain.c 	if (unlikely(frame->fp < low || frame->fp > high))
fp                 21 arch/csky/kernel/perf_callchain.c 	if (kstack_end((void *)frame->fp) || frame->fp & 0x3)
fp                 24 arch/csky/kernel/perf_callchain.c 	*frame = *(struct stackframe *)frame->fp;
fp                 48 arch/csky/kernel/perf_callchain.c 			unsigned long fp, unsigned long reg_lr)
fp                 52 arch/csky/kernel/perf_callchain.c 	unsigned long *user_frame_tail = (unsigned long *)fp;
fp                 66 arch/csky/kernel/perf_callchain.c 	fp = buftail.fp;
fp                 69 arch/csky/kernel/perf_callchain.c 	return fp;
fp                 89 arch/csky/kernel/perf_callchain.c 	unsigned long fp = 0;
fp                 95 arch/csky/kernel/perf_callchain.c 	fp = regs->regs[4];
fp                104 arch/csky/kernel/perf_callchain.c 	fp = user_backtrace(entry, fp, regs->lr);
fp                106 arch/csky/kernel/perf_callchain.c 	while (fp && !(fp & 0x3) && entry->nr < entry->max_stack)
fp                107 arch/csky/kernel/perf_callchain.c 		fp = user_backtrace(entry, fp, 0);
fp                121 arch/csky/kernel/perf_callchain.c 	fr.fp = regs->regs[4];
fp                 98 arch/csky/kernel/process.c 	unsigned long *fp, *stack_start, *stack_end;
fp                107 arch/csky/kernel/process.c 	fp = (unsigned long *) thread_saved_fp(p);
fp                109 arch/csky/kernel/process.c 		if (fp < stack_start || fp > stack_end)
fp                112 arch/csky/kernel/process.c 		lr = fp[1];
fp                113 arch/csky/kernel/process.c 		fp = (unsigned long *)fp[0];
fp                115 arch/csky/kernel/process.c 		lr = *fp++;
fp                239 arch/csky/kernel/ptrace.c void show_regs(struct pt_regs *fp)
fp                261 arch/csky/kernel/ptrace.c 	pr_info("PC: 0x%08lx (%pS)\n", (long)fp->pc, (void *)fp->pc);
fp                262 arch/csky/kernel/ptrace.c 	pr_info("LR: 0x%08lx (%pS)\n", (long)fp->lr, (void *)fp->lr);
fp                263 arch/csky/kernel/ptrace.c 	pr_info("SP: 0x%08lx\n", (long)fp);
fp                264 arch/csky/kernel/ptrace.c 	pr_info("orig_a0: 0x%08lx\n", fp->orig_a0);
fp                265 arch/csky/kernel/ptrace.c 	pr_info("PSR: 0x%08lx\n", (long)fp->sr);
fp                268 arch/csky/kernel/ptrace.c 		fp->a0, fp->a1, fp->a2, fp->a3);
fp                271 arch/csky/kernel/ptrace.c 		fp->regs[0], fp->regs[1], fp->regs[2], fp->regs[3]);
fp                273 arch/csky/kernel/ptrace.c 		fp->regs[4], fp->regs[5], fp->regs[6], fp->regs[7]);
fp                275 arch/csky/kernel/ptrace.c 		fp->regs[8], fp->regs[9], fp->lr);
fp                277 arch/csky/kernel/ptrace.c 		fp->exregs[0], fp->exregs[1], fp->exregs[2], fp->exregs[3]);
fp                279 arch/csky/kernel/ptrace.c 		fp->exregs[4], fp->exregs[5], fp->exregs[6], fp->exregs[7]);
fp                281 arch/csky/kernel/ptrace.c 		fp->exregs[8], fp->exregs[9], fp->exregs[10], fp->exregs[11]);
fp                283 arch/csky/kernel/ptrace.c 		fp->exregs[12], fp->exregs[13], fp->exregs[14], fp->tls);
fp                285 arch/csky/kernel/ptrace.c 		fp->rhi, fp->rlo);
fp                288 arch/csky/kernel/ptrace.c 		fp->regs[0], fp->regs[1], fp->regs[2], fp->regs[3]);
fp                290 arch/csky/kernel/ptrace.c 		fp->regs[4], fp->regs[5], fp->regs[6], fp->regs[7]);
fp                292 arch/csky/kernel/ptrace.c 		fp->regs[8], fp->regs[9], fp->lr);
fp                296 arch/csky/kernel/ptrace.c 	tp = ((unsigned char *) fp->pc) - 0x20;
fp                306 arch/csky/kernel/ptrace.c 	tp = ((unsigned char *) fp) - 0x40;
fp                314 arch/csky/kernel/ptrace.c 	show_stack(NULL, (unsigned long *)fp->regs[4]);
fp                 17 arch/csky/kernel/stacktrace.c 	unsigned long *fp, *stack_start, *stack_end;
fp                 24 arch/csky/kernel/stacktrace.c 		asm volatile("mov %0, r8\n":"=r"(fp));
fp                 27 arch/csky/kernel/stacktrace.c 		fp = (unsigned long *)thread_saved_fp(tsk);
fp                 31 arch/csky/kernel/stacktrace.c 	addr = (unsigned long) fp & THREAD_MASK;
fp                 35 arch/csky/kernel/stacktrace.c 	while (fp > stack_start && fp < stack_end) {
fp                 38 arch/csky/kernel/stacktrace.c 		fpp = fp[0];
fp                 39 arch/csky/kernel/stacktrace.c 		lpp = fp[1];
fp                 54 arch/csky/kernel/stacktrace.c 		fp = (unsigned long *)fpp;
fp                 11 arch/h8300/include/asm/bug.h extern void die(const char *str, struct pt_regs *fp, unsigned long err);
fp                135 arch/h8300/kernel/process.c 	unsigned long fp, pc;
fp                143 arch/h8300/kernel/process.c 	fp = ((struct pt_regs *)p->thread.ksp)->er6;
fp                145 arch/h8300/kernel/process.c 		if (fp < stack_page+sizeof(struct thread_info) ||
fp                146 arch/h8300/kernel/process.c 		    fp >= 8184+stack_page)
fp                148 arch/h8300/kernel/process.c 		pc = ((unsigned long *)fp)[1];
fp                151 arch/h8300/kernel/process.c 		fp = *(unsigned long *) fp;
fp                 55 arch/h8300/kernel/traps.c static void dump(struct pt_regs *fp)
fp                 76 arch/h8300/kernel/traps.c 	show_regs(fp);
fp                 78 arch/h8300/kernel/traps.c 	tp = ((unsigned char *) fp->pc) - 0x20;
fp                 87 arch/h8300/kernel/traps.c 	tp = ((unsigned char *) fp) - 0x40;
fp                100 arch/h8300/kernel/traps.c void die(const char *str, struct pt_regs *fp, unsigned long err)
fp                108 arch/h8300/kernel/traps.c 	report_bug(fp->pc, fp);
fp                110 arch/h8300/kernel/traps.c 	dump(fp);
fp                 23 arch/h8300/mm/fault.c void die(const char *str, struct pt_regs *fp, unsigned long err);
fp                127 arch/hexagon/include/asm/processor.h 	unsigned long		fp;
fp                 78 arch/hexagon/kernel/asm-offsets.c 	OFFSET(_SWITCH_FP, hexagon_switch_stack, fp);
fp                135 arch/hexagon/kernel/process.c 	unsigned long fp, pc;
fp                142 arch/hexagon/kernel/process.c 	fp = ((struct hexagon_switch_stack *)p->thread.switch_sp)->fp;
fp                144 arch/hexagon/kernel/process.c 		if (fp < (stack_page + sizeof(struct thread_info)) ||
fp                145 arch/hexagon/kernel/process.c 			fp >= (THREAD_SIZE - 8 + stack_page))
fp                147 arch/hexagon/kernel/process.c 		pc = ((unsigned long *)fp)[1];
fp                150 arch/hexagon/kernel/process.c 		fp = *(unsigned long *) fp;
fp                 15 arch/hexagon/kernel/stacktrace.c 	unsigned long fp;
fp                 25 arch/hexagon/kernel/stacktrace.c 	unsigned long fp;
fp                 31 arch/hexagon/kernel/stacktrace.c 	fp = (unsigned long)__builtin_frame_address(0);
fp                 33 arch/hexagon/kernel/stacktrace.c 	while (fp >= low && fp <= (high - sizeof(*frame))) {
fp                 34 arch/hexagon/kernel/stacktrace.c 		frame = (struct stackframe *)fp;
fp                 48 arch/hexagon/kernel/stacktrace.c 		low = fp + sizeof(*frame);
fp                 49 arch/hexagon/kernel/stacktrace.c 		fp = frame->fp;
fp                 81 arch/hexagon/kernel/traps.c static void do_show_stack(struct task_struct *task, unsigned long *fp,
fp                100 arch/hexagon/kernel/traps.c 	if (fp == NULL) {
fp                102 arch/hexagon/kernel/traps.c 			asm("%0 = r30" : "=r" (fp));
fp                104 arch/hexagon/kernel/traps.c 			fp = (unsigned long *)
fp                106 arch/hexagon/kernel/traps.c 			     task->thread.switch_sp)->fp;
fp                110 arch/hexagon/kernel/traps.c 	if ((((unsigned long) fp) & 0x3) || ((unsigned long) fp < 0x1000)) {
fp                111 arch/hexagon/kernel/traps.c 		printk(KERN_INFO "-- Corrupt frame pointer %p\n", fp);
fp                117 arch/hexagon/kernel/traps.c 		ip = *(fp+1);
fp                128 arch/hexagon/kernel/traps.c 		printk(KERN_INFO "[%p] 0x%lx: %s + 0x%lx", fp, ip, name,
fp                130 arch/hexagon/kernel/traps.c 		if (((unsigned long) fp < low) || (high < (unsigned long) fp))
fp                136 arch/hexagon/kernel/traps.c 		newfp = (unsigned long *) *fp;
fp                146 arch/hexagon/kernel/traps.c 			struct pt_regs *regs = (struct pt_regs *) (((void *)fp)
fp                174 arch/hexagon/kernel/traps.c 		if (newfp > fp)
fp                175 arch/hexagon/kernel/traps.c 			fp = newfp;
fp                181 arch/hexagon/kernel/traps.c void show_stack(struct task_struct *task, unsigned long *fp)
fp                184 arch/hexagon/kernel/traps.c 	do_show_stack(task, fp, 0);
fp                 28 arch/ia64/include/asm/mca.h 	unsigned long fp;
fp                458 arch/ia64/include/asm/pal.h 			fp		: 1,	/* fp registers valid*/
fp                687 arch/ia64/include/asm/pal.h #define pmci_proc_fp_valid			pme_processor.fp
fp                886 arch/ia64/include/asm/sal.h 	struct ia64_fpreg fp[20];
fp                 88 arch/ia64/kernel/machine_kexec.c 	u64 fp, gp;
fp                 98 arch/ia64/kernel/machine_kexec.c 		fp = ia64_tpa(init_handler->fp);
fp                100 arch/ia64/kernel/machine_kexec.c 		ia64_sal_set_vectors(SAL_VECTOR_OS_INIT, fp, gp, 0, fp, gp, 0);
fp               1978 arch/ia64/kernel/mca.c 	ia64_mc_info.imi_mca_handler        = ia64_tpa(mca_hldlr_ptr->fp);
fp               2004 arch/ia64/kernel/mca.c 	ia64_mc_info.imi_monarch_init_handler		= ia64_tpa(init_hldlr_ptr_monarch->fp);
fp               2006 arch/ia64/kernel/mca.c 	ia64_mc_info.imi_slave_init_handler		= ia64_tpa(init_hldlr_ptr_slave->fp);
fp                547 arch/ia64/kernel/mca_drv.c 		pmsa->pmsa_iip = mca_hdlr_bh->fp;
fp                771 arch/ia64/kernel/smpboot.c 		unsigned long fp;
fp                779 arch/ia64/kernel/smpboot.c 				       ia64_tpa(ap_startup->fp), ia64_tpa(ap_startup->gp), 0, 0, 0, 0);
fp                 77 arch/m68k/68000/ints.c void process_int(int vec, struct pt_regs *fp)
fp                128 arch/m68k/68000/ints.c 		do_IRQ(irq, fp);
fp                 25 arch/m68k/coldfire/vectors.c asmlinkage void dbginterrupt_c(struct frame *fp)
fp                 27 arch/m68k/coldfire/vectors.c 	extern void dump(struct pt_regs *fp);
fp                 29 arch/m68k/coldfire/vectors.c 	dump((struct pt_regs *) fp);
fp                128 arch/m68k/include/asm/math-emu.h #define FPDATA		((struct fp_data *)current->thread.fp)
fp                280 arch/m68k/include/asm/math-emu.h .macro	printx	bit,fp
fp                 87 arch/m68k/include/asm/processor.h 	unsigned long  fp[8*3];
fp                 37 arch/m68k/kernel/asm-offsets.c 	DEFINE(THREAD_FPREG, offsetof(struct thread_struct, fp));
fp                172 arch/m68k/kernel/process.c 					      : "m" (p->thread.fp[0]),
fp                181 arch/m68k/kernel/process.c 					      : "m" (p->thread.fp[0]),
fp                202 arch/m68k/kernel/process.c 		memcpy(fpu->fpregs, current->thread.fp, 96);
fp                249 arch/m68k/kernel/process.c 	unsigned long fp, pc;
fp                256 arch/m68k/kernel/process.c 	fp = ((struct switch_stack *)p->thread.ksp)->a6;
fp                258 arch/m68k/kernel/process.c 		if (fp < stack_page+sizeof(struct thread_info) ||
fp                259 arch/m68k/kernel/process.c 		    fp >= 8184+stack_page)
fp                261 arch/m68k/kernel/process.c 		pc = ((unsigned long *)fp)[1];
fp                264 arch/m68k/kernel/process.c 		fp = *(unsigned long *) fp;
fp                179 arch/m68k/kernel/ptrace.c 			tmp = child->thread.fp[regno - 21];
fp                220 arch/m68k/kernel/ptrace.c 			child->thread.fp[regno - 21] = data;
fp                250 arch/m68k/kernel/ptrace.c 		if (copy_to_user(datap, &child->thread.fp,
fp                256 arch/m68k/kernel/ptrace.c 		if (copy_from_user(&child->thread.fp, datap,
fp                263 arch/m68k/kernel/signal.c 	    memcpy(current->thread.fp, sc->sc_fpregs, 24);
fp                345 arch/m68k/kernel/signal.c 		if (__copy_from_user(current->thread.fp,
fp                435 arch/m68k/kernel/signal.c 		memcpy(sc->sc_fpregs, current->thread.fp, 24);
fp                495 arch/m68k/kernel/signal.c 				current->thread.fp, 96);
fp                639 arch/m68k/kernel/signal.c 			       void __user *fp)
fp                658 arch/m68k/kernel/signal.c 		if (copy_from_user(buf + fsize / 4, fp, fsize))
fp                694 arch/m68k/kernel/signal.c restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *usc, void __user *fp)
fp                722 arch/m68k/kernel/signal.c 	if (err || mangle_kernel_stack(regs, formatvec, fp))
fp                508 arch/m68k/kernel/sys_m68k.c 			struct pt_regs *fp = (struct pt_regs *)&newval;
fp                511 arch/m68k/kernel/sys_m68k.c 			if (do_page_fault(fp, (unsigned long)mem, 3))
fp                130 arch/m68k/kernel/traps.c asmlinkage void trap_c(struct frame *fp);
fp                133 arch/m68k/kernel/traps.c static inline void access_error060 (struct frame *fp)
fp                135 arch/m68k/kernel/traps.c 	unsigned long fslw = fp->un.fmt4.pc; /* is really FSLW for access error */
fp                137 arch/m68k/kernel/traps.c 	pr_debug("fslw=%#lx, fa=%#lx\n", fslw, fp->un.fmt4.effaddr);
fp                152 arch/m68k/kernel/traps.c 		unsigned long addr = fp->un.fmt4.effaddr;
fp                165 arch/m68k/kernel/traps.c 		do_page_fault(&fp->ptregs, addr, errorcode);
fp                170 arch/m68k/kernel/traps.c 		send_fault_sig(&fp->ptregs);
fp                172 arch/m68k/kernel/traps.c 		   send_fault_sig(&fp->ptregs) > 0) {
fp                173 arch/m68k/kernel/traps.c 		pr_err("pc=%#lx, fa=%#lx\n", fp->ptregs.pc,
fp                174 arch/m68k/kernel/traps.c 		       fp->un.fmt4.effaddr);
fp                176 arch/m68k/kernel/traps.c 		trap_c( fp );
fp                235 arch/m68k/kernel/traps.c static inline void fix_xframe040(struct frame *fp, unsigned long wba, unsigned short wbs)
fp                237 arch/m68k/kernel/traps.c 	fp->un.fmt7.faddr = wba;
fp                238 arch/m68k/kernel/traps.c 	fp->un.fmt7.ssw = wbs & 0xff;
fp                240 arch/m68k/kernel/traps.c 	    fp->un.fmt7.ssw |= MA_040;
fp                243 arch/m68k/kernel/traps.c static inline void do_040writebacks(struct frame *fp)
fp                247 arch/m68k/kernel/traps.c 	if (fp->un.fmt7.wb1s & WBV_040)
fp                251 arch/m68k/kernel/traps.c 	if ((fp->un.fmt7.wb2s & WBV_040) &&
fp                252 arch/m68k/kernel/traps.c 	    !(fp->un.fmt7.wb2s & WBTT_040)) {
fp                253 arch/m68k/kernel/traps.c 		res = do_040writeback1(fp->un.fmt7.wb2s, fp->un.fmt7.wb2a,
fp                254 arch/m68k/kernel/traps.c 				       fp->un.fmt7.wb2d);
fp                256 arch/m68k/kernel/traps.c 			fix_xframe040(fp, fp->un.fmt7.wb2a, fp->un.fmt7.wb2s);
fp                258 arch/m68k/kernel/traps.c 			fp->un.fmt7.wb2s = 0;
fp                262 arch/m68k/kernel/traps.c 	if (fp->un.fmt7.wb3s & WBV_040 && (!res || fp->un.fmt7.wb3s & 4)) {
fp                263 arch/m68k/kernel/traps.c 		res = do_040writeback1(fp->un.fmt7.wb3s, fp->un.fmt7.wb3a,
fp                264 arch/m68k/kernel/traps.c 				       fp->un.fmt7.wb3d);
fp                267 arch/m68k/kernel/traps.c 			fix_xframe040(fp, fp->un.fmt7.wb3a, fp->un.fmt7.wb3s);
fp                269 arch/m68k/kernel/traps.c 			fp->un.fmt7.wb2s = fp->un.fmt7.wb3s;
fp                270 arch/m68k/kernel/traps.c 			fp->un.fmt7.wb3s &= (~WBV_040);
fp                271 arch/m68k/kernel/traps.c 			fp->un.fmt7.wb2a = fp->un.fmt7.wb3a;
fp                272 arch/m68k/kernel/traps.c 			fp->un.fmt7.wb2d = fp->un.fmt7.wb3d;
fp                275 arch/m68k/kernel/traps.c 			fp->un.fmt7.wb3s = 0;
fp                279 arch/m68k/kernel/traps.c 		send_fault_sig(&fp->ptregs);
fp                288 arch/m68k/kernel/traps.c asmlinkage void berr_040cleanup(struct frame *fp)
fp                290 arch/m68k/kernel/traps.c 	fp->un.fmt7.wb2s &= ~4;
fp                291 arch/m68k/kernel/traps.c 	fp->un.fmt7.wb3s &= ~4;
fp                293 arch/m68k/kernel/traps.c 	do_040writebacks(fp);
fp                296 arch/m68k/kernel/traps.c static inline void access_error040(struct frame *fp)
fp                298 arch/m68k/kernel/traps.c 	unsigned short ssw = fp->un.fmt7.ssw;
fp                301 arch/m68k/kernel/traps.c 	pr_debug("ssw=%#x, fa=%#lx\n", ssw, fp->un.fmt7.faddr);
fp                302 arch/m68k/kernel/traps.c 	pr_debug("wb1s=%#x, wb2s=%#x, wb3s=%#x\n", fp->un.fmt7.wb1s,
fp                303 arch/m68k/kernel/traps.c 		fp->un.fmt7.wb2s, fp->un.fmt7.wb3s);
fp                305 arch/m68k/kernel/traps.c 		fp->un.fmt7.wb2a, fp->un.fmt7.wb3a,
fp                306 arch/m68k/kernel/traps.c 		fp->un.fmt7.wb2d, fp->un.fmt7.wb3d);
fp                309 arch/m68k/kernel/traps.c 		unsigned long addr = fp->un.fmt7.faddr;
fp                334 arch/m68k/kernel/traps.c 		if (do_page_fault(&fp->ptregs, addr, errorcode)) {
fp                336 arch/m68k/kernel/traps.c 			if (user_mode(&fp->ptregs)){
fp                347 arch/m68k/kernel/traps.c 			if (fp->un.fmt7.wb2a == fp->un.fmt7.faddr)
fp                348 arch/m68k/kernel/traps.c 				fp->un.fmt7.wb2s &= ~WBV_040;
fp                349 arch/m68k/kernel/traps.c 			if (fp->un.fmt7.wb3a == fp->un.fmt7.faddr)
fp                350 arch/m68k/kernel/traps.c 				fp->un.fmt7.wb3s &= ~WBV_040;
fp                358 arch/m68k/kernel/traps.c 		current->thread.faddr = fp->un.fmt7.faddr;
fp                359 arch/m68k/kernel/traps.c 		if (send_fault_sig(&fp->ptregs) >= 0)
fp                361 arch/m68k/kernel/traps.c 			       fp->un.fmt7.faddr);
fp                365 arch/m68k/kernel/traps.c 	do_040writebacks(fp);
fp                376 arch/m68k/kernel/traps.c static inline void bus_error030 (struct frame *fp)
fp                380 arch/m68k/kernel/traps.c 	unsigned short ssw = fp->un.fmtb.ssw;
fp                386 arch/m68k/kernel/traps.c 			fp->ptregs.format == 0xa ? fp->ptregs.pc + 2 : fp->un.fmtb.baddr - 2
fp                388 arch/m68k/kernel/traps.c 			fp->ptregs.format == 0xa ? fp->ptregs.pc + 4 : fp->un.fmtb.baddr);
fp                392 arch/m68k/kernel/traps.c 			fp->un.fmtb.daddr,
fp                393 arch/m68k/kernel/traps.c 			space_names[ssw & DFC], fp->ptregs.pc);
fp                403 arch/m68k/kernel/traps.c 		if (mmu_emu_handle_fault (fp->un.fmtb.daddr, ssw & RW, 0))
fp                408 arch/m68k/kernel/traps.c 	if (fp->ptregs.sr & PS_S) {
fp                412 arch/m68k/kernel/traps.c 		     if (mmu_emu_handle_fault (fp->un.fmtb.daddr, ssw & RW, 1))
fp                417 arch/m68k/kernel/traps.c 					fp->ptregs.pc);
fp                420 arch/m68k/kernel/traps.c 				if((fp->ptregs.pc >= (unsigned long)&_sun3_map_test_start) &&
fp                421 arch/m68k/kernel/traps.c 				   (fp->ptregs.pc <= (unsigned long)&_sun3_map_test_end)) {
fp                422 arch/m68k/kernel/traps.c 					send_fault_sig(&fp->ptregs);
fp                428 arch/m68k/kernel/traps.c 					fp->un.fmtb.daddr,
fp                429 arch/m68k/kernel/traps.c 					space_names[ssw & DFC], fp->ptregs.pc);
fp                433 arch/m68k/kernel/traps.c 			die_if_kernel("Oops", &fp->ptregs,0);
fp                447 arch/m68k/kernel/traps.c 		addr = fp->un.fmtb.daddr;
fp                464 arch/m68k/kernel/traps.c 				 fp->ptregs.pc);
fp                465 arch/m68k/kernel/traps.c 			die_if_kernel ("Oops", &fp->ptregs, buserr_type);
fp                475 arch/m68k/kernel/traps.c 		do_page_fault (&fp->ptregs, addr, errorcode);
fp                484 arch/m68k/kernel/traps.c 	if (fp->ptregs.format == 0xA)
fp                485 arch/m68k/kernel/traps.c 		addr = fp->ptregs.pc + 4;
fp                487 arch/m68k/kernel/traps.c 		addr = fp->un.fmtb.baddr;
fp                493 arch/m68k/kernel/traps.c 			do_page_fault (&fp->ptregs, addr, 0);
fp                501 arch/m68k/kernel/traps.c static inline void bus_error030 (struct frame *fp)
fp                506 arch/m68k/kernel/traps.c 	unsigned short ssw = fp->un.fmtb.ssw;
fp                517 arch/m68k/kernel/traps.c 			fp->ptregs.format == 0xa ? fp->ptregs.pc + 2 : fp->un.fmtb.baddr - 2
fp                519 arch/m68k/kernel/traps.c 			fp->ptregs.format == 0xa ? fp->ptregs.pc + 4 : fp->un.fmtb.baddr);
fp                523 arch/m68k/kernel/traps.c 			fp->un.fmtb.daddr,
fp                524 arch/m68k/kernel/traps.c 			space_names[ssw & DFC], fp->ptregs.pc);
fp                531 arch/m68k/kernel/traps.c 		addr = fp->un.fmtb.daddr;
fp                556 arch/m68k/kernel/traps.c 				       fp->un.fmtb.daddr,
fp                557 arch/m68k/kernel/traps.c 				       space_names[ssw & DFC], fp->ptregs.pc);
fp                562 arch/m68k/kernel/traps.c 			if (do_page_fault (&fp->ptregs, addr, errorcode) < 0)
fp                566 arch/m68k/kernel/traps.c 			if (!(ssw & RM) && send_fault_sig(&fp->ptregs) > 0)
fp                572 arch/m68k/kernel/traps.c 			       fp->ptregs.pc);
fp                573 arch/m68k/kernel/traps.c 			die_if_kernel("Oops",&fp->ptregs,mmusr);
fp                583 arch/m68k/kernel/traps.c 			       fp->ptregs.pc, ssw);
fp                600 arch/m68k/kernel/traps.c 			die_if_kernel("Oops",&fp->ptregs,mmusr);
fp                619 arch/m68k/kernel/traps.c 	if (fp->ptregs.sr & PS_S) {
fp                620 arch/m68k/kernel/traps.c 		pr_err("Instruction fault at %#010lx\n", fp->ptregs.pc);
fp                623 arch/m68k/kernel/traps.c 		die_if_kernel("Oops",&fp->ptregs,0);
fp                629 arch/m68k/kernel/traps.c 	if (fp->ptregs.format == 10)
fp                630 arch/m68k/kernel/traps.c 		addr = fp->ptregs.pc + 4;
fp                632 arch/m68k/kernel/traps.c 		addr = fp->un.fmtb.baddr;
fp                636 arch/m68k/kernel/traps.c 	if ((ssw & DF) && ((addr ^ fp->un.fmtb.daddr) & PAGE_MASK) == 0)
fp                657 arch/m68k/kernel/traps.c 		do_page_fault (&fp->ptregs, addr, 0);
fp                660 arch/m68k/kernel/traps.c 			addr, fp->ptregs.pc);
fp                662 arch/m68k/kernel/traps.c 		die_if_kernel("Oops",&fp->ptregs,mmusr);
fp                702 arch/m68k/kernel/traps.c static inline void access_errorcf(unsigned int fs, struct frame *fp)
fp                718 arch/m68k/kernel/traps.c 		need_page_fault = cf_tlb_miss(&fp->ptregs, 0, 0, 0);
fp                719 arch/m68k/kernel/traps.c 		addr = fp->ptregs.pc;
fp                722 arch/m68k/kernel/traps.c 		need_page_fault = cf_tlb_miss(&fp->ptregs, 0, 0, 1);
fp                723 arch/m68k/kernel/traps.c 		addr = fp->ptregs.pc + sizeof(long);
fp                726 arch/m68k/kernel/traps.c 		need_page_fault = cf_tlb_miss(&fp->ptregs, 1, 1, 0);
fp                729 arch/m68k/kernel/traps.c 		need_page_fault = cf_tlb_miss(&fp->ptregs, 0, 1, 0);
fp                752 arch/m68k/kernel/traps.c 		do_page_fault(&fp->ptregs, addr, err_code);
fp                757 arch/m68k/kernel/traps.c asmlinkage void buserr_c(struct frame *fp)
fp                760 arch/m68k/kernel/traps.c 	if (user_mode(&fp->ptregs))
fp                761 arch/m68k/kernel/traps.c 		current->thread.esp0 = (unsigned long) fp;
fp                763 arch/m68k/kernel/traps.c 	pr_debug("*** Bus Error *** Format is %x\n", fp->ptregs.format);
fp                768 arch/m68k/kernel/traps.c 		fs = (fp->ptregs.vector & 0x3) |
fp                769 arch/m68k/kernel/traps.c 			((fp->ptregs.vector & 0xc00) >> 8);
fp                779 arch/m68k/kernel/traps.c 			access_errorcf(fs, fp);
fp                787 arch/m68k/kernel/traps.c 	switch (fp->ptregs.format) {
fp                790 arch/m68k/kernel/traps.c 	  access_error060 (fp);
fp                795 arch/m68k/kernel/traps.c 	  access_error040 (fp);
fp                801 arch/m68k/kernel/traps.c 	  bus_error030 (fp);
fp                805 arch/m68k/kernel/traps.c 	  die_if_kernel("bad frame format",&fp->ptregs,0);
fp                848 arch/m68k/kernel/traps.c 	struct frame *fp = (struct frame *)regs;
fp                864 arch/m68k/kernel/traps.c 	addr = (unsigned long)&fp->un;
fp                868 arch/m68k/kernel/traps.c 		pr_cont("instr addr=%08lx\n", fp->un.fmt2.iaddr);
fp                869 arch/m68k/kernel/traps.c 		addr += sizeof(fp->un.fmt2);
fp                872 arch/m68k/kernel/traps.c 		pr_cont("eff addr=%08lx\n", fp->un.fmt3.effaddr);
fp                873 arch/m68k/kernel/traps.c 		addr += sizeof(fp->un.fmt3);
fp                878 arch/m68k/kernel/traps.c 				fp->un.fmt4.effaddr, fp->un.fmt4.pc);
fp                881 arch/m68k/kernel/traps.c 				fp->un.fmt4.effaddr, fp->un.fmt4.pc);
fp                882 arch/m68k/kernel/traps.c 		addr += sizeof(fp->un.fmt4);
fp                886 arch/m68k/kernel/traps.c 			fp->un.fmt7.effaddr, fp->un.fmt7.ssw, fp->un.fmt7.faddr);
fp                888 arch/m68k/kernel/traps.c 			fp->un.fmt7.wb1s, fp->un.fmt7.wb1a, fp->un.fmt7.wb1dpd0);
fp                890 arch/m68k/kernel/traps.c 			fp->un.fmt7.wb2s, fp->un.fmt7.wb2a, fp->un.fmt7.wb2d);
fp                892 arch/m68k/kernel/traps.c 			fp->un.fmt7.wb3s, fp->un.fmt7.wb3a, fp->un.fmt7.wb3d);
fp                894 arch/m68k/kernel/traps.c 			fp->un.fmt7.wb1dpd0, fp->un.fmt7.pd1, fp->un.fmt7.pd2,
fp                895 arch/m68k/kernel/traps.c 			fp->un.fmt7.pd3);
fp                896 arch/m68k/kernel/traps.c 		addr += sizeof(fp->un.fmt7);
fp                899 arch/m68k/kernel/traps.c 		pr_cont("instr addr=%08lx\n", fp->un.fmt9.iaddr);
fp                900 arch/m68k/kernel/traps.c 		addr += sizeof(fp->un.fmt9);
fp                904 arch/m68k/kernel/traps.c 			fp->un.fmta.ssw, fp->un.fmta.isc, fp->un.fmta.isb,
fp                905 arch/m68k/kernel/traps.c 			fp->un.fmta.daddr, fp->un.fmta.dobuf);
fp                906 arch/m68k/kernel/traps.c 		addr += sizeof(fp->un.fmta);
fp                910 arch/m68k/kernel/traps.c 			fp->un.fmtb.ssw, fp->un.fmtb.isc, fp->un.fmtb.isb,
fp                911 arch/m68k/kernel/traps.c 			fp->un.fmtb.daddr, fp->un.fmtb.dobuf);
fp                913 arch/m68k/kernel/traps.c 			fp->un.fmtb.baddr, fp->un.fmtb.dibuf, fp->un.fmtb.ver);
fp                914 arch/m68k/kernel/traps.c 		addr += sizeof(fp->un.fmtb);
fp                973 arch/m68k/kernel/traps.c void bad_super_trap (struct frame *fp)
fp                975 arch/m68k/kernel/traps.c 	int vector = (fp->ptregs.vector >> 2) & 0xff;
fp                981 arch/m68k/kernel/traps.c 			fp->ptregs.format);
fp                984 arch/m68k/kernel/traps.c 			vector, fp->ptregs.format);
fp                986 arch/m68k/kernel/traps.c 		unsigned short ssw = fp->un.fmtb.ssw;
fp                992 arch/m68k/kernel/traps.c 				(fp->ptregs.format) == 0xA ?
fp                993 arch/m68k/kernel/traps.c 				fp->ptregs.pc + 2 : fp->un.fmtb.baddr - 2);
fp                996 arch/m68k/kernel/traps.c 				(fp->ptregs.format) == 0xA ?
fp                997 arch/m68k/kernel/traps.c 				fp->ptregs.pc + 4 : fp->un.fmtb.baddr);
fp               1001 arch/m68k/kernel/traps.c 				fp->un.fmtb.daddr, space_names[ssw & DFC],
fp               1002 arch/m68k/kernel/traps.c 				fp->ptregs.pc);
fp               1005 arch/m68k/kernel/traps.c 	die_if_kernel("BAD KERNEL TRAP", &fp->ptregs, 0);
fp               1008 arch/m68k/kernel/traps.c asmlinkage void trap_c(struct frame *fp)
fp               1012 arch/m68k/kernel/traps.c 	int vector = (fp->ptregs.vector >> 2) & 0xff;
fp               1014 arch/m68k/kernel/traps.c 	if (fp->ptregs.sr & PS_S) {
fp               1022 arch/m68k/kernel/traps.c 		if (fixup_exception(&fp->ptregs))
fp               1025 arch/m68k/kernel/traps.c 		bad_super_trap(fp);
fp               1110 arch/m68k/kernel/traps.c 	switch (fp->ptregs.format) {
fp               1112 arch/m68k/kernel/traps.c 		addr = (void __user *) fp->ptregs.pc;
fp               1115 arch/m68k/kernel/traps.c 		addr = (void __user *) fp->un.fmt2.iaddr;
fp               1118 arch/m68k/kernel/traps.c 		addr = (void __user *) fp->un.fmt7.effaddr;
fp               1121 arch/m68k/kernel/traps.c 		addr = (void __user *) fp->un.fmt9.iaddr;
fp               1124 arch/m68k/kernel/traps.c 		addr = (void __user *) fp->un.fmta.daddr;
fp               1127 arch/m68k/kernel/traps.c 		addr = (void __user*) fp->un.fmtb.daddr;
fp               1133 arch/m68k/kernel/traps.c void die_if_kernel (char *str, struct pt_regs *fp, int nr)
fp               1135 arch/m68k/kernel/traps.c 	if (!(fp->sr & PS_S))
fp               1140 arch/m68k/kernel/traps.c 	show_registers(fp);
fp                 97 arch/m68k/math-emu/fp_decode.h | either source fp register or data format
fp                 36 arch/m68k/q40/q40ints.c static void q40_irq_handler(unsigned int, struct pt_regs *fp);
fp                209 arch/m68k/q40/q40ints.c static void q40_irq_handler(unsigned int irq, struct pt_regs *fp)
fp                226 arch/m68k/q40/q40ints.c 		do_IRQ(Q40_IRQ_SAMPLE, fp);
fp                230 arch/m68k/q40/q40ints.c 		do_IRQ(Q40_IRQ_FRAME, fp);
fp                259 arch/m68k/q40/q40ints.c 					fp->sr = (((fp->sr) & (~0x700))+0x200);
fp                265 arch/m68k/q40/q40ints.c 				do_IRQ(irq, fp);
fp                297 arch/m68k/q40/q40ints.c 		do_IRQ(Q40_IRQ_KEYBOARD, fp);
fp                 72 arch/microblaze/include/asm/exceptions.h void die(const char *str, struct pt_regs *fp, long err);
fp                 40 arch/microblaze/kernel/exceptions.c void die(const char *str, struct pt_regs *fp, long err)
fp                 45 arch/microblaze/kernel/exceptions.c 	show_regs(fp);
fp                 37 arch/microblaze/kernel/traps.c 	u32 fp = (u32) sp;
fp                 39 arch/microblaze/kernel/traps.c 	if (fp == 0) {
fp                 41 arch/microblaze/kernel/traps.c 			fp = ((struct thread_info *)
fp                 45 arch/microblaze/kernel/traps.c 			fp = (u32)&sp - 8;
fp                 49 arch/microblaze/kernel/traps.c 	words_to_show = (THREAD_SIZE - (fp & (THREAD_SIZE - 1))) >> 2;
fp                 59 arch/microblaze/kernel/traps.c 	if (fp & 0xF) {
fp                 60 arch/microblaze/kernel/traps.c 		unsigned long line1_words = (0x10 - (fp & 0xF)) >> 2;
fp                 63 arch/microblaze/kernel/traps.c 				       4, (void *)fp, line1_words << 2, 0);
fp                 64 arch/microblaze/kernel/traps.c 			fp += line1_words << 2;
fp                 68 arch/microblaze/kernel/traps.c 	print_hex_dump(KERN_INFO, "", DUMP_PREFIX_ADDRESS, 32, 4, (void *)fp,
fp                125 arch/microblaze/kernel/unwind.c static int lookup_prev_stack_frame(unsigned long fp, unsigned long pc,
fp                139 arch/microblaze/kernel/unwind.c 		*pprev_fp = fp + frame_size;
fp                140 arch/microblaze/kernel/unwind.c 		*pprev_pc = *(unsigned long *)fp;
fp                145 arch/microblaze/kernel/unwind.c 		*pprev_fp = fp;
fp                155 arch/microblaze/kernel/unwind.c 				    unsigned long pc, unsigned long fp,
fp                165 arch/microblaze/kernel/unwind.c 				unsigned long fp, struct stack_trace *trace)
fp                171 arch/microblaze/kernel/unwind.c 				unsigned long fp, struct stack_trace *trace)
fp                173 arch/microblaze/kernel/unwind.c 	const struct pt_regs *regs = (const struct pt_regs *) fp;
fp                189 arch/microblaze/kernel/unwind.c 			     unsigned long pc, unsigned long fp,
fp                195 arch/microblaze/kernel/unwind.c 	pr_debug("    Unwinding with PC=%p, FP=%p\n", (void *)pc, (void *)fp);
fp                196 arch/microblaze/kernel/unwind.c 	if (!pc || !fp || (pc & 3) || (fp & 3)) {
fp                215 arch/microblaze/kernel/unwind.c 				(const struct pt_regs *) fp;
fp                220 arch/microblaze/kernel/unwind.c 						fp + EX_HANDLER_STACK_SIZ,
fp                232 arch/microblaze/kernel/unwind.c 				unwind_trap(task, pc, fp, trace);
fp                264 arch/microblaze/kernel/unwind.c 		if (lookup_prev_stack_frame(fp, pc, leaf_return, &next_fp,
fp                268 arch/microblaze/kernel/unwind.c 			fp = next_fp;
fp                305 arch/microblaze/kernel/unwind.c 		unsigned long pc, fp;
fp                307 arch/microblaze/kernel/unwind.c 		__asm__ __volatile__ ("or %0, r1, r0" : "=r" (fp));
fp                317 arch/microblaze/kernel/unwind.c 		microblaze_unwind_inner(current, pc, fp, 0, trace);
fp                205 arch/mips/boot/tools/relocs.c static void read_ehdr(FILE *fp)
fp                207 arch/mips/boot/tools/relocs.c 	if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1)
fp                260 arch/mips/boot/tools/relocs.c static void read_shdrs(FILE *fp)
fp                269 arch/mips/boot/tools/relocs.c 	if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0)
fp                275 arch/mips/boot/tools/relocs.c 		sec->shdr_offset = ftell(fp);
fp                276 arch/mips/boot/tools/relocs.c 		if (fread(&shdr, sizeof(shdr), 1, fp) != 1)
fp                294 arch/mips/boot/tools/relocs.c static void read_strtabs(FILE *fp)
fp                309 arch/mips/boot/tools/relocs.c 		if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0)
fp                313 arch/mips/boot/tools/relocs.c 		if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) !=
fp                319 arch/mips/boot/tools/relocs.c static void read_symtabs(FILE *fp)
fp                333 arch/mips/boot/tools/relocs.c 		if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0)
fp                337 arch/mips/boot/tools/relocs.c 		if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) !=
fp                352 arch/mips/boot/tools/relocs.c static void read_relocs(FILE *fp)
fp                377 arch/mips/boot/tools/relocs.c 		if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0)
fp                381 arch/mips/boot/tools/relocs.c 		if (fread(sec->reltab, 1, sec->shdr.sh_size, fp) !=
fp                407 arch/mips/boot/tools/relocs.c static void remove_relocs(FILE *fp)
fp                418 arch/mips/boot/tools/relocs.c 		if (fseek(fp, sec->shdr_offset, SEEK_SET) < 0)
fp                422 arch/mips/boot/tools/relocs.c 		if (fread(&shdr, sizeof(shdr), 1, fp) != 1)
fp                432 arch/mips/boot/tools/relocs.c 		if (fseek(fp, sec->shdr_offset, SEEK_SET) < 0)
fp                436 arch/mips/boot/tools/relocs.c 		if (fwrite(&shdr, sizeof(shdr), 1, fp) != 1)
fp                665 arch/mips/boot/tools/relocs.c void process(FILE *fp, int as_text, int as_bin,
fp                669 arch/mips/boot/tools/relocs.c 	read_ehdr(fp);
fp                670 arch/mips/boot/tools/relocs.c 	read_shdrs(fp);
fp                671 arch/mips/boot/tools/relocs.c 	read_strtabs(fp);
fp                672 arch/mips/boot/tools/relocs.c 	read_symtabs(fp);
fp                673 arch/mips/boot/tools/relocs.c 	read_relocs(fp);
fp                678 arch/mips/boot/tools/relocs.c 	emit_relocs(as_text, as_bin, fp);
fp                680 arch/mips/boot/tools/relocs.c 		remove_relocs(fp);
fp                 42 arch/mips/boot/tools/relocs.h void process_32(FILE *fp, int as_text, int as_bin,
fp                 44 arch/mips/boot/tools/relocs.h void process_64(FILE *fp, int as_text, int as_bin,
fp                 33 arch/mips/boot/tools/relocs_main.c 	FILE *fp;
fp                 71 arch/mips/boot/tools/relocs_main.c 	fp = fopen(fname, "r+");
fp                 72 arch/mips/boot/tools/relocs_main.c 	if (!fp)
fp                 75 arch/mips/boot/tools/relocs_main.c 	if (fread(&e_ident, 1, EI_NIDENT, fp) != EI_NIDENT)
fp                 78 arch/mips/boot/tools/relocs_main.c 	rewind(fp);
fp                 80 arch/mips/boot/tools/relocs_main.c 		process_64(fp, as_text,  as_bin, show_reloc_info, keep_relocs);
fp                 82 arch/mips/boot/tools/relocs_main.c 		process_32(fp, as_text, as_bin, show_reloc_info, keep_relocs);
fp                 83 arch/mips/boot/tools/relocs_main.c 	fclose(fp);
fp                 74 arch/mips/include/asm/asmmacro-32.h 	LONG_S	fp, THREAD_REG30(\thread)
fp                 87 arch/mips/include/asm/asmmacro-32.h 	LONG_L	fp, THREAD_REG30(\thread)
fp                 27 arch/mips/include/asm/asmmacro-64.h 	LONG_S	fp, THREAD_REG30(\thread)
fp                 40 arch/mips/include/asm/asmmacro-64.h 	LONG_L	fp, THREAD_REG30(\thread)
fp                111 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                170 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                245 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                254 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                263 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                272 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                281 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                290 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                299 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                308 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                317 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                326 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                335 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                344 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                353 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                362 arch/mips/include/asm/asmmacro.h 	.set	fp=64
fp                268 arch/mips/kernel/ftrace.c 		old_parent_ra, unsigned long parent_ra_addr, unsigned long fp)
fp                303 arch/mips/kernel/ftrace.c 	sp = fp + (code & OFFSET_MASK);
fp                322 arch/mips/kernel/ftrace.c 			   unsigned long fp)
fp                359 arch/mips/kernel/ftrace.c 			old_parent_ra, (unsigned long)parent_ra_addr, fp);
fp                381 arch/mips/kernel/ftrace.c 	if (function_graph_enter(old_parent_ra, self_ra, fp, NULL))
fp                 27 arch/nds32/include/asm/processor.h 	unsigned long fp;
fp                 26 arch/nds32/include/asm/ptrace.h 			long fp;
fp                  9 arch/nds32/include/asm/stacktrace.h 	unsigned long fp;
fp                 36 arch/nds32/include/asm/thread_info.h #define thread_saved_fp(tsk) ((unsigned long)(tsk->thread.cpu_context.fp))
fp                 14 arch/nds32/include/uapi/asm/ptrace.h 	long fp;
fp               1205 arch/nds32/kernel/perf_event_cpu.c 	if (!kstack_end((void *)frame->fp) &&
fp               1206 arch/nds32/kernel/perf_event_cpu.c 	    !((unsigned long)frame->fp & 0x3) &&
fp               1207 arch/nds32/kernel/perf_event_cpu.c 	    ((unsigned long)frame->fp >= TASK_SIZE)) {
fp               1223 arch/nds32/kernel/perf_event_cpu.c 		frame->lp = ((unsigned long *)frame->fp)[-1];
fp               1224 arch/nds32/kernel/perf_event_cpu.c 		frame->fp = ((unsigned long *)frame->fp)[FP_OFFSET];
fp               1301 arch/nds32/kernel/perf_event_cpu.c user_backtrace(struct perf_callchain_entry_ctx *entry, unsigned long fp)
fp               1306 arch/nds32/kernel/perf_event_cpu.c 		(unsigned long *)(fp - (unsigned long)sizeof(buftail));
fp               1319 arch/nds32/kernel/perf_event_cpu.c 	fp = buftail.stack_fp;  /* ((unsigned long *)fp)[FP_OFFSET] */
fp               1321 arch/nds32/kernel/perf_event_cpu.c 	return fp;
fp               1326 arch/nds32/kernel/perf_event_cpu.c 			unsigned long fp)
fp               1332 arch/nds32/kernel/perf_event_cpu.c 		(unsigned long *)(fp - (unsigned long)sizeof(buftail));
fp               1345 arch/nds32/kernel/perf_event_cpu.c 	fp = buftail.stack_fp;  /* ((unsigned long *)fp)[FP_OFFSET] */
fp               1348 arch/nds32/kernel/perf_event_cpu.c 	return fp;
fp               1366 arch/nds32/kernel/perf_event_cpu.c 	unsigned long fp = 0;
fp               1380 arch/nds32/kernel/perf_event_cpu.c 	fp = regs->fp;
fp               1385 arch/nds32/kernel/perf_event_cpu.c 	    (unsigned long)fp && !((unsigned long)fp & 0x7) && fp > sp) {
fp               1387 arch/nds32/kernel/perf_event_cpu.c 			(unsigned long *)(fp - (unsigned long)sizeof(fp));
fp               1389 arch/nds32/kernel/perf_event_cpu.c 		if (!access_ok(user_frame_tail, sizeof(fp)))
fp               1393 arch/nds32/kernel/perf_event_cpu.c 			(&leaf_fp, user_frame_tail, sizeof(fp)))
fp               1406 arch/nds32/kernel/perf_event_cpu.c 				(unsigned long *)(fp -
fp               1423 arch/nds32/kernel/perf_event_cpu.c 					(unsigned long *)(fp - (unsigned long)
fp               1436 arch/nds32/kernel/perf_event_cpu.c 				fp = buftail_opt_size.stack_fp;
fp               1439 arch/nds32/kernel/perf_event_cpu.c 				       (unsigned long)fp &&
fp               1440 arch/nds32/kernel/perf_event_cpu.c 						!((unsigned long)fp & 0x7) &&
fp               1441 arch/nds32/kernel/perf_event_cpu.c 						fp > sp) {
fp               1442 arch/nds32/kernel/perf_event_cpu.c 					sp = fp;
fp               1443 arch/nds32/kernel/perf_event_cpu.c 					fp = user_backtrace_opt_size(entry, fp);
fp               1450 arch/nds32/kernel/perf_event_cpu.c 				fp = buftail.stack_fp;
fp               1453 arch/nds32/kernel/perf_event_cpu.c 				       (unsigned long)fp &&
fp               1454 arch/nds32/kernel/perf_event_cpu.c 						!((unsigned long)fp & 0x7) &&
fp               1455 arch/nds32/kernel/perf_event_cpu.c 						fp > sp) {
fp               1456 arch/nds32/kernel/perf_event_cpu.c 					sp = fp;
fp               1457 arch/nds32/kernel/perf_event_cpu.c 					fp = user_backtrace(entry, fp);
fp               1462 arch/nds32/kernel/perf_event_cpu.c 			fp = leaf_fp;
fp               1467 arch/nds32/kernel/perf_event_cpu.c 			       (unsigned long)fp &&
fp               1468 arch/nds32/kernel/perf_event_cpu.c 				   !((unsigned long)fp & 0x7) && fp > sp) {
fp               1469 arch/nds32/kernel/perf_event_cpu.c 				sp = fp;
fp               1470 arch/nds32/kernel/perf_event_cpu.c 				fp = user_backtrace(entry, fp);
fp               1488 arch/nds32/kernel/perf_event_cpu.c 	fr.fp = regs->fp;
fp                103 arch/nds32/kernel/process.c 		regs->lp, print_tainted(), regs->sp, regs->fp, regs->gp);
fp                238 arch/nds32/kernel/process.c 	unsigned long fp, lr;
fp                249 arch/nds32/kernel/process.c 		fp = thread_saved_fp(p);
fp                251 arch/nds32/kernel/process.c 			if (fp < stack_start || fp > stack_end)
fp                253 arch/nds32/kernel/process.c 			lr = ((unsigned long *)fp)[0];
fp                256 arch/nds32/kernel/process.c 			fp = *(unsigned long *)(fp + 4);
fp                117 arch/nds32/kernel/signal.c 	__get_user_error(regs->fp, &sf->uc.uc_mcontext.nds32_fp, err);
fp                203 arch/nds32/kernel/signal.c 	__put_user_error(regs->fp, &sf->uc.uc_mcontext.nds32_fp, err);
fp                150 arch/nds32/kernel/traps.c 			base_reg = (unsigned long *)(tsk->thread.cpu_context.fp);
fp                161 arch/nds32/mm/alignment.c 		return &regs->fp + (idx - 28);
fp                 55 arch/nios2/include/asm/elf.h 	pr_reg[17] = regs->fp;						\
fp                 71 arch/nios2/include/asm/elf.h 		pr_reg[31] = sw->fp;					\
fp                 57 arch/nios2/include/asm/entry.h 	stw	fp, PT_FP(sp)
fp                 81 arch/nios2/include/asm/entry.h 	ldw	fp, PT_FP(sp)
fp                 99 arch/nios2/include/asm/entry.h 	stw	fp, SW_FP(sp)
fp                113 arch/nios2/include/asm/entry.h 	ldw	fp, SW_FP(sp)
fp                 40 arch/nios2/include/asm/ptrace.h 	unsigned long  fp;	/* Frame pointer */
fp                 61 arch/nios2/include/asm/ptrace.h 	unsigned long  fp;
fp                 46 arch/nios2/kernel/asm-offsets.c 	OFFSET(PT_FP, pt_regs, fp);
fp                 62 arch/nios2/kernel/asm-offsets.c 	OFFSET(SW_FP, switch_stack, fp);
fp                 48 arch/nios2/kernel/kgdb.c 	{ "fp", GDB_SIZEOF_REG, offsetof(struct pt_regs, fp) },
fp                 51 arch/nios2/kernel/misaligned.c static inline u32 get_reg_val(struct pt_regs *fp, int reg)
fp                 53 arch/nios2/kernel/misaligned.c 	u8 *p = ((u8 *)fp) + reg_offsets[reg];
fp                 57 arch/nios2/kernel/misaligned.c static inline void put_reg_val(struct pt_regs *fp, int reg, u32 val)
fp                 59 arch/nios2/kernel/misaligned.c 	u8 *p = ((u8 *)fp) + reg_offsets[reg];
fp                 66 arch/nios2/kernel/misaligned.c asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause)
fp                 75 arch/nios2/kernel/misaligned.c 	fp->ea -= 4;
fp                 77 arch/nios2/kernel/misaligned.c 	if (fixup_exception(fp)) {
fp                 81 arch/nios2/kernel/misaligned.c 	in_kernel = !user_mode(fp);
fp                 83 arch/nios2/kernel/misaligned.c 	isn = *(unsigned long *)(fp->ea);
fp                 93 arch/nios2/kernel/misaligned.c 		addr = get_reg_val(fp, a) + imm16;
fp                101 arch/nios2/kernel/misaligned.c 			put_reg_val(fp, b, val);
fp                104 arch/nios2/kernel/misaligned.c 			val = get_reg_val(fp, b);
fp                119 arch/nios2/kernel/misaligned.c 			put_reg_val(fp, b, val);
fp                122 arch/nios2/kernel/misaligned.c 			val = get_reg_val(fp, b);
fp                145 arch/nios2/kernel/misaligned.c 			put_reg_val(fp, b, val);
fp                156 arch/nios2/kernel/misaligned.c 				fp->ea, (unsigned int)addr,
fp                160 arch/nios2/kernel/misaligned.c 				fp->ea,
fp                161 arch/nios2/kernel/misaligned.c 				(unsigned int)isn, addr, fp->sp,
fp                164 arch/nios2/kernel/misaligned.c 			_exception(SIGSEGV, fp, SEGV_MAPERR, fp->ea);
fp                174 arch/nios2/kernel/misaligned.c 		fp->ea += 4;
fp                178 arch/nios2/kernel/misaligned.c 				fp->ea,
fp                195 arch/nios2/kernel/misaligned.c 			fp->ea, fp->ra, fp->sp);
fp                199 arch/nios2/kernel/misaligned.c 		_exception(SIGBUS, fp, BUS_ADRALN, fp->ea);
fp                201 arch/nios2/kernel/misaligned.c 		fp->ea += 4;	/* else advance */
fp                 93 arch/nios2/kernel/process.c 		regs->ra,  regs->fp,  regs->sp,  regs->gp);
fp                151 arch/nios2/kernel/process.c void dump(struct pt_regs *fp)
fp                173 arch/nios2/kernel/process.c 	pr_emerg("PC: %08lx\n", fp->ea);
fp                175 arch/nios2/kernel/process.c 		(long) fp->estatus, (long) fp);
fp                178 arch/nios2/kernel/process.c 		fp->r1, fp->r2, fp->r3);
fp                181 arch/nios2/kernel/process.c 		fp->r4, fp->r5, fp->r6, fp->r7);
fp                183 arch/nios2/kernel/process.c 		fp->r8, fp->r9, fp->r10, fp->r11);
fp                185 arch/nios2/kernel/process.c 		fp->r12, fp->r13, fp->r14, fp->r15);
fp                187 arch/nios2/kernel/process.c 		fp->orig_r2, fp->ra, fp->fp, fp->sp);
fp                189 arch/nios2/kernel/process.c 		(unsigned int) fp->sp, (unsigned int) fp);
fp                192 arch/nios2/kernel/process.c 	tp = ((unsigned char *) fp->ea) - 0x20;
fp                201 arch/nios2/kernel/process.c 	tp = ((unsigned char *) fp) - 0x40;
fp                211 arch/nios2/kernel/process.c 	tp = (unsigned char *) (fp->sp - 0x10);
fp                222 arch/nios2/kernel/process.c 	unsigned long fp, pc;
fp                230 arch/nios2/kernel/process.c 	fp = ((struct switch_stack *)p->thread.ksp)->fp;	/* ;dgt2 */
fp                232 arch/nios2/kernel/process.c 		if (fp < stack_page+sizeof(struct task_struct) ||
fp                233 arch/nios2/kernel/process.c 			fp >= 8184+stack_page)	/* ;dgt2;tmp */
fp                235 arch/nios2/kernel/process.c 		pc = ((unsigned long *)fp)[1];
fp                238 arch/nios2/kernel/process.c 		fp = *(unsigned long *) fp;
fp                 53 arch/nios2/kernel/ptrace.c 	REG_O_ONE(&regs->fp, PTR_FP);
fp                 99 arch/nios2/kernel/ptrace.c 	REG_IN_ONE(&regs->fp, PTR_FP);
fp                 76 arch/nios2/kernel/signal.c 	err |= __get_user(sw->fp, &gregs[24]);  /* Verify, should this be
fp                158 arch/nios2/kernel/signal.c 	err |= __put_user(sw->fp, &gregs[24]);
fp                113 arch/nios2/kernel/traps.c asmlinkage void breakpoint_c(struct pt_regs *fp)
fp                120 arch/nios2/kernel/traps.c 	fp->ea -= 4;
fp                121 arch/nios2/kernel/traps.c 	_exception(SIGTRAP, fp, TRAP_BRKPT, fp->ea);
fp                126 arch/nios2/kernel/traps.c asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause)
fp                131 arch/nios2/kernel/traps.c 	fp->ea -= 4;
fp                133 arch/nios2/kernel/traps.c 	if (fixup_exception(fp))
fp                136 arch/nios2/kernel/traps.c 	if (!user_mode(fp)) {
fp                141 arch/nios2/kernel/traps.c 		pr_alert("  op-code 0x%08lx\n", *(unsigned long *)(fp->ea));
fp                142 arch/nios2/kernel/traps.c 		show_regs(fp);
fp                146 arch/nios2/kernel/traps.c 	_exception(SIGBUS, fp, BUS_ADRALN, addr);
fp                151 arch/nios2/kernel/traps.c asmlinkage void handle_illegal_c(struct pt_regs *fp)
fp                153 arch/nios2/kernel/traps.c 	fp->ea -= 4;
fp                154 arch/nios2/kernel/traps.c 	_exception(SIGILL, fp, ILL_ILLOPC, fp->ea);
fp                158 arch/nios2/kernel/traps.c asmlinkage void handle_supervisor_instr(struct pt_regs *fp)
fp                160 arch/nios2/kernel/traps.c 	fp->ea -= 4;
fp                161 arch/nios2/kernel/traps.c 	_exception(SIGILL, fp, ILL_PRVOPC, fp->ea);
fp                165 arch/nios2/kernel/traps.c asmlinkage void handle_diverror_c(struct pt_regs *fp)
fp                167 arch/nios2/kernel/traps.c 	fp->ea -= 4;
fp                168 arch/nios2/kernel/traps.c 	_exception(SIGFPE, fp, FPE_INTDIV, fp->ea);
fp                187 arch/nios2/kernel/traps.c asmlinkage void handle_trap_1_c(struct pt_regs *fp)
fp                189 arch/nios2/kernel/traps.c 	_send_sig(SIGUSR1, 0, fp->ea);
fp                192 arch/nios2/kernel/traps.c asmlinkage void handle_trap_2_c(struct pt_regs *fp)
fp                194 arch/nios2/kernel/traps.c 	_send_sig(SIGUSR2, 0, fp->ea);
fp                197 arch/nios2/kernel/traps.c asmlinkage void handle_trap_3_c(struct pt_regs *fp)
fp                199 arch/nios2/kernel/traps.c 	_send_sig(SIGILL, ILL_ILLTRP, fp->ea);
fp                 20 arch/openrisc/kernel/unwinder.c 	unsigned long *fp;
fp                 33 arch/openrisc/kernel/unwinder.c 	return (frameinfo->fp == NULL ||
fp                 34 arch/openrisc/kernel/unwinder.c 		(!kstack_end(frameinfo->fp) &&
fp                 35 arch/openrisc/kernel/unwinder.c 		 frameinfo->fp > &frameinfo->top)) &&
fp                 77 arch/openrisc/kernel/unwinder.c 				next_fp = frameinfo->fp;
fp                600 arch/powerpc/include/asm/kvm_book3s_64.h 	vcpu->arch.fp  = vcpu->arch.fp_tm;
fp                617 arch/powerpc/include/asm/kvm_book3s_64.h 	vcpu->arch.fp_tm  = vcpu->arch.fp;
fp                530 arch/powerpc/include/asm/kvm_host.h 	struct thread_fp_state fp;
fp                831 arch/powerpc/include/asm/kvm_host.h #define VCPU_FPR(vcpu, i)	(vcpu)->arch.fp.fpr[i][TS_FPROFFSET]
fp                832 arch/powerpc/include/asm/kvm_host.h #define VCPU_VSX_FPR(vcpu, i, j)	((vcpu)->arch.fp.fpr[i][j])
fp                327 arch/powerpc/include/asm/processor.h extern void load_fp_state(struct thread_fp_state *fp);
fp                328 arch/powerpc/include/asm/processor.h extern void store_fp_state(struct thread_fp_state *fp);
fp                120 arch/powerpc/include/asm/sstep.h 	float	fp[4];
fp                439 arch/powerpc/kernel/asm-offsets.c 	OFFSET(VCPU_FPRS, kvm_vcpu, arch.fp.fpr);
fp                182 arch/powerpc/kernel/prom.c 				 struct ibm_pa_feature *fp,
fp                201 arch/powerpc/kernel/prom.c 	for (i = 0; i < ft_size; ++i, ++fp) {
fp                202 arch/powerpc/kernel/prom.c 		if (fp->pabyte >= ftrs[0])
fp                204 arch/powerpc/kernel/prom.c 		bit = (ftrs[2 + fp->pabyte] >> (7 - fp->pabit)) & 1;
fp                205 arch/powerpc/kernel/prom.c 		if (bit ^ fp->invert) {
fp                206 arch/powerpc/kernel/prom.c 			cur_cpu_spec->cpu_features |= fp->cpu_features;
fp                207 arch/powerpc/kernel/prom.c 			cur_cpu_spec->cpu_user_features |= fp->cpu_user_ftrs;
fp                208 arch/powerpc/kernel/prom.c 			cur_cpu_spec->cpu_user_features2 |= fp->cpu_user_ftrs2;
fp                209 arch/powerpc/kernel/prom.c 			cur_cpu_spec->mmu_features |= fp->mmu_features;
fp                211 arch/powerpc/kernel/prom.c 			cur_cpu_spec->cpu_features &= ~fp->cpu_features;
fp                212 arch/powerpc/kernel/prom.c 			cur_cpu_spec->cpu_user_features &= ~fp->cpu_user_ftrs;
fp                213 arch/powerpc/kernel/prom.c 			cur_cpu_spec->cpu_user_features2 &= ~fp->cpu_user_ftrs2;
fp                214 arch/powerpc/kernel/prom.c 			cur_cpu_spec->mmu_features &= ~fp->mmu_features;
fp                294 arch/powerpc/kernel/prom.c 	struct feature_property *fp = feature_properties;
fp                297 arch/powerpc/kernel/prom.c 	for (i = 0; i < (int)ARRAY_SIZE(feature_properties); ++i, ++fp) {
fp                298 arch/powerpc/kernel/prom.c 		prop = of_get_flat_dt_prop(node, fp->name, NULL);
fp                299 arch/powerpc/kernel/prom.c 		if (prop && be32_to_cpup(prop) >= fp->min_value) {
fp                300 arch/powerpc/kernel/prom.c 			cur_cpu_spec->cpu_features |= fp->cpu_feature;
fp                301 arch/powerpc/kernel/prom.c 			cur_cpu_spec->cpu_user_features |= fp->cpu_user_ftr;
fp                746 arch/powerpc/kernel/time.c 	const __be32 *fp;
fp                753 arch/powerpc/kernel/time.c 		fp = of_get_property(cpu, name, NULL);
fp                754 arch/powerpc/kernel/time.c 		if (fp) {
fp                756 arch/powerpc/kernel/time.c 			*val = of_read_ulong(fp, cells);
fp                623 arch/powerpc/kvm/book3s.c 			*val = get_reg_val(id, vcpu->arch.fp.fpscr);
fp                629 arch/powerpc/kvm/book3s.c 				val->vsxval[0] = vcpu->arch.fp.fpr[i][0];
fp                630 arch/powerpc/kvm/book3s.c 				val->vsxval[1] = vcpu->arch.fp.fpr[i][1];
fp                711 arch/powerpc/kvm/book3s.c 			vcpu->arch.fp.fpscr = set_reg_val(id, *val);
fp                717 arch/powerpc/kvm/book3s.c 				vcpu->arch.fp.fpr[i][0] = val->vsxval[0];
fp                718 arch/powerpc/kvm/book3s.c 				vcpu->arch.fp.fpr[i][1] = val->vsxval[1];
fp                 92 arch/powerpc/kvm/book3s_emulate.c 	memcpy(&vcpu->arch.fp_tm, &vcpu->arch.fp,
fp                111 arch/powerpc/kvm/book3s_emulate.c 	memcpy(&vcpu->arch.fp, &vcpu->arch.fp_tm,
fp               3562 arch/powerpc/kvm/book3s_hv.c 	load_fp_state(&vcpu->arch.fp);
fp               3668 arch/powerpc/kvm/book3s_hv.c 	store_fp_state(&vcpu->arch.fp);
fp                513 arch/powerpc/kvm/book3s_paired_singles.c 	func(&vcpu->arch.fp.fpscr, &ps0_out, &ps0_in1, &ps0_in2, &ps0_in3);
fp                530 arch/powerpc/kvm/book3s_paired_singles.c 		func(&vcpu->arch.fp.fpscr, &qpr[reg_out], &ps1_in1, &ps1_in2, &ps1_in3);
fp                562 arch/powerpc/kvm/book3s_paired_singles.c 	func(&vcpu->arch.fp.fpscr, &ps0_out, &ps0_in1, &ps0_in2);
fp                578 arch/powerpc/kvm/book3s_paired_singles.c 	func(&vcpu->arch.fp.fpscr, &ps1_out, &ps1_in1, &ps1_in2);
fp                604 arch/powerpc/kvm/book3s_paired_singles.c 	func(&vcpu->arch.fp.fpscr, &ps0_out, &ps0_in);
fp                613 arch/powerpc/kvm/book3s_paired_singles.c 	func(&vcpu->arch.fp.fpscr, &qpr[reg_out], &ps1_in);
fp                667 arch/powerpc/kvm/book3s_paired_singles.c 	for (i = 0; i < ARRAY_SIZE(vcpu->arch.fp.fpr); i++) {
fp               1099 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fadds(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b);
fp               1103 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fsubs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b);
fp               1107 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fdivs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b);
fp               1111 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fres(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b);
fp               1115 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_frsqrtes(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b);
fp               1121 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fmuls(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c);
fp               1125 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fmsubs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b);
fp               1129 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fmadds(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b);
fp               1133 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fnmsubs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b);
fp               1137 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fnmadds(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b);
fp               1152 arch/powerpc/kvm/book3s_paired_singles.c 			*fpr_d = vcpu->arch.fp.fpscr;
fp               1157 arch/powerpc/kvm/book3s_paired_singles.c 			vcpu->arch.fp.fpscr = *fpr_b;
fp               1165 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fcmpu(&vcpu->arch.fp.fpscr, &tmp_cr, fpr_a, fpr_b);
fp               1176 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fcmpo(&vcpu->arch.fp.fpscr, &tmp_cr, fpr_a, fpr_b);
fp               1182 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fneg(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b);
fp               1188 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fabs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b);
fp               1191 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fcpsgn(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b);
fp               1194 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fdiv(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b);
fp               1197 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fadd(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b);
fp               1200 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fsub(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b);
fp               1203 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fctiw(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b);
fp               1206 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fctiwz(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b);
fp               1209 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_frsp(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b);
fp               1217 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fsqrt(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b);
fp               1219 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fdiv(&vcpu->arch.fp.fpscr, &cr, fpr_d, (u64*)&one, fpr_d);
fp               1225 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fmul(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c);
fp               1228 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fsel(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b);
fp               1231 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fmsub(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b);
fp               1234 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fmadd(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b);
fp               1237 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fnmsub(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b);
fp               1240 arch/powerpc/kvm/book3s_paired_singles.c 			fpd_fnmadd(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b);
fp               1247 arch/powerpc/kvm/book3s_paired_singles.c 	for (i = 0; i < ARRAY_SIZE(vcpu->arch.fp.fpr); i++) {
fp                889 arch/powerpc/kvm/book3s_pr.c 		load_fp_state(&vcpu->arch.fp);
fp                891 arch/powerpc/kvm/book3s_pr.c 		t->fp_save_area = &vcpu->arch.fp;
fp                928 arch/powerpc/kvm/book3s_pr.c 		load_fp_state(&vcpu->arch.fp);
fp                137 arch/powerpc/kvm/booke.c 		load_fp_state(&vcpu->arch.fp);
fp                139 arch/powerpc/kvm/booke.c 		current->thread.fp_save_area = &vcpu->arch.fp;
fp                692 arch/powerpc/lib/sstep.c 				conv_sp_to_dp(&reg->fp[1 + IS_LE],
fp                774 arch/powerpc/lib/sstep.c 			conv_dp_to_sp(&reg->dp[IS_LE], &buf.fp[1 + IS_LE]);
fp                 24 arch/powerpc/net/bpf_jit_comp.c static void bpf_jit_build_prologue(struct bpf_prog *fp, u32 *image,
fp                 28 arch/powerpc/net/bpf_jit_comp.c 	const struct sock_filter *filter = fp->insns;
fp                110 arch/powerpc/net/bpf_jit_comp.c static int bpf_jit_build_body(struct bpf_prog *fp, u32 *image,
fp                114 arch/powerpc/net/bpf_jit_comp.c 	const struct sock_filter *filter = fp->insns;
fp                115 arch/powerpc/net/bpf_jit_comp.c 	int flen = fp->len;
fp                551 arch/powerpc/net/bpf_jit_comp.c void bpf_jit_compile(struct bpf_prog *fp)
fp                560 arch/powerpc/net/bpf_jit_comp.c 	int flen = fp->len;
fp                623 arch/powerpc/net/bpf_jit_comp.c 	if (bpf_jit_build_body(fp, 0, &cgctx, addrs))
fp                632 arch/powerpc/net/bpf_jit_comp.c 	bpf_jit_build_prologue(fp, 0, &cgctx);
fp                647 arch/powerpc/net/bpf_jit_comp.c 		bpf_jit_build_prologue(fp, code_base, &cgctx);
fp                648 arch/powerpc/net/bpf_jit_comp.c 		bpf_jit_build_body(fp, code_base, &cgctx, addrs);
fp                670 arch/powerpc/net/bpf_jit_comp.c 	fp->bpf_func = (void *)image;
fp                671 arch/powerpc/net/bpf_jit_comp.c 	fp->jited = 1;
fp                678 arch/powerpc/net/bpf_jit_comp.c void bpf_jit_free(struct bpf_prog *fp)
fp                680 arch/powerpc/net/bpf_jit_comp.c 	if (fp->jited)
fp                681 arch/powerpc/net/bpf_jit_comp.c 		module_memfree(fp->bpf_func);
fp                683 arch/powerpc/net/bpf_jit_comp.c 	bpf_prog_unlock_free(fp);
fp                292 arch/powerpc/net/bpf_jit_comp64.c static int bpf_jit_build_body(struct bpf_prog *fp, u32 *image,
fp                296 arch/powerpc/net/bpf_jit_comp64.c 	const struct bpf_insn *insn = fp->insnsi;
fp                297 arch/powerpc/net/bpf_jit_comp64.c 	int flen = fp->len;
fp                574 arch/powerpc/net/bpf_jit_comp64.c 		if (BPF_CLASS(code) == BPF_ALU && !fp->aux->verifier_zext)
fp                637 arch/powerpc/net/bpf_jit_comp64.c 				if (!fp->aux->verifier_zext)
fp                768 arch/powerpc/net/bpf_jit_comp64.c 			ret = bpf_jit_get_func_addr(fp, &insn[i], extra_pass,
fp               1014 arch/powerpc/net/bpf_jit_comp64.c static int bpf_jit_fixup_subprog_calls(struct bpf_prog *fp, u32 *image,
fp               1017 arch/powerpc/net/bpf_jit_comp64.c 	const struct bpf_insn *insn = fp->insnsi;
fp               1023 arch/powerpc/net/bpf_jit_comp64.c 	for (i = 0; i < fp->len; i++) {
fp               1035 arch/powerpc/net/bpf_jit_comp64.c 			ret = bpf_jit_get_func_addr(fp, &insn[i], true,
fp               1075 arch/powerpc/net/bpf_jit_comp64.c struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)
fp               1087 arch/powerpc/net/bpf_jit_comp64.c 	struct bpf_prog *org_fp = fp;
fp               1092 arch/powerpc/net/bpf_jit_comp64.c 	if (!fp->jit_requested)
fp               1101 arch/powerpc/net/bpf_jit_comp64.c 		fp = tmp_fp;
fp               1104 arch/powerpc/net/bpf_jit_comp64.c 	jit_data = fp->aux->jit_data;
fp               1108 arch/powerpc/net/bpf_jit_comp64.c 			fp = org_fp;
fp               1111 arch/powerpc/net/bpf_jit_comp64.c 		fp->aux->jit_data = jit_data;
fp               1114 arch/powerpc/net/bpf_jit_comp64.c 	flen = fp->len;
fp               1128 arch/powerpc/net/bpf_jit_comp64.c 		fp = org_fp;
fp               1135 arch/powerpc/net/bpf_jit_comp64.c 	cgctx.stack_size = round_up(fp->aux->stack_depth, 16);
fp               1138 arch/powerpc/net/bpf_jit_comp64.c 	if (bpf_jit_build_body(fp, 0, &cgctx, addrs, false)) {
fp               1140 arch/powerpc/net/bpf_jit_comp64.c 		fp = org_fp;
fp               1151 arch/powerpc/net/bpf_jit_comp64.c 		if (bpf_jit_build_body(fp, 0, &cgctx, addrs, false)) {
fp               1152 arch/powerpc/net/bpf_jit_comp64.c 			fp = org_fp;
fp               1171 arch/powerpc/net/bpf_jit_comp64.c 		fp = org_fp;
fp               1188 arch/powerpc/net/bpf_jit_comp64.c 		bpf_jit_fixup_subprog_calls(fp, code_base, &cgctx, addrs);
fp               1199 arch/powerpc/net/bpf_jit_comp64.c 		bpf_jit_build_body(fp, code_base, &cgctx, addrs, extra_pass);
fp               1221 arch/powerpc/net/bpf_jit_comp64.c 	fp->bpf_func = (void *)image;
fp               1222 arch/powerpc/net/bpf_jit_comp64.c 	fp->jited = 1;
fp               1223 arch/powerpc/net/bpf_jit_comp64.c 	fp->jited_len = alloclen;
fp               1226 arch/powerpc/net/bpf_jit_comp64.c 	if (!fp->is_func || extra_pass) {
fp               1227 arch/powerpc/net/bpf_jit_comp64.c 		bpf_prog_fill_jited_linfo(fp, addrs);
fp               1231 arch/powerpc/net/bpf_jit_comp64.c 		fp->aux->jit_data = NULL;
fp               1242 arch/powerpc/net/bpf_jit_comp64.c 		bpf_jit_prog_release_other(fp, fp == org_fp ? tmp_fp : org_fp);
fp               1244 arch/powerpc/net/bpf_jit_comp64.c 	return fp;
fp               1248 arch/powerpc/net/bpf_jit_comp64.c void bpf_jit_free(struct bpf_prog *fp)
fp               1250 arch/powerpc/net/bpf_jit_comp64.c 	unsigned long addr = (unsigned long)fp->bpf_func & PAGE_MASK;
fp               1253 arch/powerpc/net/bpf_jit_comp64.c 	if (fp->jited)
fp               1256 arch/powerpc/net/bpf_jit_comp64.c 	bpf_prog_unlock_free(fp);
fp                 53 arch/powerpc/perf/callchain.c 	unsigned long *fp;
fp                 63 arch/powerpc/perf/callchain.c 		fp = (unsigned long *) sp;
fp                 64 arch/powerpc/perf/callchain.c 		next_sp = fp[0];
fp                 67 arch/powerpc/perf/callchain.c 		    fp[STACK_FRAME_MARKER] == STACK_FRAME_REGS_MARKER) {
fp                 82 arch/powerpc/perf/callchain.c 				next_ip = fp[STACK_FRAME_LR_SAVE];
fp                205 arch/powerpc/perf/callchain.c static int is_sigreturn_64_address(unsigned long nip, unsigned long fp)
fp                207 arch/powerpc/perf/callchain.c 	if (nip == fp + offsetof(struct signal_frame_64, tramp))
fp                240 arch/powerpc/perf/callchain.c 	unsigned long __user *fp, *uregs;
fp                248 arch/powerpc/perf/callchain.c 		fp = (unsigned long __user *) sp;
fp                249 arch/powerpc/perf/callchain.c 		if (!valid_user_sp(sp, 1) || read_user_stack_64(fp, &next_sp))
fp                251 arch/powerpc/perf/callchain.c 		if (level > 0 && read_user_stack_64(&fp[2], &next_ip))
fp                364 arch/powerpc/perf/callchain.c static int is_sigreturn_32_address(unsigned int nip, unsigned int fp)
fp                366 arch/powerpc/perf/callchain.c 	if (nip == fp + offsetof(struct signal_frame_32, mctx.mc_pad))
fp                374 arch/powerpc/perf/callchain.c static int is_rt_sigreturn_32_address(unsigned int nip, unsigned int fp)
fp                376 arch/powerpc/perf/callchain.c 	if (nip == fp + offsetof(struct rt_signal_frame_32,
fp                446 arch/powerpc/perf/callchain.c 	unsigned int __user *fp, *uregs;
fp                454 arch/powerpc/perf/callchain.c 		fp = (unsigned int __user *) (unsigned long) sp;
fp                455 arch/powerpc/perf/callchain.c 		if (!valid_user_sp(sp, 0) || read_user_stack_32(fp, &next_sp))
fp                457 arch/powerpc/perf/callchain.c 		if (level > 0 && read_user_stack_32(&fp[1], &next_ip))
fp                380 arch/powerpc/platforms/512x/mpc512x_shared.c 	const unsigned int *fp;
fp                382 arch/powerpc/platforms/512x/mpc512x_shared.c 	fp = of_get_property(np, prop_name, NULL);
fp                383 arch/powerpc/platforms/512x/mpc512x_shared.c 	if (fp)
fp                384 arch/powerpc/platforms/512x/mpc512x_shared.c 		return *fp;
fp                 65 arch/powerpc/platforms/8xx/m8xx_setup.c 	const unsigned int *fp;
fp                 72 arch/powerpc/platforms/8xx/m8xx_setup.c 		fp = of_get_property(cpu, name, NULL);
fp                 73 arch/powerpc/platforms/8xx/m8xx_setup.c 		if (fp) {
fp                 75 arch/powerpc/platforms/8xx/m8xx_setup.c 			*val = *fp;
fp                269 arch/powerpc/platforms/powermac/setup.c 	const int *fp;
fp                279 arch/powerpc/platforms/powermac/setup.c 		fp = of_get_property(cpu, "clock-frequency", NULL);
fp                280 arch/powerpc/platforms/powermac/setup.c 		if (fp != NULL) {
fp                283 arch/powerpc/platforms/powermac/setup.c 				loops_per_jiffy = *fp / (3 * HZ);
fp                286 arch/powerpc/platforms/powermac/setup.c 				loops_per_jiffy = *fp / HZ;
fp                289 arch/powerpc/platforms/powermac/setup.c 				loops_per_jiffy = *fp / (2 * HZ);
fp                711 arch/powerpc/platforms/powernv/opal.c static ssize_t symbol_map_read(struct file *fp, struct kobject *kobj,
fp                747 arch/powerpc/platforms/powernv/opal.c static ssize_t export_attr_read(struct file *fp, struct kobject *kobj,
fp               1683 arch/powerpc/xmon/xmon.c static void excprint(struct pt_regs *fp)
fp               1691 arch/powerpc/xmon/xmon.c 	trap = TRAP(fp);
fp               1692 arch/powerpc/xmon/xmon.c 	printf("Vector: %lx %s at [%px]\n", fp->trap, getvecname(trap), fp);
fp               1694 arch/powerpc/xmon/xmon.c 	xmon_print_symbol(fp->nip, ": ", "\n");
fp               1697 arch/powerpc/xmon/xmon.c 	xmon_print_symbol(fp->link, ": ", "\n");
fp               1699 arch/powerpc/xmon/xmon.c 	printf("    sp: %lx\n", fp->gpr[1]);
fp               1700 arch/powerpc/xmon/xmon.c 	printf("   msr: %lx\n", fp->msr);
fp               1703 arch/powerpc/xmon/xmon.c 		printf("   dar: %lx\n", fp->dar);
fp               1705 arch/powerpc/xmon/xmon.c 			printf(" dsisr: %lx\n", fp->dsisr);
fp               1719 arch/powerpc/xmon/xmon.c 		print_bug_trap(fp);
fp               1724 arch/powerpc/xmon/xmon.c static void prregs(struct pt_regs *fp)
fp               1744 arch/powerpc/xmon/xmon.c 		fp = &regs;
fp               1748 arch/powerpc/xmon/xmon.c 	if (FULL_REGS(fp)) {
fp               1751 arch/powerpc/xmon/xmon.c 			       n, fp->gpr[n], n+16, fp->gpr[n+16]);
fp               1755 arch/powerpc/xmon/xmon.c 			       n, fp->gpr[n], n+7, fp->gpr[n+7]);
fp               1759 arch/powerpc/xmon/xmon.c 		printf("R%.2d = %.8lx%s", n, fp->gpr[n],
fp               1761 arch/powerpc/xmon/xmon.c 		if (n == 12 && !FULL_REGS(fp)) {
fp               1768 arch/powerpc/xmon/xmon.c 	xmon_print_symbol(fp->nip, " ", "\n");
fp               1769 arch/powerpc/xmon/xmon.c 	if (TRAP(fp) != 0xc00 && cpu_has_feature(CPU_FTR_CFAR)) {
fp               1771 arch/powerpc/xmon/xmon.c 		xmon_print_symbol(fp->orig_gpr3, " ", "\n");
fp               1774 arch/powerpc/xmon/xmon.c 	xmon_print_symbol(fp->link, " ", "\n");
fp               1775 arch/powerpc/xmon/xmon.c 	printf("msr = "REG"   cr  = %.8lx\n", fp->msr, fp->ccr);
fp               1777 arch/powerpc/xmon/xmon.c 	       fp->ctr, fp->xer, fp->trap);
fp               1778 arch/powerpc/xmon/xmon.c 	trap = TRAP(fp);
fp               1780 arch/powerpc/xmon/xmon.c 		printf("dar = "REG"   dsisr = %.8lx\n", fp->dar, fp->dsisr);
fp                  9 arch/riscv/kernel/perf_callchain.c 	unsigned long fp;
fp                 18 arch/riscv/kernel/perf_callchain.c 				    unsigned long fp, unsigned long reg_ra)
fp                 23 arch/riscv/kernel/perf_callchain.c 			(unsigned long *)(fp - sizeof(struct stackframe));
fp                 37 arch/riscv/kernel/perf_callchain.c 	fp = buftail.fp;
fp                 43 arch/riscv/kernel/perf_callchain.c 	return fp;
fp                 63 arch/riscv/kernel/perf_callchain.c 	unsigned long fp = 0;
fp                 69 arch/riscv/kernel/perf_callchain.c 	fp = regs->s0;
fp                 72 arch/riscv/kernel/perf_callchain.c 	fp = user_backtrace(entry, fp, regs->ra);
fp                 73 arch/riscv/kernel/perf_callchain.c 	while (fp && !(fp & 0x3) && entry->nr < entry->max_stack)
fp                 74 arch/riscv/kernel/perf_callchain.c 		fp = user_backtrace(entry, fp, 0);
fp                 18 arch/riscv/kernel/stacktrace.c 	unsigned long fp;
fp                 25 arch/riscv/kernel/stacktrace.c 	unsigned long fp, sp, pc;
fp                 28 arch/riscv/kernel/stacktrace.c 		fp = frame_pointer(regs);
fp                 33 arch/riscv/kernel/stacktrace.c 		fp = (unsigned long)__builtin_frame_address(0);
fp                 38 arch/riscv/kernel/stacktrace.c 		fp = task->thread.s[0];
fp                 53 arch/riscv/kernel/stacktrace.c 		if (unlikely(fp < low || fp > high || fp & 0x7))
fp                 56 arch/riscv/kernel/stacktrace.c 		frame = (struct stackframe *)fp - 1;
fp                 57 arch/riscv/kernel/stacktrace.c 		sp = fp;
fp                 58 arch/riscv/kernel/stacktrace.c 		fp = frame->fp;
fp                 60 arch/riscv/kernel/stacktrace.c 					   (unsigned long *)(fp - 8));
fp                 64 arch/s390/include/asm/nmi.h 		u64 fp :  1; /* 27 floating point register validity */
fp                196 arch/s390/include/uapi/asm/ptrace.h 	} fp;
fp                215 arch/s390/kernel/nmi.c 	if (!mci.fp) {
fp                 13 arch/s390/kernel/perf_regs.c 	freg_t fp;
fp                 23 arch/s390/kernel/perf_regs.c 		fp = MACHINE_HAS_VX ? *(freg_t *)(current->thread.fpu.vxrs + idx)
fp                 25 arch/s390/kernel/perf_regs.c 		return fp.ui;
fp                303 arch/s390/net/bpf_jit_comp.c 	if (!fp->aux->verifier_zext) {				\
fp                506 arch/s390/net/bpf_jit_comp.c static noinline int bpf_jit_insn(struct bpf_jit *jit, struct bpf_prog *fp,
fp                509 arch/s390/net/bpf_jit_comp.c 	struct bpf_insn *insn = &fp->insnsi[i];
fp                883 arch/s390/net/bpf_jit_comp.c 			if (!fp->aux->verifier_zext)
fp                906 arch/s390/net/bpf_jit_comp.c 			if (!fp->aux->verifier_zext)
fp               1020 arch/s390/net/bpf_jit_comp.c 		ret = bpf_jit_get_func_addr(fp, insn, extra_pass,
fp               1068 arch/s390/net/bpf_jit_comp.c 			off = STK_OFF_TCCNT + STK_OFF + fp->aux->stack_depth;
fp               1098 arch/s390/net/bpf_jit_comp.c 		save_restore_regs(jit, REGS_RESTORE, fp->aux->stack_depth);
fp               1113 arch/s390/net/bpf_jit_comp.c 		last = (i == fp->len - 1) ? 1 : 0;
fp               1292 arch/s390/net/bpf_jit_comp.c static int bpf_jit_prog(struct bpf_jit *jit, struct bpf_prog *fp,
fp               1300 arch/s390/net/bpf_jit_comp.c 	bpf_jit_prologue(jit, fp->aux->stack_depth);
fp               1301 arch/s390/net/bpf_jit_comp.c 	for (i = 0; i < fp->len; i += insn_count) {
fp               1302 arch/s390/net/bpf_jit_comp.c 		insn_count = bpf_jit_insn(jit, fp, i, extra_pass);
fp               1308 arch/s390/net/bpf_jit_comp.c 	bpf_jit_epilogue(jit, fp->aux->stack_depth);
fp               1330 arch/s390/net/bpf_jit_comp.c struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)
fp               1332 arch/s390/net/bpf_jit_comp.c 	struct bpf_prog *tmp, *orig_fp = fp;
fp               1340 arch/s390/net/bpf_jit_comp.c 	if (!fp->jit_requested)
fp               1343 arch/s390/net/bpf_jit_comp.c 	tmp = bpf_jit_blind_constants(fp);
fp               1350 arch/s390/net/bpf_jit_comp.c 	if (tmp != fp) {
fp               1352 arch/s390/net/bpf_jit_comp.c 		fp = tmp;
fp               1355 arch/s390/net/bpf_jit_comp.c 	jit_data = fp->aux->jit_data;
fp               1359 arch/s390/net/bpf_jit_comp.c 			fp = orig_fp;
fp               1362 arch/s390/net/bpf_jit_comp.c 		fp->aux->jit_data = jit_data;
fp               1373 arch/s390/net/bpf_jit_comp.c 	jit.addrs = kvcalloc(fp->len + 1, sizeof(*jit.addrs), GFP_KERNEL);
fp               1375 arch/s390/net/bpf_jit_comp.c 		fp = orig_fp;
fp               1384 arch/s390/net/bpf_jit_comp.c 		if (bpf_jit_prog(&jit, fp, extra_pass)) {
fp               1385 arch/s390/net/bpf_jit_comp.c 			fp = orig_fp;
fp               1393 arch/s390/net/bpf_jit_comp.c 		fp = orig_fp;
fp               1399 arch/s390/net/bpf_jit_comp.c 		fp = orig_fp;
fp               1403 arch/s390/net/bpf_jit_comp.c 	if (bpf_jit_prog(&jit, fp, extra_pass)) {
fp               1405 arch/s390/net/bpf_jit_comp.c 		fp = orig_fp;
fp               1409 arch/s390/net/bpf_jit_comp.c 		bpf_jit_dump(fp->len, jit.size, pass, jit.prg_buf);
fp               1412 arch/s390/net/bpf_jit_comp.c 	if (!fp->is_func || extra_pass) {
fp               1419 arch/s390/net/bpf_jit_comp.c 	fp->bpf_func = (void *) jit.prg_buf;
fp               1420 arch/s390/net/bpf_jit_comp.c 	fp->jited = 1;
fp               1421 arch/s390/net/bpf_jit_comp.c 	fp->jited_len = jit.size;
fp               1423 arch/s390/net/bpf_jit_comp.c 	if (!fp->is_func || extra_pass) {
fp               1424 arch/s390/net/bpf_jit_comp.c 		bpf_prog_fill_jited_linfo(fp, jit.addrs + 1);
fp               1428 arch/s390/net/bpf_jit_comp.c 		fp->aux->jit_data = NULL;
fp               1432 arch/s390/net/bpf_jit_comp.c 		bpf_jit_prog_release_other(fp, fp == orig_fp ?
fp               1434 arch/s390/net/bpf_jit_comp.c 	return fp;
fp                 30 arch/sh/kernel/cpu/fpu.c 		struct sh_fpu_hard_struct *fp = &tsk->thread.xstate->hardfpu;
fp                 31 arch/sh/kernel/cpu/fpu.c 		memset(fp, 0, xstate_size);
fp                 32 arch/sh/kernel/cpu/fpu.c 		fp->fpscr = FPSCR_INIT;
fp                 34 arch/sh/kernel/cpu/fpu.c 		struct sh_fpu_soft_struct *fp = &tsk->thread.xstate->softfpu;
fp                 35 arch/sh/kernel/cpu/fpu.c 		memset(fp, 0, xstate_size);
fp                 36 arch/sh/kernel/cpu/fpu.c 		fp->fpscr = FPSCR_INIT;
fp                 43 arch/sh/kernel/cpu/sh5/unwind.c static int lookup_prev_stack_frame(unsigned long fp, unsigned long pc,
fp                 67 arch/sh/kernel/cpu/sh5/unwind.c 	if ((fp < (unsigned long) phys_to_virt(__MEMORY_START)) ||
fp                 68 arch/sh/kernel/cpu/sh5/unwind.c 	    (fp >= (unsigned long)(phys_to_virt(__MEMORY_START)) + 128*1024*1024) ||
fp                 69 arch/sh/kernel/cpu/sh5/unwind.c 	    ((fp & 7) != 0)) {
fp                119 arch/sh/kernel/cpu/sh5/unwind.c 				fp_prev = fp - fp_displacement;
fp                170 arch/sh/kernel/cpu/sh5/unwind.c 			fp_prev = fp - fp_displacement;
fp                217 arch/sh/kernel/cpu/sh5/unwind.c 				 unsigned long pc, unsigned long fp)
fp                219 arch/sh/kernel/cpu/sh5/unwind.c 	if ((fp >= __MEMORY_START) &&
fp                220 arch/sh/kernel/cpu/sh5/unwind.c 	    ((fp & 7) == 0))
fp                221 arch/sh/kernel/cpu/sh5/unwind.c 		sh64_unwind_inner(ops, data, (struct pt_regs *)fp);
fp                227 arch/sh/kernel/cpu/sh5/unwind.c 	unsigned long pc, fp;
fp                232 arch/sh/kernel/cpu/sh5/unwind.c 	fp = regs->regs[14];
fp                241 arch/sh/kernel/cpu/sh5/unwind.c 			unwind_nested(ops, data, pc, fp);
fp                247 arch/sh/kernel/cpu/sh5/unwind.c 			unwind_nested(ops, data, pc, fp);
fp                255 arch/sh/kernel/cpu/sh5/unwind.c 			unwind_nested(ops, data, pc, fp);
fp                261 arch/sh/kernel/cpu/sh5/unwind.c 			unwind_nested(ops, data, pc, fp);
fp                265 arch/sh/kernel/cpu/sh5/unwind.c 		cond = ((pc >= __MEMORY_START) && (fp >= __MEMORY_START) &&
fp                266 arch/sh/kernel/cpu/sh5/unwind.c 			((pc & 3) == 0) && ((fp & 7) == 0));
fp                281 arch/sh/kernel/cpu/sh5/unwind.c 		if (lookup_prev_stack_frame(fp, pc, &next_fp, &next_pc, regs) == 0) {
fp                284 arch/sh/kernel/cpu/sh5/unwind.c 			fp = next_fp;
fp                 12 arch/sparc/include/asm/hibernate.h 	unsigned long fp;
fp                 67 arch/sparc/include/uapi/asm/ptrace.h 	struct sparc_stackf *fp;
fp                 78 arch/sparc/include/uapi/asm/ptrace.h 	unsigned int fp;
fp                122 arch/sparc/include/uapi/asm/ptrace.h 	struct sparc_stackf *fp;
fp                 33 arch/sparc/kernel/asm-offsets.c 	OFFSET(SC_REG_FP, saved_context, fp);
fp               1740 arch/sparc/kernel/perf_event.c 	unsigned long ksp, fp;
fp               1750 arch/sparc/kernel/perf_event.c 	fp = ksp + STACK_BIAS;
fp               1756 arch/sparc/kernel/perf_event.c 		if (!kstack_valid(current_thread_info(), fp))
fp               1759 arch/sparc/kernel/perf_event.c 		sf = (struct sparc_stackf *) fp;
fp               1766 arch/sparc/kernel/perf_event.c 			fp = regs->u_regs[UREG_I6] + STACK_BIAS;
fp               1769 arch/sparc/kernel/perf_event.c 			fp = (unsigned long)sf->fp + STACK_BIAS;
fp               1788 arch/sparc/kernel/perf_event.c valid_user_frame(const void __user *fp, unsigned long size)
fp               1791 arch/sparc/kernel/perf_event.c 	if (((unsigned long) fp) & 3)
fp               1794 arch/sparc/kernel/perf_event.c 	return (__range_not_ok(fp, size, TASK_SIZE) == 0);
fp               1816 arch/sparc/kernel/perf_event.c 		ufp = (unsigned long)sf.fp + STACK_BIAS;
fp               1839 arch/sparc/kernel/perf_event.c 			ufp = ((unsigned long) sf.fp) & 0xffffffff;
fp               1847 arch/sparc/kernel/perf_event.c 			ufp = (unsigned long)sf.fp;
fp                153 arch/sparc/kernel/process_32.c 	unsigned long pc, fp;
fp                165 arch/sparc/kernel/process_32.c 	fp = (unsigned long) _ksp;
fp                168 arch/sparc/kernel/process_32.c 		if (fp < (task_base + sizeof(struct thread_info)) ||
fp                169 arch/sparc/kernel/process_32.c 		    fp >= (task_base + (PAGE_SIZE << 1)))
fp                171 arch/sparc/kernel/process_32.c 		rw = (struct reg_window32 *) fp;
fp                175 arch/sparc/kernel/process_32.c 		fp = rw->ins[6];
fp                237 arch/sparc/kernel/process_32.c 	unsigned long size, fp;
fp                241 arch/sparc/kernel/process_32.c 	if (get_user(tmp, &src->fp))
fp                244 arch/sparc/kernel/process_32.c 	fp = (unsigned long) tmp;
fp                245 arch/sparc/kernel/process_32.c 	size = (fp - ((unsigned long) src));
fp                246 arch/sparc/kernel/process_32.c 	fp = (unsigned long) dst;
fp                247 arch/sparc/kernel/process_32.c 	sp = (struct sparc_stackf __user *)(fp - size); 
fp                255 arch/sparc/kernel/process_32.c 	else if (put_user(fp, &sp->fp))
fp                463 arch/sparc/kernel/process_32.c 	unsigned long pc, fp, bias = 0;
fp                473 arch/sparc/kernel/process_32.c 	fp = task_thread_info(task)->ksp + bias;
fp                476 arch/sparc/kernel/process_32.c 		if (fp < (task_base + sizeof(struct thread_info)) ||
fp                477 arch/sparc/kernel/process_32.c 		    fp >= (task_base + (2 * PAGE_SIZE)))
fp                479 arch/sparc/kernel/process_32.c 		rw = (struct reg_window32 *) fp;
fp                485 arch/sparc/kernel/process_32.c 		fp = rw->ins[6] + bias;
fp                442 arch/sparc/kernel/process_64.c 	unsigned long fp, distance, rval;
fp                447 arch/sparc/kernel/process_64.c 		__get_user(fp, &(((struct reg_window __user *)psp)->ins[6]));
fp                448 arch/sparc/kernel/process_64.c 		fp += STACK_BIAS;
fp                450 arch/sparc/kernel/process_64.c 			fp &= 0xffffffff;
fp                452 arch/sparc/kernel/process_64.c 		__get_user(fp, &(((struct reg_window32 __user *)psp)->ins[6]));
fp                460 arch/sparc/kernel/process_64.c 	distance = fp - psp;
fp                772 arch/sparc/kernel/process_64.c 	unsigned long pc, fp, bias = 0;
fp                784 arch/sparc/kernel/process_64.c 	fp = task_thread_info(task)->ksp + bias;
fp                787 arch/sparc/kernel/process_64.c 		if (!kstack_valid(tp, fp))
fp                789 arch/sparc/kernel/process_64.c 		rw = (struct reg_window *) fp;
fp                795 arch/sparc/kernel/process_64.c 		fp = rw->ins[6] + bias;
fp                 77 arch/sparc/kernel/signal32.c static bool invalid_frame_pointer(void __user *fp, int fplen)
fp                 79 arch/sparc/kernel/signal32.c 	if ((((unsigned long) fp) & 15) ||
fp                 80 arch/sparc/kernel/signal32.c 	    ((unsigned long)fp) > 0x100000000ULL - fplen)
fp                407 arch/sparc/kernel/signal32.c 		__siginfo_fpu_t __user *fp = tail;
fp                408 arch/sparc/kernel/signal32.c 		tail += sizeof(*fp);
fp                409 arch/sparc/kernel/signal32.c 		err |= save_fpu_state(regs, fp);
fp                410 arch/sparc/kernel/signal32.c 		err |= __put_user((u64)fp, &sf->fpu_save);
fp                446 arch/sparc/kernel/signal32.c 		err |= __put_user(rp->ins[6], &sf->ss.fp);
fp                541 arch/sparc/kernel/signal32.c 		__siginfo_fpu_t __user *fp = tail;
fp                542 arch/sparc/kernel/signal32.c 		tail += sizeof(*fp);
fp                543 arch/sparc/kernel/signal32.c 		err |= save_fpu_state(regs, fp);
fp                544 arch/sparc/kernel/signal32.c 		err |= __put_user((u64)fp, &sf->fpu_save);
fp                578 arch/sparc/kernel/signal32.c 		err |= __put_user(rp->ins[6], &sf->ss.fp);
fp                 68 arch/sparc/kernel/signal_32.c static inline bool invalid_frame_pointer(void __user *fp, int fplen)
fp                 70 arch/sparc/kernel/signal_32.c 	if ((((unsigned long) fp) & 15) || !__access_ok((unsigned long)fp, fplen))
fp                261 arch/sparc/kernel/signal_32.c 		__siginfo_fpu_t __user *fp = tail;
fp                262 arch/sparc/kernel/signal_32.c 		tail += sizeof(*fp);
fp                263 arch/sparc/kernel/signal_32.c 		err |= save_fpu_state(regs, fp);
fp                264 arch/sparc/kernel/signal_32.c 		err |= __put_user(fp, &sf->fpu_save);
fp                357 arch/sparc/kernel/signal_32.c 		__siginfo_fpu_t __user *fp = tail;
fp                358 arch/sparc/kernel/signal_32.c 		tail += sizeof(*fp);
fp                359 arch/sparc/kernel/signal_32.c 		err |= save_fpu_state(regs, fp);
fp                360 arch/sparc/kernel/signal_32.c 		err |= __put_user(fp, &sf->fpu_save);
fp                 49 arch/sparc/kernel/signal_64.c 	unsigned long fp, i7;
fp                103 arch/sparc/kernel/signal_64.c 	err |= __get_user(fp, &(ucp->uc_mcontext.mc_fp));
fp                105 arch/sparc/kernel/signal_64.c 	err |= __put_user(fp,
fp                148 arch/sparc/kernel/signal_64.c 	unsigned long fp, i7;
fp                201 arch/sparc/kernel/signal_64.c 	err |= __get_user(fp,
fp                205 arch/sparc/kernel/signal_64.c 	err |= __put_user(fp, &(mcp->mc_fp));
fp                239 arch/sparc/kernel/signal_64.c static bool invalid_frame_pointer(void __user *fp)
fp                241 arch/sparc/kernel/signal_64.c 	if (((unsigned long) fp) & 15)
fp                 89 arch/sparc/kernel/sigutil_32.c 		unsigned long fp;
fp                 92 arch/sparc/kernel/sigutil_32.c 		fp = current_thread_info()->rwbuf_stkptrs[i];
fp                 95 arch/sparc/kernel/sigutil_32.c 		err |= __put_user(fp, &rwin->rwbuf_stkptrs[i]);
fp                 65 arch/sparc/kernel/sigutil_64.c 		unsigned long fp = current_thread_info()->rwbuf_stkptrs[i];
fp                 69 arch/sparc/kernel/sigutil_64.c 		err |= __put_user(fp, &rwin->rwbuf_stkptrs[i]);
fp                 17 arch/sparc/kernel/stacktrace.c 	unsigned long ksp, fp;
fp                 30 arch/sparc/kernel/stacktrace.c 	fp = ksp + STACK_BIAS;
fp                 39 arch/sparc/kernel/stacktrace.c 		if (!kstack_valid(tp, fp))
fp                 42 arch/sparc/kernel/stacktrace.c 		sf = (struct sparc_stackf *) fp;
fp                 49 arch/sparc/kernel/stacktrace.c 			fp = regs->u_regs[UREG_I6] + STACK_BIAS;
fp                 52 arch/sparc/kernel/stacktrace.c 			fp = (unsigned long)sf->fp + STACK_BIAS;
fp               2457 arch/sparc/kernel/traps_64.c 	unsigned long fp, ksp;
fp               2477 arch/sparc/kernel/traps_64.c 	fp = ksp + STACK_BIAS;
fp               2485 arch/sparc/kernel/traps_64.c 		if (!kstack_valid(tp, fp))
fp               2487 arch/sparc/kernel/traps_64.c 		sf = (struct sparc_stackf *) fp;
fp               2494 arch/sparc/kernel/traps_64.c 			fp = regs->u_regs[UREG_I6] + STACK_BIAS;
fp               2497 arch/sparc/kernel/traps_64.c 			fp = (unsigned long)sf->fp + STACK_BIAS;
fp               2517 arch/sparc/kernel/traps_64.c 	unsigned long fp = rw->ins[6];
fp               2519 arch/sparc/kernel/traps_64.c 	if (!fp)
fp               2522 arch/sparc/kernel/traps_64.c 	return (struct reg_window *) (fp + STACK_BIAS);
fp                122 arch/sparc/kernel/unaligned_64.c 	unsigned long value, fp;
fp                127 arch/sparc/kernel/unaligned_64.c 	fp = regs->u_regs[UREG_FP];
fp                131 arch/sparc/kernel/unaligned_64.c 		win = (struct reg_window *)(fp + STACK_BIAS);
fp                133 arch/sparc/kernel/unaligned_64.c 	} else if (!test_thread_64bit_stack(fp)) {
fp                135 arch/sparc/kernel/unaligned_64.c 		win32 = (struct reg_window32 __user *)((unsigned long)((u32)fp));
fp                139 arch/sparc/kernel/unaligned_64.c 		win = (struct reg_window __user *)(fp + STACK_BIAS);
fp                147 arch/sparc/kernel/unaligned_64.c 	unsigned long fp;
fp                152 arch/sparc/kernel/unaligned_64.c 	fp = regs->u_regs[UREG_FP];
fp                156 arch/sparc/kernel/unaligned_64.c 		win = (struct reg_window *)(fp + STACK_BIAS);
fp                158 arch/sparc/kernel/unaligned_64.c 	} else if (!test_thread_64bit_stack(fp)) {
fp                160 arch/sparc/kernel/unaligned_64.c 		win32 = (struct reg_window32 *)((unsigned long)((u32)fp));
fp                164 arch/sparc/kernel/unaligned_64.c 		win = (struct reg_window *)(fp + STACK_BIAS);
fp                415 arch/sparc/kernel/unaligned_64.c 		unsigned long fp = regs->u_regs[UREG_FP];
fp                417 arch/sparc/kernel/unaligned_64.c 		if (!test_thread_64bit_stack(fp)) {
fp                419 arch/sparc/kernel/unaligned_64.c 			win32 = (struct reg_window32 __user *)((unsigned long)((u32)fp));
fp                423 arch/sparc/kernel/unaligned_64.c 			win = (struct reg_window __user *)(fp + STACK_BIAS);
fp                140 arch/sparc/kernel/uprobes.c 			unsigned long fp = regs->u_regs[UREG_FP];
fp                145 arch/sparc/kernel/uprobes.c 			if (test_thread_64bit_stack(fp)) {
fp                147 arch/sparc/kernel/uprobes.c 			(unsigned long __user *) (fp + STACK_BIAS) + rd;
fp                151 arch/sparc/kernel/uprobes.c 						__user *) fp + rd;
fp                153 arch/sparc/kernel/visemul.c 	unsigned long value, fp;
fp                158 arch/sparc/kernel/visemul.c 	fp = regs->u_regs[UREG_FP];
fp                162 arch/sparc/kernel/visemul.c 		win = (struct reg_window *)(fp + STACK_BIAS);
fp                164 arch/sparc/kernel/visemul.c 	} else if (!test_thread_64bit_stack(fp)) {
fp                166 arch/sparc/kernel/visemul.c 		win32 = (struct reg_window32 __user *)((unsigned long)((u32)fp));
fp                170 arch/sparc/kernel/visemul.c 		win = (struct reg_window __user *)(fp + STACK_BIAS);
fp                179 arch/sparc/kernel/visemul.c 	unsigned long fp = regs->u_regs[UREG_FP];
fp                184 arch/sparc/kernel/visemul.c 	if (!test_thread_64bit_stack(fp)) {
fp                186 arch/sparc/kernel/visemul.c 		win32 = (struct reg_window32 __user *)((unsigned long)((u32)fp));
fp                190 arch/sparc/kernel/visemul.c 		win = (struct reg_window __user *)(fp + STACK_BIAS);
fp                326 arch/sparc/net/bpf_jit_comp_32.c void bpf_jit_compile(struct bpf_prog *fp)
fp                330 arch/sparc/net/bpf_jit_comp_32.c 	const struct sock_filter *filter = fp->insns;
fp                331 arch/sparc/net/bpf_jit_comp_32.c 	int i, flen = fp->len, pc_ret0 = -1;
fp                750 arch/sparc/net/bpf_jit_comp_32.c 		fp->bpf_func = (void *)image;
fp                751 arch/sparc/net/bpf_jit_comp_32.c 		fp->jited = 1;
fp                758 arch/sparc/net/bpf_jit_comp_32.c void bpf_jit_free(struct bpf_prog *fp)
fp                760 arch/sparc/net/bpf_jit_comp_32.c 	if (fp->jited)
fp                761 arch/sparc/net/bpf_jit_comp_32.c 		module_memfree(fp->bpf_func);
fp                763 arch/sparc/net/bpf_jit_comp_32.c 	bpf_prog_unlock_free(fp);
fp                 38 arch/um/kernel/exec.c 			   current_pt_regs()->regs.fp);
fp                176 arch/um/kernel/process.c 		get_safe_registers(p->thread.regs.regs.gp, p->thread.regs.regs.fp);
fp                360 arch/um/os-Linux/skas/process.c 		if (put_fp_registers(pid, regs->fp)) {
fp                392 arch/um/os-Linux/skas/process.c 		if (get_fp_registers(pid, regs->fp)) {
fp                 14 arch/unicore32/include/asm/stacktrace.h 	unsigned long fp;
fp                 55 arch/unicore32/include/asm/thread_info.h 	__u32	fp;
fp                103 arch/unicore32/include/asm/thread_info.h 	((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
fp                261 arch/unicore32/kernel/process.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fp)
fp                268 arch/unicore32/kernel/process.c 		memcpy(fp, &thread->fpstate, sizeof(*fp));
fp                281 arch/unicore32/kernel/process.c 	frame.fp = thread_saved_fp(p);
fp                 32 arch/unicore32/kernel/setup.h extern asmlinkage void c_backtrace(unsigned long fp, int pmode);
fp                 36 arch/unicore32/kernel/stacktrace.c 	unsigned long fp = frame->fp;
fp                 43 arch/unicore32/kernel/stacktrace.c 	if (fp < (low + 12) || fp + 4 >= high)
fp                 47 arch/unicore32/kernel/stacktrace.c 	frame->fp = *(unsigned long *)(fp - 12);
fp                 48 arch/unicore32/kernel/stacktrace.c 	frame->sp = *(unsigned long *)(fp - 8);
fp                 49 arch/unicore32/kernel/stacktrace.c 	frame->pc = *(unsigned long *)(fp - 4);
fp                105 arch/unicore32/kernel/stacktrace.c 		frame.fp = thread_saved_fp(tsk);
fp                113 arch/unicore32/kernel/stacktrace.c 		frame.fp = (unsigned long)__builtin_frame_address(0);
fp                140 arch/unicore32/kernel/traps.c 	unsigned int fp, mode;
fp                149 arch/unicore32/kernel/traps.c 		fp = regs->UCreg_fp;
fp                152 arch/unicore32/kernel/traps.c 		fp = thread_saved_fp(tsk);
fp                155 arch/unicore32/kernel/traps.c 		asm("mov %0, fp" : "=r" (fp) : : "cc");
fp                159 arch/unicore32/kernel/traps.c 	if (!fp) {
fp                162 arch/unicore32/kernel/traps.c 	} else if (verify_stack(fp)) {
fp                163 arch/unicore32/kernel/traps.c 		printk("invalid frame pointer 0x%08x", fp);
fp                165 arch/unicore32/kernel/traps.c 	} else if (fp < (unsigned long)end_of_stack(tsk))
fp                170 arch/unicore32/kernel/traps.c 		c_backtrace(fp, mode);
fp               2392 arch/x86/events/core.c valid_user_frame(const void __user *fp, unsigned long size)
fp               2394 arch/x86/events/core.c 	return (__range_not_ok(fp, size, TASK_SIZE) == 0);
fp               2435 arch/x86/events/core.c 	const void __user *fp;
fp               2443 arch/x86/events/core.c 	fp = compat_ptr(ss_base + regs->bp);
fp               2450 arch/x86/events/core.c 		if (!valid_user_frame(fp, sizeof(frame)))
fp               2453 arch/x86/events/core.c 		bytes = __copy_from_user_nmi(&frame.next_frame, fp, 4);
fp               2456 arch/x86/events/core.c 		bytes = __copy_from_user_nmi(&frame.return_address, fp+4, 4);
fp               2461 arch/x86/events/core.c 		fp = compat_ptr(ss_base + frame.next_frame);
fp               2478 arch/x86/events/core.c 	const unsigned long __user *fp;
fp               2491 arch/x86/events/core.c 	fp = (unsigned long __user *)regs->bp;
fp               2508 arch/x86/events/core.c 		if (!valid_user_frame(fp, sizeof(frame)))
fp               2511 arch/x86/events/core.c 		bytes = __copy_from_user_nmi(&frame.next_frame, fp, sizeof(*fp));
fp               2514 arch/x86/events/core.c 		bytes = __copy_from_user_nmi(&frame.return_address, fp + 1, sizeof(*fp));
fp               2519 arch/x86/events/core.c 		fp = (void __user *)frame.next_frame;
fp                 68 arch/x86/include/asm/efi.h extern asmlinkage u64 efi_call(void *fp, ...);
fp                440 arch/x86/include/asm/fpu/internal.h 	asm volatile("fnsave %[fp]; fwait" : [fp] "=m" (fpu->state.fsave));
fp                475 arch/x86/include/asm/fpu/internal.h extern int copy_fpstate_to_sigframe(void __user *buf, void __user *fp, int size);
fp               1462 arch/x86/kernel/apm_32.c static ssize_t do_read(struct file *fp, char __user *buf, size_t count, loff_t *ppos)
fp               1468 arch/x86/kernel/apm_32.c 	as = fp->private_data;
fp               1473 arch/x86/kernel/apm_32.c 	if ((queue_empty(as)) && (fp->f_flags & O_NONBLOCK))
fp               1505 arch/x86/kernel/apm_32.c static __poll_t do_poll(struct file *fp, poll_table *wait)
fp               1509 arch/x86/kernel/apm_32.c 	as = fp->private_data;
fp               1512 arch/x86/kernel/apm_32.c 	poll_wait(fp, &apm_waitqueue, wait);
fp                141 arch/x86/kernel/fpu/core.c static inline void fpstate_init_fstate(struct fregs_state *fp)
fp                143 arch/x86/kernel/fpu/core.c 	fp->cwd = 0xffff037fu;
fp                144 arch/x86/kernel/fpu/core.c 	fp->swd = 0xffff0000u;
fp                145 arch/x86/kernel/fpu/core.c 	fp->twd = 0xffffffffu;
fp                146 arch/x86/kernel/fpu/core.c 	fp->fos = 0xffff0000u;
fp                 63 arch/x86/kernel/fpu/signal.c 		struct _fpstate_32 __user *fp = buf;
fp                 73 arch/x86/kernel/fpu/signal.c 		    __put_user(xsave->i387.swd, &fp->status) ||
fp                 74 arch/x86/kernel/fpu/signal.c 		    __put_user(X86_FXSR_MAGIC, &fp->magic))
fp                 77 arch/x86/kernel/fpu/signal.c 		struct fregs_state __user *fp = buf;
fp                 79 arch/x86/kernel/fpu/signal.c 		if (__get_user(swd, &fp->swd) || __put_user(swd, &fp->status))
fp                570 arch/x86/kernel/kprobes/core.c 	ri->fp = sara;
fp                817 arch/x86/kernel/kprobes/core.c 		if (ri->fp != frame_pointer) {
fp                845 arch/x86/kernel/kprobes/core.c 		if (ri->fp != frame_pointer)
fp                 30 arch/x86/kernel/ksysfs.c static ssize_t boot_params_data_read(struct file *fp, struct kobject *kobj,
fp                138 arch/x86/kernel/ksysfs.c static ssize_t setup_data_data_read(struct file *fp,
fp                804 arch/x86/kernel/process.c 	unsigned long start, bottom, top, sp, fp, ip, ret = 0;
fp                841 arch/x86/kernel/process.c 	fp = READ_ONCE_NOCHECK(((struct inactive_task_frame *)sp)->bp);
fp                843 arch/x86/kernel/process.c 		if (fp < bottom || fp > top)
fp                845 arch/x86/kernel/process.c 		ip = READ_ONCE_NOCHECK(*(unsigned long *)(fp + sizeof(unsigned long)));
fp                850 arch/x86/kernel/process.c 		fp = READ_ONCE_NOCHECK(*(unsigned long *)fp);
fp                460 arch/x86/kernel/signal.c 	void __user *fp = NULL;
fp                464 arch/x86/kernel/signal.c 	frame = get_sigframe(&ksig->ka, regs, sizeof(struct rt_sigframe), &fp);
fp                493 arch/x86/kernel/signal.c 	err |= setup_sigcontext(&frame->uc.uc_mcontext, fp, regs, set->sig[0]);
fp                 99 arch/x86/kernel/stacktrace.c copy_stack_frame(const void __user *fp, struct stack_frame_user *frame)
fp                103 arch/x86/kernel/stacktrace.c 	if (__range_not_ok(fp, sizeof(*frame), TASK_SIZE))
fp                108 arch/x86/kernel/stacktrace.c 	if (__copy_from_user_inatomic(frame, fp, sizeof(*frame)))
fp                118 arch/x86/kernel/stacktrace.c 	const void __user *fp = (const void __user *)regs->bp;
fp                128 arch/x86/kernel/stacktrace.c 		if (!copy_stack_frame(fp, &frame))
fp                130 arch/x86/kernel/stacktrace.c 		if ((unsigned long)fp < regs->sp)
fp                136 arch/x86/kernel/stacktrace.c 		fp = frame.next_fp;
fp                 27 arch/x86/oprofile/backtrace.c 	struct stack_frame_ia32 *fp;
fp                 34 arch/x86/oprofile/backtrace.c 	fp = (struct stack_frame_ia32 *) compat_ptr(bufhead[0].next_frame);
fp                 40 arch/x86/oprofile/backtrace.c 	if (head >= fp)
fp                 43 arch/x86/oprofile/backtrace.c 	return fp;
fp                 59 arch/x86/tools/insn_decoder_test.c static void dump_field(FILE *fp, const char *name, const char *indent,
fp                 62 arch/x86/tools/insn_decoder_test.c 	fprintf(fp, "%s.%s = {\n", indent, name);
fp                 63 arch/x86/tools/insn_decoder_test.c 	fprintf(fp, "%s\t.value = %d, bytes[] = {%x, %x, %x, %x},\n",
fp                 66 arch/x86/tools/insn_decoder_test.c 	fprintf(fp, "%s\t.got = %d, .nbytes = %d},\n", indent,
fp                 70 arch/x86/tools/insn_decoder_test.c static void dump_insn(FILE *fp, struct insn *insn)
fp                 72 arch/x86/tools/insn_decoder_test.c 	fprintf(fp, "Instruction = {\n");
fp                 73 arch/x86/tools/insn_decoder_test.c 	dump_field(fp, "prefixes", "\t",	&insn->prefixes);
fp                 74 arch/x86/tools/insn_decoder_test.c 	dump_field(fp, "rex_prefix", "\t",	&insn->rex_prefix);
fp                 75 arch/x86/tools/insn_decoder_test.c 	dump_field(fp, "vex_prefix", "\t",	&insn->vex_prefix);
fp                 76 arch/x86/tools/insn_decoder_test.c 	dump_field(fp, "opcode", "\t",		&insn->opcode);
fp                 77 arch/x86/tools/insn_decoder_test.c 	dump_field(fp, "modrm", "\t",		&insn->modrm);
fp                 78 arch/x86/tools/insn_decoder_test.c 	dump_field(fp, "sib", "\t",		&insn->sib);
fp                 79 arch/x86/tools/insn_decoder_test.c 	dump_field(fp, "displacement", "\t",	&insn->displacement);
fp                 80 arch/x86/tools/insn_decoder_test.c 	dump_field(fp, "immediate1", "\t",	&insn->immediate1);
fp                 81 arch/x86/tools/insn_decoder_test.c 	dump_field(fp, "immediate2", "\t",	&insn->immediate2);
fp                 82 arch/x86/tools/insn_decoder_test.c 	fprintf(fp, "\t.attr = %x, .opnd_bytes = %d, .addr_bytes = %d,\n",
fp                 84 arch/x86/tools/insn_decoder_test.c 	fprintf(fp, "\t.length = %d, .x86_64 = %d, .kaddr = %p}\n",
fp                 56 arch/x86/tools/insn_sanity.c static void dump_field(FILE *fp, const char *name, const char *indent,
fp                 59 arch/x86/tools/insn_sanity.c 	fprintf(fp, "%s.%s = {\n", indent, name);
fp                 60 arch/x86/tools/insn_sanity.c 	fprintf(fp, "%s\t.value = %d, bytes[] = {%x, %x, %x, %x},\n",
fp                 63 arch/x86/tools/insn_sanity.c 	fprintf(fp, "%s\t.got = %d, .nbytes = %d},\n", indent,
fp                 67 arch/x86/tools/insn_sanity.c static void dump_insn(FILE *fp, struct insn *insn)
fp                 69 arch/x86/tools/insn_sanity.c 	fprintf(fp, "Instruction = {\n");
fp                 70 arch/x86/tools/insn_sanity.c 	dump_field(fp, "prefixes", "\t",	&insn->prefixes);
fp                 71 arch/x86/tools/insn_sanity.c 	dump_field(fp, "rex_prefix", "\t",	&insn->rex_prefix);
fp                 72 arch/x86/tools/insn_sanity.c 	dump_field(fp, "vex_prefix", "\t",	&insn->vex_prefix);
fp                 73 arch/x86/tools/insn_sanity.c 	dump_field(fp, "opcode", "\t",		&insn->opcode);
fp                 74 arch/x86/tools/insn_sanity.c 	dump_field(fp, "modrm", "\t",		&insn->modrm);
fp                 75 arch/x86/tools/insn_sanity.c 	dump_field(fp, "sib", "\t",		&insn->sib);
fp                 76 arch/x86/tools/insn_sanity.c 	dump_field(fp, "displacement", "\t",	&insn->displacement);
fp                 77 arch/x86/tools/insn_sanity.c 	dump_field(fp, "immediate1", "\t",	&insn->immediate1);
fp                 78 arch/x86/tools/insn_sanity.c 	dump_field(fp, "immediate2", "\t",	&insn->immediate2);
fp                 79 arch/x86/tools/insn_sanity.c 	fprintf(fp, "\t.attr = %x, .opnd_bytes = %d, .addr_bytes = %d,\n",
fp                 81 arch/x86/tools/insn_sanity.c 	fprintf(fp, "\t.length = %d, .x86_64 = %d, .kaddr = %p}\n",
fp                 85 arch/x86/tools/insn_sanity.c static void dump_stream(FILE *fp, const char *msg, unsigned long nr_iter,
fp                 90 arch/x86/tools/insn_sanity.c 	fprintf(fp, "%s:\n", msg);
fp                 92 arch/x86/tools/insn_sanity.c 	dump_insn(fp, insn);
fp                 94 arch/x86/tools/insn_sanity.c 	fprintf(fp, "You can reproduce this with below command(s);\n");
fp                 97 arch/x86/tools/insn_sanity.c 	fprintf(fp, " $ echo ");
fp                 99 arch/x86/tools/insn_sanity.c 		fprintf(fp, " %02x", insn_buff[i]);
fp                100 arch/x86/tools/insn_sanity.c 	fprintf(fp, " | %s -i -\n", prog);
fp                103 arch/x86/tools/insn_sanity.c 		fprintf(fp, "Or \n");
fp                105 arch/x86/tools/insn_sanity.c 		fprintf(fp, " $ %s -s 0x%x,%lu\n", prog, seed, nr_iter);
fp                338 arch/x86/tools/relocs.c static void read_ehdr(FILE *fp)
fp                340 arch/x86/tools/relocs.c 	if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1) {
fp                391 arch/x86/tools/relocs.c 		if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0)
fp                394 arch/x86/tools/relocs.c 		if (fread(&shdr, sizeof(shdr), 1, fp) != 1)
fp                408 arch/x86/tools/relocs.c static void read_shdrs(FILE *fp)
fp                418 arch/x86/tools/relocs.c 	if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) {
fp                424 arch/x86/tools/relocs.c 		if (fread(&shdr, sizeof(shdr), 1, fp) != 1)
fp                443 arch/x86/tools/relocs.c static void read_strtabs(FILE *fp)
fp                456 arch/x86/tools/relocs.c 		if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) {
fp                460 arch/x86/tools/relocs.c 		if (fread(sec->strtab, 1, sec->shdr.sh_size, fp)
fp                468 arch/x86/tools/relocs.c static void read_symtabs(FILE *fp)
fp                481 arch/x86/tools/relocs.c 		if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) {
fp                485 arch/x86/tools/relocs.c 		if (fread(sec->symtab, 1, sec->shdr.sh_size, fp)
fp                501 arch/x86/tools/relocs.c static void read_relocs(FILE *fp)
fp                514 arch/x86/tools/relocs.c 		if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) {
fp                518 arch/x86/tools/relocs.c 		if (fread(sec->reltab, 1, sec->shdr.sh_size, fp)
fp               1107 arch/x86/tools/relocs.c void process(FILE *fp, int use_real_mode, int as_text,
fp               1112 arch/x86/tools/relocs.c 	read_ehdr(fp);
fp               1113 arch/x86/tools/relocs.c 	read_shdrs(fp);
fp               1114 arch/x86/tools/relocs.c 	read_strtabs(fp);
fp               1115 arch/x86/tools/relocs.c 	read_symtabs(fp);
fp               1116 arch/x86/tools/relocs.c 	read_relocs(fp);
fp                 32 arch/x86/tools/relocs.h void process_32(FILE *fp, int use_real_mode, int as_text,
fp                 35 arch/x86/tools/relocs.h void process_64(FILE *fp, int use_real_mode, int as_text,
fp                 24 arch/x86/tools/relocs_common.c 	FILE *fp;
fp                 67 arch/x86/tools/relocs_common.c 	fp = fopen(fname, "r");
fp                 68 arch/x86/tools/relocs_common.c 	if (!fp) {
fp                 71 arch/x86/tools/relocs_common.c 	if (fread(&e_ident, 1, EI_NIDENT, fp) != EI_NIDENT) {
fp                 74 arch/x86/tools/relocs_common.c 	rewind(fp);
fp                 76 arch/x86/tools/relocs_common.c 		process_64(fp, use_real_mode, as_text,
fp                 80 arch/x86/tools/relocs_common.c 		process_32(fp, use_real_mode, as_text,
fp                 83 arch/x86/tools/relocs_common.c 	fclose(fp);
fp                 61 arch/x86/um/shared/sysdep/ptrace.h 	unsigned long fp[MAX_FP_NR];
fp                228 arch/x86/um/signal.c 		err = copy_from_user(regs->regs.fp, (void *)sc.fpstate,
fp                318 arch/x86/um/signal.c 		if (copy_to_user(to_fp, regs->regs.fp, sizeof(struct _xstate)))
fp                327 arch/x86/um/signal.c 				 struct _xstate __user *fp, sigset_t *set,
fp                333 arch/x86/um/signal.c 	err |= copy_sc_to_user(&uc->uc_mcontext, fp, &current->thread.regs, 0);
fp               1106 drivers/android/binder.c 						struct flat_binder_object *fp)
fp               1111 drivers/android/binder.c 	binder_uintptr_t ptr = fp ? fp->binder : 0;
fp               1112 drivers/android/binder.c 	binder_uintptr_t cookie = fp ? fp->cookie : 0;
fp               1113 drivers/android/binder.c 	__u32 flags = fp ? fp->flags : 0;
fp               1161 drivers/android/binder.c 					   struct flat_binder_object *fp)
fp               1169 drivers/android/binder.c 	node = binder_init_node_ilocked(proc, new_node, fp);
fp               2303 drivers/android/binder.c 			struct flat_binder_object *fp;
fp               2306 drivers/android/binder.c 			fp = to_flat_binder_object(hdr);
fp               2307 drivers/android/binder.c 			node = binder_get_node(proc, fp->binder);
fp               2310 drivers/android/binder.c 				       debug_id, (u64)fp->binder);
fp               2322 drivers/android/binder.c 			struct flat_binder_object *fp;
fp               2326 drivers/android/binder.c 			fp = to_flat_binder_object(hdr);
fp               2327 drivers/android/binder.c 			ret = binder_dec_ref_for_handle(proc, fp->handle,
fp               2332 drivers/android/binder.c 				 debug_id, fp->handle, ret);
fp               2436 drivers/android/binder.c static int binder_translate_binder(struct flat_binder_object *fp,
fp               2446 drivers/android/binder.c 	node = binder_get_node(proc, fp->binder);
fp               2448 drivers/android/binder.c 		node = binder_new_node(proc, fp);
fp               2452 drivers/android/binder.c 	if (fp->cookie != node->cookie) {
fp               2454 drivers/android/binder.c 				  proc->pid, thread->pid, (u64)fp->binder,
fp               2455 drivers/android/binder.c 				  node->debug_id, (u64)fp->cookie,
fp               2466 drivers/android/binder.c 			fp->hdr.type == BINDER_TYPE_BINDER,
fp               2471 drivers/android/binder.c 	if (fp->hdr.type == BINDER_TYPE_BINDER)
fp               2472 drivers/android/binder.c 		fp->hdr.type = BINDER_TYPE_HANDLE;
fp               2474 drivers/android/binder.c 		fp->hdr.type = BINDER_TYPE_WEAK_HANDLE;
fp               2475 drivers/android/binder.c 	fp->binder = 0;
fp               2476 drivers/android/binder.c 	fp->handle = rdata.desc;
fp               2477 drivers/android/binder.c 	fp->cookie = 0;
fp               2489 drivers/android/binder.c static int binder_translate_handle(struct flat_binder_object *fp,
fp               2499 drivers/android/binder.c 	node = binder_get_node_from_ref(proc, fp->handle,
fp               2500 drivers/android/binder.c 			fp->hdr.type == BINDER_TYPE_HANDLE, &src_rdata);
fp               2503 drivers/android/binder.c 				  proc->pid, thread->pid, fp->handle);
fp               2513 drivers/android/binder.c 		if (fp->hdr.type == BINDER_TYPE_HANDLE)
fp               2514 drivers/android/binder.c 			fp->hdr.type = BINDER_TYPE_BINDER;
fp               2516 drivers/android/binder.c 			fp->hdr.type = BINDER_TYPE_WEAK_BINDER;
fp               2517 drivers/android/binder.c 		fp->binder = node->ptr;
fp               2518 drivers/android/binder.c 		fp->cookie = node->cookie;
fp               2524 drivers/android/binder.c 					 fp->hdr.type == BINDER_TYPE_BINDER,
fp               2541 drivers/android/binder.c 				fp->hdr.type == BINDER_TYPE_HANDLE,
fp               2546 drivers/android/binder.c 		fp->binder = 0;
fp               2547 drivers/android/binder.c 		fp->handle = dest_rdata.desc;
fp               2548 drivers/android/binder.c 		fp->cookie = 0;
fp               3259 drivers/android/binder.c 			struct flat_binder_object *fp;
fp               3261 drivers/android/binder.c 			fp = to_flat_binder_object(hdr);
fp               3262 drivers/android/binder.c 			ret = binder_translate_binder(fp, t, thread);
fp               3268 drivers/android/binder.c 							fp, sizeof(*fp))) {
fp               3277 drivers/android/binder.c 			struct flat_binder_object *fp;
fp               3279 drivers/android/binder.c 			fp = to_flat_binder_object(hdr);
fp               3280 drivers/android/binder.c 			ret = binder_translate_handle(fp, t, thread);
fp               3285 drivers/android/binder.c 							fp, sizeof(*fp))) {
fp               3294 drivers/android/binder.c 			struct binder_fd_object *fp = to_binder_fd_object(hdr);
fp               3296 drivers/android/binder.c 				(uintptr_t)&fp->fd - (uintptr_t)fp;
fp               3297 drivers/android/binder.c 			int ret = binder_translate_fd(fp->fd, fd_offset, t,
fp               3300 drivers/android/binder.c 			fp->pad_binder = 0;
fp               3305 drivers/android/binder.c 							fp, sizeof(*fp))) {
fp               7001 drivers/ata/libata-core.c 		const struct ata_force_param *fp = &force_tbl[i];
fp               7003 drivers/ata/libata-core.c 		if (strncasecmp(val, fp->name, strlen(val)))
fp               7007 drivers/ata/libata-core.c 		match_fp = fp;
fp               7009 drivers/ata/libata-core.c 		if (strcasecmp(val, fp->name) == 0) {
fp               1463 drivers/ata/libata-scsi.c 	u16 fp;
fp               1467 drivers/ata/libata-scsi.c 		fp = 4;
fp               1477 drivers/ata/libata-scsi.c 		fp = 4;
fp               1482 drivers/ata/libata-scsi.c 		fp = 4;
fp               1531 drivers/ata/libata-scsi.c 	ata_scsi_set_invalid_field(qc->dev, scmd, fp, bp);
fp               1682 drivers/ata/libata-scsi.c 	u16 fp;
fp               1689 drivers/ata/libata-scsi.c 			fp = 9;
fp               1695 drivers/ata/libata-scsi.c 			fp = 15;
fp               1700 drivers/ata/libata-scsi.c 		fp = 0;
fp               1776 drivers/ata/libata-scsi.c 	ata_scsi_set_invalid_field(qc->dev, scmd, fp, 0xff);
fp               1832 drivers/ata/libata-scsi.c 	u16 fp = 0;
fp               1842 drivers/ata/libata-scsi.c 			fp = 9;
fp               1854 drivers/ata/libata-scsi.c 			fp = 5;
fp               1870 drivers/ata/libata-scsi.c 			fp = 15;
fp               1881 drivers/ata/libata-scsi.c 		fp = 0;
fp               1909 drivers/ata/libata-scsi.c 	ata_scsi_set_invalid_field(qc->dev, scmd, fp, 0xff);
fp               2594 drivers/ata/libata-scsi.c 	u16 fp;
fp               2613 drivers/ata/libata-scsi.c 		fp = 2;
fp               2630 drivers/ata/libata-scsi.c 		fp = 3;
fp               2654 drivers/ata/libata-scsi.c 		fp = 2;
fp               2684 drivers/ata/libata-scsi.c 	ata_scsi_set_invalid_field(dev, args->cmd, fp, bp);
fp               3148 drivers/ata/libata-scsi.c 	u16 fp;
fp               3157 drivers/ata/libata-scsi.c 		fp = 1;
fp               3251 drivers/ata/libata-scsi.c 			fp = 1;
fp               3317 drivers/ata/libata-scsi.c 		fp = 1;
fp               3323 drivers/ata/libata-scsi.c 		fp = 1;
fp               3329 drivers/ata/libata-scsi.c 		fp = 1;
fp               3353 drivers/ata/libata-scsi.c 		fp = (cdb[0] == ATA_16) ? 4 : 3;
fp               3373 drivers/ata/libata-scsi.c 		fp = (cdb[0] == ATA_16) ? 14 : 9;
fp               3380 drivers/ata/libata-scsi.c 	ata_scsi_set_invalid_field(dev, scmd, fp, 0xff);
fp               3461 drivers/ata/libata-scsi.c 	u16 fp;
fp               3478 drivers/ata/libata-scsi.c 		fp = 15;
fp               3486 drivers/ata/libata-scsi.c 		fp = 1;
fp               3492 drivers/ata/libata-scsi.c 		fp = 2;
fp               3540 drivers/ata/libata-scsi.c 	ata_scsi_set_invalid_field(dev, scmd, fp, bp);
fp               3699 drivers/ata/libata-scsi.c 	u16 sect, fp = (u16)-1;
fp               3707 drivers/ata/libata-scsi.c 		fp = 15;
fp               3719 drivers/ata/libata-scsi.c 		fp = 1;
fp               3768 drivers/ata/libata-scsi.c 	ata_scsi_set_invalid_field(qc->dev, scmd, fp, bp);
fp               3786 drivers/ata/libata-scsi.c 	u16 fp = (u16)-1;
fp               3789 drivers/ata/libata-scsi.c 		fp = 15;
fp               3796 drivers/ata/libata-scsi.c 		fp = 1;
fp               3818 drivers/ata/libata-scsi.c 		fp = 2;
fp               3847 drivers/ata/libata-scsi.c 	ata_scsi_set_invalid_field(qc->dev, scmd, fp, 0xff);
fp               3868 drivers/ata/libata-scsi.c 			       const u8 *buf, int len, u16 *fp)
fp               3883 drivers/ata/libata-scsi.c 			*fp = len;
fp               3885 drivers/ata/libata-scsi.c 			*fp = CACHE_MPAGE_LEN - 2;
fp               3899 drivers/ata/libata-scsi.c 			*fp = i;
fp               3925 drivers/ata/libata-scsi.c 			       const u8 *buf, int len, u16 *fp)
fp               3939 drivers/ata/libata-scsi.c 			*fp = len;
fp               3941 drivers/ata/libata-scsi.c 			*fp = CONTROL_MPAGE_LEN - 2;
fp               3955 drivers/ata/libata-scsi.c 			*fp = i;
fp               3985 drivers/ata/libata-scsi.c 	u16 fp = (u16)-1;
fp               3993 drivers/ata/libata-scsi.c 			fp = 4;
fp               4001 drivers/ata/libata-scsi.c 			fp = 8;
fp               4011 drivers/ata/libata-scsi.c 		fp = 1;
fp               4036 drivers/ata/libata-scsi.c 		fp = (six_byte) ? 3 : 6;
fp               4037 drivers/ata/libata-scsi.c 		fp += bd_len + hdr_len;
fp               4071 drivers/ata/libata-scsi.c 		fp = (p[0] & 0x40) ? 1 : 0;
fp               4072 drivers/ata/libata-scsi.c 		fp += hdr_len + bd_len;
fp               4080 drivers/ata/libata-scsi.c 		if (ata_mselect_caching(qc, p, pg_len, &fp) < 0) {
fp               4081 drivers/ata/libata-scsi.c 			fp += hdr_len + bd_len;
fp               4086 drivers/ata/libata-scsi.c 		if (ata_mselect_control(qc, p, pg_len, &fp) < 0) {
fp               4087 drivers/ata/libata-scsi.c 			fp += hdr_len + bd_len;
fp               4094 drivers/ata/libata-scsi.c 		fp = bd_len + hdr_len;
fp               4108 drivers/ata/libata-scsi.c 	ata_scsi_set_invalid_field(qc->dev, scmd, fp, bp);
fp               4112 drivers/ata/libata-scsi.c 	ata_scsi_set_invalid_parameter(qc->dev, scmd, fp);
fp                785 drivers/atm/firestream.c 			    pe->skb, pe->fp);
fp                801 drivers/atm/firestream.c 				pe->fp->n--;
fp                822 drivers/atm/firestream.c 				pe->fp->n--;
fp               1429 drivers/atm/firestream.c static int init_fp(struct fs_dev *dev, struct freepool *fp, int queue,
fp               1442 drivers/atm/firestream.c 	fp->offset = queue; 
fp               1443 drivers/atm/firestream.c 	fp->bufsize = bufsize;
fp               1444 drivers/atm/firestream.c 	fp->nr_buffers = nr_buffers;
fp               1451 drivers/atm/firestream.c static inline int nr_buffers_in_freepool (struct fs_dev *dev, struct freepool *fp)
fp               1455 drivers/atm/firestream.c 	return read_fs (dev, FP_CNT (fp->offset));
fp               1457 drivers/atm/firestream.c 	return fp->n;
fp               1466 drivers/atm/firestream.c static void top_off_fp (struct fs_dev *dev, struct freepool *fp,
fp               1475 drivers/atm/firestream.c 		    fp->offset, read_fs (dev, FP_CNT (fp->offset)), fp->n, 
fp               1476 drivers/atm/firestream.c 		    fp->nr_buffers);
fp               1477 drivers/atm/firestream.c 	while (nr_buffers_in_freepool(dev, fp) < fp->nr_buffers) {
fp               1479 drivers/atm/firestream.c 		skb = alloc_skb (fp->bufsize, gfp_flags);
fp               1480 drivers/atm/firestream.c 		fs_dprintk (FS_DEBUG_ALLOC, "Alloc rec-skb: %p(%d)\n", skb, fp->bufsize);
fp               1493 drivers/atm/firestream.c 		ne->flags = FP_FLAGS_EPI | fp->bufsize;
fp               1496 drivers/atm/firestream.c 		ne->aal_bufsize = fp->bufsize;
fp               1498 drivers/atm/firestream.c 		ne->fp = fp;
fp               1506 drivers/atm/firestream.c 		qe_tmp = read_fs (dev, FP_EA(fp->offset));
fp               1513 drivers/atm/firestream.c 			write_fs (dev, FP_SA(fp->offset), virt_to_bus(ne));
fp               1515 drivers/atm/firestream.c 		write_fs (dev, FP_EA(fp->offset), virt_to_bus (ne));
fp               1516 drivers/atm/firestream.c 		fp->n++;   /* XXX Atomic_inc? */
fp               1517 drivers/atm/firestream.c 		write_fs (dev, FP_CTU(fp->offset), 1);
fp               1539 drivers/atm/firestream.c static void free_freepool(struct fs_dev *dev, struct freepool *fp)
fp               1543 drivers/atm/firestream.c 	write_fs (dev, FP_CNF(fp->offset), 0);
fp               1544 drivers/atm/firestream.c 	write_fs (dev, FP_SA (fp->offset), 0);
fp               1545 drivers/atm/firestream.c 	write_fs (dev, FP_EA (fp->offset), 0);
fp               1546 drivers/atm/firestream.c 	write_fs (dev, FP_CNT(fp->offset), 0);
fp               1547 drivers/atm/firestream.c 	write_fs (dev, FP_CTU(fp->offset), 0);
fp               1932 drivers/atm/firestream.c 	struct FS_BPENTRY *fp, *nxt;
fp               1973 drivers/atm/firestream.c 			for (fp=bus_to_virt (read_fs (dev, FP_SA(dev->rx_fp[i].offset)));
fp               1974 drivers/atm/firestream.c 			     !(fp->flags & FP_FLAGS_EPI);fp = nxt) {
fp               1975 drivers/atm/firestream.c 				fs_dprintk (FS_DEBUG_ALLOC, "Free rec-skb: %p\n", fp->skb);
fp               1976 drivers/atm/firestream.c 				dev_kfree_skb_any (fp->skb);
fp               1977 drivers/atm/firestream.c 				nxt = bus_to_virt (fp->next);
fp               1978 drivers/atm/firestream.c 				fs_dprintk (FS_DEBUG_ALLOC, "Free rec-d: %p\n", fp);
fp               1979 drivers/atm/firestream.c 				kfree (fp);
fp               1981 drivers/atm/firestream.c 			fs_dprintk (FS_DEBUG_ALLOC, "Free rec-skb: %p\n", fp->skb);
fp               1982 drivers/atm/firestream.c 			dev_kfree_skb_any (fp->skb);
fp               1983 drivers/atm/firestream.c 			fs_dprintk (FS_DEBUG_ALLOC, "Free rec-d: %p\n", fp);
fp               1984 drivers/atm/firestream.c 			kfree (fp);
fp                 45 drivers/atm/firestream.h 	struct freepool *fp;
fp                446 drivers/block/drbd/drbd_nl.c 	enum drbd_fencing_p fp = FP_NOT_AVAIL;
fp                456 drivers/block/drbd/drbd_nl.c 			fp = max_t(enum drbd_fencing_p, fp, disk_conf->fencing);
fp                462 drivers/block/drbd/drbd_nl.c 	return fp;
fp                476 drivers/block/drbd/drbd_nl.c 	enum drbd_fencing_p fp;
fp                490 drivers/block/drbd/drbd_nl.c 	fp = highest_fencing_policy(connection);
fp                491 drivers/block/drbd/drbd_nl.c 	switch (fp) {
fp                554 drivers/block/drbd/drbd_nl.c 		if (fp != FP_STONITH)
fp               2329 drivers/block/drbd/drbd_nl.c 			enum drbd_fencing_p fp = rcu_dereference(device->ldev->disk_conf)->fencing;
fp               2331 drivers/block/drbd/drbd_nl.c 			if (new_net_conf->wire_protocol == DRBD_PROT_A && fp == FP_STONITH)
fp                977 drivers/block/drbd/drbd_receiver.c 			int fp = receive_first_packet(connection, s);
fp                980 drivers/block/drbd/drbd_receiver.c 			switch (fp) {
fp                827 drivers/block/drbd/drbd_state.c 	enum drbd_fencing_p fp;
fp                832 drivers/block/drbd/drbd_state.c 	fp = FP_DONT_CARE;
fp                834 drivers/block/drbd/drbd_state.c 		fp = rcu_dereference(device->ldev->disk_conf)->fencing;
fp                856 drivers/block/drbd/drbd_state.c 	else if (fp >= FP_RESOURCE &&
fp               1055 drivers/block/drbd/drbd_state.c 	enum drbd_fencing_p fp;
fp               1061 drivers/block/drbd/drbd_state.c 	fp = FP_DONT_CARE;
fp               1064 drivers/block/drbd/drbd_state.c 		fp = rcu_dereference(device->ldev->disk_conf)->fencing;
fp               1193 drivers/block/drbd/drbd_state.c 	if (fp == FP_STONITH &&
fp                996 drivers/block/drbd/drbd_worker.c 		enum drbd_fencing_p fp = FP_DONT_CARE;
fp                999 drivers/block/drbd/drbd_worker.c 		fp = rcu_dereference(device->ldev->disk_conf)->fencing;
fp               1000 drivers/block/drbd/drbd_worker.c 		if (fp != FP_DONT_CARE) {
fp               1526 drivers/block/pktcdvd.c 		 pd->settings.fp ? "Fixed" : "Variable",
fp               1693 drivers/block/pktcdvd.c 	wp->fp = pd->settings.fp;
fp               1749 drivers/block/pktcdvd.c 	if (!ti->packet || !ti->fp)
fp               1867 drivers/block/pktcdvd.c 	pd->settings.fp = ti.fp;
fp               2521 drivers/block/pktcdvd.c 	seq_printf(m, "\tpacket type:\t\t%s\n", pd->settings.fp ? "Fixed" : "Variable");
fp                163 drivers/block/rsxx/core.c static ssize_t rsxx_cram_read(struct file *fp, char __user *ubuf,
fp                166 drivers/block/rsxx/core.c 	struct rsxx_cardinfo *card = file_inode(fp)->i_private;
fp                184 drivers/block/rsxx/core.c static ssize_t rsxx_cram_write(struct file *fp, const char __user *ubuf,
fp                187 drivers/block/rsxx/core.c 	struct rsxx_cardinfo *card = file_inode(fp)->i_private;
fp                203 drivers/char/apm-emulation.c static ssize_t apm_read(struct file *fp, char __user *buf, size_t count, loff_t *ppos)
fp                205 drivers/char/apm-emulation.c 	struct apm_user *as = fp->private_data;
fp                212 drivers/char/apm-emulation.c 	if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK)
fp                240 drivers/char/apm-emulation.c static __poll_t apm_poll(struct file *fp, poll_table * wait)
fp                242 drivers/char/apm-emulation.c 	struct apm_user *as = fp->private_data;
fp                244 drivers/char/apm-emulation.c 	poll_wait(fp, &apm_waitqueue, wait);
fp                937 drivers/char/sonypi.c static long sonypi_misc_ioctl(struct file *fp,
fp                247 drivers/char/toshiba.c static long tosh_ioctl(struct file *fp, unsigned int cmd, unsigned long arg)
fp                 66 drivers/crypto/qat/qat_common/adf_ctl_drv.c static long adf_ctl_ioctl(struct file *fp, unsigned int cmd, unsigned long arg);
fp                224 drivers/crypto/qat/qat_common/adf_ctl_drv.c static int adf_ctl_ioctl_dev_config(struct file *fp, unsigned int cmd,
fp                302 drivers/crypto/qat/qat_common/adf_ctl_drv.c static int adf_ctl_ioctl_dev_stop(struct file *fp, unsigned int cmd,
fp                335 drivers/crypto/qat/qat_common/adf_ctl_drv.c static int adf_ctl_ioctl_dev_start(struct file *fp, unsigned int cmd,
fp                374 drivers/crypto/qat/qat_common/adf_ctl_drv.c static int adf_ctl_ioctl_get_num_devices(struct file *fp, unsigned int cmd,
fp                386 drivers/crypto/qat/qat_common/adf_ctl_drv.c static int adf_ctl_ioctl_get_status(struct file *fp, unsigned int cmd,
fp                425 drivers/crypto/qat/qat_common/adf_ctl_drv.c static long adf_ctl_ioctl(struct file *fp, unsigned int cmd, unsigned long arg)
fp                434 drivers/crypto/qat/qat_common/adf_ctl_drv.c 		ret = adf_ctl_ioctl_dev_config(fp, cmd, arg);
fp                438 drivers/crypto/qat/qat_common/adf_ctl_drv.c 		ret = adf_ctl_ioctl_dev_stop(fp, cmd, arg);
fp                442 drivers/crypto/qat/qat_common/adf_ctl_drv.c 		ret = adf_ctl_ioctl_dev_start(fp, cmd, arg);
fp                446 drivers/crypto/qat/qat_common/adf_ctl_drv.c 		ret = adf_ctl_ioctl_get_num_devices(fp, cmd, arg);
fp                450 drivers/crypto/qat/qat_common/adf_ctl_drv.c 		ret = adf_ctl_ioctl_get_status(fp, cmd, arg);
fp                847 drivers/gpu/drm/gma500/cdv_intel_display.c 	u32 fp;
fp                855 drivers/gpu/drm/gma500/cdv_intel_display.c 			fp = REG_READ(map->fp0);
fp                857 drivers/gpu/drm/gma500/cdv_intel_display.c 			fp = REG_READ(map->fp1);
fp                863 drivers/gpu/drm/gma500/cdv_intel_display.c 			fp = p->fp0;
fp                865 drivers/gpu/drm/gma500/cdv_intel_display.c 			fp = p->fp1;
fp                871 drivers/gpu/drm/gma500/cdv_intel_display.c 	clock.m1 = (fp & FP_M1_DIV_MASK) >> FP_M1_DIV_SHIFT;
fp                872 drivers/gpu/drm/gma500/cdv_intel_display.c 	clock.m2 = (fp & FP_M2_DIV_MASK) >> FP_M2_DIV_SHIFT;
fp                873 drivers/gpu/drm/gma500/cdv_intel_display.c 	clock.n = (fp & FP_N_DIV_MASK) >> FP_N_DIV_SHIFT;
fp                672 drivers/gpu/drm/gma500/mdfld_intel_display.c 	u32 dpll = 0, fp = 0;
fp                955 drivers/gpu/drm/gma500/mdfld_intel_display.c 		fp = (clk_n / 2) << 16;
fp                956 drivers/gpu/drm/gma500/mdfld_intel_display.c 		fp |= m_conv;
fp                963 drivers/gpu/drm/gma500/mdfld_intel_display.c 		fp = 0x000001be;
fp                967 drivers/gpu/drm/gma500/mdfld_intel_display.c 		fp = 0x000000d2;
fp                972 drivers/gpu/drm/gma500/mdfld_intel_display.c 		fp = 0x00000156;
fp                976 drivers/gpu/drm/gma500/mdfld_intel_display.c 		fp = 0x000000c1;
fp                979 drivers/gpu/drm/gma500/mdfld_intel_display.c 	REG_WRITE(map->fp0, fp);
fp                370 drivers/gpu/drm/gma500/oaktrail_crtc.c 	u32 dpll = 0, fp = 0, dspcntr, pipeconf;
fp                519 drivers/gpu/drm/gma500/oaktrail_crtc.c 		fp = clock.n << 16 | clock.m;
fp                521 drivers/gpu/drm/gma500/oaktrail_crtc.c 		fp = oaktrail_m_converts[(clock.m - MRST_M_MIN)] << 8;
fp                554 drivers/gpu/drm/gma500/oaktrail_crtc.c 			REG_WRITE_WITH_AUX(map->fp0, fp, i);
fp                563 drivers/gpu/drm/gma500/oaktrail_crtc.c 		REG_WRITE_WITH_AUX(map->fp0, fp, i);
fp                105 drivers/gpu/drm/gma500/psb_intel_display.c 	u32 dpll = 0, fp = 0, dspcntr, pipeconf;
fp                150 drivers/gpu/drm/gma500/psb_intel_display.c 	fp = clock.n << 16 | clock.m1 << 8 | clock.m2;
fp                213 drivers/gpu/drm/gma500/psb_intel_display.c 		REG_WRITE(map->fp0, fp);
fp                248 drivers/gpu/drm/gma500/psb_intel_display.c 	REG_WRITE(map->fp0, fp);
fp                305 drivers/gpu/drm/gma500/psb_intel_display.c 	u32 fp;
fp                313 drivers/gpu/drm/gma500/psb_intel_display.c 			fp = REG_READ(map->fp0);
fp                315 drivers/gpu/drm/gma500/psb_intel_display.c 			fp = REG_READ(map->fp1);
fp                322 drivers/gpu/drm/gma500/psb_intel_display.c 			fp = p->fp0;
fp                324 drivers/gpu/drm/gma500/psb_intel_display.c 		        fp = p->fp1;
fp                330 drivers/gpu/drm/gma500/psb_intel_display.c 	clock.m1 = (fp & FP_M1_DIV_MASK) >> FP_M1_DIV_SHIFT;
fp                331 drivers/gpu/drm/gma500/psb_intel_display.c 	clock.m2 = (fp & FP_M2_DIV_MASK) >> FP_M2_DIV_SHIFT;
fp                332 drivers/gpu/drm/gma500/psb_intel_display.c 	clock.n = (fp & FP_N_DIV_MASK) >> FP_N_DIV_SHIFT;
fp               7568 drivers/gpu/drm/i915/display/intel_display.c 	u32 fp, fp2 = 0;
fp               7571 drivers/gpu/drm/i915/display/intel_display.c 		fp = pnv_dpll_compute_fp(&crtc_state->dpll);
fp               7575 drivers/gpu/drm/i915/display/intel_display.c 		fp = i9xx_dpll_compute_fp(&crtc_state->dpll);
fp               7580 drivers/gpu/drm/i915/display/intel_display.c 	crtc_state->dpll_hw_state.fp0 = fp;
fp               7586 drivers/gpu/drm/i915/display/intel_display.c 		crtc_state->dpll_hw_state.fp1 = fp;
fp               9536 drivers/gpu/drm/i915/display/intel_display.c 	u32 dpll, fp, fp2;
fp               9551 drivers/gpu/drm/i915/display/intel_display.c 	fp = i9xx_dpll_compute_fp(&crtc_state->dpll);
fp               9554 drivers/gpu/drm/i915/display/intel_display.c 		fp |= FP_CB_TUNE;
fp               9562 drivers/gpu/drm/i915/display/intel_display.c 		fp2 = fp;
fp               9629 drivers/gpu/drm/i915/display/intel_display.c 	crtc_state->dpll_hw_state.fp0 = fp;
fp               11291 drivers/gpu/drm/i915/display/intel_display.c 	u32 fp;
fp               11297 drivers/gpu/drm/i915/display/intel_display.c 		fp = pipe_config->dpll_hw_state.fp0;
fp               11299 drivers/gpu/drm/i915/display/intel_display.c 		fp = pipe_config->dpll_hw_state.fp1;
fp               11301 drivers/gpu/drm/i915/display/intel_display.c 	clock.m1 = (fp & FP_M1_DIV_MASK) >> FP_M1_DIV_SHIFT;
fp               11303 drivers/gpu/drm/i915/display/intel_display.c 		clock.n = ffs((fp & FP_N_PINEVIEW_DIV_MASK) >> FP_N_DIV_SHIFT) - 1;
fp               11304 drivers/gpu/drm/i915/display/intel_display.c 		clock.m2 = (fp & FP_M2_PINEVIEW_DIV_MASK) >> FP_M2_DIV_SHIFT;
fp               11306 drivers/gpu/drm/i915/display/intel_display.c 		clock.n = (fp & FP_N_DIV_MASK) >> FP_N_DIV_SHIFT;
fp               11307 drivers/gpu/drm/i915/display/intel_display.c 		clock.m2 = (fp & FP_M2_DIV_MASK) >> FP_M2_DIV_SHIFT;
fp               16296 drivers/gpu/drm/i915/display/intel_display.c 	u32 dpll, fp;
fp               16304 drivers/gpu/drm/i915/display/intel_display.c 	fp = i9xx_dpll_compute_fp(&clock);
fp               16312 drivers/gpu/drm/i915/display/intel_display.c 	I915_WRITE(FP0(pipe), fp);
fp               16313 drivers/gpu/drm/i915/display/intel_display.c 	I915_WRITE(FP1(pipe), fp);
fp                 27 drivers/gpu/drm/i915/i915_fixed.h 	uint_fixed_16_16_t fp = { .val = val << 16 };
fp                 31 drivers/gpu/drm/i915/i915_fixed.h 	return fp;
fp                 34 drivers/gpu/drm/i915/i915_fixed.h static inline u32 fixed16_to_u32_round_up(uint_fixed_16_16_t fp)
fp                 36 drivers/gpu/drm/i915/i915_fixed.h 	return DIV_ROUND_UP(fp.val, 1 << 16);
fp                 39 drivers/gpu/drm/i915/i915_fixed.h static inline u32 fixed16_to_u32(uint_fixed_16_16_t fp)
fp                 41 drivers/gpu/drm/i915/i915_fixed.h 	return fp.val >> 16;
fp                 62 drivers/gpu/drm/i915/i915_fixed.h 	uint_fixed_16_16_t fp = { .val = (u32)val };
fp                 66 drivers/gpu/drm/i915/i915_fixed.h 	return fp;
fp                 63 drivers/gpu/drm/msm/disp/mdp_format.c #define FMT(name, a, r, g, b, e0, e1, e2, e3, alpha, tight, c, cnt, fp, cs, yuv) { \
fp                 74 drivers/gpu/drm/msm/disp/mdp_format.c 		.fetch_type = fp,                                \
fp                426 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 						drm->vbios.fp.dual_link);
fp               1506 drivers/gpu/drm/nouveau/dispnv50/disp.c 			if (bios->fp.dual_link)
fp               1508 drivers/gpu/drm/nouveau/dispnv50/disp.c 			if (bios->fp.if_is_24bit)
fp               1515 drivers/gpu/drm/nouveau/dispnv50/disp.c 			if (mode->clock >= bios->fp.duallink_transition_clk) {
fp               1520 drivers/gpu/drm/nouveau/dispnv50/disp.c 				if (bios->fp.strapless_is_24bit & 2)
fp               1523 drivers/gpu/drm/nouveau/dispnv50/disp.c 				if (bios->fp.strapless_is_24bit & 1)
fp                111 drivers/gpu/drm/nouveau/nouveau_bios.c 	uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->or & DCB_OUTPUT_C ? 1 : 0);
fp                114 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (!bios->fp.xlated_entry || !sub || !scriptofs)
fp                117 drivers/gpu/drm/nouveau/nouveau_bios.c 	run_digital_op_script(dev, scriptofs, dcbent, head, bios->fp.dual_link);
fp                121 drivers/gpu/drm/nouveau/nouveau_bios.c 		mdelay(ROM16(bios->data[bios->fp.xlated_entry + 7]));
fp                161 drivers/gpu/drm/nouveau/nouveau_bios.c 		scriptptr = ROM16(bios->data[bios->fp.lvdsmanufacturerpointer + 7 + outputset * 2]);
fp                165 drivers/gpu/drm/nouveau/nouveau_bios.c 		scriptptr = ROM16(bios->data[bios->fp.lvdsmanufacturerpointer + 11 + outputset * 2]);
fp                168 drivers/gpu/drm/nouveau/nouveau_bios.c 		clktable = bios->fp.lvdsmanufacturerpointer + 15;
fp                173 drivers/gpu/drm/nouveau/nouveau_bios.c 			if (bios->fp.dual_link)
fp                175 drivers/gpu/drm/nouveau/nouveau_bios.c 			if (bios->fp.if_is_24bit)
fp                181 drivers/gpu/drm/nouveau/nouveau_bios.c 			if (bios->fp.dual_link) {
fp                186 drivers/gpu/drm/nouveau/nouveau_bios.c 			if (bios->fp.strapless_is_24bit & cmpval_24bit)
fp                202 drivers/gpu/drm/nouveau/nouveau_bios.c 	run_digital_op_script(dev, scriptptr, dcbent, head, bios->fp.dual_link);
fp                218 drivers/gpu/drm/nouveau/nouveau_bios.c 	uint8_t lvds_ver = bios->data[bios->fp.lvdsmanufacturerpointer];
fp                222 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (bios->fp.last_script_invoc == (script << 1 | head) || !lvds_ver ||
fp                226 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (!bios->fp.lvds_init_run) {
fp                227 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.lvds_init_run = true;
fp                231 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (script == LVDS_PANEL_ON && bios->fp.reset_after_pclk_change)
fp                233 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (script == LVDS_RESET && bios->fp.power_off_for_reset)
fp                246 drivers/gpu/drm/nouveau/nouveau_bios.c 	bios->fp.last_script_invoc = (script << 1 | head);
fp                274 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (bios->fp.lvdsmanufacturerpointer == 0x0) {
fp                279 drivers/gpu/drm/nouveau/nouveau_bios.c 	lvds_ver = bios->data[bios->fp.lvdsmanufacturerpointer];
fp                284 drivers/gpu/drm/nouveau/nouveau_bios.c 		recordlen = bios->data[bios->fp.lvdsmanufacturerpointer + 1];
fp                287 drivers/gpu/drm/nouveau/nouveau_bios.c 		headerlen = bios->data[bios->fp.lvdsmanufacturerpointer + 1];
fp                292 drivers/gpu/drm/nouveau/nouveau_bios.c 		recordlen = bios->data[bios->fp.lvdsmanufacturerpointer + 2];
fp                295 drivers/gpu/drm/nouveau/nouveau_bios.c 		headerlen = bios->data[bios->fp.lvdsmanufacturerpointer + 1];
fp                300 drivers/gpu/drm/nouveau/nouveau_bios.c 		recordlen = bios->data[bios->fp.lvdsmanufacturerpointer + 2];
fp                351 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (bios->fp.fptablepointer == 0x0) {
fp                358 drivers/gpu/drm/nouveau/nouveau_bios.c 	fptable = &bios->data[bios->fp.fptablepointer];
fp                405 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.fpxlatetableptr = bios->fp.lvdsmanufacturerpointer +
fp                407 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.xlatwidth = lth.recordlen;
fp                409 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (bios->fp.fpxlatetableptr == 0x0) {
fp                416 drivers/gpu/drm/nouveau/nouveau_bios.c 	fpindex = bios->data[bios->fp.fpxlatetableptr +
fp                417 drivers/gpu/drm/nouveau/nouveau_bios.c 					fpstrapping * bios->fp.xlatwidth];
fp                436 drivers/gpu/drm/nouveau/nouveau_bios.c 	bios->fp.mode_ptr = bios->fp.fptablepointer + headerlen +
fp                440 drivers/gpu/drm/nouveau/nouveau_bios.c 		 ROM16(bios->data[bios->fp.mode_ptr + 11]) + 1,
fp                441 drivers/gpu/drm/nouveau/nouveau_bios.c 		 ROM16(bios->data[bios->fp.mode_ptr + 25]) + 1,
fp                442 drivers/gpu/drm/nouveau/nouveau_bios.c 		 ROM16(bios->data[bios->fp.mode_ptr + 7]) * 10);
fp                451 drivers/gpu/drm/nouveau/nouveau_bios.c 	uint8_t *mode_entry = &bios->data[bios->fp.mode_ptr];
fp                454 drivers/gpu/drm/nouveau/nouveau_bios.c 		return bios->fp.mode_ptr;
fp                490 drivers/gpu/drm/nouveau/nouveau_bios.c 	return bios->fp.mode_ptr;
fp                534 drivers/gpu/drm/nouveau/nouveau_bios.c 					bios->fp.fpxlatemanufacturertableptr +
fp                550 drivers/gpu/drm/nouveau/nouveau_bios.c 			if (pxclk >= bios->fp.duallink_transition_clk)
fp                566 drivers/gpu/drm/nouveau/nouveau_bios.c 			if (pxclk >= bios->fp.duallink_transition_clk)
fp                586 drivers/gpu/drm/nouveau/nouveau_bios.c 	lvdsofs = bios->fp.xlated_entry = bios->fp.lvdsmanufacturerpointer + lth.headerlen + lth.recordlen * lvdsmanufacturerindex;
fp                589 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.power_off_for_reset = bios->data[lvdsofs] & 1;
fp                590 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.reset_after_pclk_change = bios->data[lvdsofs] & 2;
fp                591 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.dual_link = bios->data[lvdsofs] & 4;
fp                592 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.link_c_increment = bios->data[lvdsofs] & 8;
fp                601 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.power_off_for_reset = true;
fp                602 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.reset_after_pclk_change = true;
fp                608 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.dual_link = bios->data[lvdsofs] & 1;
fp                609 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.if_is_24bit = bios->data[lvdsofs] & 2;
fp                610 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.strapless_is_24bit = bios->data[bios->fp.lvdsmanufacturerpointer + 4];
fp                611 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.duallink_transition_clk = ROM16(bios->data[bios->fp.lvdsmanufacturerpointer + 5]) * 10;
fp                617 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.dual_link = (pxclk >= bios->fp.duallink_transition_clk);
fp                619 drivers/gpu/drm/nouveau/nouveau_bios.c 	*dl = bios->fp.dual_link;
fp                759 drivers/gpu/drm/nouveau/nouveau_bios.c 	bios->fp.fptablepointer = ROM16(bios->data[bitentry->offset + 2]);
fp                864 drivers/gpu/drm/nouveau/nouveau_bios.c 	bios->fp.lvdsmanufacturerpointer = ROM16(bios->data[bitentry->offset]);
fp               1093 drivers/gpu/drm/nouveau/nouveau_bios.c 	bios->fp.duallink_transition_clk = 90000;
fp               1213 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.fptablepointer = ROM16(bmp[105]);
fp               1214 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.fpxlatetableptr = ROM16(bmp[107]);
fp               1215 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.xlatwidth = 1;
fp               1218 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.lvdsmanufacturerpointer = ROM16(bmp[117]);
fp               1219 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.fpxlatemanufacturertableptr = ROM16(bmp[119]);
fp               1227 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.duallink_transition_clk = ROM16(bmp[156]) * 10;
fp               1991 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (bios->fp.edid)
fp               1992 drivers/gpu/drm/nouveau/nouveau_bios.c 		return bios->fp.edid;
fp               2009 drivers/gpu/drm/nouveau/nouveau_bios.c 	return bios->fp.edid = &bios->data[offset];
fp               2054 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.last_script_invoc = 0;
fp               2055 drivers/gpu/drm/nouveau/nouveau_bios.c 		bios->fp.lvds_init_run = false;
fp                136 drivers/gpu/drm/nouveau/nouveau_bios.h 	} fp;
fp                884 drivers/gpu/drm/nouveau/nouveau_connector.c 		if (bios->fp.if_is_24bit)
fp                896 drivers/gpu/drm/nouveau/nouveau_connector.c 		duallink = mode->clock >= bios->fp.duallink_transition_clk;
fp                898 drivers/gpu/drm/nouveau/nouveau_connector.c 	if ((!duallink && (bios->fp.strapless_is_24bit & 1)) ||
fp                899 drivers/gpu/drm/nouveau/nouveau_connector.c 	    ( duallink && (bios->fp.strapless_is_24bit & 2)))
fp                377 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h 	struct vmw_fpriv *fp;
fp                678 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 			(dev_priv, sw_context->fp->tfile, *id_loc, converter);
fp               1165 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	vmw_bo = vmw_user_bo_noref_lookup(sw_context->fp->tfile, handle);
fp               1220 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	vmw_bo = vmw_user_bo_noref_lookup(sw_context->fp->tfile, handle);
fp               1563 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	vmw_kms_cursor_snoop(srf, sw_context->fp->tfile, &vmw_bo->base, header);
fp               3612 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 		(dev_priv, sw_context->fp->tfile, handle,
fp               3698 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	sw_context->fp = vmw_fpriv(file_priv);
fp                187 drivers/hid/hid-roccat-arvo.c static ssize_t arvo_sysfs_write(struct file *fp,
fp                206 drivers/hid/hid-roccat-arvo.c static ssize_t arvo_sysfs_read(struct file *fp,
fp                228 drivers/hid/hid-roccat-arvo.c static ssize_t arvo_sysfs_write_button(struct file *fp,
fp                232 drivers/hid/hid-roccat-arvo.c 	return arvo_sysfs_write(fp, kobj, buf, off, count,
fp                238 drivers/hid/hid-roccat-arvo.c static ssize_t arvo_sysfs_read_info(struct file *fp,
fp                242 drivers/hid/hid-roccat-arvo.c 	return arvo_sysfs_read(fp, kobj, buf, off, count,
fp                130 drivers/hid/hid-roccat-common.c ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj,
fp                153 drivers/hid/hid-roccat-common.c ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj,
fp                 40 drivers/hid/hid-roccat-common.h ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj,
fp                 43 drivers/hid/hid-roccat-common.h ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj,
fp                 48 drivers/hid/hid-roccat-common.h static ssize_t roccat_common2_sysfs_write_ ## thingy(struct file *fp, \
fp                 52 drivers/hid/hid-roccat-common.h 	return roccat_common2_sysfs_write(fp, kobj, buf, off, count, \
fp                 57 drivers/hid/hid-roccat-common.h static ssize_t roccat_common2_sysfs_read_ ## thingy(struct file *fp, \
fp                 61 drivers/hid/hid-roccat-common.h 	return roccat_common2_sysfs_read(fp, kobj, buf, off, count, \
fp                117 drivers/hid/hid-roccat-isku.c static ssize_t isku_sysfs_read(struct file *fp, struct kobject *kobj,
fp                139 drivers/hid/hid-roccat-isku.c static ssize_t isku_sysfs_write(struct file *fp, struct kobject *kobj,
fp                160 drivers/hid/hid-roccat-isku.c static ssize_t isku_sysfs_write_ ## thingy(struct file *fp, struct kobject *kobj, \
fp                164 drivers/hid/hid-roccat-isku.c 	return isku_sysfs_write(fp, kobj, buf, off, count, \
fp                169 drivers/hid/hid-roccat-isku.c static ssize_t isku_sysfs_read_ ## thingy(struct file *fp, struct kobject *kobj, \
fp                173 drivers/hid/hid-roccat-isku.c 	return isku_sysfs_read(fp, kobj, buf, off, count, \
fp                266 drivers/hid/hid-roccat-kone.c static ssize_t kone_sysfs_read_settings(struct file *fp, struct kobject *kobj,
fp                290 drivers/hid/hid-roccat-kone.c static ssize_t kone_sysfs_write_settings(struct file *fp, struct kobject *kobj,
fp                327 drivers/hid/hid-roccat-kone.c static ssize_t kone_sysfs_read_profilex(struct file *fp,
fp                347 drivers/hid/hid-roccat-kone.c static ssize_t kone_sysfs_write_profilex(struct file *fp,
fp                 83 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_read(struct file *fp, struct kobject *kobj,
fp                108 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_write(struct file *fp, struct kobject *kobj,
fp                132 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_write_ ## thingy(struct file *fp, \
fp                136 drivers/hid/hid-roccat-koneplus.c 	return koneplus_sysfs_write(fp, kobj, buf, off, count, \
fp                141 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_read_ ## thingy(struct file *fp, \
fp                145 drivers/hid/hid-roccat-koneplus.c 	return koneplus_sysfs_read(fp, kobj, buf, off, count, \
fp                187 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_read_profilex_settings(struct file *fp,
fp                200 drivers/hid/hid-roccat-koneplus.c 	return koneplus_sysfs_read(fp, kobj, buf, off, count,
fp                205 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_read_profilex_buttons(struct file *fp,
fp                218 drivers/hid/hid-roccat-koneplus.c 	return koneplus_sysfs_read(fp, kobj, buf, off, count,
fp                126 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_read(struct file *fp, struct kobject *kobj,
fp                151 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_write(struct file *fp, struct kobject *kobj,
fp                175 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_write_ ## thingy(struct file *fp, \
fp                179 drivers/hid/hid-roccat-kovaplus.c 	return kovaplus_sysfs_write(fp, kobj, buf, off, count, \
fp                184 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_read_ ## thingy(struct file *fp, \
fp                188 drivers/hid/hid-roccat-kovaplus.c 	return kovaplus_sysfs_read(fp, kobj, buf, off, count, \
fp                217 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_read_profilex_settings(struct file *fp,
fp                230 drivers/hid/hid-roccat-kovaplus.c 	return kovaplus_sysfs_read(fp, kobj, buf, off, count,
fp                235 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_read_profilex_buttons(struct file *fp,
fp                248 drivers/hid/hid-roccat-kovaplus.c 	return kovaplus_sysfs_read(fp, kobj, buf, off, count,
fp                 26 drivers/hid/hid-roccat-lua.c static ssize_t lua_sysfs_read(struct file *fp, struct kobject *kobj,
fp                 48 drivers/hid/hid-roccat-lua.c static ssize_t lua_sysfs_write(struct file *fp, struct kobject *kobj,
fp                 68 drivers/hid/hid-roccat-lua.c static ssize_t lua_sysfs_write_ ## thingy(struct file *fp, \
fp                 72 drivers/hid/hid-roccat-lua.c 	return lua_sysfs_write(fp, kobj, buf, off, count, \
fp                 77 drivers/hid/hid-roccat-lua.c static ssize_t lua_sysfs_read_ ## thingy(struct file *fp, \
fp                 81 drivers/hid/hid-roccat-lua.c 	return lua_sysfs_read(fp, kobj, buf, off, count, \
fp                 86 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_read(struct file *fp, struct kobject *kobj,
fp                111 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_write(struct file *fp, struct kobject *kobj,
fp                134 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_write_ ## thingy(struct file *fp, \
fp                138 drivers/hid/hid-roccat-pyra.c 	return pyra_sysfs_write(fp, kobj, buf, off, count, \
fp                143 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_read_ ## thingy(struct file *fp, \
fp                147 drivers/hid/hid-roccat-pyra.c 	return pyra_sysfs_read(fp, kobj, buf, off, count, \
fp                185 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_read_profilex_settings(struct file *fp,
fp                198 drivers/hid/hid-roccat-pyra.c 	return pyra_sysfs_read(fp, kobj, buf, off, count,
fp                203 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_read_profilex_buttons(struct file *fp,
fp                216 drivers/hid/hid-roccat-pyra.c 	return pyra_sysfs_read(fp, kobj, buf, off, count,
fp                240 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_write_settings(struct file *fp,
fp                427 drivers/hwmon/dell-smm-hwmon.c i8k_ioctl_unlocked(struct file *fp, unsigned int cmd, unsigned long arg)
fp                522 drivers/hwmon/dell-smm-hwmon.c static long i8k_ioctl(struct file *fp, unsigned int cmd, unsigned long arg)
fp                527 drivers/hwmon/dell-smm-hwmon.c 	ret = i8k_ioctl_unlocked(fp, cmd, arg);
fp                160 drivers/iio/chemical/sps30.c static s32 sps30_float_to_int_clamped(const u8 *fp)
fp                162 drivers/iio/chemical/sps30.c 	int val = get_unaligned_be32(fp);
fp                985 drivers/infiniband/hw/hfi1/debugfs.c static int __i2c_debugfs_open(struct inode *in, struct file *fp, u32 target)
fp                990 drivers/infiniband/hw/hfi1/debugfs.c 	ppd = private2ppd(fp);
fp                999 drivers/infiniband/hw/hfi1/debugfs.c static int i2c1_debugfs_open(struct inode *in, struct file *fp)
fp               1001 drivers/infiniband/hw/hfi1/debugfs.c 	return __i2c_debugfs_open(in, fp, 0);
fp               1004 drivers/infiniband/hw/hfi1/debugfs.c static int i2c2_debugfs_open(struct inode *in, struct file *fp)
fp               1006 drivers/infiniband/hw/hfi1/debugfs.c 	return __i2c_debugfs_open(in, fp, 1);
fp               1009 drivers/infiniband/hw/hfi1/debugfs.c static int __i2c_debugfs_release(struct inode *in, struct file *fp, u32 target)
fp               1013 drivers/infiniband/hw/hfi1/debugfs.c 	ppd = private2ppd(fp);
fp               1021 drivers/infiniband/hw/hfi1/debugfs.c static int i2c1_debugfs_release(struct inode *in, struct file *fp)
fp               1023 drivers/infiniband/hw/hfi1/debugfs.c 	return __i2c_debugfs_release(in, fp, 0);
fp               1026 drivers/infiniband/hw/hfi1/debugfs.c static int i2c2_debugfs_release(struct inode *in, struct file *fp)
fp               1028 drivers/infiniband/hw/hfi1/debugfs.c 	return __i2c_debugfs_release(in, fp, 1);
fp               1031 drivers/infiniband/hw/hfi1/debugfs.c static int __qsfp_debugfs_open(struct inode *in, struct file *fp, u32 target)
fp               1039 drivers/infiniband/hw/hfi1/debugfs.c 	ppd = private2ppd(fp);
fp               1048 drivers/infiniband/hw/hfi1/debugfs.c static int qsfp1_debugfs_open(struct inode *in, struct file *fp)
fp               1050 drivers/infiniband/hw/hfi1/debugfs.c 	return __qsfp_debugfs_open(in, fp, 0);
fp               1053 drivers/infiniband/hw/hfi1/debugfs.c static int qsfp2_debugfs_open(struct inode *in, struct file *fp)
fp               1055 drivers/infiniband/hw/hfi1/debugfs.c 	return __qsfp_debugfs_open(in, fp, 1);
fp               1058 drivers/infiniband/hw/hfi1/debugfs.c static int __qsfp_debugfs_release(struct inode *in, struct file *fp, u32 target)
fp               1062 drivers/infiniband/hw/hfi1/debugfs.c 	ppd = private2ppd(fp);
fp               1070 drivers/infiniband/hw/hfi1/debugfs.c static int qsfp1_debugfs_release(struct inode *in, struct file *fp)
fp               1072 drivers/infiniband/hw/hfi1/debugfs.c 	return __qsfp_debugfs_release(in, fp, 0);
fp               1075 drivers/infiniband/hw/hfi1/debugfs.c static int qsfp2_debugfs_release(struct inode *in, struct file *fp)
fp               1077 drivers/infiniband/hw/hfi1/debugfs.c 	return __qsfp_debugfs_release(in, fp, 1);
fp               1132 drivers/infiniband/hw/hfi1/debugfs.c static int exprom_wp_debugfs_open(struct inode *in, struct file *fp)
fp               1140 drivers/infiniband/hw/hfi1/debugfs.c static int exprom_wp_debugfs_release(struct inode *in, struct file *fp)
fp               1142 drivers/infiniband/hw/hfi1/debugfs.c 	struct hfi1_pportdata *ppd = private2ppd(fp);
fp                 74 drivers/infiniband/hw/hfi1/file_ops.c static int hfi1_file_open(struct inode *inode, struct file *fp);
fp                 75 drivers/infiniband/hw/hfi1/file_ops.c static int hfi1_file_close(struct inode *inode, struct file *fp);
fp                 77 drivers/infiniband/hw/hfi1/file_ops.c static __poll_t hfi1_poll(struct file *fp, struct poll_table_struct *pt);
fp                 78 drivers/infiniband/hw/hfi1/file_ops.c static int hfi1_file_mmap(struct file *fp, struct vm_area_struct *vma);
fp                105 drivers/infiniband/hw/hfi1/file_ops.c static __poll_t poll_urgent(struct file *fp, struct poll_table_struct *pt);
fp                106 drivers/infiniband/hw/hfi1/file_ops.c static __poll_t poll_next(struct file *fp, struct poll_table_struct *pt);
fp                114 drivers/infiniband/hw/hfi1/file_ops.c static long hfi1_file_ioctl(struct file *fp, unsigned int cmd,
fp                186 drivers/infiniband/hw/hfi1/file_ops.c static int hfi1_file_open(struct inode *inode, struct file *fp)
fp                213 drivers/infiniband/hw/hfi1/file_ops.c 	fp->private_data = fd;
fp                217 drivers/infiniband/hw/hfi1/file_ops.c 	fp->private_data = NULL;
fp                223 drivers/infiniband/hw/hfi1/file_ops.c static long hfi1_file_ioctl(struct file *fp, unsigned int cmd,
fp                226 drivers/infiniband/hw/hfi1/file_ops.c 	struct hfi1_filedata *fd = fp->private_data;
fp                350 drivers/infiniband/hw/hfi1/file_ops.c static int hfi1_file_mmap(struct file *fp, struct vm_area_struct *vma)
fp                352 drivers/infiniband/hw/hfi1/file_ops.c 	struct hfi1_filedata *fd = fp->private_data;
fp                619 drivers/infiniband/hw/hfi1/file_ops.c static __poll_t hfi1_poll(struct file *fp, struct poll_table_struct *pt)
fp                624 drivers/infiniband/hw/hfi1/file_ops.c 	uctxt = ((struct hfi1_filedata *)fp->private_data)->uctxt;
fp                628 drivers/infiniband/hw/hfi1/file_ops.c 		pollflag = poll_urgent(fp, pt);
fp                630 drivers/infiniband/hw/hfi1/file_ops.c 		pollflag = poll_next(fp, pt);
fp                637 drivers/infiniband/hw/hfi1/file_ops.c static int hfi1_file_close(struct inode *inode, struct file *fp)
fp                639 drivers/infiniband/hw/hfi1/file_ops.c 	struct hfi1_filedata *fdata = fp->private_data;
fp                646 drivers/infiniband/hw/hfi1/file_ops.c 	fp->private_data = NULL;
fp               1444 drivers/infiniband/hw/hfi1/file_ops.c static __poll_t poll_urgent(struct file *fp,
fp               1447 drivers/infiniband/hw/hfi1/file_ops.c 	struct hfi1_filedata *fd = fp->private_data;
fp               1452 drivers/infiniband/hw/hfi1/file_ops.c 	poll_wait(fp, &uctxt->wait, pt);
fp               1467 drivers/infiniband/hw/hfi1/file_ops.c static __poll_t poll_next(struct file *fp,
fp               1470 drivers/infiniband/hw/hfi1/file_ops.c 	struct hfi1_filedata *fd = fp->private_data;
fp               1475 drivers/infiniband/hw/hfi1/file_ops.c 	poll_wait(fp, &uctxt->wait, pt);
fp               1174 drivers/infiniband/hw/qib/qib.h #define ctxt_fp(fp) \
fp               1175 drivers/infiniband/hw/qib/qib.h 	(((struct qib_filedata *)(fp)->private_data)->rcd)
fp               1176 drivers/infiniband/hw/qib/qib.h #define subctxt_fp(fp) \
fp               1177 drivers/infiniband/hw/qib/qib.h 	(((struct qib_filedata *)(fp)->private_data)->subctxt)
fp               1178 drivers/infiniband/hw/qib/qib.h #define tidcursor_fp(fp) \
fp               1179 drivers/infiniband/hw/qib/qib.h 	(((struct qib_filedata *)(fp)->private_data)->tidcursor)
fp               1180 drivers/infiniband/hw/qib/qib.h #define user_sdma_queue_fp(fp) \
fp               1181 drivers/infiniband/hw/qib/qib.h 	(((struct qib_filedata *)(fp)->private_data)->pq)
fp                131 drivers/infiniband/hw/qib/qib_diag.c static int qib_diag_open(struct inode *in, struct file *fp);
fp                132 drivers/infiniband/hw/qib/qib_diag.c static int qib_diag_release(struct inode *in, struct file *fp);
fp                133 drivers/infiniband/hw/qib/qib_diag.c static ssize_t qib_diag_read(struct file *fp, char __user *data,
fp                135 drivers/infiniband/hw/qib/qib_diag.c static ssize_t qib_diag_write(struct file *fp, const char __user *data,
fp                151 drivers/infiniband/hw/qib/qib_diag.c static ssize_t qib_diagpkt_write(struct file *fp, const char __user *data,
fp                508 drivers/infiniband/hw/qib/qib_diag.c static int qib_diag_open(struct inode *in, struct file *fp)
fp                532 drivers/infiniband/hw/qib/qib_diag.c 	fp->private_data = dc;
fp                547 drivers/infiniband/hw/qib/qib_diag.c static ssize_t qib_diagpkt_write(struct file *fp,
fp                676 drivers/infiniband/hw/qib/qib_diag.c static int qib_diag_release(struct inode *in, struct file *fp)
fp                679 drivers/infiniband/hw/qib/qib_diag.c 	return_client(fp->private_data);
fp                680 drivers/infiniband/hw/qib/qib_diag.c 	fp->private_data = NULL;
fp                759 drivers/infiniband/hw/qib/qib_diag.c static ssize_t qib_diag_read(struct file *fp, char __user *data,
fp                762 drivers/infiniband/hw/qib/qib_diag.c 	struct qib_diag_client *dc = fp->private_data;
fp                833 drivers/infiniband/hw/qib/qib_diag.c static ssize_t qib_diag_write(struct file *fp, const char __user *data,
fp                836 drivers/infiniband/hw/qib/qib_diag.c 	struct qib_diag_client *dc = fp->private_data;
fp                 98 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_get_base_info(struct file *fp, void __user *ubase,
fp                101 drivers/infiniband/hw/qib/qib_file_ops.c 	struct qib_ctxtdata *rcd = ctxt_fp(fp);
fp                117 drivers/infiniband/hw/qib/qib_file_ops.c 		master = !subctxt_fp(fp);
fp                206 drivers/infiniband/hw/qib/qib_file_ops.c 		unsigned slave = subctxt_fp(fp) - 1;
fp                215 drivers/infiniband/hw/qib/qib_file_ops.c 			cvt_kvaddr(&rcd->user_event_mask[subctxt_fp(fp)]);
fp                243 drivers/infiniband/hw/qib/qib_file_ops.c 	kinfo->spi_subctxt = subctxt_fp(fp);
fp                284 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_tid_update(struct qib_ctxtdata *rcd, struct file *fp,
fp                296 drivers/infiniband/hw/qib/qib_file_ops.c 	unsigned subctxt = subctxt_fp(fp);
fp                318 drivers/infiniband/hw/qib/qib_file_ops.c 		tid = tidcursor_fp(fp);
fp                323 drivers/infiniband/hw/qib/qib_file_ops.c 		tid = tidcursor_fp(fp);
fp                460 drivers/infiniband/hw/qib/qib_file_ops.c 			tidcursor_fp(fp) = tid;
fp                975 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_mmapf(struct file *fp, struct vm_area_struct *vma)
fp                983 drivers/infiniband/hw/qib/qib_file_ops.c 	rcd = ctxt_fp(fp);
fp               1015 drivers/infiniband/hw/qib/qib_file_ops.c 	ret = mmap_kvaddr(vma, pgaddr, rcd, subctxt_fp(fp));
fp               1027 drivers/infiniband/hw/qib/qib_file_ops.c 	} else if (!subctxt_fp(fp)) {
fp               1034 drivers/infiniband/hw/qib/qib_file_ops.c 		unsigned slave = subctxt_fp(fp) - 1;
fp               1082 drivers/infiniband/hw/qib/qib_file_ops.c 				    struct file *fp,
fp               1088 drivers/infiniband/hw/qib/qib_file_ops.c 	poll_wait(fp, &rcd->wait, pt);
fp               1104 drivers/infiniband/hw/qib/qib_file_ops.c 				  struct file *fp,
fp               1110 drivers/infiniband/hw/qib/qib_file_ops.c 	poll_wait(fp, &rcd->wait, pt);
fp               1124 drivers/infiniband/hw/qib/qib_file_ops.c static __poll_t qib_poll(struct file *fp, struct poll_table_struct *pt)
fp               1129 drivers/infiniband/hw/qib/qib_file_ops.c 	rcd = ctxt_fp(fp);
fp               1133 drivers/infiniband/hw/qib/qib_file_ops.c 		pollflag = qib_poll_urgent(rcd, fp, pt);
fp               1135 drivers/infiniband/hw/qib/qib_file_ops.c 		pollflag = qib_poll_next(rcd, fp, pt);
fp               1142 drivers/infiniband/hw/qib/qib_file_ops.c static void assign_ctxt_affinity(struct file *fp, struct qib_devdata *dd)
fp               1144 drivers/infiniband/hw/qib/qib_file_ops.c 	struct qib_filedata *fd = fp->private_data;
fp               1285 drivers/infiniband/hw/qib/qib_file_ops.c 		      struct file *fp, const struct qib_user_info *uinfo)
fp               1287 drivers/infiniband/hw/qib/qib_file_ops.c 	struct qib_filedata *fd = fp->private_data;
fp               1294 drivers/infiniband/hw/qib/qib_file_ops.c 	assign_ctxt_affinity(fp, dd);
fp               1325 drivers/infiniband/hw/qib/qib_file_ops.c 	ctxt_fp(fp) = rcd;
fp               1354 drivers/infiniband/hw/qib/qib_file_ops.c static int choose_port_ctxt(struct file *fp, struct qib_devdata *dd, u32 port,
fp               1386 drivers/infiniband/hw/qib/qib_file_ops.c 	ret = ppd ? setup_ctxt(ppd, ctxt, fp, uinfo) : -ENETDOWN;
fp               1391 drivers/infiniband/hw/qib/qib_file_ops.c static int find_free_ctxt(int unit, struct file *fp,
fp               1400 drivers/infiniband/hw/qib/qib_file_ops.c 		ret = choose_port_ctxt(fp, dd, uinfo->spu_port, uinfo);
fp               1405 drivers/infiniband/hw/qib/qib_file_ops.c static int get_a_ctxt(struct file *fp, const struct qib_user_info *uinfo,
fp               1453 drivers/infiniband/hw/qib/qib_file_ops.c 			ret = choose_port_ctxt(fp, udd, port, uinfo);
fp               1461 drivers/infiniband/hw/qib/qib_file_ops.c 				ret = choose_port_ctxt(fp, dd, port, uinfo);
fp               1475 drivers/infiniband/hw/qib/qib_file_ops.c static int find_shared_ctxt(struct file *fp,
fp               1505 drivers/infiniband/hw/qib/qib_file_ops.c 			ctxt_fp(fp) = rcd;
fp               1506 drivers/infiniband/hw/qib/qib_file_ops.c 			subctxt_fp(fp) = rcd->cnt++;
fp               1507 drivers/infiniband/hw/qib/qib_file_ops.c 			rcd->subpid[subctxt_fp(fp)] = current->pid;
fp               1508 drivers/infiniband/hw/qib/qib_file_ops.c 			tidcursor_fp(fp) = 0;
fp               1509 drivers/infiniband/hw/qib/qib_file_ops.c 			rcd->active_slaves |= 1 << subctxt_fp(fp);
fp               1519 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_open(struct inode *in, struct file *fp)
fp               1522 drivers/infiniband/hw/qib/qib_file_ops.c 	fp->private_data = kzalloc(sizeof(struct qib_filedata), GFP_KERNEL);
fp               1523 drivers/infiniband/hw/qib/qib_file_ops.c 	if (fp->private_data) /* no cpu affinity by default */
fp               1524 drivers/infiniband/hw/qib/qib_file_ops.c 		((struct qib_filedata *)fp->private_data)->rec_cpu_num = -1;
fp               1525 drivers/infiniband/hw/qib/qib_file_ops.c 	return fp->private_data ? 0 : -ENOMEM;
fp               1562 drivers/infiniband/hw/qib/qib_file_ops.c static int do_qib_user_sdma_queue_create(struct file *fp)
fp               1564 drivers/infiniband/hw/qib/qib_file_ops.c 	struct qib_filedata *fd = fp->private_data;
fp               1584 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_assign_ctxt(struct file *fp, const struct qib_user_info *uinfo)
fp               1591 drivers/infiniband/hw/qib/qib_file_ops.c 	if (ctxt_fp(fp)) {
fp               1612 drivers/infiniband/hw/qib/qib_file_ops.c 		ret = find_shared_ctxt(fp, uinfo);
fp               1614 drivers/infiniband/hw/qib/qib_file_ops.c 			ret = do_qib_user_sdma_queue_create(fp);
fp               1616 drivers/infiniband/hw/qib/qib_file_ops.c 				assign_ctxt_affinity(fp, (ctxt_fp(fp))->dd);
fp               1621 drivers/infiniband/hw/qib/qib_file_ops.c 	i_minor = iminor(file_inode(fp)) - QIB_USER_MINOR_BASE;
fp               1623 drivers/infiniband/hw/qib/qib_file_ops.c 		ret = find_free_ctxt(i_minor - 1, fp, uinfo);
fp               1631 drivers/infiniband/hw/qib/qib_file_ops.c 				if (!find_free_ctxt(unit, fp, uinfo)) {
fp               1635 drivers/infiniband/hw/qib/qib_file_ops.c 		ret = get_a_ctxt(fp, uinfo, alg);
fp               1640 drivers/infiniband/hw/qib/qib_file_ops.c 		ret = do_qib_user_sdma_queue_create(fp);
fp               1649 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_do_user_init(struct file *fp,
fp               1653 drivers/infiniband/hw/qib/qib_file_ops.c 	struct qib_ctxtdata *rcd = ctxt_fp(fp);
fp               1658 drivers/infiniband/hw/qib/qib_file_ops.c 	if (subctxt_fp(fp)) {
fp               1790 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_close(struct inode *in, struct file *fp)
fp               1800 drivers/infiniband/hw/qib/qib_file_ops.c 	fd = fp->private_data;
fp               1801 drivers/infiniband/hw/qib/qib_file_ops.c 	fp->private_data = NULL;
fp               1878 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_ctxt_info(struct file *fp, struct qib_ctxt_info __user *uinfo)
fp               1883 drivers/infiniband/hw/qib/qib_file_ops.c 	struct qib_ctxtdata *rcd = ctxt_fp(fp);
fp               1886 drivers/infiniband/hw/qib/qib_file_ops.c 	fd = fp->private_data;
fp               1892 drivers/infiniband/hw/qib/qib_file_ops.c 	info.subctxt =  subctxt_fp(fp);
fp               2033 drivers/infiniband/hw/qib/qib_file_ops.c static ssize_t qib_write(struct file *fp, const char __user *data,
fp               2044 drivers/infiniband/hw/qib/qib_file_ops.c 	if (!ib_safe_file_access(fp)) {
fp               2151 drivers/infiniband/hw/qib/qib_file_ops.c 	rcd = ctxt_fp(fp);
fp               2164 drivers/infiniband/hw/qib/qib_file_ops.c 		ret = qib_assign_ctxt(fp, &cmd.cmd.user_info);
fp               2170 drivers/infiniband/hw/qib/qib_file_ops.c 		ret = qib_do_user_init(fp, &cmd.cmd.user_info);
fp               2173 drivers/infiniband/hw/qib/qib_file_ops.c 		ret = qib_get_base_info(fp, u64_to_user_ptr(
fp               2179 drivers/infiniband/hw/qib/qib_file_ops.c 		ret = qib_manage_rcvq(rcd, subctxt_fp(fp), cmd.cmd.recv_ctrl);
fp               2183 drivers/infiniband/hw/qib/qib_file_ops.c 		ret = qib_ctxt_info(fp, (struct qib_ctxt_info __user *)
fp               2188 drivers/infiniband/hw/qib/qib_file_ops.c 		ret = qib_tid_update(rcd, fp, &cmd.cmd.tid_info);
fp               2192 drivers/infiniband/hw/qib/qib_file_ops.c 		ret = qib_tid_free(rcd, subctxt_fp(fp), &cmd.cmd.tid_info);
fp               2217 drivers/infiniband/hw/qib/qib_file_ops.c 		ret = qib_sdma_get_inflight(user_sdma_queue_fp(fp),
fp               2224 drivers/infiniband/hw/qib/qib_file_ops.c 					    user_sdma_queue_fp(fp),
fp               2230 drivers/infiniband/hw/qib/qib_file_ops.c 		ret = qib_user_event_ack(rcd, subctxt_fp(fp),
fp               2244 drivers/infiniband/hw/qib/qib_file_ops.c 	struct qib_filedata *fp = iocb->ki_filp->private_data;
fp               2246 drivers/infiniband/hw/qib/qib_file_ops.c 	struct qib_user_sdma_queue *pq = fp->pq;
fp                117 drivers/input/serio/serport.c static void serport_ldisc_receive(struct tty_struct *tty, const unsigned char *cp, char *fp, int count)
fp                130 drivers/input/serio/serport.c 		if (fp) {
fp                131 drivers/input/serio/serport.c 			switch (fp[i]) {
fp                172 drivers/media/tuners/fc0011.c 	u8 fa, fp, vco_sel, vco_cal;
fp                224 drivers/media/tuners/fc0011.c 	fp = xdivr / 8;
fp                225 drivers/media/tuners/fc0011.c 	fa = xdivr - fp * 8;
fp                227 drivers/media/tuners/fc0011.c 		fp -= 1;
fp                230 drivers/media/tuners/fc0011.c 	if (fp > 0x1F) {
fp                231 drivers/media/tuners/fc0011.c 		fp = 0x1F;
fp                234 drivers/media/tuners/fc0011.c 	if (fa >= fp) {
fp                237 drivers/media/tuners/fc0011.c 			 (unsigned int)(u8)fa, (unsigned int)(u8)fp);
fp                240 drivers/media/tuners/fc0011.c 	regs[FC11_REG_FP] = fp;
fp                679 drivers/media/tuners/mt2063.c 			u32 *fm, u32 * fp)
fp                740 drivers/media/tuners/mt2063.c 			*fp = ((f_Spur - (s32) c) / (mc - n)) + 1;
fp                757 drivers/media/tuners/mt2063.c 			*fp = ((f_Spur + (s32) f) / (me - n)) + 1;
fp                771 drivers/media/tuners/mt2063.c 			*fp = (((s32) d + f_Spur) / (ma - n)) + 1;
fp                790 drivers/media/tuners/mt2063.c 	u32 fm, fp;		/*  restricted range on LO's        */
fp                810 drivers/media/tuners/mt2063.c 	pAS_Info->bSpurPresent = IsSpurInBand(pAS_Info, &fm, &fp);
fp                825 drivers/media/tuners/mt2063.c 			MT2063_AddExclZone(pAS_Info, zfIF1 - fm, zfIF1 + fp);
fp                844 drivers/media/tuners/mt2063.c 			pAS_Info->bSpurPresent = IsSpurInBand(pAS_Info, &fm, &fp);
fp               2838 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	pvr2_subdev_update_func fp;
fp               2956 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		fp = pvr2_module_update_functions[id];
fp               2957 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		if (!fp) continue;
fp               2958 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		(*fp)(hdw, sd);
fp               4127 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	led_method_func fp;
fp               4135 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		fp = led_methods[scheme_id];
fp               4137 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		fp = NULL;
fp               4140 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	if (fp) (*fp)(hdw,onoff);
fp                611 drivers/media/usb/stkwebcam/stk-webcam.c static int v4l_stk_open(struct file *fp)
fp                613 drivers/media/usb/stkwebcam/stk-webcam.c 	struct stk_camera *dev = video_drvdata(fp);
fp                626 drivers/media/usb/stkwebcam/stk-webcam.c 	err = v4l2_fh_open(fp);
fp                633 drivers/media/usb/stkwebcam/stk-webcam.c static int v4l_stk_release(struct file *fp)
fp                635 drivers/media/usb/stkwebcam/stk-webcam.c 	struct stk_camera *dev = video_drvdata(fp);
fp                638 drivers/media/usb/stkwebcam/stk-webcam.c 	if (dev->owner == fp) {
fp                648 drivers/media/usb/stkwebcam/stk-webcam.c 	return v4l2_fh_release(fp);
fp                651 drivers/media/usb/stkwebcam/stk-webcam.c static ssize_t stk_read(struct file *fp, char __user *buf,
fp                658 drivers/media/usb/stkwebcam/stk-webcam.c 	struct stk_camera *dev = video_drvdata(fp);
fp                662 drivers/media/usb/stkwebcam/stk-webcam.c 	if (dev->owner && (!dev->reading || dev->owner != fp))
fp                664 drivers/media/usb/stkwebcam/stk-webcam.c 	dev->owner = fp;
fp                679 drivers/media/usb/stkwebcam/stk-webcam.c 		if (fp->f_flags & O_NONBLOCK && list_empty(&dev->sio_full))
fp                713 drivers/media/usb/stkwebcam/stk-webcam.c static ssize_t v4l_stk_read(struct file *fp, char __user *buf,
fp                716 drivers/media/usb/stkwebcam/stk-webcam.c 	struct stk_camera *dev = video_drvdata(fp);
fp                721 drivers/media/usb/stkwebcam/stk-webcam.c 	ret = stk_read(fp, buf, count, f_pos);
fp                726 drivers/media/usb/stkwebcam/stk-webcam.c static __poll_t v4l_stk_poll(struct file *fp, poll_table *wait)
fp                728 drivers/media/usb/stkwebcam/stk-webcam.c 	struct stk_camera *dev = video_drvdata(fp);
fp                729 drivers/media/usb/stkwebcam/stk-webcam.c 	__poll_t res = v4l2_ctrl_poll(fp, wait);
fp                731 drivers/media/usb/stkwebcam/stk-webcam.c 	poll_wait(fp, &dev->wait_frame, wait);
fp                760 drivers/media/usb/stkwebcam/stk-webcam.c static int v4l_stk_mmap(struct file *fp, struct vm_area_struct *vma)
fp                765 drivers/media/usb/stkwebcam/stk-webcam.c 	struct stk_camera *dev = video_drvdata(fp);
fp                439 drivers/misc/hpilo.c static ssize_t ilo_read(struct file *fp, char __user *buf,
fp                443 drivers/misc/hpilo.c 	struct ccb_data *data = fp->private_data;
fp                489 drivers/misc/hpilo.c static ssize_t ilo_write(struct file *fp, const char __user *buf,
fp                493 drivers/misc/hpilo.c 	struct ccb_data *data = fp->private_data;
fp                521 drivers/misc/hpilo.c static __poll_t ilo_poll(struct file *fp, poll_table *wait)
fp                523 drivers/misc/hpilo.c 	struct ccb_data *data = fp->private_data;
fp                526 drivers/misc/hpilo.c 	poll_wait(fp, &data->ccb_waitq, wait);
fp                536 drivers/misc/hpilo.c static int ilo_close(struct inode *ip, struct file *fp)
fp                550 drivers/misc/hpilo.c 		data = fp->private_data;
fp                567 drivers/misc/hpilo.c static int ilo_open(struct inode *ip, struct file *fp)
fp                594 drivers/misc/hpilo.c 		data->ccb_excl = fp->f_flags & O_EXCL;
fp                620 drivers/misc/hpilo.c 		if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) {
fp                636 drivers/misc/hpilo.c 		fp->private_data = hw->ccb_alloc[slot];
fp                368 drivers/misc/mei/client.c 					const struct file *fp)
fp                377 drivers/misc/mei/client.c 	cb->fp = fp;
fp                427 drivers/misc/mei/client.c static void mei_io_list_free_fp(struct list_head *head, const struct file *fp)
fp                432 drivers/misc/mei/client.c 		if (!fp || fp == cb->fp)
fp                448 drivers/misc/mei/client.c 				  const struct file *fp)
fp                452 drivers/misc/mei/client.c 	cb = mei_io_cb_init(cl, fop_type, fp);
fp                483 drivers/misc/mei/client.c 					    const struct file *fp)
fp                491 drivers/misc/mei/client.c 	cb = mei_cl_alloc_cb(cl, length, fop_type, fp);
fp                508 drivers/misc/mei/client.c struct mei_cl_cb *mei_cl_read_cb(const struct mei_cl *cl, const struct file *fp)
fp                513 drivers/misc/mei/client.c 		if (!fp || fp == cb->fp)
fp                527 drivers/misc/mei/client.c int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp)
fp                541 drivers/misc/mei/client.c 	mei_io_list_free_fp(&cl->rd_pending, fp);
fp                542 drivers/misc/mei/client.c 	mei_io_list_free_fp(&cl->rd_completed, fp);
fp               1066 drivers/misc/mei/client.c 		   const struct file *fp)
fp               1094 drivers/misc/mei/client.c 	cb = mei_cl_enqueue_ctrl_wr_cb(cl, 0, MEI_FOP_CONNECT, fp);
fp               1311 drivers/misc/mei/client.c 			  const struct file *fp, u8 request)
fp               1339 drivers/misc/mei/client.c 	cb = mei_cl_enqueue_ctrl_wr_cb(cl, 0, fop_type, fp);
fp               1463 drivers/misc/mei/client.c int mei_cl_read_start(struct mei_cl *cl, size_t length, const struct file *fp)
fp               1489 drivers/misc/mei/client.c 	cb = mei_cl_enqueue_ctrl_wr_cb(cl, length, MEI_FOP_READ, fp);
fp                 89 drivers/misc/mei/client.h 				 const struct file *fp);
fp                 92 drivers/misc/mei/client.h 				  const struct file *fp);
fp                 95 drivers/misc/mei/client.h 					    const struct file *fp);
fp                 96 drivers/misc/mei/client.h int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp);
fp                194 drivers/misc/mei/client.h int mei_cl_read_start(struct mei_cl *cl, size_t length, const struct file *fp);
fp                102 drivers/misc/mei/interrupt.c 		cb = mei_cl_alloc_cb(cl, mei_cl_mtu(cl), MEI_FOP_READ, cl->fp);
fp                 71 drivers/misc/mei/main.c 	cl->fp = file;
fp                641 drivers/misc/mei/main.c static int mei_fsync(struct file *fp, loff_t start, loff_t end, int datasync)
fp                643 drivers/misc/mei/main.c 	struct mei_cl *cl = fp->private_data;
fp                188 drivers/misc/mei/mei_dev.h 	const struct file *fp;
fp                233 drivers/misc/mei/mei_dev.h 	const struct file *fp;
fp                473 drivers/net/can/slcan.c 			      const unsigned char *cp, char *fp, int count)
fp                482 drivers/net/can/slcan.c 		if (fp && *fp++) {
fp                163 drivers/net/ethernet/8390/mac8390.c static void word_memcpy_tocard(unsigned long tp, const void *fp, int count);
fp                164 drivers/net/ethernet/8390/mac8390.c static void word_memcpy_fromcard(void *tp, unsigned long fp, int count);
fp                832 drivers/net/ethernet/8390/mac8390.c static void word_memcpy_tocard(unsigned long tp, const void *fp, int count)
fp                835 drivers/net/ethernet/8390/mac8390.c 	const unsigned short *from = fp;
fp                844 drivers/net/ethernet/8390/mac8390.c static void word_memcpy_fromcard(void *tp, unsigned long fp, int count)
fp                847 drivers/net/ethernet/8390/mac8390.c 	const volatile unsigned short *from = (const void *)fp;
fp                331 drivers/net/ethernet/amd/declance.c 	const unsigned short *fp;
fp                341 drivers/net/ethernet/amd/declance.c 		fp = from;
fp                344 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                350 drivers/net/ethernet/amd/declance.c 		rfp = (const unsigned char *)fp;
fp                360 drivers/net/ethernet/amd/declance.c 		fp = from;
fp                362 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                363 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                364 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                365 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                366 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                367 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                368 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                369 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                378 drivers/net/ethernet/amd/declance.c 		rfp = (const unsigned char *)fp;
fp                390 drivers/net/ethernet/amd/declance.c 	const unsigned short *fp;
fp                400 drivers/net/ethernet/amd/declance.c 		fp = from;
fp                402 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                403 drivers/net/ethernet/amd/declance.c 			fp++;
fp                409 drivers/net/ethernet/amd/declance.c 		rfp = (const unsigned char *)fp;
fp                421 drivers/net/ethernet/amd/declance.c 		fp = from;
fp                423 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                424 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                425 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                426 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                427 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                428 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                429 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                430 drivers/net/ethernet/amd/declance.c 			*tp++ = *fp++;
fp                431 drivers/net/ethernet/amd/declance.c 			fp += 8;
fp                439 drivers/net/ethernet/amd/declance.c 		rfp = (const unsigned char *)fp;
fp                328 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define FP_COS_TO_TXQ(fp, cos, bp) \
fp                329 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 			((fp)->index + cos * BNX2X_NUM_NON_CNIC_QUEUES(bp))
fp                615 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define bnx2x_fp(bp, nr, var)	((bp)->fp[(nr)].var)
fp                616 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define bnx2x_sp_obj(bp, fp)	((bp)->sp_objs[(fp)->index])
fp                617 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define bnx2x_fp_stats(bp, fp)	(&((bp)->fp_stats[(fp)->index]))
fp                618 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define bnx2x_fp_qstats(bp, fp)	(&((bp)->fp_stats[(fp)->index].eth_q_stats))
fp                627 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define bnx2x_fcoe_fp(bp)	(&bp->fp[FCOE_IDX(bp)])
fp                635 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define IS_ETH_FP(fp)		((fp)->index < BNX2X_NUM_ETH_QUEUES((fp)->bp))
fp                636 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define IS_FCOE_FP(fp)		((fp)->index == FCOE_IDX((fp)->bp))
fp                830 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 	(&fp->sb_index_values[HC_INDEX_ETH_RX_CQ_CONS])
fp                835 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 	(&fp->sb_index_values[HC_INDEX_ETH_TX_CQ_CONS_COS0])
fp               1349 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 	struct bnx2x_fastpath	*fp;
fp               1961 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define for_each_cos_in_tx_queue(fp, var) \
fp               1962 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 	for ((var) = 0; (var) < (fp)->max_cos; (var)++)
fp                 89 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x_fastpath *from_fp = &bp->fp[from];
fp                 90 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x_fastpath *to_fp = &bp->fp[to];
fp                179 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			struct bnx2x_fastpath *fp = &bp->fp[i];
fp                182 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			memcpy(&bp->bnx2x_txq[new_idx], fp->txdata_ptr[cos],
fp                184 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			fp->txdata_ptr[cos] = &bp->bnx2x_txq[new_idx];
fp                345 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static inline void bnx2x_update_last_max_sge(struct bnx2x_fastpath *fp,
fp                348 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	u16 last_max = fp->last_max_sge;
fp                351 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->last_max_sge = idx;
fp                354 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static inline void bnx2x_update_sge_prod(struct bnx2x_fastpath *fp,
fp                358 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x *bp = fp->bp;
fp                368 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		BIT_VEC64_CLEAR_BIT(fp->sge_mask,
fp                375 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	prefetch((void *)(fp->sge_mask));
fp                376 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	bnx2x_update_last_max_sge(fp,
fp                379 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	last_max = RX_SGE(fp->last_max_sge);
fp                381 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	first_elem = RX_SGE(fp->rx_sge_prod) >> BIT_VEC64_ELEM_SHIFT;
fp                389 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		if (likely(fp->sge_mask[i]))
fp                392 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->sge_mask[i] = BIT_VEC64_ELEM_ONE_MASK;
fp                397 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->rx_sge_prod += delta;
fp                399 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_clear_sge_mask_next_elems(fp);
fp                404 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	   fp->last_max_sge, fp->rx_sge_prod);
fp                430 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static void bnx2x_tpa_start(struct bnx2x_fastpath *fp, u16 queue,
fp                434 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x *bp = fp->bp;
fp                435 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct sw_rx_bd *cons_rx_buf = &fp->rx_buf_ring[cons];
fp                436 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct sw_rx_bd *prod_rx_buf = &fp->rx_buf_ring[prod];
fp                437 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct eth_rx_bd *prod_bd = &fp->rx_desc_ring[prod];
fp                439 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x_agg_info *tpa_info = &fp->tpa_info[queue];
fp                449 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				 fp->rx_buf_size, DMA_FROM_DEVICE);
fp                458 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_reuse_rx_data(fp, cons, prod);
fp                481 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	if (fp->mode == TPA_MODE_GRO) {
fp                488 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	fp->tpa_queue_used |= (1 << queue);
fp                490 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	   fp->tpa_queue_used);
fp                546 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static int bnx2x_alloc_rx_sge(struct bnx2x *bp, struct bnx2x_fastpath *fp,
fp                549 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct sw_rx_page *sw_buf = &fp->rx_page_ring[index];
fp                550 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct eth_rx_sge *sge = &fp->rx_sge_ring[index];
fp                551 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x_alloc_pool *pool = &fp->page_pool;
fp                585 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static int bnx2x_fill_frag_skb(struct bnx2x *bp, struct bnx2x_fastpath *fp,
fp                600 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	if (fp->mode == TPA_MODE_GRO) {
fp                627 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		if (fp->mode == TPA_MODE_GRO)
fp                632 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		rx_pg = &fp->rx_page_ring[sge_idx];
fp                637 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		err = bnx2x_alloc_rx_sge(bp, fp, sge_idx, GFP_ATOMIC);
fp                639 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			bnx2x_fp_qstats(bp, fp)->rx_skb_alloc_failed++;
fp                647 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		if (fp->mode == TPA_MODE_LRO)
fp                675 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static void bnx2x_frag_free(const struct bnx2x_fastpath *fp, void *data)
fp                677 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	if (fp->rx_frag_size)
fp                683 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static void *bnx2x_frag_alloc(const struct bnx2x_fastpath *fp, gfp_t gfp_mask)
fp                685 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	if (fp->rx_frag_size) {
fp                690 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		return napi_alloc_frag(fp->rx_frag_size);
fp                693 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	return kmalloc(fp->rx_buf_size + NET_SKB_PAD, gfp_mask);
fp                730 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static void bnx2x_gro_receive(struct bnx2x *bp, struct bnx2x_fastpath *fp,
fp                749 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	skb_record_rx_queue(skb, fp->rx_queue);
fp                750 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	napi_gro_receive(&fp->napi, skb);
fp                753 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static void bnx2x_tpa_stop(struct bnx2x *bp, struct bnx2x_fastpath *fp,
fp                775 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	new_data = bnx2x_frag_alloc(fp, GFP_ATOMIC);
fp                780 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			 fp->rx_buf_size, DMA_FROM_DEVICE);
fp                782 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		skb = build_skb(data, fp->rx_frag_size);
fp                786 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		if (pad + len > fp->rx_buf_size) {
fp                788 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				  pad, len, fp->rx_buf_size);
fp                801 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		if (!bnx2x_fill_frag_skb(bp, fp, tpa_info, pages,
fp                805 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			bnx2x_gro_receive(bp, fp, skb);
fp                818 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_frag_free(fp, new_data);
fp                823 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	bnx2x_fp_stats(bp, fp)->eth_q_stats.rx_skb_alloc_failed++;
fp                826 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static int bnx2x_alloc_rx_data(struct bnx2x *bp, struct bnx2x_fastpath *fp,
fp                830 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct sw_rx_bd *rx_buf = &fp->rx_buf_ring[index];
fp                831 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct eth_rx_bd *rx_bd = &fp->rx_desc_ring[index];
fp                834 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	data = bnx2x_frag_alloc(fp, gfp_mask);
fp                839 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				 fp->rx_buf_size,
fp                842 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_frag_free(fp, data);
fp                858 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				 struct bnx2x_fastpath *fp,
fp                880 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static int bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget)
fp                882 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x *bp = fp->bp;
fp                896 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	bd_cons = fp->rx_bd_cons;
fp                897 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	bd_prod = fp->rx_bd_prod;
fp                899 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	sw_comp_cons = fp->rx_comp_cons;
fp                900 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	sw_comp_prod = fp->rx_comp_prod;
fp                903 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	cqe = &fp->rx_comp_ring[comp_ring_cons];
fp                907 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	   "queue[%d]: sw_comp_cons %u\n", fp->index, sw_comp_cons);
fp                952 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			bnx2x_sp_event(fp, cqe);
fp                956 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		rx_buf = &fp->rx_buf_ring[bd_cons];
fp                964 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			if (fp->mode == TPA_MODE_DISABLED &&
fp                977 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				bnx2x_tpa_start(fp, queue,
fp                984 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			tpa_info = &fp->tpa_info[queue];
fp                992 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			if (fp->mode == TPA_MODE_GRO)
fp                999 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			bnx2x_tpa_stop(bp, fp, tpa_info, pages,
fp               1006 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			bnx2x_update_sge_prod(fp, pages, &cqe->end_agg_cqe);
fp               1023 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			bnx2x_fp_qstats(bp, fp)->rx_err_discard_pkt++;
fp               1032 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			skb = napi_alloc_skb(&fp->napi, len);
fp               1036 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				bnx2x_fp_qstats(bp, fp)->rx_skb_alloc_failed++;
fp               1040 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			bnx2x_reuse_rx_data(fp, bd_cons, bd_prod);
fp               1042 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			if (likely(bnx2x_alloc_rx_data(bp, fp, bd_prod,
fp               1046 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 						 fp->rx_buf_size,
fp               1048 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				skb = build_skb(data, fp->rx_frag_size);
fp               1050 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 					bnx2x_frag_free(fp, data);
fp               1051 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 					bnx2x_fp_qstats(bp, fp)->
fp               1059 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				bnx2x_fp_qstats(bp, fp)->rx_skb_alloc_failed++;
fp               1061 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				bnx2x_reuse_rx_data(fp, bd_cons, bd_prod);
fp               1076 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			bnx2x_csum_validate(skb, cqe, fp,
fp               1077 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 					    bnx2x_fp_qstats(bp, fp));
fp               1079 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		skb_record_rx_queue(skb, fp->rx_queue);
fp               1091 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		napi_gro_receive(&fp->napi, skb);
fp               1110 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		cqe = &fp->rx_comp_ring[comp_ring_cons];
fp               1114 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	fp->rx_bd_cons = bd_cons;
fp               1115 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	fp->rx_bd_prod = bd_prod_fw;
fp               1116 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	fp->rx_comp_cons = sw_comp_cons;
fp               1117 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	fp->rx_comp_prod = sw_comp_prod;
fp               1120 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	bnx2x_update_rx_prod(bp, fp, bd_prod_fw, sw_comp_prod,
fp               1121 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			     fp->rx_sge_prod);
fp               1128 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x_fastpath *fp = fp_cookie;
fp               1129 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x *bp = fp->bp;
fp               1134 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	   fp->index, fp->fw_sb_id, fp->igu_sb_id);
fp               1136 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	bnx2x_ack_sb(bp, fp->igu_sb_id, USTORM_ID, 0, IGU_INT_DISABLE, 0);
fp               1144 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	for_each_cos_in_tx_queue(fp, cos)
fp               1145 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		prefetch(fp->txdata_ptr[cos]->tx_cons_sb);
fp               1147 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	prefetch(&fp->sb_running_index[SM_RX_ID]);
fp               1148 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	napi_schedule_irqoff(&bnx2x_fp(bp, fp->index, napi));
fp               1337 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static void bnx2x_set_next_page_sgl(struct bnx2x_fastpath *fp)
fp               1344 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		sge = &fp->rx_sge_ring[RX_SGE_CNT * i - 2];
fp               1346 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			cpu_to_le32(U64_HI(fp->rx_sge_mapping +
fp               1350 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			cpu_to_le32(U64_LO(fp->rx_sge_mapping +
fp               1356 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				struct bnx2x_fastpath *fp, int last)
fp               1361 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		struct bnx2x_agg_info *tpa_info = &fp->tpa_info[i];
fp               1372 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 					 fp->rx_buf_size, DMA_FROM_DEVICE);
fp               1373 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_frag_free(fp, data);
fp               1383 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		struct bnx2x_fastpath *fp = &bp->fp[j];
fp               1385 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->rx_bd_cons = 0;
fp               1392 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_update_rx_prod(bp, fp, fp->rx_bd_prod, fp->rx_comp_prod,
fp               1393 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				     fp->rx_sge_prod);
fp               1405 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		struct bnx2x_fastpath *fp = &bp->fp[j];
fp               1408 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		   "mtu %d  rx_buf_size %d\n", bp->dev->mtu, fp->rx_buf_size);
fp               1410 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		if (fp->mode != TPA_MODE_DISABLED) {
fp               1414 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 					&fp->tpa_info[i];
fp               1419 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 					bnx2x_frag_alloc(fp, GFP_KERNEL);
fp               1423 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 					bnx2x_free_tpa_pool(bp, fp, i);
fp               1424 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 					fp->mode = TPA_MODE_DISABLED;
fp               1432 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			bnx2x_set_next_page_sgl(fp);
fp               1435 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			bnx2x_init_sge_ring_bit_mask(fp);
fp               1441 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				if (bnx2x_alloc_rx_sge(bp, fp, ring_prod,
fp               1448 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 					bnx2x_free_rx_sge_range(bp, fp,
fp               1450 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 					bnx2x_free_tpa_pool(bp, fp,
fp               1452 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 					fp->mode = TPA_MODE_DISABLED;
fp               1459 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			fp->rx_sge_prod = ring_prod;
fp               1464 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		struct bnx2x_fastpath *fp = &bp->fp[j];
fp               1466 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->rx_bd_cons = 0;
fp               1473 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_update_rx_prod(bp, fp, fp->rx_bd_prod, fp->rx_comp_prod,
fp               1474 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				     fp->rx_sge_prod);
fp               1482 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			       U64_LO(fp->rx_comp_mapping));
fp               1485 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			       U64_HI(fp->rx_comp_mapping));
fp               1490 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static void bnx2x_free_tx_skbs_queue(struct bnx2x_fastpath *fp)
fp               1493 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x *bp = fp->bp;
fp               1495 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	for_each_cos_in_tx_queue(fp, cos) {
fp               1496 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos];
fp               1519 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_free_tx_skbs_queue(&bp->fp[i]);
fp               1528 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_free_tx_skbs_queue(&bp->fp[i]);
fp               1532 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static void bnx2x_free_rx_bds(struct bnx2x_fastpath *fp)
fp               1534 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x *bp = fp->bp;
fp               1538 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	if (fp->rx_buf_ring == NULL)
fp               1542 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		struct sw_rx_bd *rx_buf = &fp->rx_buf_ring[i];
fp               1549 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				 fp->rx_buf_size, DMA_FROM_DEVICE);
fp               1552 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_frag_free(fp, data);
fp               1561 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_free_rx_bds(&bp->fp[j]);
fp               1570 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		struct bnx2x_fastpath *fp = &bp->fp[j];
fp               1572 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_free_rx_bds(fp);
fp               1574 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		if (fp->mode != TPA_MODE_DISABLED)
fp               1575 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			bnx2x_free_tpa_pool(bp, fp, MAX_AGG_QS(bp));
fp               1641 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		free_irq(bp->msix_table[offset++].vector, &bp->fp[i]);
fp               1763 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		struct bnx2x_fastpath *fp = &bp->fp[i];
fp               1764 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		snprintf(fp->name, sizeof(fp->name), "%s-fp-%d",
fp               1768 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				 bnx2x_msix_fp_int, 0, fp->name, fp);
fp               2013 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		struct bnx2x_fastpath *fp = &bp->fp[i];
fp               2027 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->rx_buf_size = BNX2X_FW_RX_ALIGN_START +
fp               2032 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->rx_buf_size = SKB_DATA_ALIGN(fp->rx_buf_size);
fp               2034 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		if (fp->rx_buf_size + NET_SKB_PAD <= PAGE_SIZE)
fp               2035 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			fp->rx_frag_size = fp->rx_buf_size + NET_SKB_PAD;
fp               2037 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			fp->rx_frag_size = 0;
fp               2051 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			bp->fp->cl_id +
fp               2458 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x_fastpath *fp = &bp->fp[index];
fp               2460 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct napi_struct orig_napi = fp->napi;
fp               2461 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x_agg_info *orig_tpa_info = fp->tpa_info;
fp               2464 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	if (fp->tpa_info)
fp               2465 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		memset(fp->tpa_info, 0, ETH_MAX_AGGREGATION_QUEUES_E1H_E2 *
fp               2467 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	memset(fp, 0, sizeof(*fp));
fp               2470 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	fp->napi = orig_napi;
fp               2471 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	fp->tpa_info = orig_tpa_info;
fp               2472 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	fp->bp = bp;
fp               2473 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	fp->index = index;
fp               2474 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	if (IS_ETH_FP(fp))
fp               2475 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->max_cos = bp->max_cos;
fp               2478 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->max_cos = 1;
fp               2481 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	if (IS_FCOE_FP(fp))
fp               2482 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->txdata_ptr[0] = &bp->bnx2x_txq[FCOE_TXQ_IDX(bp)];
fp               2483 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	if (IS_ETH_FP(fp))
fp               2484 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		for_each_cos_in_tx_queue(fp, cos)
fp               2485 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			fp->txdata_ptr[cos] = &bp->bnx2x_txq[cos *
fp               2492 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->mode = TPA_MODE_LRO;
fp               2494 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->mode = TPA_MODE_GRO;
fp               2496 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->mode = TPA_MODE_DISABLED;
fp               2501 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	if (bp->disable_tpa || IS_FCOE_FP(fp))
fp               2502 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->mode = TPA_MODE_DISABLED;
fp               2565 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			rc = bnx2x_setup_queue(bp, &bp->fp[i], 0);
fp               2792 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			rc = bnx2x_setup_queue(bp, &bp->fp[i], false);
fp               2794 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			rc = bnx2x_vfpf_setup_q(bp, &bp->fp[i], false);
fp               2815 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		rc = bnx2x_vfpf_config_mac(bp, bp->dev->dev_addr, bp->fp->index,
fp               2930 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_free_rx_sge_range(bp, bp->fp + i, NUM_RX_SGE);
fp               2963 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		struct bnx2x_fastpath *fp = &bp->fp[i];
fp               2965 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		for_each_cos_in_tx_queue(fp, cos)
fp               2966 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			rc = bnx2x_clean_tx_queue(bp, fp->txdata_ptr[cos]);
fp               3113 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_free_rx_sge_range(bp, bp->fp + i, NUM_RX_SGE);
fp               3214 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x_fastpath *fp = container_of(napi, struct bnx2x_fastpath,
fp               3216 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x *bp = fp->bp;
fp               3226 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	for_each_cos_in_tx_queue(fp, cos)
fp               3227 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		if (bnx2x_tx_queue_has_work(fp->txdata_ptr[cos]))
fp               3228 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			bnx2x_tx_int(bp, fp->txdata_ptr[cos]);
fp               3230 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	rx_work_done = (bnx2x_has_rx_work(fp)) ? bnx2x_rx_int(fp, budget) : 0;
fp               3237 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		if (IS_FCOE_FP(fp)) {
fp               3240 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			bnx2x_update_fpsb_idx(fp);
fp               3256 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			if (!(bnx2x_has_rx_work(fp) || bnx2x_has_tx_work(fp))) {
fp               3260 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 					   "Update index to %d\n", fp->fp_hc_idx);
fp               3261 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 					bnx2x_ack_sb(bp, fp->igu_sb_id, USTORM_ID,
fp               3262 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 						     le16_to_cpu(fp->fp_hc_idx),
fp               4349 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x_fastpath *fp = &bp->fp[fp_index];
fp               4356 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->status_blk_mapping = 0;
fp               4373 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_free_rx_bds(fp);
fp               4396 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		for_each_cos_in_tx_queue(fp, cos) {
fp               4397 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos];
fp               4443 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static int bnx2x_alloc_rx_bds(struct bnx2x_fastpath *fp,
fp               4446 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x *bp = fp->bp;
fp               4450 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	fp->rx_comp_cons = 0;
fp               4457 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		if (bnx2x_alloc_rx_data(bp, fp, ring_prod, GFP_KERNEL) < 0) {
fp               4468 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			  i - failure_cnt, fp->index);
fp               4470 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	fp->rx_bd_prod = ring_prod;
fp               4472 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	fp->rx_comp_prod = min_t(u16, NUM_RCQ_RINGS*RCQ_DESC_CNT,
fp               4475 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	bnx2x_fp_stats(bp, fp)->eth_q_stats.rx_skb_alloc_failed += failure_cnt;
fp               4480 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static void bnx2x_set_next_page_rx_cq(struct bnx2x_fastpath *fp)
fp               4488 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			&fp->rx_comp_ring[RCQ_DESC_CNT * i - 1];
fp               4490 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			cpu_to_le32(U64_HI(fp->rx_comp_mapping +
fp               4493 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			cpu_to_le32(U64_LO(fp->rx_comp_mapping +
fp               4501 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x_fastpath *fp = &bp->fp[index];
fp               4560 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		for_each_cos_in_tx_queue(fp, cos) {
fp               4561 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos];
fp               4611 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_set_next_page_rx_bd(fp);
fp               4614 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bnx2x_set_next_page_rx_cq(fp);
fp               4617 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		ring_size = bnx2x_alloc_rx_bds(fp, rx_ring_size);
fp               4632 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	if (ring_size < (fp->mode == TPA_MODE_DISABLED ?
fp               4700 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		kfree(bp->fp[i].tpa_info);
fp               4701 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	kfree(bp->fp);
fp               4711 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	struct bnx2x_fastpath *fp;
fp               4732 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	fp = kcalloc(bp->fp_array_size, sizeof(*fp), GFP_KERNEL);
fp               4733 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	if (!fp)
fp               4736 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp[i].tpa_info =
fp               4739 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		if (!(fp[i].tpa_info))
fp               4743 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	bp->fp = fp;
fp                128 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h int bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp,
fp                436 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h void bnx2x_sp_event(struct bnx2x_fastpath *fp, union eth_rx_cqe *rr_cqe);
fp                506 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 					struct bnx2x_fastpath *fp,
fp                528 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 		REG_WR_RELAXED(bp, fp->ustorm_rx_prods_offset + i * 4,
fp                533 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	   fp->index, bd_prod, rx_comp_prod, rx_sge_prod);
fp                632 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h static inline void bnx2x_update_fpsb_idx(struct bnx2x_fastpath *fp)
fp                635 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	fp->fp_hc_idx = fp->sb_running_index[SM_RX_ID];
fp                767 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h static inline bool bnx2x_has_tx_work(struct bnx2x_fastpath *fp)
fp                770 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	for_each_cos_in_tx_queue(fp, cos)
fp                771 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 		if (bnx2x_tx_queue_has_work(fp->txdata_ptr[cos]))
fp                778 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h static inline int bnx2x_has_rx_work(struct bnx2x_fastpath *fp)
fp                784 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	cons = RCQ_BD(fp->rx_comp_cons);
fp                785 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	cqe = &fp->rx_comp_ring[cons];
fp                802 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 				     struct bnx2x_fastpath *fp, u16 index)
fp                804 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	struct sw_rx_page *sw_buf = &fp->rx_page_ring[index];
fp                806 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	struct eth_rx_sge *sge = &fp->rx_sge_ring[index];
fp                858 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h static inline void bnx2x_clear_sge_mask_next_elems(struct bnx2x_fastpath *fp)
fp                866 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 			BIT_VEC64_CLEAR_BIT(fp->sge_mask, idx);
fp                872 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h static inline void bnx2x_init_sge_ring_bit_mask(struct bnx2x_fastpath *fp)
fp                875 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	memset(fp->sge_mask, 0xff, sizeof(fp->sge_mask));
fp                881 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	bnx2x_clear_sge_mask_next_elems(fp);
fp                889 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h static inline void bnx2x_reuse_rx_data(struct bnx2x_fastpath *fp,
fp                892 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	struct sw_rx_bd *cons_rx_buf = &fp->rx_buf_ring[cons];
fp                893 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	struct sw_rx_bd *prod_rx_buf = &fp->rx_buf_ring[prod];
fp                894 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	struct eth_rx_bd *cons_bd = &fp->rx_desc_ring[cons];
fp                895 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	struct eth_rx_bd *prod_bd = &fp->rx_desc_ring[prod];
fp               1016 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 					   struct bnx2x_fastpath *fp, int last)
fp               1020 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	if (fp->mode == TPA_MODE_DISABLED)
fp               1024 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 		bnx2x_free_rx_sge(bp, fp, i);
fp               1026 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	bnx2x_free_rx_mem_pool(bp, &fp->page_pool);
fp               1029 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h static inline void bnx2x_set_next_page_rx_bd(struct bnx2x_fastpath *fp)
fp               1036 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 		rx_bd = &fp->rx_desc_ring[RX_DESC_CNT * i - 2];
fp               1038 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 			cpu_to_le32(U64_HI(fp->rx_desc_mapping +
fp               1041 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 			cpu_to_le32(U64_LO(fp->rx_desc_mapping +
fp               1049 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h static inline u8 bnx2x_stats_id(struct bnx2x_fastpath *fp)
fp               1051 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	struct bnx2x *bp = fp->bp;
fp               1054 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 		if (IS_FCOE_FP(fp))
fp               1056 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 		return fp->cl_id;
fp               1058 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	return fp->cl_id + BP_PORT(bp) * FP_SB_MAX_E1x;
fp               1061 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h static inline void bnx2x_init_vlan_mac_fp_objs(struct bnx2x_fastpath *fp,
fp               1064 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	struct bnx2x *bp = fp->bp;
fp               1067 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	bnx2x_init_mac_obj(bp, &bnx2x_sp_obj(bp, fp).mac_obj, fp->cl_id,
fp               1068 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 			   fp->cid, BP_FUNC(bp), bnx2x_sp(bp, mac_rdata),
fp               1075 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 		bnx2x_init_vlan_obj(bp, &bnx2x_sp_obj(bp, fp).vlan_obj,
fp               1076 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 				    fp->cl_id, fp->cid, BP_FUNC(bp),
fp               1130 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	bnx2x_init_mcast_obj(bp, &bp->mcast_obj, bp->fp->cl_id, bp->fp->cid,
fp               1145 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	bnx2x_init_rss_config_obj(bp, &bp->rss_conf_obj, bp->fp->cl_id,
fp               1146 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 				  bp->fp->cid, BP_FUNC(bp), BP_FUNC(bp),
fp               1155 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h static inline u8 bnx2x_fp_qzone_id(struct bnx2x_fastpath *fp)
fp               1157 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	if (CHIP_IS_E1x(fp->bp))
fp               1158 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 		return fp->cl_id + BP_PORT(fp->bp) * ETH_MAX_RX_CLIENTS_E1H;
fp               1160 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 		return fp->cl_id;
fp               1166 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 				     struct bnx2x_fastpath *fp)
fp               1171 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	txdata->parent_fp = fp;
fp               1172 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	txdata->tx_ring_size = IS_FCOE_FP(fp) ? MAX_TX_AVAIL : bp->tx_ring_size;
fp               2497 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	struct bnx2x_fastpath *fp_rx = &bp->fp[0];
fp               2498 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	struct bnx2x_fastpath *fp_tx = &bp->fp[0];
fp               3512 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 		indir[i] = ind_table[i] - bp->fp->cl_id;
fp               3543 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 		bp->rss_conf_obj.ind_table[i] = indir[i] + bp->fp->cl_id;
fp                291 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static u32 bnx2x_rx_ustorm_prods_offset(struct bnx2x_fastpath *fp);
fp                958 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		struct bnx2x_fastpath *fp = &bp->fp[i];
fp                974 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		if (!bp->fp)
fp                977 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		if (!fp->rx_cons_sb)
fp                982 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			  i, fp->rx_bd_prod, fp->rx_bd_cons,
fp                983 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			  fp->rx_comp_prod,
fp                984 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			  fp->rx_comp_cons, le16_to_cpu(*fp->rx_cons_sb));
fp                986 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			  fp->rx_sge_prod, fp->last_max_sge,
fp                987 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			  le16_to_cpu(fp->fp_hc_idx));
fp                990 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		for_each_cos_in_tx_queue(fp, cos)
fp                992 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			if (!fp->txdata_ptr[cos])
fp                995 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			txdata = *fp->txdata_ptr[cos];
fp               1012 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		if (IS_FCOE_FP(fp))
fp               1018 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			       fp->sb_running_index[j],
fp               1024 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			       fp->sb_index_values[j],
fp               1042 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 				CSTORM_STATUS_BLOCK_DATA_OFFSET(fp->fw_sb_id) +
fp               1099 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		struct bnx2x_fastpath *fp = &bp->fp[i];
fp               1101 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		if (!bp->fp)
fp               1104 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		if (!fp->rx_cons_sb)
fp               1107 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		start = RX_BD(le16_to_cpu(*fp->rx_cons_sb) - 10);
fp               1108 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		end = RX_BD(le16_to_cpu(*fp->rx_cons_sb) + 503);
fp               1110 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			u32 *rx_bd = (u32 *)&fp->rx_desc_ring[j];
fp               1111 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			struct sw_rx_bd *sw_bd = &fp->rx_buf_ring[j];
fp               1117 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		start = RX_SGE(fp->rx_sge_prod);
fp               1118 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		end = RX_SGE(fp->last_max_sge);
fp               1120 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			u32 *rx_sge = (u32 *)&fp->rx_sge_ring[j];
fp               1121 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			struct sw_rx_page *sw_page = &fp->rx_page_ring[j];
fp               1127 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		start = RCQ_BD(fp->rx_comp_cons - 10);
fp               1128 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		end = RCQ_BD(fp->rx_comp_cons + 503);
fp               1130 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			u32 *cqe = (u32 *)&fp->rx_comp_ring[j];
fp               1139 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		struct bnx2x_fastpath *fp = &bp->fp[i];
fp               1141 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		if (!bp->fp)
fp               1144 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		for_each_cos_in_tx_queue(fp, cos) {
fp               1145 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos];
fp               1147 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			if (!fp->txdata_ptr[cos])
fp               1794 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c void bnx2x_sp_event(struct bnx2x_fastpath *fp, union eth_rx_cqe *rr_cqe)
fp               1796 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	struct bnx2x *bp = fp->bp;
fp               1800 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	struct bnx2x_queue_sp_obj *q_obj = &bnx2x_sp_obj(bp, fp).q_obj;
fp               1804 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	   fp->index, cid, command, bp->state,
fp               1852 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			  command, fp->index);
fp               1878 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if ((drv_cmd == BNX2X_Q_CMD_UPDATE) && (IS_FCOE_FP(fp)) &&
fp               1923 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		struct bnx2x_fastpath *fp = &bp->fp[i];
fp               1925 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		mask = 0x2 << (fp->index + CNIC_SUPPORT(bp));
fp               1928 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			for_each_cos_in_tx_queue(fp, cos)
fp               1929 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 				prefetch(fp->txdata_ptr[cos]->tx_cons_sb);
fp               1930 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			prefetch(&fp->sb_running_index[SM_RX_ID]);
fp               1931 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			napi_schedule_irqoff(&bnx2x_fp(bp, fp->index, napi));
fp               3085 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 					    struct bnx2x_fastpath *fp,
fp               3116 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 				       struct bnx2x_fastpath *fp,
fp               3125 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (IS_FCOE_FP(fp)) {
fp               3131 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (fp->mode != TPA_MODE_DISABLED) {
fp               3134 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		if (fp->mode == TPA_MODE_GRO)
fp               3150 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	return flags | bnx2x_get_common_flags(bp, fp, true);
fp               3154 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	struct bnx2x_fastpath *fp, struct bnx2x_general_setup_params *gen_init,
fp               3157 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	gen_init->stat_id = bnx2x_stats_id(fp);
fp               3158 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	gen_init->spcl_id = fp->cl_id;
fp               3161 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (IS_FCOE_FP(fp))
fp               3172 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	struct bnx2x_fastpath *fp, struct rxq_pause_params *pause,
fp               3179 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (fp->mode != TPA_MODE_DISABLED) {
fp               3218 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	rxq_init->dscr_map = fp->rx_desc_mapping;
fp               3219 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	rxq_init->sge_map = fp->rx_sge_mapping;
fp               3220 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	rxq_init->rcq_map = fp->rx_comp_mapping;
fp               3221 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	rxq_init->rcq_np_map = fp->rx_comp_mapping + BCM_PAGE_SIZE;
fp               3226 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	rxq_init->buf_sz = fp->rx_buf_size - BNX2X_FW_RX_ALIGN_START -
fp               3229 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	rxq_init->cl_qzone_id = fp->cl_qzone_id;
fp               3244 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	rxq_init->fw_sb_id = fp->fw_sb_id;
fp               3246 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (IS_FCOE_FP(fp))
fp               3260 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	struct bnx2x_fastpath *fp, struct bnx2x_txq_setup_params *txq_init,
fp               3263 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	txq_init->dscr_map = fp->txdata_ptr[cos]->tx_desc_mapping;
fp               3266 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	txq_init->fw_sb_id = fp->fw_sb_id;
fp               3274 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (IS_FCOE_FP(fp)) {
fp               5368 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	struct bnx2x_fastpath *fp;
fp               5395 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		fp = &bp->fp[q];
fp               5396 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		queue_params.q_obj = &bnx2x_sp_obj(bp, fp).q_obj;
fp               5406 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		fp = &bp->fp[FCOE_IDX(bp)];
fp               5407 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		queue_params.q_obj = &bnx2x_sp_obj(bp, fp).q_obj;
fp               5687 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			struct bnx2x_fastpath *fp = bnx2x_fcoe_fp(bp);
fp               5690 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			    (bnx2x_has_rx_work(fp) || bnx2x_has_tx_work(fp))) {
fp               6103 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		bnx2x_update_coalesce_sb(bp, bp->fp[i].fw_sb_id,
fp               6278 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	return bnx2x_set_q_rx_mode(bp, bp->fp->cl_id, rx_mode_flags,
fp               6322 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static inline u8 bnx2x_fp_igu_sb_id(struct bnx2x_fastpath *fp)
fp               6324 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	return fp->bp->igu_base_sb + fp->index + CNIC_SUPPORT(fp->bp);
fp               6327 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static inline u8 bnx2x_fp_fw_sb_id(struct bnx2x_fastpath *fp)
fp               6329 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	return fp->bp->base_fw_ndsb + fp->index + CNIC_SUPPORT(fp->bp);
fp               6332 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static u8 bnx2x_fp_cl_id(struct bnx2x_fastpath *fp)
fp               6334 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (CHIP_IS_E1x(fp->bp))
fp               6335 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		return BP_L_ID(fp->bp) + fp->index;
fp               6337 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		return bnx2x_fp_igu_sb_id(fp);
fp               6342 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	struct bnx2x_fastpath *fp = &bp->fp[fp_idx];
fp               6346 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	fp->rx_queue = fp_idx;
fp               6347 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	fp->cid = fp_idx;
fp               6348 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	fp->cl_id = bnx2x_fp_cl_id(fp);
fp               6349 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	fp->fw_sb_id = bnx2x_fp_fw_sb_id(fp);
fp               6350 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	fp->igu_sb_id = bnx2x_fp_igu_sb_id(fp);
fp               6352 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	fp->cl_qzone_id  = bnx2x_fp_qzone_id(fp);
fp               6355 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	fp->ustorm_rx_prods_offset = bnx2x_rx_ustorm_prods_offset(fp);
fp               6358 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	fp->rx_cons_sb = BNX2X_RX_SB_INDEX;
fp               6364 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	BUG_ON(fp->max_cos > BNX2X_MULTI_TX_COS);
fp               6367 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	for_each_cos_in_tx_queue(fp, cos) {
fp               6368 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		bnx2x_init_txdata(bp, fp->txdata_ptr[cos],
fp               6369 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 				  CID_COS_TO_TX_ONLY_CID(fp->cid, cos, bp),
fp               6370 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 				  FP_COS_TO_TXQ(fp, cos, bp),
fp               6371 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 				  BNX2X_TX_SB_INDEX_BASE + cos, fp);
fp               6372 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		cids[cos] = fp->txdata_ptr[cos]->cid;
fp               6379 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	bnx2x_init_sb(bp, fp->status_blk_mapping, BNX2X_VF_ID_INVALID, false,
fp               6380 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		      fp->fw_sb_id, fp->igu_sb_id);
fp               6381 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	bnx2x_update_fpsb_idx(fp);
fp               6382 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	bnx2x_init_queue_obj(bp, &bnx2x_sp_obj(bp, fp).q_obj, fp->cl_id, cids,
fp               6383 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			     fp->max_cos, BP_FUNC(bp), bnx2x_sp(bp, q_rdata),
fp               6389 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	bnx2x_init_vlan_mac_fp_objs(fp, BNX2X_OBJ_TYPE_RX_TX);
fp               6393 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	   fp_idx, bp, fp->status_blk.e2_sb, fp->cl_id, fp->fw_sb_id,
fp               6394 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	   fp->igu_sb_id);
fp               6431 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		bnx2x_init_tx_ring_one(bp->fp[i].txdata_ptr[0]);
fp               6440 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		for_each_cos_in_tx_queue(&bp->fp[i], cos)
fp               6441 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			bnx2x_init_tx_ring_one(bp->fp[i].txdata_ptr[cos]);
fp               6446 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	struct bnx2x_fastpath *fp = bnx2x_fcoe_fp(bp);
fp               6457 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			  fp->cid, FCOE_TXQ_IDX(bp), BNX2X_FCOE_L2_TX_INDEX,
fp               6458 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			  fp);
fp               6460 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	DP(NETIF_MSG_IFUP, "created fcoe tx data (fp index %d)\n", fp->index);
fp               6463 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	bnx2x_fcoe(bp, cl_qzone_id) = bnx2x_fp_qzone_id(fp);
fp               6466 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		bnx2x_rx_ustorm_prods_offset(fp);
fp               6473 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	BUG_ON(fp->max_cos != 1);
fp               6475 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	bnx2x_init_queue_obj(bp, &bnx2x_sp_obj(bp, fp).q_obj, fp->cl_id,
fp               6476 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			     &fp->cid, 1, BP_FUNC(bp), bnx2x_sp(bp, q_rdata),
fp               6481 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	   fp->index, bp, fp->status_blk.e2_sb, fp->cl_id, fp->fw_sb_id,
fp               6482 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	   fp->igu_sb_id);
fp               8546 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 					     bp->fp->index, set);
fp               8553 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		return bnx2x_setup_queue(bp, &bp->fp[0], true);
fp               8555 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		return bnx2x_vfpf_setup_q(bp, &bp->fp[0], true);
fp               8719 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	struct bnx2x_fastpath *fp, struct bnx2x_queue_init_params *init_params)
fp               8725 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (!IS_FCOE_FP(fp)) {
fp               8743 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			fp->fw_sb_id;
fp               8754 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	init_params->max_cos = fp->max_cos;
fp               8757 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	    fp->index, init_params->max_cos);
fp               8761 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		cxt_index = fp->txdata_ptr[cos]->cid / ILT_PAGE_CIDS;
fp               8762 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		cxt_offset = fp->txdata_ptr[cos]->cid - (cxt_index *
fp               8769 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static int bnx2x_setup_tx_only(struct bnx2x *bp, struct bnx2x_fastpath *fp,
fp               8780 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	tx_only_params->flags = bnx2x_get_common_flags(bp, fp, false);
fp               8786 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	bnx2x_pf_q_prep_general(bp, fp, &tx_only_params->gen_params, tx_index);
fp               8789 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	bnx2x_pf_tx_q_prep(bp, fp, &tx_only_params->txq_params, tx_index);
fp               8812 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp,
fp               8823 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	DP(NETIF_MSG_IFUP, "setting up queue %d\n", fp->index);
fp               8826 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (!IS_FCOE_FP(fp))
fp               8827 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		bnx2x_ack_sb(bp, fp->igu_sb_id, USTORM_ID, 0,
fp               8830 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	q_params.q_obj = &bnx2x_sp_obj(bp, fp).q_obj;
fp               8835 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	bnx2x_pf_q_prep_init(bp, fp, &q_params.params.init);
fp               8843 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		BNX2X_ERR("Queue(%d) INIT failed\n", fp->index);
fp               8853 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	setup_params->flags = bnx2x_get_q_flags(bp, fp, leading);
fp               8856 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	bnx2x_pf_q_prep_general(bp, fp, &setup_params->gen_params,
fp               8859 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	bnx2x_pf_rx_q_prep(bp, fp, &setup_params->pause_params,
fp               8862 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	bnx2x_pf_tx_q_prep(bp, fp, &setup_params->txq_params,
fp               8868 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (IS_FCOE_FP(fp))
fp               8874 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		BNX2X_ERR("Queue(%d) SETUP failed\n", fp->index);
fp               8880 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	      tx_index < fp->max_cos;
fp               8884 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		rc = bnx2x_setup_tx_only(bp, fp, &q_params,
fp               8888 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 				  fp->index, tx_index);
fp               8898 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	struct bnx2x_fastpath *fp = &bp->fp[index];
fp               8903 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	DP(NETIF_MSG_IFDOWN, "stopping queue %d cid %d\n", index, fp->cid);
fp               8905 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	q_params.q_obj = &bnx2x_sp_obj(bp, fp).q_obj;
fp               8911 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	     tx_index < fp->max_cos;
fp               8915 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		txdata = fp->txdata_ptr[tx_index];
fp               8976 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		struct bnx2x_fastpath *fp = &bp->fp[i];
fp               8978 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			   CSTORM_STATUS_BLOCK_DATA_STATE_OFFSET(fp->fw_sb_id),
fp               9325 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		struct bnx2x_fastpath *fp = &bp->fp[i];
fp               9327 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		for_each_cos_in_tx_queue(fp, cos)
fp               9328 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			rc = bnx2x_clean_tx_queue(bp, fp->txdata_ptr[cos]);
fp               13007 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		rc = bnx2x_vfpf_update_vlan(bp, vid, bp->fp->index, add);
fp               14394 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			bnx2x_free_rx_sge_range(bp, bp->fp + i, NUM_RX_SGE);
fp               15191 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static u32 bnx2x_rx_ustorm_prods_offset(struct bnx2x_fastpath *fp)
fp               15193 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	struct bnx2x *bp = fp->bp;
fp               15197 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		return bnx2x_vf_ustorm_prods_offset(bp, fp);
fp               15199 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		offset += USTORM_RX_PRODS_E2_OFFSET(fp->cl_qzone_id);
fp               15201 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		offset += USTORM_RX_PRODS_E1X_OFFSET(BP_PORT(bp), fp->cl_id);
fp               15364 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		struct bnx2x_fastpath *fp = &bp->fp[i];
fp               15367 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		q_params.q_obj = &bnx2x_sp_obj(bp, fp).q_obj;
fp               2380 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 				      &bnx2x_sp_obj(bp, &bp->fp[0]).q_obj) !=
fp               2399 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 		struct bnx2x_fastpath *fp = &bp->fp[i];
fp               2403 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 		q_params.q_obj = &bnx2x_sp_obj(bp, fp).q_obj;
fp               2406 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 		     tx_idx < fp->max_cos; tx_idx++) {
fp                510 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h int bnx2x_vfpf_setup_q(struct bnx2x *bp, struct bnx2x_fastpath *fp,
fp                525 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h 					       struct bnx2x_fastpath *fp)
fp                528 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h 		bp->acquire_resp.resc.hw_qid[fp->index] *
fp                588 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h static inline int bnx2x_vfpf_setup_q(struct bnx2x *bp, struct bnx2x_fastpath *fp, bool is_leading) {return 0; }
fp                601 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h 					       struct bnx2x_fastpath *fp) {return 0; }
fp                935 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 		struct bnx2x_fastpath *fp = &bp->fp[i];
fp                940 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 			&bnx2x_fp_stats(bp, fp)->old_tclient;
fp                945 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 			&bnx2x_fp_stats(bp, fp)->old_uclient;
fp                950 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 			&bnx2x_fp_stats(bp, fp)->old_xclient;
fp                952 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 			&bnx2x_fp_stats(bp, fp)->eth_q_stats;
fp                954 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 			&bnx2x_fp_stats(bp, fp)->eth_q_stats_old;
fp               1529 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 		cur_query_entry->index = bnx2x_stats_id(&bp->fp[i]);
fp               1546 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 		cur_query_entry->index = bnx2x_stats_id(&bp->fp[FCOE_IDX(bp)]);
fp               1664 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 		struct bnx2x_fastpath *fp = &bp->fp[i];
fp               1666 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 			&bnx2x_fp_stats(bp, fp)->eth_q_stats;
fp               1668 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 			&bnx2x_fp_stats(bp, fp)->eth_q_stats_old;
fp                507 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	bnx2x_vfpf_config_mac(bp, bp->dev->dev_addr, bp->fp->index, false);
fp                600 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c int bnx2x_vfpf_setup_q(struct bnx2x *bp, struct bnx2x_fastpath *fp,
fp                605 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	u8 fp_idx = fp->index;
fp                613 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	if (fp->mode != TPA_MODE_DISABLED) {
fp                616 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 		if (fp->mode == TPA_MODE_GRO)
fp                634 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	req->rxq.rcq_addr = fp->rx_comp_mapping;
fp                635 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	req->rxq.rcq_np_addr = fp->rx_comp_mapping + BCM_PAGE_SIZE;
fp                636 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	req->rxq.rxq_addr = fp->rx_desc_mapping;
fp                637 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	req->rxq.sge_addr = fp->rx_sge_mapping;
fp                642 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	req->rxq.buf_sz = fp->rx_buf_size;
fp                654 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	req->txq.txq_addr = fp->txdata_ptr[FIRST_TX_COS_INDEX]->tx_desc_mapping;
fp                966 drivers/net/ethernet/chelsio/cxgb3/sge.c 	const skb_frag_t *fp, *end;
fp                980 drivers/net/ethernet/chelsio/cxgb3/sge.c 	for (fp = si->frags; fp < end; fp++) {
fp                981 drivers/net/ethernet/chelsio/cxgb3/sge.c 		*addr = skb_frag_dma_map(&pdev->dev, fp, 0, skb_frag_size(fp),
fp                990 drivers/net/ethernet/chelsio/cxgb3/sge.c 	while (fp-- > si->frags)
fp                991 drivers/net/ethernet/chelsio/cxgb3/sge.c 		dma_unmap_page(&pdev->dev, *--addr, skb_frag_size(fp),
fp               1119 drivers/net/ethernet/chelsio/cxgb3/sge.c 		const u64 *fp = (const u64 *)sgl;
fp               1130 drivers/net/ethernet/chelsio/cxgb3/sge.c 			memcpy(&d->flit[flits], fp, avail * sizeof(*fp));
fp               1136 drivers/net/ethernet/chelsio/cxgb3/sge.c 			fp += avail;
fp                655 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 	fwr->fp = htons(f->fs.val.fport);
fp                244 drivers/net/ethernet/chelsio/cxgb4/sge.c 	const skb_frag_t *fp, *end;
fp                254 drivers/net/ethernet/chelsio/cxgb4/sge.c 	for (fp = si->frags; fp < end; fp++) {
fp                255 drivers/net/ethernet/chelsio/cxgb4/sge.c 		*++addr = skb_frag_dma_map(dev, fp, 0, skb_frag_size(fp),
fp                263 drivers/net/ethernet/chelsio/cxgb4/sge.c 	while (fp-- > si->frags)
fp                264 drivers/net/ethernet/chelsio/cxgb4/sge.c 		dma_unmap_page(dev, *--addr, skb_frag_size(fp), DMA_TO_DEVICE);
fp                276 drivers/net/ethernet/chelsio/cxgb4/sge.c 	const skb_frag_t *fp, *end;
fp                283 drivers/net/ethernet/chelsio/cxgb4/sge.c 	for (fp = si->frags; fp < end; fp++)
fp                284 drivers/net/ethernet/chelsio/cxgb4/sge.c 		dma_unmap_page(dev, *addr++, skb_frag_size(fp), DMA_TO_DEVICE);
fp               3154 drivers/net/ethernet/chelsio/cxgb4/sge.c 			struct page_frag *fp;
fp               3169 drivers/net/ethernet/chelsio/cxgb4/sge.c 			for (frags = 0, fp = si.frags; ; frags++, fp++) {
fp               3172 drivers/net/ethernet/chelsio/cxgb4/sge.c 				fp->page = rsd->page;
fp               3173 drivers/net/ethernet/chelsio/cxgb4/sge.c 				fp->offset = q->offset;
fp               3174 drivers/net/ethernet/chelsio/cxgb4/sge.c 				fp->size = min(bufsz, len);
fp               3175 drivers/net/ethernet/chelsio/cxgb4/sge.c 				len -= fp->size;
fp               3189 drivers/net/ethernet/chelsio/cxgb4/sge.c 						fp->size, DMA_FROM_DEVICE);
fp               3198 drivers/net/ethernet/chelsio/cxgb4/sge.c 				q->offset += ALIGN(fp->size, s->fl_align);
fp                201 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h 	__be16 fp;
fp                233 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h 	__be16 fp;
fp                280 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	const skb_frag_t *fp, *end;
fp                289 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	for (fp = si->frags; fp < end; fp++) {
fp                290 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		*++addr = skb_frag_dma_map(dev, fp, 0, skb_frag_size(fp),
fp                298 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	while (fp-- > si->frags)
fp                299 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		dma_unmap_page(dev, *--addr, skb_frag_size(fp), DMA_TO_DEVICE);
fp               1779 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			struct page_frag *fp;
fp               1807 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			for (frag = 0, fp = gl.frags; /**/; frag++, fp++) {
fp               1812 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 				fp->page = sdesc->page;
fp               1813 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 				fp->offset = rspq->offset;
fp               1814 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 				fp->size = min(bufsz, len);
fp               1815 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 				len -= fp->size;
fp               1829 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 						fp->size, DMA_FROM_DEVICE);
fp               1840 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 				rspq->offset += ALIGN(fp->size, s->fl_align);
fp                161 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c 	struct fw_page *fp;
fp                167 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c 	fp = list_entry(dev->priv.free_list.next, struct fw_page, list);
fp                168 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c 	n = find_first_bit(&fp->bitmask, 8 * sizeof(fp->bitmask));
fp                173 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c 	clear_bit(n, &fp->bitmask);
fp                174 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c 	fp->free_count--;
fp                175 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c 	if (!fp->free_count)
fp                176 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c 		list_del(&fp->list);
fp                178 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c 	*addr = fp->addr + n * MLX5_ADAPTER_PAGE_SIZE;
fp                297 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	bool fp;
fp                312 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	fp = (dbi % MLX5_BFREGS_PER_UAR) >= MLX5_NON_FP_BFREGS_PER_UAR;
fp                313 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	if (fp) {
fp               11047 drivers/net/ethernet/qlogic/qed/qed_hsi.h 	struct fcoe_mstorm_fcoe_conn_st_ctx_fp fp;
fp                426 drivers/net/ethernet/qlogic/qede/qede.h #define QEDE_FP_TC0_TXQ(fp)	(&((fp)->txq[0]))
fp                524 drivers/net/ethernet/qlogic/qede/qede.h void qede_tx_log_print(struct qede_dev *edev, struct qede_fastpath *fp);
fp                258 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	struct qede_fastpath *fp;
fp                263 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 		fp = &edev->fp_array[i];
fp                265 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 		if (fp->type & QEDE_FASTPATH_RX)
fp                266 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			qede_get_strings_stats_rxq(edev, fp->rxq, &buf);
fp                268 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 		if (fp->type & QEDE_FASTPATH_XDP)
fp                269 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			qede_get_strings_stats_txq(edev, fp->xdp_tx, &buf);
fp                271 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 		if (fp->type & QEDE_FASTPATH_TX) {
fp                276 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 							   &fp->txq[cos], &buf);
fp                335 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	struct qede_fastpath *fp;
fp                344 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 		fp = &edev->fp_array[i];
fp                346 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 		if (fp->type & QEDE_FASTPATH_RX)
fp                347 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			qede_get_ethtool_stats_rxq(fp->rxq, &buf);
fp                349 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 		if (fp->type & QEDE_FASTPATH_XDP)
fp                350 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			qede_get_ethtool_stats_txq(fp->xdp_tx, &buf);
fp                352 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 		if (fp->type & QEDE_FASTPATH_TX) {
fp                356 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 				qede_get_ethtool_stats_txq(&fp->txq[cos], &buf);
fp                815 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	struct qede_fastpath *fp;
fp                825 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			fp = &edev->fp_array[i];
fp                827 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			if (fp->type & QEDE_FASTPATH_RX) {
fp                828 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 				rx_handle = fp->rxq->handle;
fp                842 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			fp = &edev->fp_array[i];
fp                848 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			if (fp->type & QEDE_FASTPATH_TX) {
fp                849 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 				txq = QEDE_FP_TC0_TXQ(fp);
fp                873 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	struct qede_fastpath *fp;
fp                894 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 		fp = &edev->fp_array[i];
fp                899 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 							     fp->rxq->handle);
fp                914 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			txq = QEDE_FP_TC0_TXQ(fp);
fp               1500 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 		struct qede_fastpath *fp = &edev->fp_array[i];
fp               1502 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 		if (fp->type & QEDE_FASTPATH_TX) {
fp               1503 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			txq = QEDE_FP_TC0_TXQ(fp);
fp                330 drivers/net/ethernet/qlogic/qede/qede_fp.c static int qede_xdp_xmit(struct qede_dev *edev, struct qede_fastpath *fp,
fp                333 drivers/net/ethernet/qlogic/qede/qede_fp.c 	struct qede_tx_queue *txq = fp->xdp_tx;
fp                370 drivers/net/ethernet/qlogic/qede/qede_fp.c 	fp->xdp_xmit = 1;
fp                615 drivers/net/ethernet/qlogic/qede/qede_fp.c 				    struct qede_fastpath *fp,
fp                622 drivers/net/ethernet/qlogic/qede/qede_fp.c 	napi_gro_receive(&fp->napi, skb);
fp                892 drivers/net/ethernet/qlogic/qede/qede_fp.c 			     struct qede_fastpath *fp,
fp                927 drivers/net/ethernet/qlogic/qede/qede_fp.c 	skb_record_rx_queue(skb, fp->rxq->rxq_id);
fp                928 drivers/net/ethernet/qlogic/qede/qede_fp.c 	qede_skb_receive(edev, fp, fp->rxq, skb, vlan_tag);
fp                947 drivers/net/ethernet/qlogic/qede/qede_fp.c 			struct qede_fastpath *fp,
fp                950 drivers/net/ethernet/qlogic/qede/qede_fp.c 	struct qede_rx_queue *rxq = fp->rxq;
fp                991 drivers/net/ethernet/qlogic/qede/qede_fp.c 	qede_gro_receive(edev, fp, skb, tpa_info->vlan_tag);
fp               1054 drivers/net/ethernet/qlogic/qede/qede_fp.c 			struct qede_fastpath *fp,
fp               1100 drivers/net/ethernet/qlogic/qede/qede_fp.c 		if (qede_xdp_xmit(edev, fp, bd, *data_offset, *len)) {
fp               1182 drivers/net/ethernet/qlogic/qede/qede_fp.c 				   struct qede_fastpath *fp,
fp               1195 drivers/net/ethernet/qlogic/qede/qede_fp.c 		return qede_tpa_end(edev, fp, &cqe->fast_path_tpa_end);
fp               1202 drivers/net/ethernet/qlogic/qede/qede_fp.c 			       struct qede_fastpath *fp,
fp               1224 drivers/net/ethernet/qlogic/qede/qede_fp.c 		edev->ops->eth_cqe_completion(edev->cdev, fp->id, sp_cqe);
fp               1230 drivers/net/ethernet/qlogic/qede/qede_fp.c 		return qede_rx_process_tpa_cqe(edev, fp, rxq, cqe, cqe_type);
fp               1244 drivers/net/ethernet/qlogic/qede/qede_fp.c 		if (!qede_rx_xdp(edev, fp, rxq, xdp_prog, bd, fp_cqe,
fp               1292 drivers/net/ethernet/qlogic/qede/qede_fp.c 	qede_skb_receive(edev, fp, rxq, skb, le16_to_cpu(fp_cqe->vlan_tag));
fp               1297 drivers/net/ethernet/qlogic/qede/qede_fp.c static int qede_rx_int(struct qede_fastpath *fp, int budget)
fp               1299 drivers/net/ethernet/qlogic/qede/qede_fp.c 	struct qede_rx_queue *rxq = fp->rxq;
fp               1300 drivers/net/ethernet/qlogic/qede/qede_fp.c 	struct qede_dev *edev = fp->edev;
fp               1316 drivers/net/ethernet/qlogic/qede/qede_fp.c 		rcv_pkts += qede_rx_process_cqe(edev, fp, rxq);
fp               1335 drivers/net/ethernet/qlogic/qede/qede_fp.c static bool qede_poll_is_more_work(struct qede_fastpath *fp)
fp               1337 drivers/net/ethernet/qlogic/qede/qede_fp.c 	qed_sb_update_sb_idx(fp->sb_info);
fp               1351 drivers/net/ethernet/qlogic/qede/qede_fp.c 	if (likely(fp->type & QEDE_FASTPATH_RX))
fp               1352 drivers/net/ethernet/qlogic/qede/qede_fp.c 		if (qede_has_rx_work(fp->rxq))
fp               1355 drivers/net/ethernet/qlogic/qede/qede_fp.c 	if (fp->type & QEDE_FASTPATH_XDP)
fp               1356 drivers/net/ethernet/qlogic/qede/qede_fp.c 		if (qede_txq_has_work(fp->xdp_tx))
fp               1359 drivers/net/ethernet/qlogic/qede/qede_fp.c 	if (likely(fp->type & QEDE_FASTPATH_TX)) {
fp               1362 drivers/net/ethernet/qlogic/qede/qede_fp.c 		for_each_cos_in_txq(fp->edev, cos) {
fp               1363 drivers/net/ethernet/qlogic/qede/qede_fp.c 			if (qede_txq_has_work(&fp->txq[cos]))
fp               1376 drivers/net/ethernet/qlogic/qede/qede_fp.c 	struct qede_fastpath *fp = container_of(napi, struct qede_fastpath,
fp               1378 drivers/net/ethernet/qlogic/qede/qede_fp.c 	struct qede_dev *edev = fp->edev;
fp               1381 drivers/net/ethernet/qlogic/qede/qede_fp.c 	if (likely(fp->type & QEDE_FASTPATH_TX)) {
fp               1384 drivers/net/ethernet/qlogic/qede/qede_fp.c 		for_each_cos_in_txq(fp->edev, cos) {
fp               1385 drivers/net/ethernet/qlogic/qede/qede_fp.c 			if (qede_txq_has_work(&fp->txq[cos]))
fp               1386 drivers/net/ethernet/qlogic/qede/qede_fp.c 				qede_tx_int(edev, &fp->txq[cos]);
fp               1390 drivers/net/ethernet/qlogic/qede/qede_fp.c 	if ((fp->type & QEDE_FASTPATH_XDP) && qede_txq_has_work(fp->xdp_tx))
fp               1391 drivers/net/ethernet/qlogic/qede/qede_fp.c 		qede_xdp_tx_int(edev, fp->xdp_tx);
fp               1393 drivers/net/ethernet/qlogic/qede/qede_fp.c 	rx_work_done = (likely(fp->type & QEDE_FASTPATH_RX) &&
fp               1394 drivers/net/ethernet/qlogic/qede/qede_fp.c 			qede_has_rx_work(fp->rxq)) ?
fp               1395 drivers/net/ethernet/qlogic/qede/qede_fp.c 			qede_rx_int(fp, budget) : 0;
fp               1397 drivers/net/ethernet/qlogic/qede/qede_fp.c 		if (!qede_poll_is_more_work(fp)) {
fp               1401 drivers/net/ethernet/qlogic/qede/qede_fp.c 			qed_sb_ack(fp->sb_info, IGU_INT_ENABLE, 1);
fp               1407 drivers/net/ethernet/qlogic/qede/qede_fp.c 	if (fp->xdp_xmit) {
fp               1408 drivers/net/ethernet/qlogic/qede/qede_fp.c 		u16 xdp_prod = qed_chain_get_prod_idx(&fp->xdp_tx->tx_pbl);
fp               1410 drivers/net/ethernet/qlogic/qede/qede_fp.c 		fp->xdp_xmit = 0;
fp               1411 drivers/net/ethernet/qlogic/qede/qede_fp.c 		fp->xdp_tx->tx_db.data.bd_prod = cpu_to_le16(xdp_prod);
fp               1412 drivers/net/ethernet/qlogic/qede/qede_fp.c 		qede_update_tx_producer(fp->xdp_tx);
fp               1420 drivers/net/ethernet/qlogic/qede/qede_fp.c 	struct qede_fastpath *fp = fp_cookie;
fp               1422 drivers/net/ethernet/qlogic/qede/qede_fp.c 	qed_sb_ack(fp->sb_info, IGU_INT_DISABLE, 0 /*do not update*/);
fp               1424 drivers/net/ethernet/qlogic/qede/qede_fp.c 	napi_schedule_irqoff(&fp->napi);
fp                841 drivers/net/ethernet/qlogic/qede/qede_main.c 		struct qede_fastpath *fp;
fp                845 drivers/net/ethernet/qlogic/qede/qede_main.c 			fp = &edev->fp_array[i];
fp                847 drivers/net/ethernet/qlogic/qede/qede_main.c 			kfree(fp->sb_info);
fp                852 drivers/net/ethernet/qlogic/qede/qede_main.c 			if (fp->rxq && xdp_rxq_info_is_reg(&fp->rxq->xdp_rxq))
fp                853 drivers/net/ethernet/qlogic/qede/qede_main.c 				xdp_rxq_info_unreg(&fp->rxq->xdp_rxq);
fp                854 drivers/net/ethernet/qlogic/qede/qede_main.c 			kfree(fp->rxq);
fp                855 drivers/net/ethernet/qlogic/qede/qede_main.c 			kfree(fp->xdp_tx);
fp                856 drivers/net/ethernet/qlogic/qede/qede_main.c 			kfree(fp->txq);
fp                869 drivers/net/ethernet/qlogic/qede/qede_main.c 	struct qede_fastpath *fp;
fp                887 drivers/net/ethernet/qlogic/qede/qede_main.c 		fp = &edev->fp_array[i];
fp                889 drivers/net/ethernet/qlogic/qede/qede_main.c 		fp->sb_info = kzalloc(sizeof(*fp->sb_info), GFP_KERNEL);
fp                890 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (!fp->sb_info) {
fp                896 drivers/net/ethernet/qlogic/qede/qede_main.c 			fp->type = QEDE_FASTPATH_RX;
fp                899 drivers/net/ethernet/qlogic/qede/qede_main.c 			fp->type = QEDE_FASTPATH_COMBINED;
fp                902 drivers/net/ethernet/qlogic/qede/qede_main.c 			fp->type = QEDE_FASTPATH_TX;
fp                905 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_TX) {
fp                906 drivers/net/ethernet/qlogic/qede/qede_main.c 			fp->txq = kcalloc(edev->dev_info.num_tc,
fp                907 drivers/net/ethernet/qlogic/qede/qede_main.c 					  sizeof(*fp->txq), GFP_KERNEL);
fp                908 drivers/net/ethernet/qlogic/qede/qede_main.c 			if (!fp->txq)
fp                912 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_RX) {
fp                913 drivers/net/ethernet/qlogic/qede/qede_main.c 			fp->rxq = kzalloc(sizeof(*fp->rxq), GFP_KERNEL);
fp                914 drivers/net/ethernet/qlogic/qede/qede_main.c 			if (!fp->rxq)
fp                918 drivers/net/ethernet/qlogic/qede/qede_main.c 				fp->xdp_tx = kzalloc(sizeof(*fp->xdp_tx),
fp                920 drivers/net/ethernet/qlogic/qede/qede_main.c 				if (!fp->xdp_tx)
fp                922 drivers/net/ethernet/qlogic/qede/qede_main.c 				fp->type |= QEDE_FASTPATH_XDP;
fp               1512 drivers/net/ethernet/qlogic/qede/qede_main.c static void qede_free_mem_fp(struct qede_dev *edev, struct qede_fastpath *fp)
fp               1514 drivers/net/ethernet/qlogic/qede/qede_main.c 	qede_free_mem_sb(edev, fp->sb_info, fp->id);
fp               1516 drivers/net/ethernet/qlogic/qede/qede_main.c 	if (fp->type & QEDE_FASTPATH_RX)
fp               1517 drivers/net/ethernet/qlogic/qede/qede_main.c 		qede_free_mem_rxq(edev, fp->rxq);
fp               1519 drivers/net/ethernet/qlogic/qede/qede_main.c 	if (fp->type & QEDE_FASTPATH_XDP)
fp               1520 drivers/net/ethernet/qlogic/qede/qede_main.c 		qede_free_mem_txq(edev, fp->xdp_tx);
fp               1522 drivers/net/ethernet/qlogic/qede/qede_main.c 	if (fp->type & QEDE_FASTPATH_TX) {
fp               1526 drivers/net/ethernet/qlogic/qede/qede_main.c 			qede_free_mem_txq(edev, &fp->txq[cos]);
fp               1533 drivers/net/ethernet/qlogic/qede/qede_main.c static int qede_alloc_mem_fp(struct qede_dev *edev, struct qede_fastpath *fp)
fp               1537 drivers/net/ethernet/qlogic/qede/qede_main.c 	rc = qede_alloc_mem_sb(edev, fp->sb_info, fp->id);
fp               1541 drivers/net/ethernet/qlogic/qede/qede_main.c 	if (fp->type & QEDE_FASTPATH_RX) {
fp               1542 drivers/net/ethernet/qlogic/qede/qede_main.c 		rc = qede_alloc_mem_rxq(edev, fp->rxq);
fp               1547 drivers/net/ethernet/qlogic/qede/qede_main.c 	if (fp->type & QEDE_FASTPATH_XDP) {
fp               1548 drivers/net/ethernet/qlogic/qede/qede_main.c 		rc = qede_alloc_mem_txq(edev, fp->xdp_tx);
fp               1553 drivers/net/ethernet/qlogic/qede/qede_main.c 	if (fp->type & QEDE_FASTPATH_TX) {
fp               1557 drivers/net/ethernet/qlogic/qede/qede_main.c 			rc = qede_alloc_mem_txq(edev, &fp->txq[cos]);
fp               1572 drivers/net/ethernet/qlogic/qede/qede_main.c 		struct qede_fastpath *fp = &edev->fp_array[i];
fp               1574 drivers/net/ethernet/qlogic/qede/qede_main.c 		qede_free_mem_fp(edev, fp);
fp               1584 drivers/net/ethernet/qlogic/qede/qede_main.c 		struct qede_fastpath *fp = &edev->fp_array[queue_id];
fp               1586 drivers/net/ethernet/qlogic/qede/qede_main.c 		rc = qede_alloc_mem_fp(edev, fp);
fp               1642 drivers/net/ethernet/qlogic/qede/qede_main.c 				struct qede_fastpath *fp;
fp               1644 drivers/net/ethernet/qlogic/qede/qede_main.c 				fp = &edev->fp_array[i];
fp               1646 drivers/net/ethernet/qlogic/qede/qede_main.c 						    &fp->txq[cos]);
fp               1655 drivers/net/ethernet/qlogic/qede/qede_main.c 	struct qede_fastpath *fp;
fp               1658 drivers/net/ethernet/qlogic/qede/qede_main.c 		fp = &edev->fp_array[queue_id];
fp               1660 drivers/net/ethernet/qlogic/qede/qede_main.c 		fp->edev = edev;
fp               1661 drivers/net/ethernet/qlogic/qede/qede_main.c 		fp->id = queue_id;
fp               1663 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_XDP) {
fp               1664 drivers/net/ethernet/qlogic/qede/qede_main.c 			fp->xdp_tx->index = QEDE_TXQ_IDX_TO_XDP(edev,
fp               1666 drivers/net/ethernet/qlogic/qede/qede_main.c 			fp->xdp_tx->is_xdp = 1;
fp               1669 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_RX) {
fp               1670 drivers/net/ethernet/qlogic/qede/qede_main.c 			fp->rxq->rxq_id = rxq_index++;
fp               1673 drivers/net/ethernet/qlogic/qede/qede_main.c 			if (fp->type & QEDE_FASTPATH_XDP)
fp               1674 drivers/net/ethernet/qlogic/qede/qede_main.c 				fp->rxq->data_direction = DMA_BIDIRECTIONAL;
fp               1676 drivers/net/ethernet/qlogic/qede/qede_main.c 				fp->rxq->data_direction = DMA_FROM_DEVICE;
fp               1677 drivers/net/ethernet/qlogic/qede/qede_main.c 			fp->rxq->dev = &edev->pdev->dev;
fp               1680 drivers/net/ethernet/qlogic/qede/qede_main.c 			WARN_ON(xdp_rxq_info_reg(&fp->rxq->xdp_rxq, edev->ndev,
fp               1681 drivers/net/ethernet/qlogic/qede/qede_main.c 						 fp->rxq->rxq_id) < 0);
fp               1684 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_TX) {
fp               1688 drivers/net/ethernet/qlogic/qede/qede_main.c 				struct qede_tx_queue *txq = &fp->txq[cos];
fp               1704 drivers/net/ethernet/qlogic/qede/qede_main.c 		snprintf(fp->name, sizeof(fp->name), "%s-fp-%d",
fp               1784 drivers/net/ethernet/qlogic/qede/qede_main.c 		struct qede_fastpath *fp = &edev->fp_array[i];
fp               1786 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (edev->ndev->rx_cpu_rmap && (fp->type & QEDE_FASTPATH_RX)) {
fp               1815 drivers/net/ethernet/qlogic/qede/qede_main.c 	struct qede_fastpath *fp = (struct qede_fastpath *)cookie;
fp               1817 drivers/net/ethernet/qlogic/qede/qede_main.c 	napi_schedule_irqoff(&fp->napi);
fp               1895 drivers/net/ethernet/qlogic/qede/qede_main.c 	struct qede_fastpath *fp;
fp               1918 drivers/net/ethernet/qlogic/qede/qede_main.c 		fp = &edev->fp_array[i];
fp               1920 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_TX) {
fp               1924 drivers/net/ethernet/qlogic/qede/qede_main.c 				rc = qede_drain_txq(edev, &fp->txq[cos], true);
fp               1930 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_XDP) {
fp               1931 drivers/net/ethernet/qlogic/qede/qede_main.c 			rc = qede_drain_txq(edev, fp->xdp_tx, true);
fp               1939 drivers/net/ethernet/qlogic/qede/qede_main.c 		fp = &edev->fp_array[i];
fp               1942 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_TX) {
fp               1946 drivers/net/ethernet/qlogic/qede/qede_main.c 				rc = qede_stop_txq(edev, &fp->txq[cos], i);
fp               1953 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_RX) {
fp               1954 drivers/net/ethernet/qlogic/qede/qede_main.c 			rc = edev->ops->q_rx_stop(cdev, i, fp->rxq->handle);
fp               1962 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_XDP) {
fp               1963 drivers/net/ethernet/qlogic/qede/qede_main.c 			rc = qede_stop_txq(edev, fp->xdp_tx, i);
fp               1967 drivers/net/ethernet/qlogic/qede/qede_main.c 			bpf_prog_put(fp->rxq->xdp_prog);
fp               1980 drivers/net/ethernet/qlogic/qede/qede_main.c 			  struct qede_fastpath *fp,
fp               2000 drivers/net/ethernet/qlogic/qede/qede_main.c 	params.p_sb = fp->sb_info;
fp               2015 drivers/net/ethernet/qlogic/qede/qede_main.c 	txq->hw_cons_ptr = &fp->sb_info->sb_virt->pi_array[sb_idx];
fp               2072 drivers/net/ethernet/qlogic/qede/qede_main.c 		struct qede_fastpath *fp = &edev->fp_array[i];
fp               2076 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_RX) {
fp               2078 drivers/net/ethernet/qlogic/qede/qede_main.c 			struct qede_rx_queue *rxq = fp->rxq;
fp               2085 drivers/net/ethernet/qlogic/qede/qede_main.c 			q_params.p_sb = fp->sb_info;
fp               2107 drivers/net/ethernet/qlogic/qede/qede_main.c 			val = &fp->sb_info->sb_virt->pi_array[RX_PI];
fp               2113 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_XDP) {
fp               2114 drivers/net/ethernet/qlogic/qede/qede_main.c 			rc = qede_start_txq(edev, fp, fp->xdp_tx, i, XDP_PI);
fp               2118 drivers/net/ethernet/qlogic/qede/qede_main.c 			fp->rxq->xdp_prog = bpf_prog_add(edev->xdp_prog, 1);
fp               2119 drivers/net/ethernet/qlogic/qede/qede_main.c 			if (IS_ERR(fp->rxq->xdp_prog)) {
fp               2120 drivers/net/ethernet/qlogic/qede/qede_main.c 				rc = PTR_ERR(fp->rxq->xdp_prog);
fp               2121 drivers/net/ethernet/qlogic/qede/qede_main.c 				fp->rxq->xdp_prog = NULL;
fp               2126 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_TX) {
fp               2130 drivers/net/ethernet/qlogic/qede/qede_main.c 				rc = qede_start_txq(edev, fp, &fp->txq[cos], i,
fp               2530 drivers/net/ethernet/qlogic/qede/qede_main.c 	struct qede_fastpath *fp;
fp               2556 drivers/net/ethernet/qlogic/qede/qede_main.c 		fp = &edev->fp_array[i];
fp               2557 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_TX) {
fp               2558 drivers/net/ethernet/qlogic/qede/qede_main.c 			struct qede_tx_queue *txq = QEDE_FP_TC0_TXQ(fp);
fp               2565 drivers/net/ethernet/qlogic/qede/qede_main.c 		if (fp->type & QEDE_FASTPATH_RX) {
fp               2566 drivers/net/ethernet/qlogic/qede/qede_main.c 			if (qede_has_rx_work(fp->rxq))
fp               2573 drivers/net/ethernet/qlogic/qede/qede_main.c 			if (le16_to_cpu(*fp->rxq->hw_cons_ptr) -
fp               2574 drivers/net/ethernet/qlogic/qede/qede_main.c 			    qed_chain_get_cons_idx(&fp->rxq->rx_comp_ring) >
fp                212 drivers/net/fddi/defza.c static inline void fza_regs_dump(struct fza_private *fp)
fp                214 drivers/net/fddi/defza.c 	pr_debug("%s: iomem registers:\n", fp->name);
fp                215 drivers/net/fddi/defza.c 	pr_debug(" reset:           0x%04x\n", readw_o(&fp->regs->reset));
fp                216 drivers/net/fddi/defza.c 	pr_debug(" interrupt event: 0x%04x\n", readw_u(&fp->regs->int_event));
fp                217 drivers/net/fddi/defza.c 	pr_debug(" status:          0x%04x\n", readw_u(&fp->regs->status));
fp                218 drivers/net/fddi/defza.c 	pr_debug(" interrupt mask:  0x%04x\n", readw_u(&fp->regs->int_mask));
fp                219 drivers/net/fddi/defza.c 	pr_debug(" control A:       0x%04x\n", readw_u(&fp->regs->control_a));
fp                220 drivers/net/fddi/defza.c 	pr_debug(" control B:       0x%04x\n", readw_u(&fp->regs->control_b));
fp                223 drivers/net/fddi/defza.c static inline void fza_do_reset(struct fza_private *fp)
fp                226 drivers/net/fddi/defza.c 	writew_o(FZA_RESET_INIT, &fp->regs->reset);
fp                227 drivers/net/fddi/defza.c 	readw_o(&fp->regs->reset);	/* Synchronize. */
fp                228 drivers/net/fddi/defza.c 	readw_o(&fp->regs->reset);	/* Read it back for a small delay. */
fp                229 drivers/net/fddi/defza.c 	writew_o(FZA_RESET_CLR, &fp->regs->reset);
fp                232 drivers/net/fddi/defza.c 	writew_o(fp->int_mask, &fp->regs->int_mask);
fp                233 drivers/net/fddi/defza.c 	readw_o(&fp->regs->int_mask);	/* Synchronize. */
fp                236 drivers/net/fddi/defza.c static inline void fza_do_shutdown(struct fza_private *fp)
fp                239 drivers/net/fddi/defza.c 	writew_o(FZA_CONTROL_B_IDLE, &fp->regs->control_b);
fp                242 drivers/net/fddi/defza.c 	writew_o(FZA_RESET_INIT, &fp->regs->reset);
fp                243 drivers/net/fddi/defza.c 	readw_o(&fp->regs->reset);	/* Synchronize. */
fp                244 drivers/net/fddi/defza.c 	writew_o(FZA_RESET_CLR, &fp->regs->reset);
fp                245 drivers/net/fddi/defza.c 	readw_o(&fp->regs->reset);	/* Synchronize. */
fp                248 drivers/net/fddi/defza.c static int fza_reset(struct fza_private *fp)
fp                254 drivers/net/fddi/defza.c 	pr_info("%s: resetting the board...\n", fp->name);
fp                256 drivers/net/fddi/defza.c 	spin_lock_irqsave(&fp->lock, flags);
fp                257 drivers/net/fddi/defza.c 	fp->state_chg_flag = 0;
fp                258 drivers/net/fddi/defza.c 	fza_do_reset(fp);
fp                259 drivers/net/fddi/defza.c 	spin_unlock_irqrestore(&fp->lock, flags);
fp                265 drivers/net/fddi/defza.c 	t = wait_event_timeout(fp->state_chg_wait, fp->state_chg_flag,
fp                267 drivers/net/fddi/defza.c 	status = readw_u(&fp->regs->status);
fp                269 drivers/net/fddi/defza.c 	if (fp->state_chg_flag == 0) {
fp                270 drivers/net/fddi/defza.c 		pr_err("%s: RESET timed out!, state %x\n", fp->name, state);
fp                275 drivers/net/fddi/defza.c 		       fp->name, state, FZA_STATUS_GET_TEST(status));
fp                278 drivers/net/fddi/defza.c 	pr_info("%s: OK\n", fp->name);
fp                279 drivers/net/fddi/defza.c 	pr_debug("%s: RESET: %lums elapsed\n", fp->name,
fp                288 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp                289 drivers/net/fddi/defza.c 	struct fza_ring_cmd __iomem *ring = fp->ring_cmd + fp->ring_cmd_index;
fp                295 drivers/net/fddi/defza.c 	old_mask = fp->int_mask;
fp                297 drivers/net/fddi/defza.c 	writew_u(new_mask, &fp->regs->int_mask);
fp                298 drivers/net/fddi/defza.c 	readw_o(&fp->regs->int_mask);			/* Synchronize. */
fp                299 drivers/net/fddi/defza.c 	fp->int_mask = new_mask;
fp                301 drivers/net/fddi/defza.c 	buf = fp->mmio + readl_u(&ring->buffer);
fp                305 drivers/net/fddi/defza.c 		pr_warn("%s: command buffer full, command: %u!\n", fp->name,
fp                336 drivers/net/fddi/defza.c 		writel_u(fp->t_max, &buf->param.t_max);
fp                337 drivers/net/fddi/defza.c 		writel_u(fp->t_req, &buf->param.t_req);
fp                338 drivers/net/fddi/defza.c 		writel_u(fp->tvx, &buf->param.tvx);
fp                339 drivers/net/fddi/defza.c 		writel_u(fp->lem_threshold, &buf->param.lem_threshold);
fp                340 drivers/net/fddi/defza.c 		fza_writes(&fp->station_id, &buf->param.station_id,
fp                343 drivers/net/fddi/defza.c 		writel_u(fp->rtoken_timeout / 12500,
fp                345 drivers/net/fddi/defza.c 		writel_u(fp->ring_purger, &buf->param.ring_purger);
fp                367 drivers/net/fddi/defza.c 	writew_o(FZA_CONTROL_A_CMD_POLL, &fp->regs->control_a);
fp                369 drivers/net/fddi/defza.c 	fp->ring_cmd_index = (fp->ring_cmd_index + 1) % FZA_RING_CMD_SIZE;
fp                371 drivers/net/fddi/defza.c 	fp->int_mask = old_mask;
fp                372 drivers/net/fddi/defza.c 	writew_u(fp->int_mask, &fp->regs->int_mask);
fp                380 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp                386 drivers/net/fddi/defza.c 	spin_lock_irqsave(&fp->lock, flags);
fp                387 drivers/net/fddi/defza.c 	fp->cmd_done_flag = 0;
fp                389 drivers/net/fddi/defza.c 	spin_unlock_irqrestore(&fp->lock, flags);
fp                397 drivers/net/fddi/defza.c 	t = wait_event_timeout(fp->cmd_done_wait, fp->cmd_done_flag, 3 * HZ);
fp                398 drivers/net/fddi/defza.c 	if (fp->cmd_done_flag == 0) {
fp                399 drivers/net/fddi/defza.c 		pr_err("%s: INIT command timed out!, state %x\n", fp->name,
fp                400 drivers/net/fddi/defza.c 		       FZA_STATUS_GET_STATE(readw_u(&fp->regs->status)));
fp                406 drivers/net/fddi/defza.c 		       fp->name, stat,
fp                407 drivers/net/fddi/defza.c 		       FZA_STATUS_GET_STATE(readw_u(&fp->regs->status)));
fp                410 drivers/net/fddi/defza.c 	pr_debug("%s: INIT: %lums elapsed\n", fp->name,
fp                414 drivers/net/fddi/defza.c 		*init = fp->mmio + readl_u(&ring->buffer);
fp                418 drivers/net/fddi/defza.c static void fza_rx_init(struct fza_private *fp)
fp                424 drivers/net/fddi/defza.c 		writel_o(0, &fp->ring_hst_rx[i].rmc);
fp                425 drivers/net/fddi/defza.c 		writel_o((fp->rx_dma[i] + 0x1000) >> 9,
fp                426 drivers/net/fddi/defza.c 			 &fp->ring_hst_rx[i].buffer1);
fp                427 drivers/net/fddi/defza.c 		writel_o(fp->rx_dma[i] >> 9 | FZA_RING_OWN_FZA,
fp                428 drivers/net/fddi/defza.c 			 &fp->ring_hst_rx[i].buf0_own);
fp                446 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp                451 drivers/net/fddi/defza.c 	if (((((fp->ring_rmc_txd_index - 1 + fp->ring_rmc_tx_size) -
fp                452 drivers/net/fddi/defza.c 	       fp->ring_rmc_tx_index) % fp->ring_rmc_tx_size) *
fp                456 drivers/net/fddi/defza.c 	first = fp->ring_rmc_tx_index;
fp                465 drivers/net/fddi/defza.c 		i = fp->ring_rmc_tx_index;
fp                466 drivers/net/fddi/defza.c 		rmc_tx_ptr = &fp->buffer_tx[i];
fp                484 drivers/net/fddi/defza.c 		writel_o(rmc, &fp->ring_rmc_tx[i].rmc);
fp                485 drivers/net/fddi/defza.c 		writel_o(own, &fp->ring_rmc_tx[i].own);
fp                488 drivers/net/fddi/defza.c 		fp->ring_rmc_tx_index = (fp->ring_rmc_tx_index + 1) %
fp                489 drivers/net/fddi/defza.c 					fp->ring_rmc_tx_size;
fp                496 drivers/net/fddi/defza.c 	if (((((fp->ring_rmc_txd_index - 1 + fp->ring_rmc_tx_size) -
fp                497 drivers/net/fddi/defza.c 	       fp->ring_rmc_tx_index) % fp->ring_rmc_tx_size) *
fp                500 drivers/net/fddi/defza.c 		pr_debug("%s: queue stopped\n", fp->name);
fp                503 drivers/net/fddi/defza.c 	writel_o(FZA_RING_TX_OWN_RMC, &fp->ring_rmc_tx[first].own);
fp                506 drivers/net/fddi/defza.c 	writew_o(FZA_CONTROL_A_TX_POLL, &fp->regs->control_a);
fp                514 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp                519 drivers/net/fddi/defza.c 	i = fp->ring_smt_rx_index;
fp                520 drivers/net/fddi/defza.c 	own = readl_o(&fp->ring_smt_rx[i].own);
fp                524 drivers/net/fddi/defza.c 	smt_rx_ptr = fp->mmio + readl_u(&fp->ring_smt_rx[i].buffer);
fp                529 drivers/net/fddi/defza.c 	writel_o(rmc, &fp->ring_smt_rx[i].rmc);
fp                530 drivers/net/fddi/defza.c 	writel_o(FZA_RING_OWN_FZA, &fp->ring_smt_rx[i].own);
fp                532 drivers/net/fddi/defza.c 	fp->ring_smt_rx_index =
fp                533 drivers/net/fddi/defza.c 		(fp->ring_smt_rx_index + 1) % fp->ring_smt_rx_size;
fp                536 drivers/net/fddi/defza.c 	writew_o(FZA_CONTROL_A_SMT_RX_POLL, &fp->regs->control_a);
fp                543 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp                548 drivers/net/fddi/defza.c 		i = fp->ring_rmc_txd_index;
fp                549 drivers/net/fddi/defza.c 		if (i == fp->ring_rmc_tx_index)
fp                551 drivers/net/fddi/defza.c 		own = readl_o(&fp->ring_rmc_tx[i].own);
fp                555 drivers/net/fddi/defza.c 		rmc = readl_u(&fp->ring_rmc_tx[i].rmc);
fp                563 drivers/net/fddi/defza.c 				fp->stats.tx_packets++;
fp                564 drivers/net/fddi/defza.c 				fp->stats.tx_bytes += pkt_len;
fp                566 drivers/net/fddi/defza.c 				fp->stats.tx_errors++;
fp                571 drivers/net/fddi/defza.c 					fp->stats.tx_aborted_errors++;
fp                574 drivers/net/fddi/defza.c 					fp->stats.tx_fifo_errors++;
fp                583 drivers/net/fddi/defza.c 		fp->ring_rmc_txd_index = (fp->ring_rmc_txd_index + 1) %
fp                584 drivers/net/fddi/defza.c 					 fp->ring_rmc_tx_size;
fp                587 drivers/net/fddi/defza.c 	if (((((fp->ring_rmc_txd_index - 1 + fp->ring_rmc_tx_size) -
fp                588 drivers/net/fddi/defza.c 	       fp->ring_rmc_tx_index) % fp->ring_rmc_tx_size) *
fp                590 drivers/net/fddi/defza.c 		if (fp->queue_active) {
fp                592 drivers/net/fddi/defza.c 			pr_debug("%s: queue woken\n", fp->name);
fp                597 drivers/net/fddi/defza.c static inline int fza_rx_err(struct fza_private *fp,
fp                605 drivers/net/fddi/defza.c 		fp->stats.rx_errors++;
fp                613 drivers/net/fddi/defza.c 				fp->stats.rx_length_errors++;
fp                621 drivers/net/fddi/defza.c 			writew_o(FZA_CONTROL_A_HALT, &fp->regs->control_a);
fp                622 drivers/net/fddi/defza.c 			readw_o(&fp->regs->control_a);	/* Synchronize. */
fp                630 drivers/net/fddi/defza.c 				fp->stats.rx_crc_errors++;
fp                633 drivers/net/fddi/defza.c 				fp->stats.rx_frame_errors++;
fp                639 drivers/net/fddi/defza.c 			writew_o(FZA_CONTROL_A_HALT, &fp->regs->control_a);
fp                640 drivers/net/fddi/defza.c 			readw_o(&fp->regs->control_a);	/* Synchronize. */
fp                643 drivers/net/fddi/defza.c 			fp->stats.rx_frame_errors++;
fp                667 drivers/net/fddi/defza.c 		fp->stats.rx_errors++;
fp                668 drivers/net/fddi/defza.c 		fp->stats.rx_length_errors++;
fp                677 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp                686 drivers/net/fddi/defza.c 		i = fp->ring_hst_rx_index;
fp                687 drivers/net/fddi/defza.c 		own = readl_o(&fp->ring_hst_rx[i].buf0_own);
fp                691 drivers/net/fddi/defza.c 		rmc = readl_u(&fp->ring_hst_rx[i].rmc);
fp                692 drivers/net/fddi/defza.c 		skb = fp->rx_skbuff[i];
fp                693 drivers/net/fddi/defza.c 		dma = fp->rx_dma[i];
fp                703 drivers/net/fddi/defza.c 		dma_sync_single_for_cpu(fp->bdev,
fp                710 drivers/net/fddi/defza.c 		if (fza_rx_err(fp, rmc, fc))
fp                717 drivers/net/fddi/defza.c 			newdma = dma_map_single(fp->bdev, newskb->data,
fp                720 drivers/net/fddi/defza.c 			if (dma_mapping_error(fp->bdev, newdma)) {
fp                730 drivers/net/fddi/defza.c 			dma_unmap_single(fp->bdev, dma, FZA_RX_BUFFER_SIZE,
fp                744 drivers/net/fddi/defza.c 						 &fp->regs->control_a);
fp                756 drivers/net/fddi/defza.c 				fp->stats.rx_packets++;
fp                757 drivers/net/fddi/defza.c 				fp->stats.rx_bytes += pkt_len;
fp                759 drivers/net/fddi/defza.c 					fp->stats.multicast++;
fp                761 drivers/net/fddi/defza.c 				fp->stats.rx_dropped++;
fp                766 drivers/net/fddi/defza.c 			fp->rx_skbuff[i] = skb;
fp                767 drivers/net/fddi/defza.c 			fp->rx_dma[i] = dma;
fp                769 drivers/net/fddi/defza.c 			fp->stats.rx_dropped++;
fp                771 drivers/net/fddi/defza.c 				  fp->name);
fp                775 drivers/net/fddi/defza.c 		writel_o(0, &fp->ring_hst_rx[i].rmc);
fp                777 drivers/net/fddi/defza.c 		writel_o(buf, &fp->ring_hst_rx[i].buffer1);
fp                779 drivers/net/fddi/defza.c 		writel_o(buf, &fp->ring_hst_rx[i].buf0_own);
fp                780 drivers/net/fddi/defza.c 		fp->ring_hst_rx_index =
fp                781 drivers/net/fddi/defza.c 			(fp->ring_hst_rx_index + 1) % fp->ring_hst_rx_size;
fp                787 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp                793 drivers/net/fddi/defza.c 		i = fp->ring_smt_tx_index;
fp                794 drivers/net/fddi/defza.c 		own = readl_o(&fp->ring_smt_tx[i].own);
fp                798 drivers/net/fddi/defza.c 		smt_tx_ptr = fp->mmio + readl_u(&fp->ring_smt_tx[i].buffer);
fp                799 drivers/net/fddi/defza.c 		len = readl_u(&fp->ring_smt_tx[i].rmc) & FZA_RING_PBC_MASK;
fp                837 drivers/net/fddi/defza.c 		writel_o(FZA_RING_OWN_FZA, &fp->ring_smt_tx[i].own);
fp                838 drivers/net/fddi/defza.c 		fp->ring_smt_tx_index =
fp                839 drivers/net/fddi/defza.c 			(fp->ring_smt_tx_index + 1) % fp->ring_smt_tx_size;
fp                845 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp                850 drivers/net/fddi/defza.c 		i = fp->ring_uns_index;
fp                851 drivers/net/fddi/defza.c 		own = readl_o(&fp->ring_uns[i].own);
fp                855 drivers/net/fddi/defza.c 		if (readl_u(&fp->ring_uns[i].id) == FZA_RING_UNS_RX_OVER) {
fp                856 drivers/net/fddi/defza.c 			fp->stats.rx_errors++;
fp                857 drivers/net/fddi/defza.c 			fp->stats.rx_over_errors++;
fp                860 drivers/net/fddi/defza.c 		writel_o(FZA_RING_OWN_FZA, &fp->ring_uns[i].own);
fp                861 drivers/net/fddi/defza.c 		fp->ring_uns_index =
fp                862 drivers/net/fddi/defza.c 			(fp->ring_uns_index + 1) % FZA_RING_UNS_SIZE;
fp                868 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp                873 drivers/net/fddi/defza.c 	i = fp->ring_smt_tx_index;
fp                875 drivers/net/fddi/defza.c 		writel_o(FZA_RING_OWN_FZA, &fp->ring_smt_tx[i].own);
fp                876 drivers/net/fddi/defza.c 		fp->ring_smt_tx_index =
fp                877 drivers/net/fddi/defza.c 			(fp->ring_smt_tx_index + 1) % fp->ring_smt_tx_size;
fp                879 drivers/net/fddi/defza.c 	} while (i != fp->ring_smt_tx_index);
fp                882 drivers/net/fddi/defza.c 	i = fp->ring_rmc_tx_index;
fp                884 drivers/net/fddi/defza.c 		own = readl_o(&fp->ring_rmc_tx[i].own);
fp                886 drivers/net/fddi/defza.c 			u32 rmc = readl_u(&fp->ring_rmc_tx[i].rmc);
fp                889 drivers/net/fddi/defza.c 				 &fp->ring_rmc_tx[i].rmc);
fp                891 drivers/net/fddi/defza.c 		fp->ring_rmc_tx_index =
fp                892 drivers/net/fddi/defza.c 			(fp->ring_rmc_tx_index + 1) % fp->ring_rmc_tx_size;
fp                894 drivers/net/fddi/defza.c 	} while (i != fp->ring_rmc_tx_index);
fp                897 drivers/net/fddi/defza.c 	writew_o(FZA_CONTROL_A_FLUSH_DONE, &fp->regs->control_a);
fp                903 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp                907 drivers/net/fddi/defza.c 	int_event = readw_o(&fp->regs->int_event) & fp->int_mask;
fp                912 drivers/net/fddi/defza.c 	writew_u(int_event, &fp->regs->int_event);
fp                918 drivers/net/fddi/defza.c 		fp->irq_count_cmd_done++;
fp                920 drivers/net/fddi/defza.c 		spin_lock(&fp->lock);
fp                921 drivers/net/fddi/defza.c 		fp->cmd_done_flag = 1;
fp                922 drivers/net/fddi/defza.c 		wake_up(&fp->cmd_done_wait);
fp                923 drivers/net/fddi/defza.c 		spin_unlock(&fp->lock);
fp                928 drivers/net/fddi/defza.c 		fp->irq_count_tx_done++;
fp                934 drivers/net/fddi/defza.c 		fp->irq_count_rx_poll++;
fp                940 drivers/net/fddi/defza.c 		fp->irq_count_smt_tx_poll++;
fp                946 drivers/net/fddi/defza.c 		fp->irq_count_flush_tx++;
fp                954 drivers/net/fddi/defza.c 		fp->irq_count_link_st_chg++;
fp                955 drivers/net/fddi/defza.c 		status = readw_u(&fp->regs->status);
fp                958 drivers/net/fddi/defza.c 			pr_info("%s: link available\n", fp->name);
fp                961 drivers/net/fddi/defza.c 			pr_info("%s: link unavailable\n", fp->name);
fp                967 drivers/net/fddi/defza.c 		fp->irq_count_uns_poll++;
fp                975 drivers/net/fddi/defza.c 		fp->irq_count_state_chg++;
fp                977 drivers/net/fddi/defza.c 		status = readw_u(&fp->regs->status);
fp                979 drivers/net/fddi/defza.c 		pr_debug("%s: state change: %x\n", fp->name, state);
fp                986 drivers/net/fddi/defza.c 			del_timer_sync(&fp->reset_timer);
fp                987 drivers/net/fddi/defza.c 			fp->ring_cmd_index = 0;
fp                988 drivers/net/fddi/defza.c 			fp->ring_uns_index = 0;
fp                989 drivers/net/fddi/defza.c 			fp->ring_rmc_tx_index = 0;
fp                990 drivers/net/fddi/defza.c 			fp->ring_rmc_txd_index = 0;
fp                991 drivers/net/fddi/defza.c 			fp->ring_hst_rx_index = 0;
fp                992 drivers/net/fddi/defza.c 			fp->ring_smt_tx_index = 0;
fp                993 drivers/net/fddi/defza.c 			fp->ring_smt_rx_index = 0;
fp                994 drivers/net/fddi/defza.c 			if (fp->state > state) {
fp                995 drivers/net/fddi/defza.c 				pr_info("%s: OK\n", fp->name);
fp               1001 drivers/net/fddi/defza.c 			if (fp->state > state) {
fp               1009 drivers/net/fddi/defza.c 			fp->state = state;
fp               1010 drivers/net/fddi/defza.c 			fza_rx_init(fp);
fp               1011 drivers/net/fddi/defza.c 			fp->queue_active = 1;
fp               1013 drivers/net/fddi/defza.c 			pr_debug("%s: queue woken\n", fp->name);
fp               1017 drivers/net/fddi/defza.c 			fp->queue_active = 0;
fp               1019 drivers/net/fddi/defza.c 			pr_debug("%s: queue stopped\n", fp->name);
fp               1020 drivers/net/fddi/defza.c 			del_timer_sync(&fp->reset_timer);
fp               1021 drivers/net/fddi/defza.c 			pr_warn("%s: halted, reason: %x\n", fp->name,
fp               1023 drivers/net/fddi/defza.c 			fza_regs_dump(fp);
fp               1024 drivers/net/fddi/defza.c 			pr_info("%s: resetting the board...\n", fp->name);
fp               1025 drivers/net/fddi/defza.c 			fza_do_reset(fp);
fp               1026 drivers/net/fddi/defza.c 			fp->timer_state = 0;
fp               1027 drivers/net/fddi/defza.c 			fp->reset_timer.expires = jiffies + 45 * HZ;
fp               1028 drivers/net/fddi/defza.c 			add_timer(&fp->reset_timer);
fp               1032 drivers/net/fddi/defza.c 			pr_warn("%s: undefined state: %x\n", fp->name, state);
fp               1036 drivers/net/fddi/defza.c 		spin_lock(&fp->lock);
fp               1037 drivers/net/fddi/defza.c 		fp->state_chg_flag = 1;
fp               1038 drivers/net/fddi/defza.c 		wake_up(&fp->state_chg_wait);
fp               1039 drivers/net/fddi/defza.c 		spin_unlock(&fp->lock);
fp               1047 drivers/net/fddi/defza.c 	struct fza_private *fp = from_timer(fp, t, reset_timer);
fp               1049 drivers/net/fddi/defza.c 	if (!fp->timer_state) {
fp               1050 drivers/net/fddi/defza.c 		pr_err("%s: RESET timed out!\n", fp->name);
fp               1051 drivers/net/fddi/defza.c 		pr_info("%s: trying harder...\n", fp->name);
fp               1054 drivers/net/fddi/defza.c 		writew_o(FZA_RESET_INIT, &fp->regs->reset);
fp               1055 drivers/net/fddi/defza.c 		readw_o(&fp->regs->reset);		/* Synchronize. */
fp               1057 drivers/net/fddi/defza.c 		fp->timer_state = 1;
fp               1058 drivers/net/fddi/defza.c 		fp->reset_timer.expires = jiffies + HZ;
fp               1061 drivers/net/fddi/defza.c 		writew_u(FZA_RESET_CLR, &fp->regs->reset);
fp               1064 drivers/net/fddi/defza.c 		writew_o(fp->int_mask, &fp->regs->int_mask);
fp               1065 drivers/net/fddi/defza.c 		readw_o(&fp->regs->int_mask);		/* Synchronize. */
fp               1067 drivers/net/fddi/defza.c 		fp->timer_state = 0;
fp               1068 drivers/net/fddi/defza.c 		fp->reset_timer.expires = jiffies + 45 * HZ;
fp               1070 drivers/net/fddi/defza.c 	add_timer(&fp->reset_timer);
fp               1080 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp               1122 drivers/net/fddi/defza.c 	old_mask = fp->int_mask;
fp               1124 drivers/net/fddi/defza.c 	writew_u(new_mask, &fp->regs->int_mask);
fp               1125 drivers/net/fddi/defza.c 	readw_o(&fp->regs->int_mask);			/* Synchronize. */
fp               1126 drivers/net/fddi/defza.c 	fp->int_mask = new_mask;
fp               1130 drivers/net/fddi/defza.c 	fp->int_mask = old_mask;
fp               1131 drivers/net/fddi/defza.c 	writew_u(fp->int_mask, &fp->regs->int_mask);
fp               1138 drivers/net/fddi/defza.c 		pr_debug("%s: queue stopped\n", fp->name);
fp               1139 drivers/net/fddi/defza.c 		fp->stats.tx_dropped++;
fp               1149 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp               1163 drivers/net/fddi/defza.c 			dma = dma_map_single(fp->bdev, skb->data,
fp               1166 drivers/net/fddi/defza.c 			if (dma_mapping_error(fp->bdev, dma)) {
fp               1173 drivers/net/fddi/defza.c 				dma_unmap_single(fp->bdev, fp->rx_dma[i],
fp               1176 drivers/net/fddi/defza.c 				dev_kfree_skb(fp->rx_skbuff[i]);
fp               1177 drivers/net/fddi/defza.c 				fp->rx_dma[i] = 0;
fp               1178 drivers/net/fddi/defza.c 				fp->rx_skbuff[i] = NULL;
fp               1182 drivers/net/fddi/defza.c 		fp->rx_skbuff[i] = skb;
fp               1183 drivers/net/fddi/defza.c 		fp->rx_dma[i] = dma;
fp               1193 drivers/net/fddi/defza.c 	spin_lock_irqsave(&fp->lock, flags);
fp               1194 drivers/net/fddi/defza.c 	fp->cmd_done_flag = 0;
fp               1196 drivers/net/fddi/defza.c 	spin_unlock_irqrestore(&fp->lock, flags);
fp               1200 drivers/net/fddi/defza.c 	t = wait_event_timeout(fp->cmd_done_wait, fp->cmd_done_flag, 3 * HZ);
fp               1201 drivers/net/fddi/defza.c 	if (fp->cmd_done_flag == 0) {
fp               1202 drivers/net/fddi/defza.c 		pr_err("%s: PARAM command timed out!, state %x\n", fp->name,
fp               1203 drivers/net/fddi/defza.c 		       FZA_STATUS_GET_STATE(readw_u(&fp->regs->status)));
fp               1209 drivers/net/fddi/defza.c 		       fp->name, stat,
fp               1210 drivers/net/fddi/defza.c 		       FZA_STATUS_GET_STATE(readw_u(&fp->regs->status)));
fp               1213 drivers/net/fddi/defza.c 	pr_debug("%s: PARAM: %lums elapsed\n", fp->name,
fp               1221 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp               1228 drivers/net/fddi/defza.c 	pr_debug("%s: queue stopped\n", fp->name);
fp               1230 drivers/net/fddi/defza.c 	del_timer_sync(&fp->reset_timer);
fp               1231 drivers/net/fddi/defza.c 	spin_lock_irqsave(&fp->lock, flags);
fp               1232 drivers/net/fddi/defza.c 	fp->state = FZA_STATE_UNINITIALIZED;
fp               1233 drivers/net/fddi/defza.c 	fp->state_chg_flag = 0;
fp               1235 drivers/net/fddi/defza.c 	writew_o(FZA_CONTROL_A_SHUT, &fp->regs->control_a);
fp               1236 drivers/net/fddi/defza.c 	readw_o(&fp->regs->control_a);			/* Synchronize. */
fp               1237 drivers/net/fddi/defza.c 	spin_unlock_irqrestore(&fp->lock, flags);
fp               1240 drivers/net/fddi/defza.c 	t = wait_event_timeout(fp->state_chg_wait, fp->state_chg_flag,
fp               1242 drivers/net/fddi/defza.c 	state = FZA_STATUS_GET_STATE(readw_o(&fp->regs->status));
fp               1243 drivers/net/fddi/defza.c 	if (fp->state_chg_flag == 0) {
fp               1244 drivers/net/fddi/defza.c 		pr_err("%s: SHUT timed out!, state %x\n", fp->name, state);
fp               1248 drivers/net/fddi/defza.c 		pr_err("%s: SHUT failed!, state %x\n", fp->name, state);
fp               1251 drivers/net/fddi/defza.c 	pr_debug("%s: SHUT: %lums elapsed\n", fp->name,
fp               1255 drivers/net/fddi/defza.c 		if (fp->rx_skbuff[i]) {
fp               1256 drivers/net/fddi/defza.c 			dma_unmap_single(fp->bdev, fp->rx_dma[i],
fp               1258 drivers/net/fddi/defza.c 			dev_kfree_skb(fp->rx_skbuff[i]);
fp               1259 drivers/net/fddi/defza.c 			fp->rx_dma[i] = 0;
fp               1260 drivers/net/fddi/defza.c 			fp->rx_skbuff[i] = NULL;
fp               1268 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp               1270 drivers/net/fddi/defza.c 	return &fp->stats;
fp               1289 drivers/net/fddi/defza.c 	struct fza_private *fp;
fp               1300 drivers/net/fddi/defza.c 	dev = alloc_fddidev(sizeof(*fp));
fp               1305 drivers/net/fddi/defza.c 	fp = netdev_priv(dev);
fp               1308 drivers/net/fddi/defza.c 	fp->bdev = bdev;
fp               1309 drivers/net/fddi/defza.c 	fp->name = dev_name(bdev);
fp               1315 drivers/net/fddi/defza.c 		pr_err("%s: cannot reserve MMIO region\n", fp->name);
fp               1323 drivers/net/fddi/defza.c 		pr_err("%s: cannot map MMIO\n", fp->name);
fp               1338 drivers/net/fddi/defza.c 	fp->mmio = mmio;
fp               1342 drivers/net/fddi/defza.c 		fp->name, (long long)tdev->resource.start, dev->irq);
fp               1343 drivers/net/fddi/defza.c 	pr_debug("%s: mapped at: 0x%p\n", fp->name, mmio);
fp               1345 drivers/net/fddi/defza.c 	fp->regs = mmio + FZA_REG_BASE;
fp               1346 drivers/net/fddi/defza.c 	fp->ring_cmd = mmio + FZA_RING_CMD;
fp               1347 drivers/net/fddi/defza.c 	fp->ring_uns = mmio + FZA_RING_UNS;
fp               1349 drivers/net/fddi/defza.c 	init_waitqueue_head(&fp->state_chg_wait);
fp               1350 drivers/net/fddi/defza.c 	init_waitqueue_head(&fp->cmd_done_wait);
fp               1351 drivers/net/fddi/defza.c 	spin_lock_init(&fp->lock);
fp               1352 drivers/net/fddi/defza.c 	fp->int_mask = FZA_MASK_NORMAL;
fp               1354 drivers/net/fddi/defza.c 	timer_setup(&fp->reset_timer, fza_reset_timer, 0);
fp               1357 drivers/net/fddi/defza.c 	fza_regs_dump(fp);
fp               1358 drivers/net/fddi/defza.c 	fza_do_shutdown(fp);
fp               1360 drivers/net/fddi/defza.c 	ret = request_irq(dev->irq, fza_interrupt, IRQF_SHARED, fp->name, dev);
fp               1362 drivers/net/fddi/defza.c 		pr_err("%s: unable to get IRQ %d!\n", fp->name, dev->irq);
fp               1367 drivers/net/fddi/defza.c 	writew_o(FZA_CONTROL_B_DRIVER, &fp->regs->control_b);
fp               1372 drivers/net/fddi/defza.c 	fp->ring_rmc_tx_size = FZA_RING_TX_SIZE;
fp               1374 drivers/net/fddi/defza.c 	ret = fza_reset(fp);
fp               1395 drivers/net/fddi/defza.c 	fp->ring_rmc_tx = mmio + readl_u(&init->rmc_tx);
fp               1396 drivers/net/fddi/defza.c 	fp->ring_rmc_tx_size = readl_u(&init->rmc_tx_size);
fp               1397 drivers/net/fddi/defza.c 	fp->ring_hst_rx = mmio + readl_u(&init->hst_rx);
fp               1398 drivers/net/fddi/defza.c 	fp->ring_hst_rx_size = readl_u(&init->hst_rx_size);
fp               1399 drivers/net/fddi/defza.c 	fp->ring_smt_tx = mmio + readl_u(&init->smt_tx);
fp               1400 drivers/net/fddi/defza.c 	fp->ring_smt_tx_size = readl_u(&init->smt_tx_size);
fp               1401 drivers/net/fddi/defza.c 	fp->ring_smt_rx = mmio + readl_u(&init->smt_rx);
fp               1402 drivers/net/fddi/defza.c 	fp->ring_smt_rx_size = readl_u(&init->smt_rx_size);
fp               1404 drivers/net/fddi/defza.c 	fp->buffer_tx = mmio + FZA_TX_BUFFER_ADDR(readl_u(&init->rmc_tx));
fp               1406 drivers/net/fddi/defza.c 	fp->t_max = readl_u(&init->def_t_max);
fp               1407 drivers/net/fddi/defza.c 	fp->t_req = readl_u(&init->def_t_req);
fp               1408 drivers/net/fddi/defza.c 	fp->tvx = readl_u(&init->def_tvx);
fp               1409 drivers/net/fddi/defza.c 	fp->lem_threshold = readl_u(&init->lem_threshold);
fp               1410 drivers/net/fddi/defza.c 	fza_reads(&init->def_station_id, &fp->station_id,
fp               1411 drivers/net/fddi/defza.c 		  sizeof(fp->station_id));
fp               1412 drivers/net/fddi/defza.c 	fp->rtoken_timeout = readl_u(&init->rtoken_timeout);
fp               1413 drivers/net/fddi/defza.c 	fp->ring_purger = readl_u(&init->ring_purger);
fp               1418 drivers/net/fddi/defza.c 	pr_debug("%s: INIT parameters:\n", fp->name);
fp               1465 drivers/net/fddi/defza.c 		fp->name,
fp               1473 drivers/net/fddi/defza.c 		"SMT ver. %u\n", fp->name, rom_rev, fw_rev, rmc_rev, smt_ver);
fp               1489 drivers/net/fddi/defza.c 	pr_info("%s: registered as %s\n", fp->name, dev->name);
fp               1490 drivers/net/fddi/defza.c 	fp->name = (const char *)dev->name;
fp               1496 drivers/net/fddi/defza.c 	del_timer_sync(&fp->reset_timer);
fp               1497 drivers/net/fddi/defza.c 	fza_do_shutdown(fp);
fp               1509 drivers/net/fddi/defza.c 	pr_err("%s: initialization failure, aborting!\n", fp->name);
fp               1516 drivers/net/fddi/defza.c 	struct fza_private *fp = netdev_priv(dev);
fp               1524 drivers/net/fddi/defza.c 	del_timer_sync(&fp->reset_timer);
fp               1525 drivers/net/fddi/defza.c 	fza_do_shutdown(fp);
fp               1528 drivers/net/fddi/defza.c 	iounmap(fp->mmio);
fp                697 drivers/net/fddi/skfp/ess.c 		if (smc->hw.fp.fifo.fifo_config_mode & SYNC_TRAFFIC_ON &&
fp                698 drivers/net/fddi/skfp/ess.c 			(smc->hw.fp.fifo.fifo_config_mode&SEND_ASYNC_AS_SYNC) ==
fp                704 drivers/net/fddi/skfp/ess.c 		if (!(smc->hw.fp.fifo.fifo_config_mode & SYNC_TRAFFIC_ON)) {
fp                174 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.fifo.rbc_ram_start = 0 ;
fp                175 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.fifo.rbc_ram_end =
fp                176 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.rbc_ram_start + RBC_MEM_SIZE ;
fp                178 drivers/net/fddi/skfp/fplustm.c 	MARW(smc->hw.fp.fifo.rbc_ram_start) ;
fp                179 drivers/net/fddi/skfp/fplustm.c 	for (i = smc->hw.fp.fifo.rbc_ram_start;
fp                180 drivers/net/fddi/skfp/fplustm.c 		i < (u_short) (smc->hw.fp.fifo.rbc_ram_end-1); i++)
fp                194 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_RPR1),smc->hw.fp.fifo.rx1_fifo_start) ;	/* RPR1 */
fp                195 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_SWPR1),smc->hw.fp.fifo.rx1_fifo_start) ;	/* SWPR1 */
fp                196 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_WPR1),smc->hw.fp.fifo.rx1_fifo_start) ;	/* WPR1 */
fp                197 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_EARV1),smc->hw.fp.fifo.tx_s_start-1) ;	/* EARV1 */
fp                202 drivers/net/fddi/skfp/fplustm.c 	if (smc->hw.fp.fifo.rx2_fifo_size) {
fp                203 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_RPR2),smc->hw.fp.fifo.rx2_fifo_start) ;
fp                204 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_SWPR2),smc->hw.fp.fifo.rx2_fifo_start) ;
fp                205 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_WPR2),smc->hw.fp.fifo.rx2_fifo_start) ;
fp                206 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_EARV2),smc->hw.fp.fifo.rbc_ram_end-1) ;
fp                209 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_RPR2),smc->hw.fp.fifo.rbc_ram_end-1) ;
fp                210 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_SWPR2),smc->hw.fp.fifo.rbc_ram_end-1) ;
fp                211 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_WPR2),smc->hw.fp.fifo.rbc_ram_end-1) ;
fp                212 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_EARV2),smc->hw.fp.fifo.rbc_ram_end-1) ;
fp                226 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_RPXA0),smc->hw.fp.fifo.tx_a0_start) ;	/* RPXA0 */
fp                227 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_SWPXA0),smc->hw.fp.fifo.tx_a0_start) ;	/* SWPXA0 */
fp                228 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_WPXA0),smc->hw.fp.fifo.tx_a0_start) ;	/* WPXA0 */
fp                229 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_EAA0),smc->hw.fp.fifo.rx2_fifo_start-1) ;	/* EAA0 */
fp                234 drivers/net/fddi/skfp/fplustm.c 	if (smc->hw.fp.fifo.tx_s_size) {
fp                235 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_RPXS),smc->hw.fp.fifo.tx_s_start) ;
fp                236 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_SWPXS),smc->hw.fp.fifo.tx_s_start) ;
fp                237 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_WPXS),smc->hw.fp.fifo.tx_s_start) ;
fp                238 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_EAS),smc->hw.fp.fifo.tx_a0_start-1) ;
fp                241 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_RPXS),smc->hw.fp.fifo.tx_a0_start-1) ;
fp                242 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_SWPXS),smc->hw.fp.fifo.tx_a0_start-1) ;
fp                243 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_WPXS),smc->hw.fp.fifo.tx_a0_start-1) ;
fp                244 drivers/net/fddi/skfp/fplustm.c 		outpw(FM_A(FM_EAS),smc->hw.fp.fifo.tx_a0_start-1) ;
fp                258 drivers/net/fddi/skfp/fplustm.c 	rbc_ram_addr = smc->hw.fp.fifo.rx2_fifo_start - 1 ;
fp                279 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.rx[QUEUE_R1] = queue = &smc->hw.fp.rx_q[QUEUE_R1] ;
fp                286 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.rx[QUEUE_R2] = queue = &smc->hw.fp.rx_q[QUEUE_R2] ;
fp                309 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.tx[QUEUE_S] = queue = &smc->hw.fp.tx_q[QUEUE_S] ;
fp                320 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.tx[QUEUE_A0] = queue = &smc->hw.fp.tx_q[QUEUE_A0] ;
fp                342 drivers/net/fddi/skfp/fplustm.c 	ec = (u_long *)&smc->hw.fp.err_stats ;
fp                365 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_LAGL),(unsigned short)((smc->hw.fp.group_addr.a[4]<<8) +
fp                366 drivers/net/fddi/skfp/fplustm.c 					smc->hw.fp.group_addr.a[5])) ;
fp                367 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_LAGC),(unsigned short)((smc->hw.fp.group_addr.a[2]<<8) +
fp                368 drivers/net/fddi/skfp/fplustm.c 					smc->hw.fp.group_addr.a[3])) ;
fp                369 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_LAGM),(unsigned short)((smc->hw.fp.group_addr.a[0]<<8) +
fp                370 drivers/net/fddi/skfp/fplustm.c 					smc->hw.fp.group_addr.a[1])) ;
fp                457 drivers/net/fddi/skfp/fplustm.c 	MARW(smc->hw.fp.fifo.rbc_ram_start+DBEACON_FRAME_OFF+4) ;
fp                462 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_SABC),smc->hw.fp.fifo.rbc_ram_start + DBEACON_FRAME_OFF) ;
fp                482 drivers/net/fddi/skfp/fplustm.c 	mac = &smc->hw.fp.mac_sfb ;
fp                490 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.rbc_ram_start + CLAIM_FRAME_OFF,len) ;
fp                492 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_SACL),smc->hw.fp.fifo.rbc_ram_start + CLAIM_FRAME_OFF) ;
fp                505 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.rbc_ram_start + BEACON_FRAME_OFF,len) ;
fp                507 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_SABC),smc->hw.fp.fifo.rbc_ram_start + BEACON_FRAME_OFF) ;
fp                523 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.rbc_ram_start + DBEACON_FRAME_OFF,len) ;
fp                526 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_EACB),smc->hw.fp.fifo.rx1_fifo_start-1) ;
fp                535 drivers/net/fddi/skfp/fplustm.c 	SETMASK(FM_A(FM_MDREG1),smc->hw.fp.rx_mode,FM_ADDRX) ;
fp                694 drivers/net/fddi/skfp/fplustm.c 	change_s2l = smc->hw.fp.s2l ^ code_s2l ;
fp                695 drivers/net/fddi/skfp/fplustm.c 	change_s2u = smc->hw.fp.s2u ^ code_s2u ;
fp                760 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.err_stats.err_bec_stat++ ;
fp                762 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.err_stats.err_clm_stat++ ;
fp                766 drivers/net/fddi/skfp/fplustm.c 		if (!(change_s2l & FM_SRNGOP) && (smc->hw.fp.s2l & FM_SRNGOP)) {
fp                776 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.err_stats.err_phinv++ ;
fp                778 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.err_stats.err_sifg_det++ ;
fp                780 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.err_stats.err_tkiss++ ;
fp                782 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.err_stats.err_tkerr++ ;
fp                794 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.s2l = code_s2l ;
fp                795 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.s2u = code_s2u ;
fp                847 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.rx_mode, FM_MMODE | FM_SELRA | FM_ADDRX) ;
fp                855 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.nsa_mode = FM_MRNNSAFNMA ;
fp                856 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.rx_mode = FM_MDAMA ;
fp                857 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.group_addr = fddi_broadcast ;
fp                858 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.func_addr = 0 ;
fp                859 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.frselreg_init = 0 ;
fp                863 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.mdr3init |= FM_MENDAS ;
fp                868 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.fm_st1u = (HW_PTR) ADDR(B0_ST1U) ;
fp                869 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.fm_st1l = (HW_PTR) ADDR(B0_ST1L) ;
fp                870 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.fm_st2u = (HW_PTR) ADDR(B0_ST2U) ;
fp                871 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.fm_st2l = (HW_PTR) ADDR(B0_ST2L) ;
fp                872 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.fm_st3u = (HW_PTR) ADDR(B0_ST3U) ;
fp                873 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.fm_st3l = (HW_PTR) ADDR(B0_ST3L) ;
fp                875 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.s2l = smc->hw.fp.s2u = 0 ;
fp                903 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_MDREG2),smc->hw.fp.mdr2init) ;
fp                932 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_MDREG1),MDR1INIT | FM_SELRA | smc->hw.fp.rx_mode) ;
fp                933 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_MDREG2),smc->hw.fp.mdr2init) ;
fp                934 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_MDREG3),smc->hw.fp.mdr3init) ;
fp                935 drivers/net/fddi/skfp/fplustm.c 	outpw(FM_A(FM_FRSELREG),smc->hw.fp.frselreg_init) ;
fp               1076 drivers/net/fddi/skfp/fplustm.c 	for (i = 0, tb = smc->hw.fp.mc.table ; i < FPMAX_MULTICAST ; i++, tb++){
fp               1105 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.os_slots_used = 0 ;	/* note the SMT addresses */
fp               1107 drivers/net/fddi/skfp/fplustm.c 	for (i = 0, tb = smc->hw.fp.mc.table ; i < FPMAX_MULTICAST ; i++, tb++){
fp               1151 drivers/net/fddi/skfp/fplustm.c 		if (smc->hw.fp.smt_slots_used >= SMT_MAX_MULTI) {
fp               1156 drivers/net/fddi/skfp/fplustm.c 		if (smc->hw.fp.os_slots_used >= FPMAX_MULTICAST-SMT_MAX_MULTI) {
fp               1171 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.smt_slots_used++ ;
fp               1173 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.os_slots_used++ ;
fp               1210 drivers/net/fddi/skfp/fplustm.c 	if (smc->hw.fp.func_addr) {
fp               1211 drivers/net/fddi/skfp/fplustm.c 		fu = (u_char *) &smc->hw.fp.func_addr ;
fp               1230 drivers/net/fddi/skfp/fplustm.c 	for (i = 0, tb = smc->hw.fp.mc.table; i < FPMAX_MULTICAST; i++, tb++) {
fp               1276 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.rx_prom |= RX_MODE_ALL_MULTI ;
fp               1279 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.rx_prom &= ~RX_MODE_ALL_MULTI ;
fp               1282 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.rx_prom |= RX_MODE_PROM ;
fp               1285 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.rx_prom &= ~RX_MODE_PROM ;
fp               1288 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.nsa_mode = FM_MDAMA ;
fp               1289 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.rx_mode = (smc->hw.fp.rx_mode & ~FM_ADDET) |
fp               1290 drivers/net/fddi/skfp/fplustm.c 			smc->hw.fp.nsa_mode ;
fp               1293 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.nsa_mode = FM_MRNNSAFNMA ;
fp               1294 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.rx_mode = (smc->hw.fp.rx_mode & ~FM_ADDET) |
fp               1295 drivers/net/fddi/skfp/fplustm.c 			smc->hw.fp.nsa_mode ;
fp               1298 drivers/net/fddi/skfp/fplustm.c 	if (smc->hw.fp.rx_prom & RX_MODE_PROM) {
fp               1299 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.rx_mode = FM_MLIMPROM ;
fp               1301 drivers/net/fddi/skfp/fplustm.c 	else if (smc->hw.fp.rx_prom & RX_MODE_ALL_MULTI) {
fp               1302 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.rx_mode = smc->hw.fp.nsa_mode | FM_EXGPA0 ;
fp               1305 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.rx_mode = smc->hw.fp.nsa_mode ;
fp               1306 drivers/net/fddi/skfp/fplustm.c 	SETMASK(FM_A(FM_MDREG1),smc->hw.fp.rx_mode,FM_ADDRX) ;
fp               1391 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.rx1_fifo_size = RX_FIFO_SPACE ;
fp               1392 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.rx2_fifo_size = 0 ;
fp               1397 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.rx1_fifo_size = RX_LARGE_FIFO ;
fp               1398 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.rx2_fifo_size = RX_SMALL_FIFO ;
fp               1401 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.rx1_fifo_size = RX_FIFO_SPACE *
fp               1403 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.rx2_fifo_size = RX_FIFO_SPACE *
fp               1432 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.fifo_config_mode |=
fp               1437 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.fifo_config_mode &=
fp               1444 drivers/net/fddi/skfp/fplustm.c 	if (smc->hw.fp.fifo.fifo_config_mode & SYNC_TRAFFIC_ON) {
fp               1445 drivers/net/fddi/skfp/fplustm.c 		if (smc->hw.fp.fifo.fifo_config_mode & SEND_ASYNC_AS_SYNC) {
fp               1446 drivers/net/fddi/skfp/fplustm.c 			smc->hw.fp.fifo.tx_s_size = TX_LARGE_FIFO ;
fp               1447 drivers/net/fddi/skfp/fplustm.c 			smc->hw.fp.fifo.tx_a0_size = TX_SMALL_FIFO ;
fp               1450 drivers/net/fddi/skfp/fplustm.c 			smc->hw.fp.fifo.tx_s_size = TX_MEDIUM_FIFO ;
fp               1451 drivers/net/fddi/skfp/fplustm.c 			smc->hw.fp.fifo.tx_a0_size = TX_MEDIUM_FIFO ;
fp               1455 drivers/net/fddi/skfp/fplustm.c 			smc->hw.fp.fifo.tx_s_size = 0 ;
fp               1456 drivers/net/fddi/skfp/fplustm.c 			smc->hw.fp.fifo.tx_a0_size = TX_FIFO_SPACE ;
fp               1459 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.fifo.rx1_fifo_start = smc->hw.fp.fifo.rbc_ram_start +
fp               1461 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.fifo.tx_s_start = smc->hw.fp.fifo.rx1_fifo_start +
fp               1462 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.rx1_fifo_size ;
fp               1463 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.fifo.tx_a0_start = smc->hw.fp.fifo.tx_s_start +
fp               1464 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.tx_s_size ;
fp               1465 drivers/net/fddi/skfp/fplustm.c 	smc->hw.fp.fifo.rx2_fifo_start = smc->hw.fp.fifo.tx_a0_start +
fp               1466 drivers/net/fddi/skfp/fplustm.c 		smc->hw.fp.fifo.tx_a0_size ;
fp               1468 drivers/net/fddi/skfp/fplustm.c 	DB_SMT("FIFO split: mode = %x", smc->hw.fp.fifo.fifo_config_mode);
fp               1470 drivers/net/fddi/skfp/fplustm.c 	       smc->hw.fp.fifo.rbc_ram_start, smc->hw.fp.fifo.rbc_ram_end);
fp               1472 drivers/net/fddi/skfp/fplustm.c 	       smc->hw.fp.fifo.rx1_fifo_start, smc->hw.fp.fifo.tx_s_start);
fp               1474 drivers/net/fddi/skfp/fplustm.c 	       smc->hw.fp.fifo.tx_a0_start, smc->hw.fp.fifo.rx2_fifo_start);
fp               1484 drivers/net/fddi/skfp/fplustm.c 	if (!smc->hw.fp.fifo.tx_s_size && smc->mib.a[PATH0].fddiPATHSbaPayload){
fp                242 drivers/net/fddi/skfp/h/hwmtm.h #define	HWM_GET_TX_USED(smc,queue)	(int) (smc)->hw.fp.tx_q[queue].tx_used
fp                261 drivers/net/fddi/skfp/h/hwmtm.h 					(smc)->hw.fp.tx_q[queue].tx_curr_put
fp                311 drivers/net/fddi/skfp/h/hwmtm.h #define	HWM_GET_RX_USED(smc)	((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_used)
fp                325 drivers/net/fddi/skfp/h/hwmtm.h #define	HWM_GET_RX_FREE(smc)	((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_free-1)
fp                341 drivers/net/fddi/skfp/h/hwmtm.h 				(smc)->hw.fp.rx_q[QUEUE_R1].rx_curr_put
fp                359 drivers/net/fddi/skfp/h/hwmtm.h 	if ((low_water) >= (smc)->hw.fp.rx_q[QUEUE_R1].rx_used) {\
fp                126 drivers/net/fddi/skfp/h/targethw.h 	struct s_smt_fp	fp ;		/* formac+ */
fp                307 drivers/net/fddi/skfp/hwmtm.c 	smc->hw.fp.mdr2init = FM_LSB | FM_BMMODE | FM_ENNPRQ | FM_ENHSRQ | 3 ;
fp                310 drivers/net/fddi/skfp/hwmtm.c 	smc->hw.fp.mdr2init |= FM_CHKPAR | FM_PARITY ;
fp                312 drivers/net/fddi/skfp/hwmtm.c 	smc->hw.fp.mdr3init = FM_MENRQAUNLCK | FM_MENRS ;
fp                316 drivers/net/fddi/skfp/hwmtm.c 	smc->hw.fp.frselreg_init = FM_ENXMTADSWAP | FM_ENRCVADSWAP ;
fp                362 drivers/net/fddi/skfp/hwmtm.c 	queue = smc->hw.fp.tx[QUEUE_A0] ;
fp                376 drivers/net/fddi/skfp/hwmtm.c 	queue = smc->hw.fp.tx[QUEUE_S] ;
fp                398 drivers/net/fddi/skfp/hwmtm.c 	queue = smc->hw.fp.rx[QUEUE_R1] ;
fp                563 drivers/net/fddi/skfp/hwmtm.c 	phys = repair_txd_ring(smc,smc->hw.fp.tx[QUEUE_A0]) ;
fp                565 drivers/net/fddi/skfp/hwmtm.c 	if (smc->hw.fp.tx_q[QUEUE_A0].tx_used) {
fp                568 drivers/net/fddi/skfp/hwmtm.c 	phys = repair_txd_ring(smc,smc->hw.fp.tx[QUEUE_S]) ;
fp                570 drivers/net/fddi/skfp/hwmtm.c 	if (smc->hw.fp.tx_q[QUEUE_S].tx_used) {
fp                577 drivers/net/fddi/skfp/hwmtm.c 	phys = repair_rxd_ring(smc,smc->hw.fp.rx[QUEUE_R1]) ;
fp                718 drivers/net/fddi/skfp/hwmtm.c 		if (smc->hw.fp.rx_q[QUEUE_R1].rx_used > 0) {
fp               1056 drivers/net/fddi/skfp/hwmtm.c 	queue = smc->hw.fp.rx[QUEUE_R1] ;
fp               1166 drivers/net/fddi/skfp/hwmtm.c 		smc->hw.fp.err_stats.err_valid++ ;
fp               1179 drivers/net/fddi/skfp/hwmtm.c 				smc->hw.fp.err_stats.err_abort++ ;
fp               1186 drivers/net/fddi/skfp/hwmtm.c 				smc->hw.fp.err_stats.err_e_indicator++ ;
fp               1190 drivers/net/fddi/skfp/hwmtm.c 				smc->hw.fp.err_stats.err_crc++ ;
fp               1194 drivers/net/fddi/skfp/hwmtm.c 				smc->hw.fp.err_stats.err_imp_frame++ ;
fp               1200 drivers/net/fddi/skfp/hwmtm.c 			smc->hw.fp.err_stats.err_too_long++ ;
fp               1263 drivers/net/fddi/skfp/hwmtm.c 				smc->hw.fp.err_stats.err_no_buf++ ;
fp               1292 drivers/net/fddi/skfp/hwmtm.c 				smc->hw.fp.err_stats.err_smt_frame++ ;
fp               1308 drivers/net/fddi/skfp/hwmtm.c 				smc->hw.fp.err_stats.err_smt_frame++ ;
fp               1349 drivers/net/fddi/skfp/hwmtm.c 					smc->hw.fp.err_stats.err_mac_frame++ ;
fp               1351 drivers/net/fddi/skfp/hwmtm.c 					smc->hw.fp.err_stats.err_imp_frame++ ;
fp               1419 drivers/net/fddi/skfp/hwmtm.c 	r = smc->hw.fp.rx_q[QUEUE_R1].rx_curr_put ;
fp               1430 drivers/net/fddi/skfp/hwmtm.c 	smc->hw.fp.rx_q[QUEUE_R1].rx_free-- ;
fp               1431 drivers/net/fddi/skfp/hwmtm.c 	smc->hw.fp.rx_q[QUEUE_R1].rx_used++ ;
fp               1432 drivers/net/fddi/skfp/hwmtm.c 	smc->hw.fp.rx_q[QUEUE_R1].rx_curr_put = r->rxd_next ;
fp               1473 drivers/net/fddi/skfp/hwmtm.c 	queue = smc->hw.fp.rx[QUEUE_R1] ;
fp               1550 drivers/net/fddi/skfp/hwmtm.c 	smc->os.hwm.tx_p = smc->hw.fp.tx[frame_status & QUEUE_A0] ;
fp               1676 drivers/net/fddi/skfp/hwmtm.c 				smc->hw.fp.err_stats.err_no_buf++ ;
fp               1848 drivers/net/fddi/skfp/hwmtm.c 	queue = smc->hw.fp.tx[QUEUE_A0] ;
fp               1950 drivers/net/fddi/skfp/hwmtm.c 		queue = smc->hw.fp.tx[i] ;
fp               2041 drivers/net/fddi/skfp/hwmtm.c 		queue = smc->hw.fp.tx[i] ;
fp               2065 drivers/net/fddi/skfp/hwmtm.c 		queue = smc->hw.fp.tx[i] ;
fp                436 drivers/net/hamradio/6pack.c 	const unsigned char *cp, char *fp, int count)
fp                452 drivers/net/hamradio/6pack.c 		if (fp && *fp++) {
fp                875 drivers/net/hamradio/mkiss.c 	char *fp, int count)
fp                891 drivers/net/hamradio/mkiss.c 		if (fp != NULL && *fp++) {
fp                 54 drivers/net/phy/fixed_phy.c 	struct fixed_phy *fp;
fp                 59 drivers/net/phy/fixed_phy.c 	list_for_each_entry(fp, &fmb->phys, node) {
fp                 60 drivers/net/phy/fixed_phy.c 		if (fp->addr == phydev->mdio.addr) {
fp                 61 drivers/net/phy/fixed_phy.c 			fp->no_carrier = !new_carrier;
fp                 69 drivers/net/phy/fixed_phy.c static void fixed_phy_update(struct fixed_phy *fp)
fp                 71 drivers/net/phy/fixed_phy.c 	if (!fp->no_carrier && fp->link_gpiod)
fp                 72 drivers/net/phy/fixed_phy.c 		fp->status.link = !!gpiod_get_value_cansleep(fp->link_gpiod);
fp                 78 drivers/net/phy/fixed_phy.c 	struct fixed_phy *fp;
fp                 80 drivers/net/phy/fixed_phy.c 	list_for_each_entry(fp, &fmb->phys, node) {
fp                 81 drivers/net/phy/fixed_phy.c 		if (fp->addr == phy_addr) {
fp                 86 drivers/net/phy/fixed_phy.c 				s = read_seqcount_begin(&fp->seqcount);
fp                 87 drivers/net/phy/fixed_phy.c 				fp->status.link = !fp->no_carrier;
fp                 89 drivers/net/phy/fixed_phy.c 				if (fp->link_update)
fp                 90 drivers/net/phy/fixed_phy.c 					fp->link_update(fp->phydev->attached_dev,
fp                 91 drivers/net/phy/fixed_phy.c 							&fp->status);
fp                 93 drivers/net/phy/fixed_phy.c 				fixed_phy_update(fp);
fp                 94 drivers/net/phy/fixed_phy.c 				state = fp->status;
fp                 95 drivers/net/phy/fixed_phy.c 			} while (read_seqcount_retry(&fp->seqcount, s));
fp                120 drivers/net/phy/fixed_phy.c 	struct fixed_phy *fp;
fp                125 drivers/net/phy/fixed_phy.c 	list_for_each_entry(fp, &fmb->phys, node) {
fp                126 drivers/net/phy/fixed_phy.c 		if (fp->addr == phydev->mdio.addr) {
fp                127 drivers/net/phy/fixed_phy.c 			fp->link_update = link_update;
fp                128 drivers/net/phy/fixed_phy.c 			fp->phydev = phydev;
fp                143 drivers/net/phy/fixed_phy.c 	struct fixed_phy *fp;
fp                149 drivers/net/phy/fixed_phy.c 	fp = kzalloc(sizeof(*fp), GFP_KERNEL);
fp                150 drivers/net/phy/fixed_phy.c 	if (!fp)
fp                153 drivers/net/phy/fixed_phy.c 	seqcount_init(&fp->seqcount);
fp                158 drivers/net/phy/fixed_phy.c 	fp->addr = phy_addr;
fp                159 drivers/net/phy/fixed_phy.c 	fp->status = *status;
fp                160 drivers/net/phy/fixed_phy.c 	fp->link_gpiod = gpiod;
fp                162 drivers/net/phy/fixed_phy.c 	fixed_phy_update(fp);
fp                164 drivers/net/phy/fixed_phy.c 	list_add_tail(&fp->node, &fmb->phys);
fp                181 drivers/net/phy/fixed_phy.c 	struct fixed_phy *fp, *tmp;
fp                183 drivers/net/phy/fixed_phy.c 	list_for_each_entry_safe(fp, tmp, &fmb->phys, node) {
fp                184 drivers/net/phy/fixed_phy.c 		if (fp->addr == phy_addr) {
fp                185 drivers/net/phy/fixed_phy.c 			list_del(&fp->node);
fp                186 drivers/net/phy/fixed_phy.c 			if (fp->link_gpiod)
fp                187 drivers/net/phy/fixed_phy.c 				gpiod_put(fp->link_gpiod);
fp                188 drivers/net/phy/fixed_phy.c 			kfree(fp);
fp                380 drivers/net/phy/fixed_phy.c 	struct fixed_phy *fp, *tmp;
fp                386 drivers/net/phy/fixed_phy.c 	list_for_each_entry_safe(fp, tmp, &fmb->phys, node) {
fp                387 drivers/net/phy/fixed_phy.c 		list_del(&fp->node);
fp                388 drivers/net/phy/fixed_phy.c 		kfree(fp);
fp                691 drivers/net/slip/slip.c 							char *fp, int count)
fp                700 drivers/net/slip/slip.c 		if (fp && *fp++) {
fp                 71 drivers/net/team/team_mode_loadbalance.c 	struct bpf_prog __rcu *fp;
fp                193 drivers/net/team/team_mode_loadbalance.c 	struct bpf_prog *fp;
fp                197 drivers/net/team/team_mode_loadbalance.c 	fp = rcu_dereference_bh(lb_priv->fp);
fp                198 drivers/net/team/team_mode_loadbalance.c 	if (unlikely(!fp))
fp                200 drivers/net/team/team_mode_loadbalance.c 	lhash = BPF_PROG_RUN(fp, skb);
fp                290 drivers/net/team/team_mode_loadbalance.c 	struct bpf_prog *fp = NULL;
fp                300 drivers/net/team/team_mode_loadbalance.c 		err = bpf_prog_create(&fp, fprog);
fp                310 drivers/net/team/team_mode_loadbalance.c 		orig_fp = rcu_dereference_protected(lb_priv->fp,
fp                314 drivers/net/team/team_mode_loadbalance.c 	rcu_assign_pointer(lb_priv->fp, fp);
fp                327 drivers/net/team/team_mode_loadbalance.c 	struct bpf_prog *fp;
fp                333 drivers/net/team/team_mode_loadbalance.c 	fp = rcu_dereference_protected(lb_priv->fp,
fp                335 drivers/net/team/team_mode_loadbalance.c 	bpf_prog_destroy(fp);
fp                522 drivers/net/wan/x25_asy.c 				const unsigned char *cp, char *fp, int count)
fp                532 drivers/net/wan/x25_asy.c 		if (fp && *fp++) {
fp                422 drivers/net/wireless/ath/wcn36xx/main.c 	struct wcn36xx_hal_rcv_flt_mc_addr_list_type *fp;
fp                433 drivers/net/wireless/ath/wcn36xx/main.c 	fp = (void *)(unsigned long)multicast;
fp                441 drivers/net/wireless/ath/wcn36xx/main.c 			wcn36xx_smd_set_mc_list(wcn, vif, fp);
fp                445 drivers/net/wireless/ath/wcn36xx/main.c 	kfree(fp);
fp                451 drivers/net/wireless/ath/wcn36xx/main.c 	struct wcn36xx_hal_rcv_flt_mc_addr_list_type *fp;
fp                455 drivers/net/wireless/ath/wcn36xx/main.c 	fp = kzalloc(sizeof(*fp), GFP_ATOMIC);
fp                456 drivers/net/wireless/ath/wcn36xx/main.c 	if (!fp) {
fp                461 drivers/net/wireless/ath/wcn36xx/main.c 	fp->mc_addr_count = 0;
fp                466 drivers/net/wireless/ath/wcn36xx/main.c 			memcpy(fp->mc_addr[fp->mc_addr_count],
fp                468 drivers/net/wireless/ath/wcn36xx/main.c 			fp->mc_addr_count++;
fp                472 drivers/net/wireless/ath/wcn36xx/main.c 	return (u64)(unsigned long)fp;
fp               2429 drivers/net/wireless/ath/wcn36xx/smd.c 			    struct wcn36xx_hal_rcv_flt_mc_addr_list_type *fp)
fp               2443 drivers/net/wireless/ath/wcn36xx/smd.c 	if (fp)
fp               2444 drivers/net/wireless/ath/wcn36xx/smd.c 		memcpy(&msg_body->mc_addr_list, fp,
fp                146 drivers/net/wireless/ath/wcn36xx/smd.h 			    struct wcn36xx_hal_rcv_flt_mc_addr_list_type *fp);
fp               1714 drivers/net/wireless/st/cw1200/wsm.h 					   struct wsm_mib_multicast_filter *fp)
fp               1717 drivers/net/wireless/st/cw1200/wsm.h 			     fp, sizeof(*fp));
fp               1727 drivers/net/wireless/st/cw1200/wsm.h 					  struct wsm_mib_arp_ipv4_filter *fp)
fp               1730 drivers/net/wireless/st/cw1200/wsm.h 			    fp, sizeof(*fp));
fp                721 drivers/net/wireless/ti/wl1251/main.c 	struct wl1251_filter_params *fp;
fp                728 drivers/net/wireless/ti/wl1251/main.c 	fp = kzalloc(sizeof(*fp), GFP_ATOMIC);
fp                729 drivers/net/wireless/ti/wl1251/main.c 	if (!fp) {
fp                735 drivers/net/wireless/ti/wl1251/main.c 	fp->mc_list_length = 0;
fp                737 drivers/net/wireless/ti/wl1251/main.c 		fp->enabled = false;
fp                739 drivers/net/wireless/ti/wl1251/main.c 		fp->enabled = true;
fp                741 drivers/net/wireless/ti/wl1251/main.c 			memcpy(fp->mc_list[fp->mc_list_length],
fp                743 drivers/net/wireless/ti/wl1251/main.c 			fp->mc_list_length++;
fp                747 drivers/net/wireless/ti/wl1251/main.c 	return (u64)(unsigned long)fp;
fp                761 drivers/net/wireless/ti/wl1251/main.c 	struct wl1251_filter_params *fp = (void *)(unsigned long)multicast;
fp                772 drivers/net/wireless/ti/wl1251/main.c 		kfree(fp);
fp                809 drivers/net/wireless/ti/wl1251/main.c 	else if (fp)
fp                810 drivers/net/wireless/ti/wl1251/main.c 		ret = wl1251_acx_group_address_tbl(wl, fp->enabled,
fp                811 drivers/net/wireless/ti/wl1251/main.c 						   fp->mc_list,
fp                812 drivers/net/wireless/ti/wl1251/main.c 						   fp->mc_list_length);
fp                823 drivers/net/wireless/ti/wl1251/main.c 	kfree(fp);
fp               3167 drivers/net/wireless/ti/wlcore/main.c 	struct wl1271_filter_params *fp;
fp               3170 drivers/net/wireless/ti/wlcore/main.c 	fp = kzalloc(sizeof(*fp), GFP_ATOMIC);
fp               3171 drivers/net/wireless/ti/wlcore/main.c 	if (!fp) {
fp               3177 drivers/net/wireless/ti/wlcore/main.c 	fp->mc_list_length = 0;
fp               3179 drivers/net/wireless/ti/wlcore/main.c 		fp->enabled = false;
fp               3181 drivers/net/wireless/ti/wlcore/main.c 		fp->enabled = true;
fp               3183 drivers/net/wireless/ti/wlcore/main.c 			memcpy(fp->mc_list[fp->mc_list_length],
fp               3185 drivers/net/wireless/ti/wlcore/main.c 			fp->mc_list_length++;
fp               3189 drivers/net/wireless/ti/wlcore/main.c 	return (u64)(unsigned long)fp;
fp               3202 drivers/net/wireless/ti/wlcore/main.c 	struct wl1271_filter_params *fp = (void *)(unsigned long)multicast;
fp               3234 drivers/net/wireless/ti/wlcore/main.c 			else if (fp)
fp               3236 drivers/net/wireless/ti/wlcore/main.c 							fp->enabled,
fp               3237 drivers/net/wireless/ti/wlcore/main.c 							fp->mc_list,
fp               3238 drivers/net/wireless/ti/wlcore/main.c 							fp->mc_list_length);
fp               3271 drivers/net/wireless/ti/wlcore/main.c 	kfree(fp);
fp                 85 drivers/pci/hotplug/cpqphp_core.c 	void __iomem *fp;
fp                 92 drivers/pci/hotplug/cpqphp_core.c 	for (fp = begin; fp <= endp; fp += 16) {
fp                 93 drivers/pci/hotplug/cpqphp_core.c 		temp1 = readb(fp);
fp                 94 drivers/pci/hotplug/cpqphp_core.c 		temp2 = readb(fp+1);
fp                 95 drivers/pci/hotplug/cpqphp_core.c 		temp3 = readb(fp+2);
fp                 96 drivers/pci/hotplug/cpqphp_core.c 		temp4 = readb(fp+3);
fp                107 drivers/pci/hotplug/cpqphp_core.c 		fp = NULL;
fp                109 drivers/pci/hotplug/cpqphp_core.c 	dbg("Discovered SMBIOS Entry point at %p\n", fp);
fp                111 drivers/pci/hotplug/cpqphp_core.c 	return fp;
fp                 41 drivers/pci/hotplug/cpqphp_pci.c 	void __iomem *fp;
fp                 48 drivers/pci/hotplug/cpqphp_pci.c 	for (fp = begin; fp <= endp; fp += 16) {
fp                 49 drivers/pci/hotplug/cpqphp_pci.c 		temp1 = readb(fp + SIG0);
fp                 50 drivers/pci/hotplug/cpqphp_pci.c 		temp2 = readb(fp + SIG1);
fp                 51 drivers/pci/hotplug/cpqphp_pci.c 		temp3 = readb(fp + SIG2);
fp                 52 drivers/pci/hotplug/cpqphp_pci.c 		temp4 = readb(fp + SIG3);
fp                 63 drivers/pci/hotplug/cpqphp_pci.c 		fp = NULL;
fp                 65 drivers/pci/hotplug/cpqphp_pci.c 	dbg("Discovered Hotplug Resource Table at %p\n", fp);
fp                 66 drivers/pci/hotplug/cpqphp_pci.c 	return fp;
fp                 74 drivers/platform/x86/intel_scu_ipcutil.c static long scu_ipc_ioctl(struct file *fp, unsigned int cmd,
fp               4132 drivers/platform/x86/sony-laptop.c static long sonypi_misc_ioctl(struct file *fp, unsigned int cmd,
fp               2525 drivers/platform/x86/toshiba_acpi.c static long toshiba_acpi_ioctl(struct file *fp, unsigned int cmd,
fp                388 drivers/ptp/ptp_chardev.c __poll_t ptp_poll(struct posix_clock *pc, struct file *fp, poll_table *wait)
fp                392 drivers/ptp/ptp_chardev.c 	poll_wait(fp, &ptp->tsev_wq, wait);
fp                 81 drivers/ptp/ptp_private.h 	      struct file *fp, poll_table *wait);
fp                276 drivers/rpmsg/rpmsg_char.c static long rpmsg_eptdev_ioctl(struct file *fp, unsigned int cmd,
fp                279 drivers/rpmsg/rpmsg_char.c 	struct rpmsg_eptdev *eptdev = fp->private_data;
fp                429 drivers/rpmsg/rpmsg_char.c static long rpmsg_ctrldev_ioctl(struct file *fp, unsigned int cmd,
fp                432 drivers/rpmsg/rpmsg_char.c 	struct rpmsg_ctrldev *ctrldev = fp->private_data;
fp                 54 drivers/s390/char/fs3270.c fs3270_working(struct fs3270 *fp)
fp                 60 drivers/s390/char/fs3270.c 	return fp->active && raw3270_request_final(fp->init);
fp                 66 drivers/s390/char/fs3270.c 	struct fs3270 *fp;
fp                 69 drivers/s390/char/fs3270.c 	fp = (struct fs3270 *) view;
fp                 71 drivers/s390/char/fs3270.c 	rq->callback_data = &fp->wait;
fp                 74 drivers/s390/char/fs3270.c 		if (!fs3270_working(fp)) {
fp                 76 drivers/s390/char/fs3270.c 			rc = wait_event_interruptible(fp->wait,
fp                 77 drivers/s390/char/fs3270.c 						      fs3270_working(fp));
fp                 84 drivers/s390/char/fs3270.c 			wait_event(fp->wait, raw3270_request_final(rq));
fp                 96 drivers/s390/char/fs3270.c 	struct fs3270 *fp;
fp                 98 drivers/s390/char/fs3270.c 	fp = (struct fs3270 *) rq->view;
fp                100 drivers/s390/char/fs3270.c 	wake_up(&fp->wait);
fp                106 drivers/s390/char/fs3270.c 	struct fs3270 *fp;
fp                108 drivers/s390/char/fs3270.c 	fp = (struct fs3270 *) rq->view;
fp                110 drivers/s390/char/fs3270.c 		if (fp->fs_pid)
fp                111 drivers/s390/char/fs3270.c 			kill_pid(fp->fs_pid, SIGHUP, 1);
fp                113 drivers/s390/char/fs3270.c 	fp->rdbuf_size = 0;
fp                115 drivers/s390/char/fs3270.c 	wake_up(&fp->wait);
fp                121 drivers/s390/char/fs3270.c 	struct fs3270 *fp;
fp                125 drivers/s390/char/fs3270.c 	fp = (struct fs3270 *) view;
fp                128 drivers/s390/char/fs3270.c 	if (!raw3270_request_final(fp->init))
fp                131 drivers/s390/char/fs3270.c 	if (fp->rdbuf_size == 0) {
fp                133 drivers/s390/char/fs3270.c 		raw3270_request_set_cmd(fp->init, TC_EWRITEA);
fp                134 drivers/s390/char/fs3270.c 		fp->init->callback = fs3270_reset_callback;
fp                137 drivers/s390/char/fs3270.c 		raw3270_request_set_cmd(fp->init, TC_EWRITEA);
fp                138 drivers/s390/char/fs3270.c 		raw3270_request_set_idal(fp->init, fp->rdbuf);
fp                139 drivers/s390/char/fs3270.c 		fp->init->ccw.count = fp->rdbuf_size;
fp                140 drivers/s390/char/fs3270.c 		cp = fp->rdbuf->data[0];
fp                149 drivers/s390/char/fs3270.c 		fp->init->rescnt = 0;
fp                150 drivers/s390/char/fs3270.c 		fp->init->callback = fs3270_restore_callback;
fp                152 drivers/s390/char/fs3270.c 	rc = fp->init->rc = raw3270_start_locked(view, fp->init);
fp                154 drivers/s390/char/fs3270.c 		fp->init->callback(fp->init, NULL);
fp                156 drivers/s390/char/fs3270.c 		fp->active = 1;
fp                166 drivers/s390/char/fs3270.c 	struct fs3270 *fp;
fp                168 drivers/s390/char/fs3270.c 	fp = (struct fs3270 *) rq->view;
fp                171 drivers/s390/char/fs3270.c 	fp->rdbuf->data[0] -= 5;
fp                172 drivers/s390/char/fs3270.c 	fp->rdbuf->size += 5;
fp                181 drivers/s390/char/fs3270.c 		if (fp->fs_pid)
fp                182 drivers/s390/char/fs3270.c 			kill_pid(fp->fs_pid, SIGHUP, 1);
fp                183 drivers/s390/char/fs3270.c 		fp->rdbuf_size = 0;
fp                185 drivers/s390/char/fs3270.c 		fp->rdbuf_size = fp->rdbuf->size - rq->rescnt;
fp                187 drivers/s390/char/fs3270.c 	wake_up(&fp->wait);
fp                193 drivers/s390/char/fs3270.c 	struct fs3270 *fp;
fp                195 drivers/s390/char/fs3270.c 	fp = (struct fs3270 *) view;
fp                196 drivers/s390/char/fs3270.c 	fp->active = 0;
fp                199 drivers/s390/char/fs3270.c 	if (!raw3270_request_final(fp->init))
fp                203 drivers/s390/char/fs3270.c 	raw3270_request_set_cmd(fp->init, TC_RDBUF);
fp                209 drivers/s390/char/fs3270.c 	fp->rdbuf->data[0] += 5;
fp                210 drivers/s390/char/fs3270.c 	fp->rdbuf->size -= 5;
fp                211 drivers/s390/char/fs3270.c 	raw3270_request_set_idal(fp->init, fp->rdbuf);
fp                212 drivers/s390/char/fs3270.c 	fp->init->rescnt = 0;
fp                213 drivers/s390/char/fs3270.c 	fp->init->callback = fs3270_save_callback;
fp                216 drivers/s390/char/fs3270.c 	fp->init->rc = raw3270_start_locked(view, fp->init);
fp                217 drivers/s390/char/fs3270.c 	if (fp->init->rc)
fp                218 drivers/s390/char/fs3270.c 		fp->init->callback(fp->init, NULL);
fp                222 drivers/s390/char/fs3270.c fs3270_irq(struct fs3270 *fp, struct raw3270_request *rq, struct irb *irb)
fp                226 drivers/s390/char/fs3270.c 		fp->attention = 1;
fp                227 drivers/s390/char/fs3270.c 		wake_up(&fp->wait);
fp                245 drivers/s390/char/fs3270.c 	struct fs3270 *fp;
fp                252 drivers/s390/char/fs3270.c 	fp = filp->private_data;
fp                253 drivers/s390/char/fs3270.c 	if (!fp)
fp                260 drivers/s390/char/fs3270.c 		if (fp->read_command == 0 && fp->write_command != 0)
fp                261 drivers/s390/char/fs3270.c 			fp->read_command = 6;
fp                262 drivers/s390/char/fs3270.c 		raw3270_request_set_cmd(rq, fp->read_command ? : 2);
fp                264 drivers/s390/char/fs3270.c 		rc = wait_event_interruptible(fp->wait, fp->attention);
fp                265 drivers/s390/char/fs3270.c 		fp->attention = 0;
fp                267 drivers/s390/char/fs3270.c 			rc = fs3270_do_io(&fp->view, rq);
fp                290 drivers/s390/char/fs3270.c 	struct fs3270 *fp;
fp                296 drivers/s390/char/fs3270.c 	fp = filp->private_data;
fp                297 drivers/s390/char/fs3270.c 	if (!fp)
fp                305 drivers/s390/char/fs3270.c 			write_command = fp->write_command ? : 1;
fp                310 drivers/s390/char/fs3270.c 			rc = fs3270_do_io(&fp->view, rq);
fp                329 drivers/s390/char/fs3270.c 	struct fs3270 *fp;
fp                333 drivers/s390/char/fs3270.c 	fp = filp->private_data;
fp                334 drivers/s390/char/fs3270.c 	if (!fp)
fp                344 drivers/s390/char/fs3270.c 		fp->read_command = arg;
fp                347 drivers/s390/char/fs3270.c 		fp->write_command = arg;
fp                350 drivers/s390/char/fs3270.c 		rc = put_user(fp->read_command, argp);
fp                353 drivers/s390/char/fs3270.c 		rc = put_user(fp->write_command, argp);
fp                356 drivers/s390/char/fs3270.c 		iocb.model = fp->view.model;
fp                357 drivers/s390/char/fs3270.c 		iocb.line_cnt = fp->view.rows;
fp                358 drivers/s390/char/fs3270.c 		iocb.col_cnt = fp->view.cols;
fp                376 drivers/s390/char/fs3270.c 	struct fs3270 *fp;
fp                378 drivers/s390/char/fs3270.c 	fp = kzalloc(sizeof(struct fs3270),GFP_KERNEL);
fp                379 drivers/s390/char/fs3270.c 	if (!fp)
fp                381 drivers/s390/char/fs3270.c 	fp->init = raw3270_request_alloc(0);
fp                382 drivers/s390/char/fs3270.c 	if (IS_ERR(fp->init)) {
fp                383 drivers/s390/char/fs3270.c 		kfree(fp);
fp                386 drivers/s390/char/fs3270.c 	return fp;
fp                395 drivers/s390/char/fs3270.c 	struct fs3270 *fp;
fp                397 drivers/s390/char/fs3270.c 	fp = (struct fs3270 *) view;
fp                398 drivers/s390/char/fs3270.c 	if (fp->rdbuf)
fp                399 drivers/s390/char/fs3270.c 		idal_buffer_free(fp->rdbuf);
fp                410 drivers/s390/char/fs3270.c 	struct fs3270 *fp;
fp                412 drivers/s390/char/fs3270.c 	fp = (struct fs3270 *) view;
fp                413 drivers/s390/char/fs3270.c 	if (fp->fs_pid)
fp                414 drivers/s390/char/fs3270.c 		kill_pid(fp->fs_pid, SIGHUP, 1);
fp                432 drivers/s390/char/fs3270.c 	struct fs3270 *fp;
fp                451 drivers/s390/char/fs3270.c 	fp = (struct fs3270 *) raw3270_find_view(&fs3270_fn, minor);
fp                452 drivers/s390/char/fs3270.c 	if (!IS_ERR(fp)) {
fp                453 drivers/s390/char/fs3270.c 		raw3270_put_view(&fp->view);
fp                458 drivers/s390/char/fs3270.c 	fp = fs3270_alloc_view();
fp                459 drivers/s390/char/fs3270.c 	if (IS_ERR(fp)) {
fp                460 drivers/s390/char/fs3270.c 		rc = PTR_ERR(fp);
fp                464 drivers/s390/char/fs3270.c 	init_waitqueue_head(&fp->wait);
fp                465 drivers/s390/char/fs3270.c 	fp->fs_pid = get_pid(task_pid(current));
fp                466 drivers/s390/char/fs3270.c 	rc = raw3270_add_view(&fp->view, &fs3270_fn, minor,
fp                469 drivers/s390/char/fs3270.c 		fs3270_free_view(&fp->view);
fp                474 drivers/s390/char/fs3270.c 	ib = idal_buffer_alloc(2*fp->view.rows*fp->view.cols + 5, 0);
fp                476 drivers/s390/char/fs3270.c 		raw3270_put_view(&fp->view);
fp                477 drivers/s390/char/fs3270.c 		raw3270_del_view(&fp->view);
fp                481 drivers/s390/char/fs3270.c 	fp->rdbuf = ib;
fp                483 drivers/s390/char/fs3270.c 	rc = raw3270_activate_view(&fp->view);
fp                485 drivers/s390/char/fs3270.c 		raw3270_put_view(&fp->view);
fp                486 drivers/s390/char/fs3270.c 		raw3270_del_view(&fp->view);
fp                490 drivers/s390/char/fs3270.c 	filp->private_data = fp;
fp                503 drivers/s390/char/fs3270.c 	struct fs3270 *fp;
fp                505 drivers/s390/char/fs3270.c 	fp = filp->private_data;
fp                507 drivers/s390/char/fs3270.c 	if (fp) {
fp                508 drivers/s390/char/fs3270.c 		put_pid(fp->fs_pid);
fp                509 drivers/s390/char/fs3270.c 		fp->fs_pid = NULL;
fp                510 drivers/s390/char/fs3270.c 		raw3270_reset(&fp->view);
fp                511 drivers/s390/char/fs3270.c 		raw3270_put_view(&fp->view);
fp                512 drivers/s390/char/fs3270.c 		raw3270_del_view(&fp->view);
fp                 56 drivers/s390/char/hmcdrv_dev.c static int hmcdrv_dev_open(struct inode *inode, struct file *fp);
fp                 57 drivers/s390/char/hmcdrv_dev.c static int hmcdrv_dev_release(struct inode *inode, struct file *fp);
fp                 58 drivers/s390/char/hmcdrv_dev.c static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence);
fp                 59 drivers/s390/char/hmcdrv_dev.c static ssize_t hmcdrv_dev_read(struct file *fp, char __user *ubuf,
fp                 61 drivers/s390/char/hmcdrv_dev.c static ssize_t hmcdrv_dev_write(struct file *fp, const char __user *ubuf,
fp                114 drivers/s390/char/hmcdrv_dev.c static int hmcdrv_dev_open(struct inode *inode, struct file *fp)
fp                120 drivers/s390/char/hmcdrv_dev.c 	if (fp->f_flags & O_NONBLOCK)
fp                126 drivers/s390/char/hmcdrv_dev.c 	if ((fp->f_flags & O_ACCMODE) == O_RDONLY)
fp                135 drivers/s390/char/hmcdrv_dev.c 	fp->private_data = NULL; /* no command yet */
fp                140 drivers/s390/char/hmcdrv_dev.c 	pr_debug("open file '/dev/%pD' with return code %d\n", fp, rc);
fp                147 drivers/s390/char/hmcdrv_dev.c static int hmcdrv_dev_release(struct inode *inode, struct file *fp)
fp                149 drivers/s390/char/hmcdrv_dev.c 	pr_debug("closing file '/dev/%pD'\n", fp);
fp                150 drivers/s390/char/hmcdrv_dev.c 	kfree(fp->private_data);
fp                151 drivers/s390/char/hmcdrv_dev.c 	fp->private_data = NULL;
fp                160 drivers/s390/char/hmcdrv_dev.c static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence)
fp                164 drivers/s390/char/hmcdrv_dev.c 		pos += fp->f_pos; /* new position stored in 'pos' */
fp                175 drivers/s390/char/hmcdrv_dev.c 		if (fp->private_data) {
fp                176 drivers/s390/char/hmcdrv_dev.c 			kfree(fp->private_data);
fp                177 drivers/s390/char/hmcdrv_dev.c 			fp->private_data = NULL;
fp                189 drivers/s390/char/hmcdrv_dev.c 	if (fp->f_pos != pos)
fp                190 drivers/s390/char/hmcdrv_dev.c 		++fp->f_version;
fp                192 drivers/s390/char/hmcdrv_dev.c 	fp->f_pos = pos;
fp                221 drivers/s390/char/hmcdrv_dev.c static ssize_t hmcdrv_dev_read(struct file *fp, char __user *ubuf,
fp                226 drivers/s390/char/hmcdrv_dev.c 	if (((fp->f_flags & O_ACCMODE) == O_WRONLY) ||
fp                227 drivers/s390/char/hmcdrv_dev.c 	    (fp->private_data == NULL)) { /* no FTP cmd defined ? */
fp                231 drivers/s390/char/hmcdrv_dev.c 	retlen = hmcdrv_dev_transfer((char *) fp->private_data,
fp                235 drivers/s390/char/hmcdrv_dev.c 		 fp, (long long) *pos, retlen, len);
fp                246 drivers/s390/char/hmcdrv_dev.c static ssize_t hmcdrv_dev_write(struct file *fp, const char __user *ubuf,
fp                252 drivers/s390/char/hmcdrv_dev.c 		 fp, (long long) *pos, len);
fp                254 drivers/s390/char/hmcdrv_dev.c 	if (!fp->private_data) { /* first expect a cmd write */
fp                255 drivers/s390/char/hmcdrv_dev.c 		fp->private_data = kmalloc(len + 1, GFP_KERNEL);
fp                257 drivers/s390/char/hmcdrv_dev.c 		if (!fp->private_data)
fp                260 drivers/s390/char/hmcdrv_dev.c 		if (!copy_from_user(fp->private_data, ubuf, len)) {
fp                261 drivers/s390/char/hmcdrv_dev.c 			((char *)fp->private_data)[len] = '\0';
fp                265 drivers/s390/char/hmcdrv_dev.c 		kfree(fp->private_data);
fp                266 drivers/s390/char/hmcdrv_dev.c 		fp->private_data = NULL;
fp                270 drivers/s390/char/hmcdrv_dev.c 	retlen = hmcdrv_dev_transfer((char *) fp->private_data,
fp                275 drivers/s390/char/hmcdrv_dev.c 	pr_debug("write to file '/dev/%pD' returned %zd\n", fp, retlen);
fp                 93 drivers/sbus/char/bbc_envctrl.c static void set_fan_speeds(struct bbc_fan_control *fp)
fp                 98 drivers/sbus/char/bbc_envctrl.c 	if (fp->cpu_fan_speed < FAN_SPEED_MIN)
fp                 99 drivers/sbus/char/bbc_envctrl.c 		fp->cpu_fan_speed = FAN_SPEED_MIN;
fp                100 drivers/sbus/char/bbc_envctrl.c 	if (fp->cpu_fan_speed > FAN_SPEED_MAX)
fp                101 drivers/sbus/char/bbc_envctrl.c 		fp->cpu_fan_speed = FAN_SPEED_MAX;
fp                102 drivers/sbus/char/bbc_envctrl.c 	if (fp->system_fan_speed < FAN_SPEED_MIN)
fp                103 drivers/sbus/char/bbc_envctrl.c 		fp->system_fan_speed = FAN_SPEED_MIN;
fp                104 drivers/sbus/char/bbc_envctrl.c 	if (fp->system_fan_speed > FAN_SPEED_MAX)
fp                105 drivers/sbus/char/bbc_envctrl.c 		fp->system_fan_speed = FAN_SPEED_MAX;
fp                108 drivers/sbus/char/bbc_envctrl.c 	       fp->index,
fp                109 drivers/sbus/char/bbc_envctrl.c 	       fp->cpu_fan_speed, fp->system_fan_speed);
fp                112 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_writeb(fp->client, fp->cpu_fan_speed, CPU_FAN_REG);
fp                113 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_writeb(fp->client, fp->system_fan_speed, SYS_FAN_REG);
fp                114 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_writeb(fp->client,
fp                115 drivers/sbus/char/bbc_envctrl.c 		       (fp->psupply_fan_on ?
fp                320 drivers/sbus/char/bbc_envctrl.c static int maybe_new_ambient_fan_speed(struct bbc_fan_control *fp)
fp                330 drivers/sbus/char/bbc_envctrl.c 		if (fp->system_fan_speed >= FAN_SPEED_MAX)
fp                333 drivers/sbus/char/bbc_envctrl.c 			fp->system_fan_speed = FAN_SPEED_MAX;
fp                336 drivers/sbus/char/bbc_envctrl.c 			if (fp->system_fan_speed >= FAN_SPEED_MAX)
fp                339 drivers/sbus/char/bbc_envctrl.c 				fp->system_fan_speed += 2;
fp                341 drivers/sbus/char/bbc_envctrl.c 			int orig_speed = fp->system_fan_speed;
fp                344 drivers/sbus/char/bbc_envctrl.c 			    orig_speed <= (fp->cpu_fan_speed - 3))
fp                347 drivers/sbus/char/bbc_envctrl.c 				fp->system_fan_speed -= 1;
fp                354 drivers/sbus/char/bbc_envctrl.c static int maybe_new_cpu_fan_speed(struct bbc_fan_control *fp)
fp                364 drivers/sbus/char/bbc_envctrl.c 		if (fp->cpu_fan_speed >= FAN_SPEED_MAX)
fp                367 drivers/sbus/char/bbc_envctrl.c 			fp->cpu_fan_speed = FAN_SPEED_MAX;
fp                370 drivers/sbus/char/bbc_envctrl.c 			if (fp->cpu_fan_speed >= FAN_SPEED_MAX)
fp                373 drivers/sbus/char/bbc_envctrl.c 				fp->cpu_fan_speed += 2;
fp                374 drivers/sbus/char/bbc_envctrl.c 				if (fp->system_fan_speed <
fp                375 drivers/sbus/char/bbc_envctrl.c 				    (fp->cpu_fan_speed - 3))
fp                376 drivers/sbus/char/bbc_envctrl.c 					fp->system_fan_speed =
fp                377 drivers/sbus/char/bbc_envctrl.c 						fp->cpu_fan_speed - 3;
fp                380 drivers/sbus/char/bbc_envctrl.c 			if (fp->cpu_fan_speed <= FAN_SPEED_MIN)
fp                383 drivers/sbus/char/bbc_envctrl.c 				fp->cpu_fan_speed -= 1;
fp                390 drivers/sbus/char/bbc_envctrl.c static void maybe_new_fan_speeds(struct bbc_fan_control *fp)
fp                394 drivers/sbus/char/bbc_envctrl.c 	new  = maybe_new_ambient_fan_speed(fp);
fp                395 drivers/sbus/char/bbc_envctrl.c 	new |= maybe_new_cpu_fan_speed(fp);
fp                398 drivers/sbus/char/bbc_envctrl.c 		set_fan_speeds(fp);
fp                403 drivers/sbus/char/bbc_envctrl.c 	struct bbc_fan_control *fp;
fp                408 drivers/sbus/char/bbc_envctrl.c 	list_for_each_entry(fp, &all_fans, glob_list) {
fp                409 drivers/sbus/char/bbc_envctrl.c 		fp->cpu_fan_speed = FAN_SPEED_MAX;
fp                410 drivers/sbus/char/bbc_envctrl.c 		fp->system_fan_speed = FAN_SPEED_MAX;
fp                411 drivers/sbus/char/bbc_envctrl.c 		fp->psupply_fan_on = 1;
fp                412 drivers/sbus/char/bbc_envctrl.c 		set_fan_speeds(fp);
fp                426 drivers/sbus/char/bbc_envctrl.c 		struct bbc_fan_control *fp;
fp                436 drivers/sbus/char/bbc_envctrl.c 		list_for_each_entry(fp, &all_fans, glob_list)
fp                437 drivers/sbus/char/bbc_envctrl.c 			maybe_new_fan_speeds(fp);
fp                497 drivers/sbus/char/bbc_envctrl.c 	struct bbc_fan_control *fp;
fp                499 drivers/sbus/char/bbc_envctrl.c 	fp = kzalloc(sizeof(*fp), GFP_KERNEL);
fp                500 drivers/sbus/char/bbc_envctrl.c 	if (!fp)
fp                503 drivers/sbus/char/bbc_envctrl.c 	INIT_LIST_HEAD(&fp->bp_list);
fp                504 drivers/sbus/char/bbc_envctrl.c 	INIT_LIST_HEAD(&fp->glob_list);
fp                506 drivers/sbus/char/bbc_envctrl.c 	fp->client = bbc_i2c_attach(bp, op);
fp                507 drivers/sbus/char/bbc_envctrl.c 	if (!fp->client) {
fp                508 drivers/sbus/char/bbc_envctrl.c 		kfree(fp);
fp                512 drivers/sbus/char/bbc_envctrl.c 	fp->index = fan_idx;
fp                514 drivers/sbus/char/bbc_envctrl.c 	list_add(&fp->glob_list, &all_fans);
fp                515 drivers/sbus/char/bbc_envctrl.c 	list_add(&fp->bp_list, &bp->fans);
fp                523 drivers/sbus/char/bbc_envctrl.c 	fp->psupply_fan_on = 1;
fp                524 drivers/sbus/char/bbc_envctrl.c 	fp->cpu_fan_speed = (FAN_SPEED_MAX - FAN_SPEED_MIN) / 2;
fp                525 drivers/sbus/char/bbc_envctrl.c 	fp->cpu_fan_speed += FAN_SPEED_MIN;
fp                526 drivers/sbus/char/bbc_envctrl.c 	fp->system_fan_speed = (FAN_SPEED_MAX - FAN_SPEED_MIN) / 2;
fp                527 drivers/sbus/char/bbc_envctrl.c 	fp->system_fan_speed += FAN_SPEED_MIN;
fp                529 drivers/sbus/char/bbc_envctrl.c 	set_fan_speeds(fp);
fp                549 drivers/sbus/char/bbc_envctrl.c static void destroy_one_fan(struct bbc_fan_control *fp)
fp                551 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_detach(fp->client);
fp                552 drivers/sbus/char/bbc_envctrl.c 	kfree(fp);
fp                557 drivers/sbus/char/bbc_envctrl.c 	struct bbc_fan_control *fp, *fpos;
fp                559 drivers/sbus/char/bbc_envctrl.c 	list_for_each_entry_safe(fp, fpos, &bp->fans, bp_list) {
fp                560 drivers/sbus/char/bbc_envctrl.c 		list_del(&fp->bp_list);
fp                561 drivers/sbus/char/bbc_envctrl.c 		list_del(&fp->glob_list);
fp                562 drivers/sbus/char/bbc_envctrl.c 		destroy_one_fan(fp);
fp                489 drivers/scsi/bnx2fc/bnx2fc.h 	struct fc_frame *fp;
fp                524 drivers/scsi/bnx2fc/bnx2fc.h int bnx2fc_send_adisc(struct bnx2fc_rport *tgt, struct fc_frame *fp);
fp                525 drivers/scsi/bnx2fc/bnx2fc.h int bnx2fc_send_logo(struct bnx2fc_rport *tgt, struct fc_frame *fp);
fp                526 drivers/scsi/bnx2fc/bnx2fc.h int bnx2fc_send_rls(struct bnx2fc_rport *tgt, struct fc_frame *fp);
fp                573 drivers/scsi/bnx2fc/bnx2fc.h 				      struct fc_frame *fp, unsigned int op,
fp                 19 drivers/scsi/bnx2fc/bnx2fc_els.c static void bnx2fc_logo_resp(struct fc_seq *seq, struct fc_frame *fp,
fp                 21 drivers/scsi/bnx2fc/bnx2fc_els.c static void bnx2fc_flogi_resp(struct fc_seq *seq, struct fc_frame *fp,
fp                182 drivers/scsi/bnx2fc/bnx2fc_els.c int bnx2fc_send_adisc(struct bnx2fc_rport *tgt, struct fc_frame *fp)
fp                191 drivers/scsi/bnx2fc/bnx2fc_els.c 	fh = fc_frame_header_get(fp);
fp                201 drivers/scsi/bnx2fc/bnx2fc_els.c 	adisc = fc_frame_payload_get(fp, sizeof(*adisc));
fp                210 drivers/scsi/bnx2fc/bnx2fc_els.c int bnx2fc_send_logo(struct bnx2fc_rport *tgt, struct fc_frame *fp)
fp                219 drivers/scsi/bnx2fc/bnx2fc_els.c 	fh = fc_frame_header_get(fp);
fp                229 drivers/scsi/bnx2fc/bnx2fc_els.c 	logo = fc_frame_payload_get(fp, sizeof(*logo));
fp                238 drivers/scsi/bnx2fc/bnx2fc_els.c int bnx2fc_send_rls(struct bnx2fc_rport *tgt, struct fc_frame *fp)
fp                247 drivers/scsi/bnx2fc/bnx2fc_els.c 	fh = fc_frame_header_get(fp);
fp                256 drivers/scsi/bnx2fc/bnx2fc_els.c 	rls = fc_frame_payload_get(fp, sizeof(*rls));
fp                271 drivers/scsi/bnx2fc/bnx2fc_els.c 	struct fc_frame *fp;
fp                338 drivers/scsi/bnx2fc/bnx2fc_els.c 	fp = fc_frame_alloc(NULL, resp_len);
fp                339 drivers/scsi/bnx2fc/bnx2fc_els.c 	if (!fp) {
fp                344 drivers/scsi/bnx2fc/bnx2fc_els.c 	fh = (struct fc_frame_header *) fc_frame_header_get(fp);
fp                348 drivers/scsi/bnx2fc/bnx2fc_els.c 	opcode = fc_frame_payload_op(fp);
fp                368 drivers/scsi/bnx2fc/bnx2fc_els.c 	fc_frame_free(fp);
fp                389 drivers/scsi/bnx2fc/bnx2fc_els.c 	struct fc_frame *fp;
fp                463 drivers/scsi/bnx2fc/bnx2fc_els.c 	fp = fc_frame_alloc(NULL, resp_len);
fp                464 drivers/scsi/bnx2fc/bnx2fc_els.c 	if (!fp) {
fp                469 drivers/scsi/bnx2fc/bnx2fc_els.c 	fh = (struct fc_frame_header *) fc_frame_header_get(fp);
fp                473 drivers/scsi/bnx2fc/bnx2fc_els.c 	opcode = fc_frame_payload_op(fp);
fp                476 drivers/scsi/bnx2fc/bnx2fc_els.c 		rjt = fc_frame_payload_get(fp, sizeof(*rjt));
fp                574 drivers/scsi/bnx2fc/bnx2fc_els.c 	fc_frame_free(fp);
fp                860 drivers/scsi/bnx2fc/bnx2fc_els.c static void bnx2fc_flogi_resp(struct fc_seq *seq, struct fc_frame *fp,
fp                873 drivers/scsi/bnx2fc/bnx2fc_els.c 	if (IS_ERR(fp))
fp                876 drivers/scsi/bnx2fc/bnx2fc_els.c 	fh = fc_frame_header_get(fp);
fp                877 drivers/scsi/bnx2fc/bnx2fc_els.c 	granted_mac = fr_cb(fp)->granted_mac;
fp                909 drivers/scsi/bnx2fc/bnx2fc_els.c 	fc_lport_flogi_resp(seq, fp, lport);
fp                912 drivers/scsi/bnx2fc/bnx2fc_els.c static void bnx2fc_logo_resp(struct fc_seq *seq, struct fc_frame *fp,
fp                920 drivers/scsi/bnx2fc/bnx2fc_els.c 	if (!IS_ERR(fp))
fp                922 drivers/scsi/bnx2fc/bnx2fc_els.c 	fc_lport_logo_resp(seq, fp, lport);
fp                926 drivers/scsi/bnx2fc/bnx2fc_els.c 				      struct fc_frame *fp, unsigned int op,
fp                935 drivers/scsi/bnx2fc/bnx2fc_els.c 	struct fc_frame_header *fh = fc_frame_header_get(fp);
fp                940 drivers/scsi/bnx2fc/bnx2fc_els.c 		return fc_elsct_send(lport, did, fp, op, bnx2fc_flogi_resp,
fp                946 drivers/scsi/bnx2fc/bnx2fc_els.c 		return fc_elsct_send(lport, did, fp, op, bnx2fc_logo_resp,
fp                949 drivers/scsi/bnx2fc/bnx2fc_els.c 	return fc_elsct_send(lport, did, fp, op, resp, arg, timeout);
fp                215 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 			     struct fc_frame *fp)
fp                221 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	fh = fc_frame_header_get(fp);
fp                228 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 		switch (fc_frame_payload_op(fp)) {
fp                230 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 			rc = bnx2fc_send_adisc(tgt, fp);
fp                233 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 			rc = bnx2fc_send_logo(tgt, fp);
fp                236 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 			rc = bnx2fc_send_rls(tgt, fp);
fp                262 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static int bnx2fc_xmit(struct fc_lport *lport, struct fc_frame *fp)
fp                285 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	fh = fc_frame_header_get(fp);
fp                287 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	skb = fp_skb(fp);
fp                304 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	sof = fr_sof(fp);
fp                305 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	eof = fr_eof(fp);
fp                324 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 		rc = bnx2fc_xmit_l2_frame(tgt, fp);
fp                339 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	crc = fcoe_fc_crc(fp);
fp                391 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	if (lport->seq_offload && fr_max_payload(fp)) {
fp                393 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 		skb_shinfo(skb)->gso_size = fr_max_payload(fp);
fp                406 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	fr_dev(fp) = lport;
fp                515 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	struct fc_frame *fp;
fp                543 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	fp = (struct fc_frame *)skb;
fp                544 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	fc_frame_init(fp);
fp                545 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	fr_dev(fp) = lport;
fp                546 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	fr_sof(fp) = hp->fcoe_sof;
fp                551 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	fr_eof(fp) = crc_eof.fcoe_eof;
fp                552 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	fr_crc(fp) = crc_eof.fcoe_crc32;
fp                562 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	fh = fc_frame_header_get(fp);
fp                596 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 		switch (fc_frame_payload_op(fp)) {
fp                629 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	if (le32_to_cpu(fr_crc(fp)) !=
fp                638 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	fc_exch_recv(lport, fp);
fp                537 drivers/scsi/bnx2fc/bnx2fc_hwi.c 	struct fc_frame *fp;
fp                541 drivers/scsi/bnx2fc/bnx2fc_hwi.c 	fp = unsol_els->fp;
fp                544 drivers/scsi/bnx2fc/bnx2fc_hwi.c 		fc_exch_recv(lport, fp);
fp                557 drivers/scsi/bnx2fc/bnx2fc_hwi.c 	struct fc_frame *fp;
fp                575 drivers/scsi/bnx2fc/bnx2fc_hwi.c 	fp = fc_frame_alloc(lport, payload_len);
fp                576 drivers/scsi/bnx2fc/bnx2fc_hwi.c 	if (!fp) {
fp                582 drivers/scsi/bnx2fc/bnx2fc_hwi.c 	fh = (struct fc_frame_header *) fc_frame_header_get(fp);
fp                589 drivers/scsi/bnx2fc/bnx2fc_hwi.c 	skb = fp_skb(fp);
fp                595 drivers/scsi/bnx2fc/bnx2fc_hwi.c 			op = fc_frame_payload_op(fp);
fp                608 drivers/scsi/bnx2fc/bnx2fc_hwi.c 		crc = fcoe_fc_crc(fp);
fp                609 drivers/scsi/bnx2fc/bnx2fc_hwi.c 		fc_frame_init(fp);
fp                610 drivers/scsi/bnx2fc/bnx2fc_hwi.c 		fr_dev(fp) = lport;
fp                611 drivers/scsi/bnx2fc/bnx2fc_hwi.c 		fr_sof(fp) = FC_SOF_I3;
fp                612 drivers/scsi/bnx2fc/bnx2fc_hwi.c 		fr_eof(fp) = FC_EOF_T;
fp                613 drivers/scsi/bnx2fc/bnx2fc_hwi.c 		fr_crc(fp) = cpu_to_le32(~crc);
fp                616 drivers/scsi/bnx2fc/bnx2fc_hwi.c 		unsol_els->fp = fp;
fp               1038 drivers/scsi/csiostor/csio_lnode.c 	struct csio_fcf_info *fp;
fp               1044 drivers/scsi/csiostor/csio_lnode.c 		fp = ln->fcfinfo;
fp               1058 drivers/scsi/csiostor/csio_lnode.c 		if (fp->portid != portid) {
fp                510 drivers/scsi/cxlflash/sislite.h 	u8 fp;			/* format & perm nibbles.
fp                522 drivers/scsi/cxlflash/sislite.h 			u8 fp;
fp                543 drivers/scsi/cxlflash/sislite.h #define SISL_RHT_PERM(fp) ((fp) & RHT_PERM_RW)
fp                514 drivers/scsi/cxlflash/superpipe.c 	rhte->fp = 0;
fp                539 drivers/scsi/cxlflash/superpipe.c 	rhte_f1->fp = SISL_RHT_FP(1U, 0);
fp                551 drivers/scsi/cxlflash/superpipe.c 	dummy.fp = SISL_RHT_FP(1U, perm);
fp               1040 drivers/scsi/cxlflash/vlun.c 	rhte->fp = SISL_RHT_FP(0U, ctxi->rht_perms);
fp               1298 drivers/scsi/cxlflash/vlun.c 		ctxi_dst->rht_start[i].fp =
fp               1299 drivers/scsi/cxlflash/vlun.c 		    SISL_RHT_FP_CLONE(ctxi_src->rht_start[i].fp, perms);
fp                974 drivers/scsi/esas2r/esas2r.h long esas2r_proc_ioctl(struct file *fp, unsigned int cmd, unsigned long arg);
fp                623 drivers/scsi/esas2r/esas2r_main.c long esas2r_proc_ioctl(struct file *fp, unsigned int cmd, unsigned long arg)
fp                896 drivers/scsi/fcoe/fcoe.c static bool fcoe_oem_match(struct fc_frame *fp)
fp                898 drivers/scsi/fcoe/fcoe.c 	struct fc_frame_header *fh = fc_frame_header_get(fp);
fp                901 drivers/scsi/fcoe/fcoe.c 	if (fc_fcp_is_read(fr_fsp(fp)) &&
fp                902 drivers/scsi/fcoe/fcoe.c 	    (fr_fsp(fp)->data_len > fcoe_ddp_min))
fp                904 drivers/scsi/fcoe/fcoe.c 	else if ((fr_fsp(fp) == NULL) &&
fp                907 drivers/scsi/fcoe/fcoe.c 		fcp = fc_frame_payload_get(fp, sizeof(*fcp));
fp               1471 drivers/scsi/fcoe/fcoe.c static int fcoe_xmit(struct fc_lport *lport, struct fc_frame *fp)
fp               1489 drivers/scsi/fcoe/fcoe.c 	WARN_ON((fr_len(fp) % sizeof(u32)) != 0);
fp               1491 drivers/scsi/fcoe/fcoe.c 	fh = fc_frame_header_get(fp);
fp               1492 drivers/scsi/fcoe/fcoe.c 	skb = fp_skb(fp);
fp               1504 drivers/scsi/fcoe/fcoe.c 	sof = fr_sof(fp);
fp               1505 drivers/scsi/fcoe/fcoe.c 	eof = fr_eof(fp);
fp               1520 drivers/scsi/fcoe/fcoe.c 		crc = fcoe_fc_crc(fp);
fp               1581 drivers/scsi/fcoe/fcoe.c 	if (lport->seq_offload && fr_max_payload(fp)) {
fp               1583 drivers/scsi/fcoe/fcoe.c 		skb_shinfo(skb)->gso_size = fr_max_payload(fp);
fp               1595 drivers/scsi/fcoe/fcoe.c 	fr_dev(fp) = lport;
fp               1608 drivers/scsi/fcoe/fcoe.c 				     struct fc_frame *fp)
fp               1613 drivers/scsi/fcoe/fcoe.c 	struct sk_buff *skb = (struct sk_buff *)fp;
fp               1622 drivers/scsi/fcoe/fcoe.c 		fr_flags(fp) &= ~FCPHF_CRC_UNCHECKED;
fp               1624 drivers/scsi/fcoe/fcoe.c 		fr_flags(fp) |= FCPHF_CRC_UNCHECKED;
fp               1626 drivers/scsi/fcoe/fcoe.c 	fh = fc_frame_header_get(fp);
fp               1632 drivers/scsi/fcoe/fcoe.c 	if (is_fip_mode(ctlr) && fc_frame_payload_op(fp) == ELS_LOGO &&
fp               1638 drivers/scsi/fcoe/fcoe.c 	if (!(fr_flags(fp) & FCPHF_CRC_UNCHECKED) ||
fp               1639 drivers/scsi/fcoe/fcoe.c 	    le32_to_cpu(fr_crc(fp)) == ~crc32(~0, skb->data, skb->len)) {
fp               1640 drivers/scsi/fcoe/fcoe.c 		fr_flags(fp) &= ~FCPHF_CRC_UNCHECKED;
fp               1663 drivers/scsi/fcoe/fcoe.c 	struct fc_frame *fp;
fp               1707 drivers/scsi/fcoe/fcoe.c 	fp = (struct fc_frame *)skb;
fp               1708 drivers/scsi/fcoe/fcoe.c 	fc_frame_init(fp);
fp               1709 drivers/scsi/fcoe/fcoe.c 	fr_dev(fp) = lport;
fp               1710 drivers/scsi/fcoe/fcoe.c 	fr_sof(fp) = hp->fcoe_sof;
fp               1715 drivers/scsi/fcoe/fcoe.c 	fr_eof(fp) = crc_eof.fcoe_eof;
fp               1716 drivers/scsi/fcoe/fcoe.c 	fr_crc(fp) = crc_eof.fcoe_crc32;
fp               1720 drivers/scsi/fcoe/fcoe.c 	if (!fcoe_filter_frames(lport, fp)) {
fp               1722 drivers/scsi/fcoe/fcoe.c 		fc_exch_recv(lport, fp);
fp               2573 drivers/scsi/fcoe/fcoe.c static void fcoe_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg)
fp               2580 drivers/scsi/fcoe/fcoe.c 	if (IS_ERR(fp))
fp               2583 drivers/scsi/fcoe/fcoe.c 	mac = fr_cb(fp)->granted_mac;
fp               2586 drivers/scsi/fcoe/fcoe.c 		fcoe_ctlr_recv_flogi(fip, lport, fp);
fp               2590 drivers/scsi/fcoe/fcoe.c 	fc_lport_flogi_resp(seq, fp, lport);
fp               2602 drivers/scsi/fcoe/fcoe.c static void fcoe_logo_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg)
fp               2607 drivers/scsi/fcoe/fcoe.c 	if (!IS_ERR(fp))
fp               2609 drivers/scsi/fcoe/fcoe.c 	fc_lport_logo_resp(seq, fp, lport);
fp               2622 drivers/scsi/fcoe/fcoe.c 				      struct fc_frame *fp, unsigned int op,
fp               2631 drivers/scsi/fcoe/fcoe.c 	struct fc_frame_header *fh = fc_frame_header_get(fp);
fp               2638 drivers/scsi/fcoe/fcoe.c 		return fc_elsct_send(lport, did, fp, op, fcoe_flogi_resp,
fp               2644 drivers/scsi/fcoe/fcoe.c 		return fc_elsct_send(lport, did, fp, op, fcoe_logo_resp,
fp               2647 drivers/scsi/fcoe/fcoe.c 	return fc_elsct_send(lport, did, fp, op, resp, arg, timeout);
fp               2787 drivers/scsi/fcoe/fcoe.c 	struct fc_frame *fp;
fp               2798 drivers/scsi/fcoe/fcoe.c 	fp = fc_frame_alloc(lport,
fp               2801 drivers/scsi/fcoe/fcoe.c 	if (!fp)
fp               2803 drivers/scsi/fcoe/fcoe.c 	lport->tt.elsct_send(lport, FC_FID_DIR_SERV, fp, FC_NS_RSPN_ID,
fp               2830 drivers/scsi/fcoe/fcoe.c 			     u32 port_id, struct fc_frame *fp)
fp               2836 drivers/scsi/fcoe/fcoe.c 	if (fp && fc_frame_payload_op(fp) == ELS_FLOGI)
fp               2837 drivers/scsi/fcoe/fcoe.c 		fcoe_ctlr_recv_flogi(ctlr, lport, fp);
fp                698 drivers/scsi/fcoe/fcoe_ctlr.c 	struct fc_frame *fp;
fp                704 drivers/scsi/fcoe/fcoe_ctlr.c 	fp = container_of(skb, struct fc_frame, skb);
fp                776 drivers/scsi/fcoe/fcoe_ctlr.c 		op = fr_encaps(fp);
fp               1138 drivers/scsi/fcoe/fcoe_ctlr.c 	struct fc_frame *fp = (struct fc_frame *)skb;
fp               1256 drivers/scsi/fcoe/fcoe_ctlr.c 			memcpy(fr_cb(fp)->granted_mac, granted_mac, ETH_ALEN);
fp               1280 drivers/scsi/fcoe/fcoe_ctlr.c 	fp = (struct fc_frame *)skb;
fp               1281 drivers/scsi/fcoe/fcoe_ctlr.c 	fc_frame_init(fp);
fp               1282 drivers/scsi/fcoe/fcoe_ctlr.c 	fr_sof(fp) = FC_SOF_I3;
fp               1283 drivers/scsi/fcoe/fcoe_ctlr.c 	fr_eof(fp) = FC_EOF_T;
fp               1284 drivers/scsi/fcoe/fcoe_ctlr.c 	fr_dev(fp) = lport;
fp               1285 drivers/scsi/fcoe/fcoe_ctlr.c 	fr_encaps(fp) = els_dtype;
fp               1292 drivers/scsi/fcoe/fcoe_ctlr.c 	fc_exch_recv(lport, fp);
fp               1903 drivers/scsi/fcoe/fcoe_ctlr.c 			 struct fc_frame *fp)
fp               1909 drivers/scsi/fcoe/fcoe_ctlr.c 	sa = eth_hdr(&fp->skb)->h_source;
fp               1910 drivers/scsi/fcoe/fcoe_ctlr.c 	fh = fc_frame_header_get(fp);
fp               1914 drivers/scsi/fcoe/fcoe_ctlr.c 	op = fc_frame_payload_op(fp);
fp               1941 drivers/scsi/fcoe/fcoe_ctlr.c 		fc_fcoe_set_mac(fr_cb(fp)->granted_mac, fh->fh_d_id);
fp               3008 drivers/scsi/fcoe/fcoe_ctlr.c static void fcoe_ctlr_disc_recv(struct fc_lport *lport, struct fc_frame *fp)
fp               3014 drivers/scsi/fcoe/fcoe_ctlr.c 	fc_seq_els_rsp_send(fp, ELS_LS_RJT, &rjt_data);
fp               3015 drivers/scsi/fcoe/fcoe_ctlr.c 	fc_frame_free(fp);
fp                308 drivers/scsi/fcoe/fcoe_transport.c u32 fcoe_fc_crc(struct fc_frame *fp)
fp                310 drivers/scsi/fcoe/fcoe_transport.c 	struct sk_buff *skb = fp_skb(fp);
fp                197 drivers/scsi/fnic/fnic_fcs.c 	struct fc_frame *fp;
fp                207 drivers/scsi/fnic/fnic_fcs.c 		fp = (struct fc_frame *)skb;
fp                221 drivers/scsi/fnic/fnic_fcs.c 		fc_exch_recv(lp, fp);
fp                670 drivers/scsi/fnic/fnic_fcs.c 	struct fc_frame *fp;
fp                708 drivers/scsi/fnic/fnic_fcs.c 	fp = (struct fc_frame *)skb;
fp                709 drivers/scsi/fnic/fnic_fcs.c 	fc_frame_init(fp);
fp                710 drivers/scsi/fnic/fnic_fcs.c 	fr_sof(fp) = fcoe_hdr->fcoe_sof;
fp                715 drivers/scsi/fnic/fnic_fcs.c 	fr_eof(fp) = ft->fcoe_eof;
fp                775 drivers/scsi/fnic/fnic_fcs.c void fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp)
fp                782 drivers/scsi/fnic/fnic_fcs.c 		     port_id, fp);
fp                794 drivers/scsi/fnic/fnic_fcs.c 	if (fp) {
fp                795 drivers/scsi/fnic/fnic_fcs.c 		mac = fr_cb(fp)->granted_mac;
fp                798 drivers/scsi/fnic/fnic_fcs.c 			fcoe_ctlr_recv_flogi(&fnic->ctlr, lport, fp);
fp                838 drivers/scsi/fnic/fnic_fcs.c 	struct fc_frame *fp;
fp                858 drivers/scsi/fnic/fnic_fcs.c 	fp = (struct fc_frame *)skb;
fp                872 drivers/scsi/fnic/fnic_fcs.c 		fr_sof(fp) = sof;
fp                873 drivers/scsi/fnic/fnic_fcs.c 		fr_eof(fp) = eof;
fp                921 drivers/scsi/fnic/fnic_fcs.c 	fr_dev(fp) = fnic->lport;
fp               1013 drivers/scsi/fnic/fnic_fcs.c 	struct fc_frame *fp = buf->os_buf;
fp               1019 drivers/scsi/fnic/fnic_fcs.c 	dev_kfree_skb(fp_skb(fp));
fp               1082 drivers/scsi/fnic/fnic_fcs.c static int fnic_send_frame(struct fnic *fnic, struct fc_frame *fp)
fp               1095 drivers/scsi/fnic/fnic_fcs.c 	fh = fc_frame_header_get(fp);
fp               1096 drivers/scsi/fnic/fnic_fcs.c 	skb = fp_skb(fp);
fp               1127 drivers/scsi/fnic/fnic_fcs.c 	fcoe_hdr->fcoe_sof = fr_sof(fp);
fp               1151 drivers/scsi/fnic/fnic_fcs.c 	fnic_queue_wq_desc(wq, skb, pa, tot_len, fr_eof(fp),
fp               1160 drivers/scsi/fnic/fnic_fcs.c 		dev_kfree_skb_any(fp_skb(fp));
fp               1169 drivers/scsi/fnic/fnic_fcs.c int fnic_send(struct fc_lport *lp, struct fc_frame *fp)
fp               1175 drivers/scsi/fnic/fnic_fcs.c 		dev_kfree_skb(fp_skb(fp));
fp               1185 drivers/scsi/fnic/fnic_fcs.c 		skb_queue_tail(&fnic->tx_queue, fp_skb(fp));
fp               1191 drivers/scsi/fnic/fnic_fcs.c 	return fnic_send_frame(fnic, fp);
fp               1207 drivers/scsi/fnic/fnic_fcs.c 	struct fc_frame *fp;
fp               1210 drivers/scsi/fnic/fnic_fcs.c 		fp = (struct fc_frame *)skb;
fp               1211 drivers/scsi/fnic/fnic_fcs.c 		fnic_send_frame(fnic, fp);
fp               1258 drivers/scsi/fnic/fnic_fcs.c 	struct fc_frame *fp = (struct fc_frame *)skb;
fp               1263 drivers/scsi/fnic/fnic_fcs.c 	dev_kfree_skb_irq(fp_skb(fp));
fp               1301 drivers/scsi/fnic/fnic_fcs.c 	struct fc_frame *fp = buf->os_buf;
fp               1307 drivers/scsi/fnic/fnic_fcs.c 	dev_kfree_skb(fp_skb(fp));
fp                 70 drivers/scsi/libfc/fc_disc.c static void fc_disc_recv_rscn_req(struct fc_disc *disc, struct fc_frame *fp)
fp                 90 drivers/scsi/libfc/fc_disc.c 	rp = fc_frame_payload_get(fp, sizeof(*rp));
fp                101 drivers/scsi/libfc/fc_disc.c 	rp = fc_frame_payload_get(fp, len);
fp                140 drivers/scsi/libfc/fc_disc.c 	fc_seq_els_rsp_send(fp, ELS_LS_ACC, NULL);
fp                162 drivers/scsi/libfc/fc_disc.c 	fc_frame_free(fp);
fp                168 drivers/scsi/libfc/fc_disc.c 	fc_seq_els_rsp_send(fp, ELS_LS_RJT, &rjt_data);
fp                169 drivers/scsi/libfc/fc_disc.c 	fc_frame_free(fp);
fp                181 drivers/scsi/libfc/fc_disc.c static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp)
fp                186 drivers/scsi/libfc/fc_disc.c 	op = fc_frame_payload_op(fp);
fp                190 drivers/scsi/libfc/fc_disc.c 		fc_disc_recv_rscn_req(disc, fp);
fp                196 drivers/scsi/libfc/fc_disc.c 		fc_frame_free(fp);
fp                299 drivers/scsi/libfc/fc_disc.c static void fc_disc_error(struct fc_disc *disc, struct fc_frame *fp)
fp                305 drivers/scsi/libfc/fc_disc.c 		    PTR_ERR(fp), disc->retry_count,
fp                308 drivers/scsi/libfc/fc_disc.c 	if (!fp || PTR_ERR(fp) == -FC_EX_TIMEOUT) {
fp                315 drivers/scsi/libfc/fc_disc.c 			if (!fp)
fp                328 drivers/scsi/libfc/fc_disc.c 	} else if (PTR_ERR(fp) == -FC_EX_CLOSED) {
fp                344 drivers/scsi/libfc/fc_disc.c 	struct fc_frame *fp;
fp                356 drivers/scsi/libfc/fc_disc.c 	fp = fc_frame_alloc(lport,
fp                359 drivers/scsi/libfc/fc_disc.c 	if (!fp)
fp                362 drivers/scsi/libfc/fc_disc.c 	if (lport->tt.elsct_send(lport, 0, fp,
fp                496 drivers/scsi/libfc/fc_disc.c static void fc_disc_gpn_ft_resp(struct fc_seq *sp, struct fc_frame *fp,
fp                510 drivers/scsi/libfc/fc_disc.c 	if (IS_ERR(fp)) {
fp                511 drivers/scsi/libfc/fc_disc.c 		fc_disc_error(disc, fp);
fp                516 drivers/scsi/libfc/fc_disc.c 	WARN_ON(!fc_frame_is_linear(fp));	/* buffer must be contiguous */
fp                517 drivers/scsi/libfc/fc_disc.c 	fh = fc_frame_header_get(fp);
fp                518 drivers/scsi/libfc/fc_disc.c 	len = fr_len(fp) - sizeof(*fh);
fp                520 drivers/scsi/libfc/fc_disc.c 	if (fr_sof(fp) == FC_SOF_I3 && seq_cnt == 0 && disc->seq_count == 0) {
fp                521 drivers/scsi/libfc/fc_disc.c 		cp = fc_frame_payload_get(fp, sizeof(*cp));
fp                524 drivers/scsi/libfc/fc_disc.c 				    fr_len(fp));
fp                544 drivers/scsi/libfc/fc_disc.c 	} else if (fr_sof(fp) == FC_SOF_N3 && seq_cnt == disc->seq_count) {
fp                549 drivers/scsi/libfc/fc_disc.c 			    seq_cnt, disc->seq_count, fr_sof(fp), fr_eof(fp));
fp                556 drivers/scsi/libfc/fc_disc.c 	fc_frame_free(fp);
fp                568 drivers/scsi/libfc/fc_disc.c static void fc_disc_gpn_id_resp(struct fc_seq *sp, struct fc_frame *fp,
fp                582 drivers/scsi/libfc/fc_disc.c 	if (PTR_ERR(fp) == -FC_EX_CLOSED)
fp                584 drivers/scsi/libfc/fc_disc.c 	if (IS_ERR(fp))
fp                587 drivers/scsi/libfc/fc_disc.c 	cp = fc_frame_payload_get(fp, sizeof(*cp));
fp                591 drivers/scsi/libfc/fc_disc.c 		if (fr_len(fp) < sizeof(struct fc_frame_header) +
fp                631 drivers/scsi/libfc/fc_disc.c 	if (!IS_ERR(fp))
fp                632 drivers/scsi/libfc/fc_disc.c 		fc_frame_free(fp);
fp                645 drivers/scsi/libfc/fc_disc.c 	struct fc_frame *fp;
fp                648 drivers/scsi/libfc/fc_disc.c 	fp = fc_frame_alloc(lport, sizeof(struct fc_ct_hdr) +
fp                650 drivers/scsi/libfc/fc_disc.c 	if (!fp)
fp                652 drivers/scsi/libfc/fc_disc.c 	if (!lport->tt.elsct_send(lport, rdata->ids.port_id, fp, FC_NS_GPN_ID,
fp                 32 drivers/scsi/libfc/fc_elsct.c 			     struct fc_frame *fp, unsigned int op,
fp                 44 drivers/scsi/libfc/fc_elsct.c 		rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type);
fp                 47 drivers/scsi/libfc/fc_elsct.c 		rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did);
fp                 51 drivers/scsi/libfc/fc_elsct.c 		fc_frame_free(fp);
fp                 55 drivers/scsi/libfc/fc_elsct.c 	fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type,
fp                 58 drivers/scsi/libfc/fc_elsct.c 	return fc_exch_seq_send(lport, fp, resp, NULL, arg, timer_msec);
fp                 79 drivers/scsi/libfc/fc_elsct.c const char *fc_els_resp_type(struct fc_frame *fp)
fp                 85 drivers/scsi/libfc/fc_elsct.c 	if (IS_ERR(fp)) {
fp                 86 drivers/scsi/libfc/fc_elsct.c 		switch (-PTR_ERR(fp)) {
fp                101 drivers/scsi/libfc/fc_elsct.c 		fh = fc_frame_header_get(fp);
fp                104 drivers/scsi/libfc/fc_elsct.c 			switch (fc_frame_payload_op(fp)) {
fp                117 drivers/scsi/libfc/fc_elsct.c 			ct = fc_frame_payload_get(fp, sizeof(*ct));
fp                261 drivers/scsi/libfc/fc_exch.c static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp,
fp                264 drivers/scsi/libfc/fc_exch.c 	struct fc_frame_header *fh = fc_frame_header_get(fp);
fp                267 drivers/scsi/libfc/fc_exch.c 	fr_sof(fp) = ep->class;
fp                269 drivers/scsi/libfc/fc_exch.c 		fr_sof(fp) = fc_sof_normal(ep->class);
fp                272 drivers/scsi/libfc/fc_exch.c 		fr_eof(fp) = FC_EOF_T;
fp                274 drivers/scsi/libfc/fc_exch.c 			fr_eof(fp) = FC_EOF_N;
fp                284 drivers/scsi/libfc/fc_exch.c 		fill = fr_len(fp) & 3;
fp                288 drivers/scsi/libfc/fc_exch.c 			skb_put(fp_skb(fp), fill);
fp                292 drivers/scsi/libfc/fc_exch.c 		WARN_ON(fr_len(fp) % 4 != 0);	/* no pad to non last frame */
fp                293 drivers/scsi/libfc/fc_exch.c 		fr_eof(fp) = FC_EOF_N;
fp                463 drivers/scsi/libfc/fc_exch.c 			      struct fc_frame *fp)
fp                466 drivers/scsi/libfc/fc_exch.c 	struct fc_frame_header *fh = fc_frame_header_get(fp);
fp                474 drivers/scsi/libfc/fc_exch.c 		fc_frame_free(fp);
fp                481 drivers/scsi/libfc/fc_exch.c 	fc_exch_setup_hdr(ep, fp, f_ctl);
fp                482 drivers/scsi/libfc/fc_exch.c 	fr_encaps(fp) = ep->encaps;
fp                489 drivers/scsi/libfc/fc_exch.c 	if (fr_max_payload(fp))
fp                490 drivers/scsi/libfc/fc_exch.c 		sp->cnt += DIV_ROUND_UP((fr_len(fp) - sizeof(*fh)),
fp                491 drivers/scsi/libfc/fc_exch.c 					fr_max_payload(fp));
fp                498 drivers/scsi/libfc/fc_exch.c 	error = lport->tt.frame_send(lport, fp);
fp                524 drivers/scsi/libfc/fc_exch.c int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp)
fp                530 drivers/scsi/libfc/fc_exch.c 	error = fc_seq_send_locked(lport, sp, fp);
fp                636 drivers/scsi/libfc/fc_exch.c 	struct fc_frame *fp;
fp                661 drivers/scsi/libfc/fc_exch.c 		fp = fc_frame_alloc(ep->lp, 0);
fp                662 drivers/scsi/libfc/fc_exch.c 		if (fp) {
fp                664 drivers/scsi/libfc/fc_exch.c 			fc_fill_fc_hdr(fp, FC_RCTL_BA_ABTS, ep->did, ep->sid,
fp                667 drivers/scsi/libfc/fc_exch.c 			error = fc_seq_send_locked(ep->lp, sp, fp);
fp                726 drivers/scsi/libfc/fc_exch.c 			   struct fc_frame *fp)
fp                728 drivers/scsi/libfc/fc_exch.c 	void (*resp)(struct fc_seq *, struct fc_frame *fp, void *arg);
fp                741 drivers/scsi/libfc/fc_exch.c 		resp(sp, fp, arg);
fp                903 drivers/scsi/libfc/fc_exch.c 				     struct fc_frame *fp)
fp                909 drivers/scsi/libfc/fc_exch.c 		if (!ema->match || ema->match(fp)) {
fp                989 drivers/scsi/libfc/fc_exch.c 				    struct fc_frame *fp)
fp                994 drivers/scsi/libfc/fc_exch.c 	ep = fc_exch_alloc(lport, fp);
fp                996 drivers/scsi/libfc/fc_exch.c 		ep->class = fc_frame_class(fp);
fp               1003 drivers/scsi/libfc/fc_exch.c 		fh = fc_frame_header_get(fp);
fp               1037 drivers/scsi/libfc/fc_exch.c 						 struct fc_frame *fp)
fp               1039 drivers/scsi/libfc/fc_exch.c 	struct fc_frame_header *fh = fc_frame_header_get(fp);
fp               1075 drivers/scsi/libfc/fc_exch.c 		    fc_frame_payload_op(fp) == ELS_TEST) {
fp               1084 drivers/scsi/libfc/fc_exch.c 		if ((f_ctl & FC_FC_FIRST_SEQ) && fc_sof_is_init(fr_sof(fp))) {
fp               1090 drivers/scsi/libfc/fc_exch.c 			ep = fc_exch_resp(lport, mp, fp);
fp               1108 drivers/scsi/libfc/fc_exch.c 	if (fc_sof_is_init(fr_sof(fp))) {
fp               1148 drivers/scsi/libfc/fc_exch.c 	fr_seq(fp) = sp;
fp               1166 drivers/scsi/libfc/fc_exch.c 					 struct fc_frame *fp)
fp               1168 drivers/scsi/libfc/fc_exch.c 	struct fc_frame_header *fh = fc_frame_header_get(fp);
fp               1224 drivers/scsi/libfc/fc_exch.c void fc_seq_els_rsp_send(struct fc_frame *fp, enum fc_els_cmd els_cmd,
fp               1229 drivers/scsi/libfc/fc_exch.c 		fc_seq_ls_rjt(fp, els_data->reason, els_data->explan);
fp               1232 drivers/scsi/libfc/fc_exch.c 		fc_seq_ls_acc(fp);
fp               1235 drivers/scsi/libfc/fc_exch.c 		fc_exch_els_rrq(fp);
fp               1238 drivers/scsi/libfc/fc_exch.c 		fc_exch_els_rec(fp);
fp               1241 drivers/scsi/libfc/fc_exch.c 		FC_LPORT_DBG(fr_dev(fp), "Invalid ELS CMD:%x\n", els_cmd);
fp               1253 drivers/scsi/libfc/fc_exch.c static void fc_seq_send_last(struct fc_seq *sp, struct fc_frame *fp,
fp               1261 drivers/scsi/libfc/fc_exch.c 	fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0);
fp               1262 drivers/scsi/libfc/fc_exch.c 	fc_seq_send_locked(ep->lp, sp, fp);
fp               1274 drivers/scsi/libfc/fc_exch.c 	struct fc_frame *fp;
fp               1285 drivers/scsi/libfc/fc_exch.c 		fp = fc_frame_alloc(lport, 0);
fp               1286 drivers/scsi/libfc/fc_exch.c 		if (!fp) {
fp               1291 drivers/scsi/libfc/fc_exch.c 		fh = fc_frame_header_get(fp);
fp               1311 drivers/scsi/libfc/fc_exch.c 		fc_exch_setup_hdr(ep, fp, f_ctl);
fp               1316 drivers/scsi/libfc/fc_exch.c 		fr_sof(fp) = fr_sof(rx_fp);
fp               1318 drivers/scsi/libfc/fc_exch.c 			fr_eof(fp) = FC_EOF_T;
fp               1320 drivers/scsi/libfc/fc_exch.c 			fr_eof(fp) = FC_EOF_N;
fp               1322 drivers/scsi/libfc/fc_exch.c 		lport->tt.frame_send(lport, fp);
fp               1338 drivers/scsi/libfc/fc_exch.c 	struct fc_frame *fp;
fp               1348 drivers/scsi/libfc/fc_exch.c 	fp = fc_frame_alloc(lport, sizeof(*rp));
fp               1349 drivers/scsi/libfc/fc_exch.c 	if (!fp) {
fp               1354 drivers/scsi/libfc/fc_exch.c 	fh = fc_frame_header_get(fp);
fp               1359 drivers/scsi/libfc/fc_exch.c 	rp = fc_frame_payload_get(fp, sizeof(*rp));
fp               1391 drivers/scsi/libfc/fc_exch.c 	fr_sof(fp) = fc_sof_class(fr_sof(rx_fp));
fp               1392 drivers/scsi/libfc/fc_exch.c 	fr_eof(fp) = FC_EOF_T;
fp               1393 drivers/scsi/libfc/fc_exch.c 	if (fc_sof_needs_ack(fr_sof(fp)))
fp               1394 drivers/scsi/libfc/fc_exch.c 		fr_eof(fp) = FC_EOF_N;
fp               1396 drivers/scsi/libfc/fc_exch.c 	lport->tt.frame_send(lport, fp);
fp               1410 drivers/scsi/libfc/fc_exch.c 	struct fc_frame *fp;
fp               1419 drivers/scsi/libfc/fc_exch.c 	fp = fc_frame_alloc(ep->lp, sizeof(*ap));
fp               1420 drivers/scsi/libfc/fc_exch.c 	if (!fp) {
fp               1429 drivers/scsi/libfc/fc_exch.c 		fc_frame_free(fp);
fp               1437 drivers/scsi/libfc/fc_exch.c 	fh = fc_frame_header_get(fp);
fp               1438 drivers/scsi/libfc/fc_exch.c 	ap = fc_frame_payload_get(fp, sizeof(*ap));
fp               1449 drivers/scsi/libfc/fc_exch.c 	fc_seq_send_last(sp, fp, FC_RCTL_BA_ACC, FC_TYPE_BLS);
fp               1471 drivers/scsi/libfc/fc_exch.c struct fc_seq *fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp)
fp               1475 drivers/scsi/libfc/fc_exch.c 	WARN_ON(lport != fr_dev(fp));
fp               1476 drivers/scsi/libfc/fc_exch.c 	WARN_ON(fr_seq(fp));
fp               1477 drivers/scsi/libfc/fc_exch.c 	fr_seq(fp) = NULL;
fp               1480 drivers/scsi/libfc/fc_exch.c 		if ((!ema->match || ema->match(fp)) &&
fp               1481 drivers/scsi/libfc/fc_exch.c 		    fc_seq_lookup_recip(lport, ema->mp, fp) == FC_RJT_NONE)
fp               1483 drivers/scsi/libfc/fc_exch.c 	return fr_seq(fp);
fp               1507 drivers/scsi/libfc/fc_exch.c 			     struct fc_frame *fp)
fp               1509 drivers/scsi/libfc/fc_exch.c 	struct fc_frame_header *fh = fc_frame_header_get(fp);
fp               1519 drivers/scsi/libfc/fc_exch.c 		fc_frame_free(fp);
fp               1522 drivers/scsi/libfc/fc_exch.c 	fr_dev(fp) = lport;
fp               1524 drivers/scsi/libfc/fc_exch.c 	BUG_ON(fr_seq(fp));		/* XXX remove later */
fp               1531 drivers/scsi/libfc/fc_exch.c 		return fc_lport_recv(lport, fp);
fp               1533 drivers/scsi/libfc/fc_exch.c 	reject = fc_seq_lookup_recip(lport, mp, fp);
fp               1535 drivers/scsi/libfc/fc_exch.c 		sp = fr_seq(fp);	/* sequence will be held */
fp               1537 drivers/scsi/libfc/fc_exch.c 		fc_seq_send_ack(sp, fp);
fp               1538 drivers/scsi/libfc/fc_exch.c 		ep->encaps = fr_encaps(fp);
fp               1551 drivers/scsi/libfc/fc_exch.c 		if (!fc_invoke_resp(ep, sp, fp))
fp               1552 drivers/scsi/libfc/fc_exch.c 			fc_lport_recv(lport, fp);
fp               1557 drivers/scsi/libfc/fc_exch.c 		fc_frame_free(fp);
fp               1568 drivers/scsi/libfc/fc_exch.c static void fc_exch_recv_seq_resp(struct fc_exch_mgr *mp, struct fc_frame *fp)
fp               1570 drivers/scsi/libfc/fc_exch.c 	struct fc_frame_header *fh = fc_frame_header_get(fp);
fp               1597 drivers/scsi/libfc/fc_exch.c 	sof = fr_sof(fp);
fp               1605 drivers/scsi/libfc/fc_exch.c 	fr_seq(fp) = sp;
fp               1613 drivers/scsi/libfc/fc_exch.c 		fc_seq_send_ack(sp, fp);
fp               1615 drivers/scsi/libfc/fc_exch.c 	if (fh->fh_type != FC_TYPE_FCP && fr_eof(fp) == FC_EOF_T &&
fp               1639 drivers/scsi/libfc/fc_exch.c 	if (!fc_invoke_resp(ep, sp, fp))
fp               1640 drivers/scsi/libfc/fc_exch.c 		fc_frame_free(fp);
fp               1647 drivers/scsi/libfc/fc_exch.c 	fc_frame_free(fp);
fp               1656 drivers/scsi/libfc/fc_exch.c static void fc_exch_recv_resp(struct fc_exch_mgr *mp, struct fc_frame *fp)
fp               1660 drivers/scsi/libfc/fc_exch.c 	sp = fc_seq_lookup_orig(mp, fp);	/* doesn't hold sequence */
fp               1667 drivers/scsi/libfc/fc_exch.c 	fc_frame_free(fp);
fp               1678 drivers/scsi/libfc/fc_exch.c static void fc_exch_abts_resp(struct fc_exch *ep, struct fc_frame *fp)
fp               1687 drivers/scsi/libfc/fc_exch.c 	fh = fc_frame_header_get(fp);
fp               1699 drivers/scsi/libfc/fc_exch.c 		ap = fc_frame_payload_get(fp, sizeof(*ap));
fp               1739 drivers/scsi/libfc/fc_exch.c 	if (!fc_invoke_resp(ep, sp, fp))
fp               1740 drivers/scsi/libfc/fc_exch.c 		fc_frame_free(fp);
fp               1754 drivers/scsi/libfc/fc_exch.c static void fc_exch_recv_bls(struct fc_exch_mgr *mp, struct fc_frame *fp)
fp               1760 drivers/scsi/libfc/fc_exch.c 	fh = fc_frame_header_get(fp);
fp               1762 drivers/scsi/libfc/fc_exch.c 	fr_seq(fp) = NULL;
fp               1787 drivers/scsi/libfc/fc_exch.c 		fc_frame_free(fp);
fp               1793 drivers/scsi/libfc/fc_exch.c 				fc_exch_abts_resp(ep, fp);
fp               1795 drivers/scsi/libfc/fc_exch.c 				fc_frame_free(fp);
fp               1799 drivers/scsi/libfc/fc_exch.c 				fc_exch_recv_abts(ep, fp);
fp               1801 drivers/scsi/libfc/fc_exch.c 				fc_frame_free(fp);
fp               1804 drivers/scsi/libfc/fc_exch.c 			fc_frame_free(fp);
fp               1823 drivers/scsi/libfc/fc_exch.c 	struct fc_frame *fp;
fp               1828 drivers/scsi/libfc/fc_exch.c 	fp = fc_frame_alloc(lport, sizeof(*acc));
fp               1829 drivers/scsi/libfc/fc_exch.c 	if (!fp) {
fp               1834 drivers/scsi/libfc/fc_exch.c 	acc = fc_frame_payload_get(fp, sizeof(*acc));
fp               1837 drivers/scsi/libfc/fc_exch.c 	fc_fill_reply_hdr(fp, rx_fp, FC_RCTL_ELS_REP, 0);
fp               1838 drivers/scsi/libfc/fc_exch.c 	lport->tt.frame_send(lport, fp);
fp               1855 drivers/scsi/libfc/fc_exch.c 	struct fc_frame *fp;
fp               1860 drivers/scsi/libfc/fc_exch.c 	fp = fc_frame_alloc(lport, sizeof(*rjt));
fp               1861 drivers/scsi/libfc/fc_exch.c 	if (!fp) {
fp               1866 drivers/scsi/libfc/fc_exch.c 	rjt = fc_frame_payload_get(fp, sizeof(*rjt));
fp               1871 drivers/scsi/libfc/fc_exch.c 	fc_fill_reply_hdr(fp, rx_fp, FC_RCTL_ELS_REP, 0);
fp               1872 drivers/scsi/libfc/fc_exch.c 	lport->tt.frame_send(lport, fp);
fp               2003 drivers/scsi/libfc/fc_exch.c 	struct fc_frame *fp;
fp               2045 drivers/scsi/libfc/fc_exch.c 	fp = fc_frame_alloc(lport, sizeof(*acc));
fp               2046 drivers/scsi/libfc/fc_exch.c 	if (!fp) {
fp               2051 drivers/scsi/libfc/fc_exch.c 	acc = fc_frame_payload_get(fp, sizeof(*acc));
fp               2065 drivers/scsi/libfc/fc_exch.c 	fc_fill_reply_hdr(fp, rfp, FC_RCTL_ELS_REP, 0);
fp               2066 drivers/scsi/libfc/fc_exch.c 	lport->tt.frame_send(lport, fp);
fp               2085 drivers/scsi/libfc/fc_exch.c static void fc_exch_rrq_resp(struct fc_seq *sp, struct fc_frame *fp, void *arg)
fp               2090 drivers/scsi/libfc/fc_exch.c 	if (IS_ERR(fp)) {
fp               2091 drivers/scsi/libfc/fc_exch.c 		int err = PTR_ERR(fp);
fp               2100 drivers/scsi/libfc/fc_exch.c 	op = fc_frame_payload_op(fp);
fp               2101 drivers/scsi/libfc/fc_exch.c 	fc_frame_free(fp);
fp               2160 drivers/scsi/libfc/fc_exch.c 				struct fc_frame *fp,
fp               2162 drivers/scsi/libfc/fc_exch.c 					     struct fc_frame *fp,
fp               2173 drivers/scsi/libfc/fc_exch.c 	ep = fc_exch_alloc(lport, fp);
fp               2175 drivers/scsi/libfc/fc_exch.c 		fc_frame_free(fp);
fp               2179 drivers/scsi/libfc/fc_exch.c 	fh = fc_frame_header_get(fp);
fp               2190 drivers/scsi/libfc/fc_exch.c 	fc_exch_setup_hdr(ep, fp, ep->f_ctl);
fp               2194 drivers/scsi/libfc/fc_exch.c 		fsp = fr_fsp(fp);
fp               2195 drivers/scsi/libfc/fc_exch.c 		fc_fcp_ddp_setup(fr_fsp(fp), ep->xid);
fp               2198 drivers/scsi/libfc/fc_exch.c 	if (unlikely(lport->tt.frame_send(lport, fp)))
fp               2231 drivers/scsi/libfc/fc_exch.c 	struct fc_frame *fp;
fp               2236 drivers/scsi/libfc/fc_exch.c 	fp = fc_frame_alloc(lport, sizeof(*rrq));
fp               2237 drivers/scsi/libfc/fc_exch.c 	if (!fp)
fp               2240 drivers/scsi/libfc/fc_exch.c 	rrq = fc_frame_payload_get(fp, sizeof(*rrq));
fp               2251 drivers/scsi/libfc/fc_exch.c 	fc_fill_fc_hdr(fp, FC_RCTL_ELS_REQ, did,
fp               2255 drivers/scsi/libfc/fc_exch.c 	if (fc_exch_seq_send(lport, fp, fc_exch_rrq_resp, NULL, ep,
fp               2277 drivers/scsi/libfc/fc_exch.c static void fc_exch_els_rrq(struct fc_frame *fp)
fp               2286 drivers/scsi/libfc/fc_exch.c 	lport = fr_dev(fp);
fp               2287 drivers/scsi/libfc/fc_exch.c 	rp = fc_frame_payload_get(fp, sizeof(*rp));
fp               2329 drivers/scsi/libfc/fc_exch.c 	fc_seq_ls_acc(fp);
fp               2335 drivers/scsi/libfc/fc_exch.c 	fc_seq_ls_rjt(fp, ELS_RJT_LOGIC, explan);
fp               2586 drivers/scsi/libfc/fc_exch.c void fc_exch_recv(struct fc_lport *lport, struct fc_frame *fp)
fp               2588 drivers/scsi/libfc/fc_exch.c 	struct fc_frame_header *fh = fc_frame_header_get(fp);
fp               2596 drivers/scsi/libfc/fc_exch.c 		fc_frame_free(fp);
fp               2609 drivers/scsi/libfc/fc_exch.c 		fc_frame_free(fp);
fp               2616 drivers/scsi/libfc/fc_exch.c 	switch (fr_eof(fp)) {
fp               2619 drivers/scsi/libfc/fc_exch.c 			skb_trim(fp_skb(fp), fr_len(fp) - FC_FC_FILL(f_ctl));
fp               2623 drivers/scsi/libfc/fc_exch.c 			fc_exch_recv_bls(ema->mp, fp);
fp               2626 drivers/scsi/libfc/fc_exch.c 			fc_exch_recv_seq_resp(ema->mp, fp);
fp               2628 drivers/scsi/libfc/fc_exch.c 			fc_exch_recv_resp(ema->mp, fp);
fp               2630 drivers/scsi/libfc/fc_exch.c 			fc_exch_recv_req(lport, ema->mp, fp);
fp               2634 drivers/scsi/libfc/fc_exch.c 			     fr_eof(fp));
fp               2635 drivers/scsi/libfc/fc_exch.c 		fc_frame_free(fp);
fp                436 drivers/scsi/libfc/fc_fcp.c 	struct fc_frame *fp;
fp                438 drivers/scsi/libfc/fc_fcp.c 	fp = fc_frame_alloc(lport, len);
fp                439 drivers/scsi/libfc/fc_fcp.c 	if (likely(fp))
fp                440 drivers/scsi/libfc/fc_fcp.c 		return fp;
fp                473 drivers/scsi/libfc/fc_fcp.c static void fc_fcp_recv_data(struct fc_fcp_pkt *fsp, struct fc_frame *fp)
fp                489 drivers/scsi/libfc/fc_fcp.c 	fh = fc_frame_header_get(fp);
fp                492 drivers/scsi/libfc/fc_fcp.c 	len = fr_len(fp) - sizeof(*fh);
fp                493 drivers/scsi/libfc/fc_fcp.c 	buf = fc_frame_payload_get(fp, 0);
fp                510 drivers/scsi/libfc/fc_fcp.c 		if ((fr_flags(fp) & FCPHF_CRC_UNCHECKED) &&
fp                511 drivers/scsi/libfc/fc_fcp.c 		    fc_frame_crc_check(fp))
fp                526 drivers/scsi/libfc/fc_fcp.c 	if (!(fr_flags(fp) & FCPHF_CRC_UNCHECKED)) {
fp                533 drivers/scsi/libfc/fc_fcp.c 		buf = fc_frame_payload_get(fp, 0);
fp                537 drivers/scsi/libfc/fc_fcp.c 		if (~crc != le32_to_cpu(fr_crc(fp))) {
fp                599 drivers/scsi/libfc/fc_fcp.c 	struct fc_frame *fp = NULL;
fp                658 drivers/scsi/libfc/fc_fcp.c 		if (!fp) {
fp                668 drivers/scsi/libfc/fc_fcp.c 			fp = fc_frame_alloc(lport, using_sg ? 0 : tlen);
fp                669 drivers/scsi/libfc/fc_fcp.c 			if (!fp)
fp                672 drivers/scsi/libfc/fc_fcp.c 			data = fc_frame_header_get(fp) + 1;
fp                674 drivers/scsi/libfc/fc_fcp.c 			fr_max_payload(fp) = fsp->max_payload;
fp                684 drivers/scsi/libfc/fc_fcp.c 			skb_fill_page_desc(fp_skb(fp),
fp                685 drivers/scsi/libfc/fc_fcp.c 					   skb_shinfo(fp_skb(fp))->nr_frags,
fp                687 drivers/scsi/libfc/fc_fcp.c 			fp_skb(fp)->data_len += sg_bytes;
fp                688 drivers/scsi/libfc/fc_fcp.c 			fr_len(fp) += sg_bytes;
fp                689 drivers/scsi/libfc/fc_fcp.c 			fp_skb(fp)->truesize += PAGE_SIZE;
fp                706 drivers/scsi/libfc/fc_fcp.c 		if ((skb_shinfo(fp_skb(fp))->nr_frags < FC_FRAME_SG_LEN) &&
fp                718 drivers/scsi/libfc/fc_fcp.c 		fc_fill_fc_hdr(fp, FC_RCTL_DD_SOL_DATA, ep->did, ep->sid,
fp                724 drivers/scsi/libfc/fc_fcp.c 		error = fc_seq_send(lport, seq, fp);
fp                729 drivers/scsi/libfc/fc_fcp.c 		fp = NULL;
fp                740 drivers/scsi/libfc/fc_fcp.c static void fc_fcp_abts_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp)
fp                746 drivers/scsi/libfc/fc_fcp.c 	fh = fc_frame_header_get(fp);
fp                751 drivers/scsi/libfc/fc_fcp.c 		brp = fc_frame_payload_get(fp, sizeof(*brp));
fp                777 drivers/scsi/libfc/fc_fcp.c static void fc_fcp_recv(struct fc_seq *seq, struct fc_frame *fp, void *arg)
fp                786 drivers/scsi/libfc/fc_fcp.c 	if (IS_ERR(fp)) {
fp                787 drivers/scsi/libfc/fc_fcp.c 		fc_fcp_error(fsp, fp);
fp                791 drivers/scsi/libfc/fc_fcp.c 	fh = fc_frame_header_get(fp);
fp                803 drivers/scsi/libfc/fc_fcp.c 		fc_fcp_abts_resp(fsp, fp);
fp                817 drivers/scsi/libfc/fc_fcp.c 		WARN_ON(fr_flags(fp) & FCPHF_CRC_UNCHECKED);
fp                818 drivers/scsi/libfc/fc_fcp.c 		dd = fc_frame_payload_get(fp, sizeof(*dd));
fp                831 drivers/scsi/libfc/fc_fcp.c 		WARN_ON(fr_len(fp) < sizeof(*fh));	/* len may be 0 */
fp                832 drivers/scsi/libfc/fc_fcp.c 		fc_fcp_recv_data(fsp, fp);
fp                835 drivers/scsi/libfc/fc_fcp.c 		WARN_ON(fr_flags(fp) & FCPHF_CRC_UNCHECKED);
fp                837 drivers/scsi/libfc/fc_fcp.c 		fc_fcp_resp(fsp, fp);
fp                844 drivers/scsi/libfc/fc_fcp.c 	fc_frame_free(fp);
fp                852 drivers/scsi/libfc/fc_fcp.c static void fc_fcp_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp)
fp                864 drivers/scsi/libfc/fc_fcp.c 	plen = fr_len(fp);
fp                865 drivers/scsi/libfc/fc_fcp.c 	fh = (struct fc_frame_header *)fr_hdr(fp);
fp                968 drivers/scsi/libfc/fc_fcp.c 		   "snsl %u\n", flags, fr_len(fp), respl, snsl);
fp               1168 drivers/scsi/libfc/fc_fcp.c 					struct fc_frame *fp,
fp               1171 drivers/scsi/libfc/fc_fcp.c 	struct fc_frame *fp;
fp               1181 drivers/scsi/libfc/fc_fcp.c 	fp = fc_fcp_frame_alloc(lport, sizeof(fsp->cdb_cmd));
fp               1182 drivers/scsi/libfc/fc_fcp.c 	if (!fp) {
fp               1187 drivers/scsi/libfc/fc_fcp.c 	memcpy(fc_frame_payload_get(fp, len), &fsp->cdb_cmd, len);
fp               1188 drivers/scsi/libfc/fc_fcp.c 	fr_fsp(fp) = fsp;
fp               1193 drivers/scsi/libfc/fc_fcp.c 	fc_fill_fc_hdr(fp, FC_RCTL_DD_UNSOL_CMD, rport->port_id,
fp               1197 drivers/scsi/libfc/fc_fcp.c 	seq = fc_exch_seq_send(lport, fp, resp, fc_fcp_pkt_destroy, fsp, 0);
fp               1219 drivers/scsi/libfc/fc_fcp.c static void fc_fcp_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp)
fp               1221 drivers/scsi/libfc/fc_fcp.c 	int error = PTR_ERR(fp);
fp               1366 drivers/scsi/libfc/fc_fcp.c static void fc_tm_done(struct fc_seq *seq, struct fc_frame *fp, void *arg)
fp               1371 drivers/scsi/libfc/fc_fcp.c 	if (IS_ERR(fp)) {
fp               1390 drivers/scsi/libfc/fc_fcp.c 	fh = fc_frame_header_get(fp);
fp               1392 drivers/scsi/libfc/fc_fcp.c 		fc_fcp_resp(fsp, fp);
fp               1398 drivers/scsi/libfc/fc_fcp.c 	fc_frame_free(fp);
fp               1462 drivers/scsi/libfc/fc_fcp.c 	struct fc_frame *fp;
fp               1476 drivers/scsi/libfc/fc_fcp.c 	fp = fc_fcp_frame_alloc(lport, sizeof(struct fc_els_rec));
fp               1477 drivers/scsi/libfc/fc_fcp.c 	if (!fp)
fp               1480 drivers/scsi/libfc/fc_fcp.c 	fr_seq(fp) = fsp->seq_ptr;
fp               1481 drivers/scsi/libfc/fc_fcp.c 	fc_fill_fc_hdr(fp, FC_RCTL_ELS_REQ, rport->port_id,
fp               1484 drivers/scsi/libfc/fc_fcp.c 	if (lport->tt.elsct_send(lport, rport->port_id, fp, ELS_REC,
fp               1508 drivers/scsi/libfc/fc_fcp.c static void fc_fcp_rec_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg)
fp               1520 drivers/scsi/libfc/fc_fcp.c 	if (IS_ERR(fp)) {
fp               1521 drivers/scsi/libfc/fc_fcp.c 		fc_fcp_rec_error(fsp, fp);
fp               1529 drivers/scsi/libfc/fc_fcp.c 	opcode = fc_frame_payload_op(fp);
fp               1531 drivers/scsi/libfc/fc_fcp.c 		rjt = fc_frame_payload_get(fp, sizeof(*rjt));
fp               1575 drivers/scsi/libfc/fc_fcp.c 		recp = fc_frame_payload_get(fp, sizeof(*recp));
fp               1644 drivers/scsi/libfc/fc_fcp.c 	fc_frame_free(fp);
fp               1652 drivers/scsi/libfc/fc_fcp.c static void fc_fcp_rec_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp)
fp               1654 drivers/scsi/libfc/fc_fcp.c 	int error = PTR_ERR(fp);
fp               1723 drivers/scsi/libfc/fc_fcp.c 	struct fc_frame *fp;
fp               1731 drivers/scsi/libfc/fc_fcp.c 	fp = fc_fcp_frame_alloc(lport, sizeof(*srr));
fp               1732 drivers/scsi/libfc/fc_fcp.c 	if (!fp)
fp               1735 drivers/scsi/libfc/fc_fcp.c 	srr = fc_frame_payload_get(fp, sizeof(*srr));
fp               1743 drivers/scsi/libfc/fc_fcp.c 	fc_fill_fc_hdr(fp, FC_RCTL_ELS4_REQ, rport->port_id,
fp               1747 drivers/scsi/libfc/fc_fcp.c 	seq = fc_exch_seq_send(lport, fp, fc_fcp_srr_resp,
fp               1769 drivers/scsi/libfc/fc_fcp.c static void fc_fcp_srr_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg)
fp               1774 drivers/scsi/libfc/fc_fcp.c 	if (IS_ERR(fp)) {
fp               1775 drivers/scsi/libfc/fc_fcp.c 		fc_fcp_srr_error(fsp, fp);
fp               1782 drivers/scsi/libfc/fc_fcp.c 	fh = fc_frame_header_get(fp);
fp               1795 drivers/scsi/libfc/fc_fcp.c 	switch (fc_frame_payload_op(fp)) {
fp               1808 drivers/scsi/libfc/fc_fcp.c 	fc_frame_free(fp);
fp               1816 drivers/scsi/libfc/fc_fcp.c static void fc_fcp_srr_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp)
fp               1820 drivers/scsi/libfc/fc_fcp.c 	switch (PTR_ERR(fp)) {
fp                 22 drivers/scsi/libfc/fc_frame.c u32 fc_frame_crc_check(struct fc_frame *fp)
fp                 29 drivers/scsi/libfc/fc_frame.c 	WARN_ON(!fc_frame_is_linear(fp));
fp                 30 drivers/scsi/libfc/fc_frame.c 	fr_flags(fp) &= ~FCPHF_CRC_UNCHECKED;
fp                 31 drivers/scsi/libfc/fc_frame.c 	len = (fr_len(fp) + 3) & ~3;	/* round up length to include fill */
fp                 32 drivers/scsi/libfc/fc_frame.c 	bp = (const u8 *) fr_hdr(fp);
fp                 34 drivers/scsi/libfc/fc_frame.c 	error = crc ^ fr_crc(fp);
fp                 45 drivers/scsi/libfc/fc_frame.c 	struct fc_frame *fp;
fp                 55 drivers/scsi/libfc/fc_frame.c 	fp = (struct fc_frame *) skb;
fp                 56 drivers/scsi/libfc/fc_frame.c 	fc_frame_init(fp);
fp                 58 drivers/scsi/libfc/fc_frame.c 	return fp;
fp                 64 drivers/scsi/libfc/fc_frame.c 	struct fc_frame *fp;
fp                 70 drivers/scsi/libfc/fc_frame.c 	fp = _fc_frame_alloc(payload_len + fill);
fp                 71 drivers/scsi/libfc/fc_frame.c 	if (fp) {
fp                 72 drivers/scsi/libfc/fc_frame.c 		memset((char *) fr_hdr(fp) + payload_len, 0, fill);
fp                 74 drivers/scsi/libfc/fc_frame.c 		skb_trim(fp_skb(fp),
fp                 77 drivers/scsi/libfc/fc_frame.c 	return fp;
fp                154 drivers/scsi/libfc/fc_libfc.c void fc_fill_hdr(struct fc_frame *fp, const struct fc_frame *in_fp,
fp                162 drivers/scsi/libfc/fc_libfc.c 	fh = __fc_frame_header_get(fp);
fp                166 drivers/scsi/libfc/fc_libfc.c 		fill = -fr_len(fp) & 3;
fp                169 drivers/scsi/libfc/fc_libfc.c 			skb_put_zero(fp_skb(fp), fill);
fp                172 drivers/scsi/libfc/fc_libfc.c 		fr_eof(fp) = FC_EOF_T;
fp                174 drivers/scsi/libfc/fc_libfc.c 		WARN_ON(fr_len(fp) % 4 != 0);	/* no pad to non last frame */
fp                175 drivers/scsi/libfc/fc_libfc.c 		fr_eof(fp) = FC_EOF_N;
fp                191 drivers/scsi/libfc/fc_libfc.c 		fr_seq(fp) = sp;
fp                198 drivers/scsi/libfc/fc_libfc.c 	fr_sof(fp) = seq_cnt ? FC_SOF_N3 : FC_SOF_I3;
fp                199 drivers/scsi/libfc/fc_libfc.c 	fr_encaps(fp) = fr_encaps(in_fp);
fp                210 drivers/scsi/libfc/fc_libfc.c void fc_fill_reply_hdr(struct fc_frame *fp, const struct fc_frame *in_fp,
fp                217 drivers/scsi/libfc/fc_libfc.c 		fr_seq(fp) = fc_seq_start_next(sp);
fp                218 drivers/scsi/libfc/fc_libfc.c 	fc_fill_hdr(fp, in_fp, r_ctl, FC_FCTL_RESP, 0, parm_offset);
fp                153 drivers/scsi/libfc/fc_lport.c static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp)
fp                155 drivers/scsi/libfc/fc_lport.c 	fc_frame_free(fp);
fp                394 drivers/scsi/libfc/fc_lport.c static void fc_lport_recv_rlir_req(struct fc_lport *lport, struct fc_frame *fp)
fp                401 drivers/scsi/libfc/fc_lport.c 	fc_seq_els_rsp_send(fp, ELS_LS_ACC, NULL);
fp                402 drivers/scsi/libfc/fc_lport.c 	fc_frame_free(fp);
fp                413 drivers/scsi/libfc/fc_lport.c 	struct fc_frame *fp;
fp                429 drivers/scsi/libfc/fc_lport.c 	fp = fc_frame_alloc(lport, len);
fp                430 drivers/scsi/libfc/fc_lport.c 	if (fp) {
fp                431 drivers/scsi/libfc/fc_lport.c 		dp = fc_frame_payload_get(fp, len);
fp                434 drivers/scsi/libfc/fc_lport.c 		fc_fill_reply_hdr(fp, in_fp, FC_RCTL_ELS_REP, 0);
fp                435 drivers/scsi/libfc/fc_lport.c 		lport->tt.frame_send(lport, fp);
fp                448 drivers/scsi/libfc/fc_lport.c 	struct fc_frame *fp;
fp                477 drivers/scsi/libfc/fc_lport.c 		fp = fc_frame_alloc(lport, len);
fp                478 drivers/scsi/libfc/fc_lport.c 		if (fp) {
fp                479 drivers/scsi/libfc/fc_lport.c 			rp = fc_frame_payload_get(fp, len);
fp                491 drivers/scsi/libfc/fc_lport.c 			fc_fill_reply_hdr(fp, in_fp, FC_RCTL_ELS_REP, 0);
fp                492 drivers/scsi/libfc/fc_lport.c 			lport->tt.frame_send(lport, fp);
fp                503 drivers/scsi/libfc/fc_lport.c static void fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp)
fp                507 drivers/scsi/libfc/fc_lport.c 	fc_seq_els_rsp_send(fp, ELS_LS_ACC, NULL);
fp                509 drivers/scsi/libfc/fc_lport.c 	fc_frame_free(fp);
fp                732 drivers/scsi/libfc/fc_lport.c 				 struct fc_frame *fp)
fp                746 drivers/scsi/libfc/fc_lport.c 		lport->tt.lport_set_port_id(lport, port_id, fp);
fp                789 drivers/scsi/libfc/fc_lport.c 	struct fc_frame *fp;
fp                831 drivers/scsi/libfc/fc_lport.c 	fp = fc_frame_alloc(lport, sizeof(*flp));
fp                832 drivers/scsi/libfc/fc_lport.c 	if (fp) {
fp                833 drivers/scsi/libfc/fc_lport.c 		new_flp = fc_frame_payload_get(fp, sizeof(*flp));
fp                841 drivers/scsi/libfc/fc_lport.c 		fc_fill_reply_hdr(fp, rx_fp, FC_RCTL_ELS_REP, 0);
fp                842 drivers/scsi/libfc/fc_lport.c 		fh = fc_frame_header_get(fp);
fp                845 drivers/scsi/libfc/fc_lport.c 		lport->tt.frame_send(lport, fp);
fp                848 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp                868 drivers/scsi/libfc/fc_lport.c 				  struct fc_frame *fp)
fp                878 drivers/scsi/libfc/fc_lport.c 		fc_frame_free(fp);
fp                883 drivers/scsi/libfc/fc_lport.c 		switch (fc_frame_payload_op(fp)) {
fp                886 drivers/scsi/libfc/fc_lport.c 				fc_lport_recv_flogi_req(lport, fp);
fp                888 drivers/scsi/libfc/fc_lport.c 				fc_rport_recv_req(lport, fp);
fp                891 drivers/scsi/libfc/fc_lport.c 			if (fc_frame_sid(fp) == FC_FID_FLOGI)
fp                892 drivers/scsi/libfc/fc_lport.c 				fc_lport_recv_logo_req(lport, fp);
fp                894 drivers/scsi/libfc/fc_lport.c 				fc_rport_recv_req(lport, fp);
fp                897 drivers/scsi/libfc/fc_lport.c 			lport->tt.disc_recv_req(lport, fp);
fp                900 drivers/scsi/libfc/fc_lport.c 			fc_lport_recv_echo_req(lport, fp);
fp                903 drivers/scsi/libfc/fc_lport.c 			fc_lport_recv_rlir_req(lport, fp);
fp                906 drivers/scsi/libfc/fc_lport.c 			fc_lport_recv_rnid_req(lport, fp);
fp                909 drivers/scsi/libfc/fc_lport.c 			fc_rport_recv_req(lport, fp);
fp                936 drivers/scsi/libfc/fc_lport.c void fc_lport_recv(struct fc_lport *lport, struct fc_frame *fp)
fp                938 drivers/scsi/libfc/fc_lport.c 	struct fc_frame_header *fh = fc_frame_header_get(fp);
fp                939 drivers/scsi/libfc/fc_lport.c 	struct fc_seq *sp = fr_seq(fp);
fp                957 drivers/scsi/libfc/fc_lport.c 	prov->recv(lport, fp);
fp                963 drivers/scsi/libfc/fc_lport.c 	fc_frame_free(fp);
fp               1068 drivers/scsi/libfc/fc_lport.c static void fc_lport_error(struct fc_lport *lport, struct fc_frame *fp)
fp               1072 drivers/scsi/libfc/fc_lport.c 		     IS_ERR(fp) ? -PTR_ERR(fp) : 0, fc_lport_state(lport),
fp               1075 drivers/scsi/libfc/fc_lport.c 	if (PTR_ERR(fp) == -FC_EX_CLOSED)
fp               1085 drivers/scsi/libfc/fc_lport.c 		if (!fp)
fp               1106 drivers/scsi/libfc/fc_lport.c static void fc_lport_ns_resp(struct fc_seq *sp, struct fc_frame *fp,
fp               1113 drivers/scsi/libfc/fc_lport.c 	FC_LPORT_DBG(lport, "Received a ns %s\n", fc_els_resp_type(fp));
fp               1115 drivers/scsi/libfc/fc_lport.c 	if (fp == ERR_PTR(-FC_EX_CLOSED))
fp               1123 drivers/scsi/libfc/fc_lport.c 		if (IS_ERR(fp))
fp               1128 drivers/scsi/libfc/fc_lport.c 	if (IS_ERR(fp)) {
fp               1129 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1133 drivers/scsi/libfc/fc_lport.c 	fh = fc_frame_header_get(fp);
fp               1134 drivers/scsi/libfc/fc_lport.c 	ct = fc_frame_payload_get(fp, sizeof(*ct));
fp               1164 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1166 drivers/scsi/libfc/fc_lport.c 	fc_frame_free(fp);
fp               1182 drivers/scsi/libfc/fc_lport.c static void fc_lport_ms_resp(struct fc_seq *sp, struct fc_frame *fp,
fp               1189 drivers/scsi/libfc/fc_lport.c 	FC_LPORT_DBG(lport, "Received a ms %s\n", fc_els_resp_type(fp));
fp               1191 drivers/scsi/libfc/fc_lport.c 	if (fp == ERR_PTR(-FC_EX_CLOSED))
fp               1199 drivers/scsi/libfc/fc_lport.c 		if (IS_ERR(fp))
fp               1204 drivers/scsi/libfc/fc_lport.c 	if (IS_ERR(fp)) {
fp               1205 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1209 drivers/scsi/libfc/fc_lport.c 	fh = fc_frame_header_get(fp);
fp               1210 drivers/scsi/libfc/fc_lport.c 	ct = fc_frame_payload_get(fp, sizeof(*ct));
fp               1242 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1245 drivers/scsi/libfc/fc_lport.c 	fc_frame_free(fp);
fp               1260 drivers/scsi/libfc/fc_lport.c static void fc_lport_scr_resp(struct fc_seq *sp, struct fc_frame *fp,
fp               1266 drivers/scsi/libfc/fc_lport.c 	FC_LPORT_DBG(lport, "Received a SCR %s\n", fc_els_resp_type(fp));
fp               1268 drivers/scsi/libfc/fc_lport.c 	if (fp == ERR_PTR(-FC_EX_CLOSED))
fp               1276 drivers/scsi/libfc/fc_lport.c 		if (IS_ERR(fp))
fp               1281 drivers/scsi/libfc/fc_lport.c 	if (IS_ERR(fp)) {
fp               1282 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1286 drivers/scsi/libfc/fc_lport.c 	op = fc_frame_payload_op(fp);
fp               1290 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1293 drivers/scsi/libfc/fc_lport.c 	fc_frame_free(fp);
fp               1304 drivers/scsi/libfc/fc_lport.c 	struct fc_frame *fp;
fp               1313 drivers/scsi/libfc/fc_lport.c 	fp = fc_frame_alloc(lport, sizeof(struct fc_els_scr));
fp               1314 drivers/scsi/libfc/fc_lport.c 	if (!fp) {
fp               1315 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1319 drivers/scsi/libfc/fc_lport.c 	if (!lport->tt.elsct_send(lport, FC_FID_FCTRL, fp, ELS_SCR,
fp               1331 drivers/scsi/libfc/fc_lport.c 	struct fc_frame *fp;
fp               1378 drivers/scsi/libfc/fc_lport.c 	fp = fc_frame_alloc(lport, size);
fp               1379 drivers/scsi/libfc/fc_lport.c 	if (!fp) {
fp               1380 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1384 drivers/scsi/libfc/fc_lport.c 	if (!lport->tt.elsct_send(lport, FC_FID_DIR_SERV, fp, cmd,
fp               1387 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1429 drivers/scsi/libfc/fc_lport.c 	struct fc_frame *fp;
fp               1497 drivers/scsi/libfc/fc_lport.c 	fp = fc_frame_alloc(lport, size);
fp               1498 drivers/scsi/libfc/fc_lport.c 	if (!fp) {
fp               1499 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1503 drivers/scsi/libfc/fc_lport.c 	if (!lport->tt.elsct_send(lport, FC_FID_MGMT_SERV, fp, cmd,
fp               1506 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1601 drivers/scsi/libfc/fc_lport.c void fc_lport_logo_resp(struct fc_seq *sp, struct fc_frame *fp,
fp               1607 drivers/scsi/libfc/fc_lport.c 	FC_LPORT_DBG(lport, "Received a LOGO %s\n", fc_els_resp_type(fp));
fp               1609 drivers/scsi/libfc/fc_lport.c 	if (fp == ERR_PTR(-FC_EX_CLOSED))
fp               1617 drivers/scsi/libfc/fc_lport.c 		if (IS_ERR(fp))
fp               1622 drivers/scsi/libfc/fc_lport.c 	if (IS_ERR(fp)) {
fp               1623 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1627 drivers/scsi/libfc/fc_lport.c 	op = fc_frame_payload_op(fp);
fp               1631 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1634 drivers/scsi/libfc/fc_lport.c 	fc_frame_free(fp);
fp               1646 drivers/scsi/libfc/fc_lport.c 	struct fc_frame *fp;
fp               1657 drivers/scsi/libfc/fc_lport.c 	fp = fc_frame_alloc(lport, sizeof(*logo));
fp               1658 drivers/scsi/libfc/fc_lport.c 	if (!fp) {
fp               1659 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1663 drivers/scsi/libfc/fc_lport.c 	if (!lport->tt.elsct_send(lport, FC_FID_FLOGI, fp, ELS_LOGO,
fp               1679 drivers/scsi/libfc/fc_lport.c void fc_lport_flogi_resp(struct fc_seq *sp, struct fc_frame *fp,
fp               1691 drivers/scsi/libfc/fc_lport.c 	FC_LPORT_DBG(lport, "Received a FLOGI %s\n", fc_els_resp_type(fp));
fp               1693 drivers/scsi/libfc/fc_lport.c 	if (fp == ERR_PTR(-FC_EX_CLOSED))
fp               1701 drivers/scsi/libfc/fc_lport.c 		if (IS_ERR(fp))
fp               1706 drivers/scsi/libfc/fc_lport.c 	if (IS_ERR(fp)) {
fp               1707 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1711 drivers/scsi/libfc/fc_lport.c 	fh = fc_frame_header_get(fp);
fp               1712 drivers/scsi/libfc/fc_lport.c 	did = fc_frame_did(fp);
fp               1714 drivers/scsi/libfc/fc_lport.c 	    fc_frame_payload_op(fp) != ELS_LS_ACC) {
fp               1716 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1720 drivers/scsi/libfc/fc_lport.c 	flp = fc_frame_payload_get(fp, sizeof(*flp));
fp               1723 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1733 drivers/scsi/libfc/fc_lport.c 		fc_lport_error(lport, fp);
fp               1754 drivers/scsi/libfc/fc_lport.c 		fc_lport_set_port_id(lport, did, fp);
fp               1759 drivers/scsi/libfc/fc_lport.c 		fc_lport_ptp_setup(lport, fc_frame_sid(fp),
fp               1771 drivers/scsi/libfc/fc_lport.c 		fc_lport_set_port_id(lport, did, fp);
fp               1776 drivers/scsi/libfc/fc_lport.c 	fc_frame_free(fp);
fp               1788 drivers/scsi/libfc/fc_lport.c 	struct fc_frame *fp;
fp               1803 drivers/scsi/libfc/fc_lport.c 	fp = fc_frame_alloc(lport, sizeof(struct fc_els_flogi));
fp               1804 drivers/scsi/libfc/fc_lport.c 	if (!fp)
fp               1805 drivers/scsi/libfc/fc_lport.c 		return fc_lport_error(lport, fp);
fp               1807 drivers/scsi/libfc/fc_lport.c 	if (!lport->tt.elsct_send(lport, FC_FID_FLOGI, fp,
fp               1872 drivers/scsi/libfc/fc_lport.c static void fc_lport_bsg_resp(struct fc_seq *sp, struct fc_frame *fp,
fp               1883 drivers/scsi/libfc/fc_lport.c 	if (IS_ERR(fp)) {
fp               1884 drivers/scsi/libfc/fc_lport.c 		bsg_reply->result = (PTR_ERR(fp) == -FC_EX_CLOSED) ?
fp               1894 drivers/scsi/libfc/fc_lport.c 	fh = fc_frame_header_get(fp);
fp               1895 drivers/scsi/libfc/fc_lport.c 	len = fr_len(fp) - sizeof(*fh);
fp               1896 drivers/scsi/libfc/fc_lport.c 	buf = fc_frame_payload_get(fp, 0);
fp               1898 drivers/scsi/libfc/fc_lport.c 	if (fr_sof(fp) == FC_SOF_I3 && !ntohs(fh->fh_seq_cnt)) {
fp               1902 drivers/scsi/libfc/fc_lport.c 			(unsigned short)fc_frame_payload_op(fp);
fp               1914 drivers/scsi/libfc/fc_lport.c 	if (fr_eof(fp) == FC_EOF_T &&
fp               1926 drivers/scsi/libfc/fc_lport.c 	fc_frame_free(fp);
fp               1941 drivers/scsi/libfc/fc_lport.c 	struct fc_frame *fp;
fp               1948 drivers/scsi/libfc/fc_lport.c 	fp = fc_frame_alloc(lport, job->request_payload.payload_len);
fp               1949 drivers/scsi/libfc/fc_lport.c 	if (!fp)
fp               1953 drivers/scsi/libfc/fc_lport.c 	pp = fc_frame_payload_get(fp, len);
fp               1959 drivers/scsi/libfc/fc_lport.c 	fh = fc_frame_header_get(fp);
fp               1971 drivers/scsi/libfc/fc_lport.c 		fc_frame_free(fp);
fp               1981 drivers/scsi/libfc/fc_lport.c 	if (!fc_exch_seq_send(lport, fp, fc_lport_bsg_resp,
fp               2000 drivers/scsi/libfc/fc_lport.c 	struct fc_frame *fp;
fp               2007 drivers/scsi/libfc/fc_lport.c 	fp = fc_frame_alloc(lport, sizeof(struct fc_ct_hdr) +
fp               2009 drivers/scsi/libfc/fc_lport.c 	if (!fp)
fp               2013 drivers/scsi/libfc/fc_lport.c 	ct = fc_frame_payload_get(fp, len);
fp               2019 drivers/scsi/libfc/fc_lport.c 	fh = fc_frame_header_get(fp);
fp               2031 drivers/scsi/libfc/fc_lport.c 		fc_frame_free(fp);
fp               2041 drivers/scsi/libfc/fc_lport.c 	if (!fc_exch_seq_send(lport, fp, fc_lport_bsg_resp,
fp                694 drivers/scsi/libfc/fc_rport.c 				   struct fc_frame *fp)
fp                701 drivers/scsi/libfc/fc_rport.c 	flogi = fc_frame_payload_get(fp, sizeof(*flogi));
fp                707 drivers/scsi/libfc/fc_rport.c 	if (fc_frame_payload_op(fp) == ELS_FLOGI) {
fp                733 drivers/scsi/libfc/fc_rport.c static void fc_rport_flogi_resp(struct fc_seq *sp, struct fc_frame *fp,
fp                744 drivers/scsi/libfc/fc_rport.c 		     IS_ERR(fp) ? "error" : fc_els_resp_type(fp));
fp                746 drivers/scsi/libfc/fc_rport.c 	if (fp == ERR_PTR(-FC_EX_CLOSED))
fp                754 drivers/scsi/libfc/fc_rport.c 		if (IS_ERR(fp))
fp                759 drivers/scsi/libfc/fc_rport.c 	if (IS_ERR(fp)) {
fp                760 drivers/scsi/libfc/fc_rport.c 		fc_rport_error(rdata, PTR_ERR(fp));
fp                763 drivers/scsi/libfc/fc_rport.c 	opcode = fc_frame_payload_op(fp);
fp                767 drivers/scsi/libfc/fc_rport.c 		rjt = fc_frame_payload_get(fp, sizeof(*rjt));
fp                777 drivers/scsi/libfc/fc_rport.c 	if (fc_rport_login_complete(rdata, fp)) {
fp                783 drivers/scsi/libfc/fc_rport.c 	flogi = fc_frame_payload_get(fp, sizeof(*flogi));
fp                797 drivers/scsi/libfc/fc_rport.c 	fc_frame_free(fp);
fp                818 drivers/scsi/libfc/fc_rport.c 	struct fc_frame *fp;
fp                830 drivers/scsi/libfc/fc_rport.c 	fp = fc_frame_alloc(lport, sizeof(struct fc_els_flogi));
fp                831 drivers/scsi/libfc/fc_rport.c 	if (!fp)
fp                835 drivers/scsi/libfc/fc_rport.c 	if (!lport->tt.elsct_send(lport, rdata->ids.port_id, fp, ELS_FLOGI,
fp                855 drivers/scsi/libfc/fc_rport.c 	struct fc_frame *fp = rx_fp;
fp                859 drivers/scsi/libfc/fc_rport.c 	sid = fc_frame_sid(fp);
fp                869 drivers/scsi/libfc/fc_rport.c 	flp = fc_frame_payload_get(fp, sizeof(*flp));
fp                925 drivers/scsi/libfc/fc_rport.c 	if (fc_rport_login_complete(rdata, fp)) {
fp                932 drivers/scsi/libfc/fc_rport.c 	fp = fc_frame_alloc(lport, sizeof(*flp));
fp                933 drivers/scsi/libfc/fc_rport.c 	if (!fp)
fp                936 drivers/scsi/libfc/fc_rport.c 	fc_flogi_fill(lport, fp);
fp                937 drivers/scsi/libfc/fc_rport.c 	flp = fc_frame_payload_get(fp, sizeof(*flp));
fp                940 drivers/scsi/libfc/fc_rport.c 	fc_fill_reply_hdr(fp, rx_fp, FC_RCTL_ELS_REP, 0);
fp                941 drivers/scsi/libfc/fc_rport.c 	lport->tt.frame_send(lport, fp);
fp                977 drivers/scsi/libfc/fc_rport.c static void fc_rport_plogi_resp(struct fc_seq *sp, struct fc_frame *fp,
fp                987 drivers/scsi/libfc/fc_rport.c 	FC_RPORT_DBG(rdata, "Received a PLOGI %s\n", fc_els_resp_type(fp));
fp                989 drivers/scsi/libfc/fc_rport.c 	if (fp == ERR_PTR(-FC_EX_CLOSED))
fp                997 drivers/scsi/libfc/fc_rport.c 		if (IS_ERR(fp))
fp               1002 drivers/scsi/libfc/fc_rport.c 	if (IS_ERR(fp)) {
fp               1003 drivers/scsi/libfc/fc_rport.c 		fc_rport_error_retry(rdata, PTR_ERR(fp));
fp               1007 drivers/scsi/libfc/fc_rport.c 	op = fc_frame_payload_op(fp);
fp               1009 drivers/scsi/libfc/fc_rport.c 	    (plp = fc_frame_payload_get(fp, sizeof(*plp))) != NULL) {
fp               1017 drivers/scsi/libfc/fc_rport.c 			fc_rport_login_complete(rdata, fp);
fp               1028 drivers/scsi/libfc/fc_rport.c 		rjt = fc_frame_payload_get(fp, sizeof(*rjt));
fp               1037 drivers/scsi/libfc/fc_rport.c 	fc_frame_free(fp);
fp               1067 drivers/scsi/libfc/fc_rport.c 	struct fc_frame *fp;
fp               1083 drivers/scsi/libfc/fc_rport.c 	fp = fc_frame_alloc(lport, sizeof(struct fc_els_flogi));
fp               1084 drivers/scsi/libfc/fc_rport.c 	if (!fp) {
fp               1092 drivers/scsi/libfc/fc_rport.c 	if (!lport->tt.elsct_send(lport, rdata->ids.port_id, fp, ELS_PLOGI,
fp               1110 drivers/scsi/libfc/fc_rport.c static void fc_rport_prli_resp(struct fc_seq *sp, struct fc_frame *fp,
fp               1126 drivers/scsi/libfc/fc_rport.c 	FC_RPORT_DBG(rdata, "Received a PRLI %s\n", fc_els_resp_type(fp));
fp               1128 drivers/scsi/libfc/fc_rport.c 	if (fp == ERR_PTR(-FC_EX_CLOSED))
fp               1136 drivers/scsi/libfc/fc_rport.c 		if (IS_ERR(fp))
fp               1141 drivers/scsi/libfc/fc_rport.c 	if (IS_ERR(fp)) {
fp               1142 drivers/scsi/libfc/fc_rport.c 		fc_rport_error_retry(rdata, PTR_ERR(fp));
fp               1149 drivers/scsi/libfc/fc_rport.c 	op = fc_frame_payload_op(fp);
fp               1151 drivers/scsi/libfc/fc_rport.c 		pp = fc_frame_payload_get(fp, sizeof(*pp));
fp               1208 drivers/scsi/libfc/fc_rport.c 		rjt = fc_frame_payload_get(fp, sizeof(*rjt));
fp               1224 drivers/scsi/libfc/fc_rport.c 	fc_frame_free(fp);
fp               1244 drivers/scsi/libfc/fc_rport.c 	struct fc_frame *fp;
fp               1272 drivers/scsi/libfc/fc_rport.c 	fp = fc_frame_alloc(lport, sizeof(*pp));
fp               1273 drivers/scsi/libfc/fc_rport.c 	if (!fp) {
fp               1278 drivers/scsi/libfc/fc_rport.c 	fc_prli_fill(lport, fp);
fp               1282 drivers/scsi/libfc/fc_rport.c 		pp = fc_frame_payload_get(fp, sizeof(*pp));
fp               1286 drivers/scsi/libfc/fc_rport.c 	fc_fill_fc_hdr(fp, FC_RCTL_ELS_REQ, rdata->ids.port_id,
fp               1291 drivers/scsi/libfc/fc_rport.c 	if (!fc_exch_seq_send(lport, fp, fc_rport_prli_resp,
fp               1310 drivers/scsi/libfc/fc_rport.c static void fc_rport_rtv_resp(struct fc_seq *sp, struct fc_frame *fp,
fp               1316 drivers/scsi/libfc/fc_rport.c 	FC_RPORT_DBG(rdata, "Received a RTV %s\n", fc_els_resp_type(fp));
fp               1318 drivers/scsi/libfc/fc_rport.c 	if (fp == ERR_PTR(-FC_EX_CLOSED))
fp               1326 drivers/scsi/libfc/fc_rport.c 		if (IS_ERR(fp))
fp               1331 drivers/scsi/libfc/fc_rport.c 	if (IS_ERR(fp)) {
fp               1332 drivers/scsi/libfc/fc_rport.c 		fc_rport_error(rdata, PTR_ERR(fp));
fp               1336 drivers/scsi/libfc/fc_rport.c 	op = fc_frame_payload_op(fp);
fp               1342 drivers/scsi/libfc/fc_rport.c 		rtv = fc_frame_payload_get(fp, sizeof(*rtv));
fp               1363 drivers/scsi/libfc/fc_rport.c 	fc_frame_free(fp);
fp               1378 drivers/scsi/libfc/fc_rport.c 	struct fc_frame *fp;
fp               1388 drivers/scsi/libfc/fc_rport.c 	fp = fc_frame_alloc(lport, sizeof(struct fc_els_rtv));
fp               1389 drivers/scsi/libfc/fc_rport.c 	if (!fp) {
fp               1395 drivers/scsi/libfc/fc_rport.c 	if (!lport->tt.elsct_send(lport, rdata->ids.port_id, fp, ELS_RTV,
fp               1412 drivers/scsi/libfc/fc_rport.c 	struct fc_frame *fp;
fp               1421 drivers/scsi/libfc/fc_rport.c 	fp = fc_frame_alloc(lport, sizeof(*rtv));
fp               1422 drivers/scsi/libfc/fc_rport.c 	if (!fp) {
fp               1428 drivers/scsi/libfc/fc_rport.c 	rtv = fc_frame_payload_get(fp, sizeof(*rtv));
fp               1433 drivers/scsi/libfc/fc_rport.c 	fc_fill_reply_hdr(fp, in_fp, FC_RCTL_ELS_REP, 0);
fp               1434 drivers/scsi/libfc/fc_rport.c 	lport->tt.frame_send(lport, fp);
fp               1445 drivers/scsi/libfc/fc_rport.c static void fc_rport_logo_resp(struct fc_seq *sp, struct fc_frame *fp,
fp               1452 drivers/scsi/libfc/fc_rport.c 			"Received a LOGO %s\n", fc_els_resp_type(fp));
fp               1453 drivers/scsi/libfc/fc_rport.c 	if (!IS_ERR(fp))
fp               1454 drivers/scsi/libfc/fc_rport.c 		fc_frame_free(fp);
fp               1467 drivers/scsi/libfc/fc_rport.c 	struct fc_frame *fp;
fp               1474 drivers/scsi/libfc/fc_rport.c 	fp = fc_frame_alloc(lport, sizeof(struct fc_els_logo));
fp               1475 drivers/scsi/libfc/fc_rport.c 	if (!fp)
fp               1478 drivers/scsi/libfc/fc_rport.c 	if (!lport->tt.elsct_send(lport, rdata->ids.port_id, fp, ELS_LOGO,
fp               1493 drivers/scsi/libfc/fc_rport.c static void fc_rport_adisc_resp(struct fc_seq *sp, struct fc_frame *fp,
fp               1502 drivers/scsi/libfc/fc_rport.c 	if (fp == ERR_PTR(-FC_EX_CLOSED))
fp               1510 drivers/scsi/libfc/fc_rport.c 		if (IS_ERR(fp))
fp               1515 drivers/scsi/libfc/fc_rport.c 	if (IS_ERR(fp)) {
fp               1516 drivers/scsi/libfc/fc_rport.c 		fc_rport_error(rdata, PTR_ERR(fp));
fp               1525 drivers/scsi/libfc/fc_rport.c 	op = fc_frame_payload_op(fp);
fp               1526 drivers/scsi/libfc/fc_rport.c 	adisc = fc_frame_payload_get(fp, sizeof(*adisc));
fp               1538 drivers/scsi/libfc/fc_rport.c 	fc_frame_free(fp);
fp               1554 drivers/scsi/libfc/fc_rport.c 	struct fc_frame *fp;
fp               1563 drivers/scsi/libfc/fc_rport.c 	fp = fc_frame_alloc(lport, sizeof(struct fc_els_adisc));
fp               1564 drivers/scsi/libfc/fc_rport.c 	if (!fp) {
fp               1569 drivers/scsi/libfc/fc_rport.c 	if (!lport->tt.elsct_send(lport, rdata->ids.port_id, fp, ELS_ADISC,
fp               1586 drivers/scsi/libfc/fc_rport.c 	struct fc_frame *fp;
fp               1603 drivers/scsi/libfc/fc_rport.c 	fp = fc_frame_alloc(lport, sizeof(*adisc));
fp               1604 drivers/scsi/libfc/fc_rport.c 	if (!fp)
fp               1606 drivers/scsi/libfc/fc_rport.c 	fc_adisc_fill(lport, fp);
fp               1607 drivers/scsi/libfc/fc_rport.c 	adisc = fc_frame_payload_get(fp, sizeof(*adisc));
fp               1609 drivers/scsi/libfc/fc_rport.c 	fc_fill_reply_hdr(fp, in_fp, FC_RCTL_ELS_REP, 0);
fp               1610 drivers/scsi/libfc/fc_rport.c 	lport->tt.frame_send(lport, fp);
fp               1625 drivers/scsi/libfc/fc_rport.c 	struct fc_frame *fp;
fp               1644 drivers/scsi/libfc/fc_rport.c 	fp = fc_frame_alloc(lport, sizeof(*rsp));
fp               1645 drivers/scsi/libfc/fc_rport.c 	if (!fp) {
fp               1651 drivers/scsi/libfc/fc_rport.c 	rsp = fc_frame_payload_get(fp, sizeof(*rsp));
fp               1669 drivers/scsi/libfc/fc_rport.c 	fc_fill_reply_hdr(fp, rx_fp, FC_RCTL_ELS_REP, 0);
fp               1670 drivers/scsi/libfc/fc_rport.c 	lport->tt.frame_send(lport, fp);
fp               1689 drivers/scsi/libfc/fc_rport.c static void fc_rport_recv_els_req(struct fc_lport *lport, struct fc_frame *fp)
fp               1696 drivers/scsi/libfc/fc_rport.c 	rdata = fc_rport_lookup(lport, fc_frame_sid(fp));
fp               1698 drivers/scsi/libfc/fc_rport.c 		FC_RPORT_ID_DBG(lport, fc_frame_sid(fp),
fp               1700 drivers/scsi/libfc/fc_rport.c 				fc_frame_payload_op(fp));
fp               1713 drivers/scsi/libfc/fc_rport.c 		if (fc_frame_payload_op(fp) == ELS_PRLI) {
fp               1725 drivers/scsi/libfc/fc_rport.c 			     fc_frame_payload_op(fp), fc_rport_state(rdata));
fp               1731 drivers/scsi/libfc/fc_rport.c 	switch (fc_frame_payload_op(fp)) {
fp               1733 drivers/scsi/libfc/fc_rport.c 		fc_rport_recv_prli_req(rdata, fp);
fp               1736 drivers/scsi/libfc/fc_rport.c 		fc_rport_recv_prlo_req(rdata, fp);
fp               1739 drivers/scsi/libfc/fc_rport.c 		fc_rport_recv_adisc_req(rdata, fp);
fp               1742 drivers/scsi/libfc/fc_rport.c 		fc_seq_els_rsp_send(fp, ELS_RRQ, NULL);
fp               1743 drivers/scsi/libfc/fc_rport.c 		fc_frame_free(fp);
fp               1746 drivers/scsi/libfc/fc_rport.c 		fc_seq_els_rsp_send(fp, ELS_REC, NULL);
fp               1747 drivers/scsi/libfc/fc_rport.c 		fc_frame_free(fp);
fp               1750 drivers/scsi/libfc/fc_rport.c 		fc_rport_recv_rls_req(rdata, fp);
fp               1753 drivers/scsi/libfc/fc_rport.c 		fc_rport_recv_rtv_req(rdata, fp);
fp               1756 drivers/scsi/libfc/fc_rport.c 		fc_frame_free(fp);	/* can't happen */
fp               1767 drivers/scsi/libfc/fc_rport.c 	fc_seq_els_rsp_send(fp, ELS_LS_RJT, &els_data);
fp               1768 drivers/scsi/libfc/fc_rport.c 	fc_frame_free(fp);
fp               1774 drivers/scsi/libfc/fc_rport.c 	fc_seq_els_rsp_send(fp, ELS_LS_RJT, &els_data);
fp               1775 drivers/scsi/libfc/fc_rport.c 	fc_frame_free(fp);
fp               1786 drivers/scsi/libfc/fc_rport.c void fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp)
fp               1798 drivers/scsi/libfc/fc_rport.c 	switch (fc_frame_payload_op(fp)) {
fp               1800 drivers/scsi/libfc/fc_rport.c 		fc_rport_recv_flogi_req(lport, fp);
fp               1803 drivers/scsi/libfc/fc_rport.c 		fc_rport_recv_plogi_req(lport, fp);
fp               1806 drivers/scsi/libfc/fc_rport.c 		fc_rport_recv_logo_req(lport, fp);
fp               1815 drivers/scsi/libfc/fc_rport.c 		fc_rport_recv_els_req(lport, fp);
fp               1820 drivers/scsi/libfc/fc_rport.c 		fc_seq_els_rsp_send(fp, ELS_LS_RJT, &els_data);
fp               1821 drivers/scsi/libfc/fc_rport.c 		fc_frame_free(fp);
fp               1839 drivers/scsi/libfc/fc_rport.c 	struct fc_frame *fp = rx_fp;
fp               1846 drivers/scsi/libfc/fc_rport.c 	sid = fc_frame_sid(fp);
fp               1850 drivers/scsi/libfc/fc_rport.c 	pl = fc_frame_payload_get(fp, sizeof(*pl));
fp               1934 drivers/scsi/libfc/fc_rport.c 	fp = fc_frame_alloc(lport, sizeof(*pl));
fp               1935 drivers/scsi/libfc/fc_rport.c 	if (!fp)
fp               1938 drivers/scsi/libfc/fc_rport.c 	fc_plogi_fill(lport, fp, ELS_LS_ACC);
fp               1939 drivers/scsi/libfc/fc_rport.c 	fc_fill_reply_hdr(fp, rx_fp, FC_RCTL_ELS_REP, 0);
fp               1940 drivers/scsi/libfc/fc_rport.c 	lport->tt.frame_send(lport, fp);
fp               1948 drivers/scsi/libfc/fc_rport.c 	fc_seq_els_rsp_send(fp, ELS_LS_RJT, &rjt_data);
fp               1949 drivers/scsi/libfc/fc_rport.c 	fc_frame_free(fp);
fp               1961 drivers/scsi/libfc/fc_rport.c 	struct fc_frame *fp;
fp               1994 drivers/scsi/libfc/fc_rport.c 	fp = fc_frame_alloc(lport, len);
fp               1995 drivers/scsi/libfc/fc_rport.c 	if (!fp) {
fp               2000 drivers/scsi/libfc/fc_rport.c 	pp = fc_frame_payload_get(fp, len);
fp               2054 drivers/scsi/libfc/fc_rport.c 	fc_fill_reply_hdr(fp, rx_fp, FC_RCTL_ELS_REP, 0);
fp               2055 drivers/scsi/libfc/fc_rport.c 	lport->tt.frame_send(lport, fp);
fp               2077 drivers/scsi/libfc/fc_rport.c 	struct fc_frame *fp;
fp               2105 drivers/scsi/libfc/fc_rport.c 	fp = fc_frame_alloc(lport, len);
fp               2106 drivers/scsi/libfc/fc_rport.c 	if (!fp) {
fp               2112 drivers/scsi/libfc/fc_rport.c 	pp = fc_frame_payload_get(fp, len);
fp               2125 drivers/scsi/libfc/fc_rport.c 	fc_fill_reply_hdr(fp, rx_fp, FC_RCTL_ELS_REP, 0);
fp               2126 drivers/scsi/libfc/fc_rport.c 	lport->tt.frame_send(lport, fp);
fp               2145 drivers/scsi/libfc/fc_rport.c static void fc_rport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp)
fp               2152 drivers/scsi/libfc/fc_rport.c 	fc_seq_els_rsp_send(fp, ELS_LS_ACC, NULL);
fp               2154 drivers/scsi/libfc/fc_rport.c 	sid = fc_frame_sid(fp);
fp               2168 drivers/scsi/libfc/fc_rport.c 	fc_frame_free(fp);
fp               3268 drivers/scsi/lpfc/lpfc_els.c 	FARP *fp;
fp               3305 drivers/scsi/lpfc/lpfc_els.c 	fp = (FARP *) (pcmd);
fp               3306 drivers/scsi/lpfc/lpfc_els.c 	memset(fp, 0, sizeof(FARP));
fp               3310 drivers/scsi/lpfc/lpfc_els.c 	fp->Rflags = 0;
fp               3311 drivers/scsi/lpfc/lpfc_els.c 	fp->Mflags = (FARP_MATCH_PORT | FARP_MATCH_NODE);
fp               3313 drivers/scsi/lpfc/lpfc_els.c 	memcpy(&fp->RportName, &vport->fc_portname, sizeof(struct lpfc_name));
fp               3314 drivers/scsi/lpfc/lpfc_els.c 	memcpy(&fp->RnodeName, &vport->fc_nodename, sizeof(struct lpfc_name));
fp               3317 drivers/scsi/lpfc/lpfc_els.c 		memcpy(&fp->OportName, &ondlp->nlp_portname,
fp               3319 drivers/scsi/lpfc/lpfc_els.c 		memcpy(&fp->OnodeName, &ondlp->nlp_nodename,
fp               7700 drivers/scsi/lpfc/lpfc_els.c 	FARP *fp;
fp               7709 drivers/scsi/lpfc/lpfc_els.c 	fp = (FARP *) lp;
fp               7714 drivers/scsi/lpfc/lpfc_els.c 	if (fp->Mflags & ~(FARP_MATCH_NODE | FARP_MATCH_PORT)) {
fp               7720 drivers/scsi/lpfc/lpfc_els.c 	if (fp->Mflags & FARP_MATCH_PORT) {
fp               7721 drivers/scsi/lpfc/lpfc_els.c 		if (memcmp(&fp->RportName, &vport->fc_portname,
fp               7727 drivers/scsi/lpfc/lpfc_els.c 	if (fp->Mflags & FARP_MATCH_NODE) {
fp               7728 drivers/scsi/lpfc/lpfc_els.c 		if (memcmp(&fp->RnodeName, &vport->fc_nodename,
fp               7737 drivers/scsi/lpfc/lpfc_els.c 			if (fp->Rflags & FARP_REQUEST_PLOGI) {
fp               7745 drivers/scsi/lpfc/lpfc_els.c 			if (fp->Rflags & FARP_REQUEST_FARPR)
fp               7815 drivers/scsi/lpfc/lpfc_els.c 	FAN *fp;
fp               7819 drivers/scsi/lpfc/lpfc_els.c 	fp = (FAN *) ++lp;
fp               7823 drivers/scsi/lpfc/lpfc_els.c 		if ((memcmp(&phba->fc_fabparam.nodeName, &fp->FnodeName,
fp               7825 drivers/scsi/lpfc/lpfc_els.c 		    (memcmp(&phba->fc_fabparam.portName, &fp->FportName,
fp                515 drivers/scsi/mac53c94.c 	struct fsc_state *fp = (struct fsc_state *)macio_get_drvdata(mdev);
fp                516 drivers/scsi/mac53c94.c 	struct Scsi_Host *host = fp->host;
fp                520 drivers/scsi/mac53c94.c 	free_irq(fp->intr, fp);
fp                522 drivers/scsi/mac53c94.c 	if (fp->regs)
fp                523 drivers/scsi/mac53c94.c 		iounmap(fp->regs);
fp                524 drivers/scsi/mac53c94.c 	if (fp->dma)
fp                525 drivers/scsi/mac53c94.c 		iounmap(fp->dma);
fp                526 drivers/scsi/mac53c94.c 	kfree(fp->dma_cmd_space);
fp                255 drivers/scsi/qedf/qedf.h 	struct fc_frame *fp;
fp                509 drivers/scsi/qedf/qedf.h extern int qedf_send_adisc(struct qedf_rport *fcport, struct fc_frame *fp);
fp                105 drivers/scsi/qedf/qedf_debugfs.c 	struct qedf_fastpath *fp = NULL;
fp                116 drivers/scsi/qedf/qedf_debugfs.c 		fp = &(qedf->fp_array[id]);
fp                117 drivers/scsi/qedf/qedf_debugfs.c 		if (fp->sb_id == QEDF_SB_ID_NULL)
fp                120 drivers/scsi/qedf/qedf_debugfs.c 			       fp->completions);
fp                311 drivers/scsi/qedf/qedf_els.c 					struct fc_frame *fp,
fp                318 drivers/scsi/qedf/qedf_els.c 	fh = (struct fc_frame_header *)fc_frame_header_get(fp);
fp                334 drivers/scsi/qedf/qedf_els.c 	crc = fcoe_fc_crc(fp);
fp                335 drivers/scsi/qedf/qedf_els.c 	fc_frame_init(fp);
fp                336 drivers/scsi/qedf/qedf_els.c 	fr_dev(fp) = lport;
fp                337 drivers/scsi/qedf/qedf_els.c 	fr_sof(fp) = FC_SOF_I3;
fp                338 drivers/scsi/qedf/qedf_els.c 	fr_eof(fp) = FC_EOF_T;
fp                339 drivers/scsi/qedf/qedf_els.c 	fr_crc(fp) = cpu_to_le32(~crc);
fp                342 drivers/scsi/qedf/qedf_els.c 	fc_exch_recv(lport, fp);
fp                408 drivers/scsi/qedf/qedf_els.c 	struct fc_frame *fp;
fp                462 drivers/scsi/qedf/qedf_els.c 	fp = fc_frame_alloc(fcport->qedf->lport, resp_len);
fp                463 drivers/scsi/qedf/qedf_els.c 	if (!fp) {
fp                470 drivers/scsi/qedf/qedf_els.c 	fh = (struct fc_frame_header *)fc_frame_header_get(fp);
fp                474 drivers/scsi/qedf/qedf_els.c 	fc_payload = fc_frame_payload_get(fp, resp_len);
fp                479 drivers/scsi/qedf/qedf_els.c 	qedf_process_l2_frame_compl(fcport, fp, l2_oxid);
fp                485 drivers/scsi/qedf/qedf_els.c int qedf_send_adisc(struct qedf_rport *fcport, struct fc_frame *fp)
fp                496 drivers/scsi/qedf/qedf_els.c 	fh = fc_frame_header_get(fp);
fp                510 drivers/scsi/qedf/qedf_els.c 	adisc = fc_frame_payload_get(fp, sizeof(*adisc));
fp                529 drivers/scsi/qedf/qedf_els.c 	struct fc_frame *fp;
fp                572 drivers/scsi/qedf/qedf_els.c 	fp = fc_frame_alloc(lport, resp_len);
fp                573 drivers/scsi/qedf/qedf_els.c 	if (!fp) {
fp                580 drivers/scsi/qedf/qedf_els.c 	fh = (struct fc_frame_header *)fc_frame_header_get(fp);
fp                584 drivers/scsi/qedf/qedf_els.c 	fc_payload = fc_frame_payload_get(fp, resp_len);
fp                587 drivers/scsi/qedf/qedf_els.c 	opcode = fc_frame_payload_op(fp);
fp                600 drivers/scsi/qedf/qedf_els.c 	fc_frame_free(fp);
fp                824 drivers/scsi/qedf/qedf_els.c 	struct fc_frame *fp;
fp                872 drivers/scsi/qedf/qedf_els.c 	fp = fc_frame_alloc(lport, resp_len);
fp                873 drivers/scsi/qedf/qedf_els.c 	if (!fp) {
fp                880 drivers/scsi/qedf/qedf_els.c 	fh = (struct fc_frame_header *)fc_frame_header_get(fp);
fp                884 drivers/scsi/qedf/qedf_els.c 	fc_payload = fc_frame_payload_get(fp, resp_len);
fp                887 drivers/scsi/qedf/qedf_els.c 	opcode = fc_frame_payload_op(fp);
fp                889 drivers/scsi/qedf/qedf_els.c 		rjt = fc_frame_payload_get(fp, sizeof(*rjt));
fp                967 drivers/scsi/qedf/qedf_els.c 	fc_frame_free(fp);
fp               2510 drivers/scsi/qedf/qedf_io.c 	struct fc_frame *fp;
fp               2548 drivers/scsi/qedf/qedf_io.c 	fp = fc_frame_alloc(qedf->lport, payload_len);
fp               2549 drivers/scsi/qedf/qedf_io.c 	if (!fp) {
fp               2555 drivers/scsi/qedf/qedf_io.c 	fh = (struct fc_frame_header *)fc_frame_header_get(fp);
fp               2561 drivers/scsi/qedf/qedf_io.c 		  fh->fh_type, fc_frame_payload_op(fp));
fp               2564 drivers/scsi/qedf/qedf_io.c 	crc = fcoe_fc_crc(fp);
fp               2565 drivers/scsi/qedf/qedf_io.c 	fc_frame_init(fp);
fp               2566 drivers/scsi/qedf/qedf_io.c 	fr_dev(fp) = qedf->lport;
fp               2567 drivers/scsi/qedf/qedf_io.c 	fr_sof(fp) = FC_SOF_I3;
fp               2568 drivers/scsi/qedf/qedf_io.c 	fr_eof(fp) = FC_EOF_T;
fp               2569 drivers/scsi/qedf/qedf_io.c 	fr_crc(fp) = cpu_to_le32(~crc);
fp               2579 drivers/scsi/qedf/qedf_io.c 		fc_frame_free(fp);
fp               2590 drivers/scsi/qedf/qedf_io.c 	io_work->fp = fp;
fp                216 drivers/scsi/qedf/qedf_main.c static void qedf_set_data_src_addr(struct qedf_ctx *qedf, struct fc_frame *fp)
fp                219 drivers/scsi/qedf/qedf_main.c 	struct fc_frame_header *fh = fc_frame_header_get(fp);
fp                224 drivers/scsi/qedf/qedf_main.c 	granted_mac = fr_cb(fp)->granted_mac;
fp                257 drivers/scsi/qedf/qedf_main.c static void qedf_flogi_resp(struct fc_seq *seq, struct fc_frame *fp,
fp                273 drivers/scsi/qedf/qedf_main.c 	if (IS_ERR(fp)) {
fp                280 drivers/scsi/qedf/qedf_main.c 	if (fc_frame_payload_op(fp) == ELS_LS_RJT)
fp                282 drivers/scsi/qedf/qedf_main.c 	else if (fc_frame_payload_op(fp) == ELS_LS_ACC) {
fp                284 drivers/scsi/qedf/qedf_main.c 		qedf_set_data_src_addr(qedf, fp);
fp                292 drivers/scsi/qedf/qedf_main.c 	fc_lport_flogi_resp(seq, fp, lport);
fp                296 drivers/scsi/qedf/qedf_main.c 	struct fc_frame *fp, unsigned int op,
fp                310 drivers/scsi/qedf/qedf_main.c 		return fc_elsct_send(lport, did, fp, op, qedf_flogi_resp,
fp                314 drivers/scsi/qedf/qedf_main.c 	return fc_elsct_send(lport, did, fp, op, resp, arg, timeout);
fp                320 drivers/scsi/qedf/qedf_main.c 	struct fc_frame *fp;
fp                329 drivers/scsi/qedf/qedf_main.c 	fp = fc_frame_alloc(lport, sizeof(struct fc_els_flogi));
fp                330 drivers/scsi/qedf/qedf_main.c 	if (!fp) {
fp                337 drivers/scsi/qedf/qedf_main.c 	lport->tt.elsct_send(lport, FC_FID_FLOGI, fp,
fp                966 drivers/scsi/qedf/qedf_main.c static int qedf_xmit_l2_frame(struct qedf_rport *fcport, struct fc_frame *fp)
fp                971 drivers/scsi/qedf/qedf_main.c 	fh = fc_frame_header_get(fp);
fp                974 drivers/scsi/qedf/qedf_main.c 		switch (fc_frame_payload_op(fp)) {
fp                976 drivers/scsi/qedf/qedf_main.c 			qedf_send_adisc(fcport, fp);
fp                989 drivers/scsi/qedf/qedf_main.c static int qedf_xmit(struct fc_lport *lport, struct fc_frame *fp)
fp               1011 drivers/scsi/qedf/qedf_main.c 	fh = fc_frame_header_get(fp);
fp               1012 drivers/scsi/qedf/qedf_main.c 	skb = fp_skb(fp);
fp               1075 drivers/scsi/qedf/qedf_main.c 		rc = qedf_xmit_l2_frame(fcport, fp);
fp               1084 drivers/scsi/qedf/qedf_main.c 	sof = fr_sof(fp);
fp               1085 drivers/scsi/qedf/qedf_main.c 	eof = fr_eof(fp);
fp               1093 drivers/scsi/qedf/qedf_main.c 	crc = fcoe_fc_crc(fp);
fp               1159 drivers/scsi/qedf/qedf_main.c 	fr_dev(fp) = lport;
fp               2060 drivers/scsi/qedf/qedf_main.c static bool qedf_fp_has_work(struct qedf_fastpath *fp)
fp               2062 drivers/scsi/qedf/qedf_main.c 	struct qedf_ctx *qedf = fp->qedf;
fp               2064 drivers/scsi/qedf/qedf_main.c 	struct qed_sb_info *sb_info = fp->sb_info;
fp               2069 drivers/scsi/qedf/qedf_main.c 	que = qedf->global_queues[fp->sb_id];
fp               2088 drivers/scsi/qedf/qedf_main.c static bool qedf_process_completions(struct qedf_fastpath *fp)
fp               2090 drivers/scsi/qedf/qedf_main.c 	struct qedf_ctx *qedf = fp->qedf;
fp               2091 drivers/scsi/qedf/qedf_main.c 	struct qed_sb_info *sb_info = fp->sb_info;
fp               2108 drivers/scsi/qedf/qedf_main.c 	que = qedf->global_queues[fp->sb_id];
fp               2119 drivers/scsi/qedf/qedf_main.c 		fp->completions++;
fp               2133 drivers/scsi/qedf/qedf_main.c 			qedf_process_unsol_compl(qedf, fp->sb_id, cqe);
fp               2171 drivers/scsi/qedf/qedf_main.c 		io_work->qedf = fp->qedf;
fp               2172 drivers/scsi/qedf/qedf_main.c 		io_work->fp = NULL; /* Only used for unsolicited frames */
fp               2178 drivers/scsi/qedf/qedf_main.c 		if (que->cq_cons_idx == fp->cq_num_entries)
fp               2190 drivers/scsi/qedf/qedf_main.c 	struct qedf_fastpath *fp = dev_id;
fp               2192 drivers/scsi/qedf/qedf_main.c 	if (!fp) {
fp               2196 drivers/scsi/qedf/qedf_main.c 	if (!fp->sb_info) {
fp               2205 drivers/scsi/qedf/qedf_main.c 	qed_sb_ack(fp->sb_info, IGU_INT_DISABLE, 0 /*do not update*/);
fp               2208 drivers/scsi/qedf/qedf_main.c 		qedf_process_completions(fp);
fp               2210 drivers/scsi/qedf/qedf_main.c 		if (qedf_fp_has_work(fp) == 0) {
fp               2212 drivers/scsi/qedf/qedf_main.c 			qed_sb_update_sb_idx(fp->sb_info);
fp               2217 drivers/scsi/qedf/qedf_main.c 			if (qedf_fp_has_work(fp) == 0) {
fp               2219 drivers/scsi/qedf/qedf_main.c 				qed_sb_ack(fp->sb_info, IGU_INT_ENABLE, 1);
fp               2336 drivers/scsi/qedf/qedf_main.c 	struct fc_frame *fp;
fp               2362 drivers/scsi/qedf/qedf_main.c 	fp = (struct fc_frame *)skb;
fp               2363 drivers/scsi/qedf/qedf_main.c 	fc_frame_init(fp);
fp               2364 drivers/scsi/qedf/qedf_main.c 	fr_dev(fp) = lport;
fp               2365 drivers/scsi/qedf/qedf_main.c 	fr_sof(fp) = hp->fcoe_sof;
fp               2371 drivers/scsi/qedf/qedf_main.c 	fr_eof(fp) = crc_eof.fcoe_eof;
fp               2372 drivers/scsi/qedf/qedf_main.c 	fr_crc(fp) = crc_eof.fcoe_crc32;
fp               2379 drivers/scsi/qedf/qedf_main.c 	fh = fc_frame_header_get(fp);
fp               2393 drivers/scsi/qedf/qedf_main.c 		switch (fc_frame_payload_op(fp)) {
fp               2464 drivers/scsi/qedf/qedf_main.c 		    "Connection uploading, dropping fp=%p.\n", fp);
fp               2470 drivers/scsi/qedf/qedf_main.c 	    "skb=%p fp=%p src=%06x dest=%06x r_ctl=%x fh_type=%x.\n", skb, fp,
fp               2476 drivers/scsi/qedf/qedf_main.c 	fc_exch_recv(lport, fp);
fp               2572 drivers/scsi/qedf/qedf_main.c 	    io_work->fp)
fp               2573 drivers/scsi/qedf/qedf_main.c 		fc_exch_recv(io_work->qedf->lport, io_work->fp);
fp               2620 drivers/scsi/qedf/qedf_main.c 	struct qedf_fastpath *fp = NULL;
fp               2623 drivers/scsi/qedf/qedf_main.c 		fp = &(qedf->fp_array[id]);
fp               2624 drivers/scsi/qedf/qedf_main.c 		if (fp->sb_id == QEDF_SB_ID_NULL)
fp               2626 drivers/scsi/qedf/qedf_main.c 		qedf_free_sb(qedf, fp->sb_info);
fp               2627 drivers/scsi/qedf/qedf_main.c 		kfree(fp->sb_info);
fp               2635 drivers/scsi/qedf/qedf_main.c 	struct qedf_fastpath *fp;
fp               2649 drivers/scsi/qedf/qedf_main.c 		fp = &(qedf->fp_array[id]);
fp               2650 drivers/scsi/qedf/qedf_main.c 		fp->sb_id = QEDF_SB_ID_NULL;
fp               2651 drivers/scsi/qedf/qedf_main.c 		fp->sb_info = kcalloc(1, sizeof(*fp->sb_info), GFP_KERNEL);
fp               2652 drivers/scsi/qedf/qedf_main.c 		if (!fp->sb_info) {
fp               2657 drivers/scsi/qedf/qedf_main.c 		ret = qedf_alloc_and_init_sb(qedf, fp->sb_info, id);
fp               2663 drivers/scsi/qedf/qedf_main.c 		fp->sb_id = id;
fp               2664 drivers/scsi/qedf/qedf_main.c 		fp->qedf = qedf;
fp               2665 drivers/scsi/qedf/qedf_main.c 		fp->cq_num_entries =
fp                137 drivers/scsi/qedi/qedi_debugfs.c 	struct qedi_fastpath *fp = NULL;
fp                151 drivers/scsi/qedi/qedi_debugfs.c 		fp = &qedi->fp_array[id];
fp                152 drivers/scsi/qedi/qedi_debugfs.c 		sb_info = fp->sb_info;
fp                157 drivers/scsi/qedi/qedi_debugfs.c 		que = qedi->global_queues[fp->sb_id];
fp                159 drivers/scsi/qedi/qedi_debugfs.c 		seq_printf(s, "CQ complete host memory: %d\n", fp->sb_id);
fp                428 drivers/scsi/qedi/qedi_main.c 	struct qedi_fastpath *fp;
fp                437 drivers/scsi/qedi/qedi_main.c 		fp = &qedi->fp_array[id];
fp                438 drivers/scsi/qedi/qedi_main.c 		fp->sb_info = &qedi->sb_array[id];
fp                439 drivers/scsi/qedi/qedi_main.c 		fp->sb_id = id;
fp                440 drivers/scsi/qedi/qedi_main.c 		fp->qedi = qedi;
fp                441 drivers/scsi/qedi/qedi_main.c 		snprintf(fp->name, sizeof(fp->name), "%s-fp-%d",
fp                452 drivers/scsi/qedi/qedi_main.c 	struct qedi_fastpath *fp;
fp                462 drivers/scsi/qedi/qedi_main.c 		fp = &qedi->fp_array[id];
fp                463 drivers/scsi/qedi/qedi_main.c 		ret = qedi_alloc_and_init_sb(qedi, fp->sb_info, fp->sb_id);
fp               1195 drivers/scsi/qedi/qedi_main.c static bool qedi_process_completions(struct qedi_fastpath *fp)
fp               1197 drivers/scsi/qedi/qedi_main.c 	struct qedi_ctx *qedi = fp->qedi;
fp               1198 drivers/scsi/qedi/qedi_main.c 	struct qed_sb_info *sb_info = fp->sb_info;
fp               1214 drivers/scsi/qedi/qedi_main.c 	que = qedi->global_queues[fp->sb_id];
fp               1217 drivers/scsi/qedi/qedi_main.c 		  que, prod_idx, que->cq_cons_idx, fp->sb_id);
fp               1219 drivers/scsi/qedi/qedi_main.c 	qedi->intr_cpu = fp->sb_id;
fp               1234 drivers/scsi/qedi/qedi_main.c 		ret = qedi_queue_cqe(qedi, cqe, fp->sb_id, p);
fp               1250 drivers/scsi/qedi/qedi_main.c static bool qedi_fp_has_work(struct qedi_fastpath *fp)
fp               1252 drivers/scsi/qedi/qedi_main.c 	struct qedi_ctx *qedi = fp->qedi;
fp               1254 drivers/scsi/qedi/qedi_main.c 	struct qed_sb_info *sb_info = fp->sb_info;
fp               1264 drivers/scsi/qedi/qedi_main.c 	que = qedi->global_queues[fp->sb_id];
fp               1276 drivers/scsi/qedi/qedi_main.c 	struct qedi_fastpath *fp = dev_id;
fp               1277 drivers/scsi/qedi/qedi_main.c 	struct qedi_ctx *qedi = fp->qedi;
fp               1280 drivers/scsi/qedi/qedi_main.c 	qed_sb_ack(fp->sb_info, IGU_INT_DISABLE, 0);
fp               1283 drivers/scsi/qedi/qedi_main.c 	wake_io_thread = qedi_process_completions(fp);
fp               1289 drivers/scsi/qedi/qedi_main.c 	if (qedi_fp_has_work(fp) == 0)
fp               1290 drivers/scsi/qedi/qedi_main.c 		qed_sb_update_sb_idx(fp->sb_info);
fp               1295 drivers/scsi/qedi/qedi_main.c 	if (qedi_fp_has_work(fp) == 0)
fp               1296 drivers/scsi/qedi/qedi_main.c 		qed_sb_ack(fp->sb_info, IGU_INT_ENABLE, 1);
fp                310 drivers/scsi/scsi_common.c int scsi_set_sense_field_pointer(u8 *buf, int buf_len, u16 fp, u8 bp, bool cd)
fp                333 drivers/scsi/scsi_common.c 		put_unaligned_be16(fp, &ucp[5]);
fp                344 drivers/scsi/scsi_common.c 		put_unaligned_be16(fp, &buf[16]);
fp               2521 drivers/scsi/sg.c 	Sg_fd *fp;
fp               2527 drivers/scsi/sg.c 	list_for_each_entry(fp, &sdp->sfds, sfd_siblings) {
fp               2529 drivers/scsi/sg.c 		read_lock(&fp->rq_list_lock); /* irqs already disabled */
fp               2532 drivers/scsi/sg.c 			   jiffies_to_msecs(fp->timeout),
fp               2533 drivers/scsi/sg.c 			   fp->reserve.bufflen,
fp               2534 drivers/scsi/sg.c 			   (int) fp->reserve.k_use_sg,
fp               2537 drivers/scsi/sg.c 			   (int) fp->cmd_q, (int) fp->force_packid,
fp               2538 drivers/scsi/sg.c 			   (int) fp->keep_orphan);
fp               2539 drivers/scsi/sg.c 		list_for_each_entry(srp, &fp->rq_list, entry) {
fp               2568 drivers/scsi/sg.c 						  jiffies_to_msecs(fp->timeout)),
fp               2574 drivers/scsi/sg.c 		if (list_empty(&fp->rq_list))
fp               2576 drivers/scsi/sg.c 		read_unlock(&fp->rq_list_lock);
fp                103 drivers/soc/fsl/dpaa2-console.c static int dpaa2_generic_console_open(struct inode *node, struct file *fp,
fp                154 drivers/soc/fsl/dpaa2-console.c 	fp->private_data = cd;
fp                168 drivers/soc/fsl/dpaa2-console.c static int dpaa2_mc_console_open(struct inode *node, struct file *fp)
fp                170 drivers/soc/fsl/dpaa2-console.c 	return dpaa2_generic_console_open(node, fp,
fp                175 drivers/soc/fsl/dpaa2-console.c static int dpaa2_aiop_console_open(struct inode *node, struct file *fp)
fp                177 drivers/soc/fsl/dpaa2-console.c 	return dpaa2_generic_console_open(node, fp,
fp                182 drivers/soc/fsl/dpaa2-console.c static int dpaa2_console_close(struct inode *node, struct file *fp)
fp                184 drivers/soc/fsl/dpaa2-console.c 	struct console_data *cd = fp->private_data;
fp                191 drivers/soc/fsl/dpaa2-console.c static ssize_t dpaa2_console_read(struct file *fp, char __user *buf,
fp                194 drivers/soc/fsl/dpaa2-console.c 	struct console_data *cd = fp->private_data;
fp               1052 drivers/soc/mediatek/mtk-pmic-wrap.c 		bool (*fp)(struct pmic_wrapper *))
fp               1060 drivers/soc/mediatek/mtk-pmic-wrap.c 			return fp(wrp) ? 0 : -ETIMEDOUT;
fp               1061 drivers/soc/mediatek/mtk-pmic-wrap.c 		if (fp(wrp))
fp                 37 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c void family_write(const struct family_route_values *rv, FILE *fp)
fp                 39 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 	fprintf(fp,
fp                 55 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 		fprintf(fp, "    %u : {\n", dest);
fp                 76 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 			fprintf(fp, "      %u : \"%s(%u)\",\n",
fp                 79 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 		fprintf(fp, "    },\n");
fp                 81 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 	fprintf(fp, "  },\n\n");
fp                100 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c void device_write(const struct ni_device_routes *dR, FILE *fp)
fp                102 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 	fprintf(fp,
fp                117 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 		fprintf(fp, "    %u : [", dR->routes[i].dest);
fp                129 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 			fprintf(fp, "%u,", dR->routes[i].src[j]);
fp                133 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 		fprintf(fp, "],\n");
fp                137 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 	fprintf(fp, "  },\n\n");
fp                142 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 	FILE *fp = fopen("ni_values.py", "w");
fp                145 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 	fprintf(fp, "ni_route_values = {\n");
fp                147 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 		family_write(ni_all_route_values[i], fp);
fp                148 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 	fprintf(fp, "}\n\n");
fp                151 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 	fprintf(fp, "ni_device_routes = {\n");
fp                153 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 		device_write(ni_device_routes_list[i], fp);
fp                154 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 	fprintf(fp, "}\n");
fp                157 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c 	fclose(fp);
fp               1038 drivers/staging/fwserial/fwserial.c static int fwtty_open(struct tty_struct *tty, struct file *fp)
fp               1042 drivers/staging/fwserial/fwserial.c 	return tty_port_open(&port->port, tty, fp);
fp               1045 drivers/staging/fwserial/fwserial.c static void fwtty_close(struct tty_struct *tty, struct file *fp)
fp               1049 drivers/staging/fwserial/fwserial.c 	tty_port_close(&port->port, tty, fp);
fp                122 drivers/staging/goldfish/goldfish_audio.c static ssize_t goldfish_audio_read(struct file *fp, char __user *buf,
fp                125 drivers/staging/goldfish/goldfish_audio.c 	struct goldfish_audio *data = fp->private_data;
fp                157 drivers/staging/goldfish/goldfish_audio.c static ssize_t goldfish_audio_write(struct file *fp, const char __user *buf,
fp                160 drivers/staging/goldfish/goldfish_audio.c 	struct goldfish_audio *data = fp->private_data;
fp                206 drivers/staging/goldfish/goldfish_audio.c static int goldfish_audio_open(struct inode *ip, struct file *fp)
fp                212 drivers/staging/goldfish/goldfish_audio.c 		fp->private_data = audio_data;
fp                223 drivers/staging/goldfish/goldfish_audio.c static int goldfish_audio_release(struct inode *ip, struct file *fp)
fp                231 drivers/staging/goldfish/goldfish_audio.c static long goldfish_audio_ioctl(struct file *fp, unsigned int cmd,
fp                 78 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	struct file *fp;
fp                 80 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	fp = filp_open(path, flag, mode);
fp                 81 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	if (IS_ERR(fp)) {
fp                 83 drivers/staging/rtl8723bs/os_dep/osdep_service.c 		return PTR_ERR(fp);
fp                 86 drivers/staging/rtl8723bs/os_dep/osdep_service.c 		*fpp = fp;
fp                 96 drivers/staging/rtl8723bs/os_dep/osdep_service.c static int closeFile(struct file *fp)
fp                 98 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	filp_close(fp, NULL);
fp                102 drivers/staging/rtl8723bs/os_dep/osdep_service.c static int readFile(struct file *fp, char *buf, int len)
fp                106 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	if (!fp->f_op || !fp->f_op->read)
fp                110 drivers/staging/rtl8723bs/os_dep/osdep_service.c 		rlen = kernel_read(fp, buf + sum, len - sum, &fp->f_pos);
fp                130 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	struct file *fp;
fp                134 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	fp = filp_open(path, O_RDONLY, 0);
fp                135 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	if (IS_ERR(fp))
fp                136 drivers/staging/rtl8723bs/os_dep/osdep_service.c 		return PTR_ERR(fp);
fp                138 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	if (readFile(fp, &buf, 1) != 1)
fp                141 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	filp_close(fp, NULL);
fp                155 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	struct file *fp;
fp                158 drivers/staging/rtl8723bs/os_dep/osdep_service.c 		ret = openFile(&fp, path, O_RDONLY, 0);
fp                161 drivers/staging/rtl8723bs/os_dep/osdep_service.c 			DBG_871X("%s openFile path:%s fp =%p\n", __func__, path , fp);
fp                163 drivers/staging/rtl8723bs/os_dep/osdep_service.c 			ret = readFile(fp, buf, sz);
fp                164 drivers/staging/rtl8723bs/os_dep/osdep_service.c 			closeFile(fp);
fp                 17 drivers/staging/speakup/devsynth.c static ssize_t speakup_file_write(struct file *fp, const char __user *buffer,
fp                 41 drivers/staging/speakup/devsynth.c static ssize_t speakup_file_read(struct file *fp, char __user *buf,
fp                 47 drivers/staging/speakup/devsynth.c static int speakup_file_open(struct inode *ip, struct file *fp)
fp                 56 drivers/staging/speakup/devsynth.c static int speakup_file_release(struct inode *ip, struct file *fp)
fp                169 drivers/staging/speakup/speakup_soft.c static int softsynth_open(struct inode *inode, struct file *fp)
fp                184 drivers/staging/speakup/speakup_soft.c static int softsynth_close(struct inode *inode, struct file *fp)
fp                197 drivers/staging/speakup/speakup_soft.c static ssize_t softsynthx_read(struct file *fp, char __user *buf, size_t count,
fp                223 drivers/staging/speakup/speakup_soft.c 		if (fp->f_flags & O_NONBLOCK) {
fp                302 drivers/staging/speakup/speakup_soft.c static ssize_t softsynth_read(struct file *fp, char __user *buf, size_t count,
fp                305 drivers/staging/speakup/speakup_soft.c 	return softsynthx_read(fp, buf, count, pos, 0);
fp                308 drivers/staging/speakup/speakup_soft.c static ssize_t softsynthu_read(struct file *fp, char __user *buf, size_t count,
fp                311 drivers/staging/speakup/speakup_soft.c 	return softsynthx_read(fp, buf, count, pos, 1);
fp                316 drivers/staging/speakup/speakup_soft.c static ssize_t softsynth_write(struct file *fp, const char __user *buf,
fp                331 drivers/staging/speakup/speakup_soft.c static __poll_t softsynth_poll(struct file *fp, struct poll_table_struct *wait)
fp                336 drivers/staging/speakup/speakup_soft.c 	poll_wait(fp, &speakup_event, wait);
fp                 74 drivers/staging/speakup/spk_ttyio.c 				  const unsigned char *cp, char *fp, int count)
fp                107 drivers/target/target_core_configfs.c 	struct file *fp;
fp                132 drivers/target/target_core_configfs.c 	fp = filp_open(db_root_stage, O_RDONLY, 0);
fp                133 drivers/target/target_core_configfs.c 	if (IS_ERR(fp)) {
fp                138 drivers/target/target_core_configfs.c 	if (!S_ISDIR(file_inode(fp)->i_mode)) {
fp                139 drivers/target/target_core_configfs.c 		filp_close(fp, NULL);
fp                144 drivers/target/target_core_configfs.c 	filp_close(fp, NULL);
fp               3438 drivers/target/target_core_configfs.c 	struct file *fp;
fp               3441 drivers/target/target_core_configfs.c 	fp = filp_open(db_root_stage, O_RDONLY, 0);
fp               3442 drivers/target/target_core_configfs.c 	if (IS_ERR(fp)) {
fp               3446 drivers/target/target_core_configfs.c 	if (!S_ISDIR(file_inode(fp)->i_mode)) {
fp               3447 drivers/target/target_core_configfs.c 		filp_close(fp, NULL);
fp               3451 drivers/target/target_core_configfs.c 	filp_close(fp, NULL);
fp                 72 drivers/target/tcm_fc/tfc_cmd.c 	struct fc_frame *fp;
fp                 78 drivers/target/tcm_fc/tfc_cmd.c 	fp = cmd->req_frame;
fp                 79 drivers/target/tcm_fc/tfc_cmd.c 	if (fr_seq(fp))
fp                 80 drivers/target/tcm_fc/tfc_cmd.c 		fc_seq_release(fr_seq(fp));
fp                 81 drivers/target/tcm_fc/tfc_cmd.c 	fc_frame_free(fp);
fp                104 drivers/target/tcm_fc/tfc_cmd.c 	struct fc_frame *fp;
fp                117 drivers/target/tcm_fc/tfc_cmd.c 	fp = fc_frame_alloc(lport, len);
fp                118 drivers/target/tcm_fc/tfc_cmd.c 	if (!fp) {
fp                123 drivers/target/tcm_fc/tfc_cmd.c 	fcp = fc_frame_payload_get(fp, len);
fp                150 drivers/target/tcm_fc/tfc_cmd.c 	fc_fill_fc_hdr(fp, FC_RCTL_DD_CMD_STATUS, ep->did, ep->sid, FC_TYPE_FCP,
fp                153 drivers/target/tcm_fc/tfc_cmd.c 	rc = fc_seq_send(lport, cmd->seq, fp);
fp                156 drivers/target/tcm_fc/tfc_cmd.c 				    "xid <0x%x>\n", __func__, fp, ep->xid);
fp                181 drivers/target/tcm_fc/tfc_cmd.c 	struct fc_frame *fp;
fp                194 drivers/target/tcm_fc/tfc_cmd.c 	fp = fc_frame_alloc(lport, sizeof(*txrdy));
fp                195 drivers/target/tcm_fc/tfc_cmd.c 	if (!fp)
fp                198 drivers/target/tcm_fc/tfc_cmd.c 	txrdy = fc_frame_payload_get(fp, sizeof(*txrdy));
fp                203 drivers/target/tcm_fc/tfc_cmd.c 	fc_fill_fc_hdr(fp, FC_RCTL_DD_DATA_DESC, ep->did, ep->sid, FC_TYPE_FCP,
fp                206 drivers/target/tcm_fc/tfc_cmd.c 	fh = fc_frame_header_get(fp);
fp                223 drivers/target/tcm_fc/tfc_cmd.c 	fc_seq_send(lport, cmd->seq, fp);
fp                235 drivers/target/tcm_fc/tfc_cmd.c static void ft_recv_seq(struct fc_seq *sp, struct fc_frame *fp, void *arg)
fp                240 drivers/target/tcm_fc/tfc_cmd.c 	if (IS_ERR(fp)) {
fp                247 drivers/target/tcm_fc/tfc_cmd.c 	fh = fc_frame_header_get(fp);
fp                251 drivers/target/tcm_fc/tfc_cmd.c 		ft_recv_write_data(cmd, fp);
fp                260 drivers/target/tcm_fc/tfc_cmd.c 		fc_frame_free(fp);
fp                275 drivers/target/tcm_fc/tfc_cmd.c 	struct fc_frame *fp;
fp                288 drivers/target/tcm_fc/tfc_cmd.c 	fp = fc_frame_alloc(lport, len);
fp                289 drivers/target/tcm_fc/tfc_cmd.c 	if (!fp)
fp                291 drivers/target/tcm_fc/tfc_cmd.c 	fcp = fc_frame_payload_get(fp, len);
fp                301 drivers/target/tcm_fc/tfc_cmd.c 	fc_fill_reply_hdr(fp, rx_fp, FC_RCTL_DD_CMD_STATUS, 0);
fp                302 drivers/target/tcm_fc/tfc_cmd.c 	sp = fr_seq(fp);
fp                304 drivers/target/tcm_fc/tfc_cmd.c 		fc_seq_send(lport, sp, fp);
fp                307 drivers/target/tcm_fc/tfc_cmd.c 		lport->tt.frame_send(lport, fp);
fp                426 drivers/target/tcm_fc/tfc_cmd.c static void ft_recv_cmd(struct ft_sess *sess, struct fc_frame *fp)
fp                443 drivers/target/tcm_fc/tfc_cmd.c 	cmd->seq = fc_seq_assign(lport, fp);
fp                448 drivers/target/tcm_fc/tfc_cmd.c 	cmd->req_frame = fp;		/* hold frame during cmd */
fp                456 drivers/target/tcm_fc/tfc_cmd.c 	ft_send_resp_status(lport, fp, SAM_STAT_BUSY, 0);
fp                457 drivers/target/tcm_fc/tfc_cmd.c 	fc_frame_free(fp);
fp                466 drivers/target/tcm_fc/tfc_cmd.c void ft_recv_req(struct ft_sess *sess, struct fc_frame *fp)
fp                468 drivers/target/tcm_fc/tfc_cmd.c 	struct fc_frame_header *fh = fc_frame_header_get(fp);
fp                472 drivers/target/tcm_fc/tfc_cmd.c 		ft_recv_cmd(sess, fp);
fp                482 drivers/target/tcm_fc/tfc_cmd.c 		fc_frame_free(fp);
fp                 45 drivers/target/tcm_fc/tfc_io.c 	struct fc_frame *fp = NULL;
fp                114 drivers/target/tcm_fc/tfc_io.c 			fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len);
fp                115 drivers/target/tcm_fc/tfc_io.c 			if (!fp)
fp                117 drivers/target/tcm_fc/tfc_io.c 			to = fc_frame_payload_get(fp, 0);
fp                126 drivers/target/tcm_fc/tfc_io.c 			fr_max_payload(fp) = cmd->sess->max_frame;
fp                134 drivers/target/tcm_fc/tfc_io.c 			skb_fill_page_desc(fp_skb(fp),
fp                135 drivers/target/tcm_fc/tfc_io.c 					   skb_shinfo(fp_skb(fp))->nr_frags,
fp                137 drivers/target/tcm_fc/tfc_io.c 			fr_len(fp) += tlen;
fp                138 drivers/target/tcm_fc/tfc_io.c 			fp_skb(fp)->data_len += tlen;
fp                139 drivers/target/tcm_fc/tfc_io.c 			fp_skb(fp)->truesize += page_size(page);
fp                158 drivers/target/tcm_fc/tfc_io.c 		    (skb_shinfo(fp_skb(fp))->nr_frags < FC_FRAME_SG_LEN))
fp                162 drivers/target/tcm_fc/tfc_io.c 		fc_fill_fc_hdr(fp, FC_RCTL_DD_SOL_DATA, ep->did, ep->sid,
fp                164 drivers/target/tcm_fc/tfc_io.c 		error = fc_seq_send(lport, seq, fp);
fp                169 drivers/target/tcm_fc/tfc_io.c 						__func__, fp, ep->xid,
fp                196 drivers/target/tcm_fc/tfc_io.c void ft_recv_write_data(struct ft_cmd *cmd, struct fc_frame *fp)
fp                216 drivers/target/tcm_fc/tfc_io.c 	fh = fc_frame_header_get(fp);
fp                230 drivers/target/tcm_fc/tfc_io.c 		buf = fc_frame_payload_get(fp, 1);
fp                263 drivers/target/tcm_fc/tfc_io.c 	frame_len = fr_len(fp);
fp                267 drivers/target/tcm_fc/tfc_io.c 	from = fc_frame_payload_get(fp, 0);
fp                322 drivers/target/tcm_fc/tfc_io.c 	fc_frame_free(fp);
fp                478 drivers/target/tcm_fc/tfc_sess.c static void ft_recv(struct fc_lport *lport, struct fc_frame *fp)
fp                481 drivers/target/tcm_fc/tfc_sess.c 	u32 sid = fc_frame_sid(fp);
fp                489 drivers/target/tcm_fc/tfc_sess.c 		fc_frame_free(fp);
fp                492 drivers/target/tcm_fc/tfc_sess.c 	ft_recv_req(sess, fp);	/* must do ft_sess_put() */
fp               2405 drivers/tty/n_gsm.c 			      char *fp, int count)
fp               2417 drivers/tty/n_gsm.c 	for (i = count, dp = cp, f = fp; i; i--, dp++) {
fp                188 drivers/tty/n_hdlc.c 			       char *fp, int count);
fp                 35 drivers/tty/n_null.c 				 const unsigned char *cp, char *fp,
fp                145 drivers/tty/n_r3964.c 		char *fp, int count);
fp               1267 drivers/tty/n_r3964.c 			char *fp, int count)
fp               1274 drivers/tty/n_r3964.c 	for (i = count, p = cp, f = fp; i; i--, p++) {
fp                163 drivers/tty/n_tracerouter.c 					char *fp, int count)
fp               1512 drivers/tty/n_tty.c 			   char *fp, int count)
fp               1532 drivers/tty/n_tty.c 		      char *fp, int count)
fp               1538 drivers/tty/n_tty.c 		if (fp)
fp               1539 drivers/tty/n_tty.c 			flag = *fp++;
fp               1549 drivers/tty/n_tty.c 			  char *fp, int count)
fp               1554 drivers/tty/n_tty.c 		if (fp)
fp               1555 drivers/tty/n_tty.c 			flag = *fp++;
fp               1563 drivers/tty/n_tty.c 			  char *fp, int count)
fp               1569 drivers/tty/n_tty.c 		if (fp)
fp               1570 drivers/tty/n_tty.c 			flag = *fp++;
fp               1585 drivers/tty/n_tty.c 				if (fp)
fp               1586 drivers/tty/n_tty.c 					flag = *fp++;
fp               1597 drivers/tty/n_tty.c 		       char *fp, int count)
fp               1603 drivers/tty/n_tty.c 		if (fp)
fp               1604 drivers/tty/n_tty.c 			flag = *fp++;
fp               1611 drivers/tty/n_tty.c 				if (fp)
fp               1612 drivers/tty/n_tty.c 					flag = *fp++;
fp               1622 drivers/tty/n_tty.c 			  char *fp, int count)
fp               1628 drivers/tty/n_tty.c 		n_tty_receive_buf_real_raw(tty, cp, fp, count);
fp               1630 drivers/tty/n_tty.c 		n_tty_receive_buf_raw(tty, cp, fp, count);
fp               1632 drivers/tty/n_tty.c 		n_tty_receive_buf_closing(tty, cp, fp, count);
fp               1637 drivers/tty/n_tty.c 			if (fp)
fp               1638 drivers/tty/n_tty.c 				flag = *fp++;
fp               1644 drivers/tty/n_tty.c 			n_tty_receive_buf_fast(tty, cp, fp, count);
fp               1646 drivers/tty/n_tty.c 			n_tty_receive_buf_standard(tty, cp, fp, count);
fp               1700 drivers/tty/n_tty.c 			 char *fp, int count, int flow)
fp               1741 drivers/tty/n_tty.c 		if (!overflow || !fp || *fp != TTY_PARITY)
fp               1742 drivers/tty/n_tty.c 			__receive_buf(tty, cp, fp, n);
fp               1745 drivers/tty/n_tty.c 		if (fp)
fp               1746 drivers/tty/n_tty.c 			fp += n;
fp               1769 drivers/tty/n_tty.c 			      char *fp, int count)
fp               1771 drivers/tty/n_tty.c 	n_tty_receive_buf_common(tty, cp, fp, count, 0);
fp               1775 drivers/tty/n_tty.c 			      char *fp, int count)
fp               1777 drivers/tty/n_tty.c 	return n_tty_receive_buf_common(tty, cp, fp, count, 1);
fp                 26 drivers/tty/serdev/serdev-ttyport.c 				const unsigned char *fp, size_t count)
fp               2137 drivers/tty/serial/atmel_serial.c 	unsigned int old_mode, mode, imr, quot, baud, div, cd, fp = 0;
fp               2287 drivers/tty/serial/atmel_serial.c 		fp = div & ATMEL_US_FP_MASK;
fp               2296 drivers/tty/serial/atmel_serial.c 	quot = cd | fp << ATMEL_US_FP_OFFSET;
fp                202 drivers/usb/gadget/function/f_phonet.c 	struct f_phonet *fp = ep->driver_data;
fp                203 drivers/usb/gadget/function/f_phonet.c 	struct net_device *dev = fp->dev;
fp                227 drivers/usb/gadget/function/f_phonet.c 	struct f_phonet *fp;
fp                235 drivers/usb/gadget/function/f_phonet.c 	fp = port->usb;
fp                236 drivers/usb/gadget/function/f_phonet.c 	if (unlikely(!fp)) /* race with carrier loss */
fp                239 drivers/usb/gadget/function/f_phonet.c 	req = fp->in_req;
fp                246 drivers/usb/gadget/function/f_phonet.c 	if (unlikely(usb_ep_queue(fp->in_ep, req, GFP_ATOMIC)))
fp                292 drivers/usb/gadget/function/f_phonet.c pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags)
fp                305 drivers/usb/gadget/function/f_phonet.c 	err = usb_ep_queue(fp->out_ep, req, gfp_flags);
fp                313 drivers/usb/gadget/function/f_phonet.c 	struct f_phonet *fp = ep->driver_data;
fp                314 drivers/usb/gadget/function/f_phonet.c 	struct net_device *dev = fp->dev;
fp                322 drivers/usb/gadget/function/f_phonet.c 		spin_lock_irqsave(&fp->rx.lock, flags);
fp                323 drivers/usb/gadget/function/f_phonet.c 		skb = fp->rx.skb;
fp                325 drivers/usb/gadget/function/f_phonet.c 			skb = fp->rx.skb = netdev_alloc_skb(dev, 12);
fp                327 drivers/usb/gadget/function/f_phonet.c 			fp->rx.skb = NULL;
fp                328 drivers/usb/gadget/function/f_phonet.c 		spin_unlock_irqrestore(&fp->rx.lock, flags);
fp                372 drivers/usb/gadget/function/f_phonet.c 		pn_rx_submit(fp, req, GFP_ATOMIC);
fp                379 drivers/usb/gadget/function/f_phonet.c 	struct f_phonet *fp = func_to_pn(f);
fp                380 drivers/usb/gadget/function/f_phonet.c 	struct net_device *dev = fp->dev;
fp                386 drivers/usb/gadget/function/f_phonet.c 	usb_ep_disable(fp->out_ep);
fp                387 drivers/usb/gadget/function/f_phonet.c 	usb_ep_disable(fp->in_ep);
fp                388 drivers/usb/gadget/function/f_phonet.c 	if (fp->rx.skb) {
fp                389 drivers/usb/gadget/function/f_phonet.c 		dev_kfree_skb_irq(fp->rx.skb);
fp                390 drivers/usb/gadget/function/f_phonet.c 		fp->rx.skb = NULL;
fp                396 drivers/usb/gadget/function/f_phonet.c 	struct f_phonet *fp = func_to_pn(f);
fp                397 drivers/usb/gadget/function/f_phonet.c 	struct usb_gadget *gadget = fp->function.config->cdev->gadget;
fp                404 drivers/usb/gadget/function/f_phonet.c 		struct net_device *dev = fp->dev;
fp                413 drivers/usb/gadget/function/f_phonet.c 		if (fp->in_ep->enabled)
fp                419 drivers/usb/gadget/function/f_phonet.c 			if (config_ep_by_speed(gadget, f, fp->in_ep) ||
fp                420 drivers/usb/gadget/function/f_phonet.c 			    config_ep_by_speed(gadget, f, fp->out_ep)) {
fp                421 drivers/usb/gadget/function/f_phonet.c 				fp->in_ep->desc = NULL;
fp                422 drivers/usb/gadget/function/f_phonet.c 				fp->out_ep->desc = NULL;
fp                426 drivers/usb/gadget/function/f_phonet.c 			usb_ep_enable(fp->out_ep);
fp                427 drivers/usb/gadget/function/f_phonet.c 			usb_ep_enable(fp->in_ep);
fp                429 drivers/usb/gadget/function/f_phonet.c 			port->usb = fp;
fp                430 drivers/usb/gadget/function/f_phonet.c 			fp->out_ep->driver_data = fp;
fp                431 drivers/usb/gadget/function/f_phonet.c 			fp->in_ep->driver_data = fp;
fp                435 drivers/usb/gadget/function/f_phonet.c 				pn_rx_submit(fp, fp->out_reqv[i], GFP_ATOMIC);
fp                446 drivers/usb/gadget/function/f_phonet.c 	struct f_phonet *fp = func_to_pn(f);
fp                452 drivers/usb/gadget/function/f_phonet.c 		struct phonet_port *port = netdev_priv(fp->dev);
fp                466 drivers/usb/gadget/function/f_phonet.c 	struct f_phonet *fp = func_to_pn(f);
fp                467 drivers/usb/gadget/function/f_phonet.c 	struct phonet_port *port = netdev_priv(fp->dev);
fp                482 drivers/usb/gadget/function/f_phonet.c 	struct f_phonet *fp = func_to_pn(f);
fp                524 drivers/usb/gadget/function/f_phonet.c 	fp->out_ep = ep;
fp                529 drivers/usb/gadget/function/f_phonet.c 	fp->in_ep = ep;
fp                545 drivers/usb/gadget/function/f_phonet.c 		req = usb_ep_alloc_request(fp->out_ep, GFP_KERNEL);
fp                550 drivers/usb/gadget/function/f_phonet.c 		fp->out_reqv[i] = req;
fp                554 drivers/usb/gadget/function/f_phonet.c 	fp->in_req = usb_ep_alloc_request(fp->in_ep, GFP_KERNEL);
fp                555 drivers/usb/gadget/function/f_phonet.c 	if (!fp->in_req)
fp                560 drivers/usb/gadget/function/f_phonet.c 		fp->out_ep->name, fp->in_ep->name);
fp                564 drivers/usb/gadget/function/f_phonet.c 	for (i = 0; i < phonet_rxq_size && fp->out_reqv[i]; i++)
fp                565 drivers/usb/gadget/function/f_phonet.c 		usb_ep_free_request(fp->out_ep, fp->out_reqv[i]);
fp                651 drivers/usb/gadget/function/f_phonet.c 	struct f_phonet *fp = func_to_pn(f);
fp                655 drivers/usb/gadget/function/f_phonet.c 	if (fp->in_req)
fp                656 drivers/usb/gadget/function/f_phonet.c 		usb_ep_free_request(fp->in_ep, fp->in_req);
fp                658 drivers/usb/gadget/function/f_phonet.c 		if (fp->out_reqv[i])
fp                659 drivers/usb/gadget/function/f_phonet.c 			usb_ep_free_request(fp->out_ep, fp->out_reqv[i]);
fp                666 drivers/usb/gadget/function/f_phonet.c 	struct f_phonet *fp;
fp                670 drivers/usb/gadget/function/f_phonet.c 	size = sizeof(*fp) + (phonet_rxq_size * sizeof(struct usb_request *));
fp                671 drivers/usb/gadget/function/f_phonet.c 	fp = kzalloc(size, GFP_KERNEL);
fp                672 drivers/usb/gadget/function/f_phonet.c 	if (!fp)
fp                677 drivers/usb/gadget/function/f_phonet.c 	fp->dev = opts->net;
fp                678 drivers/usb/gadget/function/f_phonet.c 	fp->function.name = "phonet";
fp                679 drivers/usb/gadget/function/f_phonet.c 	fp->function.bind = pn_bind;
fp                680 drivers/usb/gadget/function/f_phonet.c 	fp->function.unbind = pn_unbind;
fp                681 drivers/usb/gadget/function/f_phonet.c 	fp->function.set_alt = pn_set_alt;
fp                682 drivers/usb/gadget/function/f_phonet.c 	fp->function.get_alt = pn_get_alt;
fp                683 drivers/usb/gadget/function/f_phonet.c 	fp->function.disable = pn_disconnect;
fp                684 drivers/usb/gadget/function/f_phonet.c 	fp->function.free_func = phonet_free;
fp                685 drivers/usb/gadget/function/f_phonet.c 	spin_lock_init(&fp->rx.lock);
fp                687 drivers/usb/gadget/function/f_phonet.c 	return &fp->function;
fp                450 drivers/usb/mon/mon_bin.c 	struct usb_iso_packet_descriptor *fp;
fp                454 drivers/usb/mon/mon_bin.c 	fp = urb->iso_frame_desc;
fp                456 drivers/usb/mon/mon_bin.c 		if (fp->actual_length != 0) {
fp                457 drivers/usb/mon/mon_bin.c 			if (fp->offset + fp->actual_length > length)
fp                458 drivers/usb/mon/mon_bin.c 				length = fp->offset + fp->actual_length;
fp                460 drivers/usb/mon/mon_bin.c 		fp++;
fp                469 drivers/usb/mon/mon_bin.c 	struct usb_iso_packet_descriptor *fp;
fp                471 drivers/usb/mon/mon_bin.c 	fp = urb->iso_frame_desc;
fp                475 drivers/usb/mon/mon_bin.c 		dp->iso_status = fp->status;
fp                476 drivers/usb/mon/mon_bin.c 		dp->iso_off = fp->offset;
fp                477 drivers/usb/mon/mon_bin.c 		dp->iso_len = (ev_type == 'S') ? fp->length : fp->actual_length;
fp                481 drivers/usb/mon/mon_bin.c 		fp++;
fp                198 drivers/usb/mon/mon_text.c 	struct usb_iso_packet_descriptor *fp;
fp                235 drivers/usb/mon/mon_text.c 		fp = urb->iso_frame_desc;
fp                238 drivers/usb/mon/mon_text.c 			dp->status = fp->status;
fp                239 drivers/usb/mon/mon_text.c 			dp->offset = fp->offset;
fp                241 drivers/usb/mon/mon_text.c 			    fp->length : fp->actual_length;
fp                242 drivers/usb/mon/mon_text.c 			fp++;
fp                 36 drivers/video/fbdev/geode/gxfb.h 	uint64_t fp[FP_REG_COUNT];
fp                 46 drivers/video/fbdev/geode/lxfb.h 	uint64_t fp[FP_REG_COUNT];
fp                607 drivers/video/fbdev/geode/lxfb_ops.c 	memcpy(par->fp, par->vp_regs + VP_FP_START, sizeof(par->fp));
fp                774 drivers/video/fbdev/geode/lxfb_ops.c 	for (i = 0; i < ARRAY_SIZE(par->fp); i++) {
fp                786 drivers/video/fbdev/geode/lxfb_ops.c 			write_fp(par, i, par->fp[i]);
fp                791 drivers/video/fbdev/geode/lxfb_ops.c 	if (par->fp[FP_PM] & FP_PM_P) {
fp                795 drivers/video/fbdev/geode/lxfb_ops.c 			write_fp(par, FP_PM, par->fp[FP_PM]);
fp                800 drivers/video/fbdev/geode/lxfb_ops.c 			write_fp(par, FP_PM, par->fp[FP_PM]);
fp                 35 drivers/video/fbdev/geode/suspend_gx.c 	memcpy(par->fp, par->vid_regs + VP_FP_START, sizeof(par->fp));
fp                181 drivers/video/fbdev/geode/suspend_gx.c 	for (i = 0; i < ARRAY_SIZE(par->fp); i++) {
fp                183 drivers/video/fbdev/geode/suspend_gx.c 			write_fp(par, i, par->fp[i]);
fp                195 drivers/video/fbdev/geode/suspend_gx.c 	write_fp(par, FP_PM, par->fp[FP_PM] & ~FP_PM_P);
fp                211 drivers/video/fbdev/geode/suspend_gx.c 	uint32_t fp;
fp                213 drivers/video/fbdev/geode/suspend_gx.c 	fp = read_fp(par, FP_PM);
fp                214 drivers/video/fbdev/geode/suspend_gx.c 	if (par->fp[FP_PM] & FP_PM_P) {
fp                216 drivers/video/fbdev/geode/suspend_gx.c 		if (!(fp & (FP_PM_PANEL_ON|FP_PM_PANEL_PWR_UP)))
fp                217 drivers/video/fbdev/geode/suspend_gx.c 			write_fp(par, FP_PM, par->fp[FP_PM]);
fp                220 drivers/video/fbdev/geode/suspend_gx.c 		if (!(fp & (FP_PM_PANEL_OFF|FP_PM_PANEL_PWR_DOWN)))
fp                221 drivers/video/fbdev/geode/suspend_gx.c 			write_fp(par, FP_PM, par->fp[FP_PM]);
fp                179 drivers/video/fbdev/geode/video_gx.c 	unsigned long fp;
fp                190 drivers/video/fbdev/geode/video_gx.c 	fp = read_fp(par, FP_PM);
fp                191 drivers/video/fbdev/geode/video_gx.c 	fp &= ~FP_PM_P;
fp                192 drivers/video/fbdev/geode/video_gx.c 	write_fp(par, FP_PM, fp);
fp                196 drivers/video/fbdev/geode/video_gx.c 	fp = read_fp(par, FP_PT1);
fp                197 drivers/video/fbdev/geode/video_gx.c 	fp &= FP_PT1_VSIZE_MASK;
fp                198 drivers/video/fbdev/geode/video_gx.c 	fp |= info->var.yres << FP_PT1_VSIZE_SHIFT;
fp                199 drivers/video/fbdev/geode/video_gx.c 	write_fp(par, FP_PT1, fp);
fp                204 drivers/video/fbdev/geode/video_gx.c 	fp = 0x0F100000;
fp                209 drivers/video/fbdev/geode/video_gx.c 		fp |= FP_PT2_VSP;
fp                212 drivers/video/fbdev/geode/video_gx.c 		fp |= FP_PT2_HSP;
fp                214 drivers/video/fbdev/geode/video_gx.c 	write_fp(par, FP_PT2, fp);
fp                221 drivers/video/fbdev/geode/video_gx.c 	fp = read_vp(par, VP_DCFG);
fp                222 drivers/video/fbdev/geode/video_gx.c 	fp |= VP_DCFG_FP_PWR_EN | VP_DCFG_FP_DATA_EN;
fp                223 drivers/video/fbdev/geode/video_gx.c 	write_vp(par, VP_DCFG, fp);
fp                227 drivers/video/fbdev/geode/video_gx.c 	fp = read_fp(par, FP_PM);
fp                228 drivers/video/fbdev/geode/video_gx.c 	fp |= FP_PM_P;
fp                229 drivers/video/fbdev/geode/video_gx.c 	write_fp(par, FP_PM, fp);
fp                 71 drivers/video/fbdev/tridentfb.c static int fp;
fp                 89 drivers/video/fbdev/tridentfb.c module_param(fp, int, 0);
fp                 90 drivers/video/fbdev/tridentfb.c MODULE_PARM_DESC(fp, "Define if flatpanel is connected");
fp                901 drivers/video/fbdev/tridentfb.c 	if (fp)
fp               1789 drivers/video/fbdev/tridentfb.c 			fp = 1;
fp               1791 drivers/video/fbdev/tridentfb.c 			fp = 0;
fp                152 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_version(struct file *fp,
fp                163 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_protover(struct file *fp,
fp                172 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_protosubver(struct file *fp,
fp                256 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_openmount(struct file *fp,
fp                287 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_closemount(struct file *fp,
fp                298 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_ready(struct file *fp,
fp                312 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_fail(struct file *fp,
fp                336 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_setpipefd(struct file *fp,
fp                389 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_catatonic(struct file *fp,
fp                398 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_timeout(struct file *fp,
fp                418 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_requester(struct file *fp,
fp                457 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_expire(struct file *fp,
fp                465 fs/autofs/dev-ioctl.c 	mnt = fp->f_path.mnt;
fp                471 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_askumount(struct file *fp,
fp                476 fs/autofs/dev-ioctl.c 	if (may_umount(fp->f_path.mnt))
fp                502 fs/autofs/dev-ioctl.c static int autofs_dev_ioctl_ismountpoint(struct file *fp,
fp                520 fs/autofs/dev-ioctl.c 	if (!fp || param->ioctlfd == -1) {
fp                592 fs/autofs/dev-ioctl.c 	struct file *fp;
fp                630 fs/autofs/dev-ioctl.c 	fp = NULL;
fp                644 fs/autofs/dev-ioctl.c 		fp = fget(param->ioctlfd);
fp                645 fs/autofs/dev-ioctl.c 		if (!fp) {
fp                652 fs/autofs/dev-ioctl.c 		sb = file_inode(fp)->i_sb;
fp                655 fs/autofs/dev-ioctl.c 			fput(fp);
fp                667 fs/autofs/dev-ioctl.c 			fput(fp);
fp                672 fs/autofs/dev-ioctl.c 	err = fn(fp, sbi, param);
fp                674 fs/autofs/dev-ioctl.c 	if (fp)
fp                675 fs/autofs/dev-ioctl.c 		fput(fp);
fp                869 fs/fcntl.c     	struct fasync_struct *fa, **fp;
fp                874 fs/fcntl.c     	for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) {
fp                882 fs/fcntl.c     		*fp = fa->fa_next;
fp                917 fs/fcntl.c             struct fasync_struct *fa, **fp;
fp                921 fs/fcntl.c     	for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) {
fp               1014 fs/fcntl.c     void kill_fasync(struct fasync_struct **fp, int sig, int band)
fp               1019 fs/fcntl.c     	if (*fp) {
fp               1021 fs/fcntl.c     		kill_fasync_rcu(rcu_dereference(*fp), sig, band);
fp                 66 fs/freevxfs/vxfs_immed.c vxfs_immed_readpage(struct file *fp, struct page *pp)
fp                215 fs/freevxfs/vxfs_lookup.c vxfs_readdir(struct file *fp, struct dir_context *ctx)
fp                217 fs/freevxfs/vxfs_lookup.c 	struct inode		*ip = file_inode(fp);
fp                224 fs/freevxfs/vxfs_lookup.c 		if (!dir_emit_dot(fp, ctx))
fp                609 fs/gfs2/file.c 	struct gfs2_file *fp;
fp                618 fs/gfs2/file.c 	fp = kzalloc(sizeof(struct gfs2_file), GFP_NOFS);
fp                619 fs/gfs2/file.c 	if (!fp)
fp                622 fs/gfs2/file.c 	mutex_init(&fp->f_fl_mutex);
fp                625 fs/gfs2/file.c 	file->private_data = fp;
fp               1215 fs/gfs2/file.c 	struct gfs2_file *fp = file->private_data;
fp               1216 fs/gfs2/file.c 	struct gfs2_holder *fl_gh = &fp->f_fl_gh;
fp               1227 fs/gfs2/file.c 	mutex_lock(&fp->f_fl_mutex);
fp               1265 fs/gfs2/file.c 	mutex_unlock(&fp->f_fl_mutex);
fp               1271 fs/gfs2/file.c 	struct gfs2_file *fp = file->private_data;
fp               1272 fs/gfs2/file.c 	struct gfs2_holder *fl_gh = &fp->f_fl_gh;
fp               1274 fs/gfs2/file.c 	mutex_lock(&fp->f_fl_mutex);
fp               1280 fs/gfs2/file.c 	mutex_unlock(&fp->f_fl_mutex);
fp               3122 fs/io_uring.c  		fpl->fp[i] = get_file(ctx->user_files[i + offset]);
fp               3123 fs/io_uring.c  		unix_inflight(fpl->user, fpl->fp[i]);
fp               3127 fs/io_uring.c  	UNIXCB(skb).fp = fpl;
fp               3132 fs/io_uring.c  		fput(fpl->fp[i]);
fp                152 fs/jfs/jfs_dtree.c 		      dtpage_t * fp, struct btstack * btstack);
fp               2226 fs/jfs/jfs_dtree.c 	   struct metapage * fmp, dtpage_t * fp, struct btstack * btstack)
fp               2269 fs/jfs/jfs_dtree.c 	pxdlock->pxd = fp->header.self;
fp               2273 fs/jfs/jfs_dtree.c 	if ((rc = dtRelink(tid, ip, fp))) {
fp               2278 fs/jfs/jfs_dtree.c 	xlen = lengthPXD(&fp->header.self);
fp                471 fs/jfs/jfs_metapage.c static int metapage_readpage(struct file *fp, struct page *page)
fp                119 fs/jfs/jfs_xtree.c 		      xtpage_t * fp, struct btstack * btstack);
fp                125 fs/jfs/jfs_xtree.c static int xtRelink(tid_t tid, struct inode *ip, xtpage_t * fp);
fp               2398 fs/jfs/jfs_xtree.c 	   struct metapage * fmp, xtpage_t * fp, struct btstack * btstack)
fp               2413 fs/jfs/jfs_xtree.c 	if (fp->header.flag & BT_ROOT) {
fp               2415 fs/jfs/jfs_xtree.c 		fp->header.flag &= ~BT_INTERNAL;
fp               2416 fs/jfs/jfs_xtree.c 		fp->header.flag |= BT_LEAF;
fp               2417 fs/jfs/jfs_xtree.c 		fp->header.nextindex = cpu_to_le16(XTENTRYSTART);
fp               2427 fs/jfs/jfs_xtree.c 	if ((rc = xtRelink(tid, ip, fp))) {
fp               2432 fs/jfs/jfs_xtree.c 	xaddr = addressPXD(&fp->header.self);
fp               2433 fs/jfs/jfs_xtree.c 	xlen = lengthPXD(&fp->header.self);
fp               1151 fs/nfsd/export.c static int show_secinfo_run(struct seq_file *m, struct exp_flavor_info **fp, struct exp_flavor_info *end)
fp               1155 fs/nfsd/export.c 	flags = (*fp)->flags;
fp               1156 fs/nfsd/export.c 	seq_printf(m, ",sec=%d", (*fp)->pseudoflavor);
fp               1157 fs/nfsd/export.c 	(*fp)++;
fp               1158 fs/nfsd/export.c 	while (*fp != end && secinfo_flags_equal(flags, (*fp)->flags)) {
fp               1159 fs/nfsd/export.c 		seq_printf(m, ":%d", (*fp)->pseudoflavor);
fp               1160 fs/nfsd/export.c 		(*fp)++;
fp                159 fs/nfsd/nfs4layouts.c 	struct nfs4_file *fp = ls->ls_stid.sc_file;
fp                167 fs/nfsd/nfs4layouts.c 	spin_lock(&fp->fi_lock);
fp                169 fs/nfsd/nfs4layouts.c 	spin_unlock(&fp->fi_lock);
fp                216 fs/nfsd/nfs4layouts.c 	struct nfs4_file *fp = parent->sc_file;
fp                225 fs/nfsd/nfs4layouts.c 	get_nfs4_file(fp);
fp                226 fs/nfsd/nfs4layouts.c 	stp->sc_file = fp;
fp                239 fs/nfsd/nfs4layouts.c 		ls->ls_file = nfsd_file_get(fp->fi_deleg_file);
fp                241 fs/nfsd/nfs4layouts.c 		ls->ls_file = find_any_file(fp);
fp                246 fs/nfsd/nfs4layouts.c 		put_nfs4_file(fp);
fp                256 fs/nfsd/nfs4layouts.c 	spin_lock(&fp->fi_lock);
fp                257 fs/nfsd/nfs4layouts.c 	list_add(&ls->ls_perfile, &fp->fi_lo_states);
fp                258 fs/nfsd/nfs4layouts.c 	spin_unlock(&fp->fi_lock);
fp                385 fs/nfsd/nfs4layouts.c 	struct nfs4_file *fp = ls->ls_stid.sc_file;
fp                389 fs/nfsd/nfs4layouts.c 	assert_spin_locked(&fp->fi_lock);
fp                391 fs/nfsd/nfs4layouts.c 	list_for_each_entry_safe(l, n, &fp->fi_lo_states, ls_perfile) {
fp                405 fs/nfsd/nfs4layouts.c 	struct nfs4_file *fp = ls->ls_stid.sc_file;
fp                409 fs/nfsd/nfs4layouts.c 	spin_lock(&fp->fi_lock);
fp                419 fs/nfsd/nfs4layouts.c 	spin_unlock(&fp->fi_lock);
fp                427 fs/nfsd/nfs4layouts.c 	spin_lock(&fp->fi_lock);
fp                444 fs/nfsd/nfs4layouts.c 	spin_unlock(&fp->fi_lock);
fp                591 fs/nfsd/nfs4layouts.c nfsd4_return_all_file_layouts(struct nfs4_client *clp, struct nfs4_file *fp)
fp                596 fs/nfsd/nfs4layouts.c 	spin_lock(&fp->fi_lock);
fp                597 fs/nfsd/nfs4layouts.c 	list_for_each_entry_safe(ls, n, &fp->fi_lo_states, ls_perfile) {
fp                601 fs/nfsd/nfs4layouts.c 	spin_unlock(&fp->fi_lock);
fp                 80 fs/nfsd/nfs4state.c static bool check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner);
fp                416 fs/nfsd/nfs4state.c 	struct nfs4_file *fp = container_of(rcu, struct nfs4_file, fi_rcu);
fp                418 fs/nfsd/nfs4state.c 	kmem_cache_free(file_slab, fp);
fp                546 fs/nfsd/nfs4state.c __nfs4_file_get_access(struct nfs4_file *fp, u32 access)
fp                548 fs/nfsd/nfs4state.c 	lockdep_assert_held(&fp->fi_lock);
fp                551 fs/nfsd/nfs4state.c 		atomic_inc(&fp->fi_access[O_WRONLY]);
fp                553 fs/nfsd/nfs4state.c 		atomic_inc(&fp->fi_access[O_RDONLY]);
fp                557 fs/nfsd/nfs4state.c nfs4_file_get_access(struct nfs4_file *fp, u32 access)
fp                559 fs/nfsd/nfs4state.c 	lockdep_assert_held(&fp->fi_lock);
fp                566 fs/nfsd/nfs4state.c 	if ((access & fp->fi_share_deny) != 0)
fp                569 fs/nfsd/nfs4state.c 	__nfs4_file_get_access(fp, access);
fp                573 fs/nfsd/nfs4state.c static __be32 nfs4_file_check_deny(struct nfs4_file *fp, u32 deny)
fp                582 fs/nfsd/nfs4state.c 		    atomic_read(&fp->fi_access[O_RDONLY]))
fp                586 fs/nfsd/nfs4state.c 		    atomic_read(&fp->fi_access[O_WRONLY]))
fp                592 fs/nfsd/nfs4state.c static void __nfs4_file_put_access(struct nfs4_file *fp, int oflag)
fp                594 fs/nfsd/nfs4state.c 	might_lock(&fp->fi_lock);
fp                596 fs/nfsd/nfs4state.c 	if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) {
fp                600 fs/nfsd/nfs4state.c 		swap(f1, fp->fi_fds[oflag]);
fp                601 fs/nfsd/nfs4state.c 		if (atomic_read(&fp->fi_access[1 - oflag]) == 0)
fp                602 fs/nfsd/nfs4state.c 			swap(f2, fp->fi_fds[O_RDWR]);
fp                603 fs/nfsd/nfs4state.c 		spin_unlock(&fp->fi_lock);
fp                611 fs/nfsd/nfs4state.c static void nfs4_file_put_access(struct nfs4_file *fp, u32 access)
fp                616 fs/nfsd/nfs4state.c 		__nfs4_file_put_access(fp, O_WRONLY);
fp                618 fs/nfsd/nfs4state.c 		__nfs4_file_put_access(fp, O_RDONLY);
fp                644 fs/nfsd/nfs4state.c 	struct nfs4_file *fp = co->co_file;
fp                646 fs/nfsd/nfs4state.c 	lockdep_assert_held(&fp->fi_lock);
fp                647 fs/nfsd/nfs4state.c 	list_add(&co->co_perfile, &fp->fi_clnt_odstate);
fp                660 fs/nfsd/nfs4state.c 	struct nfs4_file *fp;
fp                665 fs/nfsd/nfs4state.c 	fp = co->co_file;
fp                666 fs/nfsd/nfs4state.c 	if (refcount_dec_and_lock(&co->co_odcount, &fp->fi_lock)) {
fp                668 fs/nfsd/nfs4state.c 		spin_unlock(&fp->fi_lock);
fp                670 fs/nfsd/nfs4state.c 		nfsd4_return_all_file_layouts(co->co_client, fp);
fp                676 fs/nfsd/nfs4state.c find_or_hash_clnt_odstate(struct nfs4_file *fp, struct nfs4_clnt_odstate *new)
fp                686 fs/nfsd/nfs4state.c 	spin_lock(&fp->fi_lock);
fp                687 fs/nfsd/nfs4state.c 	list_for_each_entry(co, &fp->fi_clnt_odstate, co_perfile) {
fp                694 fs/nfsd/nfs4state.c 	co->co_file = fp;
fp                697 fs/nfsd/nfs4state.c 	spin_unlock(&fp->fi_lock);
fp                867 fs/nfsd/nfs4state.c alloc_init_deleg(struct nfs4_client *clp, struct nfs4_file *fp,
fp                899 fs/nfsd/nfs4state.c 	get_nfs4_file(fp);
fp                900 fs/nfsd/nfs4state.c 	dp->dl_stid.sc_file = fp;
fp                910 fs/nfsd/nfs4state.c 	struct nfs4_file *fp = s->sc_file;
fp                922 fs/nfsd/nfs4state.c 	if (fp)
fp                923 fs/nfsd/nfs4state.c 		put_nfs4_file(fp);
fp                938 fs/nfsd/nfs4state.c static void put_deleg_file(struct nfs4_file *fp)
fp                942 fs/nfsd/nfs4state.c 	spin_lock(&fp->fi_lock);
fp                943 fs/nfsd/nfs4state.c 	if (--fp->fi_delegees == 0)
fp                944 fs/nfsd/nfs4state.c 		swap(nf, fp->fi_deleg_file);
fp                945 fs/nfsd/nfs4state.c 	spin_unlock(&fp->fi_lock);
fp                953 fs/nfsd/nfs4state.c 	struct nfs4_file *fp = dp->dl_stid.sc_file;
fp                954 fs/nfsd/nfs4state.c 	struct nfsd_file *nf = fp->fi_deleg_file;
fp                956 fs/nfsd/nfs4state.c 	WARN_ON_ONCE(!fp->fi_delegees);
fp                959 fs/nfsd/nfs4state.c 	put_deleg_file(fp);
fp                984 fs/nfsd/nfs4state.c nfs4_delegation_exists(struct nfs4_client *clp, struct nfs4_file *fp)
fp                990 fs/nfsd/nfs4state.c 	lockdep_assert_held(&fp->fi_lock);
fp                992 fs/nfsd/nfs4state.c 	list_for_each_entry(searchdp, &fp->fi_delegations, dl_perfile) {
fp               1015 fs/nfsd/nfs4state.c hash_delegation_locked(struct nfs4_delegation *dp, struct nfs4_file *fp)
fp               1020 fs/nfsd/nfs4state.c 	lockdep_assert_held(&fp->fi_lock);
fp               1022 fs/nfsd/nfs4state.c 	if (nfs4_delegation_exists(clp, fp))
fp               1026 fs/nfsd/nfs4state.c 	list_add(&dp->dl_perfile, &fp->fi_delegations);
fp               1034 fs/nfsd/nfs4state.c 	struct nfs4_file *fp = dp->dl_stid.sc_file;
fp               1044 fs/nfsd/nfs4state.c 	spin_lock(&fp->fi_lock);
fp               1048 fs/nfsd/nfs4state.c 	spin_unlock(&fp->fi_lock);
fp               1200 fs/nfsd/nfs4state.c recalculate_deny_mode(struct nfs4_file *fp)
fp               1204 fs/nfsd/nfs4state.c 	spin_lock(&fp->fi_lock);
fp               1205 fs/nfsd/nfs4state.c 	fp->fi_share_deny = 0;
fp               1206 fs/nfsd/nfs4state.c 	list_for_each_entry(stp, &fp->fi_stateids, st_perfile)
fp               1207 fs/nfsd/nfs4state.c 		fp->fi_share_deny |= bmap_to_share_mode(stp->st_deny_bmap);
fp               1208 fs/nfsd/nfs4state.c 	spin_unlock(&fp->fi_lock);
fp               1234 fs/nfsd/nfs4state.c 	struct nfs4_file *fp = stp->st_stid.sc_file;
fp               1236 fs/nfsd/nfs4state.c 	if (fp && stp->st_deny_bmap != 0)
fp               1237 fs/nfsd/nfs4state.c 		recalculate_deny_mode(fp);
fp               1267 fs/nfsd/nfs4state.c 	struct nfs4_file *fp = stp->st_stid.sc_file;
fp               1274 fs/nfsd/nfs4state.c 	spin_lock(&fp->fi_lock);
fp               1276 fs/nfsd/nfs4state.c 	spin_unlock(&fp->fi_lock);
fp               1369 fs/nfsd/nfs4state.c 	struct nfs4_file *fp;
fp               1377 fs/nfsd/nfs4state.c 		fp = stp->st_stid.sc_file;
fp               1379 fs/nfsd/nfs4state.c 		if (fp)
fp               1380 fs/nfsd/nfs4state.c 			put_nfs4_file(fp);
fp               3942 fs/nfsd/nfs4state.c 				struct nfs4_file *fp)
fp               3946 fs/nfsd/nfs4state.c 	refcount_set(&fp->fi_ref, 1);
fp               3947 fs/nfsd/nfs4state.c 	spin_lock_init(&fp->fi_lock);
fp               3948 fs/nfsd/nfs4state.c 	INIT_LIST_HEAD(&fp->fi_stateids);
fp               3949 fs/nfsd/nfs4state.c 	INIT_LIST_HEAD(&fp->fi_delegations);
fp               3950 fs/nfsd/nfs4state.c 	INIT_LIST_HEAD(&fp->fi_clnt_odstate);
fp               3951 fs/nfsd/nfs4state.c 	fh_copy_shallow(&fp->fi_fhandle, fh);
fp               3952 fs/nfsd/nfs4state.c 	fp->fi_deleg_file = NULL;
fp               3953 fs/nfsd/nfs4state.c 	fp->fi_had_conflict = false;
fp               3954 fs/nfsd/nfs4state.c 	fp->fi_share_deny = 0;
fp               3955 fs/nfsd/nfs4state.c 	memset(fp->fi_fds, 0, sizeof(fp->fi_fds));
fp               3956 fs/nfsd/nfs4state.c 	memset(fp->fi_access, 0, sizeof(fp->fi_access));
fp               3958 fs/nfsd/nfs4state.c 	INIT_LIST_HEAD(&fp->fi_lo_states);
fp               3959 fs/nfsd/nfs4state.c 	atomic_set(&fp->fi_lo_recalls, 0);
fp               3961 fs/nfsd/nfs4state.c 	hlist_add_head_rcu(&fp->fi_hash, &file_hashtbl[hashval]);
fp               4102 fs/nfsd/nfs4state.c nfsd4_find_existing_open(struct nfs4_file *fp, struct nfsd4_open *open)
fp               4107 fs/nfsd/nfs4state.c 	lockdep_assert_held(&fp->fi_lock);
fp               4109 fs/nfsd/nfs4state.c 	list_for_each_entry(local, &fp->fi_stateids, st_perfile) {
fp               4157 fs/nfsd/nfs4state.c nfsd4_find_and_lock_existing_open(struct nfs4_file *fp, struct nfsd4_open *open)
fp               4161 fs/nfsd/nfs4state.c 		spin_lock(&fp->fi_lock);
fp               4162 fs/nfsd/nfs4state.c 		stp = nfsd4_find_existing_open(fp, open);
fp               4163 fs/nfsd/nfs4state.c 		spin_unlock(&fp->fi_lock);
fp               4203 fs/nfsd/nfs4state.c init_open_stateid(struct nfs4_file *fp, struct nfsd4_open *open)
fp               4217 fs/nfsd/nfs4state.c 	spin_lock(&fp->fi_lock);
fp               4219 fs/nfsd/nfs4state.c 	retstp = nfsd4_find_existing_open(fp, open);
fp               4228 fs/nfsd/nfs4state.c 	get_nfs4_file(fp);
fp               4229 fs/nfsd/nfs4state.c 	stp->st_stid.sc_file = fp;
fp               4234 fs/nfsd/nfs4state.c 	list_add(&stp->st_perfile, &fp->fi_stateids);
fp               4237 fs/nfsd/nfs4state.c 	spin_unlock(&fp->fi_lock);
fp               4298 fs/nfsd/nfs4state.c 	struct nfs4_file *fp;
fp               4300 fs/nfsd/nfs4state.c 	hlist_for_each_entry_rcu(fp, &file_hashtbl[hashval], fi_hash) {
fp               4301 fs/nfsd/nfs4state.c 		if (fh_match(&fp->fi_fhandle, fh)) {
fp               4302 fs/nfsd/nfs4state.c 			if (refcount_inc_not_zero(&fp->fi_ref))
fp               4303 fs/nfsd/nfs4state.c 				return fp;
fp               4312 fs/nfsd/nfs4state.c 	struct nfs4_file *fp;
fp               4316 fs/nfsd/nfs4state.c 	fp = find_file_locked(fh, hashval);
fp               4318 fs/nfsd/nfs4state.c 	return fp;
fp               4324 fs/nfsd/nfs4state.c 	struct nfs4_file *fp;
fp               4328 fs/nfsd/nfs4state.c 	fp = find_file_locked(fh, hashval);
fp               4330 fs/nfsd/nfs4state.c 	if (fp)
fp               4331 fs/nfsd/nfs4state.c 		return fp;
fp               4334 fs/nfsd/nfs4state.c 	fp = find_file_locked(fh, hashval);
fp               4335 fs/nfsd/nfs4state.c 	if (likely(fp == NULL)) {
fp               4337 fs/nfsd/nfs4state.c 		fp = new;
fp               4341 fs/nfsd/nfs4state.c 	return fp;
fp               4351 fs/nfsd/nfs4state.c 	struct nfs4_file *fp;
fp               4354 fs/nfsd/nfs4state.c 	fp = find_file(&current_fh->fh_handle);
fp               4355 fs/nfsd/nfs4state.c 	if (!fp)
fp               4358 fs/nfsd/nfs4state.c 	spin_lock(&fp->fi_lock);
fp               4359 fs/nfsd/nfs4state.c 	if (fp->fi_share_deny & deny_type)
fp               4361 fs/nfsd/nfs4state.c 	spin_unlock(&fp->fi_lock);
fp               4362 fs/nfsd/nfs4state.c 	put_nfs4_file(fp);
fp               4451 fs/nfsd/nfs4state.c 	struct nfs4_file *fp = dp->dl_stid.sc_file;
fp               4460 fs/nfsd/nfs4state.c 	spin_lock(&fp->fi_lock);
fp               4461 fs/nfsd/nfs4state.c 	fp->fi_had_conflict = true;
fp               4463 fs/nfsd/nfs4state.c 	spin_unlock(&fp->fi_lock);
fp               4680 fs/nfsd/nfs4state.c static __be32 nfs4_get_vfs_file(struct svc_rqst *rqstp, struct nfs4_file *fp,
fp               4690 fs/nfsd/nfs4state.c 	spin_lock(&fp->fi_lock);
fp               4696 fs/nfsd/nfs4state.c 	status = nfs4_file_check_deny(fp, open->op_share_deny);
fp               4698 fs/nfsd/nfs4state.c 		spin_unlock(&fp->fi_lock);
fp               4703 fs/nfsd/nfs4state.c 	status = nfs4_file_get_access(fp, open->op_share_access);
fp               4705 fs/nfsd/nfs4state.c 		spin_unlock(&fp->fi_lock);
fp               4716 fs/nfsd/nfs4state.c 	fp->fi_share_deny |= (open->op_share_deny & NFS4_SHARE_DENY_BOTH);
fp               4718 fs/nfsd/nfs4state.c 	if (!fp->fi_fds[oflag]) {
fp               4719 fs/nfsd/nfs4state.c 		spin_unlock(&fp->fi_lock);
fp               4723 fs/nfsd/nfs4state.c 		spin_lock(&fp->fi_lock);
fp               4724 fs/nfsd/nfs4state.c 		if (!fp->fi_fds[oflag]) {
fp               4725 fs/nfsd/nfs4state.c 			fp->fi_fds[oflag] = nf;
fp               4729 fs/nfsd/nfs4state.c 	spin_unlock(&fp->fi_lock);
fp               4740 fs/nfsd/nfs4state.c 	nfs4_file_put_access(fp, open->op_share_access);
fp               4746 fs/nfsd/nfs4state.c nfs4_upgrade_open(struct svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, struct nfsd4_open *open)
fp               4752 fs/nfsd/nfs4state.c 		return nfs4_get_vfs_file(rqstp, fp, cur_fh, stp, open);
fp               4755 fs/nfsd/nfs4state.c 	spin_lock(&fp->fi_lock);
fp               4756 fs/nfsd/nfs4state.c 	status = nfs4_file_check_deny(fp, open->op_share_deny);
fp               4759 fs/nfsd/nfs4state.c 		fp->fi_share_deny |=
fp               4762 fs/nfsd/nfs4state.c 	spin_unlock(&fp->fi_lock);
fp               4806 fs/nfsd/nfs4state.c 		    struct nfs4_file *fp, struct nfs4_clnt_odstate *odstate)
fp               4818 fs/nfsd/nfs4state.c 	if (fp->fi_had_conflict)
fp               4821 fs/nfsd/nfs4state.c 	nf = find_readable_file(fp);
fp               4828 fs/nfsd/nfs4state.c 	spin_lock(&fp->fi_lock);
fp               4829 fs/nfsd/nfs4state.c 	if (nfs4_delegation_exists(clp, fp))
fp               4831 fs/nfsd/nfs4state.c 	else if (!fp->fi_deleg_file) {
fp               4832 fs/nfsd/nfs4state.c 		fp->fi_deleg_file = nf;
fp               4835 fs/nfsd/nfs4state.c 		fp->fi_delegees = 1;
fp               4838 fs/nfsd/nfs4state.c 		fp->fi_delegees++;
fp               4839 fs/nfsd/nfs4state.c 	spin_unlock(&fp->fi_lock);
fp               4847 fs/nfsd/nfs4state.c 	dp = alloc_init_deleg(clp, fp, fh, odstate);
fp               4855 fs/nfsd/nfs4state.c 	status = vfs_setlease(fp->fi_deleg_file->nf_file, fl->fl_type, &fl, NULL);
fp               4862 fs/nfsd/nfs4state.c 	spin_lock(&fp->fi_lock);
fp               4863 fs/nfsd/nfs4state.c 	if (fp->fi_had_conflict)
fp               4866 fs/nfsd/nfs4state.c 		status = hash_delegation_locked(dp, fp);
fp               4867 fs/nfsd/nfs4state.c 	spin_unlock(&fp->fi_lock);
fp               4875 fs/nfsd/nfs4state.c 	vfs_setlease(fp->fi_deleg_file->nf_file, F_UNLCK, NULL, (void **)&dp);
fp               4880 fs/nfsd/nfs4state.c 	put_deleg_file(fp);
fp               5004 fs/nfsd/nfs4state.c 	struct nfs4_file *fp = NULL;
fp               5015 fs/nfsd/nfs4state.c 	fp = find_or_add_file(open->op_file, &current_fh->fh_handle);
fp               5016 fs/nfsd/nfs4state.c 	if (fp != open->op_file) {
fp               5020 fs/nfsd/nfs4state.c 		stp = nfsd4_find_and_lock_existing_open(fp, open);
fp               5029 fs/nfsd/nfs4state.c 		stp = init_open_stateid(fp, open);
fp               5042 fs/nfsd/nfs4state.c 		status = nfs4_upgrade_open(rqstp, fp, current_fh, stp, open);
fp               5048 fs/nfsd/nfs4state.c 		status = nfs4_get_vfs_file(rqstp, fp, current_fh, stp, open);
fp               5056 fs/nfsd/nfs4state.c 		stp->st_clnt_odstate = find_or_hash_clnt_odstate(fp,
fp               5089 fs/nfsd/nfs4state.c 	if (fp)
fp               5090 fs/nfsd/nfs4state.c 		put_nfs4_file(fp);
fp               6252 fs/nfsd/nfs4state.c find_lock_stateid(struct nfs4_lockowner *lo, struct nfs4_file *fp)
fp               6262 fs/nfsd/nfs4state.c 		if (lst->st_stid.sc_file == fp) {
fp               6272 fs/nfsd/nfs4state.c 		  struct nfs4_file *fp, struct inode *inode,
fp               6282 fs/nfsd/nfs4state.c 	spin_lock(&fp->fi_lock);
fp               6283 fs/nfsd/nfs4state.c 	retstp = find_lock_stateid(lo, fp);
fp               6290 fs/nfsd/nfs4state.c 	get_nfs4_file(fp);
fp               6291 fs/nfsd/nfs4state.c 	stp->st_stid.sc_file = fp;
fp               6297 fs/nfsd/nfs4state.c 	list_add(&stp->st_perfile, &fp->fi_stateids);
fp               6299 fs/nfsd/nfs4state.c 	spin_unlock(&fp->fi_lock);
fp               6354 fs/nfsd/nfs4state.c 	struct nfs4_file *fp = lock_stp->st_stid.sc_file;
fp               6356 fs/nfsd/nfs4state.c 	lockdep_assert_held(&fp->fi_lock);
fp               6360 fs/nfsd/nfs4state.c 	__nfs4_file_get_access(fp, access);
fp               6418 fs/nfsd/nfs4state.c 	struct nfs4_file *fp;
fp               6493 fs/nfsd/nfs4state.c 	fp = lock_stp->st_stid.sc_file;
fp               6500 fs/nfsd/nfs4state.c 			spin_lock(&fp->fi_lock);
fp               6501 fs/nfsd/nfs4state.c 			nf = find_readable_file_locked(fp);
fp               6504 fs/nfsd/nfs4state.c 			spin_unlock(&fp->fi_lock);
fp               6512 fs/nfsd/nfs4state.c 			spin_lock(&fp->fi_lock);
fp               6513 fs/nfsd/nfs4state.c 			nf = find_writeable_file_locked(fp);
fp               6516 fs/nfsd/nfs4state.c 			spin_unlock(&fp->fi_lock);
fp               6529 fs/nfsd/nfs4state.c 	nbl = find_or_allocate_block(lock_sop, &fp->fi_fhandle, nn);
fp               6795 fs/nfsd/nfs4state.c check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner)
fp               6799 fs/nfsd/nfs4state.c 	struct nfsd_file *nf = find_any_file(fp);
fp                 74 fs/nfsd/pnfs.h 		struct nfs4_file *fp);
fp                 89 fs/nfsd/pnfs.h 		struct nfs4_file *fp)
fp               1889 fs/ocfs2/alloc.c 	struct find_path_data *fp = data;
fp               1892 fs/ocfs2/alloc.c 	ocfs2_path_insert_eb(fp->path, fp->index, bh);
fp               1893 fs/ocfs2/alloc.c 	fp->index++;
fp                122 fs/ocfs2/dlmfs/dlmfs.c 	struct dlmfs_filp_private *fp = NULL;
fp                139 fs/ocfs2/dlmfs/dlmfs.c 	fp = kmalloc(sizeof(*fp), GFP_NOFS);
fp                140 fs/ocfs2/dlmfs/dlmfs.c 	if (!fp) {
fp                144 fs/ocfs2/dlmfs/dlmfs.c 	fp->fp_lock_level = level;
fp                156 fs/ocfs2/dlmfs/dlmfs.c 		kfree(fp);
fp                160 fs/ocfs2/dlmfs/dlmfs.c 	file->private_data = fp;
fp                170 fs/ocfs2/dlmfs/dlmfs.c 	struct dlmfs_filp_private *fp = file->private_data;
fp                177 fs/ocfs2/dlmfs/dlmfs.c 	if (fp) {
fp                178 fs/ocfs2/dlmfs/dlmfs.c 		level = fp->fp_lock_level;
fp                182 fs/ocfs2/dlmfs/dlmfs.c 		kfree(fp);
fp                596 fs/ocfs2/dlmglue.c 	struct ocfs2_file_private *fp = lockres->l_priv;
fp                598 fs/ocfs2/dlmglue.c 	return OCFS2_SB(fp->fp_file->f_mapping->host->i_sb);
fp                725 fs/ocfs2/dlmglue.c 			      struct ocfs2_file_private *fp)
fp                727 fs/ocfs2/dlmglue.c 	struct inode *inode = fp->fp_file->f_mapping->host;
fp                735 fs/ocfs2/dlmglue.c 				   fp);
fp               1973 fs/ocfs2/dlmglue.c 	struct ocfs2_file_private *fp = file->private_data;
fp               1974 fs/ocfs2/dlmglue.c 	struct ocfs2_lock_res *lockres = &fp->fp_flock;
fp               2069 fs/ocfs2/dlmglue.c 	struct ocfs2_file_private *fp = file->private_data;
fp               2070 fs/ocfs2/dlmglue.c 	struct ocfs2_lock_res *lockres = &fp->fp_flock;
fp                118 fs/ocfs2/dlmglue.h 			      struct ocfs2_file_private *fp);
fp                 56 fs/ocfs2/file.c 	struct ocfs2_file_private *fp;
fp                 58 fs/ocfs2/file.c 	fp = kzalloc(sizeof(struct ocfs2_file_private), GFP_KERNEL);
fp                 59 fs/ocfs2/file.c 	if (!fp)
fp                 62 fs/ocfs2/file.c 	fp->fp_file = file;
fp                 63 fs/ocfs2/file.c 	mutex_init(&fp->fp_mutex);
fp                 64 fs/ocfs2/file.c 	ocfs2_file_lock_res_init(&fp->fp_flock, fp);
fp                 65 fs/ocfs2/file.c 	file->private_data = fp;
fp                 72 fs/ocfs2/file.c 	struct ocfs2_file_private *fp = file->private_data;
fp                 75 fs/ocfs2/file.c 	if (fp) {
fp                 76 fs/ocfs2/file.c 		ocfs2_simple_drop_lockres(osb, &fp->fp_flock);
fp                 77 fs/ocfs2/file.c 		ocfs2_lock_res_free(&fp->fp_flock);
fp                 78 fs/ocfs2/file.c 		kfree(fp);
fp                 28 fs/ocfs2/locks.c 	struct ocfs2_file_private *fp = file->private_data;
fp                 29 fs/ocfs2/locks.c 	struct ocfs2_lock_res *lockres = &fp->fp_flock;
fp                 36 fs/ocfs2/locks.c 	mutex_lock(&fp->fp_mutex);
fp                 78 fs/ocfs2/locks.c 	mutex_unlock(&fp->fp_mutex);
fp                 86 fs/ocfs2/locks.c 	struct ocfs2_file_private *fp = file->private_data;
fp                 88 fs/ocfs2/locks.c 	mutex_lock(&fp->fp_mutex);
fp                 91 fs/ocfs2/locks.c 	mutex_unlock(&fp->fp_mutex);
fp                483 include/linux/bpf.h bool bpf_prog_array_compatible(struct bpf_array *array, const struct bpf_prog *fp);
fp                484 include/linux/bpf.h int bpf_prog_calc_tag(struct bpf_prog *fp);
fp                712 include/linux/bpf.h int bpf_check(struct bpf_prog **fp, union bpf_attr *attr,
fp                192 include/linux/cdrom.h 	__u8 fp			: 1;
fp                209 include/linux/cdrom.h 	__u8 fp			: 1;
fp                771 include/linux/filter.h static inline void bpf_prog_lock_ro(struct bpf_prog *fp)
fp                774 include/linux/filter.h 	if (!fp->jited) {
fp                775 include/linux/filter.h 		set_vm_flush_reset_perms(fp);
fp                776 include/linux/filter.h 		set_memory_ro((unsigned long)fp, fp->pages);
fp                789 include/linux/filter.h bpf_jit_binary_hdr(const struct bpf_prog *fp)
fp                791 include/linux/filter.h 	unsigned long real_start = (unsigned long)fp->bpf_func;
fp                803 include/linux/filter.h struct bpf_prog *bpf_prog_select_runtime(struct bpf_prog *fp, int *err);
fp                804 include/linux/filter.h void bpf_prog_free(struct bpf_prog *fp);
fp                819 include/linux/filter.h void __bpf_prog_free(struct bpf_prog *fp);
fp                821 include/linux/filter.h static inline void bpf_prog_unlock_free(struct bpf_prog *fp)
fp                823 include/linux/filter.h 	__bpf_prog_free(fp);
fp                832 include/linux/filter.h void bpf_prog_destroy(struct bpf_prog *fp);
fp                843 include/linux/filter.h bool sk_filter_charge(struct sock *sk, struct sk_filter *fp);
fp                844 include/linux/filter.h void sk_filter_uncharge(struct sock *sk, struct sk_filter *fp);
fp                951 include/linux/filter.h void bpf_jit_free(struct bpf_prog *fp);
fp                957 include/linux/filter.h struct bpf_prog *bpf_jit_blind_constants(struct bpf_prog *fp);
fp                958 include/linux/filter.h void bpf_jit_prog_release_other(struct bpf_prog *fp, struct bpf_prog *fp_other);
fp                985 include/linux/filter.h static inline bool bpf_prog_ebpf_jited(const struct bpf_prog *fp)
fp                987 include/linux/filter.h 	return fp->jited && bpf_jit_is_ebpf();
fp               1040 include/linux/filter.h void bpf_prog_kallsyms_add(struct bpf_prog *fp);
fp               1041 include/linux/filter.h void bpf_prog_kallsyms_del(struct bpf_prog *fp);
fp               1051 include/linux/filter.h static inline bool bpf_prog_ebpf_jited(const struct bpf_prog *fp)
fp               1056 include/linux/filter.h static inline void bpf_jit_free(struct bpf_prog *fp)
fp               1058 include/linux/filter.h 	bpf_prog_unlock_free(fp);
fp               1091 include/linux/filter.h static inline void bpf_prog_kallsyms_add(struct bpf_prog *fp)
fp               1095 include/linux/filter.h static inline void bpf_prog_kallsyms_del(struct bpf_prog *fp)
fp               1106 include/linux/filter.h void bpf_prog_kallsyms_del_all(struct bpf_prog *fp);
fp                766 include/linux/ftrace.h 	unsigned long fp;
fp                163 include/linux/kprobes.h 	void *fp;
fp                 31 include/linux/pktcdvd.h 	__u8			fp;		/* fixed packets */
fp                204 include/linux/tty_ldisc.h 			       char *fp, int count);
fp                208 include/linux/tty_ldisc.h 				char *fp, int count);
fp                 11 include/net/af_unix.h void unix_inflight(struct user_struct *user, struct file *fp);
fp                 12 include/net/af_unix.h void unix_notinflight(struct user_struct *user, struct file *fp);
fp                 37 include/net/af_unix.h 	struct scm_fp_list	*fp;		/* Passed files		*/
fp                 28 include/net/scm.h 	struct file		*fp[SCM_MAX_FD];
fp                 33 include/net/scm.h 	struct scm_fp_list	*fp;		/* Passed files		*/
fp                 74 include/net/scm.h 	if (scm->fp)
fp                117 include/net/scm.h 		if (test_bit(SOCK_PASSCRED, &sock->flags) || scm->fp)
fp                137 include/net/scm.h 	if (!scm->fp)
fp                 61 include/scsi/fc_encode.h static inline void fc_fill_fc_hdr(struct fc_frame *fp, enum fc_rctl r_ctl,
fp                 67 include/scsi/fc_encode.h 	fh = fc_frame_header_get(fp);
fp                 76 include/scsi/fc_encode.h static inline void fc_adisc_fill(struct fc_lport *lport, struct fc_frame *fp)
fp                 80 include/scsi/fc_encode.h 	adisc = fc_frame_payload_get(fp, sizeof(*adisc));
fp                 92 include/scsi/fc_encode.h static inline struct fc_ct_req *fc_ct_hdr_fill(const struct fc_frame *fp,
fp                101 include/scsi/fc_encode.h 	ct = fc_frame_payload_get(fp, ct_plen);
fp                120 include/scsi/fc_encode.h 		      u32 fc_id, struct fc_frame *fp,
fp                129 include/scsi/fc_encode.h 		ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_gid_ft),
fp                135 include/scsi/fc_encode.h 		ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_fid),
fp                142 include/scsi/fc_encode.h 		ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rft),
fp                149 include/scsi/fc_encode.h 		ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rff_id),
fp                160 include/scsi/fc_encode.h 		ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rn_id),
fp                168 include/scsi/fc_encode.h 		ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rspn) + len,
fp                178 include/scsi/fc_encode.h 		ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rsnn) + len,
fp                204 include/scsi/fc_encode.h 		      u32 fc_id, struct fc_frame *fp,
fp                230 include/scsi/fc_encode.h 		ct = fc_ct_hdr_fill(fp, op, len, FC_FST_MGMT,
fp                376 include/scsi/fc_encode.h 		ct = fc_ct_hdr_fill(fp, op, len, FC_FST_MGMT,
fp                467 include/scsi/fc_encode.h 		ct = fc_ct_hdr_fill(fp, op, len, FC_FST_MGMT,
fp                475 include/scsi/fc_encode.h 		ct = fc_ct_hdr_fill(fp, op, len, FC_FST_MGMT,
fp                498 include/scsi/fc_encode.h 		      u32 fc_id, struct fc_frame *fp,
fp                506 include/scsi/fc_encode.h 		rc = fc_ct_ms_fill(lport, fc_id, fp, op, r_ctl, fh_type);
fp                511 include/scsi/fc_encode.h 		rc = fc_ct_ns_fill(lport, fc_id, fp, op, r_ctl, fh_type);
fp                521 include/scsi/fc_encode.h static inline void fc_plogi_fill(struct fc_lport *lport, struct fc_frame *fp,
fp                528 include/scsi/fc_encode.h 	plogi = fc_frame_payload_get(fp, sizeof(*plogi));
fp                554 include/scsi/fc_encode.h static inline void fc_flogi_fill(struct fc_lport *lport, struct fc_frame *fp)
fp                560 include/scsi/fc_encode.h 	flogi = fc_frame_payload_get(fp, sizeof(*flogi));
fp                579 include/scsi/fc_encode.h static inline void fc_fdisc_fill(struct fc_lport *lport, struct fc_frame *fp)
fp                585 include/scsi/fc_encode.h 	fdisc = fc_frame_payload_get(fp, sizeof(*fdisc));
fp                602 include/scsi/fc_encode.h static inline void fc_logo_fill(struct fc_lport *lport, struct fc_frame *fp)
fp                606 include/scsi/fc_encode.h 	logo = fc_frame_payload_get(fp, sizeof(*logo));
fp                616 include/scsi/fc_encode.h static inline void fc_rtv_fill(struct fc_lport *lport, struct fc_frame *fp)
fp                620 include/scsi/fc_encode.h 	rtv = fc_frame_payload_get(fp, sizeof(*rtv));
fp                628 include/scsi/fc_encode.h static inline void fc_rec_fill(struct fc_lport *lport, struct fc_frame *fp)
fp                631 include/scsi/fc_encode.h 	struct fc_exch *ep = fc_seq_exch(fr_seq(fp));
fp                633 include/scsi/fc_encode.h 	rec = fc_frame_payload_get(fp, sizeof(*rec));
fp                644 include/scsi/fc_encode.h static inline void fc_prli_fill(struct fc_lport *lport, struct fc_frame *fp)
fp                651 include/scsi/fc_encode.h 	pp = fc_frame_payload_get(fp, sizeof(*pp));
fp                664 include/scsi/fc_encode.h static inline void fc_scr_fill(struct fc_lport *lport, struct fc_frame *fp)
fp                668 include/scsi/fc_encode.h 	scr = fc_frame_payload_get(fp, sizeof(*scr));
fp                679 include/scsi/fc_encode.h 		       struct fc_frame *fp, unsigned int op,
fp                684 include/scsi/fc_encode.h 		fc_adisc_fill(lport, fp);
fp                688 include/scsi/fc_encode.h 		fc_plogi_fill(lport, fp, ELS_PLOGI);
fp                692 include/scsi/fc_encode.h 		fc_flogi_fill(lport, fp);
fp                696 include/scsi/fc_encode.h 		fc_fdisc_fill(lport, fp);
fp                700 include/scsi/fc_encode.h 		fc_logo_fill(lport, fp);
fp                704 include/scsi/fc_encode.h 		fc_rtv_fill(lport, fp);
fp                708 include/scsi/fc_encode.h 		fc_rec_fill(lport, fp);
fp                712 include/scsi/fc_encode.h 		fc_prli_fill(lport, fp);
fp                716 include/scsi/fc_encode.h 		fc_scr_fill(lport, fp);
fp                 50 include/scsi/fc_frame.h #define fp_skb(fp)	(&((fp)->skb))
fp                 51 include/scsi/fc_frame.h #define fr_hdr(fp)	((fp)->skb.data)
fp                 52 include/scsi/fc_frame.h #define fr_len(fp)	((fp)->skb.len)
fp                 53 include/scsi/fc_frame.h #define fr_cb(fp)	((struct fcoe_rcv_info *)&((fp)->skb.cb[0]))
fp                 54 include/scsi/fc_frame.h #define fr_dev(fp)	(fr_cb(fp)->fr_dev)
fp                 55 include/scsi/fc_frame.h #define fr_seq(fp)	(fr_cb(fp)->fr_seq)
fp                 56 include/scsi/fc_frame.h #define fr_sof(fp)	(fr_cb(fp)->fr_sof)
fp                 57 include/scsi/fc_frame.h #define fr_eof(fp)	(fr_cb(fp)->fr_eof)
fp                 58 include/scsi/fc_frame.h #define fr_flags(fp)	(fr_cb(fp)->fr_flags)
fp                 59 include/scsi/fc_frame.h #define fr_encaps(fp)	(fr_cb(fp)->fr_encaps)
fp                 60 include/scsi/fc_frame.h #define fr_max_payload(fp)	(fr_cb(fp)->fr_max_payload)
fp                 61 include/scsi/fc_frame.h #define fr_fsp(fp)	(fr_cb(fp)->fr_fsp)
fp                 62 include/scsi/fc_frame.h #define fr_crc(fp)	(fr_cb(fp)->fr_crc)
fp                101 include/scsi/fc_frame.h static inline void fc_frame_init(struct fc_frame *fp)
fp                103 include/scsi/fc_frame.h 	fr_dev(fp) = NULL;
fp                104 include/scsi/fc_frame.h 	fr_seq(fp) = NULL;
fp                105 include/scsi/fc_frame.h 	fr_flags(fp) = 0;
fp                106 include/scsi/fc_frame.h 	fr_encaps(fp) = 0;
fp                118 include/scsi/fc_frame.h 	struct fc_frame *fp;
fp                125 include/scsi/fc_frame.h 		fp = fc_frame_alloc_fill(dev, len);
fp                127 include/scsi/fc_frame.h 		fp = _fc_frame_alloc(len);
fp                128 include/scsi/fc_frame.h 	return fp;
fp                134 include/scsi/fc_frame.h static inline void fc_frame_free(struct fc_frame *fp)
fp                136 include/scsi/fc_frame.h 	kfree_skb(fp_skb(fp));
fp                139 include/scsi/fc_frame.h static inline int fc_frame_is_linear(struct fc_frame *fp)
fp                141 include/scsi/fc_frame.h 	return !skb_is_nonlinear(fp_skb(fp));
fp                149 include/scsi/fc_frame.h struct fc_frame_header *__fc_frame_header_get(const struct fc_frame *fp)
fp                151 include/scsi/fc_frame.h 	return (struct fc_frame_header *)fr_hdr(fp);
fp                159 include/scsi/fc_frame.h struct fc_frame_header *fc_frame_header_get(const struct fc_frame *fp)
fp                161 include/scsi/fc_frame.h 	WARN_ON(fr_len(fp) < sizeof(struct fc_frame_header));
fp                162 include/scsi/fc_frame.h 	return __fc_frame_header_get(fp);
fp                168 include/scsi/fc_frame.h static inline u32 fc_frame_sid(const struct fc_frame *fp)
fp                170 include/scsi/fc_frame.h 	return ntoh24(__fc_frame_header_get(fp)->fh_s_id);
fp                176 include/scsi/fc_frame.h static inline u32 fc_frame_did(const struct fc_frame *fp)
fp                178 include/scsi/fc_frame.h 	return ntoh24(__fc_frame_header_get(fp)->fh_d_id);
fp                191 include/scsi/fc_frame.h static inline void *fc_frame_payload_get(const struct fc_frame *fp,
fp                196 include/scsi/fc_frame.h 	if (fr_len(fp) >= sizeof(struct fc_frame_header) + len)
fp                197 include/scsi/fc_frame.h 		pp = fc_frame_header_get(fp) + 1;
fp                206 include/scsi/fc_frame.h static inline u8 fc_frame_payload_op(const struct fc_frame *fp)
fp                210 include/scsi/fc_frame.h 	cp = fc_frame_payload_get(fp, sizeof(u8));
fp                220 include/scsi/fc_frame.h static inline enum fc_class fc_frame_class(const struct fc_frame *fp)
fp                222 include/scsi/fc_frame.h 	return fc_sof_class(fr_sof(fp));
fp                232 include/scsi/fc_frame.h static inline u8 fc_frame_rctl(const struct fc_frame *fp)
fp                234 include/scsi/fc_frame.h 	return fc_frame_header_get(fp)->fh_r_ctl;
fp                237 include/scsi/fc_frame.h static inline bool fc_frame_is_cmd(const struct fc_frame *fp)
fp                239 include/scsi/fc_frame.h 	return fc_frame_rctl(fp) == FC_RCTL_DD_UNSOL_CMD;
fp                900 include/scsi/libfc.h void fc_lport_recv(struct fc_lport *lport, struct fc_frame *fp);
fp                918 include/scsi/libfc.h void fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp);
fp                972 include/scsi/libfc.h 				struct fc_frame *fp,
fp                974 include/scsi/libfc.h 					     struct fc_frame *fp,
fp                984 include/scsi/libfc.h struct fc_seq *fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp);
fp                997 include/scsi/libfc.h int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp);
fp                255 include/scsi/libfcoe.h u32 fcoe_fc_crc(struct fc_frame *fp);
fp                 67 include/scsi/scsi_common.h int scsi_set_sense_field_pointer(u8 *buf, int buf_len, u16 fp, u8 bp, bool cd);
fp                869 include/uapi/linux/cdrom.h 	__u8 fp				: 1;
fp                880 include/uapi/linux/cdrom.h 	__u8 fp				: 1;
fp                149 include/uapi/linux/if_hippi.h 	struct hippi_fp_hdr	fp;
fp                 81 kernel/bpf/core.c 	struct bpf_prog *fp;
fp                 84 kernel/bpf/core.c 	fp = __vmalloc(size, gfp_flags, PAGE_KERNEL);
fp                 85 kernel/bpf/core.c 	if (fp == NULL)
fp                 90 kernel/bpf/core.c 		vfree(fp);
fp                 94 kernel/bpf/core.c 	fp->pages = size / PAGE_SIZE;
fp                 95 kernel/bpf/core.c 	fp->aux = aux;
fp                 96 kernel/bpf/core.c 	fp->aux->prog = fp;
fp                 97 kernel/bpf/core.c 	fp->jit_requested = ebpf_jit_enabled();
fp                 99 kernel/bpf/core.c 	INIT_LIST_HEAD_RCU(&fp->aux->ksym_lnode);
fp                101 kernel/bpf/core.c 	return fp;
fp                220 kernel/bpf/core.c 	struct bpf_prog *fp;
fp                236 kernel/bpf/core.c 	fp = __vmalloc(size, gfp_flags, PAGE_KERNEL);
fp                237 kernel/bpf/core.c 	if (fp == NULL) {
fp                240 kernel/bpf/core.c 		memcpy(fp, fp_old, fp_old->pages * PAGE_SIZE);
fp                241 kernel/bpf/core.c 		fp->pages = pages;
fp                242 kernel/bpf/core.c 		fp->aux->prog = fp;
fp                251 kernel/bpf/core.c 	return fp;
fp                254 kernel/bpf/core.c void __bpf_prog_free(struct bpf_prog *fp)
fp                256 kernel/bpf/core.c 	if (fp->aux) {
fp                257 kernel/bpf/core.c 		free_percpu(fp->aux->stats);
fp                258 kernel/bpf/core.c 		kfree(fp->aux);
fp                260 kernel/bpf/core.c 	vfree(fp);
fp                263 kernel/bpf/core.c int bpf_prog_calc_tag(struct bpf_prog *fp)
fp                266 kernel/bpf/core.c 	u32 raw_size = bpf_prog_tag_scratch_size(fp);
fp                287 kernel/bpf/core.c 	for (i = 0, was_ld_map = false; i < fp->len; i++) {
fp                288 kernel/bpf/core.c 		dst[i] = fp->insnsi[i];
fp                307 kernel/bpf/core.c 	psize = bpf_prog_insn_size(fp);
fp                330 kernel/bpf/core.c 	memcpy(fp->tag, result, sizeof(fp->tag));
fp                505 kernel/bpf/core.c static void bpf_prog_kallsyms_del_subprogs(struct bpf_prog *fp)
fp                509 kernel/bpf/core.c 	for (i = 0; i < fp->aux->func_cnt; i++)
fp                510 kernel/bpf/core.c 		bpf_prog_kallsyms_del(fp->aux->func[i]);
fp                513 kernel/bpf/core.c void bpf_prog_kallsyms_del_all(struct bpf_prog *fp)
fp                515 kernel/bpf/core.c 	bpf_prog_kallsyms_del_subprogs(fp);
fp                516 kernel/bpf/core.c 	bpf_prog_kallsyms_del(fp);
fp                635 kernel/bpf/core.c static bool bpf_prog_kallsyms_candidate(const struct bpf_prog *fp)
fp                637 kernel/bpf/core.c 	return fp->jited && !bpf_prog_was_classic(fp);
fp                640 kernel/bpf/core.c static bool bpf_prog_kallsyms_verify_off(const struct bpf_prog *fp)
fp                642 kernel/bpf/core.c 	return list_empty(&fp->aux->ksym_lnode) ||
fp                643 kernel/bpf/core.c 	       fp->aux->ksym_lnode.prev == LIST_POISON2;
fp                646 kernel/bpf/core.c void bpf_prog_kallsyms_add(struct bpf_prog *fp)
fp                648 kernel/bpf/core.c 	if (!bpf_prog_kallsyms_candidate(fp) ||
fp                653 kernel/bpf/core.c 	bpf_prog_ksym_node_add(fp->aux);
fp                657 kernel/bpf/core.c void bpf_prog_kallsyms_del(struct bpf_prog *fp)
fp                659 kernel/bpf/core.c 	if (!bpf_prog_kallsyms_candidate(fp))
fp                663 kernel/bpf/core.c 	bpf_prog_ksym_node_del(fp->aux);
fp                844 kernel/bpf/core.c void __weak bpf_jit_free(struct bpf_prog *fp)
fp                846 kernel/bpf/core.c 	if (fp->jited) {
fp                847 kernel/bpf/core.c 		struct bpf_binary_header *hdr = bpf_jit_binary_hdr(fp);
fp                851 kernel/bpf/core.c 		WARN_ON_ONCE(!bpf_prog_kallsyms_verify_off(fp));
fp                854 kernel/bpf/core.c 	bpf_prog_unlock_free(fp);
fp               1031 kernel/bpf/core.c 	struct bpf_prog *fp;
fp               1033 kernel/bpf/core.c 	fp = __vmalloc(fp_other->pages * PAGE_SIZE, gfp_flags, PAGE_KERNEL);
fp               1034 kernel/bpf/core.c 	if (fp != NULL) {
fp               1039 kernel/bpf/core.c 		memcpy(fp, fp_other, fp_other->pages * PAGE_SIZE);
fp               1042 kernel/bpf/core.c 	return fp;
fp               1045 kernel/bpf/core.c static void bpf_prog_clone_free(struct bpf_prog *fp)
fp               1054 kernel/bpf/core.c 	fp->aux = NULL;
fp               1055 kernel/bpf/core.c 	__bpf_prog_free(fp);
fp               1058 kernel/bpf/core.c void bpf_jit_prog_release_other(struct bpf_prog *fp, struct bpf_prog *fp_other)
fp               1063 kernel/bpf/core.c 	fp->aux->prog = fp;
fp               1650 kernel/bpf/core.c 			       const struct bpf_prog *fp)
fp               1652 kernel/bpf/core.c 	if (fp->kprobe_override)
fp               1659 kernel/bpf/core.c 		array->owner_prog_type = fp->type;
fp               1660 kernel/bpf/core.c 		array->owner_jited = fp->jited;
fp               1665 kernel/bpf/core.c 	return array->owner_prog_type == fp->type &&
fp               1666 kernel/bpf/core.c 	       array->owner_jited == fp->jited;
fp               1669 kernel/bpf/core.c static int bpf_check_tail_call(const struct bpf_prog *fp)
fp               1671 kernel/bpf/core.c 	struct bpf_prog_aux *aux = fp->aux;
fp               1682 kernel/bpf/core.c 		if (!bpf_prog_array_compatible(array, fp))
fp               1689 kernel/bpf/core.c static void bpf_prog_select_func(struct bpf_prog *fp)
fp               1692 kernel/bpf/core.c 	u32 stack_depth = max_t(u32, fp->aux->stack_depth, 1);
fp               1694 kernel/bpf/core.c 	fp->bpf_func = interpreters[(round_up(stack_depth, 32) / 32) - 1];
fp               1696 kernel/bpf/core.c 	fp->bpf_func = __bpf_prog_ret0_warn;
fp               1708 kernel/bpf/core.c struct bpf_prog *bpf_prog_select_runtime(struct bpf_prog *fp, int *err)
fp               1713 kernel/bpf/core.c 	if (fp->bpf_func)
fp               1716 kernel/bpf/core.c 	bpf_prog_select_func(fp);
fp               1724 kernel/bpf/core.c 	if (!bpf_prog_is_dev_bound(fp->aux)) {
fp               1725 kernel/bpf/core.c 		*err = bpf_prog_alloc_jited_linfo(fp);
fp               1727 kernel/bpf/core.c 			return fp;
fp               1729 kernel/bpf/core.c 		fp = bpf_int_jit_compile(fp);
fp               1730 kernel/bpf/core.c 		if (!fp->jited) {
fp               1731 kernel/bpf/core.c 			bpf_prog_free_jited_linfo(fp);
fp               1734 kernel/bpf/core.c 			return fp;
fp               1737 kernel/bpf/core.c 			bpf_prog_free_unused_jited_linfo(fp);
fp               1740 kernel/bpf/core.c 		*err = bpf_prog_offload_compile(fp);
fp               1742 kernel/bpf/core.c 			return fp;
fp               1746 kernel/bpf/core.c 	bpf_prog_lock_ro(fp);
fp               1753 kernel/bpf/core.c 	*err = bpf_check_tail_call(fp);
fp               1755 kernel/bpf/core.c 	return fp;
fp               1990 kernel/bpf/core.c void bpf_prog_free(struct bpf_prog *fp)
fp               1992 kernel/bpf/core.c 	struct bpf_prog_aux *aux = fp->aux;
fp                 20 kernel/time/posix-clock.c static struct posix_clock *get_posix_clock(struct file *fp)
fp                 22 kernel/time/posix-clock.c 	struct posix_clock *clk = fp->private_data;
fp                 39 kernel/time/posix-clock.c static ssize_t posix_clock_read(struct file *fp, char __user *buf,
fp                 42 kernel/time/posix-clock.c 	struct posix_clock *clk = get_posix_clock(fp);
fp                 49 kernel/time/posix-clock.c 		err = clk->ops.read(clk, fp->f_flags, buf, count);
fp                 56 kernel/time/posix-clock.c static __poll_t posix_clock_poll(struct file *fp, poll_table *wait)
fp                 58 kernel/time/posix-clock.c 	struct posix_clock *clk = get_posix_clock(fp);
fp                 65 kernel/time/posix-clock.c 		result = clk->ops.poll(clk, fp, wait);
fp                 72 kernel/time/posix-clock.c static long posix_clock_ioctl(struct file *fp,
fp                 75 kernel/time/posix-clock.c 	struct posix_clock *clk = get_posix_clock(fp);
fp                 90 kernel/time/posix-clock.c static long posix_clock_compat_ioctl(struct file *fp,
fp                 93 kernel/time/posix-clock.c 	struct posix_clock *clk = get_posix_clock(fp);
fp                108 kernel/time/posix-clock.c static int posix_clock_open(struct inode *inode, struct file *fp)
fp                121 kernel/time/posix-clock.c 		err = clk->ops.open(clk, fp->f_mode);
fp                127 kernel/time/posix-clock.c 		fp->private_data = clk;
fp                134 kernel/time/posix-clock.c static int posix_clock_release(struct inode *inode, struct file *fp)
fp                136 kernel/time/posix-clock.c 	struct posix_clock *clk = fp->private_data;
fp                144 kernel/time/posix-clock.c 	fp->private_data = NULL;
fp                195 kernel/time/posix-clock.c 	struct file *fp;
fp                201 kernel/time/posix-clock.c 	struct file *fp = fget(clockid_to_fd(id));
fp                204 kernel/time/posix-clock.c 	if (!fp)
fp                207 kernel/time/posix-clock.c 	if (fp->f_op->open != posix_clock_open || !fp->private_data)
fp                210 kernel/time/posix-clock.c 	cd->fp = fp;
fp                211 kernel/time/posix-clock.c 	cd->clk = get_posix_clock(fp);
fp                216 kernel/time/posix-clock.c 		fput(fp);
fp                223 kernel/time/posix-clock.c 	fput(cd->fp);
fp                235 kernel/time/posix-clock.c 	if ((cd.fp->f_mode & FMODE_WRITE) == 0) {
fp                297 kernel/time/posix-clock.c 	if ((cd.fp->f_mode & FMODE_WRITE) == 0) {
fp                 91 kernel/trace/fgraph.c 	current->ret_stack[index].fp = frame_pointer;
fp                154 kernel/trace/fgraph.c 	if (unlikely(current->ret_stack[index].fp != frame_pointer)) {
fp                158 kernel/trace/fgraph.c 		     current->ret_stack[index].fp,
fp               6556 lib/test_bpf.c 	struct sock_filter *fp;
fp               6562 lib/test_bpf.c 	fp = tests[which].u.insns;
fp               6564 lib/test_bpf.c 		if (fp[len].code != 0 || fp[len].k != 0)
fp               6584 lib/test_bpf.c 	struct bpf_prog *fp;
fp               6591 lib/test_bpf.c 		*err = bpf_prog_create(&fp, &fprog);
fp               6615 lib/test_bpf.c 		fp = bpf_prog_alloc(bpf_prog_size(flen), 0);
fp               6616 lib/test_bpf.c 		if (fp == NULL) {
fp               6622 lib/test_bpf.c 		fp->len = flen;
fp               6624 lib/test_bpf.c 		fp->type = BPF_PROG_TYPE_SOCKET_FILTER;
fp               6625 lib/test_bpf.c 		memcpy(fp->insnsi, fptr, fp->len * sizeof(struct bpf_insn));
fp               6626 lib/test_bpf.c 		fp->aux->stack_depth = tests[which].stack_depth;
fp               6631 lib/test_bpf.c 		fp = bpf_prog_select_runtime(fp, err);
fp               6640 lib/test_bpf.c 	return fp;
fp               6643 lib/test_bpf.c static void release_filter(struct bpf_prog *fp, int which)
fp               6649 lib/test_bpf.c 		bpf_prog_destroy(fp);
fp               6652 lib/test_bpf.c 		bpf_prog_free(fp);
fp               6657 lib/test_bpf.c static int __run_one(const struct bpf_prog *fp, const void *data,
fp               6667 lib/test_bpf.c 		ret = BPF_PROG_RUN(fp, data);
fp               6678 lib/test_bpf.c static int run_one(const struct bpf_prog *fp, struct bpf_test *test)
fp               6697 lib/test_bpf.c 		ret = __run_one(fp, data, runs, &duration);
fp               6896 lib/test_bpf.c 		struct bpf_prog *fp;
fp               6905 lib/test_bpf.c 		fp = generate_filter(i, &err);
fp               6906 lib/test_bpf.c 		if (fp == NULL) {
fp               6915 lib/test_bpf.c 		pr_cont("jited:%u ", fp->jited);
fp               6918 lib/test_bpf.c 		if (fp->jited)
fp               6921 lib/test_bpf.c 		err = run_one(fp, &tests[i]);
fp               6922 lib/test_bpf.c 		release_filter(fp, i);
fp                301 mm/slub.c      static inline void set_freepointer(struct kmem_cache *s, void *object, void *fp)
fp                306 mm/slub.c      	BUG_ON(object == fp); /* naive detection of double free or corruption */
fp                309 mm/slub.c      	*(void **)freeptr_addr = freelist_ptr(s, fp, freeptr_addr);
fp                944 mm/slub.c      	void *fp;
fp                948 mm/slub.c      	fp = page->freelist;
fp                949 mm/slub.c      	while (fp && nr <= page->objects) {
fp                950 mm/slub.c      		if (fp == search)
fp                952 mm/slub.c      		if (!check_valid_pointer(s, page, fp)) {
fp                966 mm/slub.c      		object = fp;
fp                967 mm/slub.c      		fp = get_freepointer(s, object);
fp               2316 mm/vmscan.c    	unsigned long ap, fp;
fp               2449 mm/vmscan.c    	fp = file_prio * (reclaim_stat->recent_scanned[1] + 1);
fp               2450 mm/vmscan.c    	fp /= reclaim_stat->recent_rotated[1] + 1;
fp               2454 mm/vmscan.c    	fraction[1] = fp;
fp               2455 mm/vmscan.c    	denominator = ap + fp + 1;
fp                123 net/6lowpan/debugfs.c static ssize_t lowpan_ctx_pfx_write(struct file *fp,
fp                128 net/6lowpan/debugfs.c 	struct seq_file *file = fp->private_data;
fp                 58 net/802/hippi.c 	hip->fp.fixed		= htonl(0x04800018);
fp                 59 net/802/hippi.c 	hip->fp.d2_size		= htonl(len + 8);
fp               1108 net/bluetooth/6lowpan.c static ssize_t lowpan_control_write(struct file *fp,
fp                 40 net/bridge/netfilter/ebt_vlan.c 		const struct vlan_hdr *fp;
fp                 43 net/bridge/netfilter/ebt_vlan.c 		fp = skb_header_pointer(skb, 0, sizeof(_frame), &_frame);
fp                 44 net/bridge/netfilter/ebt_vlan.c 		if (fp == NULL)
fp                 47 net/bridge/netfilter/ebt_vlan.c 		TCI = ntohs(fp->h_vlan_TCI);
fp                 48 net/bridge/netfilter/ebt_vlan.c 		encap = fp->h_vlan_encapsulated_proto;
fp                270 net/compat.c   	int fdnum = scm->fp->count;
fp                271 net/compat.c   	struct file **fp = scm->fp->fp;
fp                280 net/compat.c   		err = security_file_receive(fp[i]);
fp                294 net/compat.c   		fd_install(new_fd, get_file(fp[i]));
fp                317 net/core/filter.c static bool convert_bpf_extensions(struct sock_filter *fp,
fp                323 net/core/filter.c 	switch (fp->k) {
fp                350 net/core/filter.c 		if (fp->k == SKF_AD_OFF + SKF_AD_IFINDEX)
fp                409 net/core/filter.c 		switch (fp->k) {
fp                447 net/core/filter.c static bool convert_bpf_ld_abs(struct sock_filter *fp, struct bpf_insn **insnp)
fp                450 net/core/filter.c 	int size = bpf_size_to_bytes(BPF_SIZE(fp->code));
fp                451 net/core/filter.c 	bool endian = BPF_SIZE(fp->code) == BPF_H ||
fp                452 net/core/filter.c 		      BPF_SIZE(fp->code) == BPF_W;
fp                453 net/core/filter.c 	bool indirect = BPF_MODE(fp->code) == BPF_IND;
fp                456 net/core/filter.c 	int offset = fp->k;
fp                471 net/core/filter.c 			*insn++ = BPF_LDX_MEM(BPF_SIZE(fp->code), BPF_REG_A,
fp                476 net/core/filter.c 			*insn++ = BPF_LDX_MEM(BPF_SIZE(fp->code), BPF_REG_A,
fp                491 net/core/filter.c 		if (fp->k)
fp                495 net/core/filter.c 	switch (BPF_SIZE(fp->code)) {
fp                542 net/core/filter.c 	struct sock_filter *fp;
fp                562 net/core/filter.c 	fp = prog;
fp                596 net/core/filter.c 	for (i = 0; i < len; fp++, i++) {
fp                603 net/core/filter.c 		switch (fp->code) {
fp                636 net/core/filter.c 			if (BPF_CLASS(fp->code) == BPF_LD &&
fp                637 net/core/filter.c 			    BPF_MODE(fp->code) == BPF_ABS &&
fp                638 net/core/filter.c 			    convert_bpf_extensions(fp, &insn))
fp                640 net/core/filter.c 			if (BPF_CLASS(fp->code) == BPF_LD &&
fp                641 net/core/filter.c 			    convert_bpf_ld_abs(fp, &insn)) {
fp                646 net/core/filter.c 			if (fp->code == (BPF_ALU | BPF_DIV | BPF_X) ||
fp                647 net/core/filter.c 			    fp->code == (BPF_ALU | BPF_MOD | BPF_X)) {
fp                657 net/core/filter.c 			*insn = BPF_RAW_INSN(fp->code, BPF_REG_A, BPF_REG_X, 0, fp->k);
fp                683 net/core/filter.c 			target = i + fp->k + 1;
fp                684 net/core/filter.c 			insn->code = fp->code;
fp                696 net/core/filter.c 			if (BPF_SRC(fp->code) == BPF_K && (int) fp->k < 0) {
fp                701 net/core/filter.c 				*insn++ = BPF_MOV32_IMM(BPF_REG_TMP, fp->k);
fp                708 net/core/filter.c 				insn->imm = fp->k;
fp                709 net/core/filter.c 				bpf_src = BPF_SRC(fp->code);
fp                714 net/core/filter.c 			if (fp->jf == 0) {
fp                715 net/core/filter.c 				insn->code = BPF_JMP | BPF_OP(fp->code) | bpf_src;
fp                716 net/core/filter.c 				target = i + fp->jt + 1;
fp                722 net/core/filter.c 			if (fp->jt == 0) {
fp                723 net/core/filter.c 				switch (BPF_OP(fp->code)) {
fp                737 net/core/filter.c 				target = i + fp->jf + 1;
fp                743 net/core/filter.c 			target = i + fp->jt + 1;
fp                744 net/core/filter.c 			insn->code = BPF_JMP | BPF_OP(fp->code) | bpf_src;
fp                749 net/core/filter.c 			target = i + fp->jf + 1;
fp                757 net/core/filter.c 				.k	= fp->k,
fp                784 net/core/filter.c 			if (BPF_RVAL(fp->code) == BPF_K)
fp                786 net/core/filter.c 							0, fp->k);
fp                793 net/core/filter.c 			stack_off = fp->k * 4  + 4;
fp                794 net/core/filter.c 			*insn = BPF_STX_MEM(BPF_W, BPF_REG_FP, BPF_CLASS(fp->code) ==
fp                808 net/core/filter.c 			stack_off = fp->k * 4  + 4;
fp                809 net/core/filter.c 			*insn = BPF_LDX_MEM(BPF_W, BPF_CLASS(fp->code) == BPF_LD  ?
fp                817 net/core/filter.c 			*insn = BPF_MOV32_IMM(BPF_CLASS(fp->code) == BPF_LD ?
fp                818 net/core/filter.c 					      BPF_REG_A : BPF_REG_X, fp->k);
fp                834 net/core/filter.c 			*insn = BPF_LDX_MEM(BPF_W, BPF_CLASS(fp->code) == BPF_LD ?
fp                842 net/core/filter.c 			*insn = BPF_LDX_MEM(BPF_W, BPF_REG_A, BPF_REG_CTX, fp->k);
fp               1110 net/core/filter.c static int bpf_prog_store_orig_filter(struct bpf_prog *fp,
fp               1116 net/core/filter.c 	fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL);
fp               1117 net/core/filter.c 	if (!fp->orig_prog)
fp               1120 net/core/filter.c 	fkprog = fp->orig_prog;
fp               1123 net/core/filter.c 	fkprog->filter = kmemdup(fp->insns, fsize,
fp               1126 net/core/filter.c 		kfree(fp->orig_prog);
fp               1133 net/core/filter.c static void bpf_release_orig_filter(struct bpf_prog *fp)
fp               1135 net/core/filter.c 	struct sock_fprog_kern *fprog = fp->orig_prog;
fp               1153 net/core/filter.c static void __sk_filter_release(struct sk_filter *fp)
fp               1155 net/core/filter.c 	__bpf_prog_release(fp->prog);
fp               1156 net/core/filter.c 	kfree(fp);
fp               1165 net/core/filter.c 	struct sk_filter *fp = container_of(rcu, struct sk_filter, rcu);
fp               1167 net/core/filter.c 	__sk_filter_release(fp);
fp               1176 net/core/filter.c static void sk_filter_release(struct sk_filter *fp)
fp               1178 net/core/filter.c 	if (refcount_dec_and_test(&fp->refcnt))
fp               1179 net/core/filter.c 		call_rcu(&fp->rcu, sk_filter_release_rcu);
fp               1182 net/core/filter.c void sk_filter_uncharge(struct sock *sk, struct sk_filter *fp)
fp               1184 net/core/filter.c 	u32 filter_size = bpf_prog_size(fp->prog->len);
fp               1187 net/core/filter.c 	sk_filter_release(fp);
fp               1193 net/core/filter.c static bool __sk_filter_charge(struct sock *sk, struct sk_filter *fp)
fp               1195 net/core/filter.c 	u32 filter_size = bpf_prog_size(fp->prog->len);
fp               1206 net/core/filter.c bool sk_filter_charge(struct sock *sk, struct sk_filter *fp)
fp               1208 net/core/filter.c 	if (!refcount_inc_not_zero(&fp->refcnt))
fp               1211 net/core/filter.c 	if (!__sk_filter_charge(sk, fp)) {
fp               1212 net/core/filter.c 		sk_filter_release(fp);
fp               1218 net/core/filter.c static struct bpf_prog *bpf_migrate_filter(struct bpf_prog *fp)
fp               1222 net/core/filter.c 	int err, new_len, old_len = fp->len;
fp               1237 net/core/filter.c 	old_prog = kmemdup(fp->insns, old_len * sizeof(struct sock_filter),
fp               1251 net/core/filter.c 	old_fp = fp;
fp               1252 net/core/filter.c 	fp = bpf_prog_realloc(old_fp, bpf_prog_size(new_len), 0);
fp               1253 net/core/filter.c 	if (!fp) {
fp               1257 net/core/filter.c 		fp = old_fp;
fp               1262 net/core/filter.c 	fp->len = new_len;
fp               1265 net/core/filter.c 	err = bpf_convert_filter(old_prog, old_len, fp, &new_len,
fp               1275 net/core/filter.c 	fp = bpf_prog_select_runtime(fp, &err);
fp               1280 net/core/filter.c 	return fp;
fp               1285 net/core/filter.c 	__bpf_prog_release(fp);
fp               1289 net/core/filter.c static struct bpf_prog *bpf_prepare_filter(struct bpf_prog *fp,
fp               1294 net/core/filter.c 	fp->bpf_func = NULL;
fp               1295 net/core/filter.c 	fp->jited = 0;
fp               1297 net/core/filter.c 	err = bpf_check_classic(fp->insns, fp->len);
fp               1299 net/core/filter.c 		__bpf_prog_release(fp);
fp               1307 net/core/filter.c 		err = trans(fp->insns, fp->len);
fp               1309 net/core/filter.c 			__bpf_prog_release(fp);
fp               1317 net/core/filter.c 	bpf_jit_compile(fp);
fp               1322 net/core/filter.c 	if (!fp->jited)
fp               1323 net/core/filter.c 		fp = bpf_migrate_filter(fp);
fp               1325 net/core/filter.c 	return fp;
fp               1341 net/core/filter.c 	struct bpf_prog *fp;
fp               1347 net/core/filter.c 	fp = bpf_prog_alloc(bpf_prog_size(fprog->len), 0);
fp               1348 net/core/filter.c 	if (!fp)
fp               1351 net/core/filter.c 	memcpy(fp->insns, fprog->filter, fsize);
fp               1353 net/core/filter.c 	fp->len = fprog->len;
fp               1358 net/core/filter.c 	fp->orig_prog = NULL;
fp               1363 net/core/filter.c 	fp = bpf_prepare_filter(fp, NULL);
fp               1364 net/core/filter.c 	if (IS_ERR(fp))
fp               1365 net/core/filter.c 		return PTR_ERR(fp);
fp               1367 net/core/filter.c 	*pfp = fp;
fp               1387 net/core/filter.c 	struct bpf_prog *fp;
fp               1394 net/core/filter.c 	fp = bpf_prog_alloc(bpf_prog_size(fprog->len), 0);
fp               1395 net/core/filter.c 	if (!fp)
fp               1398 net/core/filter.c 	if (copy_from_user(fp->insns, fprog->filter, fsize)) {
fp               1399 net/core/filter.c 		__bpf_prog_free(fp);
fp               1403 net/core/filter.c 	fp->len = fprog->len;
fp               1404 net/core/filter.c 	fp->orig_prog = NULL;
fp               1407 net/core/filter.c 		err = bpf_prog_store_orig_filter(fp, fprog);
fp               1409 net/core/filter.c 			__bpf_prog_free(fp);
fp               1417 net/core/filter.c 	fp = bpf_prepare_filter(fp, trans);
fp               1418 net/core/filter.c 	if (IS_ERR(fp))
fp               1419 net/core/filter.c 		return PTR_ERR(fp);
fp               1421 net/core/filter.c 	*pfp = fp;
fp               1426 net/core/filter.c void bpf_prog_destroy(struct bpf_prog *fp)
fp               1428 net/core/filter.c 	__bpf_prog_release(fp);
fp               1434 net/core/filter.c 	struct sk_filter *fp, *old_fp;
fp               1436 net/core/filter.c 	fp = kmalloc(sizeof(*fp), GFP_KERNEL);
fp               1437 net/core/filter.c 	if (!fp)
fp               1440 net/core/filter.c 	fp->prog = prog;
fp               1442 net/core/filter.c 	if (!__sk_filter_charge(sk, fp)) {
fp               1443 net/core/filter.c 		kfree(fp);
fp               1446 net/core/filter.c 	refcount_set(&fp->refcnt, 1);
fp               1450 net/core/filter.c 	rcu_assign_pointer(sk->sk_filter, fp);
fp                 90 net/core/scm.c 	fpp = &fpl->fp[fpl->count];
fp                118 net/core/scm.c 	struct scm_fp_list *fpl = scm->fp;
fp                122 net/core/scm.c 		scm->fp = NULL;
fp                124 net/core/scm.c 			fput(fpl->fp[i]);
fp                158 net/core/scm.c 			err=scm_fp_copy(cmsg, &p->fp);
fp                200 net/core/scm.c 	if (p->fp && !p->fp->count)
fp                202 net/core/scm.c 		kfree(p->fp);
fp                203 net/core/scm.c 		p->fp = NULL;
fp                284 net/core/scm.c 	int fdnum = scm->fp->count;
fp                285 net/core/scm.c 	struct file **fp = scm->fp->fp;
fp                306 net/core/scm.c 		err = security_file_receive(fp[i]);
fp                320 net/core/scm.c 		sock = sock_from_file(fp[i], &err);
fp                325 net/core/scm.c 		fd_install(new_fd, get_file(fp[i]));
fp                363 net/core/scm.c 	new_fpl = kmemdup(fpl, offsetof(struct scm_fp_list, fp[fpl->count]),
fp                367 net/core/scm.c 			get_file(fpl->fp[i]);
fp                 73 net/decnet/dn_table.c #define DN_FIB_SCAN(f, fp) \
fp                 74 net/decnet/dn_table.c for( ; ((f) = *(fp)) != NULL; (fp) = &(f)->fn_next)
fp                 76 net/decnet/dn_table.c #define DN_FIB_SCAN_KEY(f, fp, key) \
fp                 77 net/decnet/dn_table.c for( ; ((f) = *(fp)) != NULL && dn_key_eq((f)->fn_key, (key)); (fp) = &(f)->fn_next)
fp                127 net/decnet/dn_table.c 	struct dn_fib_node *f, **fp, *next;
fp                133 net/decnet/dn_table.c 			for(fp = dn_chain_p(f->fn_key, dz);
fp                134 net/decnet/dn_table.c 				*fp && dn_key_leq((*fp)->fn_key, f->fn_key);
fp                135 net/decnet/dn_table.c 				fp = &(*fp)->fn_next)
fp                137 net/decnet/dn_table.c 			f->fn_next = *fp;
fp                138 net/decnet/dn_table.c 			*fp = f;
fp                533 net/decnet/dn_table.c 	struct dn_fib_node *new_f, *f, **fp, **del_fp;
fp                564 net/decnet/dn_table.c 	fp = dn_chain_p(key, dz);
fp                566 net/decnet/dn_table.c 	DN_FIB_SCAN(f, fp) {
fp                575 net/decnet/dn_table.c 		del_fp = fp;
fp                576 net/decnet/dn_table.c 		fp = &f->fn_next;
fp                577 net/decnet/dn_table.c 		f = *fp;
fp                581 net/decnet/dn_table.c 	DN_FIB_SCAN_KEY(f, fp, key) {
fp                595 net/decnet/dn_table.c 			del_fp = fp;
fp                596 net/decnet/dn_table.c 			fp = &f->fn_next;
fp                597 net/decnet/dn_table.c 			f = *fp;
fp                601 net/decnet/dn_table.c 		ins_fp = fp;
fp                604 net/decnet/dn_table.c 		DN_FIB_SCAN_KEY(f, fp, key) {
fp                614 net/decnet/dn_table.c 			fp = ins_fp;
fp                615 net/decnet/dn_table.c 			f = *fp;
fp                637 net/decnet/dn_table.c 	*fp = new_f;
fp                670 net/decnet/dn_table.c 	struct dn_fib_node **fp, **del_fp, *f;
fp                691 net/decnet/dn_table.c 	fp = dn_chain_p(key, dz);
fp                693 net/decnet/dn_table.c 	DN_FIB_SCAN(f, fp) {
fp                702 net/decnet/dn_table.c 	DN_FIB_SCAN_KEY(f, fp, key) {
fp                716 net/decnet/dn_table.c 			del_fp = fp;
fp                748 net/decnet/dn_table.c static inline int dn_flush_list(struct dn_fib_node **fp, int z, struct dn_hash *table)
fp                753 net/decnet/dn_table.c 	while((f = *fp) != NULL) {
fp                758 net/decnet/dn_table.c 			*fp = f->fn_next;
fp                765 net/decnet/dn_table.c 		fp = &f->fn_next;
fp                411 net/ipv4/inet_fragment.c 	struct sk_buff *fp, *head = skb_rb_first(&q->rb_fragments);
fp                416 net/ipv4/inet_fragment.c 		fp = skb_clone(skb, GFP_ATOMIC);
fp                417 net/ipv4/inet_fragment.c 		if (!fp)
fp                419 net/ipv4/inet_fragment.c 		FRAG_CB(fp)->next_frag = FRAG_CB(skb)->next_frag;
fp                421 net/ipv4/inet_fragment.c 			FRAG_CB(parent)->next_frag = fp;
fp                423 net/ipv4/inet_fragment.c 			rb_replace_node(&skb->rbnode, &fp->rbnode,
fp                426 net/ipv4/inet_fragment.c 			q->fragments_tail = fp;
fp                482 net/ipv4/inet_fragment.c 	struct sk_buff *fp;
fp                488 net/ipv4/inet_fragment.c 	fp = FRAG_CB(head)->next_frag;
fp                493 net/ipv4/inet_fragment.c 	while (rbn || fp) {
fp                498 net/ipv4/inet_fragment.c 		while (fp) {
fp                499 net/ipv4/inet_fragment.c 			struct sk_buff *next_frag = FRAG_CB(fp)->next_frag;
fp                503 net/ipv4/inet_fragment.c 			sum_truesize += fp->truesize;
fp                504 net/ipv4/inet_fragment.c 			if (head->ip_summed != fp->ip_summed)
fp                507 net/ipv4/inet_fragment.c 				head->csum = csum_add(head->csum, fp->csum);
fp                509 net/ipv4/inet_fragment.c 			if (try_coalesce && skb_try_coalesce(head, fp, &stolen,
fp                511 net/ipv4/inet_fragment.c 				kfree_skb_partial(fp, stolen);
fp                513 net/ipv4/inet_fragment.c 				fp->prev = NULL;
fp                514 net/ipv4/inet_fragment.c 				memset(&fp->rbnode, 0, sizeof(fp->rbnode));
fp                515 net/ipv4/inet_fragment.c 				fp->sk = NULL;
fp                517 net/ipv4/inet_fragment.c 				head->data_len += fp->len;
fp                518 net/ipv4/inet_fragment.c 				head->len += fp->len;
fp                519 net/ipv4/inet_fragment.c 				head->truesize += fp->truesize;
fp                521 net/ipv4/inet_fragment.c 				*nextp = fp;
fp                522 net/ipv4/inet_fragment.c 				nextp = &fp->next;
fp                525 net/ipv4/inet_fragment.c 			fp = next_frag;
fp                531 net/ipv4/inet_fragment.c 			fp = rb_to_skb(rbn);
fp                 89 net/ipv6/exthdrs_core.c 			__be16 _frag_off, *fp;
fp                 90 net/ipv6/exthdrs_core.c 			fp = skb_header_pointer(skb,
fp                 95 net/ipv6/exthdrs_core.c 			if (!fp)
fp                 98 net/ipv6/exthdrs_core.c 			*frag_offp = *fp;
fp                236 net/ipv6/exthdrs_core.c 			__be16 *fp;
fp                240 net/ipv6/exthdrs_core.c 			fp = skb_header_pointer(skb,
fp                245 net/ipv6/exthdrs_core.c 			if (!fp)
fp                248 net/ipv6/exthdrs_core.c 			_frag_off = ntohs(*fp) & ~0x7;
fp                447 net/openvswitch/flow_netlink.c static bool is_all_zero(const u8 *fp, size_t size)
fp                451 net/openvswitch/flow_netlink.c 	if (!fp)
fp                455 net/openvswitch/flow_netlink.c 		if (fp[i])
fp                187 net/sched/act_bpf.c 	struct bpf_prog *fp;
fp                206 net/sched/act_bpf.c 	ret = bpf_prog_create(&fp, &fprog_tmp);
fp                214 net/sched/act_bpf.c 	cfg->filter = fp;
fp                222 net/sched/act_bpf.c 	struct bpf_prog *fp;
fp                228 net/sched/act_bpf.c 	fp = bpf_prog_get_type(bpf_fd, BPF_PROG_TYPE_SCHED_ACT);
fp                229 net/sched/act_bpf.c 	if (IS_ERR(fp))
fp                230 net/sched/act_bpf.c 		return PTR_ERR(fp);
fp                235 net/sched/act_bpf.c 			bpf_prog_put(fp);
fp                241 net/sched/act_bpf.c 	cfg->filter = fp;
fp                342 net/sched/cls_bpf.c 	struct bpf_prog *fp;
fp                361 net/sched/cls_bpf.c 	ret = bpf_prog_create(&fp, &fprog_tmp);
fp                370 net/sched/cls_bpf.c 	prog->filter = fp;
fp                378 net/sched/cls_bpf.c 	struct bpf_prog *fp;
fp                386 net/sched/cls_bpf.c 	fp = bpf_prog_get_type_dev(bpf_fd, BPF_PROG_TYPE_SCHED_CLS, skip_sw);
fp                387 net/sched/cls_bpf.c 	if (IS_ERR(fp))
fp                388 net/sched/cls_bpf.c 		return PTR_ERR(fp);
fp                393 net/sched/cls_bpf.c 			bpf_prog_put(fp);
fp                400 net/sched/cls_bpf.c 	prog->filter = fp;
fp                402 net/sched/cls_bpf.c 	if (fp->dst_needed)
fp                159 net/sched/cls_fw.c 	struct fw_filter __rcu **fp;
fp                167 net/sched/cls_fw.c 	fp = &head->ht[fw_hash(f->id)];
fp                169 net/sched/cls_fw.c 	for (pfp = rtnl_dereference(*fp); pfp;
fp                170 net/sched/cls_fw.c 	     fp = &pfp->next, pfp = rtnl_dereference(*fp)) {
fp                172 net/sched/cls_fw.c 			RCU_INIT_POINTER(*fp, rtnl_dereference(f->next));
fp                259 net/sched/cls_fw.c 		struct fw_filter __rcu **fp;
fp                287 net/sched/cls_fw.c 		fp = &head->ht[fw_hash(fnew->id)];
fp                288 net/sched/cls_fw.c 		for (pfp = rtnl_dereference(*fp); pfp;
fp                289 net/sched/cls_fw.c 		     fp = &pfp->next, pfp = rtnl_dereference(*fp))
fp                294 net/sched/cls_fw.c 		rcu_assign_pointer(*fp, fnew);
fp                316 net/sched/cls_route.c 	struct route4_filter __rcu **fp;
fp                328 net/sched/cls_route.c 	fp = &b->ht[from_hash(h >> 16)];
fp                329 net/sched/cls_route.c 	for (nf = rtnl_dereference(*fp); nf;
fp                330 net/sched/cls_route.c 	     fp = &nf->next, nf = rtnl_dereference(*fp)) {
fp                333 net/sched/cls_route.c 			RCU_INIT_POINTER(*fp, rtnl_dereference(f->next));
fp                388 net/sched/cls_route.c 	struct route4_filter *fp;
fp                438 net/sched/cls_route.c 		for (fp = rtnl_dereference(b->ht[h2]);
fp                439 net/sched/cls_route.c 		     fp;
fp                440 net/sched/cls_route.c 		     fp = rtnl_dereference(fp->next))
fp                441 net/sched/cls_route.c 			if (fp->handle == f->handle)
fp                471 net/sched/cls_route.c 	struct route4_filter __rcu **fp;
fp                518 net/sched/cls_route.c 	fp = &f->bkt->ht[h];
fp                519 net/sched/cls_route.c 	for (pfp = rtnl_dereference(*fp);
fp                520 net/sched/cls_route.c 	     (f1 = rtnl_dereference(*fp)) != NULL;
fp                521 net/sched/cls_route.c 	     fp = &f1->next)
fp                527 net/sched/cls_route.c 	rcu_assign_pointer(*fp, f);
fp                534 net/sched/cls_route.c 			fp = &b->ht[h];
fp                535 net/sched/cls_route.c 			for (pfp = rtnl_dereference(*fp); pfp;
fp                536 net/sched/cls_route.c 			     fp = &pfp->next, pfp = rtnl_dereference(*fp)) {
fp                538 net/sched/cls_route.c 					rcu_assign_pointer(*fp, fold->next);
fp                345 net/sched/cls_rsvp.h 	struct rsvp_filter __rcu **fp;
fp                351 net/sched/cls_rsvp.h 	fp = &s->ht[(h >> 8) & 0xFF];
fp                352 net/sched/cls_rsvp.h 	for (nfp = rtnl_dereference(*fp); nfp;
fp                353 net/sched/cls_rsvp.h 	     fp = &nfp->next, nfp = rtnl_dereference(*fp)) {
fp                355 net/sched/cls_rsvp.h 			RCU_INIT_POINTER(*fp, f->next);
fp                480 net/sched/cls_rsvp.h 	struct rsvp_filter __rcu **fp;
fp                600 net/sched/cls_rsvp.h 			fp = &s->ht[h2];
fp                608 net/sched/cls_rsvp.h 			fp = &s->ht[h2];
fp                609 net/sched/cls_rsvp.h 			for (nfp = rtnl_dereference(*fp); nfp;
fp                610 net/sched/cls_rsvp.h 			     fp = &nfp->next, nfp = rtnl_dereference(*fp)) {
fp                617 net/sched/cls_rsvp.h 			rcu_assign_pointer(*fp, f);
fp                 87 net/sched/cls_tcindex.c 		struct tcindex_filter __rcu **fp;
fp                 90 net/sched/cls_tcindex.c 		fp = &p->h[key % p->hash];
fp                 91 net/sched/cls_tcindex.c 		for (f = rcu_dereference_bh_rtnl(*fp);
fp                 93 net/sched/cls_tcindex.c 		     fp = &f->next, f = rcu_dereference_bh_rtnl(*fp))
fp                490 net/sched/cls_tcindex.c 		struct tcindex_filter __rcu **fp;
fp                495 net/sched/cls_tcindex.c 		fp = cp->h + (handle % cp->hash);
fp                496 net/sched/cls_tcindex.c 		for (nfp = rtnl_dereference(*fp);
fp                498 net/sched/cls_tcindex.c 		     fp = &nfp->next, nfp = rtnl_dereference(*fp))
fp                501 net/sched/cls_tcindex.c 		rcu_assign_pointer(*fp, f);
fp                658 net/sched/cls_tcindex.c 			struct tcindex_filter __rcu **fp;
fp                663 net/sched/cls_tcindex.c 				fp = &p->h[i];
fp                664 net/sched/cls_tcindex.c 				for (f = rtnl_dereference(*fp);
fp                666 net/sched/cls_tcindex.c 				     fp = &f->next, f = rtnl_dereference(*fp)) {
fp               1515 net/unix/af_unix.c 	UNIXCB(skb).fp = NULL;
fp               1517 net/unix/af_unix.c 	if (scm->fp && send_fds)
fp               2111 net/unix/af_unix.c 		if (UNIXCB(skb).fp)
fp               2131 net/unix/af_unix.c 		if (UNIXCB(skb).fp)
fp               2132 net/unix/af_unix.c 			scm.fp = scm_fp_dup(UNIXCB(skb).fp);
fp               2358 net/unix/af_unix.c 			if (UNIXCB(skb).fp)
fp               2367 net/unix/af_unix.c 			if (scm.fp)
fp               2372 net/unix/af_unix.c 			if (UNIXCB(skb).fp)
fp               2373 net/unix/af_unix.c 				scm.fp = scm_fp_dup(UNIXCB(skb).fp);
fp               2377 net/unix/af_unix.c 			if (UNIXCB(skb).fp)
fp                100 net/unix/garbage.c 		if (UNIXCB(skb).fp) {
fp                103 net/unix/garbage.c 			int nfd = UNIXCB(skb).fp->count;
fp                104 net/unix/garbage.c 			struct file **fp = UNIXCB(skb).fp->fp;
fp                108 net/unix/garbage.c 				struct sock *sk = unix_get_socket(*fp++);
fp                 47 net/unix/scm.c void unix_inflight(struct user_struct *user, struct file *fp)
fp                 49 net/unix/scm.c 	struct sock *s = unix_get_socket(fp);
fp                 68 net/unix/scm.c void unix_notinflight(struct user_struct *user, struct file *fp)
fp                 70 net/unix/scm.c 	struct sock *s = unix_get_socket(fp);
fp                115 net/unix/scm.c 	UNIXCB(skb).fp = scm_fp_dup(scm->fp);
fp                116 net/unix/scm.c 	if (!UNIXCB(skb).fp)
fp                119 net/unix/scm.c 	for (i = scm->fp->count - 1; i >= 0; i--)
fp                120 net/unix/scm.c 		unix_inflight(scm->fp->user, scm->fp->fp[i]);
fp                129 net/unix/scm.c 	scm->fp = UNIXCB(skb).fp;
fp                130 net/unix/scm.c 	UNIXCB(skb).fp = NULL;
fp                132 net/unix/scm.c 	for (i = scm->fp->count-1; i >= 0; i--)
fp                133 net/unix/scm.c 		unix_notinflight(scm->fp->user, scm->fp->fp[i]);
fp                143 net/unix/scm.c 	if (UNIXCB(skb).fp)
fp                 49 scripts/conmakehash.c static void addpair(int fp, int un)
fp                 57 scripts/conmakehash.c       for ( i = 0 ; i < unicount[fp] ; i++ )
fp                 58 scripts/conmakehash.c 	if ( unitable[fp][i] == un )
fp                 63 scripts/conmakehash.c       if ( unicount[fp] > 254 )
fp                 69 scripts/conmakehash.c       unitable[fp][unicount[fp]] = un;
fp                 70 scripts/conmakehash.c       unicount[fp]++;
fp                100 scripts/dtc/srcpos.c static char *try_open(const char *dirname, const char *fname, FILE **fp)
fp                109 scripts/dtc/srcpos.c 	*fp = fopen(fullname, "rb");
fp                110 scripts/dtc/srcpos.c 	if (!*fp) {
fp                127 scripts/dtc/srcpos.c static char *fopen_any_on_path(const char *fname, FILE **fp)
fp                134 scripts/dtc/srcpos.c 	assert(fp);
fp                137 scripts/dtc/srcpos.c 	fullname = try_open(cur_dir, fname, fp);
fp                140 scripts/dtc/srcpos.c 	for (node = search_path_head; !*fp && node; node = node->next)
fp                141 scripts/dtc/srcpos.c 		fullname = try_open(node->dirname, fname, fp);
fp                419 scripts/dtc/util.c 	FILE *fp = errmsg ? stderr : stdout;
fp                425 scripts/dtc/util.c 	fprintf(fp,
fp                447 scripts/dtc/util.c 			fprintf(fp, "      ");
fp                449 scripts/dtc/util.c 			fprintf(fp, "  -%c, ", long_opts[i].val);
fp                453 scripts/dtc/util.c 			fprintf(fp, "--%-*s", optlen, long_opts[i].name);
fp                455 scripts/dtc/util.c 			fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg,
fp                459 scripts/dtc/util.c 		fprintf(fp, "%s\n", opts_help[i]);
fp                463 scripts/dtc/util.c 		fprintf(fp, "\nError: %s\n", errmsg);
fp                591 scripts/kconfig/confdata.c kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg)
fp                601 scripts/kconfig/confdata.c 				fprintf(fp, "# %s%s is not set\n",
fp                610 scripts/kconfig/confdata.c 	fprintf(fp, "%s%s=%s\n", CONFIG_, sym->name, value);
fp                614 scripts/kconfig/confdata.c kconfig_print_comment(FILE *fp, const char *value, void *arg)
fp                621 scripts/kconfig/confdata.c 		fprintf(fp, "#");
fp                623 scripts/kconfig/confdata.c 			fprintf(fp, " ");
fp                624 scripts/kconfig/confdata.c 			xfwrite(p, l, 1, fp);
fp                627 scripts/kconfig/confdata.c 		fprintf(fp, "\n");
fp                645 scripts/kconfig/confdata.c header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg)
fp                660 scripts/kconfig/confdata.c 			fprintf(fp, "#define %s%s%s 1\n",
fp                670 scripts/kconfig/confdata.c 		fprintf(fp, "#define %s%s %s%s\n",
fp                676 scripts/kconfig/confdata.c 		fprintf(fp, "#define %s%s %s\n",
fp                686 scripts/kconfig/confdata.c header_print_comment(FILE *fp, const char *value, void *arg)
fp                691 scripts/kconfig/confdata.c 	fprintf(fp, "/*\n");
fp                694 scripts/kconfig/confdata.c 		fprintf(fp, " *");
fp                696 scripts/kconfig/confdata.c 			fprintf(fp, " ");
fp                697 scripts/kconfig/confdata.c 			xfwrite(p, l, 1, fp);
fp                700 scripts/kconfig/confdata.c 		fprintf(fp, "\n");
fp                704 scripts/kconfig/confdata.c 	fprintf(fp, " */\n");
fp                719 scripts/kconfig/confdata.c tristate_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg)
fp                723 scripts/kconfig/confdata.c 		fprintf(fp, "%s%s=%c\n", CONFIG_, sym->name, (char)toupper(*value));
fp                732 scripts/kconfig/confdata.c static void conf_write_symbol(FILE *fp, struct symbol *sym,
fp                743 scripts/kconfig/confdata.c 		printer->print_symbol(fp, sym, str, printer_arg);
fp                748 scripts/kconfig/confdata.c 		printer->print_symbol(fp, sym, str, printer_arg);
fp                753 scripts/kconfig/confdata.c conf_write_heading(FILE *fp, struct conf_printer *printer, void *printer_arg)
fp                763 scripts/kconfig/confdata.c 	printer->print_comment(fp, buf, printer_arg);
fp                 84 scripts/pnmtologo.c static unsigned int get_number(FILE *fp)
fp                 90 scripts/pnmtologo.c 	c = fgetc(fp);
fp                 96 scripts/pnmtologo.c 		c = fgetc(fp);
fp                112 scripts/pnmtologo.c 	c = fgetc(fp);
fp                119 scripts/pnmtologo.c static unsigned int get_number255(FILE *fp, unsigned int maxval)
fp                121 scripts/pnmtologo.c     unsigned int val = get_number(fp);
fp                127 scripts/pnmtologo.c     FILE *fp;
fp                133 scripts/pnmtologo.c     fp = fopen(filename, "r");
fp                134 scripts/pnmtologo.c     if (!fp)
fp                138 scripts/pnmtologo.c     magic = fgetc(fp);
fp                141 scripts/pnmtologo.c     magic = fgetc(fp);
fp                159 scripts/pnmtologo.c     logo_width = get_number(fp);
fp                160 scripts/pnmtologo.c     logo_height = get_number(fp);
fp                180 scripts/pnmtologo.c 			logo_data[i][j].blue = 255*(1-get_number(fp));
fp                185 scripts/pnmtologo.c 	    maxval = get_number(fp);
fp                189 scripts/pnmtologo.c 			logo_data[i][j].blue = get_number255(fp, maxval);
fp                194 scripts/pnmtologo.c 	    maxval = get_number(fp);
fp                197 scripts/pnmtologo.c 		    logo_data[i][j].red = get_number255(fp, maxval);
fp                198 scripts/pnmtologo.c 		    logo_data[i][j].green = get_number255(fp, maxval);
fp                199 scripts/pnmtologo.c 		    logo_data[i][j].blue = get_number255(fp, maxval);
fp                205 scripts/pnmtologo.c     fclose(fp);
fp                387 security/selinux/ss/avtab.c int avtab_read_item(struct avtab *a, void *fp, struct policydb *pol,
fp                406 security/selinux/ss/avtab.c 		rc = next_entry(buf32, fp, sizeof(u32));
fp                417 security/selinux/ss/avtab.c 		rc = next_entry(buf32, fp, sizeof(u32)*items2);
fp                478 security/selinux/ss/avtab.c 	rc = next_entry(buf16, fp, sizeof(u16)*4);
fp                515 security/selinux/ss/avtab.c 		rc = next_entry(&xperms.specified, fp, sizeof(u8));
fp                520 security/selinux/ss/avtab.c 		rc = next_entry(&xperms.driver, fp, sizeof(u8));
fp                525 security/selinux/ss/avtab.c 		rc = next_entry(buf32, fp, sizeof(u32)*ARRAY_SIZE(xperms.perms.p));
fp                534 security/selinux/ss/avtab.c 		rc = next_entry(buf32, fp, sizeof(u32));
fp                555 security/selinux/ss/avtab.c int avtab_read(struct avtab *a, void *fp, struct policydb *pol)
fp                562 security/selinux/ss/avtab.c 	rc = next_entry(buf, fp, sizeof(u32));
fp                579 security/selinux/ss/avtab.c 		rc = avtab_read_item(a, fp, pol, avtab_insertf, NULL);
fp                599 security/selinux/ss/avtab.c int avtab_write_item(struct policydb *p, struct avtab_node *cur, void *fp)
fp                610 security/selinux/ss/avtab.c 	rc = put_entry(buf16, sizeof(u16), 4, fp);
fp                615 security/selinux/ss/avtab.c 		rc = put_entry(&cur->datum.u.xperms->specified, sizeof(u8), 1, fp);
fp                618 security/selinux/ss/avtab.c 		rc = put_entry(&cur->datum.u.xperms->driver, sizeof(u8), 1, fp);
fp                624 security/selinux/ss/avtab.c 				ARRAY_SIZE(cur->datum.u.xperms->perms.p), fp);
fp                627 security/selinux/ss/avtab.c 		rc = put_entry(buf32, sizeof(u32), 1, fp);
fp                634 security/selinux/ss/avtab.c int avtab_write(struct policydb *p, struct avtab *a, void *fp)
fp                642 security/selinux/ss/avtab.c 	rc = put_entry(buf, sizeof(u32), 1, fp);
fp                649 security/selinux/ss/avtab.c 			rc = avtab_write_item(p, cur, fp);
fp                 97 security/selinux/ss/avtab.h int avtab_read_item(struct avtab *a, void *fp, struct policydb *pol,
fp                102 security/selinux/ss/avtab.h int avtab_read(struct avtab *a, void *fp, struct policydb *pol);
fp                103 security/selinux/ss/avtab.h int avtab_write_item(struct policydb *p, struct avtab_node *cur, void *fp);
fp                104 security/selinux/ss/avtab.h int avtab_write(struct policydb *p, struct avtab *a, void *fp);
fp                216 security/selinux/ss/conditional.c int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp)
fp                228 security/selinux/ss/conditional.c 	rc = next_entry(buf, fp, sizeof buf);
fp                247 security/selinux/ss/conditional.c 	rc = next_entry(key, fp, len);
fp                349 security/selinux/ss/conditional.c static int cond_read_av_list(struct policydb *p, void *fp, struct cond_av_list **ret_list, struct cond_av_list *other)
fp                358 security/selinux/ss/conditional.c 	rc = next_entry(buf, fp, sizeof(u32));
fp                371 security/selinux/ss/conditional.c 		rc = avtab_read_item(&p->te_cond_avtab, fp, p, cond_insertf,
fp                395 security/selinux/ss/conditional.c static int cond_read_node(struct policydb *p, struct cond_node *node, void *fp)
fp                402 security/selinux/ss/conditional.c 	rc = next_entry(buf, fp, sizeof(u32) * 2);
fp                412 security/selinux/ss/conditional.c 		rc = next_entry(buf, fp, sizeof(u32) * 2);
fp                437 security/selinux/ss/conditional.c 	rc = cond_read_av_list(p, fp, &node->true_list, NULL);
fp                440 security/selinux/ss/conditional.c 	rc = cond_read_av_list(p, fp, &node->false_list, node->true_list);
fp                449 security/selinux/ss/conditional.c int cond_read_list(struct policydb *p, void *fp)
fp                456 security/selinux/ss/conditional.c 	rc = next_entry(buf, fp, sizeof buf);
fp                472 security/selinux/ss/conditional.c 		rc = cond_read_node(p, node, fp);
fp                494 security/selinux/ss/conditional.c 	void *fp = pd->fp;
fp                503 security/selinux/ss/conditional.c 	rc = put_entry(buf, sizeof(u32), 3, fp);
fp                506 security/selinux/ss/conditional.c 	rc = put_entry(key, 1, len, fp);
fp                522 security/selinux/ss/conditional.c 			      struct cond_av_list *list, struct policy_file *fp)
fp                534 security/selinux/ss/conditional.c 	rc = put_entry(buf, sizeof(u32), 1, fp);
fp                542 security/selinux/ss/conditional.c 		rc = avtab_write_item(p, cur_list->node, fp);
fp                551 security/selinux/ss/conditional.c 		    struct policy_file *fp)
fp                559 security/selinux/ss/conditional.c 	rc = put_entry(buf, sizeof(u32), 1, fp);
fp                567 security/selinux/ss/conditional.c 	rc = put_entry(buf, sizeof(u32), 1, fp);
fp                574 security/selinux/ss/conditional.c 		rc = put_entry(buf, sizeof(u32), 2, fp);
fp                579 security/selinux/ss/conditional.c 	rc = cond_write_av_list(p, node->true_list, fp);
fp                582 security/selinux/ss/conditional.c 	rc = cond_write_av_list(p, node->false_list, fp);
fp                589 security/selinux/ss/conditional.c int cond_write_list(struct policydb *p, struct cond_node *list, void *fp)
fp                600 security/selinux/ss/conditional.c 	rc = put_entry(buf, sizeof(u32), 1, fp);
fp                605 security/selinux/ss/conditional.c 		rc = cond_write_node(p, cur, fp);
fp                 69 security/selinux/ss/conditional.h int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp);
fp                 70 security/selinux/ss/conditional.h int cond_read_list(struct policydb *p, void *fp);
fp                 72 security/selinux/ss/conditional.h int cond_write_list(struct policydb *p, struct cond_node *list, void *fp);
fp                346 security/selinux/ss/ebitmap.c int ebitmap_read(struct ebitmap *e, void *fp)
fp                358 security/selinux/ss/ebitmap.c 	rc = next_entry(buf, fp, sizeof buf);
fp                386 security/selinux/ss/ebitmap.c 		rc = next_entry(&ebitmap_start, fp, sizeof(u32));
fp                428 security/selinux/ss/ebitmap.c 		rc = next_entry(&mapbits, fp, sizeof(u64));
fp                452 security/selinux/ss/ebitmap.c int ebitmap_write(struct ebitmap *e, void *fp)
fp                475 security/selinux/ss/ebitmap.c 	rc = put_entry(buf, sizeof(u32), 3, fp);
fp                494 security/selinux/ss/ebitmap.c 			rc = put_entry(buf, sizeof(u32), 1, fp);
fp                499 security/selinux/ss/ebitmap.c 			rc = put_entry(buf64, sizeof(u64), 1, fp);
fp                515 security/selinux/ss/ebitmap.c 		rc = put_entry(buf, sizeof(u32), 1, fp);
fp                520 security/selinux/ss/ebitmap.c 		rc = put_entry(buf64, sizeof(u64), 1, fp);
fp                131 security/selinux/ss/ebitmap.h int ebitmap_read(struct ebitmap *e, void *fp);
fp                132 security/selinux/ss/ebitmap.h int ebitmap_write(struct ebitmap *e, void *fp);
fp                960 security/selinux/ss/policydb.c static int mls_read_range_helper(struct mls_range *r, void *fp)
fp                966 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(u32));
fp                977 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(u32) * items);
fp                989 security/selinux/ss/policydb.c 	rc = ebitmap_read(&r->level[0].cat, fp);
fp                995 security/selinux/ss/policydb.c 		rc = ebitmap_read(&r->level[1].cat, fp);
fp               1021 security/selinux/ss/policydb.c 				     void *fp)
fp               1026 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof buf);
fp               1035 security/selinux/ss/policydb.c 		rc = mls_read_range_helper(&c->range, fp);
fp               1059 security/selinux/ss/policydb.c static int str_read(char **strp, gfp_t flags, void *fp, u32 len)
fp               1074 security/selinux/ss/policydb.c 	rc = next_entry(str, fp, len);
fp               1082 security/selinux/ss/policydb.c static int perm_read(struct policydb *p, struct hashtab *h, void *fp)
fp               1094 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof buf);
fp               1101 security/selinux/ss/policydb.c 	rc = str_read(&key, GFP_KERNEL, fp, len);
fp               1115 security/selinux/ss/policydb.c static int common_read(struct policydb *p, struct hashtab *h, void *fp)
fp               1127 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof buf);
fp               1140 security/selinux/ss/policydb.c 	rc = str_read(&key, GFP_KERNEL, fp, len);
fp               1145 security/selinux/ss/policydb.c 		rc = perm_read(p, comdatum->permissions.table, fp);
fp               1165 security/selinux/ss/policydb.c static int type_set_read(struct type_set *t, void *fp)
fp               1170 security/selinux/ss/policydb.c 	if (ebitmap_read(&t->types, fp))
fp               1172 security/selinux/ss/policydb.c 	if (ebitmap_read(&t->negset, fp))
fp               1175 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(u32));
fp               1186 security/selinux/ss/policydb.c 				int ncons, int allowxtarget, void *fp)
fp               1205 security/selinux/ss/policydb.c 		rc = next_entry(buf, fp, (sizeof(u32) * 2));
fp               1222 security/selinux/ss/policydb.c 			rc = next_entry(buf, fp, (sizeof(u32) * 3));
fp               1251 security/selinux/ss/policydb.c 				rc = ebitmap_read(&e->names, fp);
fp               1262 security/selinux/ss/policydb.c 					rc = type_set_read(e->type_names, fp);
fp               1280 security/selinux/ss/policydb.c static int class_read(struct policydb *p, struct hashtab *h, void *fp)
fp               1292 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(u32)*6);
fp               1308 security/selinux/ss/policydb.c 	rc = str_read(&key, GFP_KERNEL, fp, len);
fp               1313 security/selinux/ss/policydb.c 		rc = str_read(&cladatum->comkey, GFP_KERNEL, fp, len2);
fp               1326 security/selinux/ss/policydb.c 		rc = perm_read(p, cladatum->permissions.table, fp);
fp               1331 security/selinux/ss/policydb.c 	rc = read_cons_helper(p, &cladatum->constraints, ncons, 0, fp);
fp               1337 security/selinux/ss/policydb.c 		rc = next_entry(buf, fp, sizeof(u32));
fp               1342 security/selinux/ss/policydb.c 				ncons, 1, fp);
fp               1348 security/selinux/ss/policydb.c 		rc = next_entry(buf, fp, sizeof(u32) * 3);
fp               1358 security/selinux/ss/policydb.c 		rc = next_entry(buf, fp, sizeof(u32) * 1);
fp               1374 security/selinux/ss/policydb.c static int role_read(struct policydb *p, struct hashtab *h, void *fp)
fp               1389 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(buf[0]) * to_read);
fp               1398 security/selinux/ss/policydb.c 	rc = str_read(&key, GFP_KERNEL, fp, len);
fp               1402 security/selinux/ss/policydb.c 	rc = ebitmap_read(&role->dominates, fp);
fp               1406 security/selinux/ss/policydb.c 	rc = ebitmap_read(&role->types, fp);
fp               1430 security/selinux/ss/policydb.c static int type_read(struct policydb *p, struct hashtab *h, void *fp)
fp               1445 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(buf[0]) * to_read);
fp               1464 security/selinux/ss/policydb.c 	rc = str_read(&key, GFP_KERNEL, fp, len);
fp               1482 security/selinux/ss/policydb.c static int mls_read_level(struct mls_level *lp, void *fp)
fp               1489 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof buf);
fp               1496 security/selinux/ss/policydb.c 	rc = ebitmap_read(&lp->cat, fp);
fp               1504 security/selinux/ss/policydb.c static int user_read(struct policydb *p, struct hashtab *h, void *fp)
fp               1519 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(buf[0]) * to_read);
fp               1528 security/selinux/ss/policydb.c 	rc = str_read(&key, GFP_KERNEL, fp, len);
fp               1532 security/selinux/ss/policydb.c 	rc = ebitmap_read(&usrdatum->roles, fp);
fp               1537 security/selinux/ss/policydb.c 		rc = mls_read_range_helper(&usrdatum->range, fp);
fp               1540 security/selinux/ss/policydb.c 		rc = mls_read_level(&usrdatum->dfltlevel, fp);
fp               1554 security/selinux/ss/policydb.c static int sens_read(struct policydb *p, struct hashtab *h, void *fp)
fp               1566 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof buf);
fp               1573 security/selinux/ss/policydb.c 	rc = str_read(&key, GFP_ATOMIC, fp, len);
fp               1582 security/selinux/ss/policydb.c 	rc = mls_read_level(levdatum->level, fp);
fp               1595 security/selinux/ss/policydb.c static int cat_read(struct policydb *p, struct hashtab *h, void *fp)
fp               1607 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof buf);
fp               1615 security/selinux/ss/policydb.c 	rc = str_read(&key, GFP_ATOMIC, fp, len);
fp               1628 security/selinux/ss/policydb.c static int (*read_f[SYM_NUM]) (struct policydb *p, struct hashtab *h, void *fp) =
fp               1801 security/selinux/ss/policydb.c static int range_read(struct policydb *p, void *fp)
fp               1812 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(u32));
fp               1823 security/selinux/ss/policydb.c 		rc = next_entry(buf, fp, (sizeof(u32) * 2));
fp               1830 security/selinux/ss/policydb.c 			rc = next_entry(buf, fp, sizeof(u32));
fp               1848 security/selinux/ss/policydb.c 		rc = mls_read_range_helper(r, fp);
fp               1873 security/selinux/ss/policydb.c static int filename_trans_read(struct policydb *p, void *fp)
fp               1885 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(u32));
fp               1905 security/selinux/ss/policydb.c 		rc = next_entry(buf, fp, sizeof(u32));
fp               1911 security/selinux/ss/policydb.c 		rc = str_read(&name, GFP_KERNEL, fp, len);
fp               1917 security/selinux/ss/policydb.c 		rc = next_entry(buf, fp, sizeof(u32) * 4);
fp               1955 security/selinux/ss/policydb.c static int genfs_read(struct policydb *p, void *fp)
fp               1965 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(u32));
fp               1971 security/selinux/ss/policydb.c 		rc = next_entry(buf, fp, sizeof(u32));
fp               1981 security/selinux/ss/policydb.c 		rc = str_read(&newgenfs->fstype, GFP_KERNEL, fp, len);
fp               2004 security/selinux/ss/policydb.c 		rc = next_entry(buf, fp, sizeof(u32));
fp               2010 security/selinux/ss/policydb.c 			rc = next_entry(buf, fp, sizeof(u32));
fp               2020 security/selinux/ss/policydb.c 			rc = str_read(&newc->u.name, GFP_KERNEL, fp, len);
fp               2024 security/selinux/ss/policydb.c 			rc = next_entry(buf, fp, sizeof(u32));
fp               2029 security/selinux/ss/policydb.c 			rc = context_read_and_validate(&newc->context[0], p, fp);
fp               2069 security/selinux/ss/policydb.c 			 void *fp)
fp               2079 security/selinux/ss/policydb.c 		rc = next_entry(buf, fp, sizeof(u32));
fp               2098 security/selinux/ss/policydb.c 				rc = next_entry(buf, fp, sizeof(u32));
fp               2103 security/selinux/ss/policydb.c 				rc = context_read_and_validate(&c->context[0], p, fp);
fp               2109 security/selinux/ss/policydb.c 				rc = next_entry(buf, fp, sizeof(u32));
fp               2114 security/selinux/ss/policydb.c 				rc = str_read(&c->u.name, GFP_KERNEL, fp, len);
fp               2118 security/selinux/ss/policydb.c 				rc = context_read_and_validate(&c->context[0], p, fp);
fp               2121 security/selinux/ss/policydb.c 				rc = context_read_and_validate(&c->context[1], p, fp);
fp               2126 security/selinux/ss/policydb.c 				rc = next_entry(buf, fp, sizeof(u32)*3);
fp               2132 security/selinux/ss/policydb.c 				rc = context_read_and_validate(&c->context[0], p, fp);
fp               2137 security/selinux/ss/policydb.c 				rc = next_entry(nodebuf, fp, sizeof(u32) * 2);
fp               2142 security/selinux/ss/policydb.c 				rc = context_read_and_validate(&c->context[0], p, fp);
fp               2147 security/selinux/ss/policydb.c 				rc = next_entry(buf, fp, sizeof(u32)*2);
fp               2160 security/selinux/ss/policydb.c 				rc = str_read(&c->u.name, GFP_KERNEL, fp, len);
fp               2164 security/selinux/ss/policydb.c 				rc = context_read_and_validate(&c->context[0], p, fp);
fp               2171 security/selinux/ss/policydb.c 				rc = next_entry(nodebuf, fp, sizeof(u32) * 8);
fp               2178 security/selinux/ss/policydb.c 				rc = context_read_and_validate(&c->context[0], p, fp);
fp               2186 security/selinux/ss/policydb.c 				rc = next_entry(prefixbuf, fp, sizeof(u64));
fp               2193 security/selinux/ss/policydb.c 				rc = next_entry(buf, fp, sizeof(u32) * 2);
fp               2210 security/selinux/ss/policydb.c 							       fp);
fp               2218 security/selinux/ss/policydb.c 				rc = next_entry(buf, fp, sizeof(u32) * 2);
fp               2223 security/selinux/ss/policydb.c 				rc = str_read(&c->u.ibendport.dev_name, GFP_KERNEL, fp, len);
fp               2237 security/selinux/ss/policydb.c 							       fp);
fp               2254 security/selinux/ss/policydb.c int policydb_read(struct policydb *p, void *fp)
fp               2270 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(u32) * 2);
fp               2299 security/selinux/ss/policydb.c 	rc = next_entry(policydb_str, fp, len);
fp               2319 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(u32)*4);
fp               2348 security/selinux/ss/policydb.c 		rc = ebitmap_read(&p->policycaps, fp);
fp               2354 security/selinux/ss/policydb.c 		rc = ebitmap_read(&p->permissive_map, fp);
fp               2378 security/selinux/ss/policydb.c 		rc = next_entry(buf, fp, sizeof(u32)*2);
fp               2384 security/selinux/ss/policydb.c 			rc = read_f[i](p, p->symtab[i].table, fp);
fp               2397 security/selinux/ss/policydb.c 	rc = avtab_read(&p->te_avtab, fp, p);
fp               2402 security/selinux/ss/policydb.c 		rc = cond_read_list(p, fp);
fp               2407 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(u32));
fp               2421 security/selinux/ss/policydb.c 		rc = next_entry(buf, fp, sizeof(u32)*3);
fp               2430 security/selinux/ss/policydb.c 			rc = next_entry(buf, fp, sizeof(u32));
fp               2446 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(u32));
fp               2460 security/selinux/ss/policydb.c 		rc = next_entry(buf, fp, sizeof(u32)*2);
fp               2473 security/selinux/ss/policydb.c 	rc = filename_trans_read(p, fp);
fp               2487 security/selinux/ss/policydb.c 	rc = ocontext_read(p, info, fp);
fp               2491 security/selinux/ss/policydb.c 	rc = genfs_read(p, fp);
fp               2495 security/selinux/ss/policydb.c 	rc = range_read(p, fp);
fp               2513 security/selinux/ss/policydb.c 			rc = ebitmap_read(e, fp);
fp               2539 security/selinux/ss/policydb.c static int mls_write_level(struct mls_level *l, void *fp)
fp               2545 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 1, fp);
fp               2549 security/selinux/ss/policydb.c 	rc = ebitmap_write(&l->cat, fp);
fp               2560 security/selinux/ss/policydb.c static int mls_write_range_helper(struct mls_range *r, void *fp)
fp               2579 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), items, fp);
fp               2583 security/selinux/ss/policydb.c 	rc = ebitmap_write(&r->level[0].cat, fp);
fp               2587 security/selinux/ss/policydb.c 		rc = ebitmap_write(&r->level[1].cat, fp);
fp               2600 security/selinux/ss/policydb.c 	void *fp = pd->fp;
fp               2608 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 2, fp);
fp               2612 security/selinux/ss/policydb.c 	rc = put_entry(key, 1, len, fp);
fp               2616 security/selinux/ss/policydb.c 	rc = mls_write_level(levdatum->level, fp);
fp               2628 security/selinux/ss/policydb.c 	void *fp = pd->fp;
fp               2637 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 3, fp);
fp               2641 security/selinux/ss/policydb.c 	rc = put_entry(key, 1, len, fp);
fp               2648 security/selinux/ss/policydb.c static int role_trans_write(struct policydb *p, void *fp)
fp               2660 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 1, fp);
fp               2667 security/selinux/ss/policydb.c 		rc = put_entry(buf, sizeof(u32), 3, fp);
fp               2672 security/selinux/ss/policydb.c 			rc = put_entry(buf, sizeof(u32), 1, fp);
fp               2681 security/selinux/ss/policydb.c static int role_allow_write(struct role_allow *r, void *fp)
fp               2692 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 1, fp);
fp               2698 security/selinux/ss/policydb.c 		rc = put_entry(buf, sizeof(u32), 2, fp);
fp               2710 security/selinux/ss/policydb.c 			 void *fp)
fp               2719 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 3, fp);
fp               2723 security/selinux/ss/policydb.c 	rc = mls_write_range_helper(&c->range, fp);
fp               2736 security/selinux/ss/policydb.c static int perm_write(void *vkey, void *datum, void *fp)
fp               2747 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 2, fp);
fp               2751 security/selinux/ss/policydb.c 	rc = put_entry(key, 1, len, fp);
fp               2763 security/selinux/ss/policydb.c 	void *fp = pd->fp;
fp               2773 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 4, fp);
fp               2777 security/selinux/ss/policydb.c 	rc = put_entry(key, 1, len, fp);
fp               2781 security/selinux/ss/policydb.c 	rc = hashtab_map(comdatum->permissions.table, perm_write, fp);
fp               2788 security/selinux/ss/policydb.c static int type_set_write(struct type_set *t, void *fp)
fp               2793 security/selinux/ss/policydb.c 	if (ebitmap_write(&t->types, fp))
fp               2795 security/selinux/ss/policydb.c 	if (ebitmap_write(&t->negset, fp))
fp               2799 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 1, fp);
fp               2807 security/selinux/ss/policydb.c 			     void *fp)
fp               2821 security/selinux/ss/policydb.c 		rc = put_entry(buf, sizeof(u32), 2, fp);
fp               2828 security/selinux/ss/policydb.c 			rc = put_entry(buf, sizeof(u32), 3, fp);
fp               2834 security/selinux/ss/policydb.c 				rc = ebitmap_write(&e->names, fp);
fp               2839 security/selinux/ss/policydb.c 					rc = type_set_write(e->type_names, fp);
fp               2858 security/selinux/ss/policydb.c 	void *fp = pd->fp;
fp               2885 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 6, fp);
fp               2889 security/selinux/ss/policydb.c 	rc = put_entry(key, 1, len, fp);
fp               2894 security/selinux/ss/policydb.c 		rc = put_entry(cladatum->comkey, 1, len2, fp);
fp               2899 security/selinux/ss/policydb.c 	rc = hashtab_map(cladatum->permissions.table, perm_write, fp);
fp               2903 security/selinux/ss/policydb.c 	rc = write_cons_helper(p, cladatum->constraints, fp);
fp               2913 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 1, fp);
fp               2917 security/selinux/ss/policydb.c 	rc = write_cons_helper(p, cladatum->validatetrans, fp);
fp               2926 security/selinux/ss/policydb.c 		rc = put_entry(buf, sizeof(uint32_t), 3, fp);
fp               2933 security/selinux/ss/policydb.c 		rc = put_entry(buf, sizeof(uint32_t), 1, fp);
fp               2946 security/selinux/ss/policydb.c 	void *fp = pd->fp;
fp               2961 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), items, fp);
fp               2965 security/selinux/ss/policydb.c 	rc = put_entry(key, 1, len, fp);
fp               2969 security/selinux/ss/policydb.c 	rc = ebitmap_write(&role->dominates, fp);
fp               2973 security/selinux/ss/policydb.c 	rc = ebitmap_write(&role->types, fp);
fp               2986 security/selinux/ss/policydb.c 	void *fp = pd->fp;
fp               3010 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), items, fp);
fp               3014 security/selinux/ss/policydb.c 	rc = put_entry(key, 1, len, fp);
fp               3027 security/selinux/ss/policydb.c 	void *fp = pd->fp;
fp               3039 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), items, fp);
fp               3043 security/selinux/ss/policydb.c 	rc = put_entry(key, 1, len, fp);
fp               3047 security/selinux/ss/policydb.c 	rc = ebitmap_write(&usrdatum->roles, fp);
fp               3051 security/selinux/ss/policydb.c 	rc = mls_write_range_helper(&usrdatum->range, fp);
fp               3055 security/selinux/ss/policydb.c 	rc = mls_write_level(&usrdatum->dfltlevel, fp);
fp               3076 security/selinux/ss/policydb.c 			  void *fp)
fp               3089 security/selinux/ss/policydb.c 		rc = put_entry(buf, sizeof(u32), 1, fp);
fp               3096 security/selinux/ss/policydb.c 				rc = put_entry(buf, sizeof(u32), 1, fp);
fp               3099 security/selinux/ss/policydb.c 				rc = context_write(p, &c->context[0], fp);
fp               3107 security/selinux/ss/policydb.c 				rc = put_entry(buf, sizeof(u32), 1, fp);
fp               3110 security/selinux/ss/policydb.c 				rc = put_entry(c->u.name, 1, len, fp);
fp               3113 security/selinux/ss/policydb.c 				rc = context_write(p, &c->context[0], fp);
fp               3116 security/selinux/ss/policydb.c 				rc = context_write(p, &c->context[1], fp);
fp               3124 security/selinux/ss/policydb.c 				rc = put_entry(buf, sizeof(u32), 3, fp);
fp               3127 security/selinux/ss/policydb.c 				rc = context_write(p, &c->context[0], fp);
fp               3134 security/selinux/ss/policydb.c 				rc = put_entry(nodebuf, sizeof(u32), 2, fp);
fp               3137 security/selinux/ss/policydb.c 				rc = context_write(p, &c->context[0], fp);
fp               3145 security/selinux/ss/policydb.c 				rc = put_entry(buf, sizeof(u32), 2, fp);
fp               3148 security/selinux/ss/policydb.c 				rc = put_entry(c->u.name, 1, len, fp);
fp               3151 security/selinux/ss/policydb.c 				rc = context_write(p, &c->context[0], fp);
fp               3160 security/selinux/ss/policydb.c 				rc = put_entry(nodebuf, sizeof(u32), 8, fp);
fp               3163 security/selinux/ss/policydb.c 				rc = context_write(p, &c->context[0], fp);
fp               3171 security/selinux/ss/policydb.c 				rc = put_entry(prefixbuf, sizeof(u64), 1, fp);
fp               3178 security/selinux/ss/policydb.c 				rc = put_entry(buf, sizeof(u32), 2, fp);
fp               3181 security/selinux/ss/policydb.c 				rc = context_write(p, &c->context[0], fp);
fp               3189 security/selinux/ss/policydb.c 				rc = put_entry(buf, sizeof(u32), 2, fp);
fp               3192 security/selinux/ss/policydb.c 				rc = put_entry(c->u.ibendport.dev_name, 1, len, fp);
fp               3195 security/selinux/ss/policydb.c 				rc = context_write(p, &c->context[0], fp);
fp               3205 security/selinux/ss/policydb.c static int genfs_write(struct policydb *p, void *fp)
fp               3217 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 1, fp);
fp               3223 security/selinux/ss/policydb.c 		rc = put_entry(buf, sizeof(u32), 1, fp);
fp               3226 security/selinux/ss/policydb.c 		rc = put_entry(genfs->fstype, 1, len, fp);
fp               3233 security/selinux/ss/policydb.c 		rc = put_entry(buf, sizeof(u32), 1, fp);
fp               3239 security/selinux/ss/policydb.c 			rc = put_entry(buf, sizeof(u32), 1, fp);
fp               3242 security/selinux/ss/policydb.c 			rc = put_entry(c->u.name, 1, len, fp);
fp               3246 security/selinux/ss/policydb.c 			rc = put_entry(buf, sizeof(u32), 1, fp);
fp               3249 security/selinux/ss/policydb.c 			rc = context_write(p, &c->context[0], fp);
fp               3271 security/selinux/ss/policydb.c 	void *fp = pd->fp;
fp               3277 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 2, fp);
fp               3282 security/selinux/ss/policydb.c 		rc = put_entry(buf, sizeof(u32), 1, fp);
fp               3286 security/selinux/ss/policydb.c 	rc = mls_write_range_helper(r, fp);
fp               3293 security/selinux/ss/policydb.c static int range_write(struct policydb *p, void *fp)
fp               3300 security/selinux/ss/policydb.c 	pd.fp = fp;
fp               3309 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 1, fp);
fp               3326 security/selinux/ss/policydb.c 	void *fp = ptr;
fp               3332 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 1, fp);
fp               3336 security/selinux/ss/policydb.c 	rc = put_entry(ft->name, sizeof(char), len, fp);
fp               3345 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 4, fp);
fp               3352 security/selinux/ss/policydb.c static int filename_trans_write(struct policydb *p, void *fp)
fp               3367 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 1, fp);
fp               3371 security/selinux/ss/policydb.c 	rc = hashtab_map(p->filename_trans, filename_write_helper, fp);
fp               3383 security/selinux/ss/policydb.c int policydb_write(struct policydb *p, void *fp)
fp               3418 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 2, fp);
fp               3421 security/selinux/ss/policydb.c 	rc = put_entry(POLICYDB_STRING, 1, len, fp);
fp               3438 security/selinux/ss/policydb.c 	rc = put_entry(buf, sizeof(u32), 4, fp);
fp               3443 security/selinux/ss/policydb.c 		rc = ebitmap_write(&p->policycaps, fp);
fp               3449 security/selinux/ss/policydb.c 		rc = ebitmap_write(&p->permissive_map, fp);
fp               3458 security/selinux/ss/policydb.c 		pd.fp = fp;
fp               3464 security/selinux/ss/policydb.c 		rc = put_entry(buf, sizeof(u32), 2, fp);
fp               3472 security/selinux/ss/policydb.c 	rc = avtab_write(p, &p->te_avtab, fp);
fp               3476 security/selinux/ss/policydb.c 	rc = cond_write_list(p, p->cond_list, fp);
fp               3480 security/selinux/ss/policydb.c 	rc = role_trans_write(p, fp);
fp               3484 security/selinux/ss/policydb.c 	rc = role_allow_write(p->role_allow, fp);
fp               3488 security/selinux/ss/policydb.c 	rc = filename_trans_write(p, fp);
fp               3492 security/selinux/ss/policydb.c 	rc = ocontext_write(p, info, fp);
fp               3496 security/selinux/ss/policydb.c 	rc = genfs_write(p, fp);
fp               3500 security/selinux/ss/policydb.c 	rc = range_write(p, fp);
fp               3507 security/selinux/ss/policydb.c 		rc = ebitmap_write(e, fp);
fp                317 security/selinux/ss/policydb.h extern int policydb_read(struct policydb *p, void *fp);
fp                318 security/selinux/ss/policydb.h extern int policydb_write(struct policydb *p, void *fp);
fp                341 security/selinux/ss/policydb.h 	void *fp;
fp                344 security/selinux/ss/policydb.h static inline int next_entry(void *buf, struct policy_file *fp, size_t bytes)
fp                346 security/selinux/ss/policydb.h 	if (bytes > fp->len)
fp                349 security/selinux/ss/policydb.h 	memcpy(buf, fp->data, bytes);
fp                350 security/selinux/ss/policydb.h 	fp->data += bytes;
fp                351 security/selinux/ss/policydb.h 	fp->len -= bytes;
fp                355 security/selinux/ss/policydb.h static inline int put_entry(const void *buf, size_t bytes, int num, struct policy_file *fp)
fp                359 security/selinux/ss/policydb.h 	memcpy(fp->data, buf, len);
fp                360 security/selinux/ss/policydb.h 	fp->data += len;
fp                361 security/selinux/ss/policydb.h 	fp->len -= len;
fp               2095 security/selinux/ss/services.c 	struct policy_file file = { data, len }, *fp = &file;
fp               2113 security/selinux/ss/services.c 		rc = policydb_read(policydb, fp);
fp               2148 security/selinux/ss/services.c 	rc = policydb_read(newpolicydb, fp);
fp               3696 security/selinux/ss/services.c 	struct policy_file fp;
fp               3707 security/selinux/ss/services.c 	fp.data = *data;
fp               3708 security/selinux/ss/services.c 	fp.len = *len;
fp               3711 security/selinux/ss/services.c 	rc = policydb_write(policydb, &fp);
fp               3717 security/selinux/ss/services.c 	*len = (unsigned long)fp.data - (unsigned long)*data;
fp                217 sound/mips/ad1843.c 	const struct ad1843_bitfield *fp;
fp                222 sound/mips/ad1843.c 		fp = va_arg(ap, const struct ad1843_bitfield *);
fp                225 sound/mips/ad1843.c 			reg = fp->reg;
fp                229 sound/mips/ad1843.c 		mask = (1 << fp->nbits) - 1;
fp                230 sound/mips/ad1843.c 		*value = w >> fp->lo_bit & mask;
fp                250 sound/mips/ad1843.c 	const struct ad1843_bitfield *fp;
fp                260 sound/mips/ad1843.c 		fp = va_arg(ap, const struct ad1843_bitfield *);
fp                263 sound/mips/ad1843.c 			reg = fp->reg;
fp                265 sound/mips/ad1843.c 			WARN_ON(reg != fp->reg);
fp                266 sound/mips/ad1843.c 		m = ((1 << fp->nbits) - 1) << fp->lo_bit;
fp                268 sound/mips/ad1843.c 		bits |= (value << fp->lo_bit) & m;
fp                263 sound/soc/codecs/cx20442.c 				const unsigned char *cp, char *fp, int count)
fp                139 sound/soc/fsl/fsl_esai.c 				bool usefp, u32 fp)
fp                146 sound/soc/fsl/fsl_esai.c 	if (usefp && fp)
fp                165 sound/soc/fsl/fsl_esai.c 		fp = 1;
fp                192 sound/soc/fsl/fsl_esai.c 				fp = j;
fp                217 sound/soc/fsl/fsl_esai.c 			   ESAI_xCCR_xFP_MASK, ESAI_xCCR_xFP(fp));
fp                341 sound/soc/ti/ams-delta.c 				const unsigned char *cp, char *fp, int count)
fp                356 sound/soc/ti/ams-delta.c 		v253_ops.receive_buf(tty, cp, fp, count);
fp                370 sound/soc/ti/ams-delta.c 	v253_ops.receive_buf(tty, cp, fp, count);
fp                 33 sound/usb/format.c 				     struct audioformat *fp,
fp                 39 sound/usb/format.c 	switch (fp->protocol) {
fp                 57 sound/usb/format.c 			fp->dsd_raw = true;
fp                 77 sound/usb/format.c 	fp->fmt_bits = sample_width;
fp                 83 sound/usb/format.c 			fp->iface, fp->altsetting);
fp                 95 sound/usb/format.c 				 fp->iface, fp->altsetting,
fp                104 sound/usb/format.c 			if (snd_usb_is_big_endian_format(chip, fp))
fp                110 sound/usb/format.c 			if (snd_usb_is_big_endian_format(chip, fp))
fp                121 sound/usb/format.c 				 fp->iface, fp->altsetting,
fp                146 sound/usb/format.c 			 fp->iface, fp->altsetting, format);
fp                149 sound/usb/format.c 	pcm_formats |= snd_usb_interface_dsd_format_quirks(chip, fp, sample_bytes);
fp                165 sound/usb/format.c static int parse_audio_format_rates_v1(struct snd_usb_audio *chip, struct audioformat *fp,
fp                173 sound/usb/format.c 			fp->iface, fp->altsetting);
fp                183 sound/usb/format.c 		fp->rate_table = kmalloc_array(nr_rates, sizeof(int),
fp                185 sound/usb/format.c 		if (fp->rate_table == NULL)
fp                188 sound/usb/format.c 		fp->nr_rates = 0;
fp                189 sound/usb/format.c 		fp->rate_min = fp->rate_max = 0;
fp                200 sound/usb/format.c 			    fp->altsetting == 5 && fp->maxpacksize == 392)
fp                208 sound/usb/format.c 			fp->rate_table[fp->nr_rates] = rate;
fp                209 sound/usb/format.c 			if (!fp->rate_min || rate < fp->rate_min)
fp                210 sound/usb/format.c 				fp->rate_min = rate;
fp                211 sound/usb/format.c 			if (!fp->rate_max || rate > fp->rate_max)
fp                212 sound/usb/format.c 				fp->rate_max = rate;
fp                213 sound/usb/format.c 			fp->rates |= snd_pcm_rate_to_rate_bit(rate);
fp                214 sound/usb/format.c 			fp->nr_rates++;
fp                216 sound/usb/format.c 		if (!fp->nr_rates) {
fp                222 sound/usb/format.c 		fp->rates = SNDRV_PCM_RATE_CONTINUOUS;
fp                223 sound/usb/format.c 		fp->rate_min = combine_triple(&fmt[offset + 1]);
fp                224 sound/usb/format.c 		fp->rate_max = combine_triple(&fmt[offset + 4]);
fp                235 sound/usb/format.c 					struct audioformat *fp,
fp                243 sound/usb/format.c 	iface = usb_ifnum_to_if(chip->dev, fp->iface);
fp                247 sound/usb/format.c 	alts = &iface->altsetting[fp->altset_idx];
fp                264 sound/usb/format.c 				fp->iface, fp->altsetting, max_rate);
fp                282 sound/usb/format.c 					struct audioformat *fp, int nr_triplets,
fp                287 sound/usb/format.c 	fp->rates = fp->rate_min = fp->rate_max = 0;
fp                304 sound/usb/format.c 			fp->rate_min = min;
fp                305 sound/usb/format.c 			fp->rate_max = max;
fp                306 sound/usb/format.c 			fp->rates = SNDRV_PCM_RATE_CONTINUOUS;
fp                313 sound/usb/format.c 			    !focusrite_valid_sample_rate(chip, fp, rate))
fp                316 sound/usb/format.c 			if (fp->rate_table)
fp                317 sound/usb/format.c 				fp->rate_table[nr_rates] = rate;
fp                318 sound/usb/format.c 			if (!fp->rate_min || rate < fp->rate_min)
fp                319 sound/usb/format.c 				fp->rate_min = rate;
fp                320 sound/usb/format.c 			if (!fp->rate_max || rate > fp->rate_max)
fp                321 sound/usb/format.c 				fp->rate_max = rate;
fp                322 sound/usb/format.c 			fp->rates |= snd_pcm_rate_to_rate_bit(rate);
fp                344 sound/usb/format.c 						struct audioformat *fp)
fp                355 sound/usb/format.c 		kfree(fp->rate_table);
fp                356 sound/usb/format.c 		fp->rate_table = kmalloc(sizeof(int), GFP_KERNEL);
fp                357 sound/usb/format.c 		if (!fp->rate_table)
fp                359 sound/usb/format.c 		fp->nr_rates = 1;
fp                360 sound/usb/format.c 		fp->rate_min = 48000;
fp                361 sound/usb/format.c 		fp->rate_max = 48000;
fp                362 sound/usb/format.c 		fp->rates = SNDRV_PCM_RATE_48000;
fp                363 sound/usb/format.c 		fp->rate_table[0] = 48000;
fp                375 sound/usb/format.c 				       struct audioformat *fp)
fp                380 sound/usb/format.c 	int clock = snd_usb_clock_find_source(chip, fp, false);
fp                398 sound/usb/format.c 		ret_l6 = line6_parse_audio_format_rates_quirk(chip, fp);
fp                442 sound/usb/format.c 	kfree(fp->rate_table);
fp                443 sound/usb/format.c 	fp->rate_table = NULL;
fp                444 sound/usb/format.c 	fp->nr_rates = parse_uac2_sample_rate_range(chip, fp, nr_triplets, data);
fp                446 sound/usb/format.c 	if (fp->nr_rates == 0) {
fp                452 sound/usb/format.c 	fp->rate_table = kmalloc_array(fp->nr_rates, sizeof(int), GFP_KERNEL);
fp                453 sound/usb/format.c 	if (!fp->rate_table) {
fp                460 sound/usb/format.c 	parse_uac2_sample_rate_range(chip, fp, nr_triplets, data);
fp                472 sound/usb/format.c 				struct audioformat *fp, u64 format,
fp                479 sound/usb/format.c 	switch (fp->protocol) {
fp                490 sound/usb/format.c 		fmt_type = fp->fmt_type;
fp                504 sound/usb/format.c 			    fp->altsetting == 6)
fp                512 sound/usb/format.c 		fp->formats = pcm_format_to_bits(pcm_format);
fp                514 sound/usb/format.c 		fp->formats = parse_audio_format_i_type(chip, fp, format, _fmt);
fp                515 sound/usb/format.c 		if (!fp->formats)
fp                524 sound/usb/format.c 	switch (fp->protocol) {
fp                529 sound/usb/format.c 		fp->channels = fmt->bNrChannels;
fp                530 sound/usb/format.c 		ret = parse_audio_format_rates_v1(chip, fp, (unsigned char *) fmt, 7);
fp                536 sound/usb/format.c 		ret = parse_audio_format_rates_v2v3(chip, fp);
fp                541 sound/usb/format.c 	if (fp->channels < 1) {
fp                544 sound/usb/format.c 			fp->iface, fp->altsetting, fp->channels);
fp                555 sound/usb/format.c 				 struct audioformat *fp,
fp                564 sound/usb/format.c 		fp->formats = SNDRV_PCM_FMTBIT_U8; /* temporary hack to receive byte streams */
fp                567 sound/usb/format.c 		fp->formats = SNDRV_PCM_FMTBIT_MPEG;
fp                572 sound/usb/format.c 			 fp->iface, fp->altsetting, format);
fp                573 sound/usb/format.c 		fp->formats = SNDRV_PCM_FMTBIT_MPEG;
fp                577 sound/usb/format.c 	fp->channels = 1;
fp                579 sound/usb/format.c 	switch (fp->protocol) {
fp                586 sound/usb/format.c 		fp->frame_size = framesize;
fp                587 sound/usb/format.c 		ret = parse_audio_format_rates_v1(chip, fp, _fmt, 8); /* fmt[8..] sample rates */
fp                595 sound/usb/format.c 		fp->frame_size = framesize;
fp                596 sound/usb/format.c 		ret = parse_audio_format_rates_v2v3(chip, fp);
fp                605 sound/usb/format.c 			       struct audioformat *fp, u64 format,
fp                614 sound/usb/format.c 		err = parse_audio_format_i(chip, fp, format, fmt);
fp                617 sound/usb/format.c 		err = parse_audio_format_ii(chip, fp, format, fmt);
fp                622 sound/usb/format.c 			 fp->iface, fp->altsetting,
fp                626 sound/usb/format.c 	fp->fmt_type = fmt->bFormatType;
fp                638 sound/usb/format.c 		    fp->rates != SNDRV_PCM_RATE_48000 &&
fp                639 sound/usb/format.c 		    fp->rates != SNDRV_PCM_RATE_96000)
fp                647 sound/usb/format.c 			       struct audioformat *fp,
fp                659 sound/usb/format.c 		fp->fmt_type = UAC_FORMAT_TYPE_I;
fp                661 sound/usb/format.c 		fp->fmt_type = UAC_FORMAT_TYPE_III;
fp                663 sound/usb/format.c 	err = parse_audio_format_i(chip, fp, format, as);
fp                  6 sound/usb/format.h 			       struct audioformat *fp, u64 format,
fp                 11 sound/usb/format.h 			       struct audioformat *fp,
fp                 86 sound/usb/pcm.c 	struct audioformat *fp;
fp                 90 sound/usb/pcm.c 	list_for_each_entry(fp, &subs->fmt_list, list) {
fp                 91 sound/usb/pcm.c 		if (!(fp->formats & pcm_format_to_bits(subs->pcm_format)))
fp                 93 sound/usb/pcm.c 		if (fp->channels != subs->channels)
fp                 95 sound/usb/pcm.c 		if (subs->cur_rate < fp->rate_min ||
fp                 96 sound/usb/pcm.c 		    subs->cur_rate > fp->rate_max)
fp                 98 sound/usb/pcm.c 		if (! (fp->rates & SNDRV_PCM_RATE_CONTINUOUS)) {
fp                100 sound/usb/pcm.c 			for (i = 0; i < fp->nr_rates; i++)
fp                101 sound/usb/pcm.c 				if (fp->rate_table[i] == subs->cur_rate)
fp                103 sound/usb/pcm.c 			if (i >= fp->nr_rates)
fp                106 sound/usb/pcm.c 		attr = fp->ep_attr & USB_ENDPOINT_SYNCTYPE;
fp                108 sound/usb/pcm.c 			found = fp;
fp                127 sound/usb/pcm.c 				found = fp;
fp                133 sound/usb/pcm.c 		if (fp->maxpacksize > found->maxpacksize) {
fp                134 sound/usb/pcm.c 			found = fp;
fp                588 sound/usb/pcm.c 				       struct audioformat *fp,
fp                595 sound/usb/pcm.c 	if (fp->channels < 1) {
fp                597 sound/usb/pcm.c 			"%s: (fmt @%p) no channels\n", __func__, fp);
fp                601 sound/usb/pcm.c 	if (!(fp->formats & pcm_format_to_bits(pcm_format))) {
fp                604 sound/usb/pcm.c 			fp, pcm_format);
fp                608 sound/usb/pcm.c 	for (i = 0; i < fp->nr_rates; i++) {
fp                609 sound/usb/pcm.c 		if (fp->rate_table[i] == rate) {
fp                617 sound/usb/pcm.c 			fp, rate);
fp                621 sound/usb/pcm.c 	if (fp->channels == match->channels)
fp                625 sound/usb/pcm.c 		"%s: (fmt @%p) score %d\n", __func__, fp, score);
fp                636 sound/usb/pcm.c 	struct audioformat *fp;
fp                655 sound/usb/pcm.c 	list_for_each_entry(fp, &sync_subs->fmt_list, list) {
fp                657 sound/usb/pcm.c 							fp, subs->cur_audiofmt,
fp                661 sound/usb/pcm.c 			sync_fp = fp;
fp                968 sound/usb/pcm.c 				 struct audioformat *fp)
fp                979 sound/usb/pcm.c 	check_fmts.bits[0] = (u32)fp->formats;
fp                980 sound/usb/pcm.c 	check_fmts.bits[1] = (u32)(fp->formats >> 32);
fp                983 sound/usb/pcm.c 		hwc_debug("   > check: no supported format %d\n", fp->format);
fp                987 sound/usb/pcm.c 	if (fp->channels < ct->min || fp->channels > ct->max) {
fp                988 sound/usb/pcm.c 		hwc_debug("   > check: no valid channels %d (%d/%d)\n", fp->channels, ct->min, ct->max);
fp                992 sound/usb/pcm.c 	if (fp->rate_min > it->max || (fp->rate_min == it->max && it->openmax)) {
fp                993 sound/usb/pcm.c 		hwc_debug("   > check: rate_min %d > max %d\n", fp->rate_min, it->max);
fp                996 sound/usb/pcm.c 	if (fp->rate_max < it->min || (fp->rate_max == it->min && it->openmin)) {
fp                997 sound/usb/pcm.c 		hwc_debug("   > check: rate_max %d < min %d\n", fp->rate_max, it->min);
fp               1002 sound/usb/pcm.c 		ptime = 125 * (1 << fp->datainterval);
fp               1015 sound/usb/pcm.c 	struct audioformat *fp;
fp               1023 sound/usb/pcm.c 	list_for_each_entry(fp, &subs->fmt_list, list) {
fp               1024 sound/usb/pcm.c 		if (!hw_check_valid_format(subs, params, fp))
fp               1027 sound/usb/pcm.c 			if (rmin > fp->rate_min)
fp               1028 sound/usb/pcm.c 				rmin = fp->rate_min;
fp               1029 sound/usb/pcm.c 			if (rmax < fp->rate_max)
fp               1030 sound/usb/pcm.c 				rmax = fp->rate_max;
fp               1032 sound/usb/pcm.c 			rmin = fp->rate_min;
fp               1033 sound/usb/pcm.c 			rmax = fp->rate_max;
fp               1067 sound/usb/pcm.c 	struct audioformat *fp;
fp               1075 sound/usb/pcm.c 	list_for_each_entry(fp, &subs->fmt_list, list) {
fp               1076 sound/usb/pcm.c 		if (!hw_check_valid_format(subs, params, fp))
fp               1079 sound/usb/pcm.c 			if (rmin > fp->channels)
fp               1080 sound/usb/pcm.c 				rmin = fp->channels;
fp               1081 sound/usb/pcm.c 			if (rmax < fp->channels)
fp               1082 sound/usb/pcm.c 				rmax = fp->channels;
fp               1084 sound/usb/pcm.c 			rmin = fp->channels;
fp               1085 sound/usb/pcm.c 			rmax = fp->channels;
fp               1118 sound/usb/pcm.c 	struct audioformat *fp;
fp               1126 sound/usb/pcm.c 	list_for_each_entry(fp, &subs->fmt_list, list) {
fp               1127 sound/usb/pcm.c 		if (!hw_check_valid_format(subs, params, fp))
fp               1129 sound/usb/pcm.c 		fbits |= fp->formats;
fp               1149 sound/usb/pcm.c 	struct audioformat *fp;
fp               1158 sound/usb/pcm.c 	list_for_each_entry(fp, &subs->fmt_list, list) {
fp               1159 sound/usb/pcm.c 		if (!hw_check_valid_format(subs, params, fp))
fp               1161 sound/usb/pcm.c 		min_datainterval = min(min_datainterval, fp->datainterval);
fp               1189 sound/usb/pcm.c 	struct audioformat *fp;
fp               1197 sound/usb/pcm.c 	list_for_each_entry(fp, &subs->fmt_list, list) {
fp               1198 sound/usb/pcm.c 		if (fp->rates & SNDRV_PCM_RATE_CONTINUOUS)
fp               1200 sound/usb/pcm.c 		count += fp->nr_rates;
fp               1201 sound/usb/pcm.c 		if (fp->rates & SNDRV_PCM_RATE_KNOT)
fp               1214 sound/usb/pcm.c 	list_for_each_entry(fp, &subs->fmt_list, list) {
fp               1216 sound/usb/pcm.c 		for (i = 0; i < fp->nr_rates; i++)
fp               1217 sound/usb/pcm.c 			rate_list[count++] = fp->rate_table[i];
fp               1234 sound/usb/pcm.c 	struct audioformat *fp;
fp               1248 sound/usb/pcm.c 	list_for_each_entry(fp, &subs->fmt_list, list) {
fp               1249 sound/usb/pcm.c 		runtime->hw.rates |= fp->rates;
fp               1250 sound/usb/pcm.c 		if (runtime->hw.rate_min > fp->rate_min)
fp               1251 sound/usb/pcm.c 			runtime->hw.rate_min = fp->rate_min;
fp               1252 sound/usb/pcm.c 		if (runtime->hw.rate_max < fp->rate_max)
fp               1253 sound/usb/pcm.c 			runtime->hw.rate_max = fp->rate_max;
fp               1254 sound/usb/pcm.c 		if (runtime->hw.channels_min > fp->channels)
fp               1255 sound/usb/pcm.c 			runtime->hw.channels_min = fp->channels;
fp               1256 sound/usb/pcm.c 		if (runtime->hw.channels_max < fp->channels)
fp               1257 sound/usb/pcm.c 			runtime->hw.channels_max = fp->channels;
fp               1258 sound/usb/pcm.c 		if (fp->fmt_type == UAC_FORMAT_TYPE_II && fp->frame_size > 0) {
fp               1261 sound/usb/pcm.c 				fp->frame_size;
fp               1263 sound/usb/pcm.c 		pt = 125 * (1 << fp->datainterval);
fp                 62 sound/usb/proc.c 	struct audioformat *fp;
fp                 67 sound/usb/proc.c 	list_for_each_entry(fp, &subs->fmt_list, list) {
fp                 70 sound/usb/proc.c 		snd_iprintf(buffer, "  Interface %d\n", fp->iface);
fp                 71 sound/usb/proc.c 		snd_iprintf(buffer, "    Altset %d\n", fp->altsetting);
fp                 74 sound/usb/proc.c 			if (fp->formats & pcm_format_to_bits(fmt))
fp                 78 sound/usb/proc.c 		snd_iprintf(buffer, "    Channels: %d\n", fp->channels);
fp                 80 sound/usb/proc.c 			    fp->endpoint & USB_ENDPOINT_NUMBER_MASK,
fp                 81 sound/usb/proc.c 			    fp->endpoint & USB_DIR_IN ? "IN" : "OUT",
fp                 82 sound/usb/proc.c 			    sync_types[(fp->ep_attr & USB_ENDPOINT_SYNCTYPE) >> 2]);
fp                 83 sound/usb/proc.c 		if (fp->rates & SNDRV_PCM_RATE_CONTINUOUS) {
fp                 85 sound/usb/proc.c 				    fp->rate_min, fp->rate_max);
fp                 89 sound/usb/proc.c 			for (i = 0; i < fp->nr_rates; i++) {
fp                 92 sound/usb/proc.c 				snd_iprintf(buffer, "%d", fp->rate_table[i]);
fp                 98 sound/usb/proc.c 				    125 * (1 << fp->datainterval));
fp                 99 sound/usb/proc.c 		snd_iprintf(buffer, "    Bits: %d\n", fp->fmt_bits);
fp                131 sound/usb/quirks.c 	struct audioformat *fp;
fp                137 sound/usb/quirks.c 	fp = kmemdup(quirk->data, sizeof(*fp), GFP_KERNEL);
fp                138 sound/usb/quirks.c 	if (!fp)
fp                141 sound/usb/quirks.c 	INIT_LIST_HEAD(&fp->list);
fp                142 sound/usb/quirks.c 	if (fp->nr_rates > MAX_NR_RATES) {
fp                143 sound/usb/quirks.c 		kfree(fp);
fp                146 sound/usb/quirks.c 	if (fp->nr_rates > 0) {
fp                147 sound/usb/quirks.c 		rate_table = kmemdup(fp->rate_table,
fp                148 sound/usb/quirks.c 				     sizeof(int) * fp->nr_rates, GFP_KERNEL);
fp                150 sound/usb/quirks.c 			kfree(fp);
fp                153 sound/usb/quirks.c 		fp->rate_table = rate_table;
fp                156 sound/usb/quirks.c 	stream = (fp->endpoint & USB_DIR_IN)
fp                158 sound/usb/quirks.c 	err = snd_usb_add_audio_stream(chip, stream, fp);
fp                161 sound/usb/quirks.c 	if (fp->iface != get_iface_desc(&iface->altsetting[0])->bInterfaceNumber ||
fp                162 sound/usb/quirks.c 	    fp->altset_idx >= iface->num_altsetting) {
fp                166 sound/usb/quirks.c 	alts = &iface->altsetting[fp->altset_idx];
fp                173 sound/usb/quirks.c 	fp->protocol = altsd->bInterfaceProtocol;
fp                175 sound/usb/quirks.c 	if (fp->datainterval == 0)
fp                176 sound/usb/quirks.c 		fp->datainterval = snd_usb_parse_datainterval(chip, alts);
fp                177 sound/usb/quirks.c 	if (fp->maxpacksize == 0)
fp                178 sound/usb/quirks.c 		fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize);
fp                179 sound/usb/quirks.c 	usb_set_interface(chip->dev, fp->iface, 0);
fp                180 sound/usb/quirks.c 	snd_usb_init_pitch(chip, fp->iface, alts, fp);
fp                181 sound/usb/quirks.c 	snd_usb_init_sample_rate(chip, fp->iface, alts, fp, fp->rate_max);
fp                185 sound/usb/quirks.c 	list_del(&fp->list); /* unlink for avoiding double-free */
fp                186 sound/usb/quirks.c 	kfree(fp);
fp                419 sound/usb/quirks.c 	struct audioformat *fp;
fp                456 sound/usb/quirks.c 	fp = kmemdup(&ua_format, sizeof(*fp), GFP_KERNEL);
fp                457 sound/usb/quirks.c 	if (!fp)
fp                460 sound/usb/quirks.c 	fp->iface = altsd->bInterfaceNumber;
fp                461 sound/usb/quirks.c 	fp->endpoint = get_endpoint(alts, 0)->bEndpointAddress;
fp                462 sound/usb/quirks.c 	fp->ep_attr = get_endpoint(alts, 0)->bmAttributes;
fp                463 sound/usb/quirks.c 	fp->datainterval = 0;
fp                464 sound/usb/quirks.c 	fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize);
fp                465 sound/usb/quirks.c 	INIT_LIST_HEAD(&fp->list);
fp                467 sound/usb/quirks.c 	switch (fp->maxpacksize) {
fp                469 sound/usb/quirks.c 		fp->rate_max = fp->rate_min = 44100;
fp                473 sound/usb/quirks.c 		fp->rate_max = fp->rate_min = 48000;
fp                477 sound/usb/quirks.c 		fp->rate_max = fp->rate_min = 96000;
fp                481 sound/usb/quirks.c 		kfree(fp);
fp                485 sound/usb/quirks.c 	stream = (fp->endpoint & USB_DIR_IN)
fp                487 sound/usb/quirks.c 	err = snd_usb_add_audio_stream(chip, stream, fp);
fp                489 sound/usb/quirks.c 		list_del(&fp->list); /* unlink for avoiding double-free */
fp                490 sound/usb/quirks.c 		kfree(fp);
fp                493 sound/usb/quirks.c 	usb_set_interface(chip->dev, fp->iface, 0);
fp               1341 sound/usb/quirks.c int snd_usb_is_big_endian_format(struct snd_usb_audio *chip, struct audioformat *fp)
fp               1346 sound/usb/quirks.c 		if (fp->altsetting == 2 || fp->altsetting == 3 ||
fp               1347 sound/usb/quirks.c 			fp->altsetting == 5 || fp->altsetting == 6)
fp               1352 sound/usb/quirks.c 			fp->altsetting == 1 || fp->altsetting == 2 ||
fp               1353 sound/usb/quirks.c 			fp->altsetting == 3)
fp               1357 sound/usb/quirks.c 		if (fp->altsetting == 2 || fp->altsetting == 3 ||
fp               1358 sound/usb/quirks.c 			fp->altsetting == 5 || fp->altsetting == 6)
fp               1615 sound/usb/quirks.c 					struct audioformat *fp,
fp               1623 sound/usb/quirks.c 		switch (fp->altsetting) {
fp               1625 sound/usb/quirks.c 			fp->dsd_dop = true;
fp               1628 sound/usb/quirks.c 			fp->dsd_bitrev = true;
fp               1631 sound/usb/quirks.c 			fp->dsd_bitrev = true;
fp               1641 sound/usb/quirks.c 		if (fp->altsetting == 2)
fp               1659 sound/usb/quirks.c 		if (fp->altsetting == 3)
fp               1668 sound/usb/quirks.c 		if (fp->altsetting == 2) {
fp               1681 sound/usb/quirks.c 		if (fp->altsetting == 2)
fp               1691 sound/usb/quirks.c 		iface = usb_ifnum_to_if(chip->dev, fp->iface);
fp               1698 sound/usb/quirks.c 		if (fp->altsetting == iface->num_altsetting - 1)
fp               1716 sound/usb/quirks.c 		if (fp->dsd_raw)
fp               1728 sound/usb/quirks.c 					  struct audioformat *fp,
fp               1736 sound/usb/quirks.c 		fp->attributes &= ~UAC_EP_CS_ATTR_SAMPLE_RATE;
fp               1741 sound/usb/quirks.c 		fp->attributes |= UAC_EP_CS_ATTR_SAMPLE_RATE;
fp               1752 sound/usb/quirks.c 		fp->ep_attr &= ~USB_ENDPOINT_SYNCTYPE;
fp               1754 sound/usb/quirks.c 			fp->ep_attr |= USB_ENDPOINT_SYNC_ADAPTIVE;
fp               1756 sound/usb/quirks.c 			fp->ep_attr |= USB_ENDPOINT_SYNC_SYNC;
fp                 34 sound/usb/quirks.h 				 struct audioformat *fp);
fp                 47 sound/usb/quirks.h 					struct audioformat *fp,
fp                 51 sound/usb/quirks.h 					  struct audioformat *fp,
fp                 31 sound/usb/stream.c static void audioformat_free(struct audioformat *fp)
fp                 33 sound/usb/stream.c 	list_del(&fp->list); /* unlink for avoiding double-free */
fp                 34 sound/usb/stream.c 	kfree(fp->rate_table);
fp                 35 sound/usb/stream.c 	kfree(fp->chmap);
fp                 36 sound/usb/stream.c 	kfree(fp);
fp                 44 sound/usb/stream.c 	struct audioformat *fp, *n;
fp                 48 sound/usb/stream.c 	list_for_each_entry_safe(fp, n, &subs->fmt_list, list)
fp                 49 sound/usb/stream.c 		audioformat_free(fp);
fp                 82 sound/usb/stream.c 				   struct audioformat *fp,
fp                100 sound/usb/stream.c 	list_add_tail(&fp->list, &subs->fmt_list);
fp                101 sound/usb/stream.c 	subs->formats |= fp->formats;
fp                103 sound/usb/stream.c 	subs->fmt_type = fp->fmt_type;
fp                104 sound/usb/stream.c 	subs->ep_num = fp->endpoint;
fp                105 sound/usb/stream.c 	if (fp->channels > subs->channels_max)
fp                106 sound/usb/stream.c 		subs->channels_max = fp->channels;
fp                134 sound/usb/stream.c 			   struct audioformat *fp)
fp                136 sound/usb/stream.c 	struct audioformat *prev = fp;
fp                140 sound/usb/stream.c 		    !memcmp(prev->chmap, fp->chmap, sizeof(*fp->chmap)))
fp                151 sound/usb/stream.c 	struct audioformat *fp;
fp                161 sound/usb/stream.c 	list_for_each_entry(fp, &subs->fmt_list, list) {
fp                164 sound/usb/stream.c 		if (!fp->chmap)
fp                166 sound/usb/stream.c 		if (have_dup_chmap(subs, fp))
fp                169 sound/usb/stream.c 		ch_bytes = fp->chmap->channels * 4;
fp                176 sound/usb/stream.c 		for (i = 0; i < fp->chmap->channels; i++, dst++) {
fp                177 sound/usb/stream.c 			if (put_user(fp->chmap->map[i], dst))
fp                212 sound/usb/stream.c 	struct audioformat *fp;
fp                217 sound/usb/stream.c 	list_for_each_entry(fp, &subs->fmt_list, list)
fp                218 sound/usb/stream.c 		if (fp->chmap)
fp                478 sound/usb/stream.c 				      struct audioformat *fp,
fp                488 sound/usb/stream.c 		if (as->fmt_type != fp->fmt_type)
fp                491 sound/usb/stream.c 		if (subs->ep_num == fp->endpoint) {
fp                492 sound/usb/stream.c 			list_add_tail(&fp->list, &subs->fmt_list);
fp                494 sound/usb/stream.c 			subs->formats |= fp->formats;
fp                500 sound/usb/stream.c 		if (as->fmt_type != fp->fmt_type)
fp                508 sound/usb/stream.c 		snd_usb_init_substream(as, stream, fp, pd);
fp                518 sound/usb/stream.c 	as->fmt_type = fp->fmt_type;
fp                536 sound/usb/stream.c 	snd_usb_init_substream(as, stream, fp, pd);
fp                556 sound/usb/stream.c 			     struct audioformat *fp)
fp                558 sound/usb/stream.c 	return __snd_usb_add_audio_stream(chip, stream, fp, NULL);
fp                563 sound/usb/stream.c 				       struct audioformat *fp,
fp                566 sound/usb/stream.c 	return __snd_usb_add_audio_stream(chip, stream, fp, pd);
fp                676 sound/usb/stream.c 	struct audioformat *fp;
fp                678 sound/usb/stream.c 	fp = kzalloc(sizeof(*fp), GFP_KERNEL);
fp                679 sound/usb/stream.c 	if (!fp)
fp                682 sound/usb/stream.c 	fp->iface = iface_no;
fp                683 sound/usb/stream.c 	fp->altsetting = altno;
fp                684 sound/usb/stream.c 	fp->altset_idx = altset_idx;
fp                685 sound/usb/stream.c 	fp->endpoint = get_endpoint(alts, 0)->bEndpointAddress;
fp                686 sound/usb/stream.c 	fp->ep_attr = get_endpoint(alts, 0)->bmAttributes;
fp                687 sound/usb/stream.c 	fp->datainterval = snd_usb_parse_datainterval(chip, alts);
fp                688 sound/usb/stream.c 	fp->protocol = protocol;
fp                689 sound/usb/stream.c 	fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize);
fp                690 sound/usb/stream.c 	fp->channels = num_channels;
fp                692 sound/usb/stream.c 		fp->maxpacksize = (((fp->maxpacksize >> 11) & 3) + 1)
fp                693 sound/usb/stream.c 				* (fp->maxpacksize & 0x7ff);
fp                694 sound/usb/stream.c 	fp->clock = clock;
fp                695 sound/usb/stream.c 	INIT_LIST_HEAD(&fp->list);
fp                697 sound/usb/stream.c 	return fp;
fp                709 sound/usb/stream.c 	struct audioformat *fp;
fp                826 sound/usb/stream.c 	fp = audio_format_alloc_init(chip, alts, protocol, iface_no,
fp                828 sound/usb/stream.c 	if (!fp)
fp                831 sound/usb/stream.c 	fp->attributes = parse_uac_endpoint_attributes(chip, alts, protocol,
fp                835 sound/usb/stream.c 	snd_usb_audioformat_attributes_quirk(chip, fp, stream);
fp                838 sound/usb/stream.c 	if (snd_usb_parse_audio_format(chip, fp, format,
fp                840 sound/usb/stream.c 		audioformat_free(fp);
fp                845 sound/usb/stream.c 	if (fp->channels != num_channels)
fp                848 sound/usb/stream.c 	fp->chmap = convert_chmap(fp->channels, chconfig, protocol);
fp                850 sound/usb/stream.c 	return fp;
fp                871 sound/usb/stream.c 	struct audioformat *fp;
fp               1029 sound/usb/stream.c 	fp = audio_format_alloc_init(chip, alts, UAC_VERSION_3, iface_no,
fp               1031 sound/usb/stream.c 	if (!fp) {
fp               1036 sound/usb/stream.c 	fp->chmap = chmap;
fp               1039 sound/usb/stream.c 		fp->attributes = 0; /* No attributes */
fp               1041 sound/usb/stream.c 		fp->fmt_type = UAC_FORMAT_TYPE_I;
fp               1042 sound/usb/stream.c 		fp->formats = badd_formats;
fp               1044 sound/usb/stream.c 		fp->nr_rates = 0;	/* SNDRV_PCM_RATE_CONTINUOUS */
fp               1045 sound/usb/stream.c 		fp->rate_min = UAC3_BADD_SAMPLING_RATE;
fp               1046 sound/usb/stream.c 		fp->rate_max = UAC3_BADD_SAMPLING_RATE;
fp               1047 sound/usb/stream.c 		fp->rates = SNDRV_PCM_RATE_CONTINUOUS;
fp               1051 sound/usb/stream.c 			audioformat_free(fp);
fp               1060 sound/usb/stream.c 		fp->attributes = parse_uac_endpoint_attributes(chip, alts,
fp               1068 sound/usb/stream.c 		if (snd_usb_parse_audio_format_v3(chip, fp, as, stream) < 0) {
fp               1070 sound/usb/stream.c 			audioformat_free(fp);
fp               1078 sound/usb/stream.c 	return fp;
fp               1090 sound/usb/stream.c 	struct audioformat *fp = NULL;
fp               1161 sound/usb/stream.c 			    fp && fp->altsetting == 1 && fp->channels == 1 &&
fp               1162 sound/usb/stream.c 			    fp->formats == SNDRV_PCM_FMTBIT_S16_LE &&
fp               1165 sound/usb/stream.c 							fp->maxpacksize * 2)
fp               1168 sound/usb/stream.c 			fp = snd_usb_get_audioformat_uac12(chip, alts, protocol,
fp               1174 sound/usb/stream.c 			fp = snd_usb_get_audioformat_uac3(chip, alts, &pd,
fp               1179 sound/usb/stream.c 		if (!fp)
fp               1181 sound/usb/stream.c 		else if (IS_ERR(fp))
fp               1182 sound/usb/stream.c 			return PTR_ERR(fp);
fp               1184 sound/usb/stream.c 		if (fp->fmt_type != UAC_FORMAT_TYPE_I)
fp               1186 sound/usb/stream.c 		if ((fp->fmt_type == UAC_FORMAT_TYPE_I) == non_pcm) {
fp               1187 sound/usb/stream.c 			audioformat_free(fp);
fp               1189 sound/usb/stream.c 			fp = NULL;
fp               1194 sound/usb/stream.c 		dev_dbg(&dev->dev, "%u:%d: add audio endpoint %#x\n", iface_no, altno, fp->endpoint);
fp               1196 sound/usb/stream.c 			err = snd_usb_add_audio_stream_v3(chip, stream, fp, pd);
fp               1198 sound/usb/stream.c 			err = snd_usb_add_audio_stream(chip, stream, fp);
fp               1201 sound/usb/stream.c 			audioformat_free(fp);
fp               1207 sound/usb/stream.c 		snd_usb_init_pitch(chip, iface_no, alts, fp);
fp               1208 sound/usb/stream.c 		snd_usb_init_sample_rate(chip, iface_no, alts, fp, fp->rate_max);
fp                 10 sound/usb/stream.h 			     struct audioformat *fp);
fp                196 tools/arch/s390/include/uapi/asm/ptrace.h 	} fp;
fp                 26 tools/bpf/bpf_asm.c extern void bpf_asm_compile(FILE *fp, bool cstyle);
fp                 30 tools/bpf/bpf_asm.c 	FILE *fp = stdin;
fp                 40 tools/bpf/bpf_asm.c 		fp = fopen(argv[i], "r");
fp                 41 tools/bpf/bpf_asm.c 		if (!fp) {
fp                 42 tools/bpf/bpf_asm.c 			fp = stdin;
fp                 49 tools/bpf/bpf_asm.c 	bpf_asm_compile(fp, cstyle);
fp                 42 tools/bpf/bpf_exp.y extern void bpf_asm_compile(FILE *fp, bool cstyle);
fp                634 tools/bpf/bpf_exp.y void bpf_asm_compile(FILE *fp, bool cstyle)
fp                636 tools/bpf/bpf_exp.y 	yyin = fp;
fp                648 tools/bpf/bpf_exp.y 	if (fp != stdin)
fp                240 tools/bpf/bpftool/main.c 	FILE *fp;
fp                258 tools/bpf/bpftool/main.c 		fp = stdin;
fp                260 tools/bpf/bpftool/main.c 		fp = fopen(*argv, "r");
fp                261 tools/bpf/bpftool/main.c 	if (!fp) {
fp                268 tools/bpf/bpftool/main.c 	while (fgets(buf, sizeof(buf), fp)) {
fp                282 tools/bpf/bpftool/main.c 			if (!fgets(contline, sizeof(contline), fp) ||
fp                339 tools/bpf/bpftool/main.c 	if (fp != stdin)
fp                340 tools/bpf/bpftool/main.c 		fclose(fp);
fp                 70 tools/bpf/bpftool/tracelog.c 	FILE *fp;
fp                 76 tools/bpf/bpftool/tracelog.c 	fp = fopen("/proc/mounts", "r");
fp                 77 tools/bpf/bpftool/tracelog.c 	if (!fp)
fp                 83 tools/bpf/bpftool/tracelog.c 	while (fscanf(fp, format, mnt, type) == 2)
fp                 88 tools/bpf/bpftool/tracelog.c 	fclose(fp);
fp                 28 tools/bpf/bpftool/xlated_dumper.c 	FILE *fp;
fp                 30 tools/bpf/bpftool/xlated_dumper.c 	fp = fopen("/proc/kallsyms", "r");
fp                 31 tools/bpf/bpftool/xlated_dumper.c 	if (!fp)
fp                 34 tools/bpf/bpftool/xlated_dumper.c 	while (fgets(buff, sizeof(buff), fp)) {
fp                 41 tools/bpf/bpftool/xlated_dumper.c 			fclose(fp);
fp                 59 tools/bpf/bpftool/xlated_dumper.c 	fclose(fp);
fp                337 tools/iio/iio_generic_buffer.c 	int fp = -1;
fp                629 tools/iio/iio_generic_buffer.c 	fp = open(buffer_access, O_RDONLY | O_NONBLOCK);
fp                630 tools/iio/iio_generic_buffer.c 	if (fp == -1) { /* TODO: If it isn't there make the node */
fp                639 tools/iio/iio_generic_buffer.c 				.fd = fp,
fp                657 tools/iio/iio_generic_buffer.c 		read_size = read(fp, data, toread * scan_size);
fp                674 tools/iio/iio_generic_buffer.c 	if (fp >= 0 && close(fp) == -1)
fp                119 tools/lib/api/fd/array.c int fdarray__fprintf(struct fdarray *fda, FILE *fp)
fp                121 tools/lib/api/fd/array.c 	int fd, printed = fprintf(fp, "%d [ ", fda->nr);
fp                124 tools/lib/api/fd/array.c 		printed += fprintf(fp, "%s%d", fd ? ", " : "", fda->entries[fd].fd);
fp                126 tools/lib/api/fd/array.c 	return printed + fprintf(fp, " ]");
fp                 42 tools/lib/api/fd/array.h int fdarray__fprintf(struct fdarray *fda, FILE *fp);
fp                146 tools/lib/api/fs/fs.c 	FILE *fp;
fp                148 tools/lib/api/fs/fs.c 	fp = fopen("/proc/mounts", "r");
fp                149 tools/lib/api/fs/fs.c 	if (fp == NULL)
fp                153 tools/lib/api/fs/fs.c 	       fscanf(fp, "%*s %" STR(PATH_MAX) "s %99s %*s %*d %*d\n",
fp                160 tools/lib/api/fs/fs.c 	fclose(fp);
fp                229 tools/lib/traceevent/trace-seq.c int trace_seq_do_fprintf(struct trace_seq *s, FILE *fp)
fp                235 tools/lib/traceevent/trace-seq.c 		return fprintf(fp, "%.*s", s->len, s->buffer);
fp                237 tools/lib/traceevent/trace-seq.c 		fprintf(fp, "%s\n", "Usage of trace_seq after it was destroyed");
fp                240 tools/lib/traceevent/trace-seq.c 		fprintf(fp, "%s\n", "Can't allocate trace_seq buffer memory");
fp                 52 tools/lib/traceevent/trace-seq.h extern int trace_seq_do_fprintf(struct trace_seq *s, FILE *fp);
fp                295 tools/perf/builtin-buildid-cache.c static int build_id_cache__fprintf_missing(struct perf_session *session, FILE *fp)
fp                297 tools/perf/builtin-buildid-cache.c 	perf_session__fprintf_dsos_buildid(session, fp, dso__missing_buildid_cache, 0);
fp                 23 tools/perf/builtin-buildid-list.c static int sysfs__fprintf_build_id(FILE *fp)
fp                 32 tools/perf/builtin-buildid-list.c 	return fprintf(fp, "%s\n", sbuild_id);
fp                 35 tools/perf/builtin-buildid-list.c static int filename__fprintf_build_id(const char *name, FILE *fp)
fp                 44 tools/perf/builtin-buildid-list.c 	return fprintf(fp, "%s\n", sbuild_id);
fp                 42 tools/perf/builtin-config.c 	FILE *fp;
fp                 47 tools/perf/builtin-config.c 	fp = fopen(file_name, "w");
fp                 48 tools/perf/builtin-config.c 	if (!fp)
fp                 51 tools/perf/builtin-config.c 	fprintf(fp, "%s\n", first_line);
fp                 57 tools/perf/builtin-config.c 		fprintf(fp, "[%s]\n", section->name);
fp                 63 tools/perf/builtin-config.c 				fprintf(fp, "\t%s = %s\n",
fp                 67 tools/perf/builtin-config.c 	fclose(fp);
fp                417 tools/perf/builtin-report.c 					      const char *evname, FILE *fp)
fp                456 tools/perf/builtin-report.c 	ret = fprintf(fp, "# Samples: %lu%c", nr_samples, unit);
fp                458 tools/perf/builtin-report.c 		ret += fprintf(fp, " of event%s '%s'",
fp                463 tools/perf/builtin-report.c 		ret += fprintf(fp, " (time slices: %s)", rep->time_str);
fp                467 tools/perf/builtin-report.c 		ret += fprintf(fp, ", show reference callgraph");
fp                471 tools/perf/builtin-report.c 		ret += fprintf(fp, "\n# Total weight : %" PRIu64, nr_events);
fp                472 tools/perf/builtin-report.c 		ret += fprintf(fp, "\n# Sort order   : %s", sort_order ? : default_mem_sort_order);
fp                474 tools/perf/builtin-report.c 		ret += fprintf(fp, "\n# Event count (approx.): %" PRIu64, nr_events);
fp                477 tools/perf/builtin-report.c 		ret += fprintf(fp, "\n# Processor Socket: %d", socked_id);
fp                479 tools/perf/builtin-report.c 	return ret + fprintf(fp, "\n#\n");
fp                726 tools/perf/builtin-report.c static size_t maps__fprintf_task(struct maps *maps, int indent, FILE *fp)
fp                734 tools/perf/builtin-report.c 		printed += fprintf(fp, "%*s  %" PRIx64 "-%" PRIx64 " %c%c%c%c %08" PRIx64 " %" PRIu64 " %s\n",
fp                747 tools/perf/builtin-report.c static int map_groups__fprintf_task(struct map_groups *mg, int indent, FILE *fp)
fp                749 tools/perf/builtin-report.c 	return maps__fprintf_task(&mg->maps, indent, fp);
fp                752 tools/perf/builtin-report.c static void task__print_level(struct task *task, FILE *fp, int level)
fp                756 tools/perf/builtin-report.c 	int comm_indent = fprintf(fp, "  %8d %8d %8d |%*s",
fp                760 tools/perf/builtin-report.c 	fprintf(fp, "%s\n", thread__comm_str(thread));
fp                762 tools/perf/builtin-report.c 	map_groups__fprintf_task(thread->mg, comm_indent, fp);
fp                766 tools/perf/builtin-report.c 			task__print_level(child, fp, level + 1);
fp                770 tools/perf/builtin-report.c static int tasks_print(struct report *rep, FILE *fp)
fp                828 tools/perf/builtin-report.c 	fprintf(fp, "# %8s %8s %8s  %s\n", "pid", "tid", "ppid", "comm");
fp                831 tools/perf/builtin-report.c 		task__print_level(task, fp, 0);
fp               2745 tools/perf/builtin-sched.c static size_t callchain__fprintf_folded(FILE *fp, struct callchain_node *node)
fp               2756 tools/perf/builtin-sched.c 	ret = callchain__fprintf_folded(fp, node->parent);
fp               2764 tools/perf/builtin-sched.c 		ret += fprintf(fp, "%s%s", first ? "" : sep,
fp               2776 tools/perf/builtin-sched.c 	FILE *fp = stdout;
fp               2788 tools/perf/builtin-sched.c 		ret += fprintf(fp, "  ");
fp               2791 tools/perf/builtin-sched.c 		ret += fprintf(fp, " %8d  ", chain->count);
fp               2792 tools/perf/builtin-sched.c 		ret += callchain__fprintf_folded(fp, chain);
fp               2793 tools/perf/builtin-sched.c 		ret += fprintf(fp, "\n");
fp                256 tools/perf/builtin-script.c        FILE *fp;
fp                276 tools/perf/builtin-script.c 		es->fp = fopen(es->filename, "w");
fp                277 tools/perf/builtin-script.c 		if (es->fp == NULL)
fp                292 tools/perf/builtin-script.c 	fclose(es->fp);
fp                293 tools/perf/builtin-script.c 	es->fp = NULL;
fp                297 tools/perf/builtin-script.c static int perf_evsel_script__fprintf(struct evsel_script *es, FILE *fp)
fp                301 tools/perf/builtin-script.c 	fstat(fileno(es->fp), &st);
fp                302 tools/perf/builtin-script.c 	return fprintf(fp, "[ perf script: Wrote %.3f MB %s (%" PRIu64 " samples) ]\n",
fp                589 tools/perf/builtin-script.c 				     FILE *fp
fp                598 tools/perf/builtin-script.c 	printed += fprintf(fp, " ABI:%" PRIu64 " ", regs->abi);
fp                602 tools/perf/builtin-script.c 		printed += fprintf(fp, "%5s:0x%"PRIx64" ", perf_reg_name(r), val);
fp                605 tools/perf/builtin-script.c 	fprintf(fp, "\n");
fp                611 tools/perf/builtin-script.c 				      struct perf_event_attr *attr, FILE *fp)
fp                614 tools/perf/builtin-script.c 					 attr->sample_regs_intr, fp);
fp                618 tools/perf/builtin-script.c 				      struct perf_event_attr *attr, FILE *fp)
fp                621 tools/perf/builtin-script.c 					 attr->sample_regs_user, fp);
fp                627 tools/perf/builtin-script.c 				      u32 type, FILE *fp)
fp                636 tools/perf/builtin-script.c 			printed += fprintf(fp, "%8.8s ", thread__comm_str(thread));
fp                638 tools/perf/builtin-script.c 			printed += fprintf(fp, "%s ", thread__comm_str(thread));
fp                640 tools/perf/builtin-script.c 			printed += fprintf(fp, "%16s ", thread__comm_str(thread));
fp                644 tools/perf/builtin-script.c 		printed += fprintf(fp, "%5d/%-5d ", sample->pid, sample->tid);
fp                646 tools/perf/builtin-script.c 		printed += fprintf(fp, "%5d ", sample->pid);
fp                648 tools/perf/builtin-script.c 		printed += fprintf(fp, "%5d ", sample->tid);
fp                652 tools/perf/builtin-script.c 			printed += fprintf(fp, "%3d ", sample->cpu);
fp                654 tools/perf/builtin-script.c 			printed += fprintf(fp, "[%03d] ", sample->cpu);
fp                664 tools/perf/builtin-script.c 			ret += fprintf(fp, "K");
fp                666 tools/perf/builtin-script.c 			ret += fprintf(fp, "U");
fp                668 tools/perf/builtin-script.c 			ret += fprintf(fp, "H");
fp                670 tools/perf/builtin-script.c 			ret += fprintf(fp, "G");
fp                672 tools/perf/builtin-script.c 			ret += fprintf(fp, "g");
fp                678 tools/perf/builtin-script.c 				ret += fprintf(fp, "M");
fp                682 tools/perf/builtin-script.c 				ret += fprintf(fp, "E");
fp                687 tools/perf/builtin-script.c 				ret += fprintf(fp, "S");
fp                689 tools/perf/builtin-script.c 					ret += fprintf(fp, "p");
fp                697 tools/perf/builtin-script.c 		ret += fprintf(fp, "%*s", 6 - ret, " ");
fp                713 tools/perf/builtin-script.c 			printed += fprintf(fp, "%5lu.%09llu: ", secs, nsecs);
fp                717 tools/perf/builtin-script.c 			printed += fprintf(fp, "%12s: ", sample_time);
fp                735 tools/perf/builtin-script.c 					struct perf_event_attr *attr, FILE *fp)
fp                756 tools/perf/builtin-script.c 		printed += fprintf(fp, " 0x%"PRIx64, from);
fp                758 tools/perf/builtin-script.c 			printed += fprintf(fp, "(");
fp                759 tools/perf/builtin-script.c 			printed += map__fprintf_dsoname(alf.map, fp);
fp                760 tools/perf/builtin-script.c 			printed += fprintf(fp, ")");
fp                763 tools/perf/builtin-script.c 		printed += fprintf(fp, "/0x%"PRIx64, to);
fp                765 tools/perf/builtin-script.c 			printed += fprintf(fp, "(");
fp                766 tools/perf/builtin-script.c 			printed += map__fprintf_dsoname(alt.map, fp);
fp                767 tools/perf/builtin-script.c 			printed += fprintf(fp, ")");
fp                770 tools/perf/builtin-script.c 		printed += fprintf(fp, "/%c/%c/%c/%d ",
fp                782 tools/perf/builtin-script.c 					   struct perf_event_attr *attr, FILE *fp)
fp                802 tools/perf/builtin-script.c 		printed += symbol__fprintf_symname_offs(alf.sym, &alf, fp);
fp                804 tools/perf/builtin-script.c 			printed += fprintf(fp, "(");
fp                805 tools/perf/builtin-script.c 			printed += map__fprintf_dsoname(alf.map, fp);
fp                806 tools/perf/builtin-script.c 			printed += fprintf(fp, ")");
fp                808 tools/perf/builtin-script.c 		printed += fprintf(fp, "%c", '/');
fp                809 tools/perf/builtin-script.c 		printed += symbol__fprintf_symname_offs(alt.sym, &alt, fp);
fp                811 tools/perf/builtin-script.c 			printed += fprintf(fp, "(");
fp                812 tools/perf/builtin-script.c 			printed += map__fprintf_dsoname(alt.map, fp);
fp                813 tools/perf/builtin-script.c 			printed += fprintf(fp, ")");
fp                815 tools/perf/builtin-script.c 		printed += fprintf(fp, "/%c/%c/%c/%d ",
fp                827 tools/perf/builtin-script.c 					   struct perf_event_attr *attr, FILE *fp)
fp                852 tools/perf/builtin-script.c 		printed += fprintf(fp, " 0x%"PRIx64, from);
fp                854 tools/perf/builtin-script.c 			printed += fprintf(fp, "(");
fp                855 tools/perf/builtin-script.c 			printed += map__fprintf_dsoname(alf.map, fp);
fp                856 tools/perf/builtin-script.c 			printed += fprintf(fp, ")");
fp                858 tools/perf/builtin-script.c 		printed += fprintf(fp, "/0x%"PRIx64, to);
fp                860 tools/perf/builtin-script.c 			printed += fprintf(fp, "(");
fp                861 tools/perf/builtin-script.c 			printed += map__fprintf_dsoname(alt.map, fp);
fp                862 tools/perf/builtin-script.c 			printed += fprintf(fp, ")");
fp                864 tools/perf/builtin-script.c 		printed += fprintf(fp, "/%c/%c/%c/%d ",
fp                953 tools/perf/builtin-script.c 			    int insn, FILE *fp, int *total_cycles)
fp                955 tools/perf/builtin-script.c 	int printed = fprintf(fp, "\t%016" PRIx64 "\t%-30s\t#%s%s%s%s", ip,
fp                963 tools/perf/builtin-script.c 		printed += fprintf(fp, " %d cycles [%d]", en->flags.cycles, *total_cycles);
fp                965 tools/perf/builtin-script.c 			printed += fprintf(fp, " %.2f IPC", (float)insn / en->flags.cycles);
fp                967 tools/perf/builtin-script.c 	return printed + fprintf(fp, "\n");
fp                972 tools/perf/builtin-script.c 			   struct perf_event_attr *attr, FILE *fp)
fp                996 tools/perf/builtin-script.c 	printed += fprintf(fp, "\t%s", al.sym->name);
fp                998 tools/perf/builtin-script.c 		printed += fprintf(fp, "%+d", off);
fp                999 tools/perf/builtin-script.c 	printed += fprintf(fp, ":");
fp               1001 tools/perf/builtin-script.c 		printed += map__fprintf_srcline(al.map, al.addr, "\t", fp);
fp               1002 tools/perf/builtin-script.c 	printed += fprintf(fp, "\n");
fp               1011 tools/perf/builtin-script.c 					    struct machine *machine, FILE *fp)
fp               1031 tools/perf/builtin-script.c 	printed += fprintf(fp, "%c", '\n');
fp               1039 tools/perf/builtin-script.c 					   x.cpumode, x.cpu, &lastsym, attr, fp);
fp               1041 tools/perf/builtin-script.c 					    &x, buffer, len, 0, fp, &total_cycles);
fp               1069 tools/perf/builtin-script.c 			printed += ip__fprintf_sym(ip, thread, x.cpumode, x.cpu, &lastsym, attr, fp);
fp               1071 tools/perf/builtin-script.c 				printed += ip__fprintf_jump(ip, &br->entries[i], &x, buffer + off, len - off, ++insn, fp,
fp               1078 tools/perf/builtin-script.c 				printed += fprintf(fp, "\t%016" PRIx64 "\t%s\n", ip,
fp               1088 tools/perf/builtin-script.c 			printed += fprintf(fp, "\tmismatch of LBR data and executable\n");
fp               1115 tools/perf/builtin-script.c 	printed += ip__fprintf_sym(start, thread, x.cpumode, x.cpu, &lastsym, attr, fp);
fp               1122 tools/perf/builtin-script.c 		printed += fprintf(fp, "\t%016" PRIx64 "\t%s\n", sample->ip,
fp               1130 tools/perf/builtin-script.c 		printed += fprintf(fp, "\t%016" PRIx64 "\t%s\n", start + off,
fp               1138 tools/perf/builtin-script.c 			printed += fprintf(fp, "\t... not reaching sample ...\n");
fp               1150 tools/perf/builtin-script.c 				     struct perf_event_attr *attr, FILE *fp)
fp               1153 tools/perf/builtin-script.c 	int printed = fprintf(fp, "%16" PRIx64, sample->addr);
fp               1161 tools/perf/builtin-script.c 		printed += fprintf(fp, " ");
fp               1163 tools/perf/builtin-script.c 			printed += symbol__fprintf_symname_offs(al.sym, &al, fp);
fp               1165 tools/perf/builtin-script.c 			printed += symbol__fprintf_symname(al.sym, fp);
fp               1169 tools/perf/builtin-script.c 		printed += fprintf(fp, " (");
fp               1170 tools/perf/builtin-script.c 		printed += map__fprintf_dsoname(al.map, fp);
fp               1171 tools/perf/builtin-script.c 		printed += fprintf(fp, ")");
fp               1209 tools/perf/builtin-script.c 					   struct addr_location *al, FILE *fp)
fp               1229 tools/perf/builtin-script.c 		dlen += fprintf(fp, "(");
fp               1230 tools/perf/builtin-script.c 		dlen += map__fprintf_dsoname(al->map, fp);
fp               1231 tools/perf/builtin-script.c 		dlen += fprintf(fp, ")\t");
fp               1235 tools/perf/builtin-script.c 		len = fprintf(fp, "%*s%s", (int)depth * 4, "", name);
fp               1237 tools/perf/builtin-script.c 		len = fprintf(fp, "%*s%16" PRIx64, (int)depth * 4, "", ip);
fp               1250 tools/perf/builtin-script.c 		len += fprintf(fp, "%*s", spacing - len, "");
fp               1264 tools/perf/builtin-script.c 				     struct machine *machine, FILE *fp)
fp               1272 tools/perf/builtin-script.c 		printed += fprintf(fp, " ilen: %d", sample->insn_len);
fp               1276 tools/perf/builtin-script.c 		printed += fprintf(fp, " insn:");
fp               1278 tools/perf/builtin-script.c 			printed += fprintf(fp, " %02x", (unsigned char)sample->insn[i]);
fp               1281 tools/perf/builtin-script.c 		printed += perf_sample__fprintf_brstackinsn(sample, thread, attr, machine, fp);
fp               1287 tools/perf/builtin-script.c 				    struct perf_event_attr *attr, FILE *fp)
fp               1296 tools/perf/builtin-script.c 	return fprintf(fp, " \t IPC: %u.%02u (%" PRIu64 "/%" PRIu64 ") ",
fp               1304 tools/perf/builtin-script.c 				    struct machine *machine, FILE *fp)
fp               1312 tools/perf/builtin-script.c 		printed += perf_sample__fprintf_callindent(sample, evsel, thread, al, fp);
fp               1325 tools/perf/builtin-script.c 			printed += fprintf(fp, " ");
fp               1331 tools/perf/builtin-script.c 			printed += fprintf(fp, "\n");
fp               1334 tools/perf/builtin-script.c 					       symbol_conf.bt_stop_list, fp);
fp               1341 tools/perf/builtin-script.c 		printed += fprintf(fp, " => ");
fp               1342 tools/perf/builtin-script.c 		printed += perf_sample__fprintf_addr(sample, thread, attr, fp);
fp               1345 tools/perf/builtin-script.c 	printed += perf_sample__fprintf_ipc(sample, attr, fp);
fp               1348 tools/perf/builtin-script.c 		printed += map__fprintf_srcline(al->map, al->addr, "\n  ", fp);
fp               1350 tools/perf/builtin-script.c 	printed += perf_sample__fprintf_insn(sample, attr, thread, machine, fp);
fp               1351 tools/perf/builtin-script.c 	printed += fprintf(fp, "\n");
fp               1395 tools/perf/builtin-script.c static int perf_sample__fprintf_flags(u32 flags, FILE *fp)
fp               1406 tools/perf/builtin-script.c 		return fprintf(fp, "  %-15s%4s ", name, in_tx ? "(x)" : "");
fp               1411 tools/perf/builtin-script.c 			return fprintf(fp, "  tr strt %-7s%4s ", name, in_tx ? "(x)" : "");
fp               1417 tools/perf/builtin-script.c 			return fprintf(fp, "  tr end  %-7s%4s ", name, in_tx ? "(x)" : "");
fp               1430 tools/perf/builtin-script.c 	return fprintf(fp, "  %-19s ", str);
fp               1441 tools/perf/builtin-script.c 				      void *extra, FILE *fp)
fp               1449 tools/perf/builtin-script.c 		printed += fprintf(fp, "\n");
fp               1452 tools/perf/builtin-script.c 		printed += fprintf(fp, "%17s", !printer_data->line_no ? "BPF output:" :
fp               1456 tools/perf/builtin-script.c 		printed += fprintf(fp, " %04x:", val);
fp               1459 tools/perf/builtin-script.c 		printed += fprintf(fp, " %02x", val);
fp               1462 tools/perf/builtin-script.c 		printed += fprintf(fp, "   ");
fp               1465 tools/perf/builtin-script.c 		printed += fprintf(fp, "  ");
fp               1472 tools/perf/builtin-script.c 			printed += fprintf(fp, "%c", '.');
fp               1482 tools/perf/builtin-script.c 			printed += fprintf(fp, "%c", ch);
fp               1486 tools/perf/builtin-script.c 		printed += fprintf(fp, " ");
fp               1489 tools/perf/builtin-script.c 		printed += fprintf(fp, "\n");
fp               1500 tools/perf/builtin-script.c static int perf_sample__fprintf_bpf_output(struct perf_sample *sample, FILE *fp)
fp               1505 tools/perf/builtin-script.c 				      sample__fprintf_bpf_output, &printer_data, fp);
fp               1508 tools/perf/builtin-script.c 		printed += fprintf(fp, "%17s \"%s\"\n", "BPF string:", (char *)(sample->raw_data));
fp               1513 tools/perf/builtin-script.c static int perf_sample__fprintf_spacing(int len, int spacing, FILE *fp)
fp               1516 tools/perf/builtin-script.c 		return fprintf(fp, "%*s", spacing - len, "");
fp               1521 tools/perf/builtin-script.c static int perf_sample__fprintf_pt_spacing(int len, FILE *fp)
fp               1523 tools/perf/builtin-script.c 	return perf_sample__fprintf_spacing(len, 34, fp);
fp               1526 tools/perf/builtin-script.c static int perf_sample__fprintf_synth_ptwrite(struct perf_sample *sample, FILE *fp)
fp               1534 tools/perf/builtin-script.c 	len = fprintf(fp, " IP: %u payload: %#" PRIx64 " ",
fp               1536 tools/perf/builtin-script.c 	return len + perf_sample__fprintf_pt_spacing(len, fp);
fp               1539 tools/perf/builtin-script.c static int perf_sample__fprintf_synth_mwait(struct perf_sample *sample, FILE *fp)
fp               1547 tools/perf/builtin-script.c 	len = fprintf(fp, " hints: %#x extensions: %#x ",
fp               1549 tools/perf/builtin-script.c 	return len + perf_sample__fprintf_pt_spacing(len, fp);
fp               1552 tools/perf/builtin-script.c static int perf_sample__fprintf_synth_pwre(struct perf_sample *sample, FILE *fp)
fp               1560 tools/perf/builtin-script.c 	len = fprintf(fp, " hw: %u cstate: %u sub-cstate: %u ",
fp               1562 tools/perf/builtin-script.c 	return len + perf_sample__fprintf_pt_spacing(len, fp);
fp               1565 tools/perf/builtin-script.c static int perf_sample__fprintf_synth_exstop(struct perf_sample *sample, FILE *fp)
fp               1573 tools/perf/builtin-script.c 	len = fprintf(fp, " IP: %u ", data->ip);
fp               1574 tools/perf/builtin-script.c 	return len + perf_sample__fprintf_pt_spacing(len, fp);
fp               1577 tools/perf/builtin-script.c static int perf_sample__fprintf_synth_pwrx(struct perf_sample *sample, FILE *fp)
fp               1585 tools/perf/builtin-script.c 	len = fprintf(fp, " deepest cstate: %u last cstate: %u wake reason: %#x ",
fp               1588 tools/perf/builtin-script.c 	return len + perf_sample__fprintf_pt_spacing(len, fp);
fp               1591 tools/perf/builtin-script.c static int perf_sample__fprintf_synth_cbr(struct perf_sample *sample, FILE *fp)
fp               1601 tools/perf/builtin-script.c 	len = fprintf(fp, " cbr: %2u freq: %4u MHz ", data->cbr, freq);
fp               1604 tools/perf/builtin-script.c 		len += fprintf(fp, "(%3u%%) ", percent);
fp               1606 tools/perf/builtin-script.c 	return len + perf_sample__fprintf_pt_spacing(len, fp);
fp               1610 tools/perf/builtin-script.c 				      struct evsel *evsel, FILE *fp)
fp               1614 tools/perf/builtin-script.c 		return perf_sample__fprintf_synth_ptwrite(sample, fp);
fp               1616 tools/perf/builtin-script.c 		return perf_sample__fprintf_synth_mwait(sample, fp);
fp               1618 tools/perf/builtin-script.c 		return perf_sample__fprintf_synth_pwre(sample, fp);
fp               1620 tools/perf/builtin-script.c 		return perf_sample__fprintf_synth_exstop(sample, fp);
fp               1622 tools/perf/builtin-script.c 		return perf_sample__fprintf_synth_pwrx(sample, fp);
fp               1624 tools/perf/builtin-script.c 		return perf_sample__fprintf_synth_cbr(sample, fp);
fp               1668 tools/perf/builtin-script.c static int data_src__fprintf(u64 data_src, FILE *fp)
fp               1682 tools/perf/builtin-script.c 	return fprintf(fp, "%-*s", maxlen, out);
fp               1689 tools/perf/builtin-script.c 	FILE 			*fp;
fp               1702 tools/perf/builtin-script.c 				   PERF_RECORD_SAMPLE, mctx->fp);
fp               1703 tools/perf/builtin-script.c 	fputs("\tmetric: ", mctx->fp);
fp               1705 tools/perf/builtin-script.c 		color_fprintf(mctx->fp, color, fmt, val);
fp               1708 tools/perf/builtin-script.c 	fprintf(mctx->fp, " %s\n", unit);
fp               1717 tools/perf/builtin-script.c 				   PERF_RECORD_SAMPLE, mctx->fp);
fp               1718 tools/perf/builtin-script.c 	fputs("\tmetric: ", mctx->fp);
fp               1725 tools/perf/builtin-script.c 				       FILE *fp)
fp               1734 tools/perf/builtin-script.c 				.fp     = fp,
fp               1814 tools/perf/builtin-script.c 	FILE *fp = es->fp;
fp               1828 tools/perf/builtin-script.c 				   PERF_RECORD_SAMPLE, fp);
fp               1831 tools/perf/builtin-script.c 		fprintf(fp, "%10" PRIu64 " ", sample->period);
fp               1839 tools/perf/builtin-script.c 		fprintf(fp, "%*s: ", script->name_width, evname ?: "[unknown]");
fp               1843 tools/perf/builtin-script.c 		perf_sample__fprintf_flags(sample->flags, fp);
fp               1846 tools/perf/builtin-script.c 		perf_sample__fprintf_bts(sample, evsel, thread, al, machine, fp);
fp               1852 tools/perf/builtin-script.c 				      sample->raw_data, sample->raw_size, fp);
fp               1856 tools/perf/builtin-script.c 		perf_sample__fprintf_synth(sample, evsel, fp);
fp               1859 tools/perf/builtin-script.c 		perf_sample__fprintf_addr(sample, thread, attr, fp);
fp               1862 tools/perf/builtin-script.c 		data_src__fprintf(sample->data_src, fp);
fp               1865 tools/perf/builtin-script.c 		fprintf(fp, "%16" PRIu64, sample->weight);
fp               1875 tools/perf/builtin-script.c 		fputc(cursor ? '\n' : ' ', fp);
fp               1877 tools/perf/builtin-script.c 				    symbol_conf.bt_stop_list, fp);
fp               1881 tools/perf/builtin-script.c 		perf_sample__fprintf_iregs(sample, attr, fp);
fp               1884 tools/perf/builtin-script.c 		perf_sample__fprintf_uregs(sample, attr, fp);
fp               1887 tools/perf/builtin-script.c 		perf_sample__fprintf_brstack(sample, thread, attr, fp);
fp               1889 tools/perf/builtin-script.c 		perf_sample__fprintf_brstacksym(sample, thread, attr, fp);
fp               1891 tools/perf/builtin-script.c 		perf_sample__fprintf_brstackoff(sample, thread, attr, fp);
fp               1894 tools/perf/builtin-script.c 		perf_sample__fprintf_bpf_output(sample, fp);
fp               1895 tools/perf/builtin-script.c 	perf_sample__fprintf_insn(sample, attr, thread, machine, fp);
fp               1898 tools/perf/builtin-script.c 		fprintf(fp, "%16" PRIx64, sample->phys_addr);
fp               1900 tools/perf/builtin-script.c 	perf_sample__fprintf_ipc(sample, attr, fp);
fp               1902 tools/perf/builtin-script.c 	fprintf(fp, "\n");
fp               1911 tools/perf/builtin-script.c 		perf_sample__fprint_metric(script, thread, evsel, sample, fp);
fp               1914 tools/perf/builtin-script.c 		fflush(fp);
fp               2063 tools/perf/builtin-script.c 			es->fp = stdout;
fp               2456 tools/perf/builtin-script.c 	es_stdout.fp = stdout;
fp               2901 tools/perf/builtin-script.c 	FILE *fp;
fp               2903 tools/perf/builtin-script.c 	fp = fopen(filename, "r");
fp               2904 tools/perf/builtin-script.c 	if (!fp)
fp               2907 tools/perf/builtin-script.c 	while (fgets(line, sizeof(line), fp)) {
fp               2934 tools/perf/builtin-script.c 	fclose(fp);
fp               3027 tools/perf/builtin-script.c 	FILE *fp;
fp               3031 tools/perf/builtin-script.c 	fp = fopen(filename, "r");
fp               3032 tools/perf/builtin-script.c 	if (!fp)
fp               3035 tools/perf/builtin-script.c 	while (fgets(line, sizeof(line), fp)) {
fp               3062 tools/perf/builtin-script.c 				fclose(fp);
fp               3068 tools/perf/builtin-script.c 	fclose(fp);
fp               1025 tools/perf/builtin-trace.c static size_t fprintf_duration(unsigned long t, bool calculated, FILE *fp)
fp               1028 tools/perf/builtin-trace.c 	size_t printed = fprintf(fp, "(");
fp               1031 tools/perf/builtin-trace.c 		printed += fprintf(fp, "         ");
fp               1033 tools/perf/builtin-trace.c 		printed += color_fprintf(fp, PERF_COLOR_RED, "%6.3f ms", duration);
fp               1035 tools/perf/builtin-trace.c 		printed += color_fprintf(fp, PERF_COLOR_YELLOW, "%6.3f ms", duration);
fp               1037 tools/perf/builtin-trace.c 		printed += color_fprintf(fp, PERF_COLOR_NORMAL, "%6.3f ms", duration);
fp               1038 tools/perf/builtin-trace.c 	return printed + fprintf(fp, "): ");
fp               1083 tools/perf/builtin-trace.c static struct thread_trace *thread__trace(struct thread *thread, FILE *fp)
fp               1101 tools/perf/builtin-trace.c 	color_fprintf(fp, PERF_COLOR_RED,
fp               1302 tools/perf/builtin-trace.c static size_t __trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp)
fp               1306 tools/perf/builtin-trace.c 	return fprintf(fp, "%10.3f ", ts);
fp               1315 tools/perf/builtin-trace.c static size_t trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp)
fp               1318 tools/perf/builtin-trace.c 		return __trace__fprintf_tstamp(trace, tstamp, fp);
fp               1320 tools/perf/builtin-trace.c 	return fprintf(fp, "         ? ");
fp               1332 tools/perf/builtin-trace.c static size_t trace__fprintf_comm_tid(struct trace *trace, struct thread *thread, FILE *fp)
fp               1338 tools/perf/builtin-trace.c 			printed += fprintf(fp, "%.14s/", thread__comm_str(thread));
fp               1339 tools/perf/builtin-trace.c 		printed += fprintf(fp, "%d ", thread->tid);
fp               1346 tools/perf/builtin-trace.c 					u64 duration, bool duration_calculated, u64 tstamp, FILE *fp)
fp               1351 tools/perf/builtin-trace.c 		printed = trace__fprintf_tstamp(trace, tstamp, fp);
fp               1353 tools/perf/builtin-trace.c 		printed += fprintf_duration(duration, duration_calculated, fp);
fp               1354 tools/perf/builtin-trace.c 	return printed + trace__fprintf_comm_tid(trace, thread, fp);
fp               2318 tools/perf/builtin-trace.c 			       unsigned int val, void *extra __maybe_unused, FILE *fp)
fp               2324 tools/perf/builtin-trace.c 		return fprintf(fp, "%c", isprint(ch) ? ch : '.');
fp               2629 tools/perf/builtin-trace.c static size_t trace__fprintf_thread_summary(struct trace *trace, FILE *fp);
fp               3658 tools/perf/builtin-trace.c static size_t trace__fprintf_threads_header(FILE *fp)
fp               3662 tools/perf/builtin-trace.c 	printed  = fprintf(fp, "\n Summary of events:\n\n");
fp               3682 tools/perf/builtin-trace.c 				 struct trace *trace, FILE *fp)
fp               3692 tools/perf/builtin-trace.c 	printed += fprintf(fp, "\n");
fp               3694 tools/perf/builtin-trace.c 	printed += fprintf(fp, "   syscall            calls    total       min       avg       max      stddev\n");
fp               3695 tools/perf/builtin-trace.c 	printed += fprintf(fp, "                               (msec)    (msec)    (msec)    (msec)        (%%)\n");
fp               3696 tools/perf/builtin-trace.c 	printed += fprintf(fp, "   --------------- -------- --------- --------- --------- ---------     ------\n");
fp               3711 tools/perf/builtin-trace.c 			printed += fprintf(fp, "   %-15s", sc->name);
fp               3712 tools/perf/builtin-trace.c 			printed += fprintf(fp, " %8" PRIu64 " %9.3f %9.3f %9.3f",
fp               3714 tools/perf/builtin-trace.c 			printed += fprintf(fp, " %9.3f %9.2f%%\n", max, pct);
fp               3719 tools/perf/builtin-trace.c 	printed += fprintf(fp, "\n\n");
fp               3724 tools/perf/builtin-trace.c static size_t trace__fprintf_thread(FILE *fp, struct thread *thread, struct trace *trace)
fp               3735 tools/perf/builtin-trace.c 	printed += fprintf(fp, " %s (%d), ", thread__comm_str(thread), thread->tid);
fp               3736 tools/perf/builtin-trace.c 	printed += fprintf(fp, "%lu events, ", ttrace->nr_events);
fp               3737 tools/perf/builtin-trace.c 	printed += fprintf(fp, "%.1f%%", ratio);
fp               3739 tools/perf/builtin-trace.c 		printed += fprintf(fp, ", %lu majfaults", ttrace->pfmaj);
fp               3741 tools/perf/builtin-trace.c 		printed += fprintf(fp, ", %lu minfaults", ttrace->pfmin);
fp               3743 tools/perf/builtin-trace.c 		printed += fprintf(fp, ", %.3f msec\n", ttrace->runtime_ms);
fp               3744 tools/perf/builtin-trace.c 	else if (fputc('\n', fp) != EOF)
fp               3747 tools/perf/builtin-trace.c 	printed += thread__dump_stats(ttrace, trace, fp);
fp               3764 tools/perf/builtin-trace.c static size_t trace__fprintf_thread_summary(struct trace *trace, FILE *fp)
fp               3766 tools/perf/builtin-trace.c 	size_t printed = trace__fprintf_threads_header(fp);
fp               3774 tools/perf/builtin-trace.c 			fprintf(fp, "%s", "Error sorting output by nr_events!\n");
fp               3779 tools/perf/builtin-trace.c 			printed += trace__fprintf_thread(fp, threads_entry->thread, trace);
fp                251 tools/perf/jvmti/jvmti_agent.c 	FILE *fp;
fp                296 tools/perf/jvmti/jvmti_agent.c 	fp = fdopen(fd, "w+");
fp                297 tools/perf/jvmti/jvmti_agent.c 	if (!fp) {
fp                320 tools/perf/jvmti/jvmti_agent.c 	if (!fwrite(&header, sizeof(header), 1, fp)) {
fp                324 tools/perf/jvmti/jvmti_agent.c 	return fp;
fp                326 tools/perf/jvmti/jvmti_agent.c 	fclose(fp);
fp                334 tools/perf/jvmti/jvmti_agent.c 	FILE *fp = agent;
fp                336 tools/perf/jvmti/jvmti_agent.c 	if (!fp) {
fp                346 tools/perf/jvmti/jvmti_agent.c 	if (!fwrite(&rec, sizeof(rec), 1, fp))
fp                349 tools/perf/jvmti/jvmti_agent.c 	fclose(fp);
fp                351 tools/perf/jvmti/jvmti_agent.c 	fp = NULL;
fp                365 tools/perf/jvmti/jvmti_agent.c 	FILE *fp = agent;
fp                372 tools/perf/jvmti/jvmti_agent.c 	if (!fp) {
fp                396 tools/perf/jvmti/jvmti_agent.c 	flockfile(fp);
fp                403 tools/perf/jvmti/jvmti_agent.c 	ret = fwrite_unlocked(&rec, sizeof(rec), 1, fp);
fp                404 tools/perf/jvmti/jvmti_agent.c 	fwrite_unlocked(sym, sym_len, 1, fp);
fp                407 tools/perf/jvmti/jvmti_agent.c 		fwrite_unlocked(code, size, 1, fp);
fp                409 tools/perf/jvmti/jvmti_agent.c 	funlockfile(fp);
fp                424 tools/perf/jvmti/jvmti_agent.c 	FILE *fp = agent;
fp                433 tools/perf/jvmti/jvmti_agent.c 	if (!fp) {
fp                463 tools/perf/jvmti/jvmti_agent.c 	flockfile(fp);
fp                465 tools/perf/jvmti/jvmti_agent.c 	sret = fwrite_unlocked(&rec, sizeof(rec), 1, fp);
fp                473 tools/perf/jvmti/jvmti_agent.c 		sret = fwrite_unlocked(&addr, len, 1, fp);
fp                478 tools/perf/jvmti/jvmti_agent.c 		sret = fwrite_unlocked(&li[i].line_number, len, 1, fp);
fp                483 tools/perf/jvmti/jvmti_agent.c 		sret = fwrite_unlocked(&li[i].discrim, len, 1, fp);
fp                487 tools/perf/jvmti/jvmti_agent.c 		sret = fwrite_unlocked(file_names[i], strlen(file_names[i]) + 1, 1, fp);
fp                491 tools/perf/jvmti/jvmti_agent.c 	funlockfile(fp);
fp                494 tools/perf/jvmti/jvmti_agent.c 	funlockfile(fp);
fp                315 tools/perf/pmu-events/jevents.c static void print_events_table_prefix(FILE *fp, const char *tblname)
fp                317 tools/perf/pmu-events/jevents.c 	fprintf(fp, "struct pmu_event %s[] = {\n", tblname);
fp                430 tools/perf/tests/builtin-test.c 	FILE *fp;
fp                434 tools/perf/tests/builtin-test.c 	fp = fopen(filename, "r");
fp                435 tools/perf/tests/builtin-test.c 	if (!fp)
fp                439 tools/perf/tests/builtin-test.c 	while (fgetc(fp) != '\n');
fp                441 tools/perf/tests/builtin-test.c 	description = fgets(description, size, fp);
fp                442 tools/perf/tests/builtin-test.c 	fclose(fp);
fp                150 tools/perf/tests/dwarf-unwind.c 	void *fp = &bsearch;
fp                160 tools/perf/tests/dwarf-unwind.c 	_bsearch = fp;
fp                 19 tools/perf/tests/fdarray.c static int fdarray__fprintf_prefix(struct fdarray *fda, const char *prefix, FILE *fp)
fp                 26 tools/perf/tests/fdarray.c 	printed += fprintf(fp, "\n%s: ", prefix);
fp                 27 tools/perf/tests/fdarray.c 	return printed + fdarray__fprintf(fda, fp);
fp                102 tools/perf/ui/browsers/header.c 	FILE *fp = open_memstream(&ptr, &size);
fp                105 tools/perf/ui/browsers/header.c 	perf_header__fprintf_info(session, fp, true);
fp                106 tools/perf/ui/browsers/header.c 	fclose(fp);
fp                727 tools/perf/ui/browsers/hists.c 	FILE	*fp;
fp                771 tools/perf/ui/browsers/hists.c 	arg->printed += fprintf(arg->fp, "%*s%c %s\n", offset, " ",
fp               1982 tools/perf/ui/browsers/hists.c 					   struct hist_entry *he, FILE *fp,
fp               1986 tools/perf/ui/browsers/hists.c 		.fp = fp,
fp               1996 tools/perf/ui/browsers/hists.c 				       struct hist_entry *he, FILE *fp)
fp               2011 tools/perf/ui/browsers/hists.c 		printed += fprintf(fp, "%c ", folded_sign);
fp               2028 tools/perf/ui/browsers/hists.c 	printed += fprintf(fp, "%s\n", s);
fp               2031 tools/perf/ui/browsers/hists.c 		printed += hist_browser__fprintf_callchain(browser, he, fp, 1);
fp               2039 tools/perf/ui/browsers/hists.c 						 FILE *fp, int level)
fp               2054 tools/perf/ui/browsers/hists.c 	printed = fprintf(fp, "%*s", level * HIERARCHY_INDENT, "");
fp               2057 tools/perf/ui/browsers/hists.c 	printed += fprintf(fp, "%c", folded_sign);
fp               2085 tools/perf/ui/browsers/hists.c 	printed += fprintf(fp, "%s\n", s);
fp               2088 tools/perf/ui/browsers/hists.c 		printed += hist_browser__fprintf_callchain(browser, he, fp,
fp               2095 tools/perf/ui/browsers/hists.c static int hist_browser__fprintf(struct hist_browser *browser, FILE *fp)
fp               2106 tools/perf/ui/browsers/hists.c 									 h, fp,
fp               2109 tools/perf/ui/browsers/hists.c 			printed += hist_browser__fprintf_entry(browser, h, fp);
fp               2122 tools/perf/ui/browsers/hists.c 	FILE *fp;
fp               2137 tools/perf/ui/browsers/hists.c 	fp = fopen(filename, "w");
fp               2138 tools/perf/ui/browsers/hists.c 	if (fp == NULL) {
fp               2146 tools/perf/ui/browsers/hists.c 	hist_browser__fprintf(browser, fp);
fp               2147 tools/perf/ui/browsers/hists.c 	fclose(fp);
fp                 21 tools/perf/ui/stdio/hist.c static size_t callchain__fprintf_left_margin(FILE *fp, int left_margin)
fp                 24 tools/perf/ui/stdio/hist.c 	int ret = fprintf(fp, "            ");
fp                 27 tools/perf/ui/stdio/hist.c 		ret += fprintf(fp, " ");
fp                 32 tools/perf/ui/stdio/hist.c static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask,
fp                 36 tools/perf/ui/stdio/hist.c 	size_t ret = callchain__fprintf_left_margin(fp, left_margin);
fp                 40 tools/perf/ui/stdio/hist.c 			ret += fprintf(fp, "|          ");
fp                 42 tools/perf/ui/stdio/hist.c 			ret += fprintf(fp, "           ");
fp                 44 tools/perf/ui/stdio/hist.c 	ret += fprintf(fp, "\n");
fp                 49 tools/perf/ui/stdio/hist.c static size_t ipchain__fprintf_graph(FILE *fp, struct callchain_node *node,
fp                 60 tools/perf/ui/stdio/hist.c 	ret += callchain__fprintf_left_margin(fp, left_margin);
fp                 63 tools/perf/ui/stdio/hist.c 			ret += fprintf(fp, "|");
fp                 65 tools/perf/ui/stdio/hist.c 			ret += fprintf(fp, " ");
fp                 67 tools/perf/ui/stdio/hist.c 			ret += fprintf(fp, "--");
fp                 68 tools/perf/ui/stdio/hist.c 			ret += callchain_node__fprintf_value(node, fp, total_samples);
fp                 69 tools/perf/ui/stdio/hist.c 			ret += fprintf(fp, "--");
fp                 71 tools/perf/ui/stdio/hist.c 			ret += fprintf(fp, "%s", "          ");
fp                 86 tools/perf/ui/stdio/hist.c 	fputs(str, fp);
fp                 87 tools/perf/ui/stdio/hist.c 	fputc('\n', fp);
fp                108 tools/perf/ui/stdio/hist.c static size_t __callchain__fprintf_graph(FILE *fp, struct rb_root *root,
fp                149 tools/perf/ui/stdio/hist.c 		ret += ipchain__fprintf_graph_line(fp, depth, depth_mask,
fp                153 tools/perf/ui/stdio/hist.c 			ret += ipchain__fprintf_graph(fp, child, chain, depth,
fp                164 tools/perf/ui/stdio/hist.c 		ret += __callchain__fprintf_graph(fp, &child->rb_root, new_total,
fp                189 tools/perf/ui/stdio/hist.c 		ret += ipchain__fprintf_graph(fp, &rem_node, &rem_hits, depth,
fp                216 tools/perf/ui/stdio/hist.c static size_t callchain__fprintf_graph(FILE *fp, struct rb_root *root,
fp                243 tools/perf/ui/stdio/hist.c 				ret += callchain__fprintf_left_margin(fp, left_margin);
fp                244 tools/perf/ui/stdio/hist.c 				ret += fprintf(fp, "|\n");
fp                245 tools/perf/ui/stdio/hist.c 				ret += callchain__fprintf_left_margin(fp, left_margin);
fp                246 tools/perf/ui/stdio/hist.c 				ret += fprintf(fp, "---");
fp                250 tools/perf/ui/stdio/hist.c 				ret += callchain__fprintf_left_margin(fp, left_margin);
fp                252 tools/perf/ui/stdio/hist.c 			ret += fprintf(fp, "%s",
fp                259 tools/perf/ui/stdio/hist.c 						chain, fp, NULL, 0);
fp                260 tools/perf/ui/stdio/hist.c 			ret += fprintf(fp, "\n");
fp                271 tools/perf/ui/stdio/hist.c 	ret += __callchain__fprintf_graph(fp, root, total_samples,
fp                275 tools/perf/ui/stdio/hist.c 		ret += fprintf(fp, "\n");
fp                281 tools/perf/ui/stdio/hist.c static size_t __callchain__fprintf_flat(FILE *fp, struct callchain_node *node,
fp                291 tools/perf/ui/stdio/hist.c 	ret += __callchain__fprintf_flat(fp, node->parent, total_samples);
fp                297 tools/perf/ui/stdio/hist.c 		ret += fprintf(fp, "                %s\n", callchain_list__sym_name(chain,
fp                304 tools/perf/ui/stdio/hist.c static size_t callchain__fprintf_flat(FILE *fp, struct rb_root *tree,
fp                315 tools/perf/ui/stdio/hist.c 		ret += fprintf(fp, "           ");
fp                316 tools/perf/ui/stdio/hist.c 		ret += callchain_node__fprintf_value(chain, fp, total_samples);
fp                317 tools/perf/ui/stdio/hist.c 		ret += fprintf(fp, "\n");
fp                318 tools/perf/ui/stdio/hist.c 		ret += __callchain__fprintf_flat(fp, chain, total_samples);
fp                319 tools/perf/ui/stdio/hist.c 		ret += fprintf(fp, "\n");
fp                329 tools/perf/ui/stdio/hist.c static size_t __callchain__fprintf_folded(FILE *fp, struct callchain_node *node)
fp                340 tools/perf/ui/stdio/hist.c 	ret += __callchain__fprintf_folded(fp, node->parent);
fp                346 tools/perf/ui/stdio/hist.c 		ret += fprintf(fp, "%s%s", first ? "" : sep,
fp                355 tools/perf/ui/stdio/hist.c static size_t callchain__fprintf_folded(FILE *fp, struct rb_root *tree,
fp                367 tools/perf/ui/stdio/hist.c 		ret += callchain_node__fprintf_value(chain, fp, total_samples);
fp                368 tools/perf/ui/stdio/hist.c 		ret += fprintf(fp, " ");
fp                369 tools/perf/ui/stdio/hist.c 		ret += __callchain__fprintf_folded(fp, chain);
fp                370 tools/perf/ui/stdio/hist.c 		ret += fprintf(fp, "\n");
fp                382 tools/perf/ui/stdio/hist.c 					    FILE *fp)
fp                391 tools/perf/ui/stdio/hist.c 		return callchain__fprintf_graph(fp, &he->sorted_chain, total_samples,
fp                395 tools/perf/ui/stdio/hist.c 		return callchain__fprintf_graph(fp, &he->sorted_chain, total_samples,
fp                399 tools/perf/ui/stdio/hist.c 		return callchain__fprintf_flat(fp, &he->sorted_chain, total_samples);
fp                402 tools/perf/ui/stdio/hist.c 		return callchain__fprintf_folded(fp, &he->sorted_chain, total_samples);
fp                459 tools/perf/ui/stdio/hist.c 					 FILE *fp)
fp                503 tools/perf/ui/stdio/hist.c 	printed += fprintf(fp, "%s", buf);
fp                522 tools/perf/ui/stdio/hist.c 		printed += fprintf(fp, "%s%s", sep ?: "  ", skip_spaces(buf));
fp                524 tools/perf/ui/stdio/hist.c 	printed += putc('\n', fp);
fp                529 tools/perf/ui/stdio/hist.c 		printed += hist_entry_callchain__fprintf(he, total, 0, fp);
fp                539 tools/perf/ui/stdio/hist.c 				     FILE *fp)
fp                555 tools/perf/ui/stdio/hist.c 			ret += fprintf(fp, "%s\n", bf);
fp                562 tools/perf/ui/stdio/hist.c 			       char *bf, size_t bfsz, FILE *fp,
fp                578 tools/perf/ui/stdio/hist.c 		return hist_entry__hierarchy_fprintf(he, &hpp, hists, fp);
fp                581 tools/perf/ui/stdio/hist.c 		return hist_entry__block_fprintf(he, bf, size, fp);
fp                585 tools/perf/ui/stdio/hist.c 	ret = fprintf(fp, "%s\n", bf);
fp                589 tools/perf/ui/stdio/hist.c 							      0, fp);
fp                597 tools/perf/ui/stdio/hist.c 				  const char *line, FILE *fp)
fp                606 tools/perf/ui/stdio/hist.c 	return fprintf(fp, "%-*.*s", width, width, line);
fp                610 tools/perf/ui/stdio/hist.c 					    struct perf_hpp *hpp, FILE *fp)
fp                624 tools/perf/ui/stdio/hist.c 	print_hierarchy_indent(sep, indent, " ", fp);
fp                632 tools/perf/ui/stdio/hist.c 		fprintf(fp, "%s%s", hpp->buf, sep ?: "  ");
fp                639 tools/perf/ui/stdio/hist.c 			header_width += fprintf(fp, " / ");
fp                648 tools/perf/ui/stdio/hist.c 				header_width += fprintf(fp, "+");
fp                653 tools/perf/ui/stdio/hist.c 			header_width += fprintf(fp, "%s", strim(hpp->buf));
fp                657 tools/perf/ui/stdio/hist.c 	fprintf(fp, "\n# ");
fp                660 tools/perf/ui/stdio/hist.c 	print_hierarchy_indent(sep, indent, dots, fp);
fp                669 tools/perf/ui/stdio/hist.c 			fprintf(fp, "%s", sep ?: "..");
fp                673 tools/perf/ui/stdio/hist.c 		fprintf(fp, "%.*s", width, dots);
fp                698 tools/perf/ui/stdio/hist.c 	fprintf(fp, "%s%-.*s", sep ?: "  ", header_width, dots);
fp                700 tools/perf/ui/stdio/hist.c 	fprintf(fp, "\n#\n");
fp                706 tools/perf/ui/stdio/hist.c 			 int line, FILE *fp)
fp                718 tools/perf/ui/stdio/hist.c 			fprintf(fp, "%s", sep ?: "  ");
fp                725 tools/perf/ui/stdio/hist.c 			fprintf(fp, "%s", hpp->buf);
fp                732 tools/perf/ui/stdio/hist.c 				FILE *fp)
fp                744 tools/perf/ui/stdio/hist.c 			fprintf(fp, "# ");
fp                745 tools/perf/ui/stdio/hist.c 		fprintf_line(hists, hpp, line, fp);
fp                746 tools/perf/ui/stdio/hist.c 		fprintf(fp, "\n");
fp                754 tools/perf/ui/stdio/hist.c 	fprintf(fp, "# ");
fp                763 tools/perf/ui/stdio/hist.c 			fprintf(fp, "%s", sep ?: "  ");
fp                769 tools/perf/ui/stdio/hist.c 			fprintf(fp, ".");
fp                772 tools/perf/ui/stdio/hist.c 	fprintf(fp, "\n");
fp                773 tools/perf/ui/stdio/hist.c 	fprintf(fp, "#\n");
fp                777 tools/perf/ui/stdio/hist.c int hists__fprintf_headers(struct hists *hists, FILE *fp)
fp                785 tools/perf/ui/stdio/hist.c 	fprintf(fp, "# ");
fp                788 tools/perf/ui/stdio/hist.c 		return hists__fprintf_hierarchy_headers(hists, &dummy_hpp, fp);
fp                790 tools/perf/ui/stdio/hist.c 		return hists__fprintf_standard_headers(hists, &dummy_hpp, fp);
fp                795 tools/perf/ui/stdio/hist.c 		      int max_cols, float min_pcnt, FILE *fp,
fp                814 tools/perf/ui/stdio/hist.c 		nr_rows += hists__fprintf_headers(hists, fp);
fp                841 tools/perf/ui/stdio/hist.c 		ret += hist_entry__fprintf(h, max_cols, line, linesz, fp, ignore_callchains);
fp                853 tools/perf/ui/stdio/hist.c 			print_hierarchy_indent(sep, depth, " ", fp);
fp                854 tools/perf/ui/stdio/hist.c 			fprintf(fp, "%*sno entry >= %.2f%%\n", indent, "", min_pcnt);
fp                861 tools/perf/ui/stdio/hist.c 			map_groups__fprintf(h->thread->mg, fp);
fp                862 tools/perf/ui/stdio/hist.c 			fprintf(fp, "%.10s end\n", graph_dotted_line);
fp                873 tools/perf/ui/stdio/hist.c size_t events_stats__fprintf(struct events_stats *stats, FILE *fp)
fp                885 tools/perf/ui/stdio/hist.c 		ret += fprintf(fp, "%16s events: %10d\n", name, stats->nr_events[i]);
fp               2364 tools/perf/util/annotate.c static void FILE__set_percent_color(void *fp __maybe_unused,
fp               2370 tools/perf/util/annotate.c static int FILE__set_jumps_percent_color(void *fp __maybe_unused,
fp               2376 tools/perf/util/annotate.c static int FILE__set_color(void *fp __maybe_unused, int color __maybe_unused)
fp               2381 tools/perf/util/annotate.c static void FILE__printf(void *fp, const char *fmt, ...)
fp               2386 tools/perf/util/annotate.c 	vfprintf(fp, fmt, args);
fp               2390 tools/perf/util/annotate.c static void FILE__write_graph(void *fp, int graph)
fp               2402 tools/perf/util/annotate.c 	fputs(s, fp);
fp               2405 tools/perf/util/annotate.c static int symbol__annotate_fprintf2(struct symbol *sym, FILE *fp,
fp               2411 tools/perf/util/annotate.c 		.obj			 = fp,
fp               2424 tools/perf/util/annotate.c 		fputc('\n', fp);
fp               2438 tools/perf/util/annotate.c 	FILE *fp;
fp               2443 tools/perf/util/annotate.c 	fp = fopen(filename, "w");
fp               2444 tools/perf/util/annotate.c 	if (fp == NULL)
fp               2452 tools/perf/util/annotate.c 	fprintf(fp, "%s() %s\nEvent: %s\n\n",
fp               2454 tools/perf/util/annotate.c 	symbol__annotate_fprintf2(ms->sym, fp, opts);
fp               2456 tools/perf/util/annotate.c 	fclose(fp);
fp               2494 tools/perf/util/annotate.c static size_t disasm_line__fprintf(struct disasm_line *dl, FILE *fp)
fp               2499 tools/perf/util/annotate.c 		return fprintf(fp, "%s\n", dl->al.line);
fp               2501 tools/perf/util/annotate.c 	printed = fprintf(fp, "%#" PRIx64 " %s", dl->al.offset, dl->ins.name);
fp               2504 tools/perf/util/annotate.c 		printed += fprintf(fp, "%.*s %s\n", 6 - (int)printed, " ",
fp               2508 tools/perf/util/annotate.c 	return printed + fprintf(fp, "\n");
fp               2511 tools/perf/util/annotate.c size_t disasm__fprintf(struct list_head *head, FILE *fp)
fp               2517 tools/perf/util/annotate.c 		printed += disasm_line__fprintf(pos, fp);
fp                223 tools/perf/util/annotate.h size_t disasm__fprintf(struct list_head *head, FILE *fp);
fp               1172 tools/perf/util/auxtrace.c size_t perf_event__fprintf_auxtrace_error(union perf_event *event, FILE *fp)
fp               1179 tools/perf/util/auxtrace.c 	ret = fprintf(fp, " %s error type %u",
fp               1186 tools/perf/util/auxtrace.c 		ret += fprintf(fp, " time %lu.%09llu", secs, nsecs);
fp               1188 tools/perf/util/auxtrace.c 		ret += fprintf(fp, " time 0");
fp               1194 tools/perf/util/auxtrace.c 	ret += fprintf(fp, " cpu %d pid %d tid %d ip %#"PRI_lx64" code %u: %s\n",
fp                539 tools/perf/util/auxtrace.h size_t perf_event__fprintf_auxtrace_error(union perf_event *event, FILE *fp);
fp                444 tools/perf/util/bpf-event.c 				    FILE *fp)
fp                468 tools/perf/util/bpf-event.c 		fprintf(fp, "# bpf_prog_info %u: %s addr 0x%llx size %u\n",
fp                473 tools/perf/util/bpf-event.c 	fprintf(fp, "# bpf_prog_info %u:\n", info->id);
fp                477 tools/perf/util/bpf-event.c 		fprintf(fp, "# \tsub_prog %u: %s addr 0x%llx size %u\n",
fp                 40 tools/perf/util/bpf-event.h 				    FILE *fp);
fp                 57 tools/perf/util/bpf-event.h 						  FILE *fp __maybe_unused)
fp                 28 tools/perf/util/bpf_map.c int bpf_map__fprintf(struct bpf_map *map, FILE *fp)
fp                 56 tools/perf/util/bpf_map.c 				printed += fprintf(fp, "[%d] = %d,\n", intkey, boolval);
fp                 58 tools/perf/util/bpf_map.c 			printed += fprintf(fp, "[%d] = ERROR,\n", intkey);
fp                 11 tools/perf/util/bpf_map.h int bpf_map__fprintf(struct bpf_map *map, FILE *fp);
fp                 15 tools/perf/util/bpf_map.h static inline int bpf_map__fprintf(struct bpf_map *map __maybe_unused, FILE *fp __maybe_unused)
fp                 61 tools/perf/util/branch.c void branch_type_stat_display(FILE *fp, struct branch_type_stat *st)
fp                 72 tools/perf/util/branch.c 	fprintf(fp, "\n#");
fp                 73 tools/perf/util/branch.c 	fprintf(fp, "\n# Branch Statistics:");
fp                 74 tools/perf/util/branch.c 	fprintf(fp, "\n#");
fp                 77 tools/perf/util/branch.c 		fprintf(fp, "\n%8s: %5.1f%%",
fp                 83 tools/perf/util/branch.c 		fprintf(fp, "\n%8s: %5.1f%%",
fp                 89 tools/perf/util/branch.c 		fprintf(fp, "\n%8s: %5.1f%%",
fp                 95 tools/perf/util/branch.c 		fprintf(fp, "\n%8s: %5.1f%%",
fp                102 tools/perf/util/branch.c 			fprintf(fp, "\n%8s: %5.1f%%",
fp                 58 tools/perf/util/branch.h void branch_type_stat_display(FILE *fp, struct branch_type_stat *st);
fp               1206 tools/perf/util/callchain.c 				 FILE *fp, u64 total)
fp               1219 tools/perf/util/callchain.c 		return fprintf(fp, "%"PRIu64, period);
fp               1221 tools/perf/util/callchain.c 		return fprintf(fp, "%u", count);
fp               1226 tools/perf/util/callchain.c 		return percent_color_fprintf(fp, "%.2f%%", percent);
fp               1413 tools/perf/util/callchain.c static int callchain_counts_printf(FILE *fp, char *bf, int bfsize,
fp               1426 tools/perf/util/callchain.c 	if (fp)
fp               1427 tools/perf/util/callchain.c 		return fprintf(fp, "%s", str);
fp               1433 tools/perf/util/callchain.c 					FILE *fp, char *bf, int bfsize)
fp               1448 tools/perf/util/callchain.c 	return callchain_counts_printf(fp, bf, bfsize, branch_count,
fp                280 tools/perf/util/callchain.h 				  FILE *fp, u64 total);
fp                283 tools/perf/util/callchain.h 					FILE *fp, char *bf, int bfsize);
fp                 19 tools/perf/util/cgroup.c 	FILE *fp;
fp                 24 tools/perf/util/cgroup.c 	fp = fopen("/proc/mounts", "r");
fp                 25 tools/perf/util/cgroup.c 	if (!fp)
fp                 36 tools/perf/util/cgroup.c 	while (fscanf(fp, "%*s %"__stringify(PATH_MAX)"s %"__stringify(PATH_MAX)"s %"
fp                 59 tools/perf/util/cgroup.c 	fclose(fp);
fp                 39 tools/perf/util/color.c static int __color_vfprintf(FILE *fp, const char *color, const char *fmt,
fp                 48 tools/perf/util/color.c 		if (isatty(fileno(fp)) || pager_in_use())
fp                 55 tools/perf/util/color.c 		fprintf(fp, "%s", color);
fp                 56 tools/perf/util/color.c 	r += vfprintf(fp, fmt, args);
fp                 58 tools/perf/util/color.c 		fprintf(fp, "%s", PERF_COLOR_RESET);
fp                 68 tools/perf/util/color.c int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args)
fp                 70 tools/perf/util/color.c 	return __color_vfprintf(fp, color, fmt, args);
fp                 85 tools/perf/util/color.c int color_fprintf(FILE *fp, const char *color, const char *fmt, ...)
fp                 91 tools/perf/util/color.c 	r = color_vfprintf(fp, color, fmt, args);
fp                101 tools/perf/util/color.c int color_fwrite_lines(FILE *fp, const char *color,
fp                105 tools/perf/util/color.c 		return fwrite(buf, count, 1, fp) != 1;
fp                110 tools/perf/util/color.c 		if (p != buf && (fputs(color, fp) < 0 ||
fp                111 tools/perf/util/color.c 				fwrite(buf, p ? (size_t)(p - buf) : count, 1, fp) != 1 ||
fp                112 tools/perf/util/color.c 				fputs(PERF_COLOR_RESET, fp) < 0))
fp                116 tools/perf/util/color.c 		if (fputc('\n', fp) < 0)
fp                142 tools/perf/util/color.c int percent_color_fprintf(FILE *fp, const char *fmt, double percent)
fp                148 tools/perf/util/color.c 	r = color_fprintf(fp, color, fmt, percent);
fp                 39 tools/perf/util/color.h int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args);
fp                 40 tools/perf/util/color.h int color_fprintf(FILE *fp, const char *color, const char *fmt, ...);
fp                 42 tools/perf/util/color.h int color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf);
fp                 46 tools/perf/util/color.h int percent_color_fprintf(FILE *fp, const char *fmt, double percent);
fp                 71 tools/perf/util/cpumap.c size_t cpu_map__fprintf(struct perf_cpu_map *map, FILE *fp)
fp                 77 tools/perf/util/cpumap.c 	return fprintf(fp, "%s\n", buf);
fp                 16 tools/perf/util/cpumap.h size_t cpu_map__fprintf(struct perf_cpu_map *map, FILE *fp);
fp                 33 tools/perf/util/cputopo.c 	FILE *fp;
fp                 43 tools/perf/util/cputopo.c 	fp = fopen(filename, "r");
fp                 44 tools/perf/util/cputopo.c 	if (!fp)
fp                 47 tools/perf/util/cputopo.c 	sret = getline(&buf, &len, fp);
fp                 48 tools/perf/util/cputopo.c 	fclose(fp);
fp                 74 tools/perf/util/cputopo.c 	fp = fopen(filename, "r");
fp                 75 tools/perf/util/cputopo.c 	if (!fp)
fp                 78 tools/perf/util/cputopo.c 	sret = getline(&buf, &len, fp);
fp                 79 tools/perf/util/cputopo.c 	fclose(fp);
fp                106 tools/perf/util/cputopo.c 	fp = fopen(filename, "r");
fp                107 tools/perf/util/cputopo.c 	if (!fp)
fp                110 tools/perf/util/cputopo.c 	if (getline(&buf, &len, fp) <= 0)
fp                128 tools/perf/util/cputopo.c 	if (fp)
fp                129 tools/perf/util/cputopo.c 		fclose(fp);
fp                240 tools/perf/util/cputopo.c 	FILE *fp;
fp                247 tools/perf/util/cputopo.c 	fp = fopen(str, "r");
fp                248 tools/perf/util/cputopo.c 	if (!fp)
fp                251 tools/perf/util/cputopo.c 	while (getline(&buf, &len, fp) > 0) {
fp                265 tools/perf/util/cputopo.c 	fclose(fp);
fp                266 tools/perf/util/cputopo.c 	fp = NULL;
fp                271 tools/perf/util/cputopo.c 	fp = fopen(str, "r");
fp                272 tools/perf/util/cputopo.c 	if (!fp)
fp                275 tools/perf/util/cputopo.c 	if (getline(&buf, &len, fp) <= 0)
fp                283 tools/perf/util/cputopo.c 	fclose(fp);
fp                288 tools/perf/util/cputopo.c 	if (fp)
fp                289 tools/perf/util/cputopo.c 		fclose(fp);
fp                301 tools/perf/util/cputopo.c 	FILE *fp;
fp                307 tools/perf/util/cputopo.c 	fp = fopen(path, "r");
fp                308 tools/perf/util/cputopo.c 	if (!fp)
fp                311 tools/perf/util/cputopo.c 	if (getline(&buf, &len, fp) <= 0)
fp                340 tools/perf/util/cputopo.c 	fclose(fp);
fp                116 tools/perf/util/debug.c 			       unsigned int val, void *extra, FILE *fp)
fp                125 tools/perf/util/debug.c 		printed += fprintf(fp, ".");
fp                126 tools/perf/util/debug.c 		printed += color_fprintf(fp, color, "\n. ... raw event: size %d bytes\n",
fp                130 tools/perf/util/debug.c 		printed += fprintf(fp, ".");
fp                133 tools/perf/util/debug.c 		printed += color_fprintf(fp, color, "  %04x: ", val);
fp                136 tools/perf/util/debug.c 		printed += color_fprintf(fp, color, " %02x", val);
fp                139 tools/perf/util/debug.c 		printed += color_fprintf(fp, color, "   ");
fp                142 tools/perf/util/debug.c 		printed += color_fprintf(fp, color, "  ");
fp                145 tools/perf/util/debug.c 		printed += color_fprintf(fp, color, "%c",
fp                149 tools/perf/util/debug.c 		printed += color_fprintf(fp, color, " ");
fp                152 tools/perf/util/debug.c 		printed += color_fprintf(fp, color, "\n");
fp                155 tools/perf/util/debug.c 		printed += fprintf(fp, "\n");
fp               1290 tools/perf/util/dso.c size_t dso__fprintf_buildid(struct dso *dso, FILE *fp)
fp               1295 tools/perf/util/dso.c 	return fprintf(fp, "%s", sbuild_id);
fp               1298 tools/perf/util/dso.c size_t dso__fprintf(struct dso *dso, FILE *fp)
fp               1301 tools/perf/util/dso.c 	size_t ret = fprintf(fp, "dso: %s (", dso->short_name);
fp               1304 tools/perf/util/dso.c 		ret += fprintf(fp, "%s, ", dso->long_name);
fp               1305 tools/perf/util/dso.c 	ret += fprintf(fp, "%sloaded, ", dso__loaded(dso) ? "" : "NOT ");
fp               1306 tools/perf/util/dso.c 	ret += dso__fprintf_buildid(dso, fp);
fp               1307 tools/perf/util/dso.c 	ret += fprintf(fp, ")\n");
fp               1310 tools/perf/util/dso.c 		ret += symbol__fprintf(pos, fp);
fp                342 tools/perf/util/dso.h size_t dso__fprintf_buildid(struct dso *dso, FILE *fp);
fp                343 tools/perf/util/dso.h size_t dso__fprintf_symbols_by_name(struct dso *dso, FILE *fp);
fp                344 tools/perf/util/dso.h size_t dso__fprintf(struct dso *dso, FILE *fp);
fp                207 tools/perf/util/dsos.c size_t __dsos__fprintf_buildid(struct list_head *head, FILE *fp,
fp                216 tools/perf/util/dsos.c 		ret += dso__fprintf_buildid(pos, fp);
fp                217 tools/perf/util/dsos.c 		ret += fprintf(fp, " %s\n", pos->long_name);
fp                222 tools/perf/util/dsos.c size_t __dsos__fprintf(struct list_head *head, FILE *fp)
fp                228 tools/perf/util/dsos.c 		ret += dso__fprintf(pos, fp);
fp                 40 tools/perf/util/dsos.h size_t __dsos__fprintf_buildid(struct list_head *head, FILE *fp,
fp                 42 tools/perf/util/dsos.h size_t __dsos__fprintf(struct list_head *head, FILE *fp);
fp                144 tools/perf/util/event.c size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp)
fp                153 tools/perf/util/event.c 	return fprintf(fp, "%s: %s:%d/%d\n", s, event->comm.comm, event->comm.pid, event->comm.tid);
fp                156 tools/perf/util/event.c size_t perf_event__fprintf_namespaces(union perf_event *event, FILE *fp)
fp                165 tools/perf/util/event.c 	ret += fprintf(fp, " %d/%d - nr_namespaces: %u\n\t\t[",
fp                172 tools/perf/util/event.c 			ret += fprintf(fp, "\n\t\t ");
fp                174 tools/perf/util/event.c 		ret  += fprintf(fp, "%u/%s: %" PRIu64 "/%#" PRIx64 "%s", idx,
fp                255 tools/perf/util/event.c size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp)
fp                257 tools/perf/util/event.c 	return fprintf(fp, " %d/%d: [%#" PRI_lx64 "(%#" PRI_lx64 ") @ %#" PRI_lx64 "]: %c %s\n",
fp                264 tools/perf/util/event.c size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp)
fp                266 tools/perf/util/event.c 	return fprintf(fp, " %d/%d: [%#" PRI_lx64 "(%#" PRI_lx64 ") @ %#" PRI_lx64
fp                279 tools/perf/util/event.c size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp)
fp                284 tools/perf/util/event.c 	ret = fprintf(fp, " nr: ");
fp                287 tools/perf/util/event.c 		ret += thread_map__fprintf(threads, fp);
fp                289 tools/perf/util/event.c 		ret += fprintf(fp, "failed to get threads from event\n");
fp                295 tools/perf/util/event.c size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp)
fp                300 tools/perf/util/event.c 	ret = fprintf(fp, ": ");
fp                303 tools/perf/util/event.c 		ret += cpu_map__fprintf(cpus, fp);
fp                305 tools/perf/util/event.c 		ret += fprintf(fp, "failed to get cpumap from event\n");
fp                327 tools/perf/util/event.c size_t perf_event__fprintf_task(union perf_event *event, FILE *fp)
fp                329 tools/perf/util/event.c 	return fprintf(fp, "(%d:%d):(%d:%d)\n",
fp                350 tools/perf/util/event.c size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp)
fp                352 tools/perf/util/event.c 	return fprintf(fp, " offset: %#"PRI_lx64" size: %#"PRI_lx64" flags: %#"PRI_lx64" [%s%s%s]\n",
fp                360 tools/perf/util/event.c size_t perf_event__fprintf_itrace_start(union perf_event *event, FILE *fp)
fp                362 tools/perf/util/event.c 	return fprintf(fp, " pid: %u tid: %u\n",
fp                366 tools/perf/util/event.c size_t perf_event__fprintf_switch(union perf_event *event, FILE *fp)
fp                374 tools/perf/util/event.c 		return fprintf(fp, " %s\n", in_out);
fp                376 tools/perf/util/event.c 	return fprintf(fp, " %s  %s pid/tid: %5u/%-5u\n",
fp                382 tools/perf/util/event.c static size_t perf_event__fprintf_lost(union perf_event *event, FILE *fp)
fp                384 tools/perf/util/event.c 	return fprintf(fp, " lost %" PRI_lu64 "\n", event->lost.lost);
fp                387 tools/perf/util/event.c size_t perf_event__fprintf_ksymbol(union perf_event *event, FILE *fp)
fp                389 tools/perf/util/event.c 	return fprintf(fp, " addr %" PRI_lx64 " len %u type %u flags 0x%x name %s\n",
fp                395 tools/perf/util/event.c size_t perf_event__fprintf_bpf(union perf_event *event, FILE *fp)
fp                397 tools/perf/util/event.c 	return fprintf(fp, " type %u, flags %u, id %u\n",
fp                401 tools/perf/util/event.c size_t perf_event__fprintf(union perf_event *event, FILE *fp)
fp                403 tools/perf/util/event.c 	size_t ret = fprintf(fp, "PERF_RECORD_%s",
fp                408 tools/perf/util/event.c 		ret += perf_event__fprintf_comm(event, fp);
fp                412 tools/perf/util/event.c 		ret += perf_event__fprintf_task(event, fp);
fp                415 tools/perf/util/event.c 		ret += perf_event__fprintf_mmap(event, fp);
fp                418 tools/perf/util/event.c 		ret += perf_event__fprintf_namespaces(event, fp);
fp                421 tools/perf/util/event.c 		ret += perf_event__fprintf_mmap2(event, fp);
fp                424 tools/perf/util/event.c 		ret += perf_event__fprintf_aux(event, fp);
fp                427 tools/perf/util/event.c 		ret += perf_event__fprintf_itrace_start(event, fp);
fp                431 tools/perf/util/event.c 		ret += perf_event__fprintf_switch(event, fp);
fp                434 tools/perf/util/event.c 		ret += perf_event__fprintf_lost(event, fp);
fp                437 tools/perf/util/event.c 		ret += perf_event__fprintf_ksymbol(event, fp);
fp                440 tools/perf/util/event.c 		ret += perf_event__fprintf_bpf(event, fp);
fp                443 tools/perf/util/event.c 		ret += fprintf(fp, "\n");
fp                363 tools/perf/util/event.h size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp);
fp                364 tools/perf/util/event.h size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp);
fp                365 tools/perf/util/event.h size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp);
fp                366 tools/perf/util/event.h size_t perf_event__fprintf_task(union perf_event *event, FILE *fp);
fp                367 tools/perf/util/event.h size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp);
fp                368 tools/perf/util/event.h size_t perf_event__fprintf_itrace_start(union perf_event *event, FILE *fp);
fp                369 tools/perf/util/event.h size_t perf_event__fprintf_switch(union perf_event *event, FILE *fp);
fp                370 tools/perf/util/event.h size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp);
fp                371 tools/perf/util/event.h size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp);
fp                372 tools/perf/util/event.h size_t perf_event__fprintf_namespaces(union perf_event *event, FILE *fp);
fp                373 tools/perf/util/event.h size_t perf_event__fprintf_ksymbol(union perf_event *event, FILE *fp);
fp                374 tools/perf/util/event.h size_t perf_event__fprintf_bpf(union perf_event *event, FILE *fp);
fp                375 tools/perf/util/event.h size_t perf_event__fprintf(union perf_event *event, FILE *fp);
fp                 49 tools/perf/util/events_stats.h size_t events_stats__fprintf(struct events_stats *stats, FILE *fp);
fp               1519 tools/perf/util/evsel.c static int __open_attr__fprintf(FILE *fp, const char *name, const char *val,
fp               1522 tools/perf/util/evsel.c 	return fprintf(fp, "  %-32s %s\n", name, val);
fp                 15 tools/perf/util/evsel_fprintf.c static int comma_fprintf(FILE *fp, bool *first, const char *fmt, ...)
fp                 21 tools/perf/util/evsel_fprintf.c 		ret += fprintf(fp, ",");
fp                 23 tools/perf/util/evsel_fprintf.c 		ret += fprintf(fp, ":");
fp                 28 tools/perf/util/evsel_fprintf.c 	ret += vfprintf(fp, fmt, args);
fp                 33 tools/perf/util/evsel_fprintf.c static int __print_attr__fprintf(FILE *fp, const char *name, const char *val, void *priv)
fp                 35 tools/perf/util/evsel_fprintf.c 	return comma_fprintf(fp, (bool *)priv, " %s: %s", name, val);
fp                 39 tools/perf/util/evsel_fprintf.c 			struct perf_attr_details *details, FILE *fp)
fp                 51 tools/perf/util/evsel_fprintf.c 			printed += fprintf(fp, "%s{", evsel->group_name ?: "");
fp                 53 tools/perf/util/evsel_fprintf.c 		printed += fprintf(fp, "%s", perf_evsel__name(evsel));
fp                 55 tools/perf/util/evsel_fprintf.c 			printed += fprintf(fp, ",%s", perf_evsel__name(pos));
fp                 58 tools/perf/util/evsel_fprintf.c 			printed += fprintf(fp, "}");
fp                 62 tools/perf/util/evsel_fprintf.c 	printed += fprintf(fp, "%s", perf_evsel__name(evsel));
fp                 65 tools/perf/util/evsel_fprintf.c 		printed += perf_event_attr__fprintf(fp, &evsel->core.attr,
fp                 73 tools/perf/util/evsel_fprintf.c 		printed += comma_fprintf(fp, &first, " %s=%" PRIu64,
fp                 81 tools/perf/util/evsel_fprintf.c 			printed += comma_fprintf(fp, &first, " (not a tracepoint)");
fp                 87 tools/perf/util/evsel_fprintf.c 			printed += comma_fprintf(fp, &first, " (no trace field)");
fp                 91 tools/perf/util/evsel_fprintf.c 		printed += comma_fprintf(fp, &first, " trace_fields: %s", field->name);
fp                 95 tools/perf/util/evsel_fprintf.c 			printed += comma_fprintf(fp, &first, "%s", field->name);
fp                100 tools/perf/util/evsel_fprintf.c 	fputc('\n', fp);
fp                106 tools/perf/util/evsel_fprintf.c 			      struct strlist *bt_stop_list, FILE *fp)
fp                137 tools/perf/util/evsel_fprintf.c 			printed += fprintf(fp, "%-*.*s", left_alignment, left_alignment, " ");
fp                140 tools/perf/util/evsel_fprintf.c 				printed += fprintf(fp, " <-");
fp                143 tools/perf/util/evsel_fprintf.c 				printed += fprintf(fp, "%c%16" PRIx64, s, node->ip);
fp                149 tools/perf/util/evsel_fprintf.c 				printed += fprintf(fp, " ");
fp                156 tools/perf/util/evsel_fprintf.c 										  true, fp);
fp                159 tools/perf/util/evsel_fprintf.c 									     print_unknown_as_addr, fp);
fp                164 tools/perf/util/evsel_fprintf.c 				printed += fprintf(fp, " (");
fp                165 tools/perf/util/evsel_fprintf.c 				printed += map__fprintf_dsoname(node->map, fp);
fp                166 tools/perf/util/evsel_fprintf.c 				printed += fprintf(fp, ")");
fp                170 tools/perf/util/evsel_fprintf.c 				printed += map__fprintf_srcline(node->map, addr, "\n  ", fp);
fp                173 tools/perf/util/evsel_fprintf.c 				printed += fprintf(fp, " (inlined)");
fp                176 tools/perf/util/evsel_fprintf.c 				printed += fprintf(fp, "\n");
fp                195 tools/perf/util/evsel_fprintf.c 			struct callchain_cursor *cursor, struct strlist *bt_stop_list, FILE *fp)
fp                207 tools/perf/util/evsel_fprintf.c 						     cursor, bt_stop_list, fp);
fp                209 tools/perf/util/evsel_fprintf.c 		printed += fprintf(fp, "%-*.*s", left_alignment, left_alignment, " ");
fp                212 tools/perf/util/evsel_fprintf.c 			printed += fprintf(fp, "%16" PRIx64, sample->ip);
fp                215 tools/perf/util/evsel_fprintf.c 			printed += fprintf(fp, " ");
fp                219 tools/perf/util/evsel_fprintf.c 									  true, fp);
fp                222 tools/perf/util/evsel_fprintf.c 								     print_unknown_as_addr, fp);
fp                227 tools/perf/util/evsel_fprintf.c 			printed += fprintf(fp, " (");
fp                228 tools/perf/util/evsel_fprintf.c 			printed += map__fprintf_dsoname(al->map, fp);
fp                229 tools/perf/util/evsel_fprintf.c 			printed += fprintf(fp, ")");
fp                233 tools/perf/util/evsel_fprintf.c 			printed += map__fprintf_srcline(al->map, al->addr, "\n  ", fp);
fp                 19 tools/perf/util/evsel_fprintf.h 			struct perf_attr_details *details, FILE *fp);
fp                 39 tools/perf/util/evsel_fprintf.h 			      struct strlist *bt_stop_list, FILE *fp);
fp                 44 tools/perf/util/evsel_fprintf.h 			struct strlist *bt_stop_list, FILE *fp);
fp                 48 tools/perf/util/evsel_fprintf.h int perf_event_attr__fprintf(FILE *fp, struct perf_event_attr *attr,
fp                 34 tools/perf/util/evswitch.c static int evswitch__fprintf_enoent(FILE *fp, const char *evtype, const char *evname)
fp                 36 tools/perf/util/evswitch.c 	int printed = fprintf(fp, "ERROR: switch-%s event not found (%s)\n", evtype, evname);
fp                 38 tools/perf/util/evswitch.c 	return printed += fprintf(fp, "HINT:  use 'perf evlist' to see the available event names\n");
fp                 41 tools/perf/util/evswitch.c int evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp)
fp                 46 tools/perf/util/evswitch.c 			evswitch__fprintf_enoent(fp, "on", evswitch->on_name);
fp                 55 tools/perf/util/evswitch.c 			evswitch__fprintf_enoent(fp, "off", evswitch->off_name);
fp                 19 tools/perf/util/evswitch.h int evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp);
fp                646 tools/perf/util/header.c 	FILE *fp;
fp                651 tools/perf/util/header.c 	fp = fopen("/proc/meminfo", "r");
fp                652 tools/perf/util/header.c 	if (!fp)
fp                655 tools/perf/util/header.c 	while (getline(&buf, &len, fp) > 0) {
fp                667 tools/perf/util/header.c 	fclose(fp);
fp               1398 tools/perf/util/header.c static void print_hostname(struct feat_fd *ff, FILE *fp)
fp               1400 tools/perf/util/header.c 	fprintf(fp, "# hostname : %s\n", ff->ph->env.hostname);
fp               1403 tools/perf/util/header.c static void print_osrelease(struct feat_fd *ff, FILE *fp)
fp               1405 tools/perf/util/header.c 	fprintf(fp, "# os release : %s\n", ff->ph->env.os_release);
fp               1408 tools/perf/util/header.c static void print_arch(struct feat_fd *ff, FILE *fp)
fp               1410 tools/perf/util/header.c 	fprintf(fp, "# arch : %s\n", ff->ph->env.arch);
fp               1413 tools/perf/util/header.c static void print_cpudesc(struct feat_fd *ff, FILE *fp)
fp               1415 tools/perf/util/header.c 	fprintf(fp, "# cpudesc : %s\n", ff->ph->env.cpu_desc);
fp               1418 tools/perf/util/header.c static void print_nrcpus(struct feat_fd *ff, FILE *fp)
fp               1420 tools/perf/util/header.c 	fprintf(fp, "# nrcpus online : %u\n", ff->ph->env.nr_cpus_online);
fp               1421 tools/perf/util/header.c 	fprintf(fp, "# nrcpus avail : %u\n", ff->ph->env.nr_cpus_avail);
fp               1424 tools/perf/util/header.c static void print_version(struct feat_fd *ff, FILE *fp)
fp               1426 tools/perf/util/header.c 	fprintf(fp, "# perf version : %s\n", ff->ph->env.version);
fp               1429 tools/perf/util/header.c static void print_cmdline(struct feat_fd *ff, FILE *fp)
fp               1435 tools/perf/util/header.c 	fprintf(fp, "# cmdline : ");
fp               1440 tools/perf/util/header.c 			fprintf(fp, "%s ", ff->ph->env.cmdline_argv[i]);
fp               1448 tools/perf/util/header.c 				fprintf(fp, "%s\\\'", argv_i);
fp               1451 tools/perf/util/header.c 			fprintf(fp, "%s ", argv_i);
fp               1455 tools/perf/util/header.c 	fputc('\n', fp);
fp               1458 tools/perf/util/header.c static void print_cpu_topology(struct feat_fd *ff, FILE *fp)
fp               1469 tools/perf/util/header.c 		fprintf(fp, "# sibling sockets : %s\n", str);
fp               1478 tools/perf/util/header.c 			fprintf(fp, "# sibling dies    : %s\n", str);
fp               1487 tools/perf/util/header.c 		fprintf(fp, "# sibling threads : %s\n", str);
fp               1494 tools/perf/util/header.c 				fprintf(fp, "# CPU %d: Core ID %d, "
fp               1500 tools/perf/util/header.c 			fprintf(fp, "# Core ID, Die ID and Socket ID "
fp               1505 tools/perf/util/header.c 				fprintf(fp, "# CPU %d: Core ID %d, "
fp               1510 tools/perf/util/header.c 			fprintf(fp, "# Core ID and Socket ID "
fp               1515 tools/perf/util/header.c static void print_clockid(struct feat_fd *ff, FILE *fp)
fp               1517 tools/perf/util/header.c 	fprintf(fp, "# clockid frequency: %"PRIu64" MHz\n",
fp               1521 tools/perf/util/header.c static void print_dir_format(struct feat_fd *ff, FILE *fp)
fp               1529 tools/perf/util/header.c 	fprintf(fp, "# directory data version : %"PRIu64"\n", data->dir.version);
fp               1532 tools/perf/util/header.c static void print_bpf_prog_info(struct feat_fd *ff, FILE *fp)
fp               1550 tools/perf/util/header.c 					       env, fp);
fp               1556 tools/perf/util/header.c static void print_bpf_btf(struct feat_fd *ff, FILE *fp)
fp               1572 tools/perf/util/header.c 		fprintf(fp, "# btf info of id %u\n", node->id);
fp               1671 tools/perf/util/header.c static int __desc_attr__fprintf(FILE *fp, const char *name, const char *val,
fp               1674 tools/perf/util/header.c 	return fprintf(fp, ", %s = %s", name, val);
fp               1677 tools/perf/util/header.c static void print_event_desc(struct feat_fd *ff, FILE *fp)
fp               1689 tools/perf/util/header.c 		fprintf(fp, "# event desc: not available or unable to read\n");
fp               1694 tools/perf/util/header.c 		fprintf(fp, "# event : name = %s, ", evsel->name);
fp               1697 tools/perf/util/header.c 			fprintf(fp, ", id = {");
fp               1700 tools/perf/util/header.c 					fputc(',', fp);
fp               1701 tools/perf/util/header.c 				fprintf(fp, " %"PRIu64, *id);
fp               1703 tools/perf/util/header.c 			fprintf(fp, " }");
fp               1706 tools/perf/util/header.c 		perf_event_attr__fprintf(fp, &evsel->core.attr, __desc_attr__fprintf, NULL);
fp               1708 tools/perf/util/header.c 		fputc('\n', fp);
fp               1715 tools/perf/util/header.c static void print_total_mem(struct feat_fd *ff, FILE *fp)
fp               1717 tools/perf/util/header.c 	fprintf(fp, "# total memory : %llu kB\n", ff->ph->env.total_mem);
fp               1720 tools/perf/util/header.c static void print_numa_topology(struct feat_fd *ff, FILE *fp)
fp               1728 tools/perf/util/header.c 		fprintf(fp, "# node%u meminfo  : total = %"PRIu64" kB,"
fp               1732 tools/perf/util/header.c 		fprintf(fp, "# node%u cpu list : ", n->node);
fp               1733 tools/perf/util/header.c 		cpu_map__fprintf(n->map, fp);
fp               1737 tools/perf/util/header.c static void print_cpuid(struct feat_fd *ff, FILE *fp)
fp               1739 tools/perf/util/header.c 	fprintf(fp, "# cpuid : %s\n", ff->ph->env.cpuid);
fp               1742 tools/perf/util/header.c static void print_branch_stack(struct feat_fd *ff __maybe_unused, FILE *fp)
fp               1744 tools/perf/util/header.c 	fprintf(fp, "# contains samples with branch stack\n");
fp               1747 tools/perf/util/header.c static void print_auxtrace(struct feat_fd *ff __maybe_unused, FILE *fp)
fp               1749 tools/perf/util/header.c 	fprintf(fp, "# contains AUX area data (e.g. instruction trace)\n");
fp               1752 tools/perf/util/header.c static void print_stat(struct feat_fd *ff __maybe_unused, FILE *fp)
fp               1754 tools/perf/util/header.c 	fprintf(fp, "# contains stat data\n");
fp               1757 tools/perf/util/header.c static void print_cache(struct feat_fd *ff, FILE *fp __maybe_unused)
fp               1761 tools/perf/util/header.c 	fprintf(fp, "# CPU cache info:\n");
fp               1763 tools/perf/util/header.c 		fprintf(fp, "#  ");
fp               1764 tools/perf/util/header.c 		cpu_cache_level__fprintf(fp, &ff->ph->env.caches[i]);
fp               1768 tools/perf/util/header.c static void print_compressed(struct feat_fd *ff, FILE *fp)
fp               1770 tools/perf/util/header.c 	fprintf(fp, "# compressed : %s, level = %d, ratio = %d\n",
fp               1775 tools/perf/util/header.c static void print_pmu_mappings(struct feat_fd *ff, FILE *fp)
fp               1784 tools/perf/util/header.c 		fprintf(fp, "# pmu mappings: not available\n");
fp               1796 tools/perf/util/header.c 		fprintf(fp, "%s%s = %" PRIu32, delimiter, str, type);
fp               1803 tools/perf/util/header.c 	fprintf(fp, "\n");
fp               1808 tools/perf/util/header.c 	fprintf(fp, "# pmu mappings: unable to read\n");
fp               1811 tools/perf/util/header.c static void print_group_desc(struct feat_fd *ff, FILE *fp)
fp               1822 tools/perf/util/header.c 			fprintf(fp, "# group: %s{%s", evsel->group_name ?: "",
fp               1827 tools/perf/util/header.c 			fprintf(fp, ",%s", perf_evsel__name(evsel));
fp               1830 tools/perf/util/header.c 				fprintf(fp, "}\n");
fp               1835 tools/perf/util/header.c static void print_sample_time(struct feat_fd *ff, FILE *fp)
fp               1845 tools/perf/util/header.c 	fprintf(fp, "# time of first sample : %s\n", time_buf);
fp               1849 tools/perf/util/header.c 	fprintf(fp, "# time of last sample : %s\n", time_buf);
fp               1854 tools/perf/util/header.c 	fprintf(fp, "# sample duration : %10.3f ms\n", d);
fp               1858 tools/perf/util/header.c 				 unsigned long long bsize, FILE *fp)
fp               1867 tools/perf/util/header.c 	fprintf(fp, "#  %3" PRIu64 " [%s]: %s\n", n->node, buf_size, buf_map);
fp               1870 tools/perf/util/header.c static void print_mem_topology(struct feat_fd *ff, FILE *fp)
fp               1878 tools/perf/util/header.c 	fprintf(fp, "# memory nodes (nr %d, block size 0x%llx):\n",
fp               1882 tools/perf/util/header.c 		memory_node__fprintf(&nodes[i], ff->ph->env.memory_bsize, fp);
fp               2872 tools/perf/util/header.c 	FILE *fp;
fp               2901 tools/perf/util/header.c 		feat_ops[feat].print(&ff, hd->fp);
fp               2903 tools/perf/util/header.c 		fprintf(hd->fp, "# %s info available, use -I to display\n",
fp               2909 tools/perf/util/header.c int perf_header__fprintf_info(struct perf_session *session, FILE *fp, bool full)
fp               2918 tools/perf/util/header.c 	hd.fp = fp;
fp               2926 tools/perf/util/header.c 	fprintf(fp, "# captured on    : %s", ctime(&stctime));
fp               2928 tools/perf/util/header.c 	fprintf(fp, "# header version : %u\n", header->version);
fp               2929 tools/perf/util/header.c 	fprintf(fp, "# data offset    : %" PRIu64 "\n", header->data_offset);
fp               2930 tools/perf/util/header.c 	fprintf(fp, "# data size      : %" PRIu64 "\n", header->data_size);
fp               2931 tools/perf/util/header.c 	fprintf(fp, "# feat offset    : %" PRIu64 "\n", header->feat_offset);
fp               2939 tools/perf/util/header.c 	fprintf(fp, "# missing features: ");
fp               2942 tools/perf/util/header.c 			fprintf(fp, "%s ", feat_ops[bit].name);
fp               2945 tools/perf/util/header.c 	fprintf(fp, "\n");
fp               3680 tools/perf/util/header.c size_t perf_event__fprintf_event_update(union perf_event *event, FILE *fp)
fp               3688 tools/perf/util/header.c 	ret = fprintf(fp, "\n... id:    %" PRI_lu64 "\n", ev->id);
fp               3693 tools/perf/util/header.c 		ret += fprintf(fp, "... scale: %f\n", ev_scale->scale);
fp               3696 tools/perf/util/header.c 		ret += fprintf(fp, "... unit:  %s\n", ev->data);
fp               3699 tools/perf/util/header.c 		ret += fprintf(fp, "... name:  %s\n", ev->data);
fp               3703 tools/perf/util/header.c 		ret += fprintf(fp, "... ");
fp               3707 tools/perf/util/header.c 			ret += cpu_map__fprintf(map, fp);
fp               3709 tools/perf/util/header.c 			ret += fprintf(fp, "failed to get cpus\n");
fp               3712 tools/perf/util/header.c 		ret += fprintf(fp, "... unknown type\n");
fp                106 tools/perf/util/header.h 	void	   (*print)(struct feat_fd *ff, FILE *fp);
fp                136 tools/perf/util/header.h int perf_header__fprintf_info(struct perf_session *s, FILE *fp, bool full);
fp                145 tools/perf/util/header.h size_t perf_event__fprintf_event_update(union perf_event *event, FILE *fp);
fp               2605 tools/perf/util/hist.c size_t perf_evlist__fprintf_nr_events(struct evlist *evlist, FILE *fp)
fp               2611 tools/perf/util/hist.c 		ret += fprintf(fp, "%s stats:\n", perf_evsel__name(pos));
fp               2612 tools/perf/util/hist.c 		ret += events_stats__fprintf(&evsel__hists(pos)->stats, fp);
fp                196 tools/perf/util/hist.h 		      int max_cols, float min_pcnt, FILE *fp,
fp                198 tools/perf/util/hist.h size_t perf_evlist__fprintf_nr_events(struct evlist *evlist, FILE *fp);
fp                561 tools/perf/util/hist.h int hists__fprintf_headers(struct hists *hists, FILE *fp);
fp                398 tools/perf/util/llvm-utils.c 	FILE *fp;
fp                414 tools/perf/util/llvm-utils.c 	fp = fopen(obj_path, "wb");
fp                415 tools/perf/util/llvm-utils.c 	if (!fp) {
fp                422 tools/perf/util/llvm-utils.c 	if (fwrite(obj_buf, size, 1, fp) != 1)
fp                425 tools/perf/util/llvm-utils.c 	fclose(fp);
fp                803 tools/perf/util/machine.c size_t machines__fprintf_dsos(struct machines *machines, FILE *fp)
fp                806 tools/perf/util/machine.c 	size_t ret = __dsos__fprintf(&machines->host.dsos.head, fp);
fp                810 tools/perf/util/machine.c 		ret += __dsos__fprintf(&pos->dsos.head, fp);
fp                816 tools/perf/util/machine.c size_t machine__fprintf_dsos_buildid(struct machine *m, FILE *fp,
fp                819 tools/perf/util/machine.c 	return __dsos__fprintf_buildid(&m->dsos.head, fp, skip, parm);
fp                822 tools/perf/util/machine.c size_t machines__fprintf_dsos_buildid(struct machines *machines, FILE *fp,
fp                826 tools/perf/util/machine.c 	size_t ret = machine__fprintf_dsos_buildid(&machines->host, fp, skip, parm);
fp                830 tools/perf/util/machine.c 		ret += machine__fprintf_dsos_buildid(pos, fp, skip, parm);
fp                835 tools/perf/util/machine.c size_t machine__fprintf_vmlinux_path(struct machine *machine, FILE *fp)
fp                845 tools/perf/util/machine.c 			printed += fprintf(fp, "[0] %s\n", filename);
fp                849 tools/perf/util/machine.c 		printed += fprintf(fp, "[%d] %s\n",
fp                855 tools/perf/util/machine.c size_t machine__fprintf(struct machine *machine, FILE *fp)
fp                866 tools/perf/util/machine.c 		ret = fprintf(fp, "Threads: %u\n", threads->nr);
fp                872 tools/perf/util/machine.c 			ret += thread__fprintf(pos, fp);
fp                207 tools/perf/util/machine.h size_t machine__fprintf(struct machine *machine, FILE *fp);
fp                232 tools/perf/util/machine.h size_t machine__fprintf_dsos_buildid(struct machine *machine, FILE *fp,
fp                234 tools/perf/util/machine.h size_t machines__fprintf_dsos(struct machines *machines, FILE *fp);
fp                235 tools/perf/util/machine.h size_t machines__fprintf_dsos_buildid(struct machines *machines, FILE *fp,
fp                245 tools/perf/util/machine.h size_t machine__fprintf_vmlinux_path(struct machine *machine, FILE *fp);
fp                404 tools/perf/util/map.c size_t map__fprintf(struct map *map, FILE *fp)
fp                406 tools/perf/util/map.c 	return fprintf(fp, " %" PRIx64 "-%" PRIx64 " %" PRIx64 " %s\n",
fp                410 tools/perf/util/map.c size_t map__fprintf_dsoname(struct map *map, FILE *fp)
fp                427 tools/perf/util/map.c 	return fprintf(fp, "%s", dsoname);
fp                438 tools/perf/util/map.c 			 FILE *fp)
fp                445 tools/perf/util/map.c 			ret = fprintf(fp, "%s%s", prefix, srcline);
fp                452 tools/perf/util/map.c 			 FILE *fp,
fp                482 tools/perf/util/map.c 	ret = fprintf(fp, "|%-8d %.*s", line, len, srccode);
fp                739 tools/perf/util/map.c static size_t maps__fprintf(struct maps *maps, FILE *fp)
fp                748 tools/perf/util/map.c 		printed += fprintf(fp, "Map:");
fp                749 tools/perf/util/map.c 		printed += map__fprintf(pos, fp);
fp                751 tools/perf/util/map.c 			printed += dso__fprintf(pos->dso, fp);
fp                752 tools/perf/util/map.c 			printed += fprintf(fp, "--\n");
fp                761 tools/perf/util/map.c size_t map_groups__fprintf(struct map_groups *mg, FILE *fp)
fp                763 tools/perf/util/map.c 	return maps__fprintf(&mg->maps, fp);
fp                773 tools/perf/util/map.c static int maps__fixup_overlappings(struct maps *maps, struct map *map, FILE *fp)
fp                819 tools/perf/util/map.c 				fputs("overlapping maps:\n", fp);
fp                820 tools/perf/util/map.c 				map__fprintf(map, fp);
fp                821 tools/perf/util/map.c 				map__fprintf(pos, fp);
fp                841 tools/perf/util/map.c 				map__fprintf(before, fp);
fp                858 tools/perf/util/map.c 				map__fprintf(after, fp);
fp                875 tools/perf/util/map.c 				   FILE *fp)
fp                877 tools/perf/util/map.c 	return maps__fixup_overlappings(&mg->maps, map, fp);
fp                138 tools/perf/util/map.h size_t map__fprintf(struct map *map, FILE *fp);
fp                139 tools/perf/util/map.h size_t map__fprintf_dsoname(struct map *map, FILE *fp);
fp                142 tools/perf/util/map.h 			 FILE *fp);
fp                147 tools/perf/util/map.h 			 FILE *fp, struct srccode_state *state);
fp                 63 tools/perf/util/map_groups.h size_t map_groups__fprintf(struct map_groups *mg, FILE *fp);
fp                 91 tools/perf/util/map_groups.h int map_groups__fixup_overlappings(struct map_groups *mg, struct map *map, FILE *fp);
fp                 84 tools/perf/util/perf_event_attr_fprintf.c 		ret += attr__fprintf(fp, _n, buf, priv);\
fp                 90 tools/perf/util/perf_event_attr_fprintf.c int perf_event_attr__fprintf(FILE *fp, struct perf_event_attr *attr,
fp                  8 tools/perf/util/print_binary.c 		    void *extra, FILE *fp)
fp                 19 tools/perf/util/print_binary.c 	printed += printer(BINARY_PRINT_DATA_BEGIN, 0, extra, fp);
fp                 22 tools/perf/util/print_binary.c 			printed += printer(BINARY_PRINT_LINE_BEGIN, -1, extra, fp);
fp                 23 tools/perf/util/print_binary.c 			printed += printer(BINARY_PRINT_ADDR, i, extra, fp);
fp                 26 tools/perf/util/print_binary.c 		printed += printer(BINARY_PRINT_NUM_DATA, data[i], extra, fp);
fp                 30 tools/perf/util/print_binary.c 				printed += printer(BINARY_PRINT_NUM_PAD, -1, extra, fp);
fp                 32 tools/perf/util/print_binary.c 			printer(BINARY_PRINT_SEP, i, extra, fp);
fp                 34 tools/perf/util/print_binary.c 				printed += printer(BINARY_PRINT_CHAR_DATA, data[j], extra, fp);
fp                 36 tools/perf/util/print_binary.c 				printed += printer(BINARY_PRINT_CHAR_PAD, i, extra, fp);
fp                 37 tools/perf/util/print_binary.c 			printed += printer(BINARY_PRINT_LINE_END, -1, extra, fp);
fp                 40 tools/perf/util/print_binary.c 	printed += printer(BINARY_PRINT_DATA_END, -1, extra, fp);
fp                 22 tools/perf/util/print_binary.h 				 unsigned int val, void *extra, FILE *fp);
fp                 26 tools/perf/util/print_binary.h 		    void *extra, FILE *fp);
fp                888 tools/perf/util/probe-event.c static int __show_one_line(FILE *fp, int l, bool skip, bool show_num)
fp                895 tools/perf/util/probe-event.c 		if (fgets(buf, LINEBUF_SIZE, fp) == NULL)
fp                909 tools/perf/util/probe-event.c 	if (ferror(fp)) {
fp                917 tools/perf/util/probe-event.c static int _show_one_line(FILE *fp, int l, bool skip, bool show_num)
fp                919 tools/perf/util/probe-event.c 	int rv = __show_one_line(fp, l, skip, show_num);
fp                942 tools/perf/util/probe-event.c 	FILE *fp;
fp                988 tools/perf/util/probe-event.c 	fp = fopen(lr->path, "r");
fp                989 tools/perf/util/probe-event.c 	if (fp == NULL) {
fp                996 tools/perf/util/probe-event.c 		ret = skip_one_line(fp, l++);
fp               1003 tools/perf/util/probe-event.c 			ret = show_one_line(fp, l - lr->offset);
fp               1007 tools/perf/util/probe-event.c 		ret = show_one_line_with_num(fp, l++ - lr->offset);
fp               1015 tools/perf/util/probe-event.c 		ret = show_one_line_or_eof(fp, l++ - lr->offset);
fp               1020 tools/perf/util/probe-event.c 	fclose(fp);
fp               2361 tools/perf/util/probe-event.c 	FILE *fp;
fp               2371 tools/perf/util/probe-event.c 	fp = fopen(buf, "r");
fp               2372 tools/perf/util/probe-event.c 	if (!fp)
fp               2376 tools/perf/util/probe-event.c 	while (fgets(buf, PATH_MAX, fp)) {
fp               2406 tools/perf/util/probe-event.c 	fclose(fp);
fp                136 tools/perf/util/probe-file.c 	FILE *fp;
fp                152 tools/perf/util/probe-file.c 	fp = fdopen(fddup, "r");
fp                153 tools/perf/util/probe-file.c 	if (!fp)
fp                156 tools/perf/util/probe-file.c 	while (!feof(fp)) {
fp                157 tools/perf/util/probe-file.c 		p = fgets(buf, MAX_CMDLEN, fp);
fp                170 tools/perf/util/probe-file.c 	fclose(fp);
fp                175 tools/perf/util/probe-file.c 	fclose(fp);
fp                475 tools/perf/util/probe-file.c 	FILE *fp;
fp                480 tools/perf/util/probe-file.c 	fp = fdopen(fddup, "r");
fp                481 tools/perf/util/probe-file.c 	if (!fp) {
fp                486 tools/perf/util/probe-file.c 	while (!feof(fp)) {
fp                487 tools/perf/util/probe-file.c 		if (!fgets(buf, MAX_CMDLEN, fp))
fp                521 tools/perf/util/probe-file.c 	fclose(fp);
fp               1031 tools/perf/util/probe-file.c 	FILE *fp;
fp               1044 tools/perf/util/probe-file.c 	fp = fdopen(fd, "r");
fp               1045 tools/perf/util/probe-file.c 	if (!fp) {
fp               1050 tools/perf/util/probe-file.c 	while (getline(&buf, &len, fp) > 0)
fp               1057 tools/perf/util/probe-file.c 	fclose(fp);
fp                817 tools/perf/util/probe-finder.c 	FILE *fp;
fp                824 tools/perf/util/probe-finder.c 	fp = fopen(fname, "r");
fp                825 tools/perf/util/probe-finder.c 	if (!fp) {
fp                831 tools/perf/util/probe-finder.c 	while ((len = getline(&line, &line_len, fp)) > 0) {
fp                843 tools/perf/util/probe-finder.c 	if (ferror(fp))
fp                846 tools/perf/util/probe-finder.c 	fclose(fp);
fp                947 tools/perf/util/python.c 		FILE *fp = fdopen(evlist->core.pollfd.entries[i].fd, "r");
fp                949 tools/perf/util/python.c 		if (fp == NULL)
fp                952 tools/perf/util/python.c 		file = PyFile_FromFile(fp, "perf", "r", NULL);
fp               1602 tools/perf/util/scripting-engines/trace-event-python.c 	FILE *fp;
fp               1627 tools/perf/util/scripting-engines/trace-event-python.c 	fp = fopen(script, "r");
fp               1628 tools/perf/util/scripting-engines/trace-event-python.c 	if (!fp) {
fp               1635 tools/perf/util/scripting-engines/trace-event-python.c 	err = PyRun_SimpleFile(fp, script);
fp               2265 tools/perf/util/session.c size_t perf_session__fprintf_dsos(struct perf_session *session, FILE *fp)
fp               2267 tools/perf/util/session.c 	return machines__fprintf_dsos(&session->machines, fp);
fp               2270 tools/perf/util/session.c size_t perf_session__fprintf_dsos_buildid(struct perf_session *session, FILE *fp,
fp               2273 tools/perf/util/session.c 	return machines__fprintf_dsos_buildid(&session->machines, fp, skip, parm);
fp               2276 tools/perf/util/session.c size_t perf_session__fprintf_nr_events(struct perf_session *session, FILE *fp)
fp               2284 tools/perf/util/session.c 	ret = fprintf(fp, "\nAggregated stats:%s\n", msg);
fp               2286 tools/perf/util/session.c 	ret += events_stats__fprintf(&session->evlist->stats, fp);
fp               2290 tools/perf/util/session.c size_t perf_session__fprintf(struct perf_session *session, FILE *fp)
fp               2296 tools/perf/util/session.c 	return machine__fprintf(&session->machines.host, fp);
fp               2357 tools/perf/util/session.c void perf_session__fprintf_info(struct perf_session *session, FILE *fp,
fp               2360 tools/perf/util/session.c 	if (session == NULL || fp == NULL)
fp               2363 tools/perf/util/session.c 	fprintf(fp, "# ========\n");
fp               2364 tools/perf/util/session.c 	perf_header__fprintf_info(session, fp, full);
fp               2365 tools/perf/util/session.c 	fprintf(fp, "# ========\n#\n");
fp                104 tools/perf/util/session.h size_t perf_session__fprintf(struct perf_session *session, FILE *fp);
fp                106 tools/perf/util/session.h size_t perf_session__fprintf_dsos(struct perf_session *session, FILE *fp);
fp                108 tools/perf/util/session.h size_t perf_session__fprintf_dsos_buildid(struct perf_session *session, FILE *fp,
fp                111 tools/perf/util/session.h size_t perf_session__fprintf_nr_events(struct perf_session *session, FILE *fp);
fp                119 tools/perf/util/session.h void perf_session__fprintf_info(struct perf_session *s, FILE *fp, bool full);
fp               2873 tools/perf/util/sort.c static bool __get_elide(struct strlist *list, const char *list_name, FILE *fp)
fp               2876 tools/perf/util/sort.c 		if (fp != NULL)
fp               2877 tools/perf/util/sort.c 			fprintf(fp, "# %s: %s\n", list_name,
fp                285 tools/perf/util/sort.h void sort__setup_elide(FILE *fp);
fp                412 tools/perf/util/srcline.c 	FILE *fp;
fp                421 tools/perf/util/srcline.c 	fp = popen(cmd, "r");
fp                422 tools/perf/util/srcline.c 	if (fp == NULL) {
fp                427 tools/perf/util/srcline.c 	if (getline(&filename, &len, fp) < 0 || !len) {
fp                441 tools/perf/util/srcline.c 	pclose(fp);
fp                453 tools/perf/util/srcline.c 	FILE *fp;
fp                464 tools/perf/util/srcline.c 	fp = popen(cmd, "r");
fp                465 tools/perf/util/srcline.c 	if (fp == NULL) {
fp                480 tools/perf/util/srcline.c 	while (getline(&funcname, &funclen, fp) != -1) {
fp                486 tools/perf/util/srcline.c 		if (getline(&filename, &filelen, fp) == -1)
fp                504 tools/perf/util/srcline.c 	pclose(fp);
fp                425 tools/perf/util/stat.c size_t perf_event__fprintf_stat(union perf_event *event, FILE *fp)
fp                430 tools/perf/util/stat.c 	ret  = fprintf(fp, "\n... id %" PRI_lu64 ", cpu %d, thread %d\n",
fp                432 tools/perf/util/stat.c 	ret += fprintf(fp, "... value %" PRI_lu64 ", enabled %" PRI_lu64 ", running %" PRI_lu64 "\n",
fp                438 tools/perf/util/stat.c size_t perf_event__fprintf_stat_round(union perf_event *event, FILE *fp)
fp                443 tools/perf/util/stat.c 	ret = fprintf(fp, "\n... time %" PRI_lu64 ", type %s\n", rd->time,
fp                449 tools/perf/util/stat.c size_t perf_event__fprintf_stat_config(union perf_event *event, FILE *fp)
fp                456 tools/perf/util/stat.c 	ret  = fprintf(fp, "\n");
fp                457 tools/perf/util/stat.c 	ret += fprintf(fp, "... aggr_mode %d\n", sc.aggr_mode);
fp                458 tools/perf/util/stat.c 	ret += fprintf(fp, "... scale     %d\n", sc.scale);
fp                459 tools/perf/util/stat.c 	ret += fprintf(fp, "... interval  %u\n", sc.interval);
fp                208 tools/perf/util/stat.h size_t perf_event__fprintf_stat(union perf_event *event, FILE *fp);
fp                209 tools/perf/util/stat.h size_t perf_event__fprintf_stat_round(union perf_event *event, FILE *fp);
fp                210 tools/perf/util/stat.h size_t perf_event__fprintf_stat_config(union perf_event *event, FILE *fp);
fp                 72 tools/perf/util/strlist.c 	FILE *fp = fopen(filename, "r");
fp                 74 tools/perf/util/strlist.c 	if (fp == NULL)
fp                 77 tools/perf/util/strlist.c 	while (fgets(entry, sizeof(entry), fp) != NULL) {
fp                 91 tools/perf/util/strlist.c 	fclose(fp);
fp                 89 tools/perf/util/symbol-minimal.c 	FILE *fp;
fp                 97 tools/perf/util/symbol-minimal.c 	fp = fopen(filename, "r");
fp                 98 tools/perf/util/symbol-minimal.c 	if (fp == NULL)
fp                101 tools/perf/util/symbol-minimal.c 	if (fread(e_ident, sizeof(e_ident), 1, fp) != 1)
fp                111 tools/perf/util/symbol-minimal.c 	fseek(fp, 0, SEEK_SET);
fp                117 tools/perf/util/symbol-minimal.c 		if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1)
fp                131 tools/perf/util/symbol-minimal.c 		fseek(fp, ehdr.e_phoff, SEEK_SET);
fp                132 tools/perf/util/symbol-minimal.c 		if (fread(buf, buf_size, 1, fp) != 1)
fp                155 tools/perf/util/symbol-minimal.c 			fseek(fp, offset, SEEK_SET);
fp                156 tools/perf/util/symbol-minimal.c 			if (fread(buf, buf_size, 1, fp) != 1)
fp                168 tools/perf/util/symbol-minimal.c 		if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1)
fp                182 tools/perf/util/symbol-minimal.c 		fseek(fp, ehdr.e_phoff, SEEK_SET);
fp                183 tools/perf/util/symbol-minimal.c 		if (fread(buf, buf_size, 1, fp) != 1)
fp                206 tools/perf/util/symbol-minimal.c 			fseek(fp, offset, SEEK_SET);
fp                207 tools/perf/util/symbol-minimal.c 			if (fread(buf, buf_size, 1, fp) != 1)
fp                219 tools/perf/util/symbol-minimal.c 	fclose(fp);
fp               2200 tools/perf/util/symbol.c 	FILE *fp = fopen("/proc/sys/kernel/kptr_restrict", "r");
fp               2202 tools/perf/util/symbol.c 	if (fp != NULL) {
fp               2205 tools/perf/util/symbol.c 		if (fgets(line, sizeof(line), fp) != NULL)
fp               2210 tools/perf/util/symbol.c 		fclose(fp);
fp                173 tools/perf/util/symbol.h 				      bool print_offsets, FILE *fp);
fp                175 tools/perf/util/symbol.h 				    const struct addr_location *al, FILE *fp);
fp                178 tools/perf/util/symbol.h 				 bool unknown_as_addr, FILE *fp);
fp                179 tools/perf/util/symbol.h size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp);
fp                180 tools/perf/util/symbol.h size_t symbol__fprintf(struct symbol *sym, FILE *fp);
fp                 10 tools/perf/util/symbol_fprintf.c size_t symbol__fprintf(struct symbol *sym, FILE *fp)
fp                 12 tools/perf/util/symbol_fprintf.c 	return fprintf(fp, " %" PRIx64 "-%" PRIx64 " %c %s\n",
fp                 22 tools/perf/util/symbol_fprintf.c 				      bool print_offsets, FILE *fp)
fp                 28 tools/perf/util/symbol_fprintf.c 		length = fprintf(fp, "%s", sym->name);
fp                 34 tools/perf/util/symbol_fprintf.c 			length += fprintf(fp, "+0x%lx", offset);
fp                 38 tools/perf/util/symbol_fprintf.c 		return fprintf(fp, "[%#" PRIx64 "]", al->addr);
fp                 40 tools/perf/util/symbol_fprintf.c 		return fprintf(fp, "[unknown]");
fp                 45 tools/perf/util/symbol_fprintf.c 				    FILE *fp)
fp                 47 tools/perf/util/symbol_fprintf.c 	return __symbol__fprintf_symname_offs(sym, al, false, true, fp);
fp                 52 tools/perf/util/symbol_fprintf.c 				 bool unknown_as_addr, FILE *fp)
fp                 54 tools/perf/util/symbol_fprintf.c 	return __symbol__fprintf_symname_offs(sym, al, unknown_as_addr, false, fp);
fp                 57 tools/perf/util/symbol_fprintf.c size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp)
fp                 59 tools/perf/util/symbol_fprintf.c 	return __symbol__fprintf_symname_offs(sym, NULL, false, false, fp);
fp                 63 tools/perf/util/symbol_fprintf.c 				    FILE *fp)
fp                 71 tools/perf/util/symbol_fprintf.c 		fprintf(fp, "%s\n", pos->sym.name);
fp                284 tools/perf/util/synthetic-events.c 	FILE *fp;
fp                298 tools/perf/util/synthetic-events.c 	fp = fopen(filename, "r");
fp                299 tools/perf/util/synthetic-events.c 	if (fp == NULL) {
fp                319 tools/perf/util/synthetic-events.c 		if (fgets(bf, sizeof(bf), fp) == NULL)
fp                412 tools/perf/util/synthetic-events.c 	fclose(fp);
fp                324 tools/perf/util/thread.c size_t thread__fprintf(struct thread *thread, FILE *fp)
fp                326 tools/perf/util/thread.c 	return fprintf(fp, "Thread %d %s\n", thread->tid, thread__comm_str(thread)) +
fp                327 tools/perf/util/thread.c 	       map_groups__fprintf(thread->mg, fp);
fp                 95 tools/perf/util/thread.h size_t thread__fprintf(struct thread *thread, FILE *fp);
fp                307 tools/perf/util/thread_map.c size_t thread_map__fprintf(struct perf_thread_map *threads, FILE *fp)
fp                310 tools/perf/util/thread_map.c 	size_t printed = fprintf(fp, "%d thread%s: ",
fp                313 tools/perf/util/thread_map.c 		printed += fprintf(fp, "%s%d", i ? ", " : "", perf_thread_map__pid(threads, i));
fp                315 tools/perf/util/thread_map.c 	return printed + fprintf(fp, "\n");
fp                 26 tools/perf/util/thread_map.h size_t thread_map__fprintf(struct perf_thread_map *threads, FILE *fp);
fp                101 tools/perf/util/trace-event-parse.c 			   int cpu, void *data, int size, FILE *fp)
fp                113 tools/perf/util/trace-event-parse.c 	trace_seq_do_fprintf(&s, fp);
fp                 32 tools/perf/util/trace-event.h 			   int cpu, void *data, int size, FILE *fp);
fp                201 tools/perf/util/values.c static void perf_read_values__display_pretty(FILE *fp,
fp                210 tools/perf/util/values.c 		fprintf(fp, "INTERNAL ERROR: Failed to allocate counterwidth array\n");
fp                233 tools/perf/util/values.c 	fprintf(fp, "# %*s  %*s", pidwidth, "PID", tidwidth, "TID");
fp                235 tools/perf/util/values.c 		fprintf(fp, "  %*s", counterwidth[j], values->countername[j]);
fp                236 tools/perf/util/values.c 	fprintf(fp, "\n");
fp                239 tools/perf/util/values.c 		fprintf(fp, "  %*d  %*d", pidwidth, values->pid[i],
fp                242 tools/perf/util/values.c 			fprintf(fp, "  %*" PRIu64,
fp                244 tools/perf/util/values.c 		fprintf(fp, "\n");
fp                249 tools/perf/util/values.c static void perf_read_values__display_raw(FILE *fp,
fp                285 tools/perf/util/values.c 	fprintf(fp, "# %*s  %*s  %*s  %*s  %*s\n",
fp                291 tools/perf/util/values.c 			fprintf(fp, "  %*d  %*d  %*s  %*" PRIx64 "  %*" PRIu64,
fp                299 tools/perf/util/values.c void perf_read_values_display(FILE *fp, struct perf_read_values *values, int raw)
fp                302 tools/perf/util/values.c 		perf_read_values__display_raw(fp, values);
fp                304 tools/perf/util/values.c 		perf_read_values__display_pretty(fp, values);
fp                 25 tools/perf/util/values.h void perf_read_values_display(FILE *fp, struct perf_read_values *values,
fp                 25 tools/power/cpupower/utils/cpufreq-info.c 	FILE *fp;
fp                 30 tools/power/cpupower/utils/cpufreq-info.c 	fp = fopen("/proc/stat", "r");
fp                 31 tools/power/cpupower/utils/cpufreq-info.c 	if (!fp) {
fp                 36 tools/power/cpupower/utils/cpufreq-info.c 	while (!feof(fp)) {
fp                 37 tools/power/cpupower/utils/cpufreq-info.c 		if (!fgets(value, LINE_LEN, fp))
fp                 49 tools/power/cpupower/utils/cpufreq-info.c 	fclose(fp);
fp                 48 tools/power/cpupower/utils/helpers/cpuid.c 	FILE *fp;
fp                 62 tools/power/cpupower/utils/helpers/cpuid.c 	fp = fopen("/proc/cpuinfo", "r");
fp                 63 tools/power/cpupower/utils/helpers/cpuid.c 	if (!fp)
fp                 66 tools/power/cpupower/utils/helpers/cpuid.c 	while (!feof(fp)) {
fp                 67 tools/power/cpupower/utils/helpers/cpuid.c 		if (!fgets(value, 64, fp))
fp                109 tools/power/cpupower/utils/helpers/cpuid.c 	fclose(fp);
fp               1688 tools/power/x86/turbostat/turbostat.c 	FILE *fp;
fp               1692 tools/power/x86/turbostat/turbostat.c 	fp = fopen_or_die(path, "r");
fp               1694 tools/power/x86/turbostat/turbostat.c 	retval = fscanf(fp, "%lld", &counter);
fp               1698 tools/power/x86/turbostat/turbostat.c 	fclose(fp);
fp               2737 tools/power/x86/turbostat/turbostat.c 	FILE *fp;
fp               2741 tools/power/x86/turbostat/turbostat.c 	fp = fopen_or_die(proc_stat, "r");
fp               2743 tools/power/x86/turbostat/turbostat.c 	retval = fscanf(fp, "cpu %*d %*d %*d %*d %*d %*d %*d %*d %*d %*d\n");
fp               2748 tools/power/x86/turbostat/turbostat.c 		retval = fscanf(fp, "cpu%u %*d %*d %*d %*d %*d %*d %*d %*d %*d %*d\n", &cpu_num);
fp               2754 tools/power/x86/turbostat/turbostat.c 			fclose(fp);
fp               2758 tools/power/x86/turbostat/turbostat.c 	fclose(fp);
fp               2814 tools/power/x86/turbostat/turbostat.c 	static FILE *fp;
fp               2817 tools/power/x86/turbostat/turbostat.c 	if (fp == NULL)
fp               2818 tools/power/x86/turbostat/turbostat.c 		fp = fopen_or_die("/proc/interrupts", "r");
fp               2820 tools/power/x86/turbostat/turbostat.c 		rewind(fp);
fp               2826 tools/power/x86/turbostat/turbostat.c 		retval = fscanf(fp, " CPU%d", &cpu_number);
fp               2844 tools/power/x86/turbostat/turbostat.c 		retval = fscanf(fp, " %s:", buf);	/* flush irq# "N:" */
fp               2853 tools/power/x86/turbostat/turbostat.c 			retval = fscanf(fp, " %d", &irq_count);
fp               2862 tools/power/x86/turbostat/turbostat.c 		while (getc(fp) != '\n')
fp               2878 tools/power/x86/turbostat/turbostat.c 	FILE *fp;
fp               2881 tools/power/x86/turbostat/turbostat.c 	fp = fopen_or_die("/sys/class/drm/card0/power/rc6_residency_ms", "r");
fp               2883 tools/power/x86/turbostat/turbostat.c 	retval = fscanf(fp, "%lld", &gfx_cur_rc6_ms);
fp               2887 tools/power/x86/turbostat/turbostat.c 	fclose(fp);
fp               2901 tools/power/x86/turbostat/turbostat.c 	static FILE *fp;
fp               2904 tools/power/x86/turbostat/turbostat.c 	if (fp == NULL)
fp               2905 tools/power/x86/turbostat/turbostat.c 		fp = fopen_or_die("/sys/class/graphics/fb0/device/drm/card0/gt_cur_freq_mhz", "r");
fp               2907 tools/power/x86/turbostat/turbostat.c 		rewind(fp);
fp               2908 tools/power/x86/turbostat/turbostat.c 		fflush(fp);
fp               2911 tools/power/x86/turbostat/turbostat.c 	retval = fscanf(fp, "%d", &gfx_cur_mhz);
fp               2926 tools/power/x86/turbostat/turbostat.c 	FILE *fp;
fp               2929 tools/power/x86/turbostat/turbostat.c 	fp = fopen_or_die("/sys/devices/system/cpu/cpuidle/low_power_idle_cpu_residency_us", "r");
fp               2931 tools/power/x86/turbostat/turbostat.c 	retval = fscanf(fp, "%lld", &cpuidle_cur_cpu_lpi_us);
fp               2935 tools/power/x86/turbostat/turbostat.c 		fclose(fp);
fp               2939 tools/power/x86/turbostat/turbostat.c 	fclose(fp);
fp               2950 tools/power/x86/turbostat/turbostat.c 	FILE *fp;
fp               2953 tools/power/x86/turbostat/turbostat.c 	fp = fopen_or_die(sys_lpi_file, "r");
fp               2955 tools/power/x86/turbostat/turbostat.c 	retval = fscanf(fp, "%lld", &cpuidle_cur_sys_lpi_us);
fp               2959 tools/power/x86/turbostat/turbostat.c 		fclose(fp);
fp               2962 tools/power/x86/turbostat/turbostat.c 	fclose(fp);
fp                820 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	FILE *fp;
fp                827 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	fp = fopen(pathname, "w");
fp                828 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	if (!fp) {
fp                835 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	retval = fprintf(fp, "%d", khz);
fp                842 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	fclose(fp);
fp               1103 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	FILE *fp;
fp               1110 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	fp = fopen_or_die(pathname, "r");
fp               1111 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	retval = fscanf(fp, "%d\n", &pkg);
fp               1151 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	FILE *fp;
fp               1155 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	fp = fopen_or_die(proc_stat, "r");
fp               1157 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	retval = fscanf(fp, "cpu %*d %*d %*d %*d %*d %*d %*d %*d %*d %*d\n");
fp               1162 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 		retval = fscanf(fp, "cpu%u %*d %*d %*d %*d %*d %*d %*d %*d %*d %*d\n", &cpu_num);
fp               1168 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 			fclose(fp);
fp               1172 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	fclose(fp);
fp                598 tools/testing/selftests/bpf/test_align.c static int probe_filter_length(const struct bpf_insn *fp)
fp                603 tools/testing/selftests/bpf/test_align.c 		if (fp[len].code != 0 || fp[len].imm != 0)
fp               5794 tools/testing/selftests/bpf/test_btf.c static size_t probe_prog_length(const struct bpf_insn *fp)
fp               5799 tools/testing/selftests/bpf/test_btf.c 		if (fp[len].code != 0 || fp[len].imm != 0)
fp                280 tools/testing/selftests/bpf/test_progs.c 	FILE *fp;
fp                284 tools/testing/selftests/bpf/test_progs.c 	fp = popen("readelf -n ./urandom_read | grep 'Build ID'", "r");
fp                285 tools/testing/selftests/bpf/test_progs.c 	if (fp == NULL)
fp                288 tools/testing/selftests/bpf/test_progs.c 	if (getline(&line, &len, fp) == -1)
fp                290 tools/testing/selftests/bpf/test_progs.c 	fclose(fp);
fp                298 tools/testing/selftests/bpf/test_progs.c 	fclose(fp);
fp                318 tools/testing/selftests/bpf/test_sock.c static size_t probe_prog_length(const struct bpf_insn *fp)
fp                323 tools/testing/selftests/bpf/test_sock.c 		if (fp[len].code != 0 || fp[len].imm != 0)
fp                332 tools/testing/selftests/bpf/test_sockmap.c 	int i, fp;
fp                344 tools/testing/selftests/bpf/test_sockmap.c 	fp = fileno(file);
fp                348 tools/testing/selftests/bpf/test_sockmap.c 		int sent = sendfile(fd, fp, NULL, iov_length);
fp               1377 tools/testing/selftests/bpf/test_sysctl.c static size_t probe_prog_length(const struct bpf_insn *fp)
fp               1382 tools/testing/selftests/bpf/test_sysctl.c 		if (fp[len].code != 0 || fp[len].imm != 0)
fp                 96 tools/testing/selftests/bpf/test_tag.c 	FILE *fp;
fp                100 tools/testing/selftests/bpf/test_tag.c 	fp = fopen(buff, "r");
fp                101 tools/testing/selftests/bpf/test_tag.c 	assert(fp);
fp                103 tools/testing/selftests/bpf/test_tag.c 	while (fgets(buff, sizeof(buff), fp)) {
fp                110 tools/testing/selftests/bpf/test_tag.c 	fclose(fp);
fp                357 tools/testing/selftests/bpf/test_verifier.c static int probe_filter_length(const struct bpf_insn *fp)
fp                362 tools/testing/selftests/bpf/test_verifier.c 		if (fp[len].code != 0 || fp[len].imm != 0)
fp                 36 tools/testing/selftests/powerpc/benchmarks/context_switch.c double fp;
fp                 60 tools/testing/selftests/powerpc/benchmarks/context_switch.c 		fp += 0.1;
fp                 70 tools/testing/selftests/powerpc/benchmarks/context_switch.c 	asm volatile("# %0 %1 %2": : "r"(&tv), "r"(&fp), "r"(&c));
fp                254 tools/testing/selftests/powerpc/mm/tlbie_test.c static FILE *fp[MAX_THREADS];
fp                279 tools/testing/selftests/powerpc/mm/tlbie_test.c 	fp[tid] = f;
fp                295 tools/testing/selftests/powerpc/mm/tlbie_test.c 	FILE *f = fp[tid];
fp                310 tools/testing/selftests/powerpc/mm/tlbie_test.c 	FILE *f = fp[tid];
fp                298 tools/testing/selftests/powerpc/tm/tm-unavailable.c void test_fp_vec(int fp, int vec, pthread_attr_t *attr)
fp                304 tools/testing/selftests/powerpc/tm/tm-unavailable.c 	flags.touch_fp = fp;
fp                140 tools/testing/selftests/sparc64/drivers/adi-test.c 	FILE *fp;
fp                145 tools/testing/selftests/sparc64/drivers/adi-test.c 	fp = fopen("/proc/iomem", "r");
fp                146 tools/testing/selftests/sparc64/drivers/adi-test.c 	if (!fp) {
fp                152 tools/testing/selftests/sparc64/drivers/adi-test.c 	while (fgets(line, sizeof(line), fp) != 0) {
fp                169 tools/testing/selftests/sparc64/drivers/adi-test.c 	fclose(fp);
fp                 89 tools/testing/vsock/vsock_diag_test.c static void print_vsock_addr(FILE *fp, unsigned int cid, unsigned int port)
fp                 92 tools/testing/vsock/vsock_diag_test.c 		fprintf(fp, "*:");
fp                 94 tools/testing/vsock/vsock_diag_test.c 		fprintf(fp, "%u:", cid);
fp                 97 tools/testing/vsock/vsock_diag_test.c 		fprintf(fp, "*");
fp                 99 tools/testing/vsock/vsock_diag_test.c 		fprintf(fp, "%u", port);
fp                102 tools/testing/vsock/vsock_diag_test.c static void print_vsock_stat(FILE *fp, struct vsock_stat *st)
fp                104 tools/testing/vsock/vsock_diag_test.c 	print_vsock_addr(fp, st->msg.vdiag_src_cid, st->msg.vdiag_src_port);
fp                105 tools/testing/vsock/vsock_diag_test.c 	fprintf(fp, " ");
fp                106 tools/testing/vsock/vsock_diag_test.c 	print_vsock_addr(fp, st->msg.vdiag_dst_cid, st->msg.vdiag_dst_port);
fp                107 tools/testing/vsock/vsock_diag_test.c 	fprintf(fp, " %s %s %s %u\n",
fp                114 tools/testing/vsock/vsock_diag_test.c static void print_vsock_stats(FILE *fp, struct list_head *head)
fp                119 tools/testing/vsock/vsock_diag_test.c 		print_vsock_stat(fp, st);
fp                470 tools/usb/usbip/src/usbipd.c 		FILE *fp;
fp                472 tools/usb/usbip/src/usbipd.c 		fp = fopen(pid_file, "w");
fp                473 tools/usb/usbip/src/usbipd.c 		if (!fp) {
fp                478 tools/usb/usbip/src/usbipd.c 		fprintf(fp, "%d\n", getpid());
fp                479 tools/usb/usbip/src/usbipd.c 		fclose(fp);