ip                228 arch/alpha/boot/stdio.c 				long * ip = va_arg(args, long *);
ip                229 arch/alpha/boot/stdio.c 				*ip = (str - buf);
ip                231 arch/alpha/boot/stdio.c 				size_t * ip = va_arg(args, size_t *);
ip                232 arch/alpha/boot/stdio.c 				*ip = (str - buf);
ip                234 arch/alpha/boot/stdio.c 				int * ip = va_arg(args, int *);
ip                235 arch/alpha/boot/stdio.c 				*ip = (str - buf);
ip               2330 arch/alpha/kernel/smc37c669.c     struct INODE *ip;
ip               2332 arch/alpha/kernel/smc37c669.c     allocinode( smc_ddb.name, 1, &ip );
ip               2333 arch/alpha/kernel/smc37c669.c     ip->dva = &smc_ddb;
ip               2334 arch/alpha/kernel/smc37c669.c     ip->attr = ATTR$M_WRITE | ATTR$M_READ;
ip               2335 arch/alpha/kernel/smc37c669.c     ip->len[0] = 0x30;
ip               2336 arch/alpha/kernel/smc37c669.c     ip->misc = 0;
ip               2337 arch/alpha/kernel/smc37c669.c     INODE_UNLOCK( ip );
ip               2344 arch/alpha/kernel/smc37c669.c     struct INODE *ip;
ip               2349 arch/alpha/kernel/smc37c669.c     ip = fp->ip;
ip               2350 arch/alpha/kernel/smc37c669.c     INODE_LOCK( ip );
ip               2352 arch/alpha/kernel/smc37c669.c 	if ( ip->misc ) {
ip               2353 arch/alpha/kernel/smc37c669.c 	    INODE_UNLOCK( ip );
ip               2356 arch/alpha/kernel/smc37c669.c 	ip->misc++;
ip               2362 arch/alpha/kernel/smc37c669.c     INODE_UNLOCK( ip );
ip               2369 arch/alpha/kernel/smc37c669.c     struct INODE *ip;
ip               2371 arch/alpha/kernel/smc37c669.c     ip = fp->ip;
ip               2373 arch/alpha/kernel/smc37c669.c 	INODE_LOCK( ip );
ip               2374 arch/alpha/kernel/smc37c669.c 	ip->misc--;
ip               2375 arch/alpha/kernel/smc37c669.c 	INODE_UNLOCK( ip );
ip               2385 arch/alpha/kernel/smc37c669.c     struct INODE *ip;
ip               2390 arch/alpha/kernel/smc37c669.c     ip = fp->ip;
ip               2396 arch/alpha/kernel/smc37c669.c 	if ( !inrange( *fp->offset, 0, ip->len[0] ) ) 
ip               2411 arch/alpha/kernel/smc37c669.c     struct INODE *ip;
ip               2415 arch/alpha/kernel/smc37c669.c     ip = fp->ip;
ip               2421 arch/alpha/kernel/smc37c669.c 	if ( !inrange( *fp->offset, 0, ip->len[0] ) ) 
ip                187 arch/arc/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
ip                189 arch/arc/kernel/kgdb.c 	instruction_pointer(regs) = ip;
ip                294 arch/arm/common/sa1111.c 	u32 ip, mask = sa1111_irqmask(d);
ip                297 arch/arm/common/sa1111.c 	ip = readl_relaxed(mapbase + SA1111_INTPOL0);
ip                299 arch/arm/common/sa1111.c 		writel_relaxed(ip ^ mask, mapbase + SA1111_INTPOL0);
ip                300 arch/arm/common/sa1111.c 		writel_relaxed(ip, mapbase + SA1111_INTPOL0);
ip                315 arch/arm/common/sa1111.c 	u32 ip, mask = sa1111_irqmask(d);
ip                323 arch/arm/common/sa1111.c 	ip = readl_relaxed(mapbase + SA1111_INTPOL0);
ip                325 arch/arm/common/sa1111.c 		ip &= ~mask;
ip                327 arch/arm/common/sa1111.c 		ip |= mask;
ip                328 arch/arm/common/sa1111.c 	writel_relaxed(ip, mapbase + SA1111_INTPOL0);
ip                329 arch/arm/common/sa1111.c 	writel_relaxed(ip, mapbase + SA1111_WAKEPOL0);
ip                113 arch/arm/include/asm/assembler.h 	stmdb   sp!, {r0-r3, ip, lr}
ip                117 arch/arm/include/asm/assembler.h 	ldmia	sp!, {r0-r3, ip, lr}
ip                129 arch/arm/include/asm/assembler.h 	stmdb   sp!, {r0-r3, ip, lr}
ip                133 arch/arm/include/asm/assembler.h 	ldmia	sp!, {r0-r3, ip, lr}
ip                134 arch/arm/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                138 arch/arm/kernel/ftrace.c 	new = ftrace_call_replace(ip, adjust_address(rec, addr));
ip                140 arch/arm/kernel/ftrace.c 	return ftrace_modify_code(rec->ip, old, new, true);
ip                149 arch/arm/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                151 arch/arm/kernel/ftrace.c 	old = ftrace_call_replace(ip, adjust_address(rec, old_addr));
ip                153 arch/arm/kernel/ftrace.c 	new = ftrace_call_replace(ip, adjust_address(rec, addr));
ip                155 arch/arm/kernel/ftrace.c 	return ftrace_modify_code(rec->ip, old, new, true);
ip                163 arch/arm/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                168 arch/arm/kernel/ftrace.c 	old = ftrace_call_replace(ip, adjust_address(rec, addr));
ip                170 arch/arm/kernel/ftrace.c 	ret = ftrace_modify_code(ip, old, new, true);
ip                 82 arch/arm/kernel/ptrace.c 	REG_OFFSET_NAME(ip),
ip                900 arch/arm/kernel/ptrace.c 	unsigned long ip;
ip                906 arch/arm/kernel/ptrace.c 	ip = regs->ARM_ip;
ip                914 arch/arm/kernel/ptrace.c 	regs->ARM_ip = ip;
ip                  9 arch/arm/lib/bitops.h 	ands	ip, r1, #3
ip                 10 arch/arm/lib/bitops.h 	strbne	r1, [ip]		@ assert word-aligned
ip                 34 arch/arm/lib/bitops.h 	ands	ip, r1, #3
ip                 35 arch/arm/lib/bitops.h 	strbne	r1, [ip]		@ assert word-aligned
ip                 50 arch/arm/lib/bitops.h 	strex	ip, r2, [r1]
ip                 51 arch/arm/lib/bitops.h 	cmp	ip, #0
ip                 64 arch/arm/lib/bitops.h 	ands	ip, r1, #3
ip                 65 arch/arm/lib/bitops.h 	strbne	r1, [ip]		@ assert word-aligned
ip                 70 arch/arm/lib/bitops.h 	save_and_disable_irqs ip
ip                 74 arch/arm/lib/bitops.h 	restore_irqs ip
ip                 91 arch/arm/lib/bitops.h 	ands	ip, r1, #3
ip                 92 arch/arm/lib/bitops.h 	strbne	r1, [ip]		@ assert word-aligned
ip                 95 arch/arm/lib/bitops.h 	save_and_disable_irqs ip
ip                102 arch/arm/lib/bitops.h 	restore_irqs ip
ip                111 arch/arm/mach-bcm/bcm_kona_smc.c 	register u32 ip asm("ip");	/* Also called r12 */
ip                130 arch/arm/mach-bcm/bcm_kona_smc.c 		: "=r" (ip), "=r" (r0)
ip                134 arch/arm/mach-bcm/bcm_kona_smc.c 	BUG_ON(ip != SEC_EXIT_NORMAL);
ip                769 arch/arm/mm/alignment.c static int alignment_get_arm(struct pt_regs *regs, u32 *ip, u32 *inst)
ip                775 arch/arm/mm/alignment.c 		fault = get_user(instr, ip);
ip                777 arch/arm/mm/alignment.c 		fault = probe_kernel_address(ip, instr);
ip                784 arch/arm/mm/alignment.c static int alignment_get_thumb(struct pt_regs *regs, u16 *ip, u16 *inst)
ip                790 arch/arm/mm/alignment.c 		fault = get_user(instr, ip);
ip                792 arch/arm/mm/alignment.c 		fault = probe_kernel_address(ip, instr);
ip                227 arch/arm/probes/decode.c 		u16 *ip = (u16 *)asi->insn;
ip                229 arch/arm/probes/decode.c 			*ip++ = __opcode_to_mem_thumb16(insn >> 16);
ip                230 arch/arm/probes/decode.c 		*ip++ = __opcode_to_mem_thumb16(insn);
ip                 70 arch/arm64/kernel/ftrace.c 	unsigned long pc = rec->ip;
ip                153 arch/arm64/kernel/ftrace.c 	unsigned long pc = rec->ip;
ip                 13 arch/c6x/kernel/module.c static inline int fixup_pcr(u32 *ip, Elf32_Addr dest, u32 maskbits, int shift)
ip                 16 arch/c6x/kernel/module.c 	long ep = (long)ip & ~31;
ip                 22 arch/c6x/kernel/module.c 		opcode = *ip;
ip                 25 arch/c6x/kernel/module.c 		*ip = opcode;
ip                 28 arch/c6x/kernel/module.c 			 maskbits, ip, (void *)dest, opcode);
ip                 33 arch/c6x/kernel/module.c 	       maskbits, ip, (void *)dest);
ip                111 arch/csky/kernel/ftrace.c 	int ret = ftrace_check_current_nop(rec->ip);
ip                116 arch/csky/kernel/ftrace.c 	return ftrace_modify_code(rec->ip, addr, true, false);
ip                122 arch/csky/kernel/ftrace.c 	return ftrace_modify_code(rec->ip, addr, false, false);
ip                 82 arch/hexagon/kernel/traps.c 			  unsigned long ip)
ip                116 arch/hexagon/kernel/traps.c 	if (!ip)
ip                117 arch/hexagon/kernel/traps.c 		ip = *(fp+1);
ip                126 arch/hexagon/kernel/traps.c 		name = kallsyms_lookup(ip, &size, &offset, &modname, tmpstr);
ip                128 arch/hexagon/kernel/traps.c 		printk(KERN_INFO "[%p] 0x%lx: %s + 0x%lx", fp, ip, name,
ip                164 arch/hexagon/kernel/traps.c 			ip = pt_elr(regs);
ip                166 arch/hexagon/kernel/traps.c 			ip = *(newfp + 1);
ip                170 arch/hexagon/kernel/traps.c 		if (ip == 0x0)
ip                 37 arch/ia64/hp/common/aml_nfw.c 	void *ip;
ip                 48 arch/ia64/hp/common/aml_nfw.c 	u64 ip;
ip                 66 arch/ia64/hp/common/aml_nfw.c 	virt_entry.ip = virt_map(c->ip);
ip                231 arch/ia64/include/asm/elf.h 	uint64_t ip;
ip                 13 arch/ia64/include/asm/ftrace.h #define MCOUNT_ADDR (((struct fnptr *)mcount)->ip)
ip                 14 arch/ia64/include/asm/ftrace.h #define FTRACE_ADDR (((struct fnptr *)ftrace_caller)->ip)
ip                 38 arch/ia64/include/asm/sections.h 	if (!probe_kernel_address(&desc->ip, p))
ip                 27 arch/ia64/include/asm/types.h 	unsigned long ip;
ip                 63 arch/ia64/include/asm/unwind.h 	unsigned long ip;		/* instruction pointer value */
ip                144 arch/ia64/include/asm/unwind.h 	*valp = (info)->ip;
ip                141 arch/ia64/include/uapi/asm/cmpxchg.h 		void *ip;						\
ip                143 arch/ia64/include/uapi/asm/cmpxchg.h 		ip = (void *) ia64_getreg(_IA64_REG_IP);		\
ip                144 arch/ia64/include/uapi/asm/cmpxchg.h 		printk("CMPXCHG_BUGCHECK: stuck at %p on word %p\n", ip, (v));\
ip                 68 arch/ia64/include/uapi/asm/perfmon_default_smpl.h         unsigned long   ip;                     /* where did the overflow interrupt happened  */
ip                 81 arch/ia64/kernel/ftrace.c static unsigned char *ftrace_call_replace(unsigned long ip, unsigned long addr)
ip                 84 arch/ia64/kernel/ftrace.c 	unsigned long offset = addr - (ip + 0x10);
ip                 94 arch/ia64/kernel/ftrace.c ftrace_modify_code(unsigned long ip, unsigned char *old_code,
ip                111 arch/ia64/kernel/ftrace.c 	if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE))
ip                120 arch/ia64/kernel/ftrace.c 	if (probe_kernel_write(((void *)ip), new_code, MCOUNT_INSN_SIZE))
ip                122 arch/ia64/kernel/ftrace.c 	flush_icache_range(ip, ip + MCOUNT_INSN_SIZE);
ip                130 arch/ia64/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                132 arch/ia64/kernel/ftrace.c 	if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE))
ip                169 arch/ia64/kernel/ftrace.c 	return ftrace_modify_code(rec->ip, NULL, new, 0);
ip                174 arch/ia64/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                178 arch/ia64/kernel/ftrace.c 	new = ftrace_call_replace(ip, addr);
ip                179 arch/ia64/kernel/ftrace.c 	return ftrace_modify_code(ip, old, new, 1);
ip                185 arch/ia64/kernel/ftrace.c 	unsigned long ip;
ip                186 arch/ia64/kernel/ftrace.c 	unsigned long addr = ((struct fnptr *)ftrace_call)->ip;
ip                190 arch/ia64/kernel/ftrace.c 	ip = ((struct fnptr *)func)->ip;
ip                192 arch/ia64/kernel/ftrace.c 	ia64_patch_imm64(addr + 2, ip);
ip                414 arch/ia64/kernel/kprobes.c 		((struct fnptr *)kretprobe_trampoline)->ip;
ip                490 arch/ia64/kernel/kprobes.c 	regs->b0 = ((struct fnptr *)kretprobe_trampoline)->ip;
ip                984 arch/ia64/kernel/kprobes.c 	return ((struct fnptr *)entry)->ip;
ip                994 arch/ia64/kernel/kprobes.c 		(kprobe_opcode_t *)((struct fnptr *)kretprobe_trampoline)->ip;
ip               1001 arch/ia64/kernel/kprobes.c 		(kprobe_opcode_t *)((struct fnptr *)kretprobe_trampoline)->ip)
ip                504 arch/ia64/kernel/mca.c                 unsigned long ip)
ip                514 arch/ia64/kernel/mca.c                 if ((ip >= curr_start) && (ip <= curr_end)) {
ip                605 arch/ia64/kernel/module.c 	while (fdesc->ip) {
ip                606 arch/ia64/kernel/module.c 		if (fdesc->ip == value)
ip                613 arch/ia64/kernel/module.c 	fdesc->ip = value;
ip                104 arch/ia64/kernel/patch.c 	u64 ip;
ip                107 arch/ia64/kernel/patch.c 		ip = (u64) offp + *offp;
ip                110 arch/ia64/kernel/patch.c 		ia64_patch_imm64(ip, ia64_tpa(get_imm64(ip)));
ip                111 arch/ia64/kernel/patch.c 		ia64_fc((void *) ip);
ip                127 arch/ia64/kernel/patch.c 	u64 ip, *b;
ip                130 arch/ia64/kernel/patch.c 		ip = (u64) offp + *offp;
ip                132 arch/ia64/kernel/patch.c 		b = (u64 *)(ip & -16);
ip                134 arch/ia64/kernel/patch.c 		ia64_fc((void *) ip);
ip                177 arch/ia64/kernel/patch.c 	u64 ip;
ip                180 arch/ia64/kernel/patch.c 		ip = (u64) ia64_imva((char *) offp + *offp);
ip                181 arch/ia64/kernel/patch.c 		ia64_patch_imm64(ip, (u64) fsyscall_table);
ip                182 arch/ia64/kernel/patch.c 		ia64_fc((void *) ip);
ip                194 arch/ia64/kernel/patch.c 	u64 ip;
ip                197 arch/ia64/kernel/patch.c 		ip = (u64) offp + *offp;
ip                198 arch/ia64/kernel/patch.c 		ia64_patch_imm60((u64) ia64_imva((void *) ip),
ip                199 arch/ia64/kernel/patch.c 				 (u64) (fsys_bubble_down - (ip & -16)) / 16);
ip                200 arch/ia64/kernel/patch.c 		ia64_fc((void *) ip);
ip                223 arch/ia64/kernel/patch.c 	u64 ip, mask, imm;
ip                230 arch/ia64/kernel/patch.c 		ip = (u64) offp + *offp;
ip                231 arch/ia64/kernel/patch.c 		ia64_patch(ip, mask, imm);
ip                232 arch/ia64/kernel/patch.c 		ia64_fc((void *)ip);
ip                167 arch/ia64/kernel/perfmon_default_smpl.c 	ent->ip = regs->cr_iip | ((regs->cr_ipsr >> 41) & 0x3);
ip                 70 arch/ia64/kernel/process.c 	unsigned long ip, sp, bsp;
ip                 74 arch/ia64/kernel/process.c 		unw_get_ip(info, &ip);
ip                 75 arch/ia64/kernel/process.c 		if (ip == 0)
ip                 82 arch/ia64/kernel/process.c 			 ip, (void *)ip, sp, bsp);
ip                102 arch/ia64/kernel/process.c 	unsigned long ip = regs->cr_iip + ia64_psr(regs)->ri;
ip                108 arch/ia64/kernel/process.c 	       regs->cr_ipsr, regs->cr_ifs, ip, print_tainted(),
ip                110 arch/ia64/kernel/process.c 	printk("ip is at %pS\n", (void *)ip);
ip                447 arch/ia64/kernel/process.c 	unsigned long uninitialized_var(ip);	/* GCC be quiet */
ip                493 arch/ia64/kernel/process.c 	unw_get_rp(info, &ip);
ip                494 arch/ia64/kernel/process.c 	dst[42] = ip + ia64_psr(pt)->ri;
ip                597 arch/ia64/kernel/process.c 	unsigned long ip;
ip                617 arch/ia64/kernel/process.c 		unw_get_ip(&info, &ip);
ip                618 arch/ia64/kernel/process.c 		if (!in_sched_functions(ip))
ip                619 arch/ia64/kernel/process.c 			return ip;
ip                733 arch/ia64/kernel/ptrace.c 	unsigned long ip, sp, pr;
ip                749 arch/ia64/kernel/ptrace.c 			unw_get_rp(&prev_info, &ip);
ip                752 arch/ia64/kernel/ptrace.c 				__func__, ip);
ip                 46 arch/ia64/kernel/signal.c 	unsigned long ip, flags, nat, um, cfm, rsc;
ip                 55 arch/ia64/kernel/signal.c 	err |= __get_user(ip, &sc->sc_ip);			/* instruction pointer */
ip                 74 arch/ia64/kernel/signal.c 	scr->pt.cr_iip = ip & ~0x3UL;
ip                 75 arch/ia64/kernel/signal.c 	ia64_psr(&scr->pt)->ri = ip & 0x3;
ip                 16 arch/ia64/kernel/stacktrace.c 	unsigned long ip;
ip                 21 arch/ia64/kernel/stacktrace.c 		unw_get_ip(info, &ip);
ip                 22 arch/ia64/kernel/stacktrace.c 		if (ip == 0)
ip                 25 arch/ia64/kernel/stacktrace.c 			trace->entries[trace->nr_entries++] = ip;
ip               1205 arch/ia64/kernel/unwind.c hash (unsigned long ip)
ip               1210 arch/ia64/kernel/unwind.c 	return (ip >> 4) * hashmagic >> (64 - UNW_LOG_HASH_SIZE);
ip               1214 arch/ia64/kernel/unwind.c cache_match (struct unw_script *script, unsigned long ip, unsigned long pr)
ip               1217 arch/ia64/kernel/unwind.c 	if (ip == script->ip && ((pr ^ script->pr_val) & script->pr_mask) == 0)
ip               1229 arch/ia64/kernel/unwind.c 	unsigned long ip, pr;
ip               1236 arch/ia64/kernel/unwind.c 	ip = info->ip;
ip               1239 arch/ia64/kernel/unwind.c 	if (cache_match(script, ip, pr)) {
ip               1244 arch/ia64/kernel/unwind.c 	index = unw.hash[hash(ip)];
ip               1250 arch/ia64/kernel/unwind.c 		if (cache_match(script, ip, pr)) {
ip               1267 arch/ia64/kernel/unwind.c script_new (unsigned long ip)
ip               1297 arch/ia64/kernel/unwind.c 	if (script->ip) {
ip               1298 arch/ia64/kernel/unwind.c 		index = hash(script->ip);
ip               1318 arch/ia64/kernel/unwind.c 	index = hash(ip);
ip               1322 arch/ia64/kernel/unwind.c 	script->ip = ip;	/* set new IP while we're holding the locks */
ip               1532 arch/ia64/kernel/unwind.c 	unsigned long ip = info->ip;
ip               1550 arch/ia64/kernel/unwind.c 	UNW_DPRINT(3, "unwind.%s: ip 0x%lx\n", __func__, ip);
ip               1551 arch/ia64/kernel/unwind.c 	script = script_new(ip);
ip               1565 arch/ia64/kernel/unwind.c 		if (ip >= table->start && ip < table->end) {
ip               1579 arch/ia64/kernel/unwind.c 			e = lookup(table, ip - table->segment_base);
ip               1587 arch/ia64/kernel/unwind.c 			__func__, ip, unw.cache[info->prev_script].ip);
ip               1598 arch/ia64/kernel/unwind.c 	sr.when_target = (3*((ip & ~0xfUL) - (table->segment_base + e->start_offset))/16
ip               1599 arch/ia64/kernel/unwind.c 			  + (ip & 0xfUL));
ip               1636 arch/ia64/kernel/unwind.c 			   __func__, ip, sr.curr.reg[UNW_REG_RP].where,
ip               1722 arch/ia64/kernel/unwind.c 	struct unw_insn *ip, *limit, next_insn;
ip               1729 arch/ia64/kernel/unwind.c 	ip = script->insn;
ip               1731 arch/ia64/kernel/unwind.c 	next_insn = *ip;
ip               1733 arch/ia64/kernel/unwind.c 	while (ip++ < limit) {
ip               1737 arch/ia64/kernel/unwind.c 		next_insn = *ip;
ip               1840 arch/ia64/kernel/unwind.c 	if ((info->ip & (local_cpu_data->unimpl_va_mask | 0xf)) || info->ip < TASK_SIZE) {
ip               1843 arch/ia64/kernel/unwind.c 		UNW_DPRINT(1, "unwind.%s: rejecting bad ip=0x%lx\n", __func__, info->ip);
ip               1856 arch/ia64/kernel/unwind.c 				   __func__, info->ip);
ip               1886 arch/ia64/kernel/unwind.c 	unsigned long ip, pr, num_regs;
ip               1892 arch/ia64/kernel/unwind.c 	prev_ip = info->ip;
ip               1900 arch/ia64/kernel/unwind.c 			   __func__, info->ip);
ip               1905 arch/ia64/kernel/unwind.c 	ip = info->ip = *info->rp_loc;
ip               1906 arch/ia64/kernel/unwind.c 	if (ip < GATE_ADDR) {
ip               1907 arch/ia64/kernel/unwind.c 		UNW_DPRINT(2, "unwind.%s: reached user-space (ip=0x%lx)\n", __func__, ip);
ip               1950 arch/ia64/kernel/unwind.c 	if (info->ip == prev_ip && info->sp == prev_sp && info->bsp == prev_bsp) {
ip               1952 arch/ia64/kernel/unwind.c 			   __func__, ip);
ip               1972 arch/ia64/kernel/unwind.c 	unsigned long ip, sp, pr = info->pr;
ip               1986 arch/ia64/kernel/unwind.c 			unw_get_rp(info, &ip);
ip               1989 arch/ia64/kernel/unwind.c 				__func__, ip);
ip               1993 arch/ia64/kernel/unwind.c 	unw_get_ip(info, &ip);
ip               1995 arch/ia64/kernel/unwind.c 		   __func__, ip);
ip               2060 arch/ia64/kernel/unwind.c 	info->ip = sw->b0;
ip               2065 arch/ia64/kernel/unwind.c 		   __func__, info->bsp, sol, info->ip);
ip               2170 arch/ia64/kernel/unwind.c 		    || tmp->ip < table->start || tmp->ip >= table->end)
ip               2175 arch/ia64/kernel/unwind.c 			if (tmp->ip >= table->start && tmp->ip < table->end) {
ip               2177 arch/ia64/kernel/unwind.c 				tmp->ip = 0;
ip                155 arch/ia64/kernel/unwind_i.h 	unsigned long ip;		/* ip this script is for */
ip                 51 arch/ia64/oprofile/backtrace.c 	if (in_ivt_code(bt->frame.ip))
ip                559 arch/m68k/mac/misc.c 	const unsigned short int *ip;
ip                597 arch/m68k/mac/misc.c 	ip = __mon_yday[__isleap(y)];
ip                598 arch/m68k/mac/misc.c 	for (y = 11; days < (long int) ip[y]; --y)
ip                600 arch/m68k/mac/misc.c 	days -= ip[y];
ip                135 arch/microblaze/kernel/ftrace.c 		imm = *(unsigned int *)rec->ip;
ip                138 arch/microblaze/kernel/ftrace.c 		bralid = *(unsigned int *)(rec->ip + 4);
ip                144 arch/microblaze/kernel/ftrace.c 	ret = ftrace_modify_code(rec->ip, MICROBLAZE_NOP);
ip                145 arch/microblaze/kernel/ftrace.c 	ret += ftrace_modify_code(rec->ip + 4, MICROBLAZE_NOP);
ip                147 arch/microblaze/kernel/ftrace.c 	ret = ftrace_modify_code(rec->ip, MICROBLAZE_BRI);
ip                157 arch/microblaze/kernel/ftrace.c 		__func__, (unsigned int)addr, (unsigned int)rec->ip, imm);
ip                158 arch/microblaze/kernel/ftrace.c 	ret = ftrace_modify_code(rec->ip, imm);
ip                161 arch/microblaze/kernel/ftrace.c 	ret += ftrace_modify_code(rec->ip + 4, bralid);
ip                173 arch/microblaze/kernel/ftrace.c 	unsigned long ip = (unsigned long)(&ftrace_call);
ip                183 arch/microblaze/kernel/ftrace.c 		__func__, (unsigned int)func, (unsigned int)ip, upper, lower);
ip                186 arch/microblaze/kernel/ftrace.c 	ret = ftrace_modify_code(ip, upper);
ip                187 arch/microblaze/kernel/ftrace.c 	ret += ftrace_modify_code(ip + 4, lower);
ip                202 arch/microblaze/kernel/ftrace.c 	unsigned long ip = (unsigned long)(&ftrace_call_graph);
ip                204 arch/microblaze/kernel/ftrace.c 	old_jump = *(unsigned int *)ip; /* save jump over instruction */
ip                205 arch/microblaze/kernel/ftrace.c 	ret = ftrace_modify_code(ip, MICROBLAZE_NOP);
ip                214 arch/microblaze/kernel/ftrace.c 	unsigned long ip = (unsigned long)(&ftrace_call_graph);
ip                216 arch/microblaze/kernel/ftrace.c 	ret = ftrace_modify_code(ip, old_jump);
ip                108 arch/microblaze/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
ip                110 arch/microblaze/kernel/kgdb.c 	regs->pc = ip;
ip                 87 arch/mips/include/asm/txx9/tx3927.h 	endian_def_b4(ml, mg, ip, il);
ip                 77 arch/mips/kernel/ftrace.c static int ftrace_modify_code(unsigned long ip, unsigned int new_code)
ip                 83 arch/mips/kernel/ftrace.c 	safe_store_code(new_code, ip, faulted);
ip                 90 arch/mips/kernel/ftrace.c 	flush_icache_range(ip, ip + 8);
ip                 97 arch/mips/kernel/ftrace.c static int ftrace_modify_code_2(unsigned long ip, unsigned int new_code1,
ip                103 arch/mips/kernel/ftrace.c 	safe_store_code(new_code1, ip, faulted);
ip                107 arch/mips/kernel/ftrace.c 	ip += 4;
ip                108 arch/mips/kernel/ftrace.c 	safe_store_code(new_code2, ip, faulted);
ip                112 arch/mips/kernel/ftrace.c 	ip -= 4;
ip                115 arch/mips/kernel/ftrace.c 	flush_icache_range(ip, ip + 8);
ip                121 arch/mips/kernel/ftrace.c static int ftrace_modify_code_2r(unsigned long ip, unsigned int new_code1,
ip                127 arch/mips/kernel/ftrace.c 	ip += 4;
ip                128 arch/mips/kernel/ftrace.c 	safe_store_code(new_code2, ip, faulted);
ip                132 arch/mips/kernel/ftrace.c 	ip -= 4;
ip                133 arch/mips/kernel/ftrace.c 	safe_store_code(new_code1, ip, faulted);
ip                139 arch/mips/kernel/ftrace.c 	flush_icache_range(ip, ip + 8);
ip                182 arch/mips/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                188 arch/mips/kernel/ftrace.c 	new = core_kernel_text(ip) ? INSN_NOP : INSN_B_1F;
ip                190 arch/mips/kernel/ftrace.c 	return ftrace_modify_code(ip, new);
ip                199 arch/mips/kernel/ftrace.c 	return ftrace_modify_code_2(ip, new, INSN_NOP);
ip                206 arch/mips/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                208 arch/mips/kernel/ftrace.c 	new = core_kernel_text(ip) ? insn_jal_ftrace_caller : insn_la_mcount[0];
ip                211 arch/mips/kernel/ftrace.c 	return ftrace_modify_code(ip, new);
ip                213 arch/mips/kernel/ftrace.c 	return ftrace_modify_code_2r(ip, new, core_kernel_text(ip) ?
ip                270 arch/mips/kernel/ftrace.c 	unsigned long sp, ip, tmp;
ip                279 arch/mips/kernel/ftrace.c 	ip = self_ra - (core_kernel_text(self_ra) ? 16 : 24);
ip                287 arch/mips/kernel/ftrace.c 		safe_load_code(code, ip, faulted);
ip                300 arch/mips/kernel/ftrace.c 		ip -= 4;
ip                203 arch/mips/kernel/process.c static inline int is_ra_save_ins(union mips_instruction *ip, int *poff)
ip                215 arch/mips/kernel/process.c 	if (mm_insn_16bit(ip->word >> 16)) {
ip                216 arch/mips/kernel/process.c 		switch (ip->mm16_r5_format.opcode) {
ip                218 arch/mips/kernel/process.c 			if (ip->mm16_r5_format.rt != 31)
ip                221 arch/mips/kernel/process.c 			*poff = ip->mm16_r5_format.imm;
ip                226 arch/mips/kernel/process.c 			switch (ip->mm16_m_format.func) {
ip                228 arch/mips/kernel/process.c 				*poff = ip->mm16_m_format.imm;
ip                229 arch/mips/kernel/process.c 				*poff += 1 + ip->mm16_m_format.rlist;
ip                242 arch/mips/kernel/process.c 	switch (ip->i_format.opcode) {
ip                244 arch/mips/kernel/process.c 		if (ip->i_format.rs != 29)
ip                246 arch/mips/kernel/process.c 		if (ip->i_format.rt != 31)
ip                249 arch/mips/kernel/process.c 		*poff = ip->i_format.simmediate / sizeof(ulong);
ip                253 arch/mips/kernel/process.c 		switch (ip->mm_m_format.func) {
ip                255 arch/mips/kernel/process.c 			if (ip->mm_m_format.rd < 0x10)
ip                257 arch/mips/kernel/process.c 			if (ip->mm_m_format.base != 29)
ip                260 arch/mips/kernel/process.c 			*poff = ip->mm_m_format.simmediate;
ip                261 arch/mips/kernel/process.c 			*poff += (ip->mm_m_format.rd & 0xf) * sizeof(u32);
ip                273 arch/mips/kernel/process.c 	if ((ip->i_format.opcode == sw_op || ip->i_format.opcode == sd_op) &&
ip                274 arch/mips/kernel/process.c 		ip->i_format.rs == 29 && ip->i_format.rt == 31) {
ip                275 arch/mips/kernel/process.c 		*poff = ip->i_format.simmediate / sizeof(ulong);
ip                283 arch/mips/kernel/process.c static inline int is_jump_ins(union mips_instruction *ip)
ip                294 arch/mips/kernel/process.c 	if (mm_insn_16bit(ip->word >> 16)) {
ip                295 arch/mips/kernel/process.c 		if ((ip->mm16_r5_format.opcode == mm_pool16c_op &&
ip                296 arch/mips/kernel/process.c 		    (ip->mm16_r5_format.rt & mm_jr16_op) == mm_jr16_op))
ip                301 arch/mips/kernel/process.c 	if (ip->j_format.opcode == mm_j32_op)
ip                303 arch/mips/kernel/process.c 	if (ip->j_format.opcode == mm_jal32_op)
ip                305 arch/mips/kernel/process.c 	if (ip->r_format.opcode != mm_pool32a_op ||
ip                306 arch/mips/kernel/process.c 			ip->r_format.func != mm_pool32axf_op)
ip                308 arch/mips/kernel/process.c 	return ((ip->u_format.uimmediate >> 6) & mm_jalr_op) == mm_jalr_op;
ip                310 arch/mips/kernel/process.c 	if (ip->j_format.opcode == j_op)
ip                312 arch/mips/kernel/process.c 	if (ip->j_format.opcode == jal_op)
ip                314 arch/mips/kernel/process.c 	if (ip->r_format.opcode != spec_op)
ip                316 arch/mips/kernel/process.c 	return ip->r_format.func == jalr_op || ip->r_format.func == jr_op;
ip                320 arch/mips/kernel/process.c static inline int is_sp_move_ins(union mips_instruction *ip, int *frame_size)
ip                333 arch/mips/kernel/process.c 	if (mm_insn_16bit(ip->word >> 16)) {
ip                334 arch/mips/kernel/process.c 		if (ip->mm16_r3_format.opcode == mm_pool16d_op &&
ip                335 arch/mips/kernel/process.c 		    ip->mm16_r3_format.simmediate & mm_addiusp_func) {
ip                336 arch/mips/kernel/process.c 			tmp = ip->mm_b0_format.simmediate >> 1;
ip                343 arch/mips/kernel/process.c 		if (ip->mm16_r5_format.opcode == mm_pool16d_op &&
ip                344 arch/mips/kernel/process.c 		    ip->mm16_r5_format.rt == 29) {
ip                345 arch/mips/kernel/process.c 			tmp = ip->mm16_r5_format.imm >> 1;
ip                352 arch/mips/kernel/process.c 	if (ip->mm_i_format.opcode == mm_addiu32_op &&
ip                353 arch/mips/kernel/process.c 	    ip->mm_i_format.rt == 29 && ip->mm_i_format.rs == 29) {
ip                354 arch/mips/kernel/process.c 		*frame_size = -ip->i_format.simmediate;
ip                359 arch/mips/kernel/process.c 	if (ip->i_format.rs != 29 || ip->i_format.rt != 29)
ip                362 arch/mips/kernel/process.c 	if (ip->i_format.opcode == addiu_op ||
ip                363 arch/mips/kernel/process.c 	    ip->i_format.opcode == daddiu_op) {
ip                364 arch/mips/kernel/process.c 		*frame_size = -ip->i_format.simmediate;
ip                374 arch/mips/kernel/process.c 	union mips_instruction insn, *ip;
ip                383 arch/mips/kernel/process.c 	ip = (void *)msk_isa16_mode((ulong)info->func);
ip                384 arch/mips/kernel/process.c 	if (!ip)
ip                388 arch/mips/kernel/process.c 		ip = (void *)ip + last_insn_size;
ip                390 arch/mips/kernel/process.c 		if (is_mmips && mm_insn_16bit(ip->halfword[0])) {
ip                391 arch/mips/kernel/process.c 			insn.word = ip->halfword[0] << 16;
ip                394 arch/mips/kernel/process.c 			insn.word = ip->halfword[0] << 16 | ip->halfword[1];
ip                397 arch/mips/kernel/process.c 			insn.word = ip->word;
ip                404 arch/mips/kernel/process.c 		} else if (!saw_jump && is_jump_ins(ip)) {
ip                446 arch/mips/kernel/process.c 	union mips_instruction *ip = (void *)schedule;
ip                450 arch/mips/kernel/process.c 	for (i = 0; i < max_insns; i++, ip++) {
ip                451 arch/mips/kernel/process.c 		if (ip->j_format.opcode == j_op)
ip                452 arch/mips/kernel/process.c 			return J_TARGET(ip, ip->j_format.target);
ip                 83 arch/mips/lasat/sysctl.c 	unsigned int ip;
ip                111 arch/mips/lasat/sysctl.c 		ip = in_aton(ipbuf);
ip                112 arch/mips/lasat/sysctl.c 		*(unsigned int *)(table->data) = ip;
ip                115 arch/mips/lasat/sysctl.c 		ip = *(unsigned int *)(table->data);
ip                117 arch/mips/lasat/sysctl.c 			(ip)	   & 0xff,
ip                118 arch/mips/lasat/sysctl.c 			(ip >>	8) & 0xff,
ip                119 arch/mips/lasat/sysctl.c 			(ip >> 16) & 0xff,
ip                120 arch/mips/lasat/sysctl.c 			(ip >> 24) & 0xff);
ip                158 arch/mips/mm/uasm-micromips.c 	const struct insn *ip;
ip                167 arch/mips/mm/uasm-micromips.c 	ip = &insn_table_MM[opc];
ip                169 arch/mips/mm/uasm-micromips.c 	op = ip->match;
ip                171 arch/mips/mm/uasm-micromips.c 	if (ip->fields & RS) {
ip                178 arch/mips/mm/uasm-micromips.c 	if (ip->fields & RT) {
ip                185 arch/mips/mm/uasm-micromips.c 	if (ip->fields & RD)
ip                187 arch/mips/mm/uasm-micromips.c 	if (ip->fields & RE)
ip                189 arch/mips/mm/uasm-micromips.c 	if (ip->fields & SIMM)
ip                191 arch/mips/mm/uasm-micromips.c 	if (ip->fields & UIMM)
ip                193 arch/mips/mm/uasm-micromips.c 	if (ip->fields & BIMM)
ip                195 arch/mips/mm/uasm-micromips.c 	if (ip->fields & JIMM)
ip                197 arch/mips/mm/uasm-micromips.c 	if (ip->fields & FUNC)
ip                199 arch/mips/mm/uasm-micromips.c 	if (ip->fields & SET)
ip                201 arch/mips/mm/uasm-micromips.c 	if (ip->fields & SCIMM)
ip                232 arch/mips/mm/uasm-mips.c 	const struct insn *ip;
ip                241 arch/mips/mm/uasm-mips.c 	ip = &insn_table[opc];
ip                243 arch/mips/mm/uasm-mips.c 	op = ip->match;
ip                245 arch/mips/mm/uasm-mips.c 	if (ip->fields & RS)
ip                247 arch/mips/mm/uasm-mips.c 	if (ip->fields & RT)
ip                249 arch/mips/mm/uasm-mips.c 	if (ip->fields & RD)
ip                251 arch/mips/mm/uasm-mips.c 	if (ip->fields & RE)
ip                253 arch/mips/mm/uasm-mips.c 	if (ip->fields & SIMM)
ip                255 arch/mips/mm/uasm-mips.c 	if (ip->fields & UIMM)
ip                257 arch/mips/mm/uasm-mips.c 	if (ip->fields & BIMM)
ip                259 arch/mips/mm/uasm-mips.c 	if (ip->fields & JIMM)
ip                261 arch/mips/mm/uasm-mips.c 	if (ip->fields & FUNC)
ip                263 arch/mips/mm/uasm-mips.c 	if (ip->fields & SET)
ip                265 arch/mips/mm/uasm-mips.c 	if (ip->fields & SCIMM)
ip                267 arch/mips/mm/uasm-mips.c 	if (ip->fields & SIMM9)
ip                 32 arch/mips/oprofile/backtrace.c static inline int is_ra_save_ins(union mips_instruction *ip)
ip                 35 arch/mips/oprofile/backtrace.c 	return (ip->i_format.opcode == sw_op || ip->i_format.opcode == sd_op)
ip                 36 arch/mips/oprofile/backtrace.c 		&& ip->i_format.rs == 29 && ip->i_format.rt == 31;
ip                 39 arch/mips/oprofile/backtrace.c static inline int is_sp_move_ins(union mips_instruction *ip)
ip                 42 arch/mips/oprofile/backtrace.c 	if (ip->i_format.rs != 29 || ip->i_format.rt != 29)
ip                 44 arch/mips/oprofile/backtrace.c 	if (ip->i_format.opcode == addiu_op || ip->i_format.opcode == daddiu_op)
ip                 53 arch/mips/oprofile/backtrace.c static inline int is_end_of_function_marker(union mips_instruction *ip)
ip                 56 arch/mips/oprofile/backtrace.c 	if (ip->r_format.func == jr_op && ip->r_format.rs == 31)
ip                 59 arch/mips/oprofile/backtrace.c 	if (ip->i_format.opcode == lui_op && ip->i_format.rt == 28)
ip                 85 arch/mips/oprofile/backtrace.c 		union mips_instruction ip;
ip                 87 arch/mips/oprofile/backtrace.c 		if (get_mem(addr, (unsigned long *) &ip))
ip                 90 arch/mips/oprofile/backtrace.c 		if (is_sp_move_ins(&ip)) {
ip                 91 arch/mips/oprofile/backtrace.c 			int stack_adjustment = ip.i_format.simmediate;
ip                 97 arch/mips/oprofile/backtrace.c 		} else if (is_ra_save_ins(&ip)) {
ip                 98 arch/mips/oprofile/backtrace.c 			int ra_slot = ip.i_format.simmediate;
ip                103 arch/mips/oprofile/backtrace.c 		} else if (is_end_of_function_marker(&ip))
ip                356 arch/mips/paravirt/paravirt-irq.c 	int ip;
ip                363 arch/mips/paravirt/paravirt-irq.c 	ip = ffs(pending) - 1 - STATUSB_IP0;
ip                364 arch/mips/paravirt/paravirt-irq.c 	if (ip == 2)
ip                367 arch/mips/paravirt/paravirt-irq.c 		do_IRQ(MIPS_CPU_IRQ_BASE + ip);
ip                 91 arch/mips/rb532/irq.c static inline void enable_local_irq(unsigned int ip)
ip                 93 arch/mips/rb532/irq.c 	int ipnum = 0x100 << ip;
ip                 98 arch/mips/rb532/irq.c static inline void disable_local_irq(unsigned int ip)
ip                100 arch/mips/rb532/irq.c 	int ipnum = 0x100 << ip;
ip                105 arch/mips/rb532/irq.c static inline void ack_local_irq(unsigned int ip)
ip                107 arch/mips/rb532/irq.c 	int ipnum = 0x100 << ip;
ip                115 arch/mips/rb532/irq.c 	int ip = irq_nr - GROUP0_IRQ_BASE;
ip                118 arch/mips/rb532/irq.c 	if (ip < 0)
ip                121 arch/mips/rb532/irq.c 		group = ip >> 5;
ip                123 arch/mips/rb532/irq.c 		ip &= (1 << 5) - 1;
ip                124 arch/mips/rb532/irq.c 		intr_bit = 1 << ip;
ip                136 arch/mips/rb532/irq.c 	int ip = irq_nr - GROUP0_IRQ_BASE;
ip                139 arch/mips/rb532/irq.c 	if (ip < 0) {
ip                142 arch/mips/rb532/irq.c 		group = ip >> 5;
ip                144 arch/mips/rb532/irq.c 		ip &= (1 << 5) - 1;
ip                145 arch/mips/rb532/irq.c 		intr_bit = 1 << ip;
ip                215 arch/mips/rb532/irq.c 	unsigned int ip, pend, group;
ip                222 arch/mips/rb532/irq.c 		ip = (cp0_cause & 0x7c00);
ip                223 arch/mips/rb532/irq.c 		if (ip) {
ip                224 arch/mips/rb532/irq.c 			group = 21 + (fls(ip) - 32);
ip                 12 arch/nds32/kernel/ftrace.c noinline void __naked ftrace_stub(unsigned long ip, unsigned long parent_ip,
ip                 22 arch/nds32/kernel/ftrace.c 	unsigned long ip = (unsigned long)__builtin_return_address(0);
ip                 25 arch/nds32/kernel/ftrace.c 		ftrace_trace_function(ip - MCOUNT_INSN_SIZE, parent_ip,
ip                 40 arch/nds32/kernel/ftrace.c noinline void __naked ftrace_stub(unsigned long ip, unsigned long parent_ip,
ip                186 arch/nds32/kernel/ftrace.c 	unsigned long pc = rec->ip;
ip                198 arch/nds32/kernel/ftrace.c 	unsigned long pc = rec->ip;
ip                 64 arch/parisc/include/asm/unwind.h 	unsigned long sp, ip, rp, r31;
ip                122 arch/parisc/kernel/ftrace.c 	void *ip;
ip                167 arch/parisc/kernel/ftrace.c 	if (rec->ip & 0x4) {
ip                173 arch/parisc/kernel/ftrace.c 	ip = (void *)(rec->ip + 4 - size);
ip                175 arch/parisc/kernel/ftrace.c 	ret = probe_kernel_read(insn, ip, size);
ip                184 arch/parisc/kernel/ftrace.c 	__patch_text_multiple(ip, tramp, size);
ip                197 arch/parisc/kernel/ftrace.c 	__patch_text((void *)rec->ip, INSN_NOP);
ip                198 arch/parisc/kernel/ftrace.c 	__patch_text_multiple((void *)rec->ip + 4 - sizeof(insn),
ip                205 arch/parisc/kernel/ftrace.c void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,
ip                209 arch/parisc/kernel/ftrace.c 	struct kprobe *p = get_kprobe((kprobe_opcode_t *)ip);
ip                224 arch/parisc/kernel/ftrace.c 	regs->iaoq[0] = ip;
ip                225 arch/parisc/kernel/ftrace.c 	regs->iaoq[1] = ip + 4;
ip                228 arch/parisc/kernel/ftrace.c 		regs->iaoq[0] = ip + 4;
ip                229 arch/parisc/kernel/ftrace.c 		regs->iaoq[1] = ip + 8;
ip                149 arch/parisc/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
ip                151 arch/parisc/kernel/kgdb.c 	regs->iaoq[0] = ip;
ip                152 arch/parisc/kernel/kgdb.c 	regs->iaoq[1] = ip + 4;
ip                269 arch/parisc/kernel/process.c 	unsigned long ip;
ip                283 arch/parisc/kernel/process.c 		ip = info.ip;
ip                284 arch/parisc/kernel/process.c 		if (!in_sched_functions(ip))
ip                285 arch/parisc/kernel/process.c 			return ip;
ip                 25 arch/parisc/kernel/stacktrace.c 		if (unwind_once(&info) < 0 || info.ip == 0)
ip                 28 arch/parisc/kernel/stacktrace.c 		if (__kernel_text_address(info.ip))
ip                 29 arch/parisc/kernel/stacktrace.c 			trace->entries[trace->nr_entries++] = info.ip;
ip                179 arch/parisc/kernel/traps.c 		if (unwind_once(info) < 0 || info->ip == 0)
ip                182 arch/parisc/kernel/traps.c 		if (__kernel_text_address(info->ip)) {
ip                184 arch/parisc/kernel/traps.c 				info->ip, (void *) info->ip);
ip                274 arch/parisc/kernel/unwind.c 	e = find_unwind_entry(info->ip);
ip                279 arch/parisc/kernel/unwind.c 			(void *) info->ip);
ip                314 arch/parisc/kernel/unwind.c 		    "prev_sp=%lx prev_ip=%lx\n", info->ip, 
ip                327 arch/parisc/kernel/unwind.c 		     npc < info->ip; 
ip                337 arch/parisc/kernel/unwind.c 				    "%lx, frame_size = %ld\n", info->ip,
ip                343 arch/parisc/kernel/unwind.c 				    "%lx, frame_size = %ld\n", info->ip,
ip                350 arch/parisc/kernel/unwind.c 				    "-20(sp) @ %lx\n", info->ip, npc);
ip                356 arch/parisc/kernel/unwind.c 				    "-16(sp) @ %lx\n", info->ip, npc);
ip                374 arch/parisc/kernel/unwind.c 		    "prev_ip=%lx npc=%lx\n", info->ip, info->prev_sp, 
ip                385 arch/parisc/kernel/unwind.c 	info->ip = regs->iaoq[0];
ip                390 arch/parisc/kernel/unwind.c 	    t ? (int)t->pid : -1, info->sp, info->ip);
ip                444 arch/parisc/kernel/unwind.c 	next_frame->ip = next_frame->prev_ip;
ip                450 arch/parisc/kernel/unwind.c 	    next_frame->sp, next_frame->ip);
ip                461 arch/parisc/kernel/unwind.c 	} while (!ret && !(info->ip & 3));
ip                476 arch/parisc/kernel/unwind.c 		if (unwind_once(&info) < 0 || info.ip == 0)
ip                478 arch/parisc/kernel/unwind.c 		if (!kernel_text_address(info.ip))
ip                480 arch/parisc/kernel/unwind.c 	} while (info.ip && level--);
ip                482 arch/parisc/kernel/unwind.c 	return info.ip;
ip                264 arch/powerpc/boot/stdio.c 				long * ip = va_arg(args, long *);
ip                265 arch/powerpc/boot/stdio.c 				*ip = (str - buf);
ip                267 arch/powerpc/boot/stdio.c 				size_t * ip = va_arg(args, size_t *);
ip                268 arch/powerpc/boot/stdio.c 				*ip = (str - buf);
ip                270 arch/powerpc/boot/stdio.c 				int * ip = va_arg(args, int *);
ip                271 arch/powerpc/boot/stdio.c 				*ip = (str - buf);
ip                137 arch/powerpc/include/asm/asm-prototypes.h unsigned long prepare_ftrace_return(unsigned long parent, unsigned long ip,
ip                 78 arch/powerpc/include/asm/imc-pmu.h 	u64 ip;
ip                 15 arch/powerpc/include/asm/livepatch.h static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip)
ip                 17 arch/powerpc/include/asm/livepatch.h 	regs->nip = ip;
ip                201 arch/powerpc/include/asm/mpc52xx_psc.h 	u8		ip;		/* PSC + 0x34 */
ip                342 arch/powerpc/include/asm/mpc52xx_psc.h 	u8		ip;			/* PSC + 0x44 */
ip               1991 arch/powerpc/kernel/process.c 	unsigned long ip, sp;
ip               2007 arch/powerpc/kernel/process.c 			ip = ((unsigned long *)sp)[STACK_FRAME_LR_SAVE];
ip               2008 arch/powerpc/kernel/process.c 			if (!in_sched_functions(ip))
ip               2009 arch/powerpc/kernel/process.c 				return ip;
ip               2033 arch/powerpc/kernel/process.c 	unsigned long sp, ip, lr, newsp;
ip               2063 arch/powerpc/kernel/process.c 		ip = stack[STACK_FRAME_LR_SAVE];
ip               2064 arch/powerpc/kernel/process.c 		if (!firstframe || ip != lr) {
ip               2065 arch/powerpc/kernel/process.c 			printk("["REG"] ["REG"] %pS", sp, ip, (void *)ip);
ip               2068 arch/powerpc/kernel/process.c 						&ftrace_idx, ip, stack);
ip               2069 arch/powerpc/kernel/process.c 			if (ret_addr != ip)
ip                 34 arch/powerpc/kernel/stacktrace.c 		unsigned long newsp, ip;
ip                 40 arch/powerpc/kernel/stacktrace.c 		ip = stack[STACK_FRAME_LR_SAVE];
ip                 42 arch/powerpc/kernel/stacktrace.c 		if (savesched || !in_sched_functions(ip)) {
ip                 44 arch/powerpc/kernel/stacktrace.c 				trace->entries[trace->nr_entries++] = ip;
ip                146 arch/powerpc/kernel/stacktrace.c 		unsigned long ip;
ip                177 arch/powerpc/kernel/stacktrace.c 		ip = stack[STACK_FRAME_LR_SAVE];
ip                178 arch/powerpc/kernel/stacktrace.c 		if (!__kernel_text_address(ip))
ip                185 arch/powerpc/kernel/stacktrace.c 		ip = ftrace_graph_ret_addr(tsk, &graph_idx, ip, stack);
ip                191 arch/powerpc/kernel/stacktrace.c 		if (ip == (unsigned long)kretprobe_trampoline)
ip                198 arch/powerpc/kernel/stacktrace.c 			trace->entries[trace->nr_entries++] = ip;
ip                 44 arch/powerpc/kernel/trace/ftrace.c ftrace_call_replace(unsigned long ip, unsigned long addr, int link)
ip                 51 arch/powerpc/kernel/trace/ftrace.c 	op = create_branch((unsigned int *)ip, addr, link ? 1 : 0);
ip                 57 arch/powerpc/kernel/trace/ftrace.c ftrace_modify_code(unsigned long ip, unsigned int old, unsigned int new)
ip                 70 arch/powerpc/kernel/trace/ftrace.c 	if (probe_kernel_read(&replaced, (void *)ip, MCOUNT_INSN_SIZE))
ip                 76 arch/powerpc/kernel/trace/ftrace.c 		(void *)ip, replaced, old);
ip                 81 arch/powerpc/kernel/trace/ftrace.c 	if (patch_instruction((unsigned int *)ip, new))
ip                 90 arch/powerpc/kernel/trace/ftrace.c static int test_24bit_addr(unsigned long ip, unsigned long addr)
ip                 95 arch/powerpc/kernel/trace/ftrace.c 	return create_branch((unsigned int *)ip, addr, 0);
ip                108 arch/powerpc/kernel/trace/ftrace.c static unsigned long find_bl_target(unsigned long ip, unsigned int op)
ip                117 arch/powerpc/kernel/trace/ftrace.c 	return ip + (long)offset;
ip                127 arch/powerpc/kernel/trace/ftrace.c 	unsigned long ip = rec->ip;
ip                131 arch/powerpc/kernel/trace/ftrace.c 	if (probe_kernel_read(&op, (void *)ip, sizeof(int))) {
ip                143 arch/powerpc/kernel/trace/ftrace.c 	tramp = find_bl_target(ip, op);
ip                145 arch/powerpc/kernel/trace/ftrace.c 	pr_devel("ip:%lx jumps to %lx", ip, tramp);
ip                165 arch/powerpc/kernel/trace/ftrace.c 	if (probe_kernel_read(&op, (void *)(ip - 4), 4)) {
ip                166 arch/powerpc/kernel/trace/ftrace.c 		pr_err("Fetching instruction at %lx failed.\n", ip - 4);
ip                196 arch/powerpc/kernel/trace/ftrace.c 	if (probe_kernel_read(&op, (void *)(ip+4), MCOUNT_INSN_SIZE)) {
ip                207 arch/powerpc/kernel/trace/ftrace.c 	if (patch_instruction((unsigned int *)ip, pop)) {
ip                222 arch/powerpc/kernel/trace/ftrace.c 	unsigned long ip = rec->ip;
ip                225 arch/powerpc/kernel/trace/ftrace.c 	if (probe_kernel_read(&op, (void *)ip, MCOUNT_INSN_SIZE))
ip                235 arch/powerpc/kernel/trace/ftrace.c 	tramp = find_bl_target(ip, op);
ip                245 arch/powerpc/kernel/trace/ftrace.c 	pr_devel("ip:%lx jumps to %lx", ip, tramp);
ip                279 arch/powerpc/kernel/trace/ftrace.c 	if (patch_instruction((unsigned int *)ip, op))
ip                287 arch/powerpc/kernel/trace/ftrace.c static unsigned long find_ftrace_tramp(unsigned long ip)
ip                298 arch/powerpc/kernel/trace/ftrace.c 		else if (create_branch((void *)ip, ftrace_tramps[i], 0))
ip                390 arch/powerpc/kernel/trace/ftrace.c 	unsigned long tramp, ip = rec->ip;
ip                394 arch/powerpc/kernel/trace/ftrace.c 	if (probe_kernel_read(&op, (void *)ip, sizeof(int))) {
ip                406 arch/powerpc/kernel/trace/ftrace.c 	tramp = find_bl_target(ip, op);
ip                408 arch/powerpc/kernel/trace/ftrace.c 	pr_devel("ip:%lx jumps to %lx", ip, tramp);
ip                412 arch/powerpc/kernel/trace/ftrace.c 		if (!find_ftrace_tramp(ip)) {
ip                414 arch/powerpc/kernel/trace/ftrace.c 					(void *)ip);
ip                419 arch/powerpc/kernel/trace/ftrace.c 	if (patch_instruction((unsigned int *)ip, PPC_INST_NOP)) {
ip                430 arch/powerpc/kernel/trace/ftrace.c 	unsigned long ip = rec->ip;
ip                438 arch/powerpc/kernel/trace/ftrace.c 	if (test_24bit_addr(ip, addr)) {
ip                440 arch/powerpc/kernel/trace/ftrace.c 		old = ftrace_call_replace(ip, addr, 1);
ip                442 arch/powerpc/kernel/trace/ftrace.c 		return ftrace_modify_code(ip, old, new);
ip                443 arch/powerpc/kernel/trace/ftrace.c 	} else if (core_kernel_text(ip))
ip                484 arch/powerpc/kernel/trace/ftrace.c expected_nop_sequence(void *ip, unsigned int op0, unsigned int op1)
ip                501 arch/powerpc/kernel/trace/ftrace.c expected_nop_sequence(void *ip, unsigned int op0, unsigned int op1)
ip                514 arch/powerpc/kernel/trace/ftrace.c 	void *ip = (void *)rec->ip;
ip                519 arch/powerpc/kernel/trace/ftrace.c 	if (probe_kernel_read(op, ip, sizeof(op)))
ip                522 arch/powerpc/kernel/trace/ftrace.c 	if (!expected_nop_sequence(ip, op[0], op[1])) {
ip                524 arch/powerpc/kernel/trace/ftrace.c 		ip, op[0], op[1]);
ip                560 arch/powerpc/kernel/trace/ftrace.c 	if (!create_branch(ip, tramp, BRANCH_SET_LINK)) {
ip                565 arch/powerpc/kernel/trace/ftrace.c 	if (patch_branch(ip, tramp, BRANCH_SET_LINK)) {
ip                578 arch/powerpc/kernel/trace/ftrace.c 	unsigned long ip = rec->ip;
ip                581 arch/powerpc/kernel/trace/ftrace.c 	if (probe_kernel_read(&op, (void *)ip, MCOUNT_INSN_SIZE))
ip                597 arch/powerpc/kernel/trace/ftrace.c 	op = create_branch((unsigned int *)ip,
ip                604 arch/powerpc/kernel/trace/ftrace.c 	pr_devel("write to %lx\n", rec->ip);
ip                606 arch/powerpc/kernel/trace/ftrace.c 	if (patch_instruction((unsigned int *)ip, op))
ip                617 arch/powerpc/kernel/trace/ftrace.c 	void *ip = (void *)rec->ip;
ip                637 arch/powerpc/kernel/trace/ftrace.c 	if (probe_kernel_read(&op, ip, sizeof(op))) {
ip                638 arch/powerpc/kernel/trace/ftrace.c 		pr_err("Unable to read ftrace location %p\n", ip);
ip                643 arch/powerpc/kernel/trace/ftrace.c 		pr_err("Unexpected call sequence at %p: %x\n", ip, op);
ip                647 arch/powerpc/kernel/trace/ftrace.c 	tramp = find_ftrace_tramp((unsigned long)ip);
ip                649 arch/powerpc/kernel/trace/ftrace.c 		pr_err("No ftrace trampolines reachable from %ps\n", ip);
ip                653 arch/powerpc/kernel/trace/ftrace.c 	if (patch_branch(ip, tramp, BRANCH_SET_LINK)) {
ip                663 arch/powerpc/kernel/trace/ftrace.c 	unsigned long ip = rec->ip;
ip                671 arch/powerpc/kernel/trace/ftrace.c 	if (test_24bit_addr(ip, addr)) {
ip                674 arch/powerpc/kernel/trace/ftrace.c 		new = ftrace_call_replace(ip, addr, 1);
ip                675 arch/powerpc/kernel/trace/ftrace.c 		return ftrace_modify_code(ip, old, new);
ip                676 arch/powerpc/kernel/trace/ftrace.c 	} else if (core_kernel_text(ip))
ip                704 arch/powerpc/kernel/trace/ftrace.c 	unsigned long ip = rec->ip;
ip                715 arch/powerpc/kernel/trace/ftrace.c 	if (probe_kernel_read(&op, (void *)ip, sizeof(int))) {
ip                727 arch/powerpc/kernel/trace/ftrace.c 	tramp = find_bl_target(ip, op);
ip                730 arch/powerpc/kernel/trace/ftrace.c 	pr_devel("ip:%lx jumps to %lx", ip, tramp);
ip                749 arch/powerpc/kernel/trace/ftrace.c 	if (test_24bit_addr(ip, addr)) {
ip                751 arch/powerpc/kernel/trace/ftrace.c 		if (patch_branch((unsigned int *)ip, addr, BRANCH_SET_LINK)) {
ip                779 arch/powerpc/kernel/trace/ftrace.c 	if (!create_branch((unsigned int *)ip, tramp, BRANCH_SET_LINK)) {
ip                784 arch/powerpc/kernel/trace/ftrace.c 	if (patch_branch((unsigned int *)ip, tramp, BRANCH_SET_LINK)) {
ip                796 arch/powerpc/kernel/trace/ftrace.c 	unsigned long ip = rec->ip;
ip                804 arch/powerpc/kernel/trace/ftrace.c 	if (test_24bit_addr(ip, addr) && test_24bit_addr(ip, old_addr)) {
ip                806 arch/powerpc/kernel/trace/ftrace.c 		old = ftrace_call_replace(ip, old_addr, 1);
ip                807 arch/powerpc/kernel/trace/ftrace.c 		new = ftrace_call_replace(ip, addr, 1);
ip                808 arch/powerpc/kernel/trace/ftrace.c 		return ftrace_modify_code(ip, old, new);
ip                809 arch/powerpc/kernel/trace/ftrace.c 	} else if (core_kernel_text(ip)) {
ip                836 arch/powerpc/kernel/trace/ftrace.c 	unsigned long ip = (unsigned long)(&ftrace_call);
ip                841 arch/powerpc/kernel/trace/ftrace.c 	new = ftrace_call_replace(ip, (unsigned long)func, 1);
ip                842 arch/powerpc/kernel/trace/ftrace.c 	ret = ftrace_modify_code(ip, old, new);
ip                847 arch/powerpc/kernel/trace/ftrace.c 		ip = (unsigned long)(&ftrace_regs_call);
ip                849 arch/powerpc/kernel/trace/ftrace.c 		new = ftrace_call_replace(ip, (unsigned long)func, 1);
ip                850 arch/powerpc/kernel/trace/ftrace.c 		ret = ftrace_modify_code(ip, old, new);
ip                919 arch/powerpc/kernel/trace/ftrace.c 	unsigned long ip = (unsigned long)(&ftrace_graph_call);
ip                924 arch/powerpc/kernel/trace/ftrace.c 	old = ftrace_call_replace(ip, stub, 0);
ip                925 arch/powerpc/kernel/trace/ftrace.c 	new = ftrace_call_replace(ip, addr, 0);
ip                927 arch/powerpc/kernel/trace/ftrace.c 	return ftrace_modify_code(ip, old, new);
ip                932 arch/powerpc/kernel/trace/ftrace.c 	unsigned long ip = (unsigned long)(&ftrace_graph_call);
ip                937 arch/powerpc/kernel/trace/ftrace.c 	old = ftrace_call_replace(ip, addr, 0);
ip                938 arch/powerpc/kernel/trace/ftrace.c 	new = ftrace_call_replace(ip, stub, 0);
ip                940 arch/powerpc/kernel/trace/ftrace.c 	return ftrace_modify_code(ip, old, new);
ip                947 arch/powerpc/kernel/trace/ftrace.c unsigned long prepare_ftrace_return(unsigned long parent, unsigned long ip,
ip                960 arch/powerpc/kernel/trace/ftrace.c 	if (!function_graph_enter(parent, ip, 0, (unsigned long *)sp))
ip                166 arch/powerpc/kvm/book3s_hv.c 		int *ip)
ip                168 arch/powerpc/kvm/book3s_hv.c 	int i = *ip;
ip                174 arch/powerpc/kvm/book3s_hv.c 			*ip = i;
ip                890 arch/powerpc/kvm/booke.c 	ulong r1, ip, msr, lr;
ip                895 arch/powerpc/kvm/booke.c 	asm("bl 1f; 1: mflr %0" : "=r"(ip));
ip                899 arch/powerpc/kvm/booke.c 	regs->nip = ip;
ip               1174 arch/powerpc/perf/imc-pmu.c 	data->ip =  be64_to_cpu(READ_ONCE(mem->ip));
ip               1181 arch/powerpc/perf/imc-pmu.c 	if (is_kernel_addr(data->ip))
ip                 81 arch/powerpc/platforms/pasemi/iommu.c 	u32 *ip;
ip                 89 arch/powerpc/platforms/pasemi/iommu.c 	ip = ((u32 *)tbl->it_base) + index;
ip                 94 arch/powerpc/platforms/pasemi/iommu.c 		*(ip++) = IOBMAP_L2E_V | rpn;
ip                108 arch/powerpc/platforms/pasemi/iommu.c 	u32 *ip;
ip                115 arch/powerpc/platforms/pasemi/iommu.c 	ip = ((u32 *)tbl->it_base) + index;
ip                118 arch/powerpc/platforms/pasemi/iommu.c 		*(ip++) = iob_l2_emptyval;
ip               1567 arch/powerpc/xmon/xmon.c 	unsigned long ip;
ip               1579 arch/powerpc/xmon/xmon.c 		if (!mread(sp + LRSAVE_OFFSET, &ip, sizeof(unsigned long))
ip               1600 arch/powerpc/xmon/xmon.c 			if (lr == ip) {
ip               1613 arch/powerpc/xmon/xmon.c 				xmon_print_symbol(ip, " ", " (unreliable)\n");
ip               1619 arch/powerpc/xmon/xmon.c 			xmon_print_symbol(ip, " ", "\n");
ip                 68 arch/riscv/kernel/ftrace.c 	int ret = ftrace_check_current_call(rec->ip, NULL);
ip                 73 arch/riscv/kernel/ftrace.c 	return __ftrace_modify_call(rec->ip, addr, true);
ip                 82 arch/riscv/kernel/ftrace.c 	make_call(rec->ip, addr, call);
ip                 83 arch/riscv/kernel/ftrace.c 	ret = ftrace_check_current_call(rec->ip, call);
ip                 88 arch/riscv/kernel/ftrace.c 	return __ftrace_modify_call(rec->ip, addr, false);
ip                116 arch/riscv/kernel/ftrace.c 	make_call(rec->ip, old_addr, call);
ip                117 arch/riscv/kernel/ftrace.c 	ret = ftrace_check_current_call(rec->ip, call);
ip                122 arch/riscv/kernel/ftrace.c 	return __ftrace_modify_call(rec->ip, addr, true);
ip                 79 arch/s390/include/asm/ftrace.h 					     unsigned long ip)
ip                 85 arch/s390/include/asm/ftrace.h 	target = is_module_addr((void *) ip) ? ftrace_plt : FTRACE_ADDR;
ip                 87 arch/s390/include/asm/ftrace.h 	insn->disp = (target - ip) / 2;
ip                 16 arch/s390/include/asm/livepatch.h static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip)
ip                 18 arch/s390/include/asm/livepatch.h 	regs->psw.addr = ip;
ip                 37 arch/s390/include/asm/unwind.h 	unsigned long sp, ip;
ip                 37 arch/s390/include/uapi/asm/qeth.h 	__u8 ip;
ip                136 arch/s390/kernel/dumpstack.c 		       state.ip, (void *) state.ip);
ip                 67 arch/s390/kernel/entry.h unsigned long prepare_ftrace_return(unsigned long parent, unsigned long sp, unsigned long ip);
ip                111 arch/s390/kernel/ftrace.c 	if (probe_kernel_read(&old, (void *) rec->ip, sizeof(old)))
ip                129 arch/s390/kernel/ftrace.c 		ftrace_generate_call_insn(&orig, rec->ip);
ip                135 arch/s390/kernel/ftrace.c 	s390_kernel_write((void *) rec->ip, &new, sizeof(new));
ip                143 arch/s390/kernel/ftrace.c 	if (probe_kernel_read(&old, (void *) rec->ip, sizeof(old)))
ip                158 arch/s390/kernel/ftrace.c 		ftrace_generate_call_insn(&new, rec->ip);
ip                163 arch/s390/kernel/ftrace.c 	s390_kernel_write((void *) rec->ip, &new, sizeof(new));
ip                181 arch/s390/kernel/ftrace.c 	unsigned int *ip;
ip                186 arch/s390/kernel/ftrace.c 	ip = (unsigned int *) ftrace_plt;
ip                187 arch/s390/kernel/ftrace.c 	ip[0] = 0x0d10e310; /* basr 1,0; lg 1,10(1); br 1 */
ip                188 arch/s390/kernel/ftrace.c 	ip[1] = 0x100a0004;
ip                189 arch/s390/kernel/ftrace.c 	ip[2] = 0x07f10000;
ip                190 arch/s390/kernel/ftrace.c 	ip[3] = FTRACE_ADDR >> 32;
ip                191 arch/s390/kernel/ftrace.c 	ip[4] = FTRACE_ADDR & 0xffffffff;
ip                205 arch/s390/kernel/ftrace.c 				    unsigned long ip)
ip                211 arch/s390/kernel/ftrace.c 	ip -= MCOUNT_INSN_SIZE;
ip                212 arch/s390/kernel/ftrace.c 	if (!function_graph_enter(ra, ip, 0, (void *) sp))
ip                 59 arch/s390/kernel/kprobes.c 	unsigned long ip = (unsigned long) p->addr;
ip                 63 arch/s390/kernel/kprobes.c 	if (ftrace_location(ip) == ip) {
ip                202 arch/s390/kernel/kprobes.c 			      unsigned long ip)
ip                208 arch/s390/kernel/kprobes.c 	per_kprobe.start = ip;
ip                209 arch/s390/kernel/kprobes.c 	per_kprobe.end = ip;
ip                220 arch/s390/kernel/kprobes.c 	regs->psw.addr = ip;
ip                226 arch/s390/kernel/kprobes.c 			       unsigned long ip)
ip                232 arch/s390/kernel/kprobes.c 	regs->psw.addr = ip;
ip                464 arch/s390/kernel/kprobes.c 	unsigned long ip = regs->psw.addr;
ip                480 arch/s390/kernel/kprobes.c 			ip += call_insn.disp * 2 - MCOUNT_INSN_SIZE;
ip                486 arch/s390/kernel/kprobes.c 		ip += (unsigned long) p->addr - (unsigned long) p->ainsn.insn;
ip                490 arch/s390/kernel/kprobes.c 		if (ip - (unsigned long) p->ainsn.insn == ilen)
ip                491 arch/s390/kernel/kprobes.c 			ip = (unsigned long) p->addr + ilen;
ip                500 arch/s390/kernel/kprobes.c 	disable_singlestep(kcb, regs, ip);
ip                323 arch/s390/kernel/module.c 			unsigned int *ip;
ip                324 arch/s390/kernel/module.c 			ip = me->core_layout.base + me->arch.plt_offset +
ip                326 arch/s390/kernel/module.c 			ip[0] = 0x0d10e310;	/* basr 1,0  */
ip                327 arch/s390/kernel/module.c 			ip[1] = 0x100a0004;	/* lg	1,10(1) */
ip                333 arch/s390/kernel/module.c 				ip[2] = 0xa7f40000 +	/* j __jump_r1 */
ip                336 arch/s390/kernel/module.c 					  (unsigned long) ip) / 2);
ip                338 arch/s390/kernel/module.c 				ip[2] = 0x07f10000;	/* br %r1 */
ip                340 arch/s390/kernel/module.c 			ip[3] = (unsigned int) (val >> 32);
ip                341 arch/s390/kernel/module.c 			ip[4] = (unsigned int) val;
ip                 16 arch/s390/kernel/unwind_bc.c 	return __kernel_text_address(state->ip) ? state->ip : 0;
ip                 44 arch/s390/kernel/unwind_bc.c 	unsigned long sp, ip;
ip                 60 arch/s390/kernel/unwind_bc.c 		ip = READ_ONCE_NOCHECK(sf->gprs[8]);
ip                 63 arch/s390/kernel/unwind_bc.c 		if (!__kernel_text_address(ip)) {
ip                 78 arch/s390/kernel/unwind_bc.c 			ip = READ_ONCE_NOCHECK(sf->gprs[8]);
ip                 88 arch/s390/kernel/unwind_bc.c 			ip = READ_ONCE_NOCHECK(regs->psw.addr);
ip                 95 arch/s390/kernel/unwind_bc.c 	if (ip == (unsigned long) return_to_handler)
ip                 96 arch/s390/kernel/unwind_bc.c 		ip = ftrace_graph_ret_addr(state->task, &state->graph_idx,
ip                 97 arch/s390/kernel/unwind_bc.c 					   ip, (void *) sp);
ip                102 arch/s390/kernel/unwind_bc.c 	state->ip = ip;
ip                122 arch/s390/kernel/unwind_bc.c 	unsigned long ip;
ip                145 arch/s390/kernel/unwind_bc.c 		ip = READ_ONCE_NOCHECK(regs->psw.addr);
ip                150 arch/s390/kernel/unwind_bc.c 		ip = READ_ONCE_NOCHECK(sf->gprs[8]);
ip                157 arch/s390/kernel/unwind_bc.c 	if (ip == (unsigned long) return_to_handler)
ip                158 arch/s390/kernel/unwind_bc.c 		ip = ftrace_graph_ret_addr(state->task, &state->graph_idx,
ip                159 arch/s390/kernel/unwind_bc.c 					   ip, NULL);
ip                164 arch/s390/kernel/unwind_bc.c 	state->ip = ip;
ip                 25 arch/s390/oprofile/init.c 		oprofile_add_trace(state.ip);
ip                 31 arch/sh/kernel/cpu/irq/imask.c static inline void set_interrupt_registers(int ip)
ip                 50 arch/sh/kernel/cpu/irq/imask.c 		     : "r" (~0xf0), "r" (ip << 4)
ip                 48 arch/sh/kernel/ftrace.c static unsigned char *ftrace_nop_replace(unsigned long ip)
ip                 50 arch/sh/kernel/ftrace.c 	__raw_writel(ip + MCOUNT_INSN_SIZE, ftrace_nop);
ip                 54 arch/sh/kernel/ftrace.c static unsigned char *ftrace_call_replace(unsigned long ip, unsigned long addr)
ip                168 arch/sh/kernel/ftrace.c do_ftrace_mod_code(unsigned long ip, void *new_code)
ip                170 arch/sh/kernel/ftrace.c 	mod_code_ip = (void *)ip;
ip                192 arch/sh/kernel/ftrace.c static int ftrace_modify_code(unsigned long ip, unsigned char *old_code,
ip                206 arch/sh/kernel/ftrace.c 	if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE))
ip                214 arch/sh/kernel/ftrace.c 	if (do_ftrace_mod_code(ip, new_code))
ip                217 arch/sh/kernel/ftrace.c 	flush_icache_range(ip, ip + MCOUNT_INSN_SIZE);
ip                224 arch/sh/kernel/ftrace.c 	unsigned long ip = (unsigned long)(&ftrace_call) + MCOUNT_INSN_OFFSET;
ip                227 arch/sh/kernel/ftrace.c 	memcpy(old, (unsigned char *)ip, MCOUNT_INSN_SIZE);
ip                228 arch/sh/kernel/ftrace.c 	new = ftrace_call_replace(ip, (unsigned long)func);
ip                230 arch/sh/kernel/ftrace.c 	return ftrace_modify_code(ip, old, new);
ip                237 arch/sh/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                239 arch/sh/kernel/ftrace.c 	old = ftrace_call_replace(ip, addr);
ip                240 arch/sh/kernel/ftrace.c 	new = ftrace_nop_replace(ip);
ip                242 arch/sh/kernel/ftrace.c 	return ftrace_modify_code(rec->ip, old, new);
ip                248 arch/sh/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                250 arch/sh/kernel/ftrace.c 	old = ftrace_nop_replace(ip);
ip                251 arch/sh/kernel/ftrace.c 	new = ftrace_call_replace(ip, addr);
ip                253 arch/sh/kernel/ftrace.c 	return ftrace_modify_code(rec->ip, old, new);
ip                266 arch/sh/kernel/ftrace.c static int ftrace_mod(unsigned long ip, unsigned long old_addr,
ip                271 arch/sh/kernel/ftrace.c 	if (probe_kernel_read(code, (void *)ip, MCOUNT_INSN_SIZE))
ip                277 arch/sh/kernel/ftrace.c 	__raw_writel(new_addr, ip);
ip                283 arch/sh/kernel/ftrace.c 	unsigned long ip, old_addr, new_addr;
ip                285 arch/sh/kernel/ftrace.c 	ip = (unsigned long)(&ftrace_graph_call) + GRAPH_INSN_OFFSET;
ip                289 arch/sh/kernel/ftrace.c 	return ftrace_mod(ip, old_addr, new_addr);
ip                294 arch/sh/kernel/ftrace.c 	unsigned long ip, old_addr, new_addr;
ip                296 arch/sh/kernel/ftrace.c 	ip = (unsigned long)(&ftrace_graph_call) + GRAPH_INSN_OFFSET;
ip                300 arch/sh/kernel/ftrace.c 	return ftrace_mod(ip, old_addr, new_addr);
ip                295 arch/sh/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
ip                297 arch/sh/kernel/kgdb.c 	regs->pc = ip;
ip                  8 arch/sparc/include/asm/perf_event.h #define perf_arch_fetch_caller_regs(regs, ip)		\
ip                 23 arch/sparc/include/asm/perf_event.h 	(regs)->tpc = (ip);				\
ip                 15 arch/sparc/kernel/ftrace.c static u32 ftrace_call_replace(unsigned long ip, unsigned long addr)
ip                 20 arch/sparc/kernel/ftrace.c 	off = ((s32)addr - (s32)ip);
ip                 26 arch/sparc/kernel/ftrace.c static int ftrace_modify_code(unsigned long ip, u32 old, u32 new)
ip                 47 arch/sparc/kernel/ftrace.c 	: [new] "0" (new), [old] "r" (old), [ip] "r" (ip)
ip                 58 arch/sparc/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                 61 arch/sparc/kernel/ftrace.c 	old = ftrace_call_replace(ip, addr);
ip                 63 arch/sparc/kernel/ftrace.c 	return ftrace_modify_code(ip, old, new);
ip                 68 arch/sparc/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                 72 arch/sparc/kernel/ftrace.c 	new = ftrace_call_replace(ip, addr);
ip                 73 arch/sparc/kernel/ftrace.c 	return ftrace_modify_code(ip, old, new);
ip                 78 arch/sparc/kernel/ftrace.c 	unsigned long ip = (unsigned long)(&ftrace_call);
ip                 82 arch/sparc/kernel/ftrace.c 	new = ftrace_call_replace(ip, (unsigned long)func);
ip                 83 arch/sparc/kernel/ftrace.c 	return ftrace_modify_code(ip, old, new);
ip                 99 arch/sparc/kernel/ftrace.c 	unsigned long ip = (unsigned long)(&ftrace_graph_call);
ip                103 arch/sparc/kernel/ftrace.c 	new = ftrace_call_replace(ip, (unsigned long) &ftrace_graph_caller);
ip                104 arch/sparc/kernel/ftrace.c 	return ftrace_modify_code(ip, old, new);
ip                109 arch/sparc/kernel/ftrace.c 	unsigned long ip = (unsigned long)(&ftrace_graph_call);
ip                113 arch/sparc/kernel/ftrace.c 	new = ftrace_call_replace(ip, (unsigned long) &ftrace_stub);
ip                115 arch/sparc/kernel/ftrace.c 	return ftrace_modify_code(ip, old, new);
ip                163 arch/sparc/kernel/kgdb_32.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
ip                165 arch/sparc/kernel/kgdb_32.c 	regs->pc = ip;
ip                192 arch/sparc/kernel/kgdb_64.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
ip                194 arch/sparc/kernel/kgdb_64.c 	regs->tpc = ip;
ip                539 arch/sparc/kernel/of_device_64.c 	struct device_node *pp, *ip;
ip                566 arch/sparc/kernel/of_device_64.c 	ip = NULL;
ip                590 arch/sparc/kernel/of_device_64.c 				ip = iret;
ip                608 arch/sparc/kernel/of_device_64.c 				ip = pp;
ip                615 arch/sparc/kernel/of_device_64.c 	if (!ip)
ip                618 arch/sparc/kernel/of_device_64.c 	irq = ip->irq_trans->irq_build(op->dev.of_node, irq,
ip                619 arch/sparc/kernel/of_device_64.c 				       ip->irq_trans->data);
ip                622 arch/sparc/kernel/of_device_64.c 		      op->dev.of_node, ip, orig_irq, irq);
ip                777 arch/um/drivers/net_kern.c 	struct in_device *ip;
ip                789 arch/um/drivers/net_kern.c 		ip = lp->dev->ip_ptr;
ip                790 arch/um/drivers/net_kern.c 		if (ip == NULL)
ip                792 arch/um/drivers/net_kern.c 		in = ip->ifa_list;
ip                839 arch/um/drivers/net_kern.c 	struct in_device *ip = dev->ip_ptr;
ip                843 arch/um/drivers/net_kern.c 	if (ip == NULL) return;
ip                844 arch/um/drivers/net_kern.c 	in = ip->ifa_list;
ip                856 arch/um/drivers/net_kern.c 	struct in_device *ip = dev->ip_ptr;
ip                860 arch/um/drivers/net_kern.c 	if (ip == NULL)
ip                863 arch/um/drivers/net_kern.c 	in = ip->ifa_list;
ip                 30 arch/um/include/shared/kern_util.h extern unsigned long segv(struct faultinfo fi, unsigned long ip,
ip                 32 arch/um/include/shared/kern_util.h extern int handle_page_fault(unsigned long address, unsigned long ip,
ip                410 arch/um/kernel/process.c 	unsigned long stack_page, sp, ip;
ip                430 arch/um/kernel/process.c 		ip = *((unsigned long *) sp);
ip                431 arch/um/kernel/process.c 		if (in_sched_functions(ip))
ip                434 arch/um/kernel/process.c 		else if (kernel_text_address(ip) && seen_sched)
ip                435 arch/um/kernel/process.c 			return ip;
ip                 25 arch/um/kernel/trap.c int handle_page_fault(unsigned long address, unsigned long ip,
ip                163 arch/um/kernel/trap.c static void bad_segv(struct faultinfo fi, unsigned long ip)
ip                209 arch/um/kernel/trap.c unsigned long segv(struct faultinfo fi, unsigned long ip, int is_user,
ip                232 arch/um/kernel/trap.c 		       address, ip);
ip                236 arch/um/kernel/trap.c 		err = handle_page_fault(address, ip, is_write, is_user,
ip                257 arch/um/kernel/trap.c 	else if (!is_user && arch_fixup(ip, regs))
ip                263 arch/um/kernel/trap.c 		      address, ip);
ip                115 arch/unicore32/kernel/ptrace.c 	unsigned long ip;
ip                126 arch/unicore32/kernel/ptrace.c 	ip = regs->UCreg_ip;
ip                144 arch/unicore32/kernel/ptrace.c 	regs->UCreg_ip = ip;
ip                230 arch/x86/boot/printf.c 				long *ip = va_arg(args, long *);
ip                231 arch/x86/boot/printf.c 				*ip = (str - buf);
ip                233 arch/x86/boot/printf.c 				int *ip = va_arg(args, int *);
ip                234 arch/x86/boot/printf.c 				*ip = (str - buf);
ip                 97 arch/x86/entry/common.c 		sd.instruction_pointer = regs->ip;
ip                375 arch/x86/entry/common.c 	regs->ip = landing_pad;
ip                417 arch/x86/entry/common.c 		regs->ip == landing_pad &&
ip                432 arch/x86/entry/common.c 		regs->ip == landing_pad &&
ip                 66 arch/x86/entry/vdso/vma.c 		if (regs->ip == old_land_addr)
ip                 67 arch/x86/entry/vdso/vma.c 			regs->ip = new_vma->vm_start + vdso_land;
ip                 81 arch/x86/entry/vsyscall/vsyscall_64.c 			   message, regs->ip, regs->cs,
ip                151 arch/x86/entry/vsyscall/vsyscall_64.c 	WARN_ON_ONCE(address != regs->ip);
ip                226 arch/x86/entry/vsyscall/vsyscall_64.c 	if ((!tmp && regs->orig_ax != syscall_nr) || regs->ip != address) {
ip                287 arch/x86/entry/vsyscall/vsyscall_64.c 	regs->ip = caller;
ip               2376 arch/x86/events/core.c 	if (perf_callchain_store(entry, regs->ip))
ip               2493 arch/x86/events/core.c 	perf_callchain_store(entry, regs->ip);
ip               2567 arch/x86/events/core.c 	return regs->ip + code_segment_base(regs);
ip                204 arch/x86/events/intel/ds.c 	u64 flags, ip;
ip                212 arch/x86/events/intel/ds.c 	u64 flags, ip;
ip                224 arch/x86/events/intel/ds.c 	u64 flags, ip;
ip                253 arch/x86/events/intel/ds.c 	u64 flags, ip;
ip                654 arch/x86/events/intel/ds.c 		data.ip		= at->from;
ip               1204 arch/x86/events/intel/ds.c 	unsigned long ip = regs->ip;
ip               1224 arch/x86/events/intel/ds.c 	if (kernel_ip(ip) != kernel_ip(to))
ip               1231 arch/x86/events/intel/ds.c 	if ((ip - to) > PEBS_FIXUP_SIZE)
ip               1237 arch/x86/events/intel/ds.c 	if (ip == to) {
ip               1242 arch/x86/events/intel/ds.c 	size = ip - to;
ip               1243 arch/x86/events/intel/ds.c 	if (!kernel_ip(ip)) {
ip               1279 arch/x86/events/intel/ds.c 	} while (to < ip);
ip               1281 arch/x86/events/intel/ds.c 	if (to == ip) {
ip               1434 arch/x86/events/intel/ds.c 			set_linear_ip(regs, pebs->ip);
ip               1449 arch/x86/events/intel/ds.c 		set_linear_ip(regs, pebs->ip);
ip               1547 arch/x86/events/intel/ds.c 	set_linear_ip(regs, basic->ip);
ip               1565 arch/x86/events/intel/ds.c 			set_linear_ip(regs, gprs->ip);
ip               1264 arch/x86/events/intel/pt.c static inline bool valid_kernel_ip(unsigned long ip)
ip               1266 arch/x86/events/intel/pt.c 	return virt_addr_valid(ip) && kernel_ip(ip);
ip                868 arch/x86/events/perf_event.h static inline bool kernel_ip(unsigned long ip)
ip                871 arch/x86/events/perf_event.h 	return ip > PAGE_OFFSET;
ip                873 arch/x86/events/perf_event.h 	return (long)ip < 0;
ip                889 arch/x86/events/perf_event.h static inline void set_linear_ip(struct pt_regs *regs, unsigned long ip)
ip                891 arch/x86/events/perf_event.h 	regs->cs = kernel_ip(ip) ? __KERNEL_CS : __USER_CS;
ip                894 arch/x86/events/perf_event.h 	regs->ip = ip;
ip                379 arch/x86/hyperv/hv_init.c 	wrmsrl(HV_X64_MSR_CRASH_P2, regs->ip);
ip                238 arch/x86/ia32/ia32_aout.c 	(regs)->ip = ex.a_entry;
ip                 89 arch/x86/ia32/ia32_signal.c 		COPY(dx); COPY(cx); COPY(ip); COPY(ax);
ip                202 arch/x86/ia32/ia32_signal.c 		put_user_ex(regs->ip, &sc->ip);
ip                314 arch/x86/ia32/ia32_signal.c 	regs->ip = (unsigned long) ksig->ka.sa.sa_handler;
ip                393 arch/x86/ia32/ia32_signal.c 	regs->ip = (unsigned long) ksig->ka.sa.sa_handler;
ip                134 arch/x86/include/asm/elf.h 	pr_reg[12] = regs->ip;			\
ip                225 arch/x86/include/asm/elf.h 	(pr_reg)[16] = (regs)->ip;				\
ip                 35 arch/x86/include/asm/extable.h extern bool ex_has_fault_handler(unsigned long ip);
ip                119 arch/x86/include/asm/kexec.h 		newregs->ip = _THIS_IP_;
ip                 15 arch/x86/include/asm/livepatch.h static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip)
ip                 17 arch/x86/include/asm/livepatch.h 	regs->ip = ip;
ip                 89 arch/x86/include/asm/orc_types.h 	u32		ip;
ip                193 arch/x86/include/asm/perf_event.h 	u64 ip;
ip                206 arch/x86/include/asm/perf_event.h 	u64 flags, ip, ax, cx, dx, bx, sp, bp, si, di;
ip                314 arch/x86/include/asm/perf_event.h 	(regs)->ip = (__ip);					\
ip                278 arch/x86/include/asm/processor.h 	unsigned long		ip;
ip                907 arch/x86/include/asm/processor.h #define KSTK_EIP(task)		(task_pt_regs(task)->ip)
ip                 45 arch/x86/include/asm/ptrace.h 	unsigned long ip;
ip                 83 arch/x86/include/asm/ptrace.h 	unsigned long ip;
ip                174 arch/x86/include/asm/ptrace.h 	return regs->ip;
ip                180 arch/x86/include/asm/ptrace.h 	regs->ip = val;
ip                 61 arch/x86/include/asm/text-patching.h static inline void int3_emulate_jmp(struct pt_regs *regs, unsigned long ip)
ip                 63 arch/x86/include/asm/text-patching.h 	regs->ip = ip;
ip                 83 arch/x86/include/asm/text-patching.h 	int3_emulate_push(regs, regs->ip - INT3_INSN_SIZE + CALL_INSN_SIZE);
ip                 23 arch/x86/include/asm/trace/exceptions.h 		__field(		unsigned long, ip	)
ip                 29 arch/x86/include/asm/trace/exceptions.h 		__entry->ip = regs->ip;
ip                 34 arch/x86/include/asm/trace/exceptions.h 		  (void *)__entry->address, (void *)__entry->ip,
ip                 10 arch/x86/include/asm/unwind.h #define IRET_FRAME_OFFSET (offsetof(struct pt_regs, ip))
ip                 21 arch/x86/include/asm/unwind.h 	unsigned long sp, bp, ip;
ip                 25 arch/x86/include/asm/unwind.h 	unsigned long *bp, *orig_sp, ip;
ip                 91 arch/x86/include/asm/user_32.h 	unsigned long	ip;
ip                 86 arch/x86/include/asm/user_64.h 	unsigned long	ip;
ip                305 arch/x86/include/asm/xen/interface.h 	uint64_t ip;
ip                117 arch/x86/include/asm/xen/interface_64.h     __DECL_REG(ip);
ip                 18 arch/x86/include/uapi/asm/mce.h 	__u64 ip;		/* Instruction Pointer when the error happened */
ip                217 arch/x86/include/uapi/asm/sigcontext.h 	__u32				ip;
ip                255 arch/x86/include/uapi/asm/sigcontext.h 	__u64				ip;
ip                660 arch/x86/kernel/alternative.c 	if (regs->ip - INT3_INSN_SIZE != int3_selftest_ip)
ip                960 arch/x86/kernel/alternative.c 	void *ip;
ip                983 arch/x86/kernel/alternative.c 	ip = (void *) regs->ip - sizeof(int3);
ip                989 arch/x86/kernel/alternative.c 		tp = bsearch(ip, bp_patching.vec, bp_patching.nr_entries,
ip                996 arch/x86/kernel/alternative.c 		if (tp->addr != ip)
ip               1001 arch/x86/kernel/alternative.c 	regs->ip = (unsigned long) tp->detour;
ip               2302 arch/x86/kernel/apic/io_apic.c 	struct ioapic *ip = &ioapics[ioapic];
ip               2303 arch/x86/kernel/apic/io_apic.c 	struct ioapic_domain_cfg *cfg = &ip->irqdomain_cfg;
ip               2329 arch/x86/kernel/apic/io_apic.c 	ip->irqdomain = irq_domain_create_linear(fn, hwirqs, cfg->ops,
ip               2336 arch/x86/kernel/apic/io_apic.c 	if (!ip->irqdomain)
ip               2339 arch/x86/kernel/apic/io_apic.c 	ip->irqdomain->parent = parent;
ip                 61 arch/x86/kernel/asm-offsets.c 	OFFSET(IA32_SIGCONTEXT_ip, sigcontext_32, ip);
ip                 39 arch/x86/kernel/asm-offsets_32.c 	OFFSET(PT_EIP, pt_regs, ip);
ip                251 arch/x86/kernel/cpu/mce/core.c 	if (m->ip) {
ip                254 arch/x86/kernel/cpu/mce/core.c 			m->cs, m->ip);
ip                257 arch/x86/kernel/cpu/mce/core.c 			pr_cont("{%pS}", (void *)(unsigned long)m->ip);
ip                379 arch/x86/kernel/cpu/mce/core.c 		return offsetof(struct mce, ip);
ip                445 arch/x86/kernel/cpu/mce/core.c 			m->ip = regs->ip;
ip                458 arch/x86/kernel/cpu/mce/core.c 			m->ip = mce_rdmsrl(mca_cfg.rip_msr);
ip               1628 arch/x86/kernel/cpu/mce/core.c 	m->ip = regs->ip;
ip                145 arch/x86/kernel/cpu/mce/inject.c 		regs.ip = m->ip;
ip                216 arch/x86/kernel/cpu/mce/severity.c 	if (mc_recoverable(m->mcgstatus) && ex_has_fault_handler(m->ip))
ip                 40 arch/x86/kernel/doublefault.c 			       t->ip, t->sp);
ip                 59 arch/x86/kernel/doublefault.c 	.ip		= (unsigned long) doublefault_fn,
ip                 99 arch/x86/kernel/dumpstack.c 	unsigned long prologue = regs->ip - PROLOGUE_SIZE;
ip                122 arch/x86/kernel/dumpstack.c 	printk("%sEIP: %pS\n", loglvl, (void *)regs->ip);
ip                124 arch/x86/kernel/dumpstack.c 	printk("%sRIP: %04x:%pS\n", loglvl, (int)regs->cs, (void *)regs->ip);
ip                239 arch/x86/kernel/dumpstack.c 			if (regs && stack == &regs->ip)
ip                 68 arch/x86/kernel/ftrace.c static int ftrace_calc_offset(long ip, long addr)
ip                 70 arch/x86/kernel/ftrace.c 	return (int)(addr - ip);
ip                 74 arch/x86/kernel/ftrace.c ftrace_text_replace(unsigned char op, unsigned long ip, unsigned long addr)
ip                 79 arch/x86/kernel/ftrace.c 	calc.offset	= ftrace_calc_offset(ip + MCOUNT_INSN_SIZE, addr);
ip                 85 arch/x86/kernel/ftrace.c ftrace_call_replace(unsigned long ip, unsigned long addr)
ip                 87 arch/x86/kernel/ftrace.c 	return ftrace_text_replace(0xe8, ip, addr);
ip                 96 arch/x86/kernel/ftrace.c static unsigned long text_ip_addr(unsigned long ip)
ip                106 arch/x86/kernel/ftrace.c 	if (within(ip, (unsigned long)_text, (unsigned long)_etext))
ip                107 arch/x86/kernel/ftrace.c 		ip = (unsigned long)__va(__pa_symbol(ip));
ip                109 arch/x86/kernel/ftrace.c 	return ip;
ip                118 arch/x86/kernel/ftrace.c ftrace_modify_code_direct(unsigned long ip, unsigned const char *old_code,
ip                134 arch/x86/kernel/ftrace.c 	if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE))
ip                141 arch/x86/kernel/ftrace.c 	ip = text_ip_addr(ip);
ip                144 arch/x86/kernel/ftrace.c 	if (probe_kernel_write((void *)ip, new_code, MCOUNT_INSN_SIZE))
ip                156 arch/x86/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                158 arch/x86/kernel/ftrace.c 	old = ftrace_call_replace(ip, addr);
ip                170 arch/x86/kernel/ftrace.c 		return ftrace_modify_code_direct(rec->ip, old, new);
ip                182 arch/x86/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                185 arch/x86/kernel/ftrace.c 	new = ftrace_call_replace(ip, addr);
ip                188 arch/x86/kernel/ftrace.c 	return ftrace_modify_code_direct(rec->ip, old, new);
ip                225 arch/x86/kernel/ftrace.c ftrace_modify_code(unsigned long ip, unsigned const char *old_code,
ip                247 arch/x86/kernel/ftrace.c static int update_ftrace_func(unsigned long ip, void *new)
ip                252 arch/x86/kernel/ftrace.c 	memcpy(old, (void *)ip, MCOUNT_INSN_SIZE);
ip                254 arch/x86/kernel/ftrace.c 	ftrace_update_func = ip;
ip                261 arch/x86/kernel/ftrace.c 	ret = ftrace_modify_code(ip, old, new);
ip                270 arch/x86/kernel/ftrace.c 	unsigned long ip = (unsigned long)(&ftrace_call);
ip                276 arch/x86/kernel/ftrace.c 	new = ftrace_call_replace(ip, (unsigned long)func);
ip                277 arch/x86/kernel/ftrace.c 	ret = update_ftrace_func(ip, new);
ip                281 arch/x86/kernel/ftrace.c 		ip = (unsigned long)(&ftrace_regs_call);
ip                282 arch/x86/kernel/ftrace.c 		new = ftrace_call_replace(ip, (unsigned long)func);
ip                283 arch/x86/kernel/ftrace.c 		ret = update_ftrace_func(ip, new);
ip                289 arch/x86/kernel/ftrace.c static nokprobe_inline int is_ftrace_caller(unsigned long ip)
ip                291 arch/x86/kernel/ftrace.c 	if (ip == ftrace_update_func)
ip                306 arch/x86/kernel/ftrace.c 	unsigned long ip;
ip                311 arch/x86/kernel/ftrace.c 	ip = regs->ip - INT3_INSN_SIZE;
ip                313 arch/x86/kernel/ftrace.c 	if (ftrace_location(ip)) {
ip                316 arch/x86/kernel/ftrace.c 	} else if (is_ftrace_caller(ip)) {
ip                318 arch/x86/kernel/ftrace.c 			int3_emulate_jmp(regs, ip + CALL_INSN_SIZE);
ip                329 arch/x86/kernel/ftrace.c static int ftrace_write(unsigned long ip, const char *val, int size)
ip                331 arch/x86/kernel/ftrace.c 	ip = text_ip_addr(ip);
ip                333 arch/x86/kernel/ftrace.c 	if (probe_kernel_write((void *)ip, val, size))
ip                339 arch/x86/kernel/ftrace.c static int add_break(unsigned long ip, const char *old)
ip                344 arch/x86/kernel/ftrace.c 	if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE))
ip                353 arch/x86/kernel/ftrace.c 	return ftrace_write(ip, &brk, 1);
ip                359 arch/x86/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                361 arch/x86/kernel/ftrace.c 	old = ftrace_call_replace(ip, addr);
ip                363 arch/x86/kernel/ftrace.c 	return add_break(rec->ip, old);
ip                373 arch/x86/kernel/ftrace.c 	return add_break(rec->ip, old);
ip                415 arch/x86/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                418 arch/x86/kernel/ftrace.c 	if (probe_kernel_read(ins, (void *)ip, MCOUNT_INSN_SIZE))
ip                439 arch/x86/kernel/ftrace.c 		nop = ftrace_call_replace(ip, ftrace_addr);
ip                446 arch/x86/kernel/ftrace.c 		nop = ftrace_call_replace(ip, ftrace_addr);
ip                455 arch/x86/kernel/ftrace.c 	return ftrace_write(ip, nop, 1);
ip                458 arch/x86/kernel/ftrace.c static int add_update_code(unsigned long ip, unsigned const char *new)
ip                461 arch/x86/kernel/ftrace.c 	ip++;
ip                463 arch/x86/kernel/ftrace.c 	return ftrace_write(ip, new, MCOUNT_INSN_SIZE - 1);
ip                468 arch/x86/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                471 arch/x86/kernel/ftrace.c 	new = ftrace_call_replace(ip, addr);
ip                472 arch/x86/kernel/ftrace.c 	return add_update_code(ip, new);
ip                477 arch/x86/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                481 arch/x86/kernel/ftrace.c 	return add_update_code(ip, new);
ip                512 arch/x86/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                515 arch/x86/kernel/ftrace.c 	new = ftrace_call_replace(ip, addr);
ip                517 arch/x86/kernel/ftrace.c 	return ftrace_write(ip, new, 1);
ip                522 arch/x86/kernel/ftrace.c 	unsigned long ip = rec->ip;
ip                527 arch/x86/kernel/ftrace.c 	return ftrace_write(ip, new, 1);
ip                644 arch/x86/kernel/ftrace.c ftrace_modify_code(unsigned long ip, unsigned const char *old_code,
ip                649 arch/x86/kernel/ftrace.c 	ret = add_break(ip, old_code);
ip                655 arch/x86/kernel/ftrace.c 	ret = add_update_code(ip, new_code);
ip                661 arch/x86/kernel/ftrace.c 	ret = ftrace_write(ip, new_code, 1);
ip                673 arch/x86/kernel/ftrace.c 	if (ftrace_write(ip, old_code, 1))
ip                756 arch/x86/kernel/ftrace.c 	void *ip;
ip                791 arch/x86/kernel/ftrace.c 	ip = trampoline + size;
ip                795 arch/x86/kernel/ftrace.c 	ret = probe_kernel_read(ip, (void *)retq, RET_SIZE);
ip                864 arch/x86/kernel/ftrace.c 	unsigned long ip;
ip                886 arch/x86/kernel/ftrace.c 	ip = ops->trampoline + offset;
ip                893 arch/x86/kernel/ftrace.c 	new = ftrace_call_replace(ip, (unsigned long)func);
ip                894 arch/x86/kernel/ftrace.c 	ret = update_ftrace_func(ip, new);
ip                984 arch/x86/kernel/ftrace.c static unsigned char *ftrace_jmp_replace(unsigned long ip, unsigned long addr)
ip                986 arch/x86/kernel/ftrace.c 	return ftrace_text_replace(0xe9, ip, addr);
ip                989 arch/x86/kernel/ftrace.c static int ftrace_mod_jmp(unsigned long ip, void *func)
ip                994 arch/x86/kernel/ftrace.c 	new = ftrace_jmp_replace(ip, (unsigned long)func);
ip                996 arch/x86/kernel/ftrace.c 	return update_ftrace_func(ip, new);
ip               1001 arch/x86/kernel/ftrace.c 	unsigned long ip = (unsigned long)(&ftrace_graph_call);
ip               1003 arch/x86/kernel/ftrace.c 	return ftrace_mod_jmp(ip, &ftrace_graph_caller);
ip               1008 arch/x86/kernel/ftrace.c 	unsigned long ip = (unsigned long)(&ftrace_graph_call);
ip               1010 arch/x86/kernel/ftrace.c 	return ftrace_mod_jmp(ip, &ftrace_stub);
ip                 27 arch/x86/kernel/jump_label.c static void bug_at(unsigned char *ip, int line)
ip                 34 arch/x86/kernel/jump_label.c 	pr_crit("jump_label: Fatal kernel bug, unexpected op at %pS [%p] (%5ph) %d\n", ip, ip, ip, line);
ip                 57 arch/x86/kernel/kgdb.c 	{ "ip", 4, offsetof(struct pt_regs, ip) },
ip                 80 arch/x86/kernel/kgdb.c 	{ "ip", 8, offsetof(struct pt_regs, ip) },
ip                452 arch/x86/kernel/kgdb.c 			linux_regs->ip = addr;
ip                711 arch/x86/kernel/kgdb.c 	if (exception == 3 && kgdb_isremovedbreak(regs->ip - 1)) {
ip                712 arch/x86/kernel/kgdb.c 		regs->ip -= 1;
ip                725 arch/x86/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
ip                727 arch/x86/kernel/kgdb.c 	regs->ip = ip;
ip                593 arch/x86/kernel/kprobes/core.c 		regs->ip = (unsigned long)p->ainsn.insn;
ip                609 arch/x86/kernel/kprobes/core.c 		regs->ip = (unsigned long)p->addr;
ip                611 arch/x86/kernel/kprobes/core.c 		regs->ip = (unsigned long)p->ainsn.insn;
ip                663 arch/x86/kernel/kprobes/core.c 	addr = (kprobe_opcode_t *)(regs->ip - sizeof(kprobe_opcode_t));
ip                704 arch/x86/kernel/kprobes/core.c 		regs->ip = (unsigned long)addr;
ip                789 arch/x86/kernel/kprobes/core.c 	regs->ip = trampoline_address;
ip                963 arch/x86/kernel/kprobes/core.c 	regs->ip += orig_ip - copy_ip;
ip               1014 arch/x86/kernel/kprobes/core.c 	if (unlikely(regs->ip == (unsigned long)cur->ainsn.insn)) {
ip               1025 arch/x86/kernel/kprobes/core.c 		regs->ip = (unsigned long)cur->addr;
ip                 16 arch/x86/kernel/kprobes/ftrace.c void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,
ip                 23 arch/x86/kernel/kprobes/ftrace.c 	p = get_kprobe((kprobe_opcode_t *)ip);
ip                 31 arch/x86/kernel/kprobes/ftrace.c 		unsigned long orig_ip = regs->ip;
ip                 33 arch/x86/kernel/kprobes/ftrace.c 		regs->ip = ip + sizeof(kprobe_opcode_t);
ip                 42 arch/x86/kernel/kprobes/ftrace.c 			regs->ip = (unsigned long)p->addr + MCOUNT_INSN_SIZE;
ip                 47 arch/x86/kernel/kprobes/ftrace.c 			regs->ip = orig_ip;
ip                165 arch/x86/kernel/kprobes/opt.c 		regs->ip = (unsigned long)op->kp.addr + INT3_SIZE;
ip                482 arch/x86/kernel/kprobes/opt.c 		regs->ip = (unsigned long)op->optinsn.insn + TMPL_END_IDX;
ip                329 arch/x86/kernel/nmi.c 	if (regs->ip == __this_cpu_read(last_nmi_rip))
ip                334 arch/x86/kernel/nmi.c 	__this_cpu_write(last_nmi_rip, regs->ip);
ip                 29 arch/x86/kernel/perf_regs.c 	PT_REGS_OFFSET(PERF_REG_X86_IP, ip),
ip                155 arch/x86/kernel/perf_regs.c 	regs_user_copy->ip = user_regs->ip;
ip                804 arch/x86/kernel/process.c 	unsigned long start, bottom, top, sp, fp, ip, ret = 0;
ip                845 arch/x86/kernel/process.c 		ip = READ_ONCE_NOCHECK(*(unsigned long *)(fp + sizeof(unsigned long)));
ip                846 arch/x86/kernel/process.c 		if (!in_sched_functions(ip)) {
ip                847 arch/x86/kernel/process.c 			ret = ip;
ip                192 arch/x86/kernel/process_32.c 	regs->ip		= new_ip;
ip                467 arch/x86/kernel/process_64.c 	regs->ip		= new_ip;
ip                 91 arch/x86/kernel/ptrace.c 	REG_OFFSET_NAME(ip),
ip                885 arch/x86/kernel/ptrace.c 	R32(eip, ip);
ip                959 arch/x86/kernel/ptrace.c 	R32(eip, ip);
ip               1344 arch/x86/kernel/ptrace.c 			user_mode(regs) ? (void __user *)regs->ip : NULL);
ip                119 arch/x86/kernel/signal.c 		COPY(dx); COPY(cx); COPY(ip); COPY(ax);
ip                194 arch/x86/kernel/signal.c 		put_user_ex(regs->ip, &sc->ip);
ip                362 arch/x86/kernel/signal.c 	regs->ip = (unsigned long)ksig->ka.sa.sa_handler;
ip                428 arch/x86/kernel/signal.c 	regs->ip = (unsigned long)ksig->ka.sa.sa_handler;
ip                508 arch/x86/kernel/signal.c 	regs->ip = (unsigned long) ksig->ka.sa.sa_handler;
ip                587 arch/x86/kernel/signal.c 	regs->ip = (unsigned long) ksig->ka.sa.sa_handler;
ip                736 arch/x86/kernel/signal.c 			regs->ip -= 2;
ip                829 arch/x86/kernel/signal.c 			regs->ip -= 2;
ip                834 arch/x86/kernel/signal.c 			regs->ip -= 2;
ip                855 arch/x86/kernel/signal.c 		       regs->ip, regs->sp, regs->orig_ax);
ip                856 arch/x86/kernel/signal.c 		print_vma_addr(KERN_CONT " in ", regs->ip);
ip                 21 arch/x86/kernel/stacktrace.c 	if (regs && !consume_entry(cookie, regs->ip, false))
ip                120 arch/x86/kernel/stacktrace.c 	if (!consume_entry(cookie, regs->ip, false))
ip                 16 arch/x86/kernel/step.c 	addr = regs->ip;
ip                179 arch/x86/kernel/traps.c 	switch (report_bug(regs->ip, regs)) {
ip                185 arch/x86/kernel/traps.c 		regs->ip += LEN_UD2;
ip                238 arch/x86/kernel/traps.c 			regs->ip, regs->sp, error_code);
ip                239 arch/x86/kernel/traps.c 		print_vma_addr(KERN_CONT " in ", regs->ip);
ip                340 arch/x86/kernel/traps.c 		regs->ip == (unsigned long)native_irq_return_iret)
ip                350 arch/x86/kernel/traps.c 		memmove(&gpregs->ip, (void *)regs->sp, 5*8);
ip                364 arch/x86/kernel/traps.c 		regs->ip = (unsigned long)general_protection;
ip                651 arch/x86/kernel/traps.c 	memmove(&new_stack->regs.ip, (void *)s->regs.sp, 5*8);
ip                654 arch/x86/kernel/traps.c 	memmove(new_stack, s, offsetof(struct bad_iret_stack, regs.ip));
ip                673 arch/x86/kernel/traps.c 	return (regs->ip - (unsigned long)__begin_SYSENTER_singlestep_region) <
ip                677 arch/x86/kernel/traps.c 	return (regs->ip - (unsigned long)entry_SYSENTER_compat) <
ip                131 arch/x86/kernel/umip.c 	       task_pid_nr(tsk), regs->ip, regs->sp, &vaf);
ip                344 arch/x86/kernel/umip.c 	not_copied = copy_from_user(buf, (void __user *)(seg_base + regs->ip),
ip                432 arch/x86/kernel/umip.c 	regs->ip += insn.length;
ip                 19 arch/x86/kernel/unwind_frame.c 	return __kernel_text_address(state->ip) ? state->ip : 0;
ip                 28 arch/x86/kernel/unwind_frame.c 	return state->regs ? &state->regs->ip : state->bp + 1;
ip                 73 arch/x86/kernel/unwind_frame.c static bool in_entry_code(unsigned long ip)
ip                 75 arch/x86/kernel/unwind_frame.c 	char *addr = (char *)ip;
ip                245 arch/x86/kernel/unwind_frame.c 		state->ip = 0;
ip                249 arch/x86/kernel/unwind_frame.c 		state->ip = ftrace_graph_ret_addr(state->task, &state->graph_idx,
ip                296 arch/x86/kernel/unwind_frame.c 		state->ip = 0;
ip                333 arch/x86/kernel/unwind_frame.c 	if (state->got_irq && in_entry_code(state->ip))
ip                392 arch/x86/kernel/unwind_frame.c 	if (regs && regs->ip == 0 && (unsigned long *)regs->sp >= first_frame) {
ip                 25 arch/x86/kernel/unwind_orc.c static inline unsigned long orc_ip(const int *ip)
ip                 27 arch/x86/kernel/unwind_orc.c 	return (unsigned long)ip + *ip;
ip                 31 arch/x86/kernel/unwind_orc.c 				    unsigned int num_entries, unsigned long ip)
ip                 49 arch/x86/kernel/unwind_orc.c 		if (orc_ip(mid) <= ip) {
ip                 60 arch/x86/kernel/unwind_orc.c static struct orc_entry *orc_module_find(unsigned long ip)
ip                 64 arch/x86/kernel/unwind_orc.c 	mod = __module_address(ip);
ip                 68 arch/x86/kernel/unwind_orc.c 			  mod->arch.num_orcs, ip);
ip                 71 arch/x86/kernel/unwind_orc.c static struct orc_entry *orc_module_find(unsigned long ip)
ip                 78 arch/x86/kernel/unwind_orc.c static struct orc_entry *orc_find(unsigned long ip);
ip                 90 arch/x86/kernel/unwind_orc.c static struct orc_entry *orc_ftrace_find(unsigned long ip)
ip                 95 arch/x86/kernel/unwind_orc.c 	ops = ftrace_ops_trampoline(ip);
ip                105 arch/x86/kernel/unwind_orc.c 	if (ip == caller)
ip                111 arch/x86/kernel/unwind_orc.c static struct orc_entry *orc_ftrace_find(unsigned long ip)
ip                141 arch/x86/kernel/unwind_orc.c static struct orc_entry *orc_find(unsigned long ip)
ip                145 arch/x86/kernel/unwind_orc.c 	if (ip == 0)
ip                149 arch/x86/kernel/unwind_orc.c 	if (ip >= LOOKUP_START_IP && ip < LOOKUP_STOP_IP) {
ip                152 arch/x86/kernel/unwind_orc.c 		idx = (ip - LOOKUP_START_IP) / LOOKUP_BLOCK_SIZE;
ip                156 arch/x86/kernel/unwind_orc.c 				 idx, lookup_num_blocks, (void *)ip);
ip                166 arch/x86/kernel/unwind_orc.c 				 idx, lookup_num_blocks, start, stop, (void *)ip);
ip                171 arch/x86/kernel/unwind_orc.c 				  __start_orc_unwind + start, stop - start, ip);
ip                175 arch/x86/kernel/unwind_orc.c 	if (init_kernel_text(ip))
ip                177 arch/x86/kernel/unwind_orc.c 				  __stop_orc_unwind_ip - __start_orc_unwind_ip, ip);
ip                180 arch/x86/kernel/unwind_orc.c 	orc = orc_module_find(ip);
ip                184 arch/x86/kernel/unwind_orc.c 	return orc_ftrace_find(ip);
ip                308 arch/x86/kernel/unwind_orc.c 	return __kernel_text_address(state->ip) ? state->ip : 0;
ip                320 arch/x86/kernel/unwind_orc.c 		return &state->regs->ip;
ip                357 arch/x86/kernel/unwind_orc.c 			     unsigned long *ip, unsigned long *sp)
ip                367 arch/x86/kernel/unwind_orc.c 	*ip = regs->ip;
ip                373 arch/x86/kernel/unwind_orc.c 				  unsigned long *ip, unsigned long *sp)
ip                380 arch/x86/kernel/unwind_orc.c 	*ip = regs->ip;
ip                416 arch/x86/kernel/unwind_orc.c 	unsigned long ip_p, sp, tmp, orig_ip = state->ip, prev_sp = state->sp;
ip                437 arch/x86/kernel/unwind_orc.c 	orc = orc_find(state->signal ? state->ip : state->ip - 1);
ip                480 arch/x86/kernel/unwind_orc.c 				 (void *)state->ip);
ip                488 arch/x86/kernel/unwind_orc.c 				 (void *)state->ip);
ip                496 arch/x86/kernel/unwind_orc.c 				 (void *)state->ip);
ip                504 arch/x86/kernel/unwind_orc.c 				 (void *)state->ip);
ip                511 arch/x86/kernel/unwind_orc.c 			 orc->sp_reg, (void *)state->ip);
ip                525 arch/x86/kernel/unwind_orc.c 		if (!deref_stack_reg(state, ip_p, &state->ip))
ip                528 arch/x86/kernel/unwind_orc.c 		state->ip = ftrace_graph_ret_addr(state->task, &state->graph_idx,
ip                529 arch/x86/kernel/unwind_orc.c 						  state->ip, (void *)ip_p);
ip                538 arch/x86/kernel/unwind_orc.c 		if (!deref_stack_regs(state, sp, &state->ip, &state->sp)) {
ip                551 arch/x86/kernel/unwind_orc.c 		if (!deref_stack_iret_regs(state, sp, &state->ip, &state->sp)) {
ip                636 arch/x86/kernel/unwind_orc.c 		state->ip = regs->ip;
ip                647 arch/x86/kernel/unwind_orc.c 			     : "=r" (state->ip), "=r" (state->sp),
ip                655 arch/x86/kernel/unwind_orc.c 		state->ip = READ_ONCE_NOCHECK(frame->ret_addr);
ip                560 arch/x86/kernel/uprobes.c 		regs->ip += correction;
ip                639 arch/x86/kernel/uprobes.c 	unsigned long new_ip = regs->ip += auprobe->branch.ilen;
ip                658 arch/x86/kernel/uprobes.c 	regs->ip = new_ip + offs;
ip                668 arch/x86/kernel/uprobes.c 	regs->ip += auprobe->push.ilen;
ip                922 arch/x86/kernel/uprobes.c 	regs->ip = utask->xol_vaddr;
ip                976 arch/x86/kernel/uprobes.c 			regs->ip = utask->vaddr;
ip               1038 arch/x86/kernel/uprobes.c 	regs->ip = utask->vaddr;
ip               1078 arch/x86/kernel/uprobes.c 		       current->pid, regs->sp, regs->ip);
ip                 81 arch/x86/kernel/vm86_32.c #define IP(regs)	(*(unsigned short *)&((regs)->pt.ip))
ip                132 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->pt.ip, &user->regs.eip);
ip                296 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.pt.ip, &user_vm86->regs.eip);
ip                595 arch/x86/kernel/vm86_32.c 	unsigned short ip, sp, orig_flags;
ip                608 arch/x86/kernel/vm86_32.c 	ip = IP(regs);
ip                613 arch/x86/kernel/vm86_32.c 		switch (opcode = popb(csp, ip, simulate_sigsegv)) {
ip                639 arch/x86/kernel/vm86_32.c 		IP(regs) = ip;
ip                653 arch/x86/kernel/vm86_32.c 		IP(regs) = ip;
ip                665 arch/x86/kernel/vm86_32.c 		int intno = popb(csp, ip, simulate_sigsegv);
ip                666 arch/x86/kernel/vm86_32.c 		IP(regs) = ip;
ip                707 arch/x86/kernel/vm86_32.c 		IP(regs) = ip;
ip                719 arch/x86/kernel/vm86_32.c 		IP(regs) = ip;
ip               3053 arch/x86/kvm/emulate.c 	tss->ip = ctxt->_eip;
ip               3077 arch/x86/kvm/emulate.c 	ctxt->_eip = tss->ip;
ip                 43 arch/x86/kvm/tss.h 	u16 ip;
ip               7173 arch/x86/kvm/x86.c 	unsigned long ip = 0;
ip               7176 arch/x86/kvm/x86.c 		ip = kvm_rip_read(__this_cpu_read(current_vcpu));
ip               7178 arch/x86/kvm/x86.c 	return ip;
ip                 19 arch/x86/lib/error-inject.c 	regs->ip = (unsigned long)&just_return_func;
ip                198 arch/x86/lib/insn-eval.c 	case offsetof(struct pt_regs, ip):
ip                268 arch/x86/lib/insn-eval.c 	if (regoff == offsetof(struct pt_regs, ip)) {
ip                952 arch/x86/lib/insn-eval.c 			tmp = regs->ip + insn->length;
ip                549 arch/x86/math-emu/fpu_entry.c 	u_char __user *ip = *fpu_eip;
ip                556 arch/x86/math-emu/fpu_entry.c 	FPU_get_user(byte, ip);
ip                597 arch/x86/math-emu/fpu_entry.c 			ip++;
ip                600 arch/x86/math-emu/fpu_entry.c 			FPU_get_user(byte, ip);
ip                609 arch/x86/math-emu/fpu_entry.c 				*fpu_eip = ip;
ip                 84 arch/x86/math-emu/fpu_system.h #define FPU_EIP			(FPU_info->regs->ip)
ip                 31 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
ip                 41 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
ip                 68 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
ip                111 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
ip                127 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
ip                139 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
ip                150 arch/x86/mm/extable.c 			 (unsigned int)regs->cx, regs->ip, (void *)regs->ip))
ip                154 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
ip                168 arch/x86/mm/extable.c 			 (unsigned int)regs->ax,  regs->ip, (void *)regs->ip))
ip                172 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
ip                189 arch/x86/mm/extable.c __visible bool ex_has_fault_handler(unsigned long ip)
ip                194 arch/x86/mm/extable.c 	e = search_exception_tables(ip);
ip                222 arch/x86/mm/extable.c 	e = search_exception_tables(regs->ip);
ip                273 arch/x86/mm/extable.c 		     (unsigned)trapnr, (unsigned long)regs->cs, regs->ip,
ip                522 arch/x86/mm/fault.c 	if (address != regs->ip)
ip                532 arch/x86/mm/fault.c 		regs->ip = address;
ip                869 arch/x86/mm/fault.c 		(void *)regs->ip, (void *)regs->sp, error_code);
ip                871 arch/x86/mm/fault.c 	print_vma_addr(KERN_CONT " in ", regs->ip);
ip               1405 arch/x86/mm/fault.c 		if (!user_mode(regs) && !search_exception_tables(regs->ip)) {
ip                 31 arch/x86/mm/mmio-mod.c 	unsigned long ip;
ip                113 arch/x86/mm/mmio-mod.c 	pr_emerg("faulting IP is at %pS\n", (void *)regs->ip);
ip                114 arch/x86/mm/mmio-mod.c 	pr_emerg("last faulting IP was at %pS\n", (void *)my_reason->ip);
ip                147 arch/x86/mm/mmio-mod.c 	my_reason->ip = instptr;
ip                184 arch/x86/mm/mmio-mod.c 			unsigned char *ip = (unsigned char *)instptr;
ip                187 arch/x86/mm/mmio-mod.c 			my_trace->value = (*ip) << 16 | *(ip + 1) << 8 |
ip                188 arch/x86/mm/mmio-mod.c 								*(ip + 2);
ip                210 arch/x86/mm/mmio-mod.c 		my_trace->value = get_ins_reg_val(my_reason->ip, regs);
ip                 73 arch/x86/mm/mpx.c 	not_copied = copy_from_user(buf, (void __user *)regs->ip, sizeof(buf));
ip                102 arch/x86/oprofile/backtrace.c 		oprofile_add_trace(regs->ip);
ip                671 arch/x86/platform/uv/uv_nmi.c 		cpu, current->pid, current->comm, (void *)regs->ip);
ip                182 arch/x86/um/signal.c 	GETREG(IP, ip);
ip                275 arch/x86/um/signal.c 	PUTREG(IP, ip);
ip                455 arch/x86/xen/pmu.c 	return xenpmu_data->pmu.r.regs.ip;
ip                468 arch/x86/xen/pmu.c 	regs->ip = xen_regs->ip;
ip                152 drivers/acpi/apei/apei-base.c 	u32 i, ip;
ip                156 drivers/acpi/apei/apei-base.c 	ctx->ip = 0;
ip                165 drivers/acpi/apei/apei-base.c 	ip = 0;
ip                170 drivers/acpi/apei/apei-base.c 		if (ip == ctx->ip) {
ip                183 drivers/acpi/apei/apei-base.c 				ctx->ip++;
ip                185 drivers/acpi/apei/apei-base.c 		ip++;
ip                186 drivers/acpi/apei/apei-base.c 		if (ctx->ip < ip)
ip                 26 drivers/acpi/apei/apei-internal.h 	u32 ip;
ip                229 drivers/acpi/apei/erst.c 		ctx->ip += 2;
ip                239 drivers/acpi/apei/erst.c 	ctx->ip = ctx->value;
ip                185 drivers/block/aoe/aoe.h 	} ip;
ip                392 drivers/block/aoe/aoecmd.c 		d->ip.buf = NULL;
ip                846 drivers/block/aoe/aoecmd.c 	if (d->ip.buf)
ip                847 drivers/block/aoe/aoecmd.c 		return d->ip.buf;
ip                848 drivers/block/aoe/aoecmd.c 	rq = d->ip.rq;
ip                856 drivers/block/aoe/aoecmd.c 		d->ip.rq = rq;
ip                857 drivers/block/aoe/aoecmd.c 		d->ip.nxbio = rq->bio;
ip                869 drivers/block/aoe/aoecmd.c 	bio = d->ip.nxbio;
ip                872 drivers/block/aoe/aoecmd.c 	d->ip.nxbio = bio;
ip                874 drivers/block/aoe/aoecmd.c 		d->ip.rq = NULL;
ip                875 drivers/block/aoe/aoecmd.c 	return d->ip.buf = buf;
ip               1047 drivers/block/aoe/aoecmd.c 	if (rq == d->ip.rq)
ip               1048 drivers/block/aoe/aoecmd.c 		d->ip.rq = NULL;
ip               1069 drivers/block/aoe/aoecmd.c 	if (buf == d->ip.buf)
ip               1070 drivers/block/aoe/aoecmd.c 		d->ip.buf = NULL;
ip                166 drivers/block/aoe/aoedev.c 	aoe_failbuf(d, d->ip.buf);
ip                167 drivers/block/aoe/aoedev.c 	rq = d->ip.rq;
ip                172 drivers/block/aoe/aoedev.c 	while ((bio = d->ip.nxbio)) {
ip                174 drivers/block/aoe/aoedev.c 		d->ip.nxbio = bio->bi_next;
ip               1316 drivers/char/random.c 	__u64			ip;
ip               1326 drivers/char/random.c 	ip = regs ? instruction_pointer(regs) : _RET_IP_;
ip               1327 drivers/char/random.c 	fast_pool->pool[2] ^= ip;
ip               1328 drivers/char/random.c 	fast_pool->pool[3] ^= (sizeof(ip) > 4) ? ip >> 32 :
ip               1550 drivers/crypto/n2_core.c static int find_devino_index(struct platform_device *dev, struct spu_mdesc_info *ip,
ip               1557 drivers/crypto/n2_core.c 	for (i = 0; i < ip->num_intrs; i++) {
ip               1558 drivers/crypto/n2_core.c 		if (ip->ino_table[i].ino == dev_ino)
ip               1561 drivers/crypto/n2_core.c 	if (i == ip->num_intrs)
ip               1564 drivers/crypto/n2_core.c 	intr = ip->ino_table[i].intr;
ip               1578 drivers/crypto/n2_core.c static int spu_map_ino(struct platform_device *dev, struct spu_mdesc_info *ip,
ip               1589 drivers/crypto/n2_core.c 	index = find_devino_index(dev, ip, p->devino);
ip               1750 drivers/crypto/n2_core.c static int handle_exec_unit(struct spu_mdesc_info *ip, struct list_head *list,
ip               1779 drivers/crypto/n2_core.c 	return spu_map_ino(dev, ip, iname, p, handler);
ip               1783 drivers/crypto/n2_core.c 			  struct spu_mdesc_info *ip, struct list_head *list,
ip               1797 drivers/crypto/n2_core.c 		err = handle_exec_unit(ip, list, dev, mdesc, node,
ip               1809 drivers/crypto/n2_core.c 			 struct spu_mdesc_info *ip)
ip               1821 drivers/crypto/n2_core.c 	ip->num_intrs = ino_len / sizeof(u64);
ip               1822 drivers/crypto/n2_core.c 	ip->ino_table = kzalloc((sizeof(struct ino_blob) *
ip               1823 drivers/crypto/n2_core.c 				 ip->num_intrs),
ip               1825 drivers/crypto/n2_core.c 	if (!ip->ino_table)
ip               1828 drivers/crypto/n2_core.c 	for (i = 0; i < ip->num_intrs; i++) {
ip               1829 drivers/crypto/n2_core.c 		struct ino_blob *b = &ip->ino_table[i];
ip               1839 drivers/crypto/n2_core.c 				struct spu_mdesc_info *ip,
ip               1859 drivers/crypto/n2_core.c 		ip->cfg_handle = *chdl;
ip               1860 drivers/crypto/n2_core.c 		return get_irq_props(mdesc, node, ip);
ip                270 drivers/dma/ipu/ipu_idmac.c 	struct chan_param_mem_interleaved	ip;
ip                310 drivers/dma/ipu/ipu_idmac.c 		params->ip.bpp	= 2;
ip                311 drivers/dma/ipu/ipu_idmac.c 		params->ip.pfs	= 4;
ip                312 drivers/dma/ipu/ipu_idmac.c 		params->ip.npb	= 15;
ip                313 drivers/dma/ipu/ipu_idmac.c 		params->ip.sat	= 2;		/* SAT = 32-bit access */
ip                314 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs0	= 0;		/* Red bit offset */
ip                315 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs1	= 5;		/* Green bit offset */
ip                316 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs2	= 11;		/* Blue bit offset */
ip                317 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs3	= 16;		/* Alpha bit offset */
ip                318 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid0	= 4;		/* Red bit width - 1 */
ip                319 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid1	= 5;		/* Green bit width - 1 */
ip                320 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid2	= 4;		/* Blue bit width - 1 */
ip                323 drivers/dma/ipu/ipu_idmac.c 		params->ip.bpp	= 1;		/* 24 BPP & RGB PFS */
ip                324 drivers/dma/ipu/ipu_idmac.c 		params->ip.pfs	= 4;
ip                325 drivers/dma/ipu/ipu_idmac.c 		params->ip.npb	= 7;
ip                326 drivers/dma/ipu/ipu_idmac.c 		params->ip.sat	= 2;		/* SAT = 32-bit access */
ip                327 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs0	= 0;		/* Red bit offset */
ip                328 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs1	= 8;		/* Green bit offset */
ip                329 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs2	= 16;		/* Blue bit offset */
ip                330 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs3	= 24;		/* Alpha bit offset */
ip                331 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid0	= 7;		/* Red bit width - 1 */
ip                332 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid1	= 7;		/* Green bit width - 1 */
ip                333 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid2	= 7;		/* Blue bit width - 1 */
ip                336 drivers/dma/ipu/ipu_idmac.c 		params->ip.bpp	= 1;		/* 24 BPP & RGB PFS */
ip                337 drivers/dma/ipu/ipu_idmac.c 		params->ip.pfs	= 4;
ip                338 drivers/dma/ipu/ipu_idmac.c 		params->ip.npb	= 7;
ip                339 drivers/dma/ipu/ipu_idmac.c 		params->ip.sat	= 2;		/* SAT = 32-bit access */
ip                340 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs0	= 16;		/* Red bit offset */
ip                341 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs1	= 8;		/* Green bit offset */
ip                342 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs2	= 0;		/* Blue bit offset */
ip                343 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs3	= 24;		/* Alpha bit offset */
ip                344 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid0	= 7;		/* Red bit width - 1 */
ip                345 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid1	= 7;		/* Green bit width - 1 */
ip                346 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid2	= 7;		/* Blue bit width - 1 */
ip                351 drivers/dma/ipu/ipu_idmac.c 		params->ip.bpp	= 0;
ip                352 drivers/dma/ipu/ipu_idmac.c 		params->ip.pfs	= 4;
ip                353 drivers/dma/ipu/ipu_idmac.c 		params->ip.npb	= 7;
ip                354 drivers/dma/ipu/ipu_idmac.c 		params->ip.sat	= 2;		/* SAT = 32-bit access */
ip                355 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs0	= 8;		/* Red bit offset */
ip                356 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs1	= 16;		/* Green bit offset */
ip                357 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs2	= 24;		/* Blue bit offset */
ip                358 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs3	= 0;		/* Alpha bit offset */
ip                359 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid0	= 7;		/* Red bit width - 1 */
ip                360 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid1	= 7;		/* Green bit width - 1 */
ip                361 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid2	= 7;		/* Blue bit width - 1 */
ip                362 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid3	= 7;		/* Alpha bit width - 1 */
ip                366 drivers/dma/ipu/ipu_idmac.c 		params->ip.bpp	= 0;
ip                367 drivers/dma/ipu/ipu_idmac.c 		params->ip.pfs	= 4;
ip                368 drivers/dma/ipu/ipu_idmac.c 		params->ip.npb	= 7;
ip                369 drivers/dma/ipu/ipu_idmac.c 		params->ip.sat	= 2;		/* SAT = 32-bit access */
ip                370 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs0	= 24;		/* Red bit offset */
ip                371 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs1	= 16;		/* Green bit offset */
ip                372 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs2	= 8;		/* Blue bit offset */
ip                373 drivers/dma/ipu/ipu_idmac.c 		params->ip.ofs3	= 0;		/* Alpha bit offset */
ip                374 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid0	= 7;		/* Red bit width - 1 */
ip                375 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid1	= 7;		/* Green bit width - 1 */
ip                376 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid2	= 7;		/* Blue bit width - 1 */
ip                377 drivers/dma/ipu/ipu_idmac.c 		params->ip.wid3	= 7;		/* Alpha bit width - 1 */
ip                380 drivers/dma/ipu/ipu_idmac.c 		params->ip.bpp	= 2;
ip                381 drivers/dma/ipu/ipu_idmac.c 		params->ip.pfs	= 6;
ip                382 drivers/dma/ipu/ipu_idmac.c 		params->ip.npb	= 7;
ip                383 drivers/dma/ipu/ipu_idmac.c 		params->ip.sat	= 2;		/* SAT = 32-bit access */
ip                387 drivers/dma/ipu/ipu_idmac.c 		params->ip.bpp	= 3;
ip                388 drivers/dma/ipu/ipu_idmac.c 		params->ip.pfs	= 3;
ip                389 drivers/dma/ipu/ipu_idmac.c 		params->ip.npb	= 7;
ip                390 drivers/dma/ipu/ipu_idmac.c 		params->ip.sat	= 2;		/* SAT = 32-bit access */
ip                396 drivers/dma/ipu/ipu_idmac.c 		params->ip.bpp	= 3;
ip                397 drivers/dma/ipu/ipu_idmac.c 		params->ip.pfs	= 2;
ip                398 drivers/dma/ipu/ipu_idmac.c 		params->ip.npb	= 7;
ip                399 drivers/dma/ipu/ipu_idmac.c 		params->ip.sat	= 2;		/* SAT = 32-bit access */
ip                405 drivers/dma/ipu/ipu_idmac.c 		params->ip.bpp	= 3;
ip                406 drivers/dma/ipu/ipu_idmac.c 		params->ip.pfs	= 2;
ip                407 drivers/dma/ipu/ipu_idmac.c 		params->ip.npb	= 7;
ip                408 drivers/dma/ipu/ipu_idmac.c 		params->ip.sat	= 2;		/* SAT = 32-bit access */
ip                319 drivers/firmware/efi/cper-x86.c 			       newpfx, err_info->ip);
ip                187 drivers/firmware/efi/cper.c 		printk("%s""IP: 0x%016llx\n", pfx, proc->ip);
ip                193 drivers/firmware/iscsi_ibft.c static int address_not_null(u8 *ip)
ip                195 drivers/firmware/iscsi_ibft.c 	return (memcmp(ip, nulls, 16) && memcmp(ip, mapped_nulls, 16));
ip                201 drivers/firmware/iscsi_ibft.c static ssize_t sprintf_ipaddr(char *buf, u8 *ip)
ip                205 drivers/firmware/iscsi_ibft.c 	if (ip[0] == 0 && ip[1] == 0 && ip[2] == 0 && ip[3] == 0 &&
ip                206 drivers/firmware/iscsi_ibft.c 	    ip[4] == 0 && ip[5] == 0 && ip[6] == 0 && ip[7] == 0 &&
ip                207 drivers/firmware/iscsi_ibft.c 	    ip[8] == 0 && ip[9] == 0 && ip[10] == 0xff && ip[11] == 0xff) {
ip                211 drivers/firmware/iscsi_ibft.c 		str += sprintf(buf, "%pI4", ip + 12);
ip                216 drivers/firmware/iscsi_ibft.c 		str += sprintf(str, "%pI6", ip);
ip                440 drivers/gpio/gpiolib.c 	void __user *ip = (void __user *)arg;
ip                460 drivers/gpio/gpiolib.c 		if (copy_to_user(ip, &ghd, sizeof(ghd)))
ip                472 drivers/gpio/gpiolib.c 		if (copy_from_user(&ghd, ip, sizeof(ghd)))
ip                522 drivers/gpio/gpiolib.c static int linehandle_create(struct gpio_device *gdev, void __user *ip)
ip                530 drivers/gpio/gpiolib.c 	if (copy_from_user(&handlereq, ip, sizeof(handlereq)))
ip                647 drivers/gpio/gpiolib.c 	if (copy_to_user(ip, &handlereq, sizeof(handlereq))) {
ip                788 drivers/gpio/gpiolib.c 	void __user *ip = (void __user *)arg;
ip                805 drivers/gpio/gpiolib.c 		if (copy_to_user(ip, &ghd, sizeof(ghd)))
ip                890 drivers/gpio/gpiolib.c static int lineevent_create(struct gpio_device *gdev, void __user *ip)
ip                903 drivers/gpio/gpiolib.c 	if (copy_from_user(&eventreq, ip, sizeof(eventreq)))
ip               1005 drivers/gpio/gpiolib.c 	if (copy_to_user(ip, &eventreq, sizeof(eventreq))) {
ip               1040 drivers/gpio/gpiolib.c 	void __user *ip = (void __user *)arg;
ip               1059 drivers/gpio/gpiolib.c 		if (copy_to_user(ip, &chipinfo, sizeof(chipinfo)))
ip               1066 drivers/gpio/gpiolib.c 		if (copy_from_user(&lineinfo, ip, sizeof(lineinfo)))
ip               1110 drivers/gpio/gpiolib.c 		if (copy_to_user(ip, &lineinfo, sizeof(lineinfo)))
ip               1114 drivers/gpio/gpiolib.c 		return linehandle_create(gdev, ip);
ip               1116 drivers/gpio/gpiolib.c 		return lineevent_create(gdev, ip);
ip                262 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 	struct ip *ip;
ip                299 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 			ip = (struct ip *)(adev->discovery + ip_offset);
ip                300 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 			num_base_address = ip->num_base_address;
ip                303 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 				  hw_id_names[le16_to_cpu(ip->hw_id)],
ip                304 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 				  le16_to_cpu(ip->hw_id),
ip                305 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 				  ip->number_instance,
ip                306 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 				  ip->major, ip->minor,
ip                307 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 				  ip->revision);
ip                314 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 				ip->base_address[k] = le32_to_cpu(ip->base_address[k]);
ip                315 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 				DRM_DEBUG("\t0x%08x\n", ip->base_address[k]);
ip                319 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 				if (hw_id_map[hw_ip] == le16_to_cpu(ip->hw_id)) {
ip                321 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 							hw_id_names[le16_to_cpu(ip->hw_id)]);
ip                322 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 					adev->reg_offset[hw_ip][ip->number_instance] =
ip                323 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 						ip->base_address;
ip                328 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 			ip_offset += sizeof(*ip) + 4 * (ip->num_base_address - 1);
ip                341 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 	struct ip *ip;
ip                365 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 			ip = (struct ip *)(adev->discovery + ip_offset);
ip                367 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 			if (le16_to_cpu(ip->hw_id) == hw_id) {
ip                369 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 					*major = ip->major;
ip                371 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 					*minor = ip->minor;
ip                374 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 			ip_offset += sizeof(*ip) + 4 * (ip->num_base_address - 1);
ip                485 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		struct drm_amdgpu_info_hw_ip ip = {};
ip                488 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		ret = amdgpu_hw_ip_info(adev, info, &ip);
ip                492 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		ret = copy_to_user(out, &ip, min((size_t)size, sizeof(ip)));
ip                 59 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h #define RREG32_SOC15_DPG_MODE(ip, inst, reg, mask, sram_sel) 				\
ip                 60 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h 	({	WREG32_SOC15(ip, inst, mmUVD_DPG_LMA_MASK, mask); 			\
ip                 61 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h 		WREG32_SOC15(ip, inst, mmUVD_DPG_LMA_CTL, 				\
ip                 63 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h 			((adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg) 	\
ip                 66 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h 		RREG32_SOC15(ip, inst, mmUVD_DPG_LMA_DATA); 				\
ip                 69 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h #define WREG32_SOC15_DPG_MODE(ip, inst, reg, value, mask, sram_sel) 			\
ip                 71 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h 		WREG32_SOC15(ip, inst, mmUVD_DPG_LMA_DATA, value); 			\
ip                 72 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h 		WREG32_SOC15(ip, inst, mmUVD_DPG_LMA_MASK, mask); 			\
ip                 73 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h 		WREG32_SOC15(ip, inst, mmUVD_DPG_LMA_CTL, 				\
ip                 75 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h 			((adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg) 	\
ip                 80 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h #define SOC15_DPG_MODE_OFFSET_2_0(ip, inst, reg) 						\
ip                 85 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h 		addr = (adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg);		\
ip               5753 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	uint32_t ip;
ip               6125 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 					adev->reg_offset[gfx_ras_edc_regs[i].ip]
ip                 63 drivers/gpu/drm/amd/amdgpu/soc15.h #define SOC15_REG_ENTRY(ip, inst, reg)	ip##_HWIP, inst, reg##_BASE_IDX, reg
ip                 67 drivers/gpu/drm/amd/amdgpu/soc15.h #define SOC15_REG_GOLDEN_VALUE(ip, inst, reg, and_mask, or_mask) \
ip                 68 drivers/gpu/drm/amd/amdgpu/soc15.h 	{ ip##_HWIP, inst, reg##_BASE_IDX, reg, and_mask, or_mask }
ip                 28 drivers/gpu/drm/amd/amdgpu/soc15_common.h #define SOC15_REG_OFFSET(ip, inst, reg)	(adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg)
ip                 30 drivers/gpu/drm/amd/amdgpu/soc15_common.h #define WREG32_FIELD15(ip, idx, reg, field, val)	\
ip                 31 drivers/gpu/drm/amd/amdgpu/soc15_common.h 	WREG32(adev->reg_offset[ip##_HWIP][idx][mm##reg##_BASE_IDX] + mm##reg,	\
ip                 32 drivers/gpu/drm/amd/amdgpu/soc15_common.h 	(RREG32(adev->reg_offset[ip##_HWIP][idx][mm##reg##_BASE_IDX] + mm##reg)	\
ip                 35 drivers/gpu/drm/amd/amdgpu/soc15_common.h #define RREG32_SOC15(ip, inst, reg) \
ip                 36 drivers/gpu/drm/amd/amdgpu/soc15_common.h 	RREG32(adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg)
ip                 38 drivers/gpu/drm/amd/amdgpu/soc15_common.h #define RREG32_SOC15_OFFSET(ip, inst, reg, offset) \
ip                 39 drivers/gpu/drm/amd/amdgpu/soc15_common.h 	RREG32((adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg) + offset)
ip                 41 drivers/gpu/drm/amd/amdgpu/soc15_common.h #define WREG32_SOC15(ip, inst, reg, value) \
ip                 42 drivers/gpu/drm/amd/amdgpu/soc15_common.h 	WREG32((adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg), value)
ip                 44 drivers/gpu/drm/amd/amdgpu/soc15_common.h #define WREG32_SOC15_NO_KIQ(ip, inst, reg, value) \
ip                 45 drivers/gpu/drm/amd/amdgpu/soc15_common.h 	WREG32_NO_KIQ((adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg), value)
ip                 47 drivers/gpu/drm/amd/amdgpu/soc15_common.h #define WREG32_SOC15_OFFSET(ip, inst, reg, offset, value) \
ip                 48 drivers/gpu/drm/amd/amdgpu/soc15_common.h 	WREG32((adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg) + offset, value)
ip                 50 drivers/gpu/drm/amd/amdgpu/soc15_common.h #define SOC15_WAIT_ON_RREG(ip, inst, reg, expected_value, mask, ret) \
ip                 53 drivers/gpu/drm/amd/amdgpu/soc15_common.h 		uint32_t tmp_ = RREG32(adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg); \
ip                 62 drivers/gpu/drm/amd/amdgpu/soc15_common.h 			tmp_ = RREG32(adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg); \
ip                 98 drivers/gpu/drm/amd/amdgpu/soc15_common.h #define WREG32_SOC15_RLC_SHADOW(ip, inst, reg, value) \
ip                100 drivers/gpu/drm/amd/amdgpu/soc15_common.h 		uint32_t target_reg = adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg;\
ip                116 drivers/gpu/drm/amd/amdgpu/soc15_common.h #define WREG32_SOC15_RLC(ip, inst, reg, value) \
ip                122 drivers/gpu/drm/amd/amdgpu/soc15_common.h #define WREG32_FIELD15_RLC(ip, idx, reg, field, val)   \
ip                123 drivers/gpu/drm/amd/amdgpu/soc15_common.h     WREG32_RLC((adev->reg_offset[ip##_HWIP][idx][mm##reg##_BASE_IDX] + mm##reg), \
ip                124 drivers/gpu/drm/amd/amdgpu/soc15_common.h     (RREG32(adev->reg_offset[ip##_HWIP][idx][mm##reg##_BASE_IDX] + mm##reg) \
ip                127 drivers/gpu/drm/amd/amdgpu/soc15_common.h #define WREG32_SOC15_OFFSET_RLC(ip, inst, reg, offset, value) \
ip                128 drivers/gpu/drm/amd/amdgpu/soc15_common.h     WREG32_RLC(((adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg) + offset), value)
ip               1721 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.rob_buffer_size_kbytes = dc->dcn_ip->rob_buffer_size_in_kbyte;
ip               1722 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.det_buffer_size_kbytes = dc->dcn_ip->det_buffer_size_in_kbyte;
ip               1723 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.dpp_output_buffer_pixels = dc->dcn_ip->dpp_output_buffer_pixels;
ip               1724 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.opp_output_buffer_lines = dc->dcn_ip->opp_output_buffer_lines;
ip               1725 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.pixel_chunk_size_kbytes = dc->dcn_ip->pixel_chunk_size_in_kbyte;
ip               1726 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.pte_enable = dc->dcn_ip->pte_enable == dcn_bw_yes;
ip               1727 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.pte_chunk_size_kbytes = dc->dcn_ip->pte_chunk_size;
ip               1728 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.meta_chunk_size_kbytes = dc->dcn_ip->meta_chunk_size;
ip               1729 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.writeback_chunk_size_kbytes = dc->dcn_ip->writeback_chunk_size;
ip               1730 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.line_buffer_size_bits = dc->dcn_ip->line_buffer_size;
ip               1731 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.max_line_buffer_lines = dc->dcn_ip->max_line_buffer_lines;
ip               1732 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.IsLineBufferBppFixed = dc->dcn_ip->is_line_buffer_bpp_fixed == dcn_bw_yes;
ip               1733 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.LineBufferFixedBpp = dc->dcn_ip->line_buffer_fixed_bpp;
ip               1734 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.writeback_luma_buffer_size_kbytes = dc->dcn_ip->writeback_luma_buffer_size;
ip               1735 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.writeback_chroma_buffer_size_kbytes = dc->dcn_ip->writeback_chroma_buffer_size;
ip               1736 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.max_num_dpp = dc->dcn_ip->max_num_dpp;
ip               1737 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.max_num_wb = dc->dcn_ip->max_num_writeback;
ip               1738 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.max_dchub_pscl_bw_pix_per_clk = dc->dcn_ip->max_dchub_topscl_throughput;
ip               1739 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.max_pscl_lb_bw_pix_per_clk = dc->dcn_ip->max_pscl_tolb_throughput;
ip               1740 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.max_lb_vscl_bw_pix_per_clk = dc->dcn_ip->max_lb_tovscl_throughput;
ip               1741 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.max_vscl_hscl_bw_pix_per_clk = dc->dcn_ip->max_vscl_tohscl_throughput;
ip               1742 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.max_hscl_ratio = dc->dcn_ip->max_hscl_ratio;
ip               1743 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.max_vscl_ratio = dc->dcn_ip->max_vscl_ratio;
ip               1744 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.max_hscl_taps = dc->dcn_ip->max_hscl_taps;
ip               1745 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.max_vscl_taps = dc->dcn_ip->max_vscl_taps;
ip               1747 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.dispclk_ramp_margin_percent = dc->dcn_ip->dispclk_ramping_margin;
ip               1748 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.underscan_factor = dc->dcn_ip->under_scan_factor;
ip               1749 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.max_inter_dcn_tile_repeaters = dc->dcn_ip->max_inter_dcn_tile_repeaters;
ip               1750 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.can_vstartup_lines_exceed_vsync_plus_back_porch_lines_minus_one =
ip               1752 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.bug_forcing_LC_req_same_size_fixed =
ip               1754 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	dc->dml.ip.dcfclk_cstate_latency = dc->dcn_ip->dcfclk_cstate_latency;
ip               1391 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 		dml->ip.max_num_dpp = 3;
ip               1522 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	dc->dml.ip.max_num_dpp = pool->base.pipe_count;
ip               2375 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	bool odm_capable = context->bw_ctx.dml.ip.odm_capable;
ip               2456 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.dml.ip.odm_capable = 0;
ip               2460 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.dml.ip.odm_capable = odm_capable;
ip                193 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c 	unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024;
ip                249 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c 	unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024;
ip                379 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c 	const unsigned int dpte_buf_in_pte_reqs = mode_lib->ip.dpte_buffer_size_in_pte_reqs_luma;
ip                381 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c 			mode_lib->ip.pde_proc_buffer_size_64k_reqs;
ip                793 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c 	unsigned int min_vblank = mode_lib->ip.min_vblank_lines;
ip               1004 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c 	dppclk_delay_subtotal = mode_lib->ip.dppclk_delay_subtotal;
ip               1005 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c 	dispclk_delay_subtotal = mode_lib->ip.dispclk_delay_subtotal;
ip               1008 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c 		dppclk_delay_subtotal += mode_lib->ip.dppclk_delay_scl;
ip               1010 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c 		dppclk_delay_subtotal += mode_lib->ip.dppclk_delay_scl_lb_only;
ip               1012 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c 	dppclk_delay_subtotal += mode_lib->ip.dppclk_delay_cnvc_formatter
ip               1013 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c 			+ src->num_cursors * mode_lib->ip.dppclk_delay_cnvc_cursor;
ip               1593 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c 	dlg_sys_param.t_srx_delay_us = mode_lib->ip.dcfclk_cstate_latency
ip                193 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c 	unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024;
ip                249 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c 	unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024;
ip                379 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c 	const unsigned int dpte_buf_in_pte_reqs = mode_lib->ip.dpte_buffer_size_in_pte_reqs_luma;
ip                381 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c 			mode_lib->ip.pde_proc_buffer_size_64k_reqs;
ip                793 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c 	unsigned int min_vblank = mode_lib->ip.min_vblank_lines;
ip               1004 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c 	dppclk_delay_subtotal = mode_lib->ip.dppclk_delay_subtotal;
ip               1005 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c 	dispclk_delay_subtotal = mode_lib->ip.dispclk_delay_subtotal;
ip               1008 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c 		dppclk_delay_subtotal += mode_lib->ip.dppclk_delay_scl;
ip               1010 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c 		dppclk_delay_subtotal += mode_lib->ip.dppclk_delay_scl_lb_only;
ip               1012 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c 	dppclk_delay_subtotal += mode_lib->ip.dppclk_delay_cnvc_formatter
ip               1013 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c 			+ src->num_cursors * mode_lib->ip.dppclk_delay_cnvc_cursor;
ip               1593 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c 	dlg_sys_param.t_srx_delay_us = mode_lib->ip.dcfclk_cstate_latency
ip                172 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c 	unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024;
ip                232 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c 	unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024;
ip                371 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c 		mode_lib->ip.dpte_buffer_size_in_pte_reqs_luma + mode_lib->ip.dpte_buffer_size_in_pte_reqs_chroma;
ip                373 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c 			mode_lib->ip.pde_proc_buffer_size_64k_reqs;
ip                840 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c 	unsigned int min_vblank = mode_lib->ip.min_vblank_lines;
ip               1044 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c 	dppclk_delay_subtotal = mode_lib->ip.dppclk_delay_subtotal;
ip               1045 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c 	dispclk_delay_subtotal = mode_lib->ip.dispclk_delay_subtotal;
ip               1048 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c 		dppclk_delay_subtotal += mode_lib->ip.dppclk_delay_scl;
ip               1050 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c 		dppclk_delay_subtotal += mode_lib->ip.dppclk_delay_scl_lb_only;
ip               1052 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c 	dppclk_delay_subtotal += mode_lib->ip.dppclk_delay_cnvc_formatter
ip               1053 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c 			+ src->num_cursors * mode_lib->ip.dppclk_delay_cnvc_cursor;
ip               1697 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c 	dlg_sys_param.t_srx_delay_us = mode_lib->ip.dcfclk_cstate_latency
ip                 70 drivers/gpu/drm/amd/display/dc/dml/display_mode_lib.c 	lib->ip = *ip_params;
ip                 70 drivers/gpu/drm/amd/display/dc/dml/display_mode_lib.h 	struct _vcs_dpi_ip_params_st ip;
ip                 58 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 			|| memcmp(&mode_lib->ip, &mode_lib->vba.ip, sizeof(mode_lib->vba.ip)) != 0
ip                 64 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.ip = mode_lib->ip;
ip                276 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	ip_params_st *ip = &mode_lib->vba.ip;
ip                279 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.MaxNumDPP = ip->max_num_dpp;
ip                280 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.MaxNumOTG = ip->max_num_otg;
ip                281 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.MaxNumHDMIFRLOutputs = ip->max_num_hdmi_frl_outputs;
ip                282 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.MaxNumWriteback = ip->max_num_wb;
ip                283 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.CursorChunkSize = ip->cursor_chunk_size;
ip                284 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.CursorBufferSize = ip->cursor_buffer_size;
ip                286 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.MaxDCHUBToPSCLThroughput = ip->max_dchub_pscl_bw_pix_per_clk;
ip                287 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.MaxPSCLToLBThroughput = ip->max_pscl_lb_bw_pix_per_clk;
ip                288 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.ROBBufferSizeInKByte = ip->rob_buffer_size_kbytes;
ip                289 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.DETBufferSizeInKByte = ip->det_buffer_size_kbytes;
ip                290 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.PixelChunkSizeInKByte = ip->pixel_chunk_size_kbytes;
ip                291 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.MetaChunkSize = ip->meta_chunk_size_kbytes;
ip                292 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.WritebackChunkSize = ip->writeback_chunk_size_kbytes;
ip                293 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.LineBufferSize = ip->line_buffer_size_bits;
ip                294 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.MaxLineBufferLines = ip->max_line_buffer_lines;
ip                295 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.PTEBufferSizeInRequestsLuma = ip->dpte_buffer_size_in_pte_reqs_luma;
ip                296 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.PTEBufferSizeInRequestsChroma = ip->dpte_buffer_size_in_pte_reqs_chroma;
ip                297 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.DPPOutputBufferPixels = ip->dpp_output_buffer_pixels;
ip                298 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.OPPOutputBufferLines = ip->opp_output_buffer_lines;
ip                299 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.MaxHSCLRatio = ip->max_hscl_ratio;
ip                300 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.MaxVSCLRatio = ip->max_vscl_ratio;
ip                301 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.WritebackInterfaceLumaBufferSize = ip->writeback_luma_buffer_size_kbytes * 1024;
ip                302 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.WritebackInterfaceChromaBufferSize = ip->writeback_chroma_buffer_size_kbytes * 1024;
ip                304 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.WritebackInterfaceBufferSize = ip->writeback_interface_buffer_size_kbytes;
ip                305 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.WritebackLineBufferSize = ip->writeback_line_buffer_buffer_size;
ip                310 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 			ip->writeback_chroma_line_buffer_width_pixels;
ip                312 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 			ip->writeback_line_buffer_luma_buffer_size;
ip                314 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 			ip->writeback_line_buffer_chroma_buffer_size;
ip                315 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.Writeback10bpc420Supported = ip->writeback_10bpc420_supported;
ip                316 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.WritebackMaxHSCLRatio = ip->writeback_max_hscl_ratio;
ip                317 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.WritebackMaxVSCLRatio = ip->writeback_max_vscl_ratio;
ip                318 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.WritebackMinHSCLRatio = ip->writeback_min_hscl_ratio;
ip                319 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.WritebackMinVSCLRatio = ip->writeback_min_vscl_ratio;
ip                320 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.WritebackMaxHSCLTaps = ip->writeback_max_hscl_taps;
ip                321 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.WritebackMaxVSCLTaps = ip->writeback_max_vscl_taps;
ip                323 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.GPUVMMaxPageTableLevels = ip->gpuvm_max_page_table_levels;
ip                324 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.HostVMMaxNonCachedPageTableLevels = ip->hostvm_max_page_table_levels;
ip                325 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.HostVMMaxPageTableLevels = ip->hostvm_max_page_table_levels;
ip                326 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.HostVMCachedPageTableLevels = ip->hostvm_cached_page_table_levels;
ip                327 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.MaxInterDCNTileRepeaters = ip->max_inter_dcn_tile_repeaters;
ip                328 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.NumberOfDSC = ip->num_dsc;
ip                329 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.ODMCapability = ip->odm_capable;
ip                330 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.DISPCLKRampingMargin = ip->dispclk_ramp_margin_percent;
ip                332 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.XFCSupported = ip->xfc_supported;
ip                333 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.XFCFillBWOverhead = ip->xfc_fill_bw_overhead_percent;
ip                334 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.XFCFillConstant = ip->xfc_fill_constant_bytes;
ip                335 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.DPPCLKDelaySubtotal = ip->dppclk_delay_subtotal;
ip                336 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.DPPCLKDelaySCL = ip->dppclk_delay_scl;
ip                337 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.DPPCLKDelaySCLLBOnly = ip->dppclk_delay_scl_lb_only;
ip                338 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.DPPCLKDelayCNVCFormater = ip->dppclk_delay_cnvc_formatter;
ip                339 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.DPPCLKDelayCNVCCursor = ip->dppclk_delay_cnvc_cursor;
ip                340 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.DISPCLKDelaySubtotal = ip->dispclk_delay_subtotal;
ip                341 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.DynamicMetadataVMEnabled = ip->dynamic_metadata_vm_enabled;
ip                342 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.ODMCombine4To1Supported = ip->odm_combine_4to1_supported;
ip                343 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.ProgressiveToInterlaceUnitInOPP = ip->ptoi_supported;
ip                344 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.PDEProcessingBufIn64KBReqs = ip->pde_proc_buffer_size_64k_reqs;
ip                345 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.PTEGroupSize = ip->pte_group_size_bytes;
ip                346 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.SupportGFX7CompatibleTilingIn32bppAnd64bpp = ip->gfx7_compat_tiling_supported;
ip                352 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	ip_params_st *ip = &mode_lib->vba.ip;
ip                407 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 		if (dst->interlaced && !ip->ptoi_supported) {
ip                419 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 						ip->dcc_supported : src->dcc && ip->dcc_supported;
ip                500 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 				&& ip->xfc_supported;
ip                508 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 		if (ip->is_line_buffer_bpp_fixed)
ip                510 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 					ip->line_buffer_fixed_bpp;
ip                674 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.GPUVMEnable = mode_lib->vba.GPUVMEnable && !!ip->gpuvm_enable;
ip                675 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 	mode_lib->vba.HostVMEnable = mode_lib->vba.HostVMEnable && !!ip->hostvm_enable;
ip                687 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 			|| memcmp(&mode_lib->ip, &mode_lib->vba.ip, sizeof(mode_lib->vba.ip)) != 0
ip                694 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c 		mode_lib->vba.ip = mode_lib->ip;
ip                121 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h 	ip_params_st ip;
ip                236 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c 	unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024;
ip                288 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c 	unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024;
ip                462 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c 	dpte_buf_in_pte_reqs = mode_lib->ip.dpte_buffer_size_in_pte_reqs_luma;
ip                779 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c 	dpte_buf_in_pte_reqs = mode_lib->ip.dpte_buffer_size_in_pte_reqs_luma;
ip                997 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c 	unsigned int min_vblank = mode_lib->ip.min_vblank_lines;
ip               1229 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c 	dppclk_delay_subtotal = mode_lib->ip.dppclk_delay_subtotal;
ip               1230 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c 	dispclk_delay_subtotal = mode_lib->ip.dispclk_delay_subtotal;
ip                111 drivers/gpu/drm/amd/include/discovery.h 		ip *ip_list;
ip                 11 drivers/gpu/drm/lima/lima_bcast.c #define bcast_write(reg, data) writel(data, ip->iomem + reg)
ip                 12 drivers/gpu/drm/lima/lima_bcast.c #define bcast_read(reg) readl(ip->iomem + reg)
ip                 17 drivers/gpu/drm/lima/lima_bcast.c 	struct lima_ip *ip = dev->ip + lima_ip_bcast;
ip                 29 drivers/gpu/drm/lima/lima_bcast.c int lima_bcast_init(struct lima_ip *ip)
ip                 34 drivers/gpu/drm/lima/lima_bcast.c 		if (ip->dev->ip[i].present)
ip                 43 drivers/gpu/drm/lima/lima_bcast.c void lima_bcast_fini(struct lima_ip *ip)
ip                  9 drivers/gpu/drm/lima/lima_bcast.h int lima_bcast_init(struct lima_ip *ip);
ip                 10 drivers/gpu/drm/lima/lima_bcast.h void lima_bcast_fini(struct lima_ip *ip);
ip                 26 drivers/gpu/drm/lima/lima_device.c 	int (*init)(struct lima_ip *ip);
ip                 27 drivers/gpu/drm/lima/lima_device.c 	void (*fini)(struct lima_ip *ip);
ip                 75 drivers/gpu/drm/lima/lima_device.c const char *lima_ip_name(struct lima_ip *ip)
ip                 77 drivers/gpu/drm/lima/lima_device.c 	return lima_ip_desc[ip->id].name;
ip                174 drivers/gpu/drm/lima/lima_device.c 	struct lima_ip *ip = dev->ip + index;
ip                182 drivers/gpu/drm/lima/lima_device.c 	ip->dev = dev;
ip                183 drivers/gpu/drm/lima/lima_device.c 	ip->id = index;
ip                184 drivers/gpu/drm/lima/lima_device.c 	ip->iomem = dev->iomem + offset;
ip                189 drivers/gpu/drm/lima/lima_device.c 		ip->irq = err;
ip                192 drivers/gpu/drm/lima/lima_device.c 	err = desc->init(ip);
ip                194 drivers/gpu/drm/lima/lima_device.c 		ip->present = true;
ip                205 drivers/gpu/drm/lima/lima_device.c 	struct lima_ip *ip = ldev->ip + index;
ip                207 drivers/gpu/drm/lima/lima_device.c 	if (ip->present)
ip                208 drivers/gpu/drm/lima/lima_device.c 		desc->fini(ip);
ip                220 drivers/gpu/drm/lima/lima_device.c 	pipe->l2_cache[pipe->num_l2_cache++] = dev->ip + lima_ip_l2_cache0;
ip                221 drivers/gpu/drm/lima/lima_device.c 	pipe->mmu[pipe->num_mmu++] = dev->ip + lima_ip_gpmmu;
ip                222 drivers/gpu/drm/lima/lima_device.c 	pipe->processor[pipe->num_processor++] = dev->ip + lima_ip_gp;
ip                251 drivers/gpu/drm/lima/lima_device.c 		struct lima_ip *pp = dev->ip + lima_ip_pp0 + i;
ip                252 drivers/gpu/drm/lima/lima_device.c 		struct lima_ip *ppmmu = dev->ip + lima_ip_ppmmu0 + i;
ip                256 drivers/gpu/drm/lima/lima_device.c 			l2_cache = dev->ip + lima_ip_l2_cache0;
ip                258 drivers/gpu/drm/lima/lima_device.c 			l2_cache = dev->ip + lima_ip_l2_cache1 + (i >> 2);
ip                268 drivers/gpu/drm/lima/lima_device.c 	if (dev->ip[lima_ip_bcast].present) {
ip                269 drivers/gpu/drm/lima/lima_device.c 		pipe->bcast_processor = dev->ip + lima_ip_pp_bcast;
ip                270 drivers/gpu/drm/lima/lima_device.c 		pipe->bcast_mmu = dev->ip + lima_ip_ppmmu_bcast;
ip                 88 drivers/gpu/drm/lima/lima_device.h 	struct lima_ip ip[lima_ip_num];
ip                108 drivers/gpu/drm/lima/lima_device.h const char *lima_ip_name(struct lima_ip *ip);
ip                112 drivers/gpu/drm/lima/lima_device.h static inline int lima_poll_timeout(struct lima_ip *ip, lima_poll_func_t func,
ip                119 drivers/gpu/drm/lima/lima_device.h 		if (func(ip))
ip                 12 drivers/gpu/drm/lima/lima_dlbu.c #define dlbu_write(reg, data) writel(data, ip->iomem + reg)
ip                 13 drivers/gpu/drm/lima/lima_dlbu.c #define dlbu_read(reg) readl(ip->iomem + reg)
ip                 18 drivers/gpu/drm/lima/lima_dlbu.c 	struct lima_ip *ip = dev->ip + lima_ip_dlbu;
ip                 32 drivers/gpu/drm/lima/lima_dlbu.c 	struct lima_ip *ip = dev->ip + lima_ip_dlbu;
ip                 37 drivers/gpu/drm/lima/lima_dlbu.c void lima_dlbu_set_reg(struct lima_ip *ip, u32 *reg)
ip                 45 drivers/gpu/drm/lima/lima_dlbu.c int lima_dlbu_init(struct lima_ip *ip)
ip                 47 drivers/gpu/drm/lima/lima_dlbu.c 	struct lima_device *dev = ip->dev;
ip                 55 drivers/gpu/drm/lima/lima_dlbu.c void lima_dlbu_fini(struct lima_ip *ip)
ip                 13 drivers/gpu/drm/lima/lima_dlbu.h void lima_dlbu_set_reg(struct lima_ip *ip, u32 *reg);
ip                 15 drivers/gpu/drm/lima/lima_dlbu.h int lima_dlbu_init(struct lima_ip *ip);
ip                 16 drivers/gpu/drm/lima/lima_dlbu.h void lima_dlbu_fini(struct lima_ip *ip);
ip                 15 drivers/gpu/drm/lima/lima_gp.c #define gp_write(reg, data) writel(data, ip->iomem + reg)
ip                 16 drivers/gpu/drm/lima/lima_gp.c #define gp_read(reg) readl(ip->iomem + reg)
ip                 20 drivers/gpu/drm/lima/lima_gp.c 	struct lima_ip *ip = data;
ip                 21 drivers/gpu/drm/lima/lima_gp.c 	struct lima_device *dev = ip->dev;
ip                 56 drivers/gpu/drm/lima/lima_gp.c static void lima_gp_soft_reset_async(struct lima_ip *ip)
ip                 58 drivers/gpu/drm/lima/lima_gp.c 	if (ip->data.async_reset)
ip                 64 drivers/gpu/drm/lima/lima_gp.c 	ip->data.async_reset = true;
ip                 67 drivers/gpu/drm/lima/lima_gp.c static int lima_gp_soft_reset_async_wait(struct lima_ip *ip)
ip                 69 drivers/gpu/drm/lima/lima_gp.c 	struct lima_device *dev = ip->dev;
ip                 73 drivers/gpu/drm/lima/lima_gp.c 	if (!ip->data.async_reset)
ip                 76 drivers/gpu/drm/lima/lima_gp.c 	err = readl_poll_timeout(ip->iomem + LIMA_GP_INT_RAWSTAT, v,
ip                 87 drivers/gpu/drm/lima/lima_gp.c 	ip->data.async_reset = false;
ip                118 drivers/gpu/drm/lima/lima_gp.c 	struct lima_ip *ip = pipe->processor[0];
ip                132 drivers/gpu/drm/lima/lima_gp.c 	lima_gp_soft_reset_async_wait(ip);
ip                135 drivers/gpu/drm/lima/lima_gp.c 		writel(f[i], ip->iomem + LIMA_GP_VSCL_START_ADDR + i * 4);
ip                141 drivers/gpu/drm/lima/lima_gp.c static int lima_gp_hard_reset_poll(struct lima_ip *ip)
ip                147 drivers/gpu/drm/lima/lima_gp.c static int lima_gp_hard_reset(struct lima_ip *ip)
ip                149 drivers/gpu/drm/lima/lima_gp.c 	struct lima_device *dev = ip->dev;
ip                155 drivers/gpu/drm/lima/lima_gp.c 	ret = lima_poll_timeout(ip, lima_gp_hard_reset_poll, 10, 100);
ip                174 drivers/gpu/drm/lima/lima_gp.c 	struct lima_ip *ip = pipe->processor[0];
ip                176 drivers/gpu/drm/lima/lima_gp.c 	dev_err(ip->dev->dev, "gp task error int_state=%x status=%x\n",
ip                179 drivers/gpu/drm/lima/lima_gp.c 	lima_gp_hard_reset(ip);
ip                187 drivers/gpu/drm/lima/lima_gp.c static void lima_gp_print_version(struct lima_ip *ip)
ip                212 drivers/gpu/drm/lima/lima_gp.c 	dev_info(ip->dev->dev, "%s - %s version major %d minor %d\n",
ip                213 drivers/gpu/drm/lima/lima_gp.c 		 lima_ip_name(ip), name, major, minor);
ip                219 drivers/gpu/drm/lima/lima_gp.c int lima_gp_init(struct lima_ip *ip)
ip                221 drivers/gpu/drm/lima/lima_gp.c 	struct lima_device *dev = ip->dev;
ip                224 drivers/gpu/drm/lima/lima_gp.c 	lima_gp_print_version(ip);
ip                226 drivers/gpu/drm/lima/lima_gp.c 	ip->data.async_reset = false;
ip                227 drivers/gpu/drm/lima/lima_gp.c 	lima_gp_soft_reset_async(ip);
ip                228 drivers/gpu/drm/lima/lima_gp.c 	err = lima_gp_soft_reset_async_wait(ip);
ip                232 drivers/gpu/drm/lima/lima_gp.c 	err = devm_request_irq(dev->dev, ip->irq, lima_gp_irq_handler,
ip                233 drivers/gpu/drm/lima/lima_gp.c 			       IRQF_SHARED, lima_ip_name(ip), ip);
ip                236 drivers/gpu/drm/lima/lima_gp.c 			lima_ip_name(ip));
ip                245 drivers/gpu/drm/lima/lima_gp.c void lima_gp_fini(struct lima_ip *ip)
ip                 10 drivers/gpu/drm/lima/lima_gp.h int lima_gp_init(struct lima_ip *ip);
ip                 11 drivers/gpu/drm/lima/lima_gp.h void lima_gp_fini(struct lima_ip *ip);
ip                 11 drivers/gpu/drm/lima/lima_l2_cache.c #define l2_cache_write(reg, data) writel(data, ip->iomem + reg)
ip                 12 drivers/gpu/drm/lima/lima_l2_cache.c #define l2_cache_read(reg) readl(ip->iomem + reg)
ip                 14 drivers/gpu/drm/lima/lima_l2_cache.c static int lima_l2_cache_wait_idle(struct lima_ip *ip)
ip                 16 drivers/gpu/drm/lima/lima_l2_cache.c 	struct lima_device *dev = ip->dev;
ip                 20 drivers/gpu/drm/lima/lima_l2_cache.c 	err = readl_poll_timeout(ip->iomem + LIMA_L2_CACHE_STATUS, v,
ip                 30 drivers/gpu/drm/lima/lima_l2_cache.c int lima_l2_cache_flush(struct lima_ip *ip)
ip                 34 drivers/gpu/drm/lima/lima_l2_cache.c 	spin_lock(&ip->data.lock);
ip                 36 drivers/gpu/drm/lima/lima_l2_cache.c 	ret = lima_l2_cache_wait_idle(ip);
ip                 37 drivers/gpu/drm/lima/lima_l2_cache.c 	spin_unlock(&ip->data.lock);
ip                 41 drivers/gpu/drm/lima/lima_l2_cache.c int lima_l2_cache_init(struct lima_ip *ip)
ip                 45 drivers/gpu/drm/lima/lima_l2_cache.c 	struct lima_device *dev = ip->dev;
ip                 48 drivers/gpu/drm/lima/lima_l2_cache.c 	if (ip->id == lima_ip_l2_cache2) {
ip                 50 drivers/gpu/drm/lima/lima_l2_cache.c 			if (dev->ip[i].present)
ip                 57 drivers/gpu/drm/lima/lima_l2_cache.c 	spin_lock_init(&ip->data.lock);
ip                 66 drivers/gpu/drm/lima/lima_l2_cache.c 	err = lima_l2_cache_flush(ip);
ip                 77 drivers/gpu/drm/lima/lima_l2_cache.c void lima_l2_cache_fini(struct lima_ip *ip)
ip                  9 drivers/gpu/drm/lima/lima_l2_cache.h int lima_l2_cache_init(struct lima_ip *ip);
ip                 10 drivers/gpu/drm/lima/lima_l2_cache.h void lima_l2_cache_fini(struct lima_ip *ip);
ip                 12 drivers/gpu/drm/lima/lima_l2_cache.h int lima_l2_cache_flush(struct lima_ip *ip);
ip                 14 drivers/gpu/drm/lima/lima_mmu.c #define mmu_write(reg, data) writel(data, ip->iomem + reg)
ip                 15 drivers/gpu/drm/lima/lima_mmu.c #define mmu_read(reg) readl(ip->iomem + reg)
ip                 22 drivers/gpu/drm/lima/lima_mmu.c 	__ret = readl_poll_timeout(ip->iomem + (addr), val,  \
ip                 32 drivers/gpu/drm/lima/lima_mmu.c 	struct lima_ip *ip = data;
ip                 33 drivers/gpu/drm/lima/lima_mmu.c 	struct lima_device *dev = ip->dev;
ip                 47 drivers/gpu/drm/lima/lima_mmu.c 			lima_ip_name(ip));
ip                 51 drivers/gpu/drm/lima/lima_mmu.c 		dev_err(dev->dev, "mmu %s irq bus error\n", lima_ip_name(ip));
ip                 57 drivers/gpu/drm/lima/lima_mmu.c 	pipe = dev->pipe + (ip->id == lima_ip_gpmmu ? lima_pipe_gp : lima_pipe_pp);
ip                 63 drivers/gpu/drm/lima/lima_mmu.c int lima_mmu_init(struct lima_ip *ip)
ip                 65 drivers/gpu/drm/lima/lima_mmu.c 	struct lima_device *dev = ip->dev;
ip                 69 drivers/gpu/drm/lima/lima_mmu.c 	if (ip->id == lima_ip_ppmmu_bcast)
ip                 74 drivers/gpu/drm/lima/lima_mmu.c 		dev_err(dev->dev, "mmu %s dte write test fail\n", lima_ip_name(ip));
ip                 84 drivers/gpu/drm/lima/lima_mmu.c 	err = devm_request_irq(dev->dev, ip->irq, lima_mmu_irq_handler,
ip                 85 drivers/gpu/drm/lima/lima_mmu.c 			       IRQF_SHARED, lima_ip_name(ip), ip);
ip                 87 drivers/gpu/drm/lima/lima_mmu.c 		dev_err(dev->dev, "mmu %s fail to request irq\n", lima_ip_name(ip));
ip                 98 drivers/gpu/drm/lima/lima_mmu.c void lima_mmu_fini(struct lima_ip *ip)
ip                103 drivers/gpu/drm/lima/lima_mmu.c void lima_mmu_switch_vm(struct lima_ip *ip, struct lima_vm *vm)
ip                105 drivers/gpu/drm/lima/lima_mmu.c 	struct lima_device *dev = ip->dev;
ip                123 drivers/gpu/drm/lima/lima_mmu.c void lima_mmu_page_fault_resume(struct lima_ip *ip)
ip                125 drivers/gpu/drm/lima/lima_mmu.c 	struct lima_device *dev = ip->dev;
ip                 10 drivers/gpu/drm/lima/lima_mmu.h int lima_mmu_init(struct lima_ip *ip);
ip                 11 drivers/gpu/drm/lima/lima_mmu.h void lima_mmu_fini(struct lima_ip *ip);
ip                 13 drivers/gpu/drm/lima/lima_mmu.h void lima_mmu_switch_vm(struct lima_ip *ip, struct lima_vm *vm);
ip                 14 drivers/gpu/drm/lima/lima_mmu.h void lima_mmu_page_fault_resume(struct lima_ip *ip);
ip                 11 drivers/gpu/drm/lima/lima_pmu.c #define pmu_write(reg, data) writel(data, ip->iomem + reg)
ip                 12 drivers/gpu/drm/lima/lima_pmu.c #define pmu_read(reg) readl(ip->iomem + reg)
ip                 14 drivers/gpu/drm/lima/lima_pmu.c static int lima_pmu_wait_cmd(struct lima_ip *ip)
ip                 16 drivers/gpu/drm/lima/lima_pmu.c 	struct lima_device *dev = ip->dev;
ip                 20 drivers/gpu/drm/lima/lima_pmu.c 	err = readl_poll_timeout(ip->iomem + LIMA_PMU_INT_RAWSTAT,
ip                 32 drivers/gpu/drm/lima/lima_pmu.c int lima_pmu_init(struct lima_ip *ip)
ip                 50 drivers/gpu/drm/lima/lima_pmu.c 		err = lima_pmu_wait_cmd(ip);
ip                 57 drivers/gpu/drm/lima/lima_pmu.c void lima_pmu_fini(struct lima_ip *ip)
ip                  9 drivers/gpu/drm/lima/lima_pmu.h int lima_pmu_init(struct lima_ip *ip);
ip                 10 drivers/gpu/drm/lima/lima_pmu.h void lima_pmu_fini(struct lima_ip *ip);
ip                 18 drivers/gpu/drm/lima/lima_pp.c #define pp_write(reg, data) writel(data, ip->iomem + reg)
ip                 19 drivers/gpu/drm/lima/lima_pp.c #define pp_read(reg) readl(ip->iomem + reg)
ip                 21 drivers/gpu/drm/lima/lima_pp.c static void lima_pp_handle_irq(struct lima_ip *ip, u32 state)
ip                 23 drivers/gpu/drm/lima/lima_pp.c 	struct lima_device *dev = ip->dev;
ip                 43 drivers/gpu/drm/lima/lima_pp.c 	struct lima_ip *ip = data;
ip                 44 drivers/gpu/drm/lima/lima_pp.c 	struct lima_device *dev = ip->dev;
ip                 52 drivers/gpu/drm/lima/lima_pp.c 	lima_pp_handle_irq(ip, state);
ip                 76 drivers/gpu/drm/lima/lima_pp.c 		struct lima_ip *ip = pipe->processor[i];
ip                 89 drivers/gpu/drm/lima/lima_pp.c 			lima_pp_handle_irq(ip, state);
ip                104 drivers/gpu/drm/lima/lima_pp.c static void lima_pp_soft_reset_async(struct lima_ip *ip)
ip                106 drivers/gpu/drm/lima/lima_pp.c 	if (ip->data.async_reset)
ip                112 drivers/gpu/drm/lima/lima_pp.c 	ip->data.async_reset = true;
ip                115 drivers/gpu/drm/lima/lima_pp.c static int lima_pp_soft_reset_poll(struct lima_ip *ip)
ip                121 drivers/gpu/drm/lima/lima_pp.c static int lima_pp_soft_reset_async_wait_one(struct lima_ip *ip)
ip                123 drivers/gpu/drm/lima/lima_pp.c 	struct lima_device *dev = ip->dev;
ip                126 drivers/gpu/drm/lima/lima_pp.c 	ret = lima_poll_timeout(ip, lima_pp_soft_reset_poll, 0, 100);
ip                128 drivers/gpu/drm/lima/lima_pp.c 		dev_err(dev->dev, "pp %s reset time out\n", lima_ip_name(ip));
ip                137 drivers/gpu/drm/lima/lima_pp.c static int lima_pp_soft_reset_async_wait(struct lima_ip *ip)
ip                141 drivers/gpu/drm/lima/lima_pp.c 	if (!ip->data.async_reset)
ip                144 drivers/gpu/drm/lima/lima_pp.c 	if (ip->id == lima_ip_pp_bcast) {
ip                145 drivers/gpu/drm/lima/lima_pp.c 		struct lima_device *dev = ip->dev;
ip                152 drivers/gpu/drm/lima/lima_pp.c 		err = lima_pp_soft_reset_async_wait_one(ip);
ip                154 drivers/gpu/drm/lima/lima_pp.c 	ip->data.async_reset = false;
ip                158 drivers/gpu/drm/lima/lima_pp.c static void lima_pp_write_frame(struct lima_ip *ip, u32 *frame, u32 *wb)
ip                163 drivers/gpu/drm/lima/lima_pp.c 		writel(frame[i], ip->iomem + LIMA_PP_FRAME + i * 4);
ip                167 drivers/gpu/drm/lima/lima_pp.c 			writel(wb[n++], ip->iomem + LIMA_PP_WB(i) + j * 4);
ip                171 drivers/gpu/drm/lima/lima_pp.c static int lima_pp_hard_reset_poll(struct lima_ip *ip)
ip                177 drivers/gpu/drm/lima/lima_pp.c static int lima_pp_hard_reset(struct lima_ip *ip)
ip                179 drivers/gpu/drm/lima/lima_pp.c 	struct lima_device *dev = ip->dev;
ip                185 drivers/gpu/drm/lima/lima_pp.c 	ret = lima_poll_timeout(ip, lima_pp_hard_reset_poll, 10, 100);
ip                197 drivers/gpu/drm/lima/lima_pp.c static void lima_pp_print_version(struct lima_ip *ip)
ip                222 drivers/gpu/drm/lima/lima_pp.c 	dev_info(ip->dev->dev, "%s - %s version major %d minor %d\n",
ip                223 drivers/gpu/drm/lima/lima_pp.c 		 lima_ip_name(ip), name, major, minor);
ip                226 drivers/gpu/drm/lima/lima_pp.c int lima_pp_init(struct lima_ip *ip)
ip                228 drivers/gpu/drm/lima/lima_pp.c 	struct lima_device *dev = ip->dev;
ip                231 drivers/gpu/drm/lima/lima_pp.c 	lima_pp_print_version(ip);
ip                233 drivers/gpu/drm/lima/lima_pp.c 	ip->data.async_reset = false;
ip                234 drivers/gpu/drm/lima/lima_pp.c 	lima_pp_soft_reset_async(ip);
ip                235 drivers/gpu/drm/lima/lima_pp.c 	err = lima_pp_soft_reset_async_wait(ip);
ip                239 drivers/gpu/drm/lima/lima_pp.c 	err = devm_request_irq(dev->dev, ip->irq, lima_pp_irq_handler,
ip                240 drivers/gpu/drm/lima/lima_pp.c 			       IRQF_SHARED, lima_ip_name(ip), ip);
ip                243 drivers/gpu/drm/lima/lima_pp.c 			lima_ip_name(ip));
ip                252 drivers/gpu/drm/lima/lima_pp.c void lima_pp_fini(struct lima_ip *ip)
ip                257 drivers/gpu/drm/lima/lima_pp.c int lima_pp_bcast_init(struct lima_ip *ip)
ip                259 drivers/gpu/drm/lima/lima_pp.c 	struct lima_device *dev = ip->dev;
ip                262 drivers/gpu/drm/lima/lima_pp.c 	err = devm_request_irq(dev->dev, ip->irq, lima_pp_bcast_irq_handler,
ip                263 drivers/gpu/drm/lima/lima_pp.c 			       IRQF_SHARED, lima_ip_name(ip), ip);
ip                266 drivers/gpu/drm/lima/lima_pp.c 			lima_ip_name(ip));
ip                273 drivers/gpu/drm/lima/lima_pp.c void lima_pp_bcast_fini(struct lima_ip *ip)
ip                308 drivers/gpu/drm/lima/lima_pp.c 		struct lima_ip *ip = pipe->bcast_processor;
ip                318 drivers/gpu/drm/lima/lima_pp.c 			lima_dlbu_set_reg(dev->ip + lima_ip_dlbu, frame->dlbu_regs);
ip                324 drivers/gpu/drm/lima/lima_pp.c 		lima_pp_soft_reset_async_wait(ip);
ip                326 drivers/gpu/drm/lima/lima_pp.c 		lima_pp_write_frame(ip, frame->frame, frame->wb);
ip                329 drivers/gpu/drm/lima/lima_pp.c 			struct lima_ip *ip = pipe->processor[i];
ip                344 drivers/gpu/drm/lima/lima_pp.c 			struct lima_ip *ip = pipe->processor[i];
ip                351 drivers/gpu/drm/lima/lima_pp.c 			lima_pp_soft_reset_async_wait(ip);
ip                353 drivers/gpu/drm/lima/lima_pp.c 			lima_pp_write_frame(ip, frame->frame, frame->wb);
ip                377 drivers/gpu/drm/lima/lima_pp.c 		struct lima_ip *ip = pipe->processor[i];
ip                379 drivers/gpu/drm/lima/lima_pp.c 		dev_err(ip->dev->dev, "pp task error %d int_state=%x status=%x\n",
ip                382 drivers/gpu/drm/lima/lima_pp.c 		lima_pp_hard_reset(ip);
ip                 10 drivers/gpu/drm/lima/lima_pp.h int lima_pp_init(struct lima_ip *ip);
ip                 11 drivers/gpu/drm/lima/lima_pp.h void lima_pp_fini(struct lima_ip *ip);
ip                 13 drivers/gpu/drm/lima/lima_pp.h int lima_pp_bcast_init(struct lima_ip *ip);
ip                 14 drivers/gpu/drm/lima/lima_pp.h void lima_pp_bcast_fini(struct lima_ip *ip);
ip                 89 drivers/gpu/drm/nouveau/nouveau_dma.c 	int ip = (chan->dma.ib_put * 2) + chan->dma.ib_base;
ip                 93 drivers/gpu/drm/nouveau/nouveau_dma.c 	nouveau_bo_wr32(pb, ip++, lower_32_bits(offset));
ip                 94 drivers/gpu/drm/nouveau/nouveau_dma.c 	nouveau_bo_wr32(pb, ip++, upper_32_bits(offset) | length << 8);
ip                 81 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv40.h 	int ip = 0;
ip                 84 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv40.h 		ip = ctx->ctxprog_label[name] << CP_BRA_IP_SHIFT;
ip                 85 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv40.h 		if (ip == 0)
ip                 86 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv40.h 			ip = 0xff000000 | (name << CP_BRA_IP_SHIFT);
ip                 89 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv40.h 	cp_out(ctx, CP_BRA | (mod << 18) | ip | flag |
ip                 51 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	uint32_t ip;
ip                187 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	uint64_t inst = validation_state->shader[validation_state->ip];
ip                311 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	uint64_t inst = validation_state->shader[validation_state->ip];
ip                390 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	uint64_t inst = validation_state->shader[validation_state->ip];
ip                481 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	uint64_t inst = validation_state->shader[validation_state->ip];
ip                556 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	uint64_t inst = validation_state->shader[validation_state->ip];
ip                578 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	     int ip)
ip                592 drivers/gpu/drm/vc4/vc4_validate_shaders.c 			  validation_state->ip);
ip                603 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	uint64_t inst = validation_state->shader[validation_state->ip];
ip                638 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	int ip;
ip                641 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	for (ip = 0; ip < validation_state->max_ip; ip++) {
ip                642 drivers/gpu/drm/vc4/vc4_validate_shaders.c 		uint64_t inst = validation_state->shader[ip];
ip                645 drivers/gpu/drm/vc4/vc4_validate_shaders.c 		uint32_t after_delay_ip = ip + 4;
ip                655 drivers/gpu/drm/vc4/vc4_validate_shaders.c 			validation_state->max_ip = ip + 3;
ip                662 drivers/gpu/drm/vc4/vc4_validate_shaders.c 		if (ip - last_branch < 4) {
ip                663 drivers/gpu/drm/vc4/vc4_validate_shaders.c 			DRM_DEBUG("Branch at %d during delay slots\n", ip);
ip                666 drivers/gpu/drm/vc4/vc4_validate_shaders.c 		last_branch = ip;
ip                692 drivers/gpu/drm/vc4/vc4_validate_shaders.c 				  ip, branch_target_ip,
ip                704 drivers/gpu/drm/vc4/vc4_validate_shaders.c 				  ip, after_delay_ip, validation_state->max_ip);
ip                747 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	uint32_t ip = validation_state->ip;
ip                749 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	if (!test_bit(ip, validation_state->branch_targets))
ip                784 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	uint32_t ip;
ip                807 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	for (ip = 0; ip < validation_state.max_ip; ip++) {
ip                808 drivers/gpu/drm/vc4/vc4_validate_shaders.c 		uint64_t inst = validation_state.shader[ip];
ip                811 drivers/gpu/drm/vc4/vc4_validate_shaders.c 		validation_state.ip = ip;
ip                816 drivers/gpu/drm/vc4/vc4_validate_shaders.c 		if (ip == last_thread_switch_ip + 3) {
ip                840 drivers/gpu/drm/vc4/vc4_validate_shaders.c 				DRM_DEBUG("Bad write at ip %d\n", ip);
ip                850 drivers/gpu/drm/vc4/vc4_validate_shaders.c 				shader_end_ip = ip;
ip                857 drivers/gpu/drm/vc4/vc4_validate_shaders.c 				if (ip < last_thread_switch_ip + 3) {
ip                859 drivers/gpu/drm/vc4/vc4_validate_shaders.c 						  "last switch at ip %d\n", ip);
ip                862 drivers/gpu/drm/vc4/vc4_validate_shaders.c 				last_thread_switch_ip = ip;
ip                870 drivers/gpu/drm/vc4/vc4_validate_shaders.c 				DRM_DEBUG("Bad LOAD_IMM write at ip %d\n", ip);
ip                877 drivers/gpu/drm/vc4/vc4_validate_shaders.c 					  &validation_state, ip))
ip                880 drivers/gpu/drm/vc4/vc4_validate_shaders.c 			if (ip < last_thread_switch_ip + 3) {
ip                882 drivers/gpu/drm/vc4/vc4_validate_shaders.c 					  ip);
ip                889 drivers/gpu/drm/vc4/vc4_validate_shaders.c 				  "instruction %d\n", sig, ip);
ip                896 drivers/gpu/drm/vc4/vc4_validate_shaders.c 		if (found_shader_end && ip == shader_end_ip + 2)
ip                900 drivers/gpu/drm/vc4/vc4_validate_shaders.c 	if (ip == validation_state.max_ip) {
ip               1588 drivers/iio/industrialio-core.c 	int __user *ip = (int __user *)arg;
ip               1598 drivers/iio/industrialio-core.c 		if (copy_to_user(ip, &fd, sizeof(fd)))
ip                337 drivers/infiniband/core/roce_gid_mgmt.c 		struct sockaddr_in	ip;
ip                359 drivers/infiniband/core/roce_gid_mgmt.c 		entry->ip.sin_family = AF_INET;
ip                360 drivers/infiniband/core/roce_gid_mgmt.c 		entry->ip.sin_addr.s_addr = ifa->ifa_address;
ip                368 drivers/infiniband/core/roce_gid_mgmt.c 			      (struct sockaddr *)&sin_iter->ip);
ip                 69 drivers/infiniband/hw/i40iw/i40iw_utils.c 	u32 ip[4];
ip                 72 drivers/infiniband/hw/i40iw/i40iw_utils.c 		memset(ip, 0, sizeof(ip));
ip                 73 drivers/infiniband/hw/i40iw/i40iw_utils.c 		ip[0] = *ip_addr;
ip                 75 drivers/infiniband/hw/i40iw/i40iw_utils.c 		memcpy(ip, ip_addr, sizeof(ip));
ip                 79 drivers/infiniband/hw/i40iw/i40iw_utils.c 		if (memcmp(iwdev->arp_table[arp_index].ip_addr, ip, sizeof(ip)) == 0)
ip                 95 drivers/infiniband/hw/i40iw/i40iw_utils.c 		memcpy(iwdev->arp_table[arp_index].ip_addr, ip, sizeof(ip));
ip                116 drivers/infiniband/hw/qib/qib_eeprom.c 	u8 *ip = (u8 *) ifp;
ip                128 drivers/infiniband/hw/qib/qib_eeprom.c 		csum += *ip++;
ip                 80 drivers/infiniband/sw/rdmavt/cq.c 	if (cq->ip) {
ip                250 drivers/infiniband/sw/rdmavt/cq.c 		cq->ip = rvt_create_mmap_info(rdi, sz, udata, u_wc);
ip                251 drivers/infiniband/sw/rdmavt/cq.c 		if (IS_ERR(cq->ip)) {
ip                252 drivers/infiniband/sw/rdmavt/cq.c 			err = PTR_ERR(cq->ip);
ip                256 drivers/infiniband/sw/rdmavt/cq.c 		err = ib_copy_to_udata(udata, &cq->ip->offset,
ip                257 drivers/infiniband/sw/rdmavt/cq.c 				       sizeof(cq->ip->offset));
ip                272 drivers/infiniband/sw/rdmavt/cq.c 	if (cq->ip) {
ip                274 drivers/infiniband/sw/rdmavt/cq.c 		list_add(&cq->ip->pending_mmaps, &rdi->pending_mmaps);
ip                304 drivers/infiniband/sw/rdmavt/cq.c 	kfree(cq->ip);
ip                327 drivers/infiniband/sw/rdmavt/cq.c 	if (cq->ip)
ip                328 drivers/infiniband/sw/rdmavt/cq.c 		kref_put(&cq->ip->ref, rvt_release_mmap_info);
ip                473 drivers/infiniband/sw/rdmavt/cq.c 	if (cq->ip) {
ip                474 drivers/infiniband/sw/rdmavt/cq.c 		struct rvt_mmap_info *ip = cq->ip;
ip                476 drivers/infiniband/sw/rdmavt/cq.c 		rvt_update_mmap_info(rdi, ip, sz, u_wc);
ip                483 drivers/infiniband/sw/rdmavt/cq.c 			ret = ib_copy_to_udata(udata, &ip->offset,
ip                484 drivers/infiniband/sw/rdmavt/cq.c 					       sizeof(ip->offset));
ip                490 drivers/infiniband/sw/rdmavt/cq.c 		if (list_empty(&ip->pending_mmaps))
ip                491 drivers/infiniband/sw/rdmavt/cq.c 			list_add(&ip->pending_mmaps, &rdi->pending_mmaps);
ip                526 drivers/infiniband/sw/rdmavt/cq.c 	if (cq->ip)
ip                 73 drivers/infiniband/sw/rdmavt/mmap.c 	struct rvt_mmap_info *ip =
ip                 75 drivers/infiniband/sw/rdmavt/mmap.c 	struct rvt_dev_info *rdi = ib_to_rvt(ip->context->device);
ip                 78 drivers/infiniband/sw/rdmavt/mmap.c 	list_del(&ip->pending_mmaps);
ip                 81 drivers/infiniband/sw/rdmavt/mmap.c 	vfree(ip->obj);
ip                 82 drivers/infiniband/sw/rdmavt/mmap.c 	kfree(ip);
ip                 87 drivers/infiniband/sw/rdmavt/mmap.c 	struct rvt_mmap_info *ip = vma->vm_private_data;
ip                 89 drivers/infiniband/sw/rdmavt/mmap.c 	kref_get(&ip->ref);
ip                 94 drivers/infiniband/sw/rdmavt/mmap.c 	struct rvt_mmap_info *ip = vma->vm_private_data;
ip                 96 drivers/infiniband/sw/rdmavt/mmap.c 	kref_put(&ip->ref, rvt_release_mmap_info);
ip                116 drivers/infiniband/sw/rdmavt/mmap.c 	struct rvt_mmap_info *ip, *pp;
ip                125 drivers/infiniband/sw/rdmavt/mmap.c 	list_for_each_entry_safe(ip, pp, &rdi->pending_mmaps,
ip                128 drivers/infiniband/sw/rdmavt/mmap.c 		if (context != ip->context || (__u64)offset != ip->offset)
ip                131 drivers/infiniband/sw/rdmavt/mmap.c 		if (size > ip->size)
ip                134 drivers/infiniband/sw/rdmavt/mmap.c 		list_del_init(&ip->pending_mmaps);
ip                137 drivers/infiniband/sw/rdmavt/mmap.c 		ret = remap_vmalloc_range(vma, ip->obj, 0);
ip                141 drivers/infiniband/sw/rdmavt/mmap.c 		vma->vm_private_data = ip;
ip                162 drivers/infiniband/sw/rdmavt/mmap.c 	struct rvt_mmap_info *ip;
ip                167 drivers/infiniband/sw/rdmavt/mmap.c 	ip = kmalloc_node(sizeof(*ip), GFP_KERNEL, rdi->dparms.node);
ip                168 drivers/infiniband/sw/rdmavt/mmap.c 	if (!ip)
ip                176 drivers/infiniband/sw/rdmavt/mmap.c 	ip->offset = rdi->mmap_offset;
ip                180 drivers/infiniband/sw/rdmavt/mmap.c 	INIT_LIST_HEAD(&ip->pending_mmaps);
ip                181 drivers/infiniband/sw/rdmavt/mmap.c 	ip->size = size;
ip                182 drivers/infiniband/sw/rdmavt/mmap.c 	ip->context =
ip                185 drivers/infiniband/sw/rdmavt/mmap.c 	ip->obj = obj;
ip                186 drivers/infiniband/sw/rdmavt/mmap.c 	kref_init(&ip->ref);
ip                188 drivers/infiniband/sw/rdmavt/mmap.c 	return ip;
ip                198 drivers/infiniband/sw/rdmavt/mmap.c void rvt_update_mmap_info(struct rvt_dev_info *rdi, struct rvt_mmap_info *ip,
ip                206 drivers/infiniband/sw/rdmavt/mmap.c 	ip->offset = rdi->mmap_offset;
ip                210 drivers/infiniband/sw/rdmavt/mmap.c 	ip->size = size;
ip                211 drivers/infiniband/sw/rdmavt/mmap.c 	ip->obj = obj;
ip                 58 drivers/infiniband/sw/rdmavt/mmap.h void rvt_update_mmap_info(struct rvt_dev_info *rdi, struct rvt_mmap_info *ip,
ip               1245 drivers/infiniband/sw/rdmavt/qp.c 			qp->ip = rvt_create_mmap_info(rdi, s, udata,
ip               1247 drivers/infiniband/sw/rdmavt/qp.c 			if (IS_ERR(qp->ip)) {
ip               1248 drivers/infiniband/sw/rdmavt/qp.c 				ret = ERR_CAST(qp->ip);
ip               1252 drivers/infiniband/sw/rdmavt/qp.c 			err = ib_copy_to_udata(udata, &qp->ip->offset,
ip               1253 drivers/infiniband/sw/rdmavt/qp.c 					       sizeof(qp->ip->offset));
ip               1285 drivers/infiniband/sw/rdmavt/qp.c 	if (qp->ip) {
ip               1287 drivers/infiniband/sw/rdmavt/qp.c 		list_add(&qp->ip->pending_mmaps, &rdi->pending_mmaps);
ip               1296 drivers/infiniband/sw/rdmavt/qp.c 	if (qp->ip)
ip               1297 drivers/infiniband/sw/rdmavt/qp.c 		kref_put(&qp->ip->ref, rvt_release_mmap_info);
ip               1378 drivers/infiniband/sw/rdmavt/qp.c 		if (qp->ip) {
ip               1398 drivers/infiniband/sw/rdmavt/qp.c 		if (qp->ip)
ip               1736 drivers/infiniband/sw/rdmavt/qp.c 	if (qp->ip)
ip               1737 drivers/infiniband/sw/rdmavt/qp.c 		kref_put(&qp->ip->ref, rvt_release_mmap_info);
ip               2385 drivers/infiniband/sw/rdmavt/qp.c static inline u32 get_rvt_head(struct rvt_rq *rq, void *ip)
ip               2389 drivers/infiniband/sw/rdmavt/qp.c 	if (ip)
ip               2419 drivers/infiniband/sw/rdmavt/qp.c 	void *ip = NULL;
ip               2425 drivers/infiniband/sw/rdmavt/qp.c 		ip = srq->ip;
ip               2430 drivers/infiniband/sw/rdmavt/qp.c 		ip = qp->ip;
ip               2439 drivers/infiniband/sw/rdmavt/qp.c 	if (ip) {
ip               2451 drivers/infiniband/sw/rdmavt/qp.c 		head = get_rvt_head(rq, ip);
ip               2468 drivers/infiniband/sw/rdmavt/qp.c 	if (ip)
ip               2487 drivers/infiniband/sw/rdmavt/qp.c 			kwq->count = get_count(rq, tail, get_rvt_head(rq, ip));
ip                113 drivers/infiniband/sw/rdmavt/rc.c 			if (qp->ip) {
ip                113 drivers/infiniband/sw/rdmavt/srq.c 		srq->ip = rvt_create_mmap_info(dev, s, udata, srq->rq.wq);
ip                114 drivers/infiniband/sw/rdmavt/srq.c 		if (IS_ERR(srq->ip)) {
ip                115 drivers/infiniband/sw/rdmavt/srq.c 			ret = PTR_ERR(srq->ip);
ip                119 drivers/infiniband/sw/rdmavt/srq.c 		ret = ib_copy_to_udata(udata, &srq->ip->offset,
ip                120 drivers/infiniband/sw/rdmavt/srq.c 				       sizeof(srq->ip->offset));
ip                141 drivers/infiniband/sw/rdmavt/srq.c 	if (srq->ip) {
ip                143 drivers/infiniband/sw/rdmavt/srq.c 		list_add(&srq->ip->pending_mmaps, &dev->pending_mmaps);
ip                150 drivers/infiniband/sw/rdmavt/srq.c 	kfree(srq->ip);
ip                269 drivers/infiniband/sw/rdmavt/srq.c 		if (srq->ip) {
ip                270 drivers/infiniband/sw/rdmavt/srq.c 			struct rvt_mmap_info *ip = srq->ip;
ip                274 drivers/infiniband/sw/rdmavt/srq.c 			rvt_update_mmap_info(dev, ip, s, tmp_rq.wq);
ip                281 drivers/infiniband/sw/rdmavt/srq.c 				ret = ib_copy_to_udata(udata, &ip->offset,
ip                282 drivers/infiniband/sw/rdmavt/srq.c 						       sizeof(ip->offset));
ip                292 drivers/infiniband/sw/rdmavt/srq.c 			if (list_empty(&ip->pending_mmaps))
ip                293 drivers/infiniband/sw/rdmavt/srq.c 				list_add(&ip->pending_mmaps,
ip                343 drivers/infiniband/sw/rdmavt/srq.c 	if (srq->ip)
ip                344 drivers/infiniband/sw/rdmavt/srq.c 		kref_put(&srq->ip->ref, rvt_release_mmap_info);
ip                 82 drivers/infiniband/sw/rdmavt/trace_cq.h 				     __field(struct rvt_mmap_info *, ip)
ip                 89 drivers/infiniband/sw/rdmavt/trace_cq.h 				   __entry->ip = cq->ip;
ip                 97 drivers/infiniband/sw/rdmavt/trace_cq.h 			      __entry->ip ? "true" : "false", __entry->cqe,
ip                 98 drivers/infiniband/sw/rxe/rxe_cq.c 			   cq->queue->buf, cq->queue->buf_size, &cq->queue->ip);
ip                 47 drivers/infiniband/sw/rxe/rxe_mmap.c 	struct rxe_mmap_info *ip = container_of(ref,
ip                 49 drivers/infiniband/sw/rxe/rxe_mmap.c 	struct rxe_dev *rxe = to_rdev(ip->context->device);
ip                 53 drivers/infiniband/sw/rxe/rxe_mmap.c 	if (!list_empty(&ip->pending_mmaps))
ip                 54 drivers/infiniband/sw/rxe/rxe_mmap.c 		list_del(&ip->pending_mmaps);
ip                 58 drivers/infiniband/sw/rxe/rxe_mmap.c 	vfree(ip->obj);		/* buf */
ip                 59 drivers/infiniband/sw/rxe/rxe_mmap.c 	kfree(ip);
ip                 68 drivers/infiniband/sw/rxe/rxe_mmap.c 	struct rxe_mmap_info *ip = vma->vm_private_data;
ip                 70 drivers/infiniband/sw/rxe/rxe_mmap.c 	kref_get(&ip->ref);
ip                 75 drivers/infiniband/sw/rxe/rxe_mmap.c 	struct rxe_mmap_info *ip = vma->vm_private_data;
ip                 77 drivers/infiniband/sw/rxe/rxe_mmap.c 	kref_put(&ip->ref, rxe_mmap_release);
ip                 96 drivers/infiniband/sw/rxe/rxe_mmap.c 	struct rxe_mmap_info *ip, *pp;
ip                105 drivers/infiniband/sw/rxe/rxe_mmap.c 	list_for_each_entry_safe(ip, pp, &rxe->pending_mmaps, pending_mmaps) {
ip                106 drivers/infiniband/sw/rxe/rxe_mmap.c 		if (context != ip->context || (__u64)offset != ip->info.offset)
ip                110 drivers/infiniband/sw/rxe/rxe_mmap.c 		if (size > ip->info.size) {
ip                125 drivers/infiniband/sw/rxe/rxe_mmap.c 	list_del_init(&ip->pending_mmaps);
ip                128 drivers/infiniband/sw/rxe/rxe_mmap.c 	ret = remap_vmalloc_range(vma, ip->obj, 0);
ip                135 drivers/infiniband/sw/rxe/rxe_mmap.c 	vma->vm_private_data = ip;
ip                147 drivers/infiniband/sw/rxe/rxe_mmap.c 	struct rxe_mmap_info *ip;
ip                152 drivers/infiniband/sw/rxe/rxe_mmap.c 	ip = kmalloc(sizeof(*ip), GFP_KERNEL);
ip                153 drivers/infiniband/sw/rxe/rxe_mmap.c 	if (!ip)
ip                163 drivers/infiniband/sw/rxe/rxe_mmap.c 	ip->info.offset = rxe->mmap_offset;
ip                168 drivers/infiniband/sw/rxe/rxe_mmap.c 	INIT_LIST_HEAD(&ip->pending_mmaps);
ip                169 drivers/infiniband/sw/rxe/rxe_mmap.c 	ip->info.size = size;
ip                170 drivers/infiniband/sw/rxe/rxe_mmap.c 	ip->context =
ip                173 drivers/infiniband/sw/rxe/rxe_mmap.c 	ip->obj = obj;
ip                174 drivers/infiniband/sw/rxe/rxe_mmap.c 	kref_init(&ip->ref);
ip                176 drivers/infiniband/sw/rxe/rxe_mmap.c 	return ip;
ip                258 drivers/infiniband/sw/rxe/rxe_qp.c 			   &qp->sq.queue->ip);
ip                312 drivers/infiniband/sw/rxe/rxe_qp.c 				   &qp->rq.queue->ip);
ip                 44 drivers/infiniband/sw/rxe/rxe_queue.c 	struct rxe_mmap_info *ip = NULL;
ip                 47 drivers/infiniband/sw/rxe/rxe_queue.c 		ip = rxe_create_mmap_info(rxe, buf_size, udata, buf);
ip                 48 drivers/infiniband/sw/rxe/rxe_queue.c 		if (IS_ERR(ip)) {
ip                 49 drivers/infiniband/sw/rxe/rxe_queue.c 			err = PTR_ERR(ip);
ip                 53 drivers/infiniband/sw/rxe/rxe_queue.c 		if (copy_to_user(outbuf, &ip->info, sizeof(ip->info))) {
ip                 59 drivers/infiniband/sw/rxe/rxe_queue.c 		list_add(&ip->pending_mmaps, &rxe->pending_mmaps);
ip                 63 drivers/infiniband/sw/rxe/rxe_queue.c 	*ip_p = ip;
ip                 68 drivers/infiniband/sw/rxe/rxe_queue.c 	kfree(ip);
ip                171 drivers/infiniband/sw/rxe/rxe_queue.c 			   new_q->buf_size, &new_q->ip);
ip                203 drivers/infiniband/sw/rxe/rxe_queue.c 	if (q->ip)
ip                204 drivers/infiniband/sw/rxe/rxe_queue.c 		kref_put(&q->ip->ref, rxe_mmap_release);
ip                 72 drivers/infiniband/sw/rxe/rxe_queue.h 	struct rxe_mmap_info	*ip;
ip                131 drivers/infiniband/sw/rxe/rxe_srq.c 			   q->buf_size, &q->ip);
ip                807 drivers/input/evdev.c 	int __user *ip = (int __user *)p;
ip                818 drivers/input/evdev.c 	if (put_user(ke.keycode, ip + 1))
ip                848 drivers/input/evdev.c 	int __user *ip = (int __user *)p;
ip                853 drivers/input/evdev.c 	if (get_user(ke.keycode, ip + 1))
ip                920 drivers/input/evdev.c 				   int __user *ip)
ip                927 drivers/input/evdev.c 	if (get_user(code, &ip[0]))
ip                935 drivers/input/evdev.c 		if (put_user(value, &ip[1 + i]))
ip               1037 drivers/input/evdev.c 	int __user *ip = (int __user *)p;
ip               1046 drivers/input/evdev.c 		return put_user(EV_VERSION, ip);
ip               1056 drivers/input/evdev.c 		if (put_user(dev->rep[REP_DELAY], ip))
ip               1058 drivers/input/evdev.c 		if (put_user(dev->rep[REP_PERIOD], ip + 1))
ip               1065 drivers/input/evdev.c 		if (get_user(u, ip))
ip               1067 drivers/input/evdev.c 		if (get_user(v, ip + 1))
ip               1081 drivers/input/evdev.c 		if (put_user(i, ip))
ip               1151 drivers/input/evdev.c 		return evdev_handle_mt_request(dev, size, ip);
ip                 61 drivers/ipack/devices/scc2698.h 		u8 dd, ip;   /* Input port register of block */
ip                 48 drivers/isdn/hardware/mISDN/ipac.h 	struct ipac_hw		*ip;
ip                 28 drivers/isdn/hardware/mISDN/mISDNipac.c #define ReadHSCX(h, o)		(h->ip->read_reg(h->ip->hw, h->off + o))
ip                 29 drivers/isdn/hardware/mISDN/mISDNipac.c #define WriteHSCX(h, o, v)	(h->ip->write_reg(h->ip->hw, h->off + o, v))
ip                 30 drivers/isdn/hardware/mISDN/mISDNipac.c #define ReadIPAC(ip, o)		(ip->read_reg(ip->hw, o))
ip                 31 drivers/isdn/hardware/mISDN/mISDNipac.c #define WriteIPAC(ip, o, v)	(ip->write_reg(ip->hw, o, v))
ip                885 drivers/isdn/hardware/mISDN/mISDNipac.c 		pr_debug("%s: B%1d CEC %d us\n", hx->ip->name, hx->bch.nr,
ip                888 drivers/isdn/hardware/mISDN/mISDNipac.c 		pr_info("%s: B%1d CEC timeout\n", hx->ip->name, hx->bch.nr);
ip                905 drivers/isdn/hardware/mISDN/mISDNipac.c 		pr_debug("%s: B%1d XFW %d us\n", hx->ip->name, hx->bch.nr,
ip                908 drivers/isdn/hardware/mISDN/mISDNipac.c 		pr_info("%s: B%1d XFW timeout\n", hx->ip->name, hx->bch.nr);
ip                914 drivers/isdn/hardware/mISDN/mISDNipac.c 	if (hx->ip->type & IPAC_TYPE_IPACX)
ip                928 drivers/isdn/hardware/mISDN/mISDNipac.c 	pr_debug("%s: B%1d %d\n", hscx->ip->name, hscx->bch.nr, count);
ip                940 drivers/isdn/hardware/mISDN/mISDNipac.c 			   hscx->ip->name, hscx->bch.nr, count);
ip                945 drivers/isdn/hardware/mISDN/mISDNipac.c 	if (hscx->ip->type & IPAC_TYPE_IPACX)
ip                946 drivers/isdn/hardware/mISDN/mISDNipac.c 		hscx->ip->read_fifo(hscx->ip->hw,
ip                949 drivers/isdn/hardware/mISDN/mISDNipac.c 		hscx->ip->read_fifo(hscx->ip->hw,
ip                956 drivers/isdn/hardware/mISDN/mISDNipac.c 			 hscx->bch.nr, hscx->ip->name, count);
ip                985 drivers/isdn/hardware/mISDN/mISDNipac.c 		pr_debug("%s: B%1d %d/%d/%d\n", hscx->ip->name, hscx->bch.nr,
ip                989 drivers/isdn/hardware/mISDN/mISDNipac.c 	if (hscx->ip->type & IPAC_TYPE_IPACX)
ip                990 drivers/isdn/hardware/mISDN/mISDNipac.c 		hscx->ip->write_fifo(hscx->ip->hw,
ip                994 drivers/isdn/hardware/mISDN/mISDNipac.c 		hscx->ip->write_fifo(hscx->ip->hw,
ip               1001 drivers/isdn/hardware/mISDN/mISDNipac.c 			 hscx->bch.nr, hscx->ip->name, count);
ip               1028 drivers/isdn/hardware/mISDN/mISDNipac.c 	if (hx->ip->type & IPAC_TYPE_IPACX)
ip               1032 drivers/isdn/hardware/mISDN/mISDNipac.c 	pr_debug("%s: B%1d RSTAB %02x\n", hx->ip->name, hx->bch.nr, rstab);
ip               1038 drivers/isdn/hardware/mISDN/mISDNipac.c 					  hx->ip->name, hx->bch.nr);
ip               1043 drivers/isdn/hardware/mISDN/mISDNipac.c 					  hx->ip->name, hx->bch.nr,
ip               1049 drivers/isdn/hardware/mISDN/mISDNipac.c 					  hx->ip->name, hx->bch.nr);
ip               1054 drivers/isdn/hardware/mISDN/mISDNipac.c 	if (hx->ip->type & IPAC_TYPE_IPACX)
ip               1066 drivers/isdn/hardware/mISDN/mISDNipac.c 			 hx->ip->name, hx->bch.nr, hx->bch.rx_skb->len);
ip               1079 drivers/isdn/hardware/mISDN/mISDNipac.c 	if (hx->ip->type & IPAC_TYPE_IPACX)
ip               1081 drivers/isdn/hardware/mISDN/mISDNipac.c 	else if (hx->ip->type & IPAC_TYPE_IPAC) {
ip               1086 drivers/isdn/hardware/mISDN/mISDNipac.c 			pr_debug("%s: B%1d EXIRB %02x\n", hx->ip->name,
ip               1091 drivers/isdn/hardware/mISDN/mISDNipac.c 			ipac_irq(&hx->ip->hscx[0], ista);
ip               1094 drivers/isdn/hardware/mISDN/mISDNipac.c 			pr_debug("%s: B%1d EXIRB %02x\n", hx->ip->name,
ip               1102 drivers/isdn/hardware/mISDN/mISDNipac.c 			pr_debug("%s: B%1d EXIRB %02x\n", hx->ip->name,
ip               1111 drivers/isdn/hardware/mISDN/mISDNipac.c 	pr_debug("%s: B%1d ISTAB %02x\n", hx->ip->name, hx->bch.nr, istab);
ip               1126 drivers/isdn/hardware/mISDN/mISDNipac.c 		pr_debug("%s: B%1d RFO error\n", hx->ip->name, hx->bch.nr);
ip               1140 drivers/isdn/hardware/mISDN/mISDNipac.c 		pr_debug("%s: B%1d XDU error at len %d\n", hx->ip->name,
ip               1214 drivers/isdn/hardware/mISDN/mISDNipac.c 	pr_debug("%s: HSCX %c protocol %x-->%x ch %d\n", hscx->ip->name,
ip               1216 drivers/isdn/hardware/mISDN/mISDNipac.c 	if (hscx->ip->type & IPAC_TYPE_IPACX) {
ip               1218 drivers/isdn/hardware/mISDN/mISDNipac.c 			WriteIPAC(hscx->ip, ISACX_BCHA_TSDP_BC1, 0x80);
ip               1219 drivers/isdn/hardware/mISDN/mISDNipac.c 			WriteIPAC(hscx->ip, ISACX_BCHA_CR, 0x88);
ip               1221 drivers/isdn/hardware/mISDN/mISDNipac.c 			WriteIPAC(hscx->ip, ISACX_BCHB_TSDP_BC1, 0x81);
ip               1222 drivers/isdn/hardware/mISDN/mISDNipac.c 			WriteIPAC(hscx->ip, ISACX_BCHB_CR, 0x88);
ip               1248 drivers/isdn/hardware/mISDN/mISDNipac.c 			pr_info("%s: protocol not known %x\n", hscx->ip->name,
ip               1252 drivers/isdn/hardware/mISDN/mISDNipac.c 	} else if (hscx->ip->type & IPAC_TYPE_IPAC) { /* IPAC */
ip               1284 drivers/isdn/hardware/mISDN/mISDNipac.c 			pr_info("%s: protocol not known %x\n", hscx->ip->name,
ip               1288 drivers/isdn/hardware/mISDN/mISDNipac.c 	} else if (hscx->ip->type & IPAC_TYPE_HSCX) { /* HSCX */
ip               1320 drivers/isdn/hardware/mISDN/mISDNipac.c 			pr_info("%s: protocol not known %x\n", hscx->ip->name,
ip               1341 drivers/isdn/hardware/mISDN/mISDNipac.c 		spin_lock_irqsave(hx->ip->hwlock, flags);
ip               1347 drivers/isdn/hardware/mISDN/mISDNipac.c 		spin_unlock_irqrestore(hx->ip->hwlock, flags);
ip               1350 drivers/isdn/hardware/mISDN/mISDNipac.c 		spin_lock_irqsave(hx->ip->hwlock, flags);
ip               1355 drivers/isdn/hardware/mISDN/mISDNipac.c 		spin_unlock_irqrestore(hx->ip->hwlock, flags);
ip               1361 drivers/isdn/hardware/mISDN/mISDNipac.c 		spin_lock_irqsave(hx->ip->hwlock, flags);
ip               1364 drivers/isdn/hardware/mISDN/mISDNipac.c 		spin_unlock_irqrestore(hx->ip->hwlock, flags);
ip               1371 drivers/isdn/hardware/mISDN/mISDNipac.c 			hx->ip->name, __func__, hh->prim, hh->id);
ip               1393 drivers/isdn/hardware/mISDN/mISDNipac.c 	pr_debug("%s: %s cmd:%x %p\n", hx->ip->name, __func__, cmd, arg);
ip               1398 drivers/isdn/hardware/mISDN/mISDNipac.c 		spin_lock_irqsave(hx->ip->hwlock, flags);
ip               1401 drivers/isdn/hardware/mISDN/mISDNipac.c 		spin_unlock_irqrestore(hx->ip->hwlock, flags);
ip               1404 drivers/isdn/hardware/mISDN/mISDNipac.c 		module_put(hx->ip->owner);
ip               1412 drivers/isdn/hardware/mISDN/mISDNipac.c 			hx->ip->name, __func__, cmd);
ip               1438 drivers/isdn/hardware/mISDN/mISDNipac.c 	if (hx->ip->type & IPAC_TYPE_HSCX) {
ip               1441 drivers/isdn/hardware/mISDN/mISDNipac.c 		pr_debug("%s: HSCX VSTR %02x\n", hx->ip->name, val);
ip               1443 drivers/isdn/hardware/mISDN/mISDNipac.c 			pr_notice("%s: HSCX version %s\n", hx->ip->name,
ip               1607 drivers/isdn/hardware/mISDN/mISDNipac.c 		ipac->hscx[i].ip = ipac;
ip                238 drivers/isdn/mISDN/l1oip_core.c static u_int ip[MAX_CARDS * 4];
ip                251 drivers/isdn/mISDN/l1oip_core.c module_param_array(ip, uint, NULL, S_IRUGO | S_IWUSR);
ip               1354 drivers/isdn/mISDN/l1oip_core.c 	hc->remoteip = ip[l1oip_cnt << 2] << 24
ip               1355 drivers/isdn/mISDN/l1oip_core.c 		| ip[(l1oip_cnt << 2) + 1] << 16
ip               1356 drivers/isdn/mISDN/l1oip_core.c 		| ip[(l1oip_cnt << 2) + 2] << 8
ip               1357 drivers/isdn/mISDN/l1oip_core.c 		| ip[(l1oip_cnt << 2) + 3];
ip                179 drivers/md/bcache/closure.c 			   cl, (void *) cl->ip, cl->fn, cl->parent,
ip                164 drivers/md/bcache/closure.h 	unsigned long		ip;
ip                204 drivers/md/bcache/closure.h 	cl->ip = _THIS_IP_;
ip                211 drivers/md/bcache/closure.h 	cl->ip = _RET_IP_;
ip                176 drivers/media/usb/pvrusb2/pvrusb2-std.c 	const struct std_name *ip,*gp;
ip                185 drivers/media/usb/pvrusb2/pvrusb2-std.c 			ip = std_items + idx2;
ip                186 drivers/media/usb/pvrusb2/pvrusb2-std.c 			if (!(gp->id & ip->id & id)) continue;
ip                205 drivers/media/usb/pvrusb2/pvrusb2-std.c 				       ip->name);
ip                456 drivers/media/usb/usbtv/usbtv-video.c static void usbtv_iso_cb(struct urb *ip)
ip                460 drivers/media/usb/usbtv/usbtv-video.c 	struct usbtv *usbtv = (struct usbtv *)ip->context;
ip                462 drivers/media/usb/usbtv/usbtv-video.c 	switch (ip->status) {
ip                478 drivers/media/usb/usbtv/usbtv-video.c 	for (i = 0; i < ip->number_of_packets; i++) {
ip                479 drivers/media/usb/usbtv/usbtv-video.c 		int size = ip->iso_frame_desc[i].actual_length;
ip                480 drivers/media/usb/usbtv/usbtv-video.c 		unsigned char *data = ip->transfer_buffer +
ip                481 drivers/media/usb/usbtv/usbtv-video.c 				ip->iso_frame_desc[i].offset;
ip                490 drivers/media/usb/usbtv/usbtv-video.c 	ret = usb_submit_urb(ip, GFP_ATOMIC);
ip                497 drivers/media/usb/usbtv/usbtv-video.c 	struct urb *ip;
ip                501 drivers/media/usb/usbtv/usbtv-video.c 	ip = usb_alloc_urb(USBTV_ISOC_PACKETS, GFP_KERNEL);
ip                502 drivers/media/usb/usbtv/usbtv-video.c 	if (ip == NULL)
ip                505 drivers/media/usb/usbtv/usbtv-video.c 	ip->dev = usbtv->udev;
ip                506 drivers/media/usb/usbtv/usbtv-video.c 	ip->context = usbtv;
ip                507 drivers/media/usb/usbtv/usbtv-video.c 	ip->pipe = usb_rcvisocpipe(usbtv->udev, USBTV_VIDEO_ENDP);
ip                508 drivers/media/usb/usbtv/usbtv-video.c 	ip->interval = 1;
ip                509 drivers/media/usb/usbtv/usbtv-video.c 	ip->transfer_flags = URB_ISO_ASAP;
ip                510 drivers/media/usb/usbtv/usbtv-video.c 	ip->transfer_buffer = kcalloc(USBTV_ISOC_PACKETS, size,
ip                512 drivers/media/usb/usbtv/usbtv-video.c 	if (!ip->transfer_buffer) {
ip                513 drivers/media/usb/usbtv/usbtv-video.c 		usb_free_urb(ip);
ip                516 drivers/media/usb/usbtv/usbtv-video.c 	ip->complete = usbtv_iso_cb;
ip                517 drivers/media/usb/usbtv/usbtv-video.c 	ip->number_of_packets = USBTV_ISOC_PACKETS;
ip                518 drivers/media/usb/usbtv/usbtv-video.c 	ip->transfer_buffer_length = size * USBTV_ISOC_PACKETS;
ip                520 drivers/media/usb/usbtv/usbtv-video.c 		ip->iso_frame_desc[i].offset = size * i;
ip                521 drivers/media/usb/usbtv/usbtv-video.c 		ip->iso_frame_desc[i].length = size;
ip                524 drivers/media/usb/usbtv/usbtv-video.c 	return ip;
ip                534 drivers/media/usb/usbtv/usbtv-video.c 		struct urb *ip = usbtv->isoc_urbs[i];
ip                536 drivers/media/usb/usbtv/usbtv-video.c 		if (ip == NULL)
ip                538 drivers/media/usb/usbtv/usbtv-video.c 		usb_kill_urb(ip);
ip                539 drivers/media/usb/usbtv/usbtv-video.c 		kfree(ip->transfer_buffer);
ip                540 drivers/media/usb/usbtv/usbtv-video.c 		usb_free_urb(ip);
ip                577 drivers/media/usb/usbtv/usbtv-video.c 		struct urb *ip;
ip                579 drivers/media/usb/usbtv/usbtv-video.c 		ip = usbtv_setup_iso_transfer(usbtv);
ip                580 drivers/media/usb/usbtv/usbtv-video.c 		if (ip == NULL) {
ip                584 drivers/media/usb/usbtv/usbtv-video.c 		usbtv->isoc_urbs[i] = ip;
ip                586 drivers/media/usb/usbtv/usbtv-video.c 		ret = usb_submit_urb(ip, GFP_KERNEL);
ip                 83 drivers/mfd/qcom-pm8xxx.c 				 unsigned int *ip)
ip                 94 drivers/mfd/qcom-pm8xxx.c 	rc = regmap_read(chip->regmap, SSBI_REG_ADDR_IRQ_IT_STATUS, ip);
ip                536 drivers/misc/hpilo.c static int ilo_close(struct inode *ip, struct file *fp)
ip                543 drivers/misc/hpilo.c 	slot = iminor(ip) % max_ccb;
ip                544 drivers/misc/hpilo.c 	hw = container_of(ip->i_cdev, struct ilo_hwinfo, cdev);
ip                567 drivers/misc/hpilo.c static int ilo_open(struct inode *ip, struct file *fp)
ip                574 drivers/misc/hpilo.c 	slot = iminor(ip) % max_ccb;
ip                575 drivers/misc/hpilo.c 	hw = container_of(ip->i_cdev, struct ilo_hwinfo, cdev);
ip                297 drivers/misc/kgdbts.c 	unsigned long ip;
ip                303 drivers/misc/kgdbts.c 	ip = instruction_pointer(&kgdbts_regs);
ip                304 drivers/misc/kgdbts.c 	v2printk("Stopped at IP: %lx\n", ip);
ip                307 drivers/misc/kgdbts.c 	if (addr + BREAK_INSTR_SIZE == ip)
ip                312 drivers/misc/kgdbts.c 	    ip + offset == sstep_addr &&
ip                317 drivers/misc/kgdbts.c 	} else if (strcmp(arg, "silent") && ip + offset != addr) {
ip                319 drivers/misc/kgdbts.c 			   ip + offset, addr);
ip                323 drivers/misc/kgdbts.c 	ip += offset;
ip                324 drivers/misc/kgdbts.c 	cont_addr = ip;
ip                326 drivers/misc/kgdbts.c 	instruction_pointer_set(&kgdbts_regs, ip);
ip                 39 drivers/mtd/inftlmount.c 	struct INFTLPartition *ip;
ip                177 drivers/mtd/inftlmount.c 			ip = &mh->Partitions[i];
ip                178 drivers/mtd/inftlmount.c 			ip->virtualUnits = le32_to_cpu(ip->virtualUnits);
ip                179 drivers/mtd/inftlmount.c 			ip->firstUnit = le32_to_cpu(ip->firstUnit);
ip                180 drivers/mtd/inftlmount.c 			ip->lastUnit = le32_to_cpu(ip->lastUnit);
ip                181 drivers/mtd/inftlmount.c 			ip->flags = le32_to_cpu(ip->flags);
ip                182 drivers/mtd/inftlmount.c 			ip->spareUnits = le32_to_cpu(ip->spareUnits);
ip                183 drivers/mtd/inftlmount.c 			ip->Reserved0 = le32_to_cpu(ip->Reserved0);
ip                191 drivers/mtd/inftlmount.c 				 i, ip->virtualUnits, ip->firstUnit,
ip                192 drivers/mtd/inftlmount.c 				 ip->lastUnit, ip->flags,
ip                193 drivers/mtd/inftlmount.c 				 ip->spareUnits);
ip                195 drivers/mtd/inftlmount.c 			if (ip->Reserved0 != ip->firstUnit) {
ip                205 drivers/mtd/inftlmount.c 				instr->addr = ip->Reserved0 * inftl->EraseSize;
ip                209 drivers/mtd/inftlmount.c 			if ((ip->lastUnit - ip->firstUnit + 1) < ip->virtualUnits) {
ip                213 drivers/mtd/inftlmount.c 					"virtualUnits %d\n", i, ip->lastUnit,
ip                214 drivers/mtd/inftlmount.c 					ip->firstUnit, ip->Reserved0);
ip                217 drivers/mtd/inftlmount.c 			if (ip->Reserved1 != 0) {
ip                221 drivers/mtd/inftlmount.c 					i, ip->Reserved1);
ip                225 drivers/mtd/inftlmount.c 			if (ip->flags & INFTL_BDTL)
ip                236 drivers/mtd/inftlmount.c 		inftl->nb_boot_blocks = ip->firstUnit;
ip                237 drivers/mtd/inftlmount.c 		inftl->numvunits = ip->virtualUnits;
ip                255 drivers/mtd/inftlmount.c 		inftl->firstEUN = ip->firstUnit;
ip                256 drivers/mtd/inftlmount.c 		inftl->lastEUN = ip->lastUnit;
ip                257 drivers/mtd/inftlmount.c 		inftl->nb_blocks = ip->lastUnit + 1;
ip               1141 drivers/mtd/nand/raw/diskonchip.c 	struct INFTLPartition *ip;
ip               1202 drivers/mtd/nand/raw/diskonchip.c 		ip = &(mh->Partitions[i]);
ip               1203 drivers/mtd/nand/raw/diskonchip.c 		le32_to_cpus(&ip->virtualUnits);
ip               1204 drivers/mtd/nand/raw/diskonchip.c 		le32_to_cpus(&ip->firstUnit);
ip               1205 drivers/mtd/nand/raw/diskonchip.c 		le32_to_cpus(&ip->lastUnit);
ip               1206 drivers/mtd/nand/raw/diskonchip.c 		le32_to_cpus(&ip->flags);
ip               1207 drivers/mtd/nand/raw/diskonchip.c 		le32_to_cpus(&ip->spareUnits);
ip               1208 drivers/mtd/nand/raw/diskonchip.c 		le32_to_cpus(&ip->Reserved0);
ip               1216 drivers/mtd/nand/raw/diskonchip.c 			i, ip->virtualUnits, ip->firstUnit,
ip               1217 drivers/mtd/nand/raw/diskonchip.c 			ip->lastUnit, ip->flags,
ip               1218 drivers/mtd/nand/raw/diskonchip.c 			ip->spareUnits);
ip               1221 drivers/mtd/nand/raw/diskonchip.c 		    (i == 0) && (ip->firstUnit > 0)) {
ip               1224 drivers/mtd/nand/raw/diskonchip.c 			parts[0].size = mtd->erasesize * ip->firstUnit;
ip               1228 drivers/mtd/nand/raw/diskonchip.c 		if (ip->flags & INFTL_BINARY)
ip               1232 drivers/mtd/nand/raw/diskonchip.c 		parts[numparts].offset = ip->firstUnit << vshift;
ip               1233 drivers/mtd/nand/raw/diskonchip.c 		parts[numparts].size = (1 + ip->lastUnit - ip->firstUnit) << vshift;
ip               1235 drivers/mtd/nand/raw/diskonchip.c 		if (ip->lastUnit > lastvunit)
ip               1236 drivers/mtd/nand/raw/diskonchip.c 			lastvunit = ip->lastUnit;
ip               1237 drivers/mtd/nand/raw/diskonchip.c 		if (ip->flags & INFTL_LAST)
ip                135 drivers/net/appletalk/ipddp.c                 if(rt->ip == paddr)
ip                202 drivers/net/appletalk/ipddp.c         rt->ip = new_rt->ip;
ip                237 drivers/net/appletalk/ipddp.c                 if(tmp->ip == rt->ip &&
ip                262 drivers/net/appletalk/ipddp.c                 if(f->ip == rt->ip &&
ip                292 drivers/net/appletalk/ipddp.c 				rcp2.ip    = rp->ip;
ip                 18 drivers/net/appletalk/ipddp.h         __be32 ip;                       /* IP address */
ip               2344 drivers/net/bonding/bond_main.c 	__be32 ip = *((__be32 *)data);
ip               2346 drivers/net/bonding/bond_main.c 	return ip == bond_confirm_addr(upper, 0, ip);
ip               2349 drivers/net/bonding/bond_main.c static bool bond_has_this_ip(struct bonding *bond, __be32 ip)
ip               2353 drivers/net/bonding/bond_main.c 	if (ip == bond_confirm_addr(bond->dev, 0, ip))
ip               2357 drivers/net/bonding/bond_main.c 	if (netdev_walk_all_upper_dev_rcu(bond->dev, bond_upper_dev_walk, &ip))
ip               4603 drivers/net/bonding/bond_main.c 		__be32 ip;
ip               4606 drivers/net/bonding/bond_main.c 		if (!in4_pton(arp_ip_target[i], -1, (u8 *)&ip, -1, NULL) ||
ip               4607 drivers/net/bonding/bond_main.c 		    !bond_is_ip_target_ok(ip)) {
ip               4612 drivers/net/bonding/bond_main.c 			if (bond_get_targets_ip(arp_target, ip) == -1)
ip               4613 drivers/net/bonding/bond_main.c 				arp_target[arp_ip_count++] = ip;
ip               4616 drivers/net/bonding/bond_main.c 					&ip);
ip                344 drivers/net/dsa/bcm_sf2_cfp.c 	struct flow_match_ip ip;
ip                380 drivers/net/dsa/bcm_sf2_cfp.c 	flow_rule_match_ip(flow->rule, &ip);
ip                415 drivers/net/dsa/bcm_sf2_cfp.c 	core_writel(priv, ip.key->tos << IPTOS_SHIFT |
ip               1543 drivers/net/ethernet/apple/bmac.c 	int i,*ip;
ip               1546 drivers/net/ethernet/apple/bmac.c 		ip = (int*)(cp+i);
ip               1549 drivers/net/ethernet/apple/bmac.c 		       le32_to_cpup(ip+0),
ip               1550 drivers/net/ethernet/apple/bmac.c 		       le32_to_cpup(ip+1),
ip               1551 drivers/net/ethernet/apple/bmac.c 		       le32_to_cpup(ip+2),
ip               1552 drivers/net/ethernet/apple/bmac.c 		       le32_to_cpup(ip+3));
ip                 90 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h 			} ip[1];
ip               1339 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	} ip;
ip               1341 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	ip.hdr = skb_network_header(skb);
ip               1362 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 		if (ip.v4->version == 4)
ip               1367 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 		proto = (ip.v4->version == 4) ? ip.v4->protocol :
ip               1368 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 			ip.v6->nexthdr;
ip                257 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c 	char ip[60];
ip                265 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c 			ip[0] = '\0';
ip                266 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c 			sprintf(ip, "%pISc", &ce->addr);
ip                267 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c 			seq_printf(seq, "%-25s   %u\n", ip,
ip                850 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c static bool is_inaddr_any(u8 *ip, int family)
ip                857 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 		addr = (struct in_addr *)ip;
ip                863 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 		addr6 = (struct in6_addr *)ip;
ip                713 drivers/net/ethernet/chelsio/cxgb4/l2t.c 		char ip[60];
ip                719 drivers/net/ethernet/chelsio/cxgb4/l2t.c 			ip[0] = '\0';
ip                721 drivers/net/ethernet/chelsio/cxgb4/l2t.c 			sprintf(ip, e->v6 ? "%pI6c" : "%pI4", e->addr);
ip                723 drivers/net/ethernet/chelsio/cxgb4/l2t.c 			   e->idx + d->l2t_start, ip, e->dmac,
ip                 51 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c 	struct iphdr *ip = (struct iphdr *)((u8 *)(req + 1) + eth_len);
ip                 56 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c 	if (ip->version == 4) {
ip                 58 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c 			 __func__, ntohl(ip->saddr), ntohl(ip->daddr),
ip                 61 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c 		memcpy(peer_ip, &ip->saddr, 4);
ip                 62 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c 		memcpy(local_ip, &ip->daddr, 4);
ip               1131 drivers/net/ethernet/emulex/benet/be_main.c 	struct iphdr *ip;
ip               1142 drivers/net/ethernet/emulex/benet/be_main.c 		ip = (struct iphdr *)ip_hdr(skb);
ip               1143 drivers/net/ethernet/emulex/benet/be_main.c 		pskb_trim(skb, eth_hdr_len + ntohs(ip->tot_len));
ip                200 drivers/net/ethernet/huawei/hinic/hinic_tx.c static void get_inner_l3_l4_type(struct sk_buff *skb, union hinic_l3 *ip,
ip                208 drivers/net/ethernet/huawei/hinic/hinic_tx.c 	if (ip->v4->version == 4) {
ip                212 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		*l4_proto = ip->v4->protocol;
ip                213 drivers/net/ethernet/huawei/hinic/hinic_tx.c 	} else if (ip->v4->version == 6) {
ip                215 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		exthdr = ip->hdr + sizeof(*ip->v6);
ip                216 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		*l4_proto = ip->v6->nexthdr;
ip                267 drivers/net/ethernet/huawei/hinic/hinic_tx.c static __sum16 csum_magic(union hinic_l3 *ip, unsigned short proto)
ip                269 drivers/net/ethernet/huawei/hinic/hinic_tx.c 	return (ip->v4->version == 4) ?
ip                270 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		csum_tcpudp_magic(ip->v4->saddr, ip->v4->daddr, 0, proto, 0) :
ip                271 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		csum_ipv6_magic(&ip->v6->saddr, &ip->v6->daddr, 0, proto, 0);
ip                280 drivers/net/ethernet/huawei/hinic/hinic_tx.c 	union hinic_l3 ip;
ip                295 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		ip.hdr = skb_network_header(skb);
ip                299 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		if (ip.v4->version == 4) {
ip                300 drivers/net/ethernet/huawei/hinic/hinic_tx.c 			ip.v4->tot_len = 0;
ip                302 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		} else if (ip.v4->version == 6) {
ip                312 drivers/net/ethernet/huawei/hinic/hinic_tx.c 			l4.udp->check = ~csum_magic(&ip, IPPROTO_UDP);
ip                322 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		ip.hdr = skb_inner_network_header(skb);
ip                325 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		ip.hdr = skb_network_header(skb);
ip                331 drivers/net/ethernet/huawei/hinic/hinic_tx.c 	if (ip.v4->version == 4)
ip                332 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		ip.v4->tot_len = 0;
ip                334 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		ip.v6->payload_len = 0;
ip                336 drivers/net/ethernet/huawei/hinic/hinic_tx.c 	get_inner_l3_l4_type(skb, &ip, &l4, TX_OFFLOAD_TSO, &l3_offload,
ip                343 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		l4.tcp->check = ~csum_magic(&ip, IPPROTO_TCP);
ip                360 drivers/net/ethernet/huawei/hinic/hinic_tx.c 	union hinic_l3 ip;
ip                370 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		ip.hdr = skb_network_header(skb);
ip                372 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		if (ip.v4->version == 4)
ip                374 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		else if (ip.v4->version == 6)
ip                388 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		ip.hdr = skb_inner_network_header(skb);
ip                392 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		ip.hdr = skb_network_header(skb);
ip                397 drivers/net/ethernet/huawei/hinic/hinic_tx.c 	get_inner_l3_l4_type(skb, &ip, &l4, TX_OFFLOAD_CSUM, &l3_type,
ip               5736 drivers/net/ethernet/intel/e1000e/netdev.c 		const struct iphdr *ip = (struct iphdr *)((u8 *)skb->data + 14);
ip               5739 drivers/net/ethernet/intel/e1000e/netdev.c 		if (ip->protocol != IPPROTO_UDP)
ip               5742 drivers/net/ethernet/intel/e1000e/netdev.c 		udp = (struct udphdr *)((u8 *)ip + (ip->ihl << 2));
ip                286 drivers/net/ethernet/intel/i40e/i40e.h 	} ip;
ip                287 drivers/net/ethernet/intel/i40e/i40e.h #define dst_ipv6	ip.v6.dst_ip6.s6_addr32
ip                288 drivers/net/ethernet/intel/i40e/i40e.h #define src_ipv6	ip.v6.src_ip6.s6_addr32
ip                289 drivers/net/ethernet/intel/i40e/i40e.h #define dst_ipv4	ip.v4.dst_ip.s_addr
ip                290 drivers/net/ethernet/intel/i40e/i40e.h #define src_ipv4	ip.v4.src_ip.s_addr
ip               7660 drivers/net/ethernet/intel/i40e/i40e_main.c 	    !ipv6_addr_any(&filter->ip.v6.src_ip6))
ip               7687 drivers/net/ethernet/intel/i40e/i40e_main.c 		   !ipv6_addr_any(&filter->ip.v6.dst_ip6)) {
ip                179 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	struct iphdr *ip;
ip                191 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	ip = (struct iphdr *)(raw_packet + IP_HEADER_OFFSET);
ip                195 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	ip->daddr = fd_data->dst_ip;
ip                197 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	ip->saddr = fd_data->src_ip;
ip                251 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	struct iphdr *ip;
ip                265 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	ip = (struct iphdr *)(raw_packet + IP_HEADER_OFFSET);
ip                269 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	ip->daddr = fd_data->dst_ip;
ip                271 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	ip->saddr = fd_data->src_ip;
ip                330 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	struct iphdr *ip;
ip                343 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	ip = (struct iphdr *)(raw_packet + IP_HEADER_OFFSET);
ip                347 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	ip->daddr = fd_data->dst_ip;
ip                349 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	ip->saddr = fd_data->src_ip;
ip                403 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	struct iphdr *ip;
ip                417 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		ip = (struct iphdr *)(raw_packet + IP_HEADER_OFFSET);
ip                419 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		ip->saddr = fd_data->src_ip;
ip                420 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		ip->daddr = fd_data->dst_ip;
ip                421 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		ip->protocol = 0;
ip               2895 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	} ip;
ip               2915 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	ip.hdr = skb_network_header(skb);
ip               2919 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	if (ip.v4->version == 4) {
ip               2920 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		ip.v4->tot_len = 0;
ip               2921 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		ip.v4->check = 0;
ip               2923 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		ip.v6->payload_len = 0;
ip               2946 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		ip.hdr = skb_inner_network_header(skb);
ip               2950 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		if (ip.v4->version == 4) {
ip               2951 drivers/net/ethernet/intel/i40e/i40e_txrx.c 			ip.v4->tot_len = 0;
ip               2952 drivers/net/ethernet/intel/i40e/i40e_txrx.c 			ip.v4->check = 0;
ip               2954 drivers/net/ethernet/intel/i40e/i40e_txrx.c 			ip.v6->payload_len = 0;
ip               3048 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	} ip;
ip               3062 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	ip.hdr = skb_network_header(skb);
ip               3066 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	offset = ((ip.hdr - skb->data) / 2) << I40E_TX_DESC_LENGTH_MACLEN_SHIFT;
ip               3076 drivers/net/ethernet/intel/i40e/i40e_txrx.c 			l4_proto = ip.v4->protocol;
ip               3080 drivers/net/ethernet/intel/i40e/i40e_txrx.c 			exthdr = ip.hdr + sizeof(*ip.v6);
ip               3081 drivers/net/ethernet/intel/i40e/i40e_txrx.c 			l4_proto = ip.v6->nexthdr;
ip               3111 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		tunnel |= ((l4.hdr - ip.hdr) / 4) <<
ip               3115 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		ip.hdr = skb_inner_network_header(skb);
ip               3118 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		tunnel |= ((ip.hdr - l4.hdr) / 2) <<
ip               3136 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		if (ip.v4->version == 4)
ip               3138 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		if (ip.v6->version == 6)
ip               3144 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		l4_proto = ip.v4->protocol;
ip               3154 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		exthdr = ip.hdr + sizeof(*ip.v6);
ip               3155 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		l4_proto = ip.v6->nexthdr;
ip               3162 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	offset |= ((l4.hdr - ip.hdr) / 4) << I40E_TX_DESC_LENGTH_IPLEN_SHIFT;
ip               3369 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			memcpy(&cfilter.ip.v4.dst_ip, tcf.dst_ip,
ip               3372 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			memcpy(&cfilter.ip.v4.src_ip, tcf.src_ip,
ip               3378 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			memcpy(&cfilter.ip.v6.dst_ip6, tcf.dst_ip,
ip               3379 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			       sizeof(cfilter.ip.v6.dst_ip6));
ip               3381 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			memcpy(&cfilter.ip.v6.src_ip6, tcf.src_ip,
ip               3382 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			       sizeof(cfilter.ip.v6.src_ip6));
ip               3422 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			if (memcmp(&cfilter.ip.v4.dst_ip, &cf->ip.v4.dst_ip,
ip               3427 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			if (memcmp(&cfilter.ip.v6.dst_ip6, &cf->ip.v6.dst_ip6,
ip               3428 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 				   sizeof(cfilter.ip.v6.src_ip6)))
ip               3503 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			memcpy(&cfilter->ip.v4.dst_ip, tcf.dst_ip,
ip               3506 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			memcpy(&cfilter->ip.v4.src_ip, tcf.src_ip,
ip               3512 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			memcpy(&cfilter->ip.v6.dst_ip6, tcf.dst_ip,
ip               3513 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			       sizeof(cfilter->ip.v6.dst_ip6));
ip               3515 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			memcpy(&cfilter->ip.v6.src_ip6, tcf.src_ip,
ip               3516 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			       sizeof(cfilter->ip.v6.src_ip6));
ip               1861 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	} ip;
ip               1881 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	ip.hdr = skb_network_header(skb);
ip               1885 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	if (ip.v4->version == 4) {
ip               1886 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		ip.v4->tot_len = 0;
ip               1887 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		ip.v4->check = 0;
ip               1889 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		ip.v6->payload_len = 0;
ip               1912 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		ip.hdr = skb_inner_network_header(skb);
ip               1916 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		if (ip.v4->version == 4) {
ip               1917 drivers/net/ethernet/intel/iavf/iavf_txrx.c 			ip.v4->tot_len = 0;
ip               1918 drivers/net/ethernet/intel/iavf/iavf_txrx.c 			ip.v4->check = 0;
ip               1920 drivers/net/ethernet/intel/iavf/iavf_txrx.c 			ip.v6->payload_len = 0;
ip               1970 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	} ip;
ip               1984 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	ip.hdr = skb_network_header(skb);
ip               1988 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	offset = ((ip.hdr - skb->data) / 2) << IAVF_TX_DESC_LENGTH_MACLEN_SHIFT;
ip               1998 drivers/net/ethernet/intel/iavf/iavf_txrx.c 			l4_proto = ip.v4->protocol;
ip               2002 drivers/net/ethernet/intel/iavf/iavf_txrx.c 			exthdr = ip.hdr + sizeof(*ip.v6);
ip               2003 drivers/net/ethernet/intel/iavf/iavf_txrx.c 			l4_proto = ip.v6->nexthdr;
ip               2033 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		tunnel |= ((l4.hdr - ip.hdr) / 4) <<
ip               2037 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		ip.hdr = skb_inner_network_header(skb);
ip               2040 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		tunnel |= ((ip.hdr - l4.hdr) / 2) <<
ip               2058 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		if (ip.v4->version == 4)
ip               2060 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		if (ip.v6->version == 6)
ip               2066 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		l4_proto = ip.v4->protocol;
ip               2076 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		exthdr = ip.hdr + sizeof(*ip.v6);
ip               2077 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		l4_proto = ip.v6->nexthdr;
ip               2084 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	offset |= ((l4.hdr - ip.hdr) / 4) << IAVF_TX_DESC_LENGTH_IPLEN_SHIFT;
ip               1749 drivers/net/ethernet/intel/ice/ice_txrx.c 	} ip;
ip               1762 drivers/net/ethernet/intel/ice/ice_txrx.c 	ip.hdr = skb_network_header(skb);
ip               1766 drivers/net/ethernet/intel/ice/ice_txrx.c 	l2_len = ip.hdr - skb->data;
ip               1775 drivers/net/ethernet/intel/ice/ice_txrx.c 		l4_proto = ip.v4->protocol;
ip               1786 drivers/net/ethernet/intel/ice/ice_txrx.c 		exthdr = ip.hdr + sizeof(*ip.v6);
ip               1787 drivers/net/ethernet/intel/ice/ice_txrx.c 		l4_proto = ip.v6->nexthdr;
ip               1796 drivers/net/ethernet/intel/ice/ice_txrx.c 	l3_len = l4.hdr - ip.hdr;
ip               1899 drivers/net/ethernet/intel/ice/ice_txrx.c 	} ip;
ip               1919 drivers/net/ethernet/intel/ice/ice_txrx.c 	ip.hdr = skb_network_header(skb);
ip               1923 drivers/net/ethernet/intel/ice/ice_txrx.c 	if (ip.v4->version == 4) {
ip               1924 drivers/net/ethernet/intel/ice/ice_txrx.c 		ip.v4->tot_len = 0;
ip               1925 drivers/net/ethernet/intel/ice/ice_txrx.c 		ip.v4->check = 0;
ip               1927 drivers/net/ethernet/intel/ice/ice_txrx.c 		ip.v6->payload_len = 0;
ip               5696 drivers/net/ethernet/intel/igb/igb_main.c 	} ip;
ip               5714 drivers/net/ethernet/intel/igb/igb_main.c 	ip.hdr = skb_network_header(skb);
ip               5721 drivers/net/ethernet/intel/igb/igb_main.c 	if (ip.v4->version == 4) {
ip               5723 drivers/net/ethernet/intel/igb/igb_main.c 		unsigned char *trans_start = ip.hdr + (ip.v4->ihl * 4);
ip               5728 drivers/net/ethernet/intel/igb/igb_main.c 		ip.v4->check = csum_fold(csum_partial(trans_start,
ip               5733 drivers/net/ethernet/intel/igb/igb_main.c 		ip.v4->tot_len = 0;
ip               5738 drivers/net/ethernet/intel/igb/igb_main.c 		ip.v6->payload_len = 0;
ip               5762 drivers/net/ethernet/intel/igb/igb_main.c 	vlan_macip_lens = l4.hdr - ip.hdr;
ip               5763 drivers/net/ethernet/intel/igb/igb_main.c 	vlan_macip_lens |= (ip.hdr - skb->data) << E1000_ADVTXD_MACLEN_SHIFT;
ip               2005 drivers/net/ethernet/intel/igbvf/netdev.c 	} ip;
ip               2023 drivers/net/ethernet/intel/igbvf/netdev.c 	ip.hdr = skb_network_header(skb);
ip               2030 drivers/net/ethernet/intel/igbvf/netdev.c 	if (ip.v4->version == 4) {
ip               2032 drivers/net/ethernet/intel/igbvf/netdev.c 		unsigned char *trans_start = ip.hdr + (ip.v4->ihl * 4);
ip               2037 drivers/net/ethernet/intel/igbvf/netdev.c 		ip.v4->check = csum_fold(csum_partial(trans_start,
ip               2042 drivers/net/ethernet/intel/igbvf/netdev.c 		ip.v4->tot_len = 0;
ip               2044 drivers/net/ethernet/intel/igbvf/netdev.c 		ip.v6->payload_len = 0;
ip               2062 drivers/net/ethernet/intel/igbvf/netdev.c 	vlan_macip_lens = l4.hdr - ip.hdr;
ip               2063 drivers/net/ethernet/intel/igbvf/netdev.c 	vlan_macip_lens |= (ip.hdr - skb->data) << E1000_ADVTXD_MACLEN_SHIFT;
ip               7962 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	} ip;
ip               7982 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		ip.hdr = skb_inner_network_header(skb);
ip               7984 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		ip.hdr = skb_network_header(skb);
ip               7991 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	if (ip.v4->version == 4) {
ip               7993 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		unsigned char *trans_start = ip.hdr + (ip.v4->ihl * 4);
ip               8000 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		ip.v4->check = (skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL) ?
ip               8005 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		ip.v4->tot_len = 0;
ip               8010 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		ip.v6->payload_len = 0;
ip               8037 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	vlan_macip_lens = l4.hdr - ip.hdr;
ip               8038 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	vlan_macip_lens |= (ip.hdr - skb->data) << IXGBE_ADVTXD_MACLEN_SHIFT;
ip               8476 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		common.ip ^= hdr.ipv4->saddr ^ hdr.ipv4->daddr;
ip               8480 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		common.ip ^= hdr.ipv6->saddr.s6_addr32[0] ^
ip               3087 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h 	__be32 ip;
ip               3750 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	} ip;
ip               3770 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		ip.hdr = skb_inner_network_header(skb);
ip               3772 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		ip.hdr = skb_network_header(skb);
ip               3779 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	if (ip.v4->version == 4) {
ip               3781 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		unsigned char *trans_start = ip.hdr + (ip.v4->ihl * 4);
ip               3788 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		ip.v4->check = (skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL) ?
ip               3793 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		ip.v4->tot_len = 0;
ip               3798 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		ip.v6->payload_len = 0;
ip               3826 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	vlan_macip_lens = l4.hdr - ip.hdr;
ip               3827 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	vlan_macip_lens |= (ip.hdr - skb->data) << IXGBE_ADVTXD_MACLEN_SHIFT;
ip               1826 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_hwlro_val_ipaddr(struct mtk_eth *eth, int idx, __be32 ip)
ip               1835 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	mtk_w32(eth, ip, MTK_LRO_DIP_DW0_CFG(idx));
ip                364 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	const struct iphdr *ip;
ip                377 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	ip = (const struct iphdr *)(skb->data + nhoff);
ip                378 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (ip_is_fragment(ip))
ip                381 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if ((ip->protocol != IPPROTO_TCP) && (ip->protocol != IPPROTO_UDP))
ip                383 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	ports = (const __be16 *)(skb->data + nhoff + 4 * ip->ihl);
ip                385 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	ip_proto = ip->protocol;
ip                386 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	src_ip = ip->saddr;
ip                387 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	dst_ip = ip->daddr;
ip               1025 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		} ip;
ip               1028 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		ip.hdr = skb_inner_network_header(skb);
ip               1029 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		proto = (ip.v4->version == 4) ? ip.v4->protocol :
ip               1030 drivers/net/ethernet/mellanox/mlx4/en_tx.c 						ip.v6->nexthdr;
ip                189 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	char *ip;
ip                196 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 		ip = (char *)vlan + VLAN_HLEN;
ip                202 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 		ip = (char *)eth + ETH_HLEN;
ip                205 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	return ip;
ip                220 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	struct iphdr *ip;
ip                276 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	ip = (struct iphdr *)gen_eth_tnl_hdr(encap_header, route_dev, e,
ip                280 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	ip->tos = tun_key->tos;
ip                281 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	ip->version = 0x4;
ip                282 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	ip->ihl = 0x5;
ip                283 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	ip->ttl = ttl;
ip                284 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	ip->daddr = fl4.daddr;
ip                285 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	ip->saddr = fl4.saddr;
ip                288 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	err = mlx5e_gen_ip_tunnel_header((char *)ip + sizeof(struct iphdr),
ip                289 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 					 &ip->protocol, e);
ip                810 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	void *ip;
ip                816 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	ip = skb->data + network_depth;
ip                817 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	rc = ((proto == htons(ETH_P_IP)) ? IP_ECN_set_ce((struct iphdr *)ip) :
ip                818 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 					 IP6_ECN_set_ce(skb, (struct ipv6hdr *)ip));
ip                412 drivers/net/ethernet/mscc/ocelot_ace.c 		VCAP_KEY_BIT_SET(MAC_ARP_ARP_PROTO_SPACE_OK, arp->ip);
ip                129 drivers/net/ethernet/mscc/ocelot_ace.h 	enum ocelot_vcap_bit ip;       /* Protocol address type IP */
ip               4035 drivers/net/ethernet/neterion/s2io.c 			struct iphdr *ip;
ip               4037 drivers/net/ethernet/neterion/s2io.c 			ip = ip_hdr(skb);
ip               4039 drivers/net/ethernet/neterion/s2io.c 			if (!ip_is_fragment(ip)) {
ip               4040 drivers/net/ethernet/neterion/s2io.c 				th = (struct tcphdr *)(((unsigned char *)ip) +
ip               4041 drivers/net/ethernet/neterion/s2io.c 						       ip->ihl*4);
ip               4043 drivers/net/ethernet/neterion/s2io.c 				if (ip->protocol == IPPROTO_TCP) {
ip               4050 drivers/net/ethernet/neterion/s2io.c 				} else if (ip->protocol == IPPROTO_UDP) {
ip               8169 drivers/net/ethernet/neterion/s2io.c static int check_L2_lro_capable(u8 *buffer, struct iphdr **ip,
ip               8198 drivers/net/ethernet/neterion/s2io.c 	*ip = (struct iphdr *)(buffer + ip_off);
ip               8199 drivers/net/ethernet/neterion/s2io.c 	ip_len = (u8)((*ip)->ihl);
ip               8201 drivers/net/ethernet/neterion/s2io.c 	*tcp = (struct tcphdr *)((unsigned long)*ip + ip_len);
ip               8206 drivers/net/ethernet/neterion/s2io.c static int check_for_socket_match(struct lro *lro, struct iphdr *ip,
ip               8210 drivers/net/ethernet/neterion/s2io.c 	if ((lro->iph->saddr != ip->saddr) ||
ip               8211 drivers/net/ethernet/neterion/s2io.c 	    (lro->iph->daddr != ip->daddr) ||
ip               8218 drivers/net/ethernet/neterion/s2io.c static inline int get_l4_pyld_length(struct iphdr *ip, struct tcphdr *tcp)
ip               8220 drivers/net/ethernet/neterion/s2io.c 	return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2);
ip               8224 drivers/net/ethernet/neterion/s2io.c 				 struct iphdr *ip, struct tcphdr *tcp,
ip               8229 drivers/net/ethernet/neterion/s2io.c 	lro->iph = ip;
ip               8234 drivers/net/ethernet/neterion/s2io.c 	lro->total_len = ntohs(ip->tot_len);
ip               8253 drivers/net/ethernet/neterion/s2io.c 	struct iphdr *ip = lro->iph;
ip               8260 drivers/net/ethernet/neterion/s2io.c 	csum_replace2(&ip->check, ip->tot_len, htons(lro->total_len));
ip               8261 drivers/net/ethernet/neterion/s2io.c 	ip->tot_len = htons(lro->total_len);
ip               8280 drivers/net/ethernet/neterion/s2io.c static void aggregate_new_rx(struct lro *lro, struct iphdr *ip,
ip               8302 drivers/net/ethernet/neterion/s2io.c static int verify_l3_l4_lro_capable(struct lro *l_lro, struct iphdr *ip,
ip               8314 drivers/net/ethernet/neterion/s2io.c 	if (ip->ihl != 5) /* IP has options */
ip               8318 drivers/net/ethernet/neterion/s2io.c 	if (INET_ECN_is_ce(ipv4_get_dsfield(ip)))
ip               8364 drivers/net/ethernet/neterion/s2io.c 	struct iphdr *ip;
ip               8370 drivers/net/ethernet/neterion/s2io.c 	ret = check_L2_lro_capable(buffer, &ip, (struct tcphdr **)tcp,
ip               8375 drivers/net/ethernet/neterion/s2io.c 	DBG_PRINT(INFO_DBG, "IP Saddr: %x Daddr: %x\n", ip->saddr, ip->daddr);
ip               8379 drivers/net/ethernet/neterion/s2io.c 	*tcp_len = get_l4_pyld_length(ip, tcph);
ip               8383 drivers/net/ethernet/neterion/s2io.c 			if (check_for_socket_match(l_lro, ip, tcph))
ip               8400 drivers/net/ethernet/neterion/s2io.c 			if (!verify_l3_l4_lro_capable(l_lro, ip, tcph,
ip               8415 drivers/net/ethernet/neterion/s2io.c 		if (verify_l3_l4_lro_capable(NULL, ip, tcph, *tcp_len))
ip               8437 drivers/net/ethernet/neterion/s2io.c 		initiate_new_session(*lro, buffer, ip, tcph, *tcp_len,
ip               8444 drivers/net/ethernet/neterion/s2io.c 		aggregate_new_rx(*lro, ip, tcph, *tcp_len);
ip                635 drivers/net/ethernet/neterion/vxge/vxge-main.c 		struct iphdr *ip;
ip                638 drivers/net/ethernet/neterion/vxge/vxge-main.c 		ip = ip_hdr(skb);
ip                640 drivers/net/ethernet/neterion/vxge/vxge-main.c 		if (!ip_is_fragment(ip)) {
ip                641 drivers/net/ethernet/neterion/vxge/vxge-main.c 			th = (struct tcphdr *)(((unsigned char *)ip) +
ip                642 drivers/net/ethernet/neterion/vxge/vxge-main.c 					ip->ihl*4);
ip               1774 drivers/net/ethernet/qlogic/netxen/netxen_nic.h int netxen_config_ipaddr(struct netxen_adapter *adapter, __be32 ip, int cmd);
ip                875 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c int netxen_config_ipaddr(struct netxen_adapter *adapter, __be32 ip, int cmd)
ip                888 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	memcpy(&req.words[1], &ip, sizeof(u32));
ip                894 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 				(cmd == NX_IP_UP) ? "Add" : "Remove", ip);
ip               1273 drivers/net/ethernet/qlogic/qed/qed_iscsi.c 	memcpy(con->local_ip, conn_info->src.ip, sizeof(con->local_ip));
ip               1274 drivers/net/ethernet/qlogic/qed/qed_iscsi.c 	memcpy(con->remote_ip, conn_info->dst.ip, sizeof(con->remote_ip));
ip               1513 drivers/net/ethernet/qlogic/qede/qede_filter.c 	struct iphdr *ip = (struct iphdr *)(header + ETH_HLEN);
ip               1517 drivers/net/ethernet/qlogic/qede/qede_filter.c 	ip->saddr = t->src_ipv4;
ip               1518 drivers/net/ethernet/qlogic/qede/qede_filter.c 	ip->daddr = t->dst_ipv4;
ip               1519 drivers/net/ethernet/qlogic/qede/qede_filter.c 	ip->version = 0x4;
ip               1520 drivers/net/ethernet/qlogic/qede/qede_filter.c 	ip->ihl = 0x5;
ip               1521 drivers/net/ethernet/qlogic/qede/qede_filter.c 	ip->protocol = t->ip_proto;
ip               1522 drivers/net/ethernet/qlogic/qede/qede_filter.c 	ip->tot_len = cpu_to_be16(qede_flow_get_min_header_size(t) - ETH_HLEN);
ip               2286 drivers/net/ethernet/qlogic/qla3xxx.c 	const struct iphdr *ip = ip_hdr(skb);
ip               2289 drivers/net/ethernet/qlogic/qla3xxx.c 	mac_iocb_ptr->ip_hdr_len = ip->ihl;
ip               2291 drivers/net/ethernet/qlogic/qla3xxx.c 	if (ip->protocol == IPPROTO_TCP) {
ip               2163 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h 					__be32 ip, int cmd)
ip               2165 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h 	adapter->nic_ops->config_ipaddr(adapter, ip, cmd);
ip               1974 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c void qlcnic_83xx_config_ipaddr(struct qlcnic_adapter *adapter, __be32 ip,
ip               2001 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	temp_ip = swab32(ntohl(ip));
ip               2007 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 			(mode == QLCNIC_IP_UP) ? "Add" : "Remove", ip);
ip                941 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 			       __be32 ip, int cmd)
ip                956 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 	ipa->ipv4 = ip;
ip                962 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 				(cmd == QLCNIC_IP_UP) ? "Add" : "Remove", ip);
ip                766 drivers/net/ethernet/realtek/8139cp.c 		const struct iphdr *ip = ip_hdr(skb);
ip                767 drivers/net/ethernet/realtek/8139cp.c 		if (ip->protocol == IPPROTO_TCP)
ip                769 drivers/net/ethernet/realtek/8139cp.c 		else if (ip->protocol == IPPROTO_UDP)
ip               5779 drivers/net/ethernet/realtek/r8169_main.c 		const struct iphdr *ip = ip_hdr(skb);
ip               5781 drivers/net/ethernet/realtek/r8169_main.c 		if (ip->protocol == IPPROTO_TCP)
ip               5783 drivers/net/ethernet/realtek/r8169_main.c 		else if (ip->protocol == IPPROTO_UDP)
ip               2328 drivers/net/ethernet/sfc/ef10.c 	struct iphdr *ip;
ip               2343 drivers/net/ethernet/sfc/ef10.c 	ip = ip_hdr(skb);
ip               2344 drivers/net/ethernet/sfc/ef10.c 	if (ip->version == 4) {
ip               2346 drivers/net/ethernet/sfc/ef10.c 		ip->tot_len = 0;
ip               2347 drivers/net/ethernet/sfc/ef10.c 		ip->check = 0;
ip               2348 drivers/net/ethernet/sfc/ef10.c 		ipv4_id = ntohs(ip->id);
ip                 43 drivers/net/ethernet/sfc/falcon/selftest.c 	struct iphdr ip;
ip                299 drivers/net/ethernet/sfc/falcon/selftest.c 	received->ip.saddr = payload->ip.saddr;
ip                301 drivers/net/ethernet/sfc/falcon/selftest.c 		received->ip.check = payload->ip.check;
ip                329 drivers/net/ethernet/sfc/falcon/selftest.c 	if (memcmp(&received->ip, &payload->ip, sizeof(payload->ip)) != 0) {
ip                387 drivers/net/ethernet/sfc/falcon/selftest.c 	payload->ip.daddr = htonl(INADDR_LOOPBACK);
ip                388 drivers/net/ethernet/sfc/falcon/selftest.c 	payload->ip.ihl = 5;
ip                389 drivers/net/ethernet/sfc/falcon/selftest.c 	payload->ip.check = (__force __sum16) htons(0xdead);
ip                390 drivers/net/ethernet/sfc/falcon/selftest.c 	payload->ip.tot_len = htons(sizeof(*payload) - sizeof(struct ethhdr));
ip                391 drivers/net/ethernet/sfc/falcon/selftest.c 	payload->ip.version = IPVERSION;
ip                392 drivers/net/ethernet/sfc/falcon/selftest.c 	payload->ip.protocol = IPPROTO_UDP;
ip                433 drivers/net/ethernet/sfc/falcon/selftest.c 		payload->ip.saddr = htonl(INADDR_LOOPBACK | (i << 2));
ip                 43 drivers/net/ethernet/sfc/selftest.c 	struct iphdr ip;
ip                299 drivers/net/ethernet/sfc/selftest.c 	received->ip.saddr = payload->ip.saddr;
ip                301 drivers/net/ethernet/sfc/selftest.c 		received->ip.check = payload->ip.check;
ip                329 drivers/net/ethernet/sfc/selftest.c 	if (memcmp(&received->ip, &payload->ip, sizeof(payload->ip)) != 0) {
ip                387 drivers/net/ethernet/sfc/selftest.c 	payload->ip.daddr = htonl(INADDR_LOOPBACK);
ip                388 drivers/net/ethernet/sfc/selftest.c 	payload->ip.ihl = 5;
ip                389 drivers/net/ethernet/sfc/selftest.c 	payload->ip.check = (__force __sum16) htons(0xdead);
ip                390 drivers/net/ethernet/sfc/selftest.c 	payload->ip.tot_len = htons(sizeof(*payload) - sizeof(struct ethhdr));
ip                391 drivers/net/ethernet/sfc/selftest.c 	payload->ip.version = IPVERSION;
ip                392 drivers/net/ethernet/sfc/selftest.c 	payload->ip.protocol = IPPROTO_UDP;
ip                433 drivers/net/ethernet/sfc/selftest.c 		payload->ip.saddr = htonl(INADDR_LOOPBACK | (i << 2));
ip                118 drivers/net/ethernet/sgi/ioc3-eth.c static void ioc3_start(struct ioc3_private *ip);
ip                119 drivers/net/ethernet/sgi/ioc3-eth.c static inline void ioc3_stop(struct ioc3_private *ip);
ip                122 drivers/net/ethernet/sgi/ioc3-eth.c static void ioc3_free_rx_bufs(struct ioc3_private *ip);
ip                123 drivers/net/ethernet/sgi/ioc3-eth.c static inline void ioc3_clean_tx_ring(struct ioc3_private *ip);
ip                134 drivers/net/ethernet/sgi/ioc3-eth.c static inline int ioc3_alloc_skb(struct ioc3_private *ip, struct sk_buff **skb,
ip                150 drivers/net/ethernet/sgi/ioc3-eth.c 	d = dma_map_single(ip->dma_dev, new_skb->data,
ip                153 drivers/net/ethernet/sgi/ioc3-eth.c 	if (dma_mapping_error(ip->dma_dev, d)) {
ip                359 drivers/net/ethernet/sgi/ioc3-eth.c static void ioc3_get_eaddr_nic(struct ioc3_private *ip)
ip                361 drivers/net/ethernet/sgi/ioc3-eth.c 	u32 __iomem *mcr = &ip->all_regs->mcr;
ip                366 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(1 << 21, &ip->all_regs->gpcr_s);
ip                388 drivers/net/ethernet/sgi/ioc3-eth.c 		ip->dev->dev_addr[i - 2] = nic[i];
ip                395 drivers/net/ethernet/sgi/ioc3-eth.c static void ioc3_get_eaddr(struct ioc3_private *ip)
ip                397 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_get_eaddr_nic(ip);
ip                399 drivers/net/ethernet/sgi/ioc3-eth.c 	pr_info("Ethernet address is %pM.\n", ip->dev->dev_addr);
ip                404 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip                408 drivers/net/ethernet/sgi/ioc3-eth.c 	       &ip->regs->emar_h);
ip                413 drivers/net/ethernet/sgi/ioc3-eth.c 	       &ip->regs->emar_l);
ip                418 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip                423 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_lock_irq(&ip->ioc3_lock);
ip                425 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_unlock_irq(&ip->ioc3_lock);
ip                435 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip                436 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
ip                450 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip                451 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
ip                461 drivers/net/ethernet/sgi/ioc3-eth.c static int ioc3_mii_init(struct ioc3_private *ip);
ip                465 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip                466 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
ip                542 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip                550 drivers/net/ethernet/sgi/ioc3-eth.c 	rxr = ip->rxr;		/* Ring base */
ip                551 drivers/net/ethernet/sgi/ioc3-eth.c 	rx_entry = ip->rx_ci;				/* RX consume index */
ip                552 drivers/net/ethernet/sgi/ioc3-eth.c 	n_entry = ip->rx_pi;
ip                554 drivers/net/ethernet/sgi/ioc3-eth.c 	skb = ip->rx_skbs[rx_entry];
ip                565 drivers/net/ethernet/sgi/ioc3-eth.c 			if (ioc3_alloc_skb(ip, &new_skb, &rxb, &d)) {
ip                580 drivers/net/ethernet/sgi/ioc3-eth.c 			dma_unmap_single(ip->dma_dev, rxr[rx_entry],
ip                585 drivers/net/ethernet/sgi/ioc3-eth.c 			ip->rx_skbs[rx_entry] = NULL;	/* Poison  */
ip                604 drivers/net/ethernet/sgi/ioc3-eth.c 		ip->rx_skbs[n_entry] = new_skb;
ip                611 drivers/net/ethernet/sgi/ioc3-eth.c 		skb = ip->rx_skbs[rx_entry];
ip                615 drivers/net/ethernet/sgi/ioc3-eth.c 	writel((n_entry << 3) | ERPIR_ARM, &ip->regs->erpir);
ip                616 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->rx_pi = n_entry;
ip                617 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->rx_ci = rx_entry;
ip                622 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip                623 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
ip                629 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_lock(&ip->ioc3_lock);
ip                633 drivers/net/ethernet/sgi/ioc3-eth.c 	o_entry = ip->tx_ci;
ip                639 drivers/net/ethernet/sgi/ioc3-eth.c 		skb = ip->tx_skbs[o_entry];
ip                642 drivers/net/ethernet/sgi/ioc3-eth.c 		ip->tx_skbs[o_entry] = NULL;
ip                652 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->txqlen -= packets;
ip                654 drivers/net/ethernet/sgi/ioc3-eth.c 	if (netif_queue_stopped(dev) && ip->txqlen < TX_RING_ENTRIES)
ip                657 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->tx_ci = o_entry;
ip                658 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_unlock(&ip->ioc3_lock);
ip                669 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip                671 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_lock(&ip->ioc3_lock);
ip                686 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_stop(ip);
ip                687 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_free_rx_bufs(ip);
ip                688 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_clean_tx_ring(ip);
ip                693 drivers/net/ethernet/sgi/ioc3-eth.c 		spin_unlock(&ip->ioc3_lock);
ip                696 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_start(ip);
ip                697 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_mii_init(ip);
ip                701 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_unlock(&ip->ioc3_lock);
ip                709 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev_id);
ip                710 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
ip                728 drivers/net/ethernet/sgi/ioc3-eth.c static inline void ioc3_setup_duplex(struct ioc3_private *ip)
ip                730 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
ip                732 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_lock_irq(&ip->ioc3_lock);
ip                734 drivers/net/ethernet/sgi/ioc3-eth.c 	if (ip->mii.full_duplex) {
ip                736 drivers/net/ethernet/sgi/ioc3-eth.c 		ip->emcr |= EMCR_DUPLEX;
ip                739 drivers/net/ethernet/sgi/ioc3-eth.c 		ip->emcr &= ~EMCR_DUPLEX;
ip                741 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ip->emcr, &regs->emcr);
ip                743 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_unlock_irq(&ip->ioc3_lock);
ip                748 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = from_timer(ip, t, ioc3_timer);
ip                751 drivers/net/ethernet/sgi/ioc3-eth.c 	mii_check_media(&ip->mii, 1, 0);
ip                752 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_setup_duplex(ip);
ip                754 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->ioc3_timer.expires = jiffies + ((12 * HZ) / 10); /* 1.2s */
ip                755 drivers/net/ethernet/sgi/ioc3-eth.c 	add_timer(&ip->ioc3_timer);
ip                765 drivers/net/ethernet/sgi/ioc3-eth.c static int ioc3_mii_init(struct ioc3_private *ip)
ip                772 drivers/net/ethernet/sgi/ioc3-eth.c 		word = ioc3_mdio_read(ip->dev, i, MII_PHYSID1);
ip                784 drivers/net/ethernet/sgi/ioc3-eth.c 			ip->mii.phy_id = -1;
ip                790 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->mii.phy_id = i;
ip                796 drivers/net/ethernet/sgi/ioc3-eth.c static void ioc3_mii_start(struct ioc3_private *ip)
ip                798 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->ioc3_timer.expires = jiffies + (12 * HZ) / 10;  /* 1.2 sec. */
ip                799 drivers/net/ethernet/sgi/ioc3-eth.c 	add_timer(&ip->ioc3_timer);
ip                802 drivers/net/ethernet/sgi/ioc3-eth.c static inline void ioc3_tx_unmap(struct ioc3_private *ip, int entry)
ip                807 drivers/net/ethernet/sgi/ioc3-eth.c 	desc = &ip->txr[entry];
ip                812 drivers/net/ethernet/sgi/ioc3-eth.c 		dma_unmap_single(ip->dma_dev, be64_to_cpu(desc->p1),
ip                817 drivers/net/ethernet/sgi/ioc3-eth.c 		dma_unmap_single(ip->dma_dev, be64_to_cpu(desc->p2),
ip                822 drivers/net/ethernet/sgi/ioc3-eth.c static inline void ioc3_clean_tx_ring(struct ioc3_private *ip)
ip                828 drivers/net/ethernet/sgi/ioc3-eth.c 		skb = ip->tx_skbs[i];
ip                830 drivers/net/ethernet/sgi/ioc3-eth.c 			ioc3_tx_unmap(ip, i);
ip                831 drivers/net/ethernet/sgi/ioc3-eth.c 			ip->tx_skbs[i] = NULL;
ip                834 drivers/net/ethernet/sgi/ioc3-eth.c 		ip->txr[i].cmd = 0;
ip                836 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->tx_pi = 0;
ip                837 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->tx_ci = 0;
ip                840 drivers/net/ethernet/sgi/ioc3-eth.c static void ioc3_free_rx_bufs(struct ioc3_private *ip)
ip                845 drivers/net/ethernet/sgi/ioc3-eth.c 	n_entry = ip->rx_ci;
ip                846 drivers/net/ethernet/sgi/ioc3-eth.c 	rx_entry = ip->rx_pi;
ip                849 drivers/net/ethernet/sgi/ioc3-eth.c 		skb = ip->rx_skbs[n_entry];
ip                851 drivers/net/ethernet/sgi/ioc3-eth.c 			dma_unmap_single(ip->dma_dev,
ip                852 drivers/net/ethernet/sgi/ioc3-eth.c 					 be64_to_cpu(ip->rxr[n_entry]),
ip                862 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip                872 drivers/net/ethernet/sgi/ioc3-eth.c 		if (ioc3_alloc_skb(ip, &ip->rx_skbs[i], &rxb, &d))
ip                876 drivers/net/ethernet/sgi/ioc3-eth.c 		ip->rxr[i] = cpu_to_be64(ioc3_map(d, PCI64_ATTR_BAR));
ip                878 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->rx_ci = 0;
ip                879 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->rx_pi = RX_BUFFS;
ip                884 drivers/net/ethernet/sgi/ioc3-eth.c static inline void ioc3_ssram_disc(struct ioc3_private *ip)
ip                886 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
ip                887 drivers/net/ethernet/sgi/ioc3-eth.c 	u32 *ssram0 = &ip->ssram[0x0000];
ip                888 drivers/net/ethernet/sgi/ioc3-eth.c 	u32 *ssram1 = &ip->ssram[0x4000];
ip                901 drivers/net/ethernet/sgi/ioc3-eth.c 		ip->emcr |= EMCR_RAMPAR;
ip                904 drivers/net/ethernet/sgi/ioc3-eth.c 		ip->emcr |= EMCR_BUFSIZ | EMCR_RAMPAR;
ip                910 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip                911 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
ip                913 drivers/net/ethernet/sgi/ioc3-eth.c 	del_timer_sync(&ip->ioc3_timer);	/* Kill if running	*/
ip                927 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ip->ehar_h, &regs->ehar_h);
ip                928 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ip->ehar_l, &regs->ehar_l);
ip                932 drivers/net/ethernet/sgi/ioc3-eth.c static void ioc3_start(struct ioc3_private *ip)
ip                934 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
ip                938 drivers/net/ethernet/sgi/ioc3-eth.c 	ring = ioc3_map(ip->rxr_dma, PCI64_ATTR_PREC);
ip                941 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ip->rx_ci << 3, &regs->ercir);
ip                942 drivers/net/ethernet/sgi/ioc3-eth.c 	writel((ip->rx_pi << 3) | ERPIR_ARM, &regs->erpir);
ip                944 drivers/net/ethernet/sgi/ioc3-eth.c 	ring = ioc3_map(ip->txr_dma, PCI64_ATTR_PREC);
ip                946 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->txqlen = 0;					/* nothing queued  */
ip                951 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ip->tx_pi << 7, &regs->etpir);
ip                952 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ip->tx_ci << 7, &regs->etcir);
ip                955 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->emcr |= ((RX_OFFSET / 2) << EMCR_RXOFF_SHIFT) | EMCR_TXDMAEN |
ip                957 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ip->emcr, &regs->emcr);
ip                964 drivers/net/ethernet/sgi/ioc3-eth.c static inline void ioc3_stop(struct ioc3_private *ip)
ip                966 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
ip                975 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip                983 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->ehar_h = 0;
ip                984 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->ehar_l = 0;
ip                991 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_start(ip);
ip                992 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_mii_start(ip);
ip               1000 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip               1002 drivers/net/ethernet/sgi/ioc3-eth.c 	del_timer_sync(&ip->ioc3_timer);
ip               1006 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_stop(ip);
ip               1009 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_free_rx_bufs(ip);
ip               1010 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_clean_tx_ring(ip);
ip               1172 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip;
ip               1216 drivers/net/ethernet/sgi/ioc3-eth.c 	ip = netdev_priv(dev);
ip               1217 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->dev = dev;
ip               1218 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->dma_dev = &pdev->dev;
ip               1231 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->regs = &ioc3->eth;
ip               1232 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->ssram = ioc3->ssram;
ip               1233 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->all_regs = ioc3;
ip               1239 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_lock_init(&ip->ioc3_lock);
ip               1240 drivers/net/ethernet/sgi/ioc3-eth.c 	timer_setup(&ip->ioc3_timer, ioc3_timer, 0);
ip               1242 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_stop(ip);
ip               1245 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->rxr = dma_direct_alloc_pages(ip->dma_dev, RX_RING_SIZE,
ip               1246 drivers/net/ethernet/sgi/ioc3-eth.c 					 &ip->rxr_dma, GFP_ATOMIC, 0);
ip               1247 drivers/net/ethernet/sgi/ioc3-eth.c 	if (!ip->rxr) {
ip               1254 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->txr = dma_direct_alloc_pages(ip->dma_dev, TX_RING_SIZE,
ip               1255 drivers/net/ethernet/sgi/ioc3-eth.c 					 &ip->txr_dma,
ip               1257 drivers/net/ethernet/sgi/ioc3-eth.c 	if (!ip->txr) {
ip               1265 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->pdev = pdev;
ip               1267 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->mii.phy_id_mask = 0x1f;
ip               1268 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->mii.reg_num_mask = 0x1f;
ip               1269 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->mii.dev = dev;
ip               1270 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->mii.mdio_read = ioc3_mdio_read;
ip               1271 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->mii.mdio_write = ioc3_mdio_write;
ip               1273 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_mii_init(ip);
ip               1275 drivers/net/ethernet/sgi/ioc3-eth.c 	if (ip->mii.phy_id == -1) {
ip               1282 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_mii_start(ip);
ip               1283 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_ssram_disc(ip);
ip               1284 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_get_eaddr(ip);
ip               1293 drivers/net/ethernet/sgi/ioc3-eth.c 	sw_physid1 = ioc3_mdio_read(dev, ip->mii.phy_id, MII_PHYSID1);
ip               1294 drivers/net/ethernet/sgi/ioc3-eth.c 	sw_physid2 = ioc3_mdio_read(dev, ip->mii.phy_id, MII_PHYSID2);
ip               1300 drivers/net/ethernet/sgi/ioc3-eth.c 	mii_check_media(&ip->mii, 1, 1);
ip               1301 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_setup_duplex(ip);
ip               1307 drivers/net/ethernet/sgi/ioc3-eth.c 		    ip->mii.phy_id, vendor, model, rev);
ip               1309 drivers/net/ethernet/sgi/ioc3-eth.c 		    ip->emcr & EMCR_BUFSIZ ? 128 : 64);
ip               1314 drivers/net/ethernet/sgi/ioc3-eth.c 	del_timer_sync(&ip->ioc3_timer);
ip               1315 drivers/net/ethernet/sgi/ioc3-eth.c 	if (ip->rxr)
ip               1316 drivers/net/ethernet/sgi/ioc3-eth.c 		dma_direct_free_pages(ip->dma_dev, RX_RING_SIZE, ip->rxr,
ip               1317 drivers/net/ethernet/sgi/ioc3-eth.c 				      ip->rxr_dma, 0);
ip               1318 drivers/net/ethernet/sgi/ioc3-eth.c 	if (ip->txr)
ip               1319 drivers/net/ethernet/sgi/ioc3-eth.c 		dma_direct_free_pages(ip->dma_dev, TX_RING_SIZE, ip->txr,
ip               1320 drivers/net/ethernet/sgi/ioc3-eth.c 				      ip->txr_dma, 0);
ip               1336 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip               1338 drivers/net/ethernet/sgi/ioc3-eth.c 	dma_direct_free_pages(ip->dma_dev, RX_RING_SIZE, ip->rxr,
ip               1339 drivers/net/ethernet/sgi/ioc3-eth.c 			      ip->rxr_dma, 0);
ip               1340 drivers/net/ethernet/sgi/ioc3-eth.c 	dma_direct_free_pages(ip->dma_dev, TX_RING_SIZE, ip->txr,
ip               1341 drivers/net/ethernet/sgi/ioc3-eth.c 			      ip->txr_dma, 0);
ip               1344 drivers/net/ethernet/sgi/ioc3-eth.c 	del_timer_sync(&ip->ioc3_timer);
ip               1346 drivers/net/ethernet/sgi/ioc3-eth.c 	iounmap(ip->all_regs);
ip               1369 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip               1421 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_lock_irq(&ip->ioc3_lock);
ip               1426 drivers/net/ethernet/sgi/ioc3-eth.c 	produce = ip->tx_pi;
ip               1427 drivers/net/ethernet/sgi/ioc3-eth.c 	desc = &ip->txr[produce];
ip               1449 drivers/net/ethernet/sgi/ioc3-eth.c 		d1 = dma_map_single(ip->dma_dev, skb->data, s1, DMA_TO_DEVICE);
ip               1450 drivers/net/ethernet/sgi/ioc3-eth.c 		if (dma_mapping_error(ip->dma_dev, d1))
ip               1452 drivers/net/ethernet/sgi/ioc3-eth.c 		d2 = dma_map_single(ip->dma_dev, (void *)b2, s1, DMA_TO_DEVICE);
ip               1453 drivers/net/ethernet/sgi/ioc3-eth.c 		if (dma_mapping_error(ip->dma_dev, d2)) {
ip               1454 drivers/net/ethernet/sgi/ioc3-eth.c 			dma_unmap_single(ip->dma_dev, d1, len, DMA_TO_DEVICE);
ip               1465 drivers/net/ethernet/sgi/ioc3-eth.c 		d = dma_map_single(ip->dma_dev, skb->data, len, DMA_TO_DEVICE);
ip               1466 drivers/net/ethernet/sgi/ioc3-eth.c 		if (dma_mapping_error(ip->dma_dev, d))
ip               1473 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->tx_skbs[produce] = skb;			/* Remember skb */
ip               1475 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->tx_pi = produce;
ip               1476 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(produce << 7, &ip->regs->etpir);		/* Fire ... */
ip               1478 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->txqlen++;
ip               1480 drivers/net/ethernet/sgi/ioc3-eth.c 	if (ip->txqlen >= (TX_RING_ENTRIES - 1))
ip               1483 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_unlock_irq(&ip->ioc3_lock);
ip               1491 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_unlock_irq(&ip->ioc3_lock);
ip               1498 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip               1502 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_lock_irq(&ip->ioc3_lock);
ip               1504 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_stop(ip);
ip               1505 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_free_rx_bufs(ip);
ip               1506 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_clean_tx_ring(ip);
ip               1511 drivers/net/ethernet/sgi/ioc3-eth.c 		spin_unlock_irq(&ip->ioc3_lock);
ip               1514 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_start(ip);
ip               1515 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_mii_init(ip);
ip               1516 drivers/net/ethernet/sgi/ioc3-eth.c 	ioc3_mii_start(ip);
ip               1518 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_unlock_irq(&ip->ioc3_lock);
ip               1547 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip               1551 drivers/net/ethernet/sgi/ioc3-eth.c 	strlcpy(info->bus_info, pci_name(ip->pdev), sizeof(info->bus_info));
ip               1557 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip               1559 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_lock_irq(&ip->ioc3_lock);
ip               1560 drivers/net/ethernet/sgi/ioc3-eth.c 	mii_ethtool_get_link_ksettings(&ip->mii, cmd);
ip               1561 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_unlock_irq(&ip->ioc3_lock);
ip               1569 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip               1572 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_lock_irq(&ip->ioc3_lock);
ip               1573 drivers/net/ethernet/sgi/ioc3-eth.c 	rc = mii_ethtool_set_link_ksettings(&ip->mii, cmd);
ip               1574 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_unlock_irq(&ip->ioc3_lock);
ip               1581 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip               1584 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_lock_irq(&ip->ioc3_lock);
ip               1585 drivers/net/ethernet/sgi/ioc3-eth.c 	rc = mii_nway_restart(&ip->mii);
ip               1586 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_unlock_irq(&ip->ioc3_lock);
ip               1593 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip               1596 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_lock_irq(&ip->ioc3_lock);
ip               1597 drivers/net/ethernet/sgi/ioc3-eth.c 	rc = mii_link_ok(&ip->mii);
ip               1598 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_unlock_irq(&ip->ioc3_lock);
ip               1613 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip               1616 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_lock_irq(&ip->ioc3_lock);
ip               1617 drivers/net/ethernet/sgi/ioc3-eth.c 	rc = generic_mii_ioctl(&ip->mii, if_mii(rq), cmd, NULL);
ip               1618 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_unlock_irq(&ip->ioc3_lock);
ip               1625 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_private *ip = netdev_priv(dev);
ip               1626 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
ip               1630 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_lock_irq(&ip->ioc3_lock);
ip               1633 drivers/net/ethernet/sgi/ioc3-eth.c 		ip->emcr |= EMCR_PROMISC;
ip               1634 drivers/net/ethernet/sgi/ioc3-eth.c 		writel(ip->emcr, &regs->emcr);
ip               1637 drivers/net/ethernet/sgi/ioc3-eth.c 		ip->emcr &= ~EMCR_PROMISC;
ip               1638 drivers/net/ethernet/sgi/ioc3-eth.c 		writel(ip->emcr, &regs->emcr);		/* Clear promiscuous. */
ip               1647 drivers/net/ethernet/sgi/ioc3-eth.c 			ip->ehar_h = 0xffffffff;
ip               1648 drivers/net/ethernet/sgi/ioc3-eth.c 			ip->ehar_l = 0xffffffff;
ip               1653 drivers/net/ethernet/sgi/ioc3-eth.c 			ip->ehar_h = ehar >> 32;
ip               1654 drivers/net/ethernet/sgi/ioc3-eth.c 			ip->ehar_l = ehar & 0xffffffff;
ip               1656 drivers/net/ethernet/sgi/ioc3-eth.c 		writel(ip->ehar_h, &regs->ehar_h);
ip               1657 drivers/net/ethernet/sgi/ioc3-eth.c 		writel(ip->ehar_l, &regs->ehar_l);
ip               1660 drivers/net/ethernet/sgi/ioc3-eth.c 	spin_unlock_irq(&ip->ioc3_lock);
ip               2585 drivers/net/ethernet/via/via-velocity.c 		const struct iphdr *ip = ip_hdr(skb);
ip               2586 drivers/net/ethernet/via/via-velocity.c 		if (ip->protocol == IPPROTO_TCP)
ip               2588 drivers/net/ethernet/via/via-velocity.c 		else if (ip->protocol == IPPROTO_UDP)
ip                 99 drivers/net/gtp.c static inline u32 ipv4_hashfn(__be32 ip)
ip                101 drivers/net/gtp.c 	return jhash_1word((__force u32)ip, gtp_h_initval);
ip               1112 drivers/net/gtp.c 		__be32 ip = nla_get_be32(nla[GTPA_MS_ADDRESS]);
ip               1114 drivers/net/gtp.c 		return ipv4_pdp_find(gtp, ip);
ip                477 drivers/net/hyperv/netvsc_drv.c 		struct iphdr *ip = ip_hdr(skb);
ip                479 drivers/net/hyperv/netvsc_drv.c 		if (ip->protocol == IPPROTO_TCP)
ip                481 drivers/net/hyperv/netvsc_drv.c 		else if (ip->protocol == IPPROTO_UDP)
ip                497 drivers/net/netconsole.c 			nt->np.local_ip.ip = in_aton(buf);
ip                533 drivers/net/netconsole.c 			nt->np.remote_ip.ip = in_aton(buf);
ip                238 drivers/net/slip/slhc.c 	struct iphdr *ip;
ip                250 drivers/net/slip/slhc.c 	ip = (struct iphdr *) icp;
ip                251 drivers/net/slip/slhc.c 	if (ip->version != 4 || ip->ihl < 5)
ip                255 drivers/net/slip/slhc.c 	if (ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x3fff)) {
ip                257 drivers/net/slip/slhc.c 		if(ip->protocol != IPPROTO_TCP)
ip                263 drivers/net/slip/slhc.c 	nlen = ip->ihl * 4;
ip                297 drivers/net/slip/slhc.c 		if( ip->saddr == cs->cs_ip.saddr
ip                298 drivers/net/slip/slhc.c 		 && ip->daddr == cs->cs_ip.daddr
ip                353 drivers/net/slip/slhc.c 	if(ip->version != cs->cs_ip.version || ip->ihl != cs->cs_ip.ihl
ip                354 drivers/net/slip/slhc.c 	 || ip->tos != cs->cs_ip.tos
ip                355 drivers/net/slip/slhc.c 	 || (ip->frag_off & htons(0x4000)) != (cs->cs_ip.frag_off & htons(0x4000))
ip                356 drivers/net/slip/slhc.c 	 || ip->ttl != cs->cs_ip.ttl
ip                358 drivers/net/slip/slhc.c 	 || (ip->ihl > 5 && memcmp(ip+1,cs->cs_ipopt,((ip->ihl)-5)*4) != 0)
ip                405 drivers/net/slip/slhc.c 		if(ip->tot_len != cs->cs_ip.tot_len &&
ip                431 drivers/net/slip/slhc.c 	deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id);
ip                442 drivers/net/slip/slhc.c 	memcpy(&cs->cs_ip,ip,20);
ip                476 drivers/net/slip/slhc.c 	memcpy(&cs->cs_ip,ip,20);
ip                478 drivers/net/slip/slhc.c 	if (ip->ihl > 5)
ip                479 drivers/net/slip/slhc.c 	  memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4);
ip                498 drivers/net/slip/slhc.c 	struct iphdr *ip;
ip                535 drivers/net/slip/slhc.c 	ip = &cs->cs_ip;
ip                547 drivers/net/slip/slhc.c 	hdrlen = ip->ihl * 4 + thp->doff * 4;
ip                553 drivers/net/slip/slhc.c 		i = ntohs(ip->tot_len) - hdrlen;
ip                561 drivers/net/slip/slhc.c 				  ntohs(ip->tot_len) - hdrlen);
ip                597 drivers/net/slip/slhc.c 		ip->id = htons (ntohs (ip->id) + x);
ip                599 drivers/net/slip/slhc.c 		ip->id = htons (ntohs (ip->id) + 1);
ip                611 drivers/net/slip/slhc.c 	ip->tot_len = htons(len);
ip                612 drivers/net/slip/slhc.c 	ip->check = 0;
ip                617 drivers/net/slip/slhc.c 	memcpy(cp, ip, 20);
ip                620 drivers/net/slip/slhc.c 	if (ip->ihl > 5) {
ip                621 drivers/net/slip/slhc.c 	  memcpy(cp, cs->cs_ipopt, (ip->ihl - 5) * 4);
ip                622 drivers/net/slip/slhc.c 	  cp += (ip->ihl - 5) * 4;
ip                625 drivers/net/slip/slhc.c 	put_unaligned(ip_fast_csum(icp, ip->ihl),
ip                106 drivers/net/vxlan.c static int vxlan_nla_get_addr(union vxlan_addr *ip, struct nlattr *nla)
ip                109 drivers/net/vxlan.c 		ip->sin6.sin6_addr = nla_get_in6_addr(nla);
ip                110 drivers/net/vxlan.c 		ip->sa.sa_family = AF_INET6;
ip                113 drivers/net/vxlan.c 		ip->sin.sin_addr.s_addr = nla_get_in_addr(nla);
ip                114 drivers/net/vxlan.c 		ip->sa.sa_family = AF_INET;
ip                122 drivers/net/vxlan.c 			      const union vxlan_addr *ip)
ip                124 drivers/net/vxlan.c 	if (ip->sa.sa_family == AF_INET6)
ip                125 drivers/net/vxlan.c 		return nla_put_in6_addr(skb, attr, &ip->sin6.sin6_addr);
ip                127 drivers/net/vxlan.c 		return nla_put_in_addr(skb, attr, ip->sin.sin_addr.s_addr);
ip                138 drivers/net/vxlan.c static int vxlan_nla_get_addr(union vxlan_addr *ip, struct nlattr *nla)
ip                143 drivers/net/vxlan.c 		ip->sin.sin_addr.s_addr = nla_get_in_addr(nla);
ip                144 drivers/net/vxlan.c 		ip->sa.sa_family = AF_INET;
ip                152 drivers/net/vxlan.c 			      const union vxlan_addr *ip)
ip                154 drivers/net/vxlan.c 	return nla_put_in_addr(skb, attr, ip->sin.sin_addr.s_addr);
ip                521 drivers/net/vxlan.c 					      union vxlan_addr *ip, __be16 port,
ip                527 drivers/net/vxlan.c 		if (vxlan_addr_equal(&rd->remote_ip, ip) &&
ip                646 drivers/net/vxlan.c 			     union vxlan_addr *ip, __be16 port, __be32 vni,
ip                651 drivers/net/vxlan.c 	rd = vxlan_fdb_find_rdst(f, ip, port, vni, ifindex);
ip                661 drivers/net/vxlan.c 	rd->remote_ip = *ip;
ip                671 drivers/net/vxlan.c 			    union vxlan_addr *ip, __be16 port, __be32 vni,
ip                676 drivers/net/vxlan.c 	rd = vxlan_fdb_find_rdst(f, ip, port, vni, ifindex);
ip                689 drivers/net/vxlan.c 	rd->remote_ip = *ip;
ip                824 drivers/net/vxlan.c 			    const u8 *mac, union vxlan_addr *ip,
ip                837 drivers/net/vxlan.c 	netdev_dbg(vxlan->dev, "add %pM -> %pIS\n", mac, ip);
ip                842 drivers/net/vxlan.c 	rc = vxlan_fdb_append(f, ip, port, vni, ifindex, &rd);
ip                897 drivers/net/vxlan.c 				     union vxlan_addr *ip,
ip                933 drivers/net/vxlan.c 			rc = vxlan_fdb_replace(f, ip, port, vni,
ip                943 drivers/net/vxlan.c 		rc = vxlan_fdb_append(f, ip, port, vni, ifindex, &rd);
ip                976 drivers/net/vxlan.c 				   const u8 *mac, union vxlan_addr *ip,
ip                992 drivers/net/vxlan.c 	netdev_dbg(vxlan->dev, "add %pM -> %pIS\n", mac, ip);
ip                993 drivers/net/vxlan.c 	rc = vxlan_fdb_create(vxlan, mac, ip, state, port, src_vni,
ip               1013 drivers/net/vxlan.c 			    const u8 *mac, union vxlan_addr *ip,
ip               1030 drivers/net/vxlan.c 		return vxlan_fdb_update_existing(vxlan, ip, state, flags, port,
ip               1037 drivers/net/vxlan.c 		return vxlan_fdb_update_create(vxlan, mac, ip, state, flags,
ip               1052 drivers/net/vxlan.c 			   union vxlan_addr *ip, __be16 *port, __be32 *src_vni,
ip               1059 drivers/net/vxlan.c 		err = vxlan_nla_get_addr(ip, tb[NDA_DST]);
ip               1065 drivers/net/vxlan.c 			ip->sin.sin_addr.s_addr = htonl(INADDR_ANY);
ip               1066 drivers/net/vxlan.c 			ip->sa.sa_family = AF_INET;
ip               1069 drivers/net/vxlan.c 			ip->sin6.sin6_addr = in6addr_any;
ip               1070 drivers/net/vxlan.c 			ip->sa.sa_family = AF_INET6;
ip               1123 drivers/net/vxlan.c 	union vxlan_addr ip;
ip               1139 drivers/net/vxlan.c 	err = vxlan_fdb_parse(tb, vxlan, &ip, &port, &src_vni, &vni, &ifindex);
ip               1143 drivers/net/vxlan.c 	if (vxlan->default_dst.remote_ip.sa.sa_family != ip.sa.sa_family)
ip               1148 drivers/net/vxlan.c 	err = vxlan_fdb_update(vxlan, addr, &ip, ndm->ndm_state, flags,
ip               1158 drivers/net/vxlan.c 			      const unsigned char *addr, union vxlan_addr ip,
ip               1170 drivers/net/vxlan.c 	if (!vxlan_addr_any(&ip)) {
ip               1171 drivers/net/vxlan.c 		rd = vxlan_fdb_find_rdst(f, &ip, port, vni, ifindex);
ip               1196 drivers/net/vxlan.c 	union vxlan_addr ip;
ip               1203 drivers/net/vxlan.c 	err = vxlan_fdb_parse(tb, vxlan, &ip, &port, &src_vni, &vni, &ifindex);
ip               1209 drivers/net/vxlan.c 	err = __vxlan_fdb_delete(vxlan, addr, ip, port, src_vni, vni, ifindex,
ip               1447 drivers/net/vxlan.c 	union vxlan_addr *ip = &vxlan->default_dst.remote_ip;
ip               1451 drivers/net/vxlan.c 	if (ip->sa.sa_family == AF_INET) {
ip               1454 drivers/net/vxlan.c 			.imr_multiaddr.s_addr	= ip->sin.sin_addr.s_addr,
ip               1469 drivers/net/vxlan.c 						   &ip->sin6.sin6_addr);
ip               1481 drivers/net/vxlan.c 	union vxlan_addr *ip = &vxlan->default_dst.remote_ip;
ip               1485 drivers/net/vxlan.c 	if (ip->sa.sa_family == AF_INET) {
ip               1488 drivers/net/vxlan.c 			.imr_multiaddr.s_addr	= ip->sin.sin_addr.s_addr,
ip               1503 drivers/net/vxlan.c 						   &ip->sin6.sin6_addr);
ip                654 drivers/net/wireless/ath/ath5k/eeprom.c 	const u16 *ip;
ip                658 drivers/net/wireless/ath/ath5k/eeprom.c 		ip = intercepts3_2;
ip                660 drivers/net/wireless/ath/ath5k/eeprom.c 		ip = intercepts3;
ip                663 drivers/net/wireless/ath/ath5k/eeprom.c 		vp[i] = (ip[i] * max + (100 - ip[i]) * min) / 100;
ip               4271 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	int ip = 0;
ip               4281 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	for (ip = 0; ip < np; ip++) {
ip               4282 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		dx = x - px[ip];
ip               4288 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				hx = px[ip];
ip               4289 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				hy = py[ip];
ip               4297 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				lx = px[ip];
ip               4298 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				ly = py[ip];
ip                212 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 	struct iphdr *ip;
ip                218 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 	ip = ip_hdr(skb);
ip                219 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 	switch (ip->tos & 0xfc) {
ip                 44 drivers/net/wireless/intel/iwlegacy/3945.c #define IL_DECLARE_RATE_INFO(r, ip, in, rp, rn, pp, np)    \
ip                 47 drivers/net/wireless/intel/iwlegacy/3945.c 				    RATE_##ip##M_IDX, \
ip                 54 drivers/net/wireless/intel/iwlegacy/3945.c 				    RATE_##ip##M_IDX_TBL }
ip                 61 drivers/net/wireless/intel/iwlegacy/4965-rs.c #define IL_DECLARE_RATE_INFO(r, s, ip, in, rp, rn, pp, np)    \
ip                 66 drivers/net/wireless/intel/iwlegacy/4965-rs.c 				    RATE_##ip##M_IDX,    \
ip                 61 drivers/net/wireless/intel/iwlwifi/dvm/rs.c #define IWL_DECLARE_RATE_INFO(r, s, ip, in, rp, rn, pp, np)    \
ip                 67 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 				    IWL_RATE_##ip##M_INDEX,    \
ip               1501 drivers/net/wireless/realtek/rtlwifi/base.c 	const struct iphdr *ip;
ip               1510 drivers/net/wireless/realtek/rtlwifi/base.c 		ip = (struct iphdr *)((u8 *)ether_type_ptr +
ip               1512 drivers/net/wireless/realtek/rtlwifi/base.c 		if (IPPROTO_UDP == ip->protocol) {
ip               1513 drivers/net/wireless/realtek/rtlwifi/base.c 			struct udphdr *udp = (struct udphdr *)((u8 *)ip +
ip               1514 drivers/net/wireless/realtek/rtlwifi/base.c 							       (ip->ihl << 2));
ip               2556 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 		if (!ctx->maps[desc->ip])
ip               2573 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 		if (desc->ip == ASPEED_IP_SCU && desc->reg == HW_STRAP1 &&
ip               2577 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 		if (desc->ip == ASPEED_IP_SCU && desc->reg == HW_STRAP2)
ip               2580 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 		ret = regmap_update_bits(ctx->maps[desc->ip], desc->reg,
ip               2618 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 					       int ip)
ip               2620 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 	if (ip == ASPEED_IP_SCU) {
ip               2621 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		WARN(!ctx->maps[ip], "Missing SCU syscon!");
ip               2622 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		return ctx->maps[ip];
ip               2625 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 	if (ip >= ASPEED_NR_PINMUX_IPS)
ip               2628 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 	if (likely(ctx->maps[ip]))
ip               2629 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		return ctx->maps[ip];
ip               2631 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 	if (ip == ASPEED_IP_GFX) {
ip               2650 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 	if (ip == ASPEED_IP_LPC) {
ip               2683 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		map = aspeed_g5_acquire_regmap(ctx, desc->ip);
ip               2687 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 				desc->ip);
ip               2691 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		ret = aspeed_sig_desc_eval(desc, enabled, ctx->maps[desc->ip]);
ip               2725 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		map = aspeed_g5_acquire_regmap(ctx, desc->ip);
ip               2729 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 				desc->ip);
ip               2747 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		if (desc->ip == ASPEED_IP_SCU && desc->reg == HW_STRAP1 &&
ip               2751 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		if (desc->ip == ASPEED_IP_SCU && desc->reg == HW_STRAP2)
ip               2755 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		if (desc->ip == ASPEED_IP_SCU && desc->reg == HW_STRAP1) {
ip               2759 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 				ret = regmap_write(ctx->maps[desc->ip],
ip               2766 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		ret = regmap_update_bits(ctx->maps[desc->ip], desc->reg,
ip               2259 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 		if (!ctx->maps[desc->ip])
ip               2262 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 		WARN_ON(desc->ip != ASPEED_IP_SCU);
ip               2280 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 				ret = regmap_update_bits(ctx->maps[desc->ip],
ip               2285 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 		ret = regmap_update_bits(ctx->maps[desc->ip], desc->reg,
ip                 18 drivers/pinctrl/aspeed/pinmux-aspeed.c 			aspeed_pinmux_ips[desc->ip], desc->reg,
ip                 93 drivers/pinctrl/aspeed/pinmux-aspeed.c 		ret = aspeed_sig_desc_eval(desc, enabled, ctx->maps[desc->ip]);
ip                443 drivers/pinctrl/aspeed/pinmux-aspeed.h 	unsigned int ip;
ip                487 drivers/pinctrl/aspeed/pinmux-aspeed.h #define SIG_DESC_IP_BIT(ip, reg, idx, val) \
ip                488 drivers/pinctrl/aspeed/pinmux-aspeed.h 	{ ip, reg, BIT_MASK(idx), val, (((val) + 1) & 1) }
ip                501 drivers/pinctrl/aspeed/pinmux-aspeed.h #define SIG_DESC_IP_SET(ip, reg, idx) SIG_DESC_IP_BIT(ip, reg, idx, 1)
ip                 57 drivers/pwm/pwm-bcm-iproc.c static void iproc_pwmc_enable(struct iproc_pwmc *ip, unsigned int channel)
ip                 61 drivers/pwm/pwm-bcm-iproc.c 	value = readl(ip->base + IPROC_PWM_CTRL_OFFSET);
ip                 63 drivers/pwm/pwm-bcm-iproc.c 	writel(value, ip->base + IPROC_PWM_CTRL_OFFSET);
ip                 69 drivers/pwm/pwm-bcm-iproc.c static void iproc_pwmc_disable(struct iproc_pwmc *ip, unsigned int channel)
ip                 73 drivers/pwm/pwm-bcm-iproc.c 	value = readl(ip->base + IPROC_PWM_CTRL_OFFSET);
ip                 75 drivers/pwm/pwm-bcm-iproc.c 	writel(value, ip->base + IPROC_PWM_CTRL_OFFSET);
ip                 84 drivers/pwm/pwm-bcm-iproc.c 	struct iproc_pwmc *ip = to_iproc_pwmc(chip);
ip                 88 drivers/pwm/pwm-bcm-iproc.c 	rate = clk_get_rate(ip->clk);
ip                 90 drivers/pwm/pwm-bcm-iproc.c 	value = readl(ip->base + IPROC_PWM_CTRL_OFFSET);
ip                102 drivers/pwm/pwm-bcm-iproc.c 	value = readl(ip->base + IPROC_PWM_PRESCALE_OFFSET);
ip                108 drivers/pwm/pwm-bcm-iproc.c 	value = readl(ip->base + IPROC_PWM_PERIOD_OFFSET(pwm->hwpwm));
ip                112 drivers/pwm/pwm-bcm-iproc.c 	value = readl(ip->base + IPROC_PWM_DUTY_CYCLE_OFFSET(pwm->hwpwm));
ip                121 drivers/pwm/pwm-bcm-iproc.c 	struct iproc_pwmc *ip = to_iproc_pwmc(chip);
ip                125 drivers/pwm/pwm-bcm-iproc.c 	rate = clk_get_rate(ip->clk);
ip                159 drivers/pwm/pwm-bcm-iproc.c 	iproc_pwmc_disable(ip, pwm->hwpwm);
ip                162 drivers/pwm/pwm-bcm-iproc.c 	value = readl(ip->base + IPROC_PWM_PRESCALE_OFFSET);
ip                165 drivers/pwm/pwm-bcm-iproc.c 	writel(value, ip->base + IPROC_PWM_PRESCALE_OFFSET);
ip                168 drivers/pwm/pwm-bcm-iproc.c 	writel(period, ip->base + IPROC_PWM_PERIOD_OFFSET(pwm->hwpwm));
ip                169 drivers/pwm/pwm-bcm-iproc.c 	writel(duty, ip->base + IPROC_PWM_DUTY_CYCLE_OFFSET(pwm->hwpwm));
ip                172 drivers/pwm/pwm-bcm-iproc.c 	value = readl(ip->base + IPROC_PWM_CTRL_OFFSET);
ip                179 drivers/pwm/pwm-bcm-iproc.c 	writel(value, ip->base + IPROC_PWM_CTRL_OFFSET);
ip                182 drivers/pwm/pwm-bcm-iproc.c 		iproc_pwmc_enable(ip, pwm->hwpwm);
ip                195 drivers/pwm/pwm-bcm-iproc.c 	struct iproc_pwmc *ip;
ip                201 drivers/pwm/pwm-bcm-iproc.c 	ip = devm_kzalloc(&pdev->dev, sizeof(*ip), GFP_KERNEL);
ip                202 drivers/pwm/pwm-bcm-iproc.c 	if (!ip)
ip                205 drivers/pwm/pwm-bcm-iproc.c 	platform_set_drvdata(pdev, ip);
ip                207 drivers/pwm/pwm-bcm-iproc.c 	ip->chip.dev = &pdev->dev;
ip                208 drivers/pwm/pwm-bcm-iproc.c 	ip->chip.ops = &iproc_pwm_ops;
ip                209 drivers/pwm/pwm-bcm-iproc.c 	ip->chip.base = -1;
ip                210 drivers/pwm/pwm-bcm-iproc.c 	ip->chip.npwm = 4;
ip                211 drivers/pwm/pwm-bcm-iproc.c 	ip->chip.of_xlate = of_pwm_xlate_with_flags;
ip                212 drivers/pwm/pwm-bcm-iproc.c 	ip->chip.of_pwm_n_cells = 3;
ip                215 drivers/pwm/pwm-bcm-iproc.c 	ip->base = devm_ioremap_resource(&pdev->dev, res);
ip                216 drivers/pwm/pwm-bcm-iproc.c 	if (IS_ERR(ip->base))
ip                217 drivers/pwm/pwm-bcm-iproc.c 		return PTR_ERR(ip->base);
ip                219 drivers/pwm/pwm-bcm-iproc.c 	ip->clk = devm_clk_get(&pdev->dev, NULL);
ip                220 drivers/pwm/pwm-bcm-iproc.c 	if (IS_ERR(ip->clk)) {
ip                222 drivers/pwm/pwm-bcm-iproc.c 			PTR_ERR(ip->clk));
ip                223 drivers/pwm/pwm-bcm-iproc.c 		return PTR_ERR(ip->clk);
ip                226 drivers/pwm/pwm-bcm-iproc.c 	ret = clk_prepare_enable(ip->clk);
ip                233 drivers/pwm/pwm-bcm-iproc.c 	value = readl(ip->base + IPROC_PWM_CTRL_OFFSET);
ip                235 drivers/pwm/pwm-bcm-iproc.c 	for (i = 0; i < ip->chip.npwm; i++) {
ip                240 drivers/pwm/pwm-bcm-iproc.c 	writel(value, ip->base + IPROC_PWM_CTRL_OFFSET);
ip                242 drivers/pwm/pwm-bcm-iproc.c 	ret = pwmchip_add(&ip->chip);
ip                245 drivers/pwm/pwm-bcm-iproc.c 		clk_disable_unprepare(ip->clk);
ip                253 drivers/pwm/pwm-bcm-iproc.c 	struct iproc_pwmc *ip = platform_get_drvdata(pdev);
ip                255 drivers/pwm/pwm-bcm-iproc.c 	clk_disable_unprepare(ip->clk);
ip                257 drivers/pwm/pwm-bcm-iproc.c 	return pwmchip_remove(&ip->chip);
ip                 29 drivers/regulator/qcom_rpm-regulator.c 	struct request_member ip;		/* peak current in mA */
ip                 68 drivers/regulator/qcom_rpm-regulator.c 	.ip             = { 0, 0x00FFF000, 12 },
ip                 79 drivers/regulator/qcom_rpm-regulator.c 	.ip             = { 0, 0x00FFF000, 12 },
ip                112 drivers/regulator/qcom_rpm-regulator.c 	.ip             = { 1, 0x000003FF,  0 },
ip                123 drivers/regulator/qcom_rpm-regulator.c 	.ip             = { 1, 0x000003FF,  0 },
ip                240 drivers/s390/block/dasd_diag.c 	addr_t ip;
ip                245 drivers/s390/block/dasd_diag.c 		ip = (addr_t) param32;
ip                248 drivers/s390/block/dasd_diag.c 		ip = (addr_t) param64;
ip                254 drivers/s390/block/dasd_diag.c 	if (!ip) {		/* no intparm: unsolicited interrupt */
ip                259 drivers/s390/block/dasd_diag.c 	cqr = (struct dasd_ccw_req *) ip;
ip                363 drivers/s390/char/sclp_tty.c 	unsigned char *ip, *op;
ip                368 drivers/s390/char/sclp_tty.c 	ip = op = buf;
ip                371 drivers/s390/char/sclp_tty.c 		if (*ip == CASE_DELIMITER) {
ip                373 drivers/s390/char/sclp_tty.c 			if (count && ip[1] == CASE_DELIMITER) {
ip                378 drivers/s390/char/sclp_tty.c 				*op++ = *ip++;
ip                387 drivers/s390/char/sclp_tty.c 			ip++;
ip                394 drivers/s390/char/sclp_tty.c 					*op++ = _ebc_toupper[(int) *ip++];
ip                397 drivers/s390/char/sclp_tty.c 					*op++ = _ebc_tolower[(int) *ip++];
ip                400 drivers/s390/char/sclp_tty.c 				*op++ = *ip++;
ip                420 drivers/s390/net/qeth_core_mpc.h 		__u8 ip[16];
ip                129 drivers/s390/net/qeth_l3.h int qeth_l3_modify_rxip_vipa(struct qeth_card *card, bool add, const u8 *ip,
ip                647 drivers/s390/net/qeth_l3_main.c int qeth_l3_modify_rxip_vipa(struct qeth_card *card, bool add, const u8 *ip,
ip                655 drivers/s390/net/qeth_l3_main.c 		memcpy(&addr.u.a4.addr, ip, 4);
ip                657 drivers/s390/net/qeth_l3_main.c 		memcpy(&addr.u.a6.addr, ip, 16);
ip               1570 drivers/s390/net/qeth_l3_main.c 	if (type->ip == QETHARP_IP_ADDR_V4) {
ip               1579 drivers/s390/net/qeth_l3_main.c 	} else if (type->ip == QETHARP_IP_ADDR_V6) {
ip               1600 drivers/s390/net/qeth_l3_main.c 	return (type->ip == QETHARP_IP_ADDR_V4 && prot == QETH_PROT_IPV4) ||
ip               1601 drivers/s390/net/qeth_l3_main.c 		(type->ip == QETHARP_IP_ADDR_V6 && prot == QETH_PROT_IPV6);
ip               1646 drivers/s390/net/qeth_l3_main.c 			QETH_CARD_TEXT_(card, 4, "%i", etype->ip);
ip               7186 drivers/scsi/advansys.c 		   sector_t capacity, int ip[])
ip               7195 drivers/scsi/advansys.c 			ip[0] = 255;
ip               7196 drivers/scsi/advansys.c 			ip[1] = 63;
ip               7198 drivers/scsi/advansys.c 			ip[0] = 64;
ip               7199 drivers/scsi/advansys.c 			ip[1] = 32;
ip               7204 drivers/scsi/advansys.c 			ip[0] = 255;
ip               7205 drivers/scsi/advansys.c 			ip[1] = 63;
ip               7207 drivers/scsi/advansys.c 			ip[0] = 64;
ip               7208 drivers/scsi/advansys.c 			ip[1] = 32;
ip               7211 drivers/scsi/advansys.c 	ip[2] = (unsigned long)capacity / (ip[0] * ip[1]);
ip                506 drivers/scsi/aha1740.c 			     sector_t capacity, int* ip)
ip                512 drivers/scsi/aha1740.c 	if (extended && (ip[2] > 1024))	{
ip                513 drivers/scsi/aha1740.c 		ip[0] = 255;
ip                514 drivers/scsi/aha1740.c 		ip[1] = 63;
ip                515 drivers/scsi/aha1740.c 		ip[2] = size / (255 * 63);
ip                517 drivers/scsi/aha1740.c 		ip[0] = 64;
ip                518 drivers/scsi/aha1740.c 		ip[1] = 32;
ip                519 drivers/scsi/aha1740.c 		ip[2] = size >> 11;
ip               1638 drivers/scsi/atp870u.c 			sector_t capacity, int *ip)
ip               1650 drivers/scsi/atp870u.c 	ip[0] = heads;
ip               1651 drivers/scsi/atp870u.c 	ip[1] = sectors;
ip               1652 drivers/scsi/atp870u.c 	ip[2] = cylinders;
ip                335 drivers/scsi/be2iscsi/be_iscsi.c 	u8 *ip = NULL, *subnet = NULL, *gw;
ip                366 drivers/scsi/be2iscsi/be_iscsi.c 		ip = info->value;
ip                373 drivers/scsi/be2iscsi/be_iscsi.c 					   ip, subnet);
ip                384 drivers/scsi/be2iscsi/be_iscsi.c 			ip = info->value;
ip                387 drivers/scsi/be2iscsi/be_iscsi.c 					   ip, subnet);
ip                423 drivers/scsi/be2iscsi/be_mgmt.c static inline bool beiscsi_if_zero_ip(u8 *ip, u32 ip_type)
ip                428 drivers/scsi/be2iscsi/be_mgmt.c 	while (len && !ip[len - 1])
ip                543 drivers/scsi/be2iscsi/be_mgmt.c beiscsi_if_set_ip(struct beiscsi_hba *phba, u8 *ip,
ip                566 drivers/scsi/be2iscsi/be_mgmt.c 	memcpy(req->ip_params.ip_record.ip_addr.addr, ip, ip_len);
ip                587 drivers/scsi/be2iscsi/be_mgmt.c 			 u8 *ip, u8 *subnet)
ip                626 drivers/scsi/be2iscsi/be_mgmt.c 	if (ip)
ip                627 drivers/scsi/be2iscsi/be_mgmt.c 		rc = beiscsi_if_set_ip(phba, ip, subnet, ip_type);
ip                175 drivers/scsi/be2iscsi/be_mgmt.h 			 u8 *ip, u8 *subnet);
ip               1425 drivers/scsi/bfa/bfa_fc.h 	u8		ip[16];		/* IP Address */
ip               3359 drivers/scsi/gdth.c static int gdth_bios_param(struct scsi_device *sdev,struct block_device *bdev,sector_t cap,int *ip)
ip               3375 drivers/scsi/gdth.c         gdth_eval_mapping(capacity,&ip[2],&ip[0],&ip[1]);
ip               3377 drivers/scsi/gdth.c         ip[0] = ha->hdr[t].heads;
ip               3378 drivers/scsi/gdth.c         ip[1] = ha->hdr[t].secs;
ip               3379 drivers/scsi/gdth.c         ip[2] = capacity / ip[0] / ip[1];
ip               3383 drivers/scsi/gdth.c             ip[0],ip[1],ip[2]));
ip                946 drivers/scsi/imm.c 			 sector_t capacity, int ip[])
ip                948 drivers/scsi/imm.c 	ip[0] = 0x40;
ip                949 drivers/scsi/imm.c 	ip[1] = 0x20;
ip                950 drivers/scsi/imm.c 	ip[2] = ((unsigned long) capacity + 1) / (ip[0] * ip[1]);
ip                951 drivers/scsi/imm.c 	if (ip[2] > 1024) {
ip                952 drivers/scsi/imm.c 		ip[0] = 0xff;
ip                953 drivers/scsi/imm.c 		ip[1] = 0x3f;
ip                954 drivers/scsi/imm.c 		ip[2] = ((unsigned long) capacity + 1) / (ip[0] * ip[1]);
ip                 78 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(tgt_ip, ip-addr, ISCSI_BOOT_TGT_IP_ADDR);
ip                160 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(eth_ip, ip-addr, ISCSI_BOOT_ETH_IP_ADDR);
ip                822 drivers/scsi/ppa.c 	      sector_t capacity, int ip[])
ip                824 drivers/scsi/ppa.c 	ip[0] = 0x40;
ip                825 drivers/scsi/ppa.c 	ip[1] = 0x20;
ip                826 drivers/scsi/ppa.c 	ip[2] = ((unsigned long) capacity + 1) / (ip[0] * ip[1]);
ip                827 drivers/scsi/ppa.c 	if (ip[2] > 1024) {
ip                828 drivers/scsi/ppa.c 		ip[0] = 0xff;
ip                829 drivers/scsi/ppa.c 		ip[1] = 0x3f;
ip                830 drivers/scsi/ppa.c 		ip[2] = ((unsigned long) capacity + 1) / (ip[0] * ip[1]);
ip                831 drivers/scsi/ppa.c 		if (ip[2] > 1023)
ip                832 drivers/scsi/ppa.c 			ip[2] = 1023;
ip                495 drivers/scsi/qedi/qedi_iscsi.c 	conn_info->src.ip[0] = ntohl(qedi_ep->src_addr[0]);
ip                496 drivers/scsi/qedi/qedi_iscsi.c 	conn_info->dst.ip[0] = ntohl(qedi_ep->dst_addr[0]);
ip                505 drivers/scsi/qedi/qedi_iscsi.c 			conn_info->src.ip[i] = ntohl(qedi_ep->src_addr[i]);
ip                506 drivers/scsi/qedi/qedi_iscsi.c 			conn_info->dst.ip[i] = ntohl(qedi_ep->dst_addr[i]);
ip               1983 drivers/scsi/qedi/qedi_main.c 	char *fmt, *ip, *sub, *gw;
ip               1996 drivers/scsi/qedi/qedi_main.c 	ip = ipv6_en ? initiator->ipv6.addr.byte : initiator->ipv4.addr.byte;
ip               2005 drivers/scsi/qedi/qedi_main.c 		ip = ipv6_en ? "0::0" : "0.0.0.0";
ip               2006 drivers/scsi/qedi/qedi_main.c 		sub = ip;
ip               2007 drivers/scsi/qedi/qedi_main.c 		gw = ip;
ip               2013 drivers/scsi/qedi/qedi_main.c 		rc = snprintf(buf, ip_len, fmt, ip);
ip               1995 drivers/scsi/qla4xxx/ql4_mbx.c 	char *ip;
ip               2047 drivers/scsi/qla4xxx/ql4_mbx.c 		ip = (char *)&addr->sin_addr;
ip               2048 drivers/scsi/qla4xxx/ql4_mbx.c 		memcpy(fw_ddb_entry->ip_addr, ip, IP_ADDR_LEN);
ip               2056 drivers/scsi/qla4xxx/ql4_mbx.c 		ip = (char *)&addr6->sin6_addr;
ip               2057 drivers/scsi/qla4xxx/ql4_mbx.c 		memcpy(fw_ddb_entry->ip_addr, ip, IPv6_ADDR_LEN);
ip               6558 drivers/scsi/qla4xxx/ql4_os.c 	char *ip;
ip               6569 drivers/scsi/qla4xxx/ql4_os.c 		ip = (char *)&addr6->sin6_addr;
ip               6570 drivers/scsi/qla4xxx/ql4_os.c 		memcpy(ip, fw_ddb_entry->ip_addr, IPv6_ADDR_LEN);
ip               6577 drivers/scsi/qla4xxx/ql4_os.c 		ip = (char *)&addr->sin_addr;
ip               6578 drivers/scsi/qla4xxx/ql4_os.c 		memcpy(ip, fw_ddb_entry->ip_addr, IP_ADDR_LEN);
ip                469 drivers/scsi/qlogicfas408.c 			   sector_t capacity, int ip[])
ip                472 drivers/scsi/qlogicfas408.c 	ip[0] = 0x40;
ip                473 drivers/scsi/qlogicfas408.c 	ip[1] = 0x20;
ip                474 drivers/scsi/qlogicfas408.c 	ip[2] = (unsigned long) capacity / (ip[0] * ip[1]);
ip                475 drivers/scsi/qlogicfas408.c 	if (ip[2] > 1024) {
ip                476 drivers/scsi/qlogicfas408.c 		ip[0] = 0xff;
ip                477 drivers/scsi/qlogicfas408.c 		ip[1] = 0x3f;
ip                478 drivers/scsi/qlogicfas408.c 		ip[2] = (unsigned long) capacity / (ip[0] * ip[1]);
ip                480 drivers/scsi/qlogicfas408.c 		if (ip[2] > 1023)
ip                481 drivers/scsi/qlogicfas408.c 			ip[2] = 1023;
ip                110 drivers/scsi/qlogicfas408.h 			   sector_t capacity, int ip[]);
ip                 68 drivers/scsi/scsicam.c int scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip)
ip                 79 drivers/scsi/scsicam.c 	ret = scsi_partsize(p, (unsigned long)capacity, (unsigned int *)ip + 2,
ip                 80 drivers/scsi/scsicam.c 			       (unsigned int *)ip + 0, (unsigned int *)ip + 1);
ip                 87 drivers/scsi/scsicam.c 		ret = setsize((unsigned long)capacity, (unsigned int *)ip + 2,
ip                 88 drivers/scsi/scsicam.c 		       (unsigned int *)ip + 0, (unsigned int *)ip + 1);
ip                 93 drivers/scsi/scsicam.c 	if (ret || ip[0] > 255 || ip[1] > 63) {
ip                 95 drivers/scsi/scsicam.c 			ip[0] = 255;
ip                 96 drivers/scsi/scsicam.c 			ip[1] = 63;
ip                 98 drivers/scsi/scsicam.c 			ip[0] = 64;
ip                 99 drivers/scsi/scsicam.c 			ip[1] = 32;
ip                103 drivers/scsi/scsicam.c 			ip[2] = 65535;
ip                105 drivers/scsi/scsicam.c 			ip[2] = (unsigned long)capacity / (ip[0] * ip[1]);
ip                904 drivers/scsi/sg.c 	int __user *ip = p;
ip                945 drivers/scsi/sg.c 		result = get_user(val, ip);
ip                968 drivers/scsi/sg.c 		return put_user((int) sdp->device->host->unchecked_isa_dma, ip);
ip                993 drivers/scsi/sg.c 		result = get_user(val, ip);
ip                999 drivers/scsi/sg.c 		if (!access_ok(ip, sizeof (int)))
ip               1006 drivers/scsi/sg.c 				__put_user(srp->header.pack_id, ip);
ip               1011 drivers/scsi/sg.c 		__put_user(-1, ip);
ip               1021 drivers/scsi/sg.c 		return put_user(val, ip);
ip               1023 drivers/scsi/sg.c 		return put_user(sdp->sg_tablesize, ip);
ip               1025 drivers/scsi/sg.c 		result = get_user(val, ip);
ip               1048 drivers/scsi/sg.c 		return put_user(val, ip);
ip               1050 drivers/scsi/sg.c 		result = get_user(val, ip);
ip               1056 drivers/scsi/sg.c 		return put_user((int) sfp->cmd_q, ip);
ip               1058 drivers/scsi/sg.c 		result = get_user(val, ip);
ip               1064 drivers/scsi/sg.c 		return put_user((int) sfp->keep_orphan, ip);
ip               1066 drivers/scsi/sg.c 		result = get_user(val, ip);
ip               1074 drivers/scsi/sg.c 		return put_user(sg_version_num, ip);
ip               1078 drivers/scsi/sg.c 		return put_user(val, ip);
ip               1101 drivers/scsi/sg.c 		return put_user(sdp->device->host->hostt->emulated, ip);
ip               1107 drivers/scsi/sg.c 		result = get_user(val, ip);
ip               1114 drivers/scsi/sg.c 				ip);
ip                211 drivers/spi/spi-sifive.c 	u32 ip = sifive_spi_read(spi, SIFIVE_SPI_REG_IP);
ip                213 drivers/spi/spi-sifive.c 	if (ip & (SIFIVE_SPI_IP_TXWM | SIFIVE_SPI_IP_RXWM)) {
ip                340 drivers/staging/gdm724x/gdm_lte.c 	struct iphdr *ip;
ip                368 drivers/staging/gdm724x/gdm_lte.c 		ip = network_data;
ip                371 drivers/staging/gdm724x/gdm_lte.c 		if (ip->protocol == IPPROTO_UDP) {
ip                206 drivers/staging/goldfish/goldfish_audio.c static int goldfish_audio_open(struct inode *ip, struct file *fp)
ip                223 drivers/staging/goldfish/goldfish_audio.c static int goldfish_audio_release(struct inode *ip, struct file *fp)
ip                237 drivers/staging/rtl8192e/rtllib_tx.c 	struct iphdr *ip;
ip                247 drivers/staging/rtl8192e/rtllib_tx.c 	ip = ip_hdr(skb);
ip                248 drivers/staging/rtl8192e/rtllib_tx.c 	switch (ip->tos & 0xfc) {
ip                618 drivers/staging/rtl8192e/rtllib_tx.c 				const struct iphdr *ip = (struct iphdr *)
ip                620 drivers/staging/rtl8192e/rtllib_tx.c 				if (ip->protocol == IPPROTO_UDP) {
ip                623 drivers/staging/rtl8192e/rtllib_tx.c 					udp = (struct udphdr *)((u8 *)ip +
ip                624 drivers/staging/rtl8192e/rtllib_tx.c 					      (ip->ihl << 2));
ip                264 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c 	struct iphdr *ip;
ip                269 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c 	ip = ip_hdr(skb);
ip                270 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c 	switch (ip->tos & 0xfc) {
ip                 47 drivers/staging/speakup/devsynth.c static int speakup_file_open(struct inode *ip, struct file *fp)
ip                 56 drivers/staging/speakup/devsynth.c static int speakup_file_release(struct inode *ip, struct file *fp)
ip                211 drivers/tee/tee_core.c 		struct tee_ioctl_param ip;
ip                213 drivers/tee/tee_core.c 		if (copy_from_user(&ip, uparams + n, sizeof(ip)))
ip                217 drivers/tee/tee_core.c 		if (ip.attr & ~TEE_IOCTL_PARAM_ATTR_MASK)
ip                220 drivers/tee/tee_core.c 		params[n].attr = ip.attr;
ip                221 drivers/tee/tee_core.c 		switch (ip.attr & TEE_IOCTL_PARAM_ATTR_TYPE_MASK) {
ip                227 drivers/tee/tee_core.c 			params[n].u.value.a = ip.a;
ip                228 drivers/tee/tee_core.c 			params[n].u.value.b = ip.b;
ip                229 drivers/tee/tee_core.c 			params[n].u.value.c = ip.c;
ip                242 drivers/tee/tee_core.c 			shm = tee_shm_get_from_id(ctx, ip.c);
ip                251 drivers/tee/tee_core.c 			if ((ip.a + ip.b) < ip.a ||
ip                252 drivers/tee/tee_core.c 			    (ip.a + ip.b) > shm->size) {
ip                257 drivers/tee/tee_core.c 			params[n].u.memref.shm_offs = ip.a;
ip                258 drivers/tee/tee_core.c 			params[n].u.memref.size = ip.b;
ip                467 drivers/tee/tee_core.c 		struct tee_ioctl_param ip;
ip                470 drivers/tee/tee_core.c 		ip.attr = p->attr;
ip                474 drivers/tee/tee_core.c 			ip.a = p->u.value.a;
ip                475 drivers/tee/tee_core.c 			ip.b = p->u.value.b;
ip                476 drivers/tee/tee_core.c 			ip.c = p->u.value.c;
ip                481 drivers/tee/tee_core.c 			ip.b = p->u.memref.size;
ip                483 drivers/tee/tee_core.c 				ip.a = 0;
ip                484 drivers/tee/tee_core.c 				ip.c = (u64)-1; /* invalid shm id */
ip                487 drivers/tee/tee_core.c 			ip.a = p->u.memref.shm_offs;
ip                488 drivers/tee/tee_core.c 			ip.c = p->u.memref.shm->id;
ip                491 drivers/tee/tee_core.c 			ip.a = 0;
ip                492 drivers/tee/tee_core.c 			ip.b = 0;
ip                493 drivers/tee/tee_core.c 			ip.c = 0;
ip                497 drivers/tee/tee_core.c 		if (copy_to_user(uparams + n, &ip, sizeof(ip)))
ip                562 drivers/tee/tee_core.c 		struct tee_ioctl_param ip;
ip                564 drivers/tee/tee_core.c 		if (copy_from_user(&ip, uparams + n, sizeof(ip)))
ip                568 drivers/tee/tee_core.c 		if (ip.attr & ~TEE_IOCTL_PARAM_ATTR_MASK)
ip                571 drivers/tee/tee_core.c 		p->attr = ip.attr;
ip                572 drivers/tee/tee_core.c 		switch (ip.attr & TEE_IOCTL_PARAM_ATTR_TYPE_MASK) {
ip                576 drivers/tee/tee_core.c 			p->u.value.a = ip.a;
ip                577 drivers/tee/tee_core.c 			p->u.value.b = ip.b;
ip                578 drivers/tee/tee_core.c 			p->u.value.c = ip.c;
ip                591 drivers/tee/tee_core.c 			p->u.memref.size = ip.b;
ip                326 drivers/tty/isicom.c 	struct isi_port *ip = container_of(port, struct isi_port, port);
ip                327 drivers/tty/isicom.c 	struct isi_board *card = ip->card;
ip                329 drivers/tty/isicom.c 	u16 channel = ip->channel;
ip                338 drivers/tty/isicom.c 		ip->status |= (ISI_DTR | ISI_RTS);
ip                343 drivers/tty/isicom.c 		ip->status &= ~(ISI_DTR | ISI_RTS);
ip                826 drivers/tty/isicom.c 	struct isi_port *ip = container_of(port, struct isi_port, port);
ip                827 drivers/tty/isicom.c 	return (ip->status & ISI_DCD)?1 : 0;
ip                903 drivers/tty/isicom.c 	struct isi_port *ip = container_of(port, struct isi_port, port);
ip                904 drivers/tty/isicom.c 	struct isi_board *card = ip->card;
ip                910 drivers/tty/isicom.c 	card->port_status &= ~(1 << ip->channel);
ip                912 drivers/tty/isicom.c 	isicom_shutdown_port(ip);
ip                919 drivers/tty/isicom.c 	struct isi_port *ip = tty->driver_data;
ip                922 drivers/tty/isicom.c 	if (ip == NULL)
ip                925 drivers/tty/isicom.c 	port = &ip->port;
ip                926 drivers/tty/isicom.c 	if (isicom_paranoia_check(ip, tty->name, "isicom_close"))
ip               1366 drivers/tty/moxa.c 		u16 __iomem *ip)
ip               1398 drivers/tty/moxa.c 	intr = readw(ip); /* port irq status */
ip               1402 drivers/tty/moxa.c 	writew(0, ip); /* ACK port */
ip               1427 drivers/tty/moxa.c 	u16 __iomem *ip;
ip               1438 drivers/tty/moxa.c 		ip = NULL;
ip               1440 drivers/tty/moxa.c 			ip = brd->intTable + readb(brd->intNdx);
ip               1443 drivers/tty/moxa.c 			moxa_poll_port(&brd->ports[port], !!ip, ip + port);
ip               1445 drivers/tty/moxa.c 		if (ip)
ip               1497 drivers/tty/mxser.c 	struct mxser_port *ip;
ip               1528 drivers/tty/mxser.c 				ip = &mxser_boards[i].ports[j];
ip               1529 drivers/tty/mxser.c 				port = &ip->port;
ip               1533 drivers/tty/mxser.c 				if (!ip->ioaddr)
ip               1539 drivers/tty/mxser.c 					ms.cflag = ip->normal_termios.c_cflag;
ip               1543 drivers/tty/mxser.c 				spin_lock_irq(&ip->slock);
ip               1544 drivers/tty/mxser.c 				status = inb(ip->ioaddr + UART_MSR);
ip               1545 drivers/tty/mxser.c 				spin_unlock_irq(&ip->slock);
ip               1575 drivers/tty/mxser.c 				ip = &mxser_boards[i].ports[j];
ip               1576 drivers/tty/mxser.c 				port = &ip->port;
ip               1579 drivers/tty/mxser.c 				if (!ip->ioaddr) {
ip               1584 drivers/tty/mxser.c 				spin_lock_irq(&ip->slock);
ip               1585 drivers/tty/mxser.c 				status = mxser_get_msr(ip->ioaddr, 0, p);
ip               1588 drivers/tty/mxser.c 					ip->icount.rng++;
ip               1590 drivers/tty/mxser.c 					ip->icount.dsr++;
ip               1592 drivers/tty/mxser.c 					ip->icount.dcd++;
ip               1594 drivers/tty/mxser.c 					ip->icount.cts++;
ip               1596 drivers/tty/mxser.c 				ip->mon_data.modem_status = status;
ip               1597 drivers/tty/mxser.c 				me->rx_cnt[p] = ip->mon_data.rxcnt;
ip               1598 drivers/tty/mxser.c 				me->tx_cnt[p] = ip->mon_data.txcnt;
ip               1599 drivers/tty/mxser.c 				me->up_rxcnt[p] = ip->mon_data.up_rxcnt;
ip               1600 drivers/tty/mxser.c 				me->up_txcnt[p] = ip->mon_data.up_txcnt;
ip               1602 drivers/tty/mxser.c 					ip->mon_data.modem_status;
ip               1603 drivers/tty/mxser.c 				spin_unlock_irq(&ip->slock);
ip               1605 drivers/tty/mxser.c 				tty = tty_port_tty_get(&ip->port);
ip               1608 drivers/tty/mxser.c 					cflag = ip->normal_termios.c_cflag;
ip               1609 drivers/tty/mxser.c 					iflag = ip->normal_termios.c_iflag;
ip               1610 drivers/tty/mxser.c 					me->baudrate[p] = tty_termios_baud_rate(&ip->normal_termios);
ip               1629 drivers/tty/mxser.c 				if (ip->type == PORT_16550A)
ip               1632 drivers/tty/mxser.c 				if (ip->board->chip_flag == MOXA_MUST_MU860_HWID) {
ip               1633 drivers/tty/mxser.c 					opmode = inb(ip->opmode_ioaddr)>>((p % 4) * 2);
ip                556 drivers/tty/serial/sifive.c 	u32 ip;
ip                560 drivers/tty/serial/sifive.c 	ip = __ssp_readl(ssp, SIFIVE_SERIAL_IP_OFFS);
ip                561 drivers/tty/serial/sifive.c 	if (!ip) {
ip                566 drivers/tty/serial/sifive.c 	if (ip & SIFIVE_SERIAL_IP_RXWM_MASK)
ip                568 drivers/tty/serial/sifive.c 	if (ip & SIFIVE_SERIAL_IP_TXWM_MASK)
ip               1352 drivers/video/fbdev/imsttfb.c 	__u32 i, tmp, *ip, *end;
ip               1360 drivers/video/fbdev/imsttfb.c 	ip = (__u32 *)info->screen_base;
ip               1362 drivers/video/fbdev/imsttfb.c 	while (ip < end)
ip               1363 drivers/video/fbdev/imsttfb.c 		*ip++ = 0;
ip                145 fs/fat/dir.c   	const wchar_t *ip;
ip                150 fs/fat/dir.c   	ip = uni;
ip                153 fs/fat/dir.c   	while (*ip && ((len - NLS_MAX_CHARSET_SIZE) > 0)) {
ip                154 fs/fat/dir.c   		ec = *ip++;
ip                172 fs/fat/dir.c   	if (unlikely(*ip)) {
ip                332 fs/fat/namei_vfat.c 	wchar_t *ip, *ext_start, *end, *name_start;
ip                382 fs/fat/namei_vfat.c 	for (baselen = i = 0, p = base, ip = uname; i < sz; i++, ip++) {
ip                384 fs/fat/namei_vfat.c 					ip, &base_info);
ip                399 fs/fat/namei_vfat.c 			if ((chi < chl - 1) || (ip + 1) - uname < sz)
ip                410 fs/fat/namei_vfat.c 		for (p = ext, ip = ext_start; extlen < 3 && ip < end; ip++) {
ip                412 fs/fat/namei_vfat.c 						ip, &ext_info);
ip                425 fs/fat/namei_vfat.c 				if (ip + 1 != end)
ip                515 fs/fat/namei_vfat.c 	const unsigned char *ip;
ip                530 fs/fat/namei_vfat.c 		for (i = 0, ip = name, op = outname, *outlen = 0;
ip                533 fs/fat/namei_vfat.c 			if (escape && (*ip == ':')) {
ip                539 fs/fat/namei_vfat.c 				if (hex2bin(uc, ip + 1, 2) < 0)
ip                545 fs/fat/namei_vfat.c 				ip += 5;
ip                548 fs/fat/namei_vfat.c 				charlen = nls->char2uni(ip, len - i,
ip                552 fs/fat/namei_vfat.c 				ip += charlen;
ip                246 fs/freevxfs/vxfs.h #define VXFS_IS_TYPE(ip,type)	(((ip)->vii_mode & VXFS_TYPE_MASK) == (type))
ip                270 fs/freevxfs/vxfs.h #define VXFS_IS_ORG(ip,org)	((ip)->vii_orgtype == (org))
ip                271 fs/freevxfs/vxfs.h #define VXFS_ISNONE(ip)		VXFS_IS_ORG((ip), VXFS_ORG_NONE)
ip                272 fs/freevxfs/vxfs.h #define VXFS_ISEXT4(ip)		VXFS_IS_ORG((ip), VXFS_ORG_EXT4)
ip                273 fs/freevxfs/vxfs.h #define VXFS_ISIMMED(ip)	VXFS_IS_ORG((ip), VXFS_ORG_IMMED)
ip                274 fs/freevxfs/vxfs.h #define VXFS_ISTYPED(ip)	VXFS_IS_ORG((ip), VXFS_ORG_TYPED)
ip                 67 fs/freevxfs/vxfs_bmap.c vxfs_bmap_ext4(struct inode *ip, long bn)
ip                 69 fs/freevxfs/vxfs_bmap.c 	struct super_block *sb = ip->i_sb;
ip                 70 fs/freevxfs/vxfs_bmap.c 	struct vxfs_inode_info *vip = VXFS_INO(ip);
ip                131 fs/freevxfs/vxfs_bmap.c vxfs_bmap_indir(struct inode *ip, long indir, int size, long block)
ip                133 fs/freevxfs/vxfs_bmap.c 	struct vxfs_sb_info		*sbi = VXFS_SBI(ip->i_sb);
ip                138 fs/freevxfs/vxfs_bmap.c 	for (i = 0; i < size * VXFS_TYPED_PER_BLOCK(ip->i_sb); i++) {
ip                142 fs/freevxfs/vxfs_bmap.c 		bp = sb_bread(ip->i_sb,
ip                143 fs/freevxfs/vxfs_bmap.c 				indir + (i / VXFS_TYPED_PER_BLOCK(ip->i_sb)));
ip                148 fs/freevxfs/vxfs_bmap.c 			(i % VXFS_TYPED_PER_BLOCK(ip->i_sb));
ip                159 fs/freevxfs/vxfs_bmap.c 			pblock = vxfs_bmap_indir(ip,
ip                210 fs/freevxfs/vxfs_bmap.c vxfs_bmap_typed(struct inode *ip, long iblock)
ip                212 fs/freevxfs/vxfs_bmap.c 	struct vxfs_inode_info		*vip = VXFS_INO(ip);
ip                213 fs/freevxfs/vxfs_bmap.c 	struct vxfs_sb_info		*sbi = VXFS_SBI(ip->i_sb);
ip                229 fs/freevxfs/vxfs_bmap.c 			pblock = vxfs_bmap_indir(ip,
ip                274 fs/freevxfs/vxfs_bmap.c vxfs_bmap1(struct inode *ip, long iblock)
ip                276 fs/freevxfs/vxfs_bmap.c 	struct vxfs_inode_info		*vip = VXFS_INO(ip);
ip                279 fs/freevxfs/vxfs_bmap.c 		return vxfs_bmap_ext4(ip, iblock);
ip                281 fs/freevxfs/vxfs_bmap.c 		return vxfs_bmap_typed(ip, iblock);
ip                288 fs/freevxfs/vxfs_bmap.c 			ip->i_ino, vip->vii_orgtype);
ip                293 fs/freevxfs/vxfs_bmap.c 			ip->i_ino, vip->vii_orgtype);
ip                 77 fs/freevxfs/vxfs_fshead.c vxfs_getfsh(struct inode *ip, int which)
ip                 81 fs/freevxfs/vxfs_fshead.c 	bp = vxfs_bread(ip, which);
ip                282 fs/freevxfs/vxfs_inode.c 	struct inode *ip;
ip                285 fs/freevxfs/vxfs_inode.c 	ip = iget_locked(sbp, ino);
ip                286 fs/freevxfs/vxfs_inode.c 	if (!ip)
ip                288 fs/freevxfs/vxfs_inode.c 	if (!(ip->i_state & I_NEW))
ip                289 fs/freevxfs/vxfs_inode.c 		return ip;
ip                291 fs/freevxfs/vxfs_inode.c 	vip = VXFS_INO(ip);
ip                294 fs/freevxfs/vxfs_inode.c 		iget_failed(ip);
ip                303 fs/freevxfs/vxfs_inode.c 	if (S_ISREG(ip->i_mode)) {
ip                304 fs/freevxfs/vxfs_inode.c 		ip->i_fop = &generic_ro_fops;
ip                305 fs/freevxfs/vxfs_inode.c 		ip->i_mapping->a_ops = aops;
ip                306 fs/freevxfs/vxfs_inode.c 	} else if (S_ISDIR(ip->i_mode)) {
ip                307 fs/freevxfs/vxfs_inode.c 		ip->i_op = &vxfs_dir_inode_ops;
ip                308 fs/freevxfs/vxfs_inode.c 		ip->i_fop = &vxfs_dir_operations;
ip                309 fs/freevxfs/vxfs_inode.c 		ip->i_mapping->a_ops = aops;
ip                310 fs/freevxfs/vxfs_inode.c 	} else if (S_ISLNK(ip->i_mode)) {
ip                312 fs/freevxfs/vxfs_inode.c 			ip->i_op = &page_symlink_inode_operations;
ip                313 fs/freevxfs/vxfs_inode.c 			inode_nohighmem(ip);
ip                314 fs/freevxfs/vxfs_inode.c 			ip->i_mapping->a_ops = &vxfs_aops;
ip                316 fs/freevxfs/vxfs_inode.c 			ip->i_op = &simple_symlink_inode_operations;
ip                317 fs/freevxfs/vxfs_inode.c 			ip->i_link = vip->vii_immed.vi_immed;
ip                318 fs/freevxfs/vxfs_inode.c 			nd_terminate_link(ip->i_link, ip->i_size,
ip                322 fs/freevxfs/vxfs_inode.c 		init_special_inode(ip, ip->i_mode, old_decode_dev(vip->vii_rdev));
ip                324 fs/freevxfs/vxfs_inode.c 	unlock_new_inode(ip);
ip                325 fs/freevxfs/vxfs_inode.c 	return ip;
ip                337 fs/freevxfs/vxfs_inode.c vxfs_evict_inode(struct inode *ip)
ip                339 fs/freevxfs/vxfs_inode.c 	truncate_inode_pages_final(&ip->i_data);
ip                340 fs/freevxfs/vxfs_inode.c 	clear_inode(ip);
ip                 81 fs/freevxfs/vxfs_lookup.c vxfs_find_entry(struct inode *ip, struct dentry *dp, struct page **ppp)
ip                 83 fs/freevxfs/vxfs_lookup.c 	u_long bsize = ip->i_sb->s_blocksize;
ip                 86 fs/freevxfs/vxfs_lookup.c 	loff_t limit = VXFS_DIRROUND(ip->i_size);
ip                 89 fs/freevxfs/vxfs_lookup.c 	struct vxfs_sb_info *sbi = VXFS_SBI(ip->i_sb);
ip                 96 fs/freevxfs/vxfs_lookup.c 		pp = vxfs_get_page(ip->i_mapping, pos >> PAGE_SHIFT);
ip                189 fs/freevxfs/vxfs_lookup.c 	struct inode		*ip = NULL;
ip                197 fs/freevxfs/vxfs_lookup.c 		ip = vxfs_iget(dip->i_sb, ino);
ip                198 fs/freevxfs/vxfs_lookup.c 	return d_splice_alias(ip, dp);
ip                217 fs/freevxfs/vxfs_lookup.c 	struct inode		*ip = file_inode(fp);
ip                218 fs/freevxfs/vxfs_lookup.c 	struct super_block	*sbp = ip->i_sb;
ip                229 fs/freevxfs/vxfs_lookup.c 		if (!dir_emit(ctx, "..", 2, VXFS_INO(ip)->vii_dotdot, DT_DIR))
ip                234 fs/freevxfs/vxfs_lookup.c 	limit = VXFS_DIRROUND(ip->i_size);
ip                246 fs/freevxfs/vxfs_lookup.c 		pp = vxfs_get_page(ip->i_mapping, pos >> PAGE_SHIFT);
ip                102 fs/freevxfs/vxfs_subr.c vxfs_bread(struct inode *ip, int block)
ip                107 fs/freevxfs/vxfs_subr.c 	pblock = vxfs_bmap1(ip, block);
ip                108 fs/freevxfs/vxfs_subr.c 	bp = sb_bread(ip->i_sb, pblock);
ip                129 fs/freevxfs/vxfs_subr.c vxfs_getblk(struct inode *ip, sector_t iblock,
ip                134 fs/freevxfs/vxfs_subr.c 	pblock = vxfs_bmap1(ip, iblock);
ip                136 fs/freevxfs/vxfs_subr.c 		map_bh(bp, ip->i_sb, pblock);
ip                 41 fs/gfs2/acl.c  	struct gfs2_inode *ip = GFS2_I(inode);
ip                 47 fs/gfs2/acl.c  	if (!ip->i_eattr)
ip                 51 fs/gfs2/acl.c  	len = gfs2_xattr_acl_get(ip, name, &data);
ip                 61 fs/gfs2/acl.c  	struct gfs2_inode *ip = GFS2_I(inode);
ip                 66 fs/gfs2/acl.c  	if (!gfs2_glock_is_locked_by_me(ip->i_gl)) {
ip                 67 fs/gfs2/acl.c  		int ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED,
ip                110 fs/gfs2/acl.c  	struct gfs2_inode *ip = GFS2_I(inode);
ip                119 fs/gfs2/acl.c  	ret = gfs2_rsqa_alloc(ip);
ip                123 fs/gfs2/acl.c  	if (!gfs2_glock_is_locked_by_me(ip->i_gl)) {
ip                124 fs/gfs2/acl.c  		ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh);
ip                 40 fs/gfs2/aops.c void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page,
ip                 57 fs/gfs2/aops.c 		gfs2_trans_add_data(ip->i_gl, bh);
ip                 92 fs/gfs2/aops.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                 98 fs/gfs2/aops.c 	if (gfs2_assert_withdraw(sdp, gfs2_glock_is_held_excl(ip->i_gl)))
ip                158 fs/gfs2/aops.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                167 fs/gfs2/aops.c 		gfs2_page_add_databufs(ip, page, 0, sdp->sd_vfs->s_blocksize);
ip                184 fs/gfs2/aops.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                188 fs/gfs2/aops.c 	if (gfs2_assert_withdraw(sdp, gfs2_glock_is_held_excl(ip->i_gl)))
ip                417 fs/gfs2/aops.c 	struct gfs2_inode *ip = GFS2_I(mapping->host);
ip                423 fs/gfs2/aops.c 		gfs2_log_flush(sdp, ip->i_gl, GFS2_LOG_HEAD_FLUSH_NORMAL |
ip                437 fs/gfs2/aops.c static int stuffed_readpage(struct gfs2_inode *ip, struct page *page)
ip                440 fs/gfs2/aops.c 	u64 dsize = i_size_read(&ip->i_inode);
ip                455 fs/gfs2/aops.c 	error = gfs2_meta_inode_buffer(ip, &dibh);
ip                460 fs/gfs2/aops.c 	if (dsize > gfs2_max_stuffed_size(ip))
ip                461 fs/gfs2/aops.c 		dsize = gfs2_max_stuffed_size(ip);
ip                485 fs/gfs2/aops.c 	struct gfs2_inode *ip = GFS2_I(page->mapping->host);
ip                493 fs/gfs2/aops.c 	} else if (gfs2_is_stuffed(ip)) {
ip                494 fs/gfs2/aops.c 		error = stuffed_readpage(ip, page);
ip                519 fs/gfs2/aops.c 	struct gfs2_inode *ip = GFS2_I(mapping->host);
ip                524 fs/gfs2/aops.c 	gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh);
ip                551 fs/gfs2/aops.c int gfs2_internal_read(struct gfs2_inode *ip, char *buf, loff_t *pos,
ip                554 fs/gfs2/aops.c 	struct address_space *mapping = ip->i_inode.i_mapping;
ip                603 fs/gfs2/aops.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                608 fs/gfs2/aops.c 	gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh);
ip                612 fs/gfs2/aops.c 	if (!gfs2_is_stuffed(ip))
ip                690 fs/gfs2/aops.c 	struct gfs2_inode *ip = GFS2_I(mapping->host);
ip                695 fs/gfs2/aops.c 	error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh);
ip                699 fs/gfs2/aops.c 	if (!gfs2_is_stuffed(ip))
ip                 12 fs/gfs2/aops.h extern void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page,
ip                 43 fs/gfs2/bmap.c static int punch_hole(struct gfs2_inode *ip, u64 offset, u64 length);
ip                 55 fs/gfs2/bmap.c static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh,
ip                 58 fs/gfs2/bmap.c 	struct inode *inode = &ip->i_inode;
ip                 73 fs/gfs2/bmap.c 		if (dsize > gfs2_max_stuffed_size(ip))
ip                 74 fs/gfs2/bmap.c 			dsize = gfs2_max_stuffed_size(ip);
ip                 93 fs/gfs2/bmap.c 	if (gfs2_is_jdata(ip))
ip                 94 fs/gfs2/bmap.c 		gfs2_trans_add_data(ip->i_gl, bh);
ip                 97 fs/gfs2/bmap.c 		gfs2_ordered_add_inode(ip);
ip                119 fs/gfs2/bmap.c int gfs2_unstuff_dinode(struct gfs2_inode *ip, struct page *page)
ip                124 fs/gfs2/bmap.c 	int isdir = gfs2_is_dir(ip);
ip                127 fs/gfs2/bmap.c 	down_write(&ip->i_rw_mutex);
ip                129 fs/gfs2/bmap.c 	error = gfs2_meta_inode_buffer(ip, &dibh);
ip                133 fs/gfs2/bmap.c 	if (i_size_read(&ip->i_inode)) {
ip                138 fs/gfs2/bmap.c 		error = gfs2_alloc_blocks(ip, &block, &n, 0, NULL);
ip                142 fs/gfs2/bmap.c 			gfs2_trans_remove_revoke(GFS2_SB(&ip->i_inode), block, 1);
ip                143 fs/gfs2/bmap.c 			error = gfs2_dir_get_new_buffer(ip, block, &bh);
ip                150 fs/gfs2/bmap.c 			error = gfs2_unstuffer_page(ip, dibh, block, page);
ip                158 fs/gfs2/bmap.c 	gfs2_trans_add_meta(ip->i_gl, dibh);
ip                162 fs/gfs2/bmap.c 	if (i_size_read(&ip->i_inode)) {
ip                164 fs/gfs2/bmap.c 		gfs2_add_inode_blocks(&ip->i_inode, 1);
ip                165 fs/gfs2/bmap.c 		di->di_blocks = cpu_to_be64(gfs2_get_inode_blocks(&ip->i_inode));
ip                168 fs/gfs2/bmap.c 	ip->i_height = 1;
ip                174 fs/gfs2/bmap.c 	up_write(&ip->i_rw_mutex);
ip                324 fs/gfs2/bmap.c static int __fillup_metapath(struct gfs2_inode *ip, struct metapath *mp,
ip                334 fs/gfs2/bmap.c 		ret = gfs2_meta_indirect_buffer(ip, x + 1, dblock, &mp->mp_bh[x + 1]);
ip                359 fs/gfs2/bmap.c static int lookup_metapath(struct gfs2_inode *ip, struct metapath *mp)
ip                361 fs/gfs2/bmap.c 	return __fillup_metapath(ip, mp, 0, ip->i_height - 1);
ip                375 fs/gfs2/bmap.c static int fillup_metapath(struct gfs2_inode *ip, struct metapath *mp, int h)
ip                387 fs/gfs2/bmap.c 	ret = __fillup_metapath(ip, mp, x, h);
ip                473 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                541 fs/gfs2/bmap.c 		ret = fillup_metapath(ip, mp, ip->i_height - 1);
ip                666 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                682 fs/gfs2/bmap.c 	gfs2_trans_add_meta(ip->i_gl, dibh);
ip                684 fs/gfs2/bmap.c 	down_write(&ip->i_rw_mutex);
ip                691 fs/gfs2/bmap.c 		if (mp->mp_fheight == ip->i_height) {
ip                698 fs/gfs2/bmap.c 			iblks = mp->mp_fheight - ip->i_height;
ip                710 fs/gfs2/bmap.c 		ret = gfs2_alloc_blocks(ip, &bn, &n, 0, NULL);
ip                714 fs/gfs2/bmap.c 		if (state != ALLOC_DATA || gfs2_is_jdata(ip))
ip                724 fs/gfs2/bmap.c 			for (; i - 1 < mp->mp_fheight - ip->i_height && n > 0;
ip                726 fs/gfs2/bmap.c 				gfs2_indirect_init(mp, ip->i_gl, i, 0, bn++);
ip                727 fs/gfs2/bmap.c 			if (i - 1 == mp->mp_fheight - ip->i_height) {
ip                752 fs/gfs2/bmap.c 				gfs2_trans_add_meta(ip->i_gl, mp->mp_bh[i-1]);
ip                754 fs/gfs2/bmap.c 				gfs2_indirect_init(mp, ip->i_gl, i,
ip                764 fs/gfs2/bmap.c 			gfs2_trans_add_meta(ip->i_gl, mp->mp_bh[end_of_metadata]);
ip                777 fs/gfs2/bmap.c 	ip->i_height = mp->mp_fheight;
ip                778 fs/gfs2/bmap.c 	gfs2_add_inode_blocks(&ip->i_inode, alloced);
ip                779 fs/gfs2/bmap.c 	gfs2_dinode_out(ip, dibh->b_data);
ip                781 fs/gfs2/bmap.c 	up_write(&ip->i_rw_mutex);
ip                799 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                811 fs/gfs2/bmap.c 	if (gfs2_is_stuffed(ip) || mp->mp_fheight != mp->mp_aheight) {
ip                820 fs/gfs2/bmap.c 	first = metapointer(ip->i_height - 1, mp);
ip                821 fs/gfs2/bmap.c 	end = metaend(ip->i_height - 1, mp);
ip                846 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                861 fs/gfs2/bmap.c 	down_read(&ip->i_rw_mutex);
ip                863 fs/gfs2/bmap.c 	ret = gfs2_meta_inode_buffer(ip, &dibh);
ip                868 fs/gfs2/bmap.c 	if (gfs2_is_stuffed(ip)) {
ip                870 fs/gfs2/bmap.c 			loff_t max_size = gfs2_max_stuffed_size(ip);
ip                888 fs/gfs2/bmap.c 		iomap->addr = (ip->i_no_addr << inode->i_blkbits) +
ip                902 fs/gfs2/bmap.c 	height = ip->i_height;
ip                906 fs/gfs2/bmap.c 	if (height > ip->i_height || gfs2_is_stuffed(ip))
ip                909 fs/gfs2/bmap.c 	ret = lookup_metapath(ip, mp);
ip                913 fs/gfs2/bmap.c 	if (mp->mp_aheight != ip->i_height)
ip                916 fs/gfs2/bmap.c 	ptr = metapointer(ip->i_height - 1, mp);
ip                920 fs/gfs2/bmap.c 	bh = mp->mp_bh[ip->i_height - 1];
ip                933 fs/gfs2/bmap.c 	up_read(&ip->i_rw_mutex);
ip                940 fs/gfs2/bmap.c 		else if (height == ip->i_height)
ip                955 fs/gfs2/bmap.c 		if (pos < size && height == ip->i_height)
ip                992 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                996 fs/gfs2/bmap.c 	gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &ip->i_gh);
ip                997 fs/gfs2/bmap.c 	error = gfs2_glock_nq(&ip->i_gh);
ip               1000 fs/gfs2/bmap.c 	if (&ip->i_inode == sdp->sd_rindex) {
ip               1011 fs/gfs2/bmap.c 	gfs2_glock_dq(&ip->i_gh);
ip               1013 fs/gfs2/bmap.c 	gfs2_holder_uninit(&ip->i_gh);
ip               1019 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1022 fs/gfs2/bmap.c 	if (&ip->i_inode == sdp->sd_rindex) {
ip               1027 fs/gfs2/bmap.c 	gfs2_glock_dq_uninit(&ip->i_gh);
ip               1046 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1049 fs/gfs2/bmap.c 	if (page && !gfs2_is_stuffed(ip))
ip               1050 fs/gfs2/bmap.c 		gfs2_page_add_databufs(ip, page, offset_in_page(pos), copied);
ip               1068 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1073 fs/gfs2/bmap.c 	unstuff = gfs2_is_stuffed(ip) &&
ip               1074 fs/gfs2/bmap.c 		  pos + length > gfs2_max_stuffed_size(ip);
ip               1082 fs/gfs2/bmap.c 		gfs2_write_calc_reserv(ip, iomap->length, &data_blocks,
ip               1085 fs/gfs2/bmap.c 		ret = gfs2_quota_lock_check(ip, &ap);
ip               1089 fs/gfs2/bmap.c 		ret = gfs2_inplace_reserve(ip, &ap);
ip               1094 fs/gfs2/bmap.c 		if (gfs2_is_jdata(ip))
ip               1100 fs/gfs2/bmap.c 		rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks);
ip               1108 fs/gfs2/bmap.c 			ret = gfs2_unstuff_dinode(ip, NULL);
ip               1122 fs/gfs2/bmap.c 				gfs2_inplace_release(ip);
ip               1123 fs/gfs2/bmap.c 				punch_hole(ip, iomap->offset, iomap->length);
ip               1135 fs/gfs2/bmap.c 	if (gfs2_is_stuffed(ip) || gfs2_is_jdata(ip))
ip               1142 fs/gfs2/bmap.c 	gfs2_inplace_release(ip);
ip               1144 fs/gfs2/bmap.c 	gfs2_quota_unlock(ip);
ip               1156 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1162 fs/gfs2/bmap.c 	trace_gfs2_iomap_start(ip, pos, length, flags);
ip               1200 fs/gfs2/bmap.c 	trace_gfs2_iomap_end(ip, iomap, ret);
ip               1207 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1223 fs/gfs2/bmap.c 	if (!gfs2_is_stuffed(ip))
ip               1224 fs/gfs2/bmap.c 		gfs2_ordered_add_inode(ip);
ip               1229 fs/gfs2/bmap.c 	gfs2_inplace_release(ip);
ip               1239 fs/gfs2/bmap.c 			punch_hole(ip, pos, end - pos);
ip               1243 fs/gfs2/bmap.c 	if (ip->i_qadata && ip->i_qadata->qa_qd_num)
ip               1244 fs/gfs2/bmap.c 		gfs2_quota_unlock(ip);
ip               1251 fs/gfs2/bmap.c 	set_bit(GLF_DIRTY, &ip->i_gl->gl_flags);
ip               1288 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1298 fs/gfs2/bmap.c 	trace_gfs2_bmap(ip, bh_map, lblock, create, 1);
ip               1325 fs/gfs2/bmap.c 	trace_gfs2_bmap(ip, bh_map, lblock, create, ret);
ip               1409 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1412 fs/gfs2/bmap.c 	int journaled = gfs2_is_jdata(ip);
ip               1423 fs/gfs2/bmap.c 	error = gfs2_meta_inode_buffer(ip, &dibh);
ip               1427 fs/gfs2/bmap.c 	gfs2_trans_add_meta(ip->i_gl, dibh);
ip               1429 fs/gfs2/bmap.c 	if (gfs2_is_stuffed(ip)) {
ip               1440 fs/gfs2/bmap.c 		ip->i_diskflags |= GFS2_DIF_TRUNC_IN_PROG;
ip               1444 fs/gfs2/bmap.c 	ip->i_inode.i_mtime = ip->i_inode.i_ctime = current_time(&ip->i_inode);
ip               1445 fs/gfs2/bmap.c 	gfs2_dinode_out(ip, dibh->b_data);
ip               1494 fs/gfs2/bmap.c static int sweep_bh_for_rgrps(struct gfs2_inode *ip, struct gfs2_holder *rd_gh,
ip               1498 fs/gfs2/bmap.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               1541 fs/gfs2/bmap.c 			if (gfs2_rs_active(&ip->i_res) &&
ip               1542 fs/gfs2/bmap.c 			    rgd == ip->i_res.rs_rbm.rgd)
ip               1543 fs/gfs2/bmap.c 				gfs2_rs_deltree(&ip->i_res);
ip               1556 fs/gfs2/bmap.c 			isize_blks = gfs2_get_inode_blocks(&ip->i_inode);
ip               1565 fs/gfs2/bmap.c 			else if (ip->i_depth)
ip               1570 fs/gfs2/bmap.c 			down_write(&ip->i_rw_mutex);
ip               1597 fs/gfs2/bmap.c 		gfs2_trans_add_meta(ip->i_gl, bh);
ip               1605 fs/gfs2/bmap.c 			__gfs2_free_blocks(ip, rgd, bstart, (u32)blen, meta);
ip               1607 fs/gfs2/bmap.c 			gfs2_add_inode_blocks(&ip->i_inode, -blen);
ip               1613 fs/gfs2/bmap.c 		__gfs2_free_blocks(ip, rgd, bstart, (u32)blen, meta);
ip               1615 fs/gfs2/bmap.c 		gfs2_add_inode_blocks(&ip->i_inode, -blen);
ip               1624 fs/gfs2/bmap.c 			ret = gfs2_meta_inode_buffer(ip, &dibh);
ip               1630 fs/gfs2/bmap.c 			ip->i_inode.i_mtime = ip->i_inode.i_ctime =
ip               1631 fs/gfs2/bmap.c 				current_time(&ip->i_inode);
ip               1632 fs/gfs2/bmap.c 			gfs2_trans_add_meta(ip->i_gl, dibh);
ip               1633 fs/gfs2/bmap.c 			gfs2_dinode_out(ip, dibh->b_data);
ip               1635 fs/gfs2/bmap.c 			up_write(&ip->i_rw_mutex);
ip               1752 fs/gfs2/bmap.c static int punch_hole(struct gfs2_inode *ip, u64 offset, u64 length)
ip               1754 fs/gfs2/bmap.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               1755 fs/gfs2/bmap.c 	u64 maxsize = sdp->sd_heightsize[ip->i_height];
ip               1764 fs/gfs2/bmap.c 	unsigned int strip_h = ip->i_height - 1;
ip               1807 fs/gfs2/bmap.c 		find_metapath(sdp, lend, &mp, ip->i_height);
ip               1811 fs/gfs2/bmap.c 		for (mp_h = ip->i_height - 1; mp_h > 0; mp_h--) {
ip               1818 fs/gfs2/bmap.c 	find_metapath(sdp, lblock, &mp, ip->i_height);
ip               1821 fs/gfs2/bmap.c 	for (mp_h = ip->i_height - 1; mp_h > 0; mp_h--) {
ip               1827 fs/gfs2/bmap.c 	ret = gfs2_meta_inode_buffer(ip, &dibh);
ip               1832 fs/gfs2/bmap.c 	ret = lookup_metapath(ip, &mp);
ip               1840 fs/gfs2/bmap.c 		gfs2_metapath_ra(ip->i_gl, start, end);
ip               1843 fs/gfs2/bmap.c 	if (mp.mp_aheight == ip->i_height)
ip               1852 fs/gfs2/bmap.c 	ret = gfs2_quota_hold(ip, NO_UID_QUOTA_CHANGE, NO_GID_QUOTA_CHANGE);
ip               1870 fs/gfs2/bmap.c 				       (unsigned long long)ip->i_no_addr,
ip               1871 fs/gfs2/bmap.c 				       prev_bnr, ip->i_height, strip_h, mp_h);
ip               1891 fs/gfs2/bmap.c 			ret = sweep_bh_for_rgrps(ip, &rd_gh, mp.mp_bh[mp_h],
ip               1893 fs/gfs2/bmap.c 						 mp_h != ip->i_height - 1,
ip               1943 fs/gfs2/bmap.c 			ret = fillup_metapath(ip, &mp, mp_h);
ip               1948 fs/gfs2/bmap.c 			if (mp.mp_aheight > 1 && strip_h == ip->i_height - 1) {
ip               1960 fs/gfs2/bmap.c 					gfs2_metapath_ra(ip->i_gl, start, end);
ip               1969 fs/gfs2/bmap.c 			if (mp.mp_aheight < ip->i_height) /* We have a partial height */
ip               1989 fs/gfs2/bmap.c 			down_write(&ip->i_rw_mutex);
ip               1992 fs/gfs2/bmap.c 		gfs2_quota_change(ip, -(s64)btotal, ip->i_inode.i_uid,
ip               1993 fs/gfs2/bmap.c 				  ip->i_inode.i_gid);
ip               1994 fs/gfs2/bmap.c 		ip->i_inode.i_mtime = ip->i_inode.i_ctime = current_time(&ip->i_inode);
ip               1995 fs/gfs2/bmap.c 		gfs2_trans_add_meta(ip->i_gl, dibh);
ip               1996 fs/gfs2/bmap.c 		gfs2_dinode_out(ip, dibh->b_data);
ip               1997 fs/gfs2/bmap.c 		up_write(&ip->i_rw_mutex);
ip               2005 fs/gfs2/bmap.c 		up_write(&ip->i_rw_mutex);
ip               2009 fs/gfs2/bmap.c 	gfs2_quota_unhold(ip);
ip               2015 fs/gfs2/bmap.c static int trunc_end(struct gfs2_inode *ip)
ip               2017 fs/gfs2/bmap.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               2025 fs/gfs2/bmap.c 	down_write(&ip->i_rw_mutex);
ip               2027 fs/gfs2/bmap.c 	error = gfs2_meta_inode_buffer(ip, &dibh);
ip               2031 fs/gfs2/bmap.c 	if (!i_size_read(&ip->i_inode)) {
ip               2032 fs/gfs2/bmap.c 		ip->i_height = 0;
ip               2033 fs/gfs2/bmap.c 		ip->i_goal = ip->i_no_addr;
ip               2035 fs/gfs2/bmap.c 		gfs2_ordered_del_inode(ip);
ip               2037 fs/gfs2/bmap.c 	ip->i_inode.i_mtime = ip->i_inode.i_ctime = current_time(&ip->i_inode);
ip               2038 fs/gfs2/bmap.c 	ip->i_diskflags &= ~GFS2_DIF_TRUNC_IN_PROG;
ip               2040 fs/gfs2/bmap.c 	gfs2_trans_add_meta(ip->i_gl, dibh);
ip               2041 fs/gfs2/bmap.c 	gfs2_dinode_out(ip, dibh->b_data);
ip               2045 fs/gfs2/bmap.c 	up_write(&ip->i_rw_mutex);
ip               2063 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               2069 fs/gfs2/bmap.c 	if (gfs2_is_stuffed(ip))
ip               2072 fs/gfs2/bmap.c 	error = punch_hole(ip, newsize, 0);
ip               2074 fs/gfs2/bmap.c 		error = trunc_end(ip);
ip               2109 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               2116 fs/gfs2/bmap.c 	if (gfs2_is_stuffed(ip) && size > gfs2_max_stuffed_size(ip)) {
ip               2117 fs/gfs2/bmap.c 		error = gfs2_quota_lock_check(ip, &ap);
ip               2121 fs/gfs2/bmap.c 		error = gfs2_inplace_reserve(ip, &ap);
ip               2129 fs/gfs2/bmap.c 				  gfs2_is_jdata(ip) ? RES_JDATA : 0) +
ip               2136 fs/gfs2/bmap.c 		error = gfs2_unstuff_dinode(ip, NULL);
ip               2141 fs/gfs2/bmap.c 	error = gfs2_meta_inode_buffer(ip, &dibh);
ip               2146 fs/gfs2/bmap.c 	ip->i_inode.i_mtime = ip->i_inode.i_ctime = current_time(&ip->i_inode);
ip               2147 fs/gfs2/bmap.c 	gfs2_trans_add_meta(ip->i_gl, dibh);
ip               2148 fs/gfs2/bmap.c 	gfs2_dinode_out(ip, dibh->b_data);
ip               2155 fs/gfs2/bmap.c 		gfs2_inplace_release(ip);
ip               2157 fs/gfs2/bmap.c 		gfs2_quota_unlock(ip);
ip               2176 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               2187 fs/gfs2/bmap.c 	ret = gfs2_rsqa_alloc(ip);
ip               2198 fs/gfs2/bmap.c 	gfs2_rsqa_delete(ip, NULL);
ip               2202 fs/gfs2/bmap.c int gfs2_truncatei_resume(struct gfs2_inode *ip)
ip               2205 fs/gfs2/bmap.c 	error = punch_hole(ip, i_size_read(&ip->i_inode), 0);
ip               2207 fs/gfs2/bmap.c 		error = trunc_end(ip);
ip               2211 fs/gfs2/bmap.c int gfs2_file_dealloc(struct gfs2_inode *ip)
ip               2213 fs/gfs2/bmap.c 	return punch_hole(ip, 0, 0);
ip               2290 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(jd->jd_inode);
ip               2314 fs/gfs2/bmap.c 		lblock += (bh.b_size >> ip->i_inode.i_blkbits);
ip               2343 fs/gfs2/bmap.c int gfs2_write_alloc_required(struct gfs2_inode *ip, u64 offset,
ip               2346 fs/gfs2/bmap.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               2355 fs/gfs2/bmap.c 	if (gfs2_is_stuffed(ip)) {
ip               2356 fs/gfs2/bmap.c 		if (offset + len > gfs2_max_stuffed_size(ip))
ip               2362 fs/gfs2/bmap.c 	BUG_ON(gfs2_is_dir(ip));
ip               2363 fs/gfs2/bmap.c 	end_of_file = (i_size_read(&ip->i_inode) + sdp->sd_sb.sb_bsize - 1) >> shift;
ip               2366 fs/gfs2/bmap.c 	if (lblock_stop > end_of_file && ip != GFS2_I(sdp->sd_rindex))
ip               2373 fs/gfs2/bmap.c 		gfs2_block_map(&ip->i_inode, lblock, &bh, 0);
ip               2377 fs/gfs2/bmap.c 		lblock += (bh.b_size >> ip->i_inode.i_blkbits);
ip               2385 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               2394 fs/gfs2/bmap.c 	error = gfs2_meta_inode_buffer(ip, &dibh);
ip               2397 fs/gfs2/bmap.c 	gfs2_trans_add_meta(ip->i_gl, dibh);
ip               2443 fs/gfs2/bmap.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               2447 fs/gfs2/bmap.c 	if (gfs2_is_jdata(ip))
ip               2455 fs/gfs2/bmap.c 	if (gfs2_is_stuffed(ip)) {
ip               2483 fs/gfs2/bmap.c 	if (gfs2_is_jdata(ip)) {
ip               2495 fs/gfs2/bmap.c 	if (!gfs2_is_stuffed(ip))
ip               2496 fs/gfs2/bmap.c 		error = punch_hole(ip, offset, length);
ip                 28 fs/gfs2/bmap.h static inline void gfs2_write_calc_reserv(const struct gfs2_inode *ip,
ip                 33 fs/gfs2/bmap.h 	const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                 36 fs/gfs2/bmap.h 	BUG_ON(gfs2_is_dir(ip));
ip                 48 fs/gfs2/bmap.h extern int gfs2_unstuff_dinode(struct gfs2_inode *ip, struct page *page);
ip                 57 fs/gfs2/bmap.h extern int gfs2_truncatei_resume(struct gfs2_inode *ip);
ip                 58 fs/gfs2/bmap.h extern int gfs2_file_dealloc(struct gfs2_inode *ip);
ip                 59 fs/gfs2/bmap.h extern int gfs2_write_alloc_required(struct gfs2_inode *ip, u64 offset,
ip                 40 fs/gfs2/dentry.c 	struct gfs2_inode *ip = NULL;
ip                 55 fs/gfs2/dentry.c 		ip = GFS2_I(inode);
ip                 70 fs/gfs2/dentry.c 	error = gfs2_dir_check(d_inode(parent), &dentry->d_name, ip);
ip                 92 fs/gfs2/dir.c  int gfs2_dir_get_new_buffer(struct gfs2_inode *ip, u64 block,
ip                 97 fs/gfs2/dir.c  	bh = gfs2_meta_new(ip->i_gl, block);
ip                 98 fs/gfs2/dir.c  	gfs2_trans_add_meta(ip->i_gl, bh);
ip                105 fs/gfs2/dir.c  static int gfs2_dir_get_existing_buffer(struct gfs2_inode *ip, u64 block,
ip                111 fs/gfs2/dir.c  	error = gfs2_meta_read(ip->i_gl, block, DIO_WAIT, 0, &bh);
ip                114 fs/gfs2/dir.c  	if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_JD)) {
ip                122 fs/gfs2/dir.c  static int gfs2_dir_write_stuffed(struct gfs2_inode *ip, const char *buf,
ip                128 fs/gfs2/dir.c  	error = gfs2_meta_inode_buffer(ip, &dibh);
ip                132 fs/gfs2/dir.c  	gfs2_trans_add_meta(ip->i_gl, dibh);
ip                134 fs/gfs2/dir.c  	if (ip->i_inode.i_size < offset + size)
ip                135 fs/gfs2/dir.c  		i_size_write(&ip->i_inode, offset + size);
ip                136 fs/gfs2/dir.c  	ip->i_inode.i_mtime = ip->i_inode.i_ctime = current_time(&ip->i_inode);
ip                137 fs/gfs2/dir.c  	gfs2_dinode_out(ip, dibh->b_data);
ip                155 fs/gfs2/dir.c  static int gfs2_dir_write_data(struct gfs2_inode *ip, const char *buf,
ip                158 fs/gfs2/dir.c  	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                170 fs/gfs2/dir.c  	if (gfs2_is_stuffed(ip) && offset + size <= gfs2_max_stuffed_size(ip))
ip                171 fs/gfs2/dir.c  		return gfs2_dir_write_stuffed(ip, buf, (unsigned int)offset,
ip                174 fs/gfs2/dir.c  	if (gfs2_assert_warn(sdp, gfs2_is_jdata(ip)))
ip                177 fs/gfs2/dir.c  	if (gfs2_is_stuffed(ip)) {
ip                178 fs/gfs2/dir.c  		error = gfs2_unstuff_dinode(ip, NULL);
ip                196 fs/gfs2/dir.c  			error = gfs2_extent_map(&ip->i_inode, lblock, &new,
ip                206 fs/gfs2/dir.c  			error = gfs2_dir_get_new_buffer(ip, dblock, &bh);
ip                208 fs/gfs2/dir.c  			error = gfs2_dir_get_existing_buffer(ip, dblock, &bh);
ip                213 fs/gfs2/dir.c  		gfs2_trans_add_meta(ip->i_gl, bh);
ip                227 fs/gfs2/dir.c  	error = gfs2_meta_inode_buffer(ip, &dibh);
ip                231 fs/gfs2/dir.c  	if (ip->i_inode.i_size < offset + copied)
ip                232 fs/gfs2/dir.c  		i_size_write(&ip->i_inode, offset + copied);
ip                233 fs/gfs2/dir.c  	ip->i_inode.i_mtime = ip->i_inode.i_ctime = current_time(&ip->i_inode);
ip                235 fs/gfs2/dir.c  	gfs2_trans_add_meta(ip->i_gl, dibh);
ip                236 fs/gfs2/dir.c  	gfs2_dinode_out(ip, dibh->b_data);
ip                246 fs/gfs2/dir.c  static int gfs2_dir_read_stuffed(struct gfs2_inode *ip, __be64 *buf,
ip                252 fs/gfs2/dir.c  	error = gfs2_meta_inode_buffer(ip, &dibh);
ip                270 fs/gfs2/dir.c  static int gfs2_dir_read_data(struct gfs2_inode *ip, __be64 *buf,
ip                273 fs/gfs2/dir.c  	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                280 fs/gfs2/dir.c  	if (gfs2_is_stuffed(ip))
ip                281 fs/gfs2/dir.c  		return gfs2_dir_read_stuffed(ip, buf, size);
ip                283 fs/gfs2/dir.c  	if (gfs2_assert_warn(sdp, gfs2_is_jdata(ip)))
ip                300 fs/gfs2/dir.c  			error = gfs2_extent_map(&ip->i_inode, lblock, &new,
ip                305 fs/gfs2/dir.c  			bh = gfs2_meta_ra(ip->i_gl, dblock, extlen);
ip                307 fs/gfs2/dir.c  			error = gfs2_meta_read(ip->i_gl, dblock, DIO_WAIT, 0, &bh);
ip                338 fs/gfs2/dir.c  static __be64 *gfs2_dir_get_hash_table(struct gfs2_inode *ip)
ip                340 fs/gfs2/dir.c  	struct inode *inode = &ip->i_inode;
ip                345 fs/gfs2/dir.c  	BUG_ON(!(ip->i_diskflags & GFS2_DIF_EXHASH));
ip                347 fs/gfs2/dir.c  	hc = ip->i_hash_cache;
ip                351 fs/gfs2/dir.c  	hsize = BIT(ip->i_depth);
ip                353 fs/gfs2/dir.c  	if (hsize != i_size_read(&ip->i_inode)) {
ip                354 fs/gfs2/dir.c  		gfs2_consist_inode(ip);
ip                365 fs/gfs2/dir.c  	ret = gfs2_dir_read_data(ip, hc, hsize);
ip                372 fs/gfs2/dir.c  	if (likely(!ip->i_hash_cache)) {
ip                373 fs/gfs2/dir.c  		ip->i_hash_cache = hc;
ip                379 fs/gfs2/dir.c  	return ip->i_hash_cache;
ip                388 fs/gfs2/dir.c  void gfs2_dir_hash_inval(struct gfs2_inode *ip)
ip                392 fs/gfs2/dir.c  	spin_lock(&ip->i_inode.i_lock);
ip                393 fs/gfs2/dir.c  	hc = ip->i_hash_cache;
ip                394 fs/gfs2/dir.c  	ip->i_hash_cache = NULL;
ip                395 fs/gfs2/dir.c  	spin_unlock(&ip->i_inode.i_lock);
ip                715 fs/gfs2/dir.c  	struct gfs2_inode *ip = GFS2_I(inode);
ip                721 fs/gfs2/dir.c  	gfs2_trans_add_meta(ip->i_gl, bh);
ip                817 fs/gfs2/dir.c  	struct gfs2_inode *ip = GFS2_I(inode);
ip                820 fs/gfs2/dir.c  	if (ip->i_diskflags & GFS2_DIF_EXHASH) {
ip                822 fs/gfs2/dir.c  		unsigned int hsize = BIT(ip->i_depth);
ip                826 fs/gfs2/dir.c  			gfs2_consist_inode(ip);
ip                830 fs/gfs2/dir.c  		index = name->hash >> (32 - ip->i_depth);
ip                831 fs/gfs2/dir.c  		error = get_first_leaf(ip, index, &bh);
ip                845 fs/gfs2/dir.c  			error = get_leaf(ip, ln, &bh);
ip                852 fs/gfs2/dir.c  	error = gfs2_meta_inode_buffer(ip, &bh);
ip                867 fs/gfs2/dir.c  	struct gfs2_inode *ip = GFS2_I(inode);
ip                876 fs/gfs2/dir.c  	error = gfs2_alloc_blocks(ip, &bn, &n, 0, NULL);
ip                879 fs/gfs2/dir.c  	bh = gfs2_meta_new(ip->i_gl, bn);
ip                884 fs/gfs2/dir.c  	gfs2_trans_add_meta(ip->i_gl, bh);
ip                891 fs/gfs2/dir.c  	leaf->lf_inode = cpu_to_be64(ip->i_no_addr);
ip               1375 fs/gfs2/dir.c  	struct gfs2_inode *ip = GFS2_I(inode);
ip               1388 fs/gfs2/dir.c  		error = get_leaf(ip, lfn, &bh);
ip               1424 fs/gfs2/dir.c  		error = get_leaf(ip, lfn, &bh);
ip               1443 fs/gfs2/dir.c  				gfs2_consist_inode(ip);
ip               1462 fs/gfs2/dir.c  	error = do_filldir_main(ip, ctx, darr, entries, need_sort ?
ip               1483 fs/gfs2/dir.c  	struct gfs2_inode *ip = GFS2_I(inode);
ip               1484 fs/gfs2/dir.c  	struct gfs2_glock *gl = ip->i_gl;
ip               1499 fs/gfs2/dir.c  		blocknr = be64_to_cpu(ip->i_hash_cache[f_ra->start]);
ip               1675 fs/gfs2/dir.c  		   const struct gfs2_inode *ip)
ip               1685 fs/gfs2/dir.c  		if (ip) {
ip               1686 fs/gfs2/dir.c  			if (be64_to_cpu(dent->de_inum.no_addr) != ip->i_no_addr)
ip               1689 fs/gfs2/dir.c  			    ip->i_no_formal_ino)
ip               1691 fs/gfs2/dir.c  			if (unlikely(IF2DT(ip->i_inode.i_mode) !=
ip               1727 fs/gfs2/dir.c  	struct gfs2_inode *ip = GFS2_I(inode);
ip               1734 fs/gfs2/dir.c  	index = name->hash >> (32 - ip->i_depth);
ip               1735 fs/gfs2/dir.c  	error = get_first_leaf(ip, index, &obh);
ip               1745 fs/gfs2/dir.c  		error = get_leaf(ip, bn, &obh);
ip               1750 fs/gfs2/dir.c  	gfs2_trans_add_meta(ip->i_gl, obh);
ip               1762 fs/gfs2/dir.c  	error = gfs2_meta_inode_buffer(ip, &bh);
ip               1765 fs/gfs2/dir.c  	gfs2_trans_add_meta(ip->i_gl, bh);
ip               1766 fs/gfs2/dir.c  	gfs2_add_inode_blocks(&ip->i_inode, 1);
ip               1767 fs/gfs2/dir.c  	gfs2_dinode_out(ip, bh->b_data);
ip               1772 fs/gfs2/dir.c  static u16 gfs2_inode_ra_len(const struct gfs2_inode *ip)
ip               1774 fs/gfs2/dir.c  	u64 where = ip->i_no_addr + 1;
ip               1775 fs/gfs2/dir.c  	if (ip->i_eattr == where)
ip               1799 fs/gfs2/dir.c  	struct gfs2_inode *ip = GFS2_I(inode);
ip               1818 fs/gfs2/dir.c  			tv = current_time(&ip->i_inode);
ip               1819 fs/gfs2/dir.c  			if (ip->i_diskflags & GFS2_DIF_EXHASH) {
ip               1828 fs/gfs2/dir.c  			ip->i_entries++;
ip               1829 fs/gfs2/dir.c  			ip->i_inode.i_mtime = ip->i_inode.i_ctime = tv;
ip               1831 fs/gfs2/dir.c  				inc_nlink(&ip->i_inode);
ip               1836 fs/gfs2/dir.c  		if (!(ip->i_diskflags & GFS2_DIF_EXHASH)) {
ip               1847 fs/gfs2/dir.c  		if (ip->i_depth < GFS2_DIR_MAX_DEPTH) {
ip               1848 fs/gfs2/dir.c  			error = dir_double_exhash(ip);
ip               2158 fs/gfs2/dir.c  	struct gfs2_inode *ip = GFS2_I(inode);
ip               2171 fs/gfs2/dir.c  		if (!(ip->i_diskflags & GFS2_DIF_EXHASH) &&
ip                 30 fs/gfs2/dir.h  			  const struct gfs2_inode *ip);
ip                 32 fs/gfs2/dir.h  			const struct gfs2_inode *ip, struct gfs2_diradd *da);
ip                 49 fs/gfs2/dir.h  extern int gfs2_dir_get_new_buffer(struct gfs2_inode *ip, u64 block,
ip                 51 fs/gfs2/dir.h  extern void gfs2_dir_hash_inval(struct gfs2_inode *ip);
ip                 33 fs/gfs2/export.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                 43 fs/gfs2/export.c 	fh[0] = cpu_to_be32(ip->i_no_formal_ino >> 32);
ip                 44 fs/gfs2/export.c 	fh[1] = cpu_to_be32(ip->i_no_formal_ino & 0xFFFFFFFF);
ip                 45 fs/gfs2/export.c 	fh[2] = cpu_to_be32(ip->i_no_addr >> 32);
ip                 46 fs/gfs2/export.c 	fh[3] = cpu_to_be32(ip->i_no_addr & 0xFFFFFFFF);
ip                 52 fs/gfs2/export.c 	ip = GFS2_I(parent);
ip                 54 fs/gfs2/export.c 	fh[4] = cpu_to_be32(ip->i_no_formal_ino >> 32);
ip                 55 fs/gfs2/export.c 	fh[5] = cpu_to_be32(ip->i_no_formal_ino & 0xFFFFFFFF);
ip                 56 fs/gfs2/export.c 	fh[6] = cpu_to_be32(ip->i_no_addr >> 32);
ip                 57 fs/gfs2/export.c 	fh[7] = cpu_to_be32(ip->i_no_addr & 0xFFFFFFFF);
ip                 90 fs/gfs2/export.c 	struct gfs2_inode *dip, *ip;
ip                106 fs/gfs2/export.c 	ip = GFS2_I(inode);
ip                109 fs/gfs2/export.c 	gnfd.inum.no_addr = ip->i_no_addr;
ip                110 fs/gfs2/export.c 	gnfd.inum.no_formal_ino = ip->i_no_formal_ino;
ip                 58 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
ip                 64 fs/gfs2/file.c 		error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY,
ip                159 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                164 fs/gfs2/file.c 	gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh);
ip                169 fs/gfs2/file.c 	fsflags = gfs2_gfsflags_to_fsflags(inode, ip->i_diskflags);
ip                182 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                186 fs/gfs2/file.c 	if ((ip->i_eattr == 0) && !is_sxid(inode->i_mode))
ip                188 fs/gfs2/file.c 	if (ip->i_diskflags & GFS2_DIF_IMMUTABLE)
ip                190 fs/gfs2/file.c 	if (ip->i_diskflags & GFS2_DIF_APPENDONLY)
ip                192 fs/gfs2/file.c 	if (ip->i_diskflags & GFS2_DIF_NOATIME)
ip                194 fs/gfs2/file.c 	if (ip->i_diskflags & GFS2_DIF_SYNC)
ip                220 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                231 fs/gfs2/file.c 	error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh);
ip                235 fs/gfs2/file.c 	oldflags = gfs2_gfsflags_to_fsflags(inode, ip->i_diskflags);
ip                245 fs/gfs2/file.c 	flags = ip->i_diskflags;
ip                265 fs/gfs2/file.c 			gfs2_log_flush(sdp, ip->i_gl,
ip                275 fs/gfs2/file.c 			gfs2_ordered_del_inode(ip);
ip                280 fs/gfs2/file.c 	error = gfs2_meta_inode_buffer(ip, &bh);
ip                284 fs/gfs2/file.c 	gfs2_trans_add_meta(ip->i_gl, bh);
ip                285 fs/gfs2/file.c 	ip->i_diskflags = new_flags;
ip                286 fs/gfs2/file.c 	gfs2_dinode_out(ip, bh->b_data);
ip                399 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                403 fs/gfs2/file.c 	if (hint > atomic_read(&ip->i_sizehint))
ip                404 fs/gfs2/file.c 		atomic_set(&ip->i_sizehint, hint);
ip                449 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                461 fs/gfs2/file.c 	ret = gfs2_rsqa_alloc(ip);
ip                467 fs/gfs2/file.c 	gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh);
ip                475 fs/gfs2/file.c 	set_bit(GLF_DIRTY, &ip->i_gl->gl_flags);
ip                476 fs/gfs2/file.c 	set_bit(GIF_SW_PAGED, &ip->i_flags);
ip                478 fs/gfs2/file.c 	if (!gfs2_write_alloc_required(ip, pos, PAGE_SIZE)) {
ip                491 fs/gfs2/file.c 	gfs2_write_calc_reserv(ip, PAGE_SIZE, &data_blocks, &ind_blocks);
ip                493 fs/gfs2/file.c 	ret = gfs2_quota_lock_check(ip, &ap);
ip                496 fs/gfs2/file.c 	ret = gfs2_inplace_reserve(ip, &ap);
ip                501 fs/gfs2/file.c 	if (gfs2_is_jdata(ip))
ip                505 fs/gfs2/file.c 		rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks);
ip                528 fs/gfs2/file.c 	if (gfs2_is_stuffed(ip))
ip                529 fs/gfs2/file.c 		ret = gfs2_unstuff_dinode(ip, page);
ip                538 fs/gfs2/file.c 	gfs2_inplace_release(ip);
ip                540 fs/gfs2/file.c 	gfs2_quota_unlock(ip);
ip                574 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
ip                577 fs/gfs2/file.c 	    !IS_NOATIME(&ip->i_inode)) {
ip                581 fs/gfs2/file.c 		error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY,
ip                645 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                650 fs/gfs2/file.c 	if (S_ISREG(ip->i_inode.i_mode)) {
ip                651 fs/gfs2/file.c 		error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY,
ip                676 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                684 fs/gfs2/file.c 	gfs2_rsqa_delete(ip, &inode->i_writecount);
ip                715 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                724 fs/gfs2/file.c 	if (!gfs2_is_jdata(ip))
ip                733 fs/gfs2/file.c 		if (gfs2_is_jdata(ip))
ip                737 fs/gfs2/file.c 		gfs2_ail_flush(ip->i_gl, 1);
ip                749 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
ip                757 fs/gfs2/file.c 	gfs2_holder_init(ip->i_gl, LM_ST_DEFERRED, 0, &gh);
ip                774 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                788 fs/gfs2/file.c 	gfs2_holder_init(ip->i_gl, LM_ST_DEFERRED, 0, &gh);
ip                794 fs/gfs2/file.c 	if (offset + len > i_size_read(&ip->i_inode))
ip                835 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                838 fs/gfs2/file.c 	ret = gfs2_rsqa_alloc(ip);
ip                847 fs/gfs2/file.c 		ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh);
ip                914 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                919 fs/gfs2/file.c 	error = gfs2_meta_inode_buffer(ip, &dibh);
ip                923 fs/gfs2/file.c 	gfs2_trans_add_meta(ip->i_gl, dibh);
ip                925 fs/gfs2/file.c 	if (gfs2_is_stuffed(ip)) {
ip                926 fs/gfs2/file.c 		error = gfs2_unstuff_dinode(ip, NULL);
ip                964 fs/gfs2/file.c static void calc_max_reserv(struct gfs2_inode *ip, loff_t *len,
ip                969 fs/gfs2/file.c 	const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                982 fs/gfs2/file.c 		gfs2_write_calc_reserv(ip, max, data_blocks, ind_blocks);
ip                990 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1015 fs/gfs2/file.c 	gfs2_write_calc_reserv(ip, PAGE_SIZE, &data_blocks, &ind_blocks);
ip               1021 fs/gfs2/file.c 		if (!gfs2_write_alloc_required(ip, offset, bytes)) {
ip               1037 fs/gfs2/file.c 		gfs2_write_calc_reserv(ip, bytes, &data_blocks, &ind_blocks);
ip               1040 fs/gfs2/file.c 		error = gfs2_quota_lock_check(ip, &ap);
ip               1049 fs/gfs2/file.c 		error = gfs2_inplace_reserve(ip, &ap);
ip               1060 fs/gfs2/file.c 		calc_max_reserv(ip, &max_bytes, &data_blocks,
ip               1064 fs/gfs2/file.c 			  RES_RG_HDR + gfs2_rg_blocks(ip, data_blocks + ind_blocks);
ip               1065 fs/gfs2/file.c 		if (gfs2_is_jdata(ip))
ip               1081 fs/gfs2/file.c 		gfs2_inplace_release(ip);
ip               1082 fs/gfs2/file.c 		gfs2_quota_unlock(ip);
ip               1096 fs/gfs2/file.c 	gfs2_inplace_release(ip);
ip               1098 fs/gfs2/file.c 	gfs2_quota_unlock(ip);
ip               1106 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1113 fs/gfs2/file.c 	if (gfs2_is_jdata(ip) && inode != sdp->sd_rindex)
ip               1118 fs/gfs2/file.c 	gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh);
ip               1137 fs/gfs2/file.c 		ret = gfs2_rsqa_alloc(ip);
ip               1144 fs/gfs2/file.c 			gfs2_rs_deltree(&ip->i_res);
ip               1162 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(out->f_mapping->host);
ip               1164 fs/gfs2/file.c 	error = gfs2_rsqa_alloc(ip);
ip               1186 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
ip               1192 fs/gfs2/file.c 	if (__mandatory_lock(&ip->i_inode) && fl->fl_type != F_UNLCK)
ip               1206 fs/gfs2/file.c 		return dlm_posix_get(ls->ls_dlm, ip->i_no_addr, file, fl);
ip               1208 fs/gfs2/file.c 		return dlm_posix_unlock(ls->ls_dlm, ip->i_no_addr, file, fl);
ip               1210 fs/gfs2/file.c 		return dlm_posix_lock(ls->ls_dlm, ip->i_no_addr, file, cmd, fl);
ip               1217 fs/gfs2/file.c 	struct gfs2_inode *ip = GFS2_I(file_inode(file));
ip               1240 fs/gfs2/file.c 		error = gfs2_glock_get(GFS2_SB(&ip->i_inode), ip->i_no_addr,
ip               1261 fs/gfs2/file.c 		gfs2_assert_warn(GFS2_SB(&ip->i_inode), !error);
ip               1742 fs/gfs2/glock.c void gfs2_glock_finish_truncate(struct gfs2_inode *ip)
ip               1744 fs/gfs2/glock.c 	struct gfs2_glock *gl = ip->i_gl;
ip               1747 fs/gfs2/glock.c 	ret = gfs2_truncatei_resume(ip);
ip                239 fs/gfs2/glock.h extern void gfs2_glock_finish_truncate(struct gfs2_inode *ip);
ip                228 fs/gfs2/glops.c 	struct gfs2_inode *ip;
ip                231 fs/gfs2/glops.c 	ip = gl->gl_object;
ip                232 fs/gfs2/glops.c 	if (ip)
ip                233 fs/gfs2/glops.c 		set_bit(GIF_GLOP_PENDING, &ip->i_flags);
ip                235 fs/gfs2/glops.c 	return ip;
ip                249 fs/gfs2/glops.c static void gfs2_clear_glop_pending(struct gfs2_inode *ip)
ip                251 fs/gfs2/glops.c 	if (!ip)
ip                254 fs/gfs2/glops.c 	clear_bit_unlock(GIF_GLOP_PENDING, &ip->i_flags);
ip                255 fs/gfs2/glops.c 	wake_up_bit(&ip->i_flags, GIF_GLOP_PENDING);
ip                266 fs/gfs2/glops.c 	struct gfs2_inode *ip = gfs2_glock2inode(gl);
ip                267 fs/gfs2/glops.c 	int isreg = ip && S_ISREG(ip->i_inode.i_mode);
ip                272 fs/gfs2/glops.c 		if (test_and_clear_bit(GIF_SW_PAGED, &ip->i_flags))
ip                273 fs/gfs2/glops.c 			unmap_shared_mapping_range(ip->i_inode.i_mapping, 0, 0);
ip                274 fs/gfs2/glops.c 		inode_dio_wait(&ip->i_inode);
ip                285 fs/gfs2/glops.c 		struct address_space *mapping = ip->i_inode.i_mapping;
ip                301 fs/gfs2/glops.c 	gfs2_clear_glop_pending(ip);
ip                317 fs/gfs2/glops.c 	struct gfs2_inode *ip = gfs2_glock2inode(gl);
ip                324 fs/gfs2/glops.c 		if (ip) {
ip                325 fs/gfs2/glops.c 			set_bit(GIF_INVALID, &ip->i_flags);
ip                326 fs/gfs2/glops.c 			forget_all_cached_acls(&ip->i_inode);
ip                327 fs/gfs2/glops.c 			security_inode_invalidate_secctx(&ip->i_inode);
ip                328 fs/gfs2/glops.c 			gfs2_dir_hash_inval(ip);
ip                332 fs/gfs2/glops.c 	if (ip == GFS2_I(gl->gl_name.ln_sbd->sd_rindex)) {
ip                338 fs/gfs2/glops.c 	if (ip && S_ISREG(ip->i_inode.i_mode))
ip                339 fs/gfs2/glops.c 		truncate_inode_pages(ip->i_inode.i_mapping, 0);
ip                341 fs/gfs2/glops.c 	gfs2_clear_glop_pending(ip);
ip                361 fs/gfs2/glops.c static int gfs2_dinode_in(struct gfs2_inode *ip, const void *buf)
ip                367 fs/gfs2/glops.c 	if (unlikely(ip->i_no_addr != be64_to_cpu(str->di_num.no_addr)))
ip                369 fs/gfs2/glops.c 	ip->i_no_formal_ino = be64_to_cpu(str->di_num.no_formal_ino);
ip                370 fs/gfs2/glops.c 	ip->i_inode.i_mode = be32_to_cpu(str->di_mode);
ip                371 fs/gfs2/glops.c 	ip->i_inode.i_rdev = 0;
ip                372 fs/gfs2/glops.c 	switch (ip->i_inode.i_mode & S_IFMT) {
ip                375 fs/gfs2/glops.c 		ip->i_inode.i_rdev = MKDEV(be32_to_cpu(str->di_major),
ip                380 fs/gfs2/glops.c 	i_uid_write(&ip->i_inode, be32_to_cpu(str->di_uid));
ip                381 fs/gfs2/glops.c 	i_gid_write(&ip->i_inode, be32_to_cpu(str->di_gid));
ip                382 fs/gfs2/glops.c 	set_nlink(&ip->i_inode, be32_to_cpu(str->di_nlink));
ip                383 fs/gfs2/glops.c 	i_size_write(&ip->i_inode, be64_to_cpu(str->di_size));
ip                384 fs/gfs2/glops.c 	gfs2_set_inode_blocks(&ip->i_inode, be64_to_cpu(str->di_blocks));
ip                387 fs/gfs2/glops.c 	if (timespec64_compare(&ip->i_inode.i_atime, &atime) < 0)
ip                388 fs/gfs2/glops.c 		ip->i_inode.i_atime = atime;
ip                389 fs/gfs2/glops.c 	ip->i_inode.i_mtime.tv_sec = be64_to_cpu(str->di_mtime);
ip                390 fs/gfs2/glops.c 	ip->i_inode.i_mtime.tv_nsec = be32_to_cpu(str->di_mtime_nsec);
ip                391 fs/gfs2/glops.c 	ip->i_inode.i_ctime.tv_sec = be64_to_cpu(str->di_ctime);
ip                392 fs/gfs2/glops.c 	ip->i_inode.i_ctime.tv_nsec = be32_to_cpu(str->di_ctime_nsec);
ip                394 fs/gfs2/glops.c 	ip->i_goal = be64_to_cpu(str->di_goal_meta);
ip                395 fs/gfs2/glops.c 	ip->i_generation = be64_to_cpu(str->di_generation);
ip                397 fs/gfs2/glops.c 	ip->i_diskflags = be32_to_cpu(str->di_flags);
ip                398 fs/gfs2/glops.c 	ip->i_eattr = be64_to_cpu(str->di_eattr);
ip                400 fs/gfs2/glops.c 	gfs2_set_inode_flags(&ip->i_inode);
ip                404 fs/gfs2/glops.c 	ip->i_height = (u8)height;
ip                409 fs/gfs2/glops.c 	ip->i_depth = (u8)depth;
ip                410 fs/gfs2/glops.c 	ip->i_entries = be32_to_cpu(str->di_entries);
ip                412 fs/gfs2/glops.c 	if (S_ISREG(ip->i_inode.i_mode))
ip                413 fs/gfs2/glops.c 		gfs2_set_aops(&ip->i_inode);
ip                417 fs/gfs2/glops.c 	gfs2_consist_inode(ip);
ip                428 fs/gfs2/glops.c int gfs2_inode_refresh(struct gfs2_inode *ip)
ip                433 fs/gfs2/glops.c 	error = gfs2_meta_inode_buffer(ip, &dibh);
ip                437 fs/gfs2/glops.c 	error = gfs2_dinode_in(ip, dibh->b_data);
ip                439 fs/gfs2/glops.c 	clear_bit(GIF_INVALID, &ip->i_flags);
ip                456 fs/gfs2/glops.c 	struct gfs2_inode *ip = gl->gl_object;
ip                459 fs/gfs2/glops.c 	if (!ip || (gh->gh_flags & GL_SKIP))
ip                462 fs/gfs2/glops.c 	if (test_bit(GIF_INVALID, &ip->i_flags)) {
ip                463 fs/gfs2/glops.c 		error = gfs2_inode_refresh(ip);
ip                469 fs/gfs2/glops.c 		inode_dio_wait(&ip->i_inode);
ip                471 fs/gfs2/glops.c 	if ((ip->i_diskflags & GFS2_DIF_TRUNC_IN_PROG) &&
ip                475 fs/gfs2/glops.c 		if (list_empty(&ip->i_trunc_list))
ip                476 fs/gfs2/glops.c 			list_add(&ip->i_trunc_list, &sdp->sd_trunc_list);
ip                496 fs/gfs2/glops.c 	struct gfs2_inode *ip = gl->gl_object;
ip                497 fs/gfs2/glops.c 	struct inode *inode = &ip->i_inode;
ip                500 fs/gfs2/glops.c 	if (ip == NULL)
ip                509 fs/gfs2/glops.c 		  (unsigned long long)ip->i_no_formal_ino,
ip                510 fs/gfs2/glops.c 		  (unsigned long long)ip->i_no_addr,
ip                511 fs/gfs2/glops.c 		  IF2DT(ip->i_inode.i_mode), ip->i_flags,
ip                512 fs/gfs2/glops.c 		  (unsigned int)ip->i_diskflags,
ip                553 fs/gfs2/glops.c 	struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode);
ip                554 fs/gfs2/glops.c 	struct gfs2_glock *j_gl = ip->i_gl;
ip                596 fs/gfs2/glops.c 	struct gfs2_inode *ip = gl->gl_object;
ip                603 fs/gfs2/glops.c 	    gl->gl_state == LM_ST_SHARED && ip) {
ip                872 fs/gfs2/incore.h static inline unsigned gfs2_max_stuffed_size(const struct gfs2_inode *ip)
ip                874 fs/gfs2/incore.h 	return GFS2_SB(&ip->i_inode)->sd_sb.sb_bsize - sizeof(struct gfs2_dinode);
ip                125 fs/gfs2/inode.c 	struct gfs2_inode *ip;
ip                135 fs/gfs2/inode.c 	ip = GFS2_I(inode);
ip                139 fs/gfs2/inode.c 		ip->i_no_formal_ino = no_formal_ino;
ip                141 fs/gfs2/inode.c 		error = gfs2_glock_get(sdp, no_addr, &gfs2_inode_glops, CREATE, &ip->i_gl);
ip                144 fs/gfs2/inode.c 		flush_delayed_work(&ip->i_gl->gl_work);
ip                156 fs/gfs2/inode.c 			error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE,
ip                169 fs/gfs2/inode.c 		glock_set_object(ip->i_gl, ip);
ip                170 fs/gfs2/inode.c 		set_bit(GIF_INVALID, &ip->i_flags);
ip                171 fs/gfs2/inode.c 		error = gfs2_glock_nq_init(io_gl, LM_ST_SHARED, GL_EXACT, &ip->i_iopen_gh);
ip                174 fs/gfs2/inode.c 		glock_set_object(ip->i_iopen_gh.gh_gl, ip);
ip                201 fs/gfs2/inode.c 	ip->i_iopen_gh.gh_flags |= GL_NOCACHE;
ip                202 fs/gfs2/inode.c 	glock_clear_object(ip->i_iopen_gh.gh_gl, ip);
ip                203 fs/gfs2/inode.c 	gfs2_glock_dq_uninit(&ip->i_iopen_gh);
ip                207 fs/gfs2/inode.c 	glock_clear_object(ip->i_gl, ip);
ip                372 fs/gfs2/inode.c static int alloc_dinode(struct gfs2_inode *ip, u32 flags, unsigned *dblocks)
ip                374 fs/gfs2/inode.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                378 fs/gfs2/inode.c 	error = gfs2_quota_lock_check(ip, &ap);
ip                382 fs/gfs2/inode.c 	error = gfs2_inplace_reserve(ip, &ap);
ip                390 fs/gfs2/inode.c 	error = gfs2_alloc_blocks(ip, &ip->i_no_addr, dblocks, 1, &ip->i_generation);
ip                391 fs/gfs2/inode.c 	ip->i_no_formal_ino = ip->i_generation;
ip                392 fs/gfs2/inode.c 	ip->i_inode.i_ino = ip->i_no_addr;
ip                393 fs/gfs2/inode.c 	ip->i_goal = ip->i_no_addr;
ip                398 fs/gfs2/inode.c 	gfs2_inplace_release(ip);
ip                400 fs/gfs2/inode.c 	gfs2_quota_unlock(ip);
ip                430 fs/gfs2/inode.c static void gfs2_init_xattr(struct gfs2_inode *ip)
ip                432 fs/gfs2/inode.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                436 fs/gfs2/inode.c 	bh = gfs2_meta_new(ip->i_gl, ip->i_eattr);
ip                437 fs/gfs2/inode.c 	gfs2_trans_add_meta(ip->i_gl, bh);
ip                458 fs/gfs2/inode.c static void init_dinode(struct gfs2_inode *dip, struct gfs2_inode *ip,
ip                464 fs/gfs2/inode.c 	dibh = gfs2_meta_new(ip->i_gl, ip->i_no_addr);
ip                465 fs/gfs2/inode.c 	gfs2_trans_add_meta(ip->i_gl, dibh);
ip                467 fs/gfs2/inode.c 	gfs2_dinode_out(ip, di);
ip                469 fs/gfs2/inode.c 	di->di_major = cpu_to_be32(MAJOR(ip->i_inode.i_rdev));
ip                470 fs/gfs2/inode.c 	di->di_minor = cpu_to_be32(MINOR(ip->i_inode.i_rdev));
ip                478 fs/gfs2/inode.c 	switch(ip->i_inode.i_mode & S_IFMT) {
ip                483 fs/gfs2/inode.c 		memcpy(dibh->b_data + sizeof(struct gfs2_dinode), symname, ip->i_inode.i_size);
ip                514 fs/gfs2/inode.c 		       struct gfs2_inode *ip, struct gfs2_diradd *da)
ip                538 fs/gfs2/inode.c 	error = gfs2_dir_add(&dip->i_inode, name, ip, da);
ip                586 fs/gfs2/inode.c 	struct gfs2_inode *dip = GFS2_I(dir), *ip;
ip                649 fs/gfs2/inode.c 	ip = GFS2_I(inode);
ip                650 fs/gfs2/inode.c 	error = gfs2_rsqa_alloc(ip);
ip                662 fs/gfs2/inode.c 	ip->i_goal = dip->i_goal;
ip                663 fs/gfs2/inode.c 	ip->i_diskflags = 0;
ip                664 fs/gfs2/inode.c 	ip->i_eattr = 0;
ip                665 fs/gfs2/inode.c 	ip->i_height = 0;
ip                666 fs/gfs2/inode.c 	ip->i_depth = 0;
ip                667 fs/gfs2/inode.c 	ip->i_entries = 0;
ip                668 fs/gfs2/inode.c 	ip->i_no_addr = 0; /* Temporarily zero until real addr is assigned */
ip                674 fs/gfs2/inode.c 			ip->i_diskflags |= GFS2_DIF_JDATA;
ip                678 fs/gfs2/inode.c 		ip->i_diskflags |= (dip->i_diskflags & GFS2_DIF_INHERIT_JDATA);
ip                679 fs/gfs2/inode.c 		ip->i_diskflags |= GFS2_DIF_JDATA;
ip                680 fs/gfs2/inode.c 		ip->i_entries = 2;
ip                686 fs/gfs2/inode.c 		ip->i_diskflags |= GFS2_DIF_SYSTEM;
ip                697 fs/gfs2/inode.c 	error = alloc_dinode(ip, aflags, &blocks);
ip                703 fs/gfs2/inode.c 	error = gfs2_glock_get(sdp, ip->i_no_addr, &gfs2_inode_glops, CREATE, &ip->i_gl);
ip                706 fs/gfs2/inode.c 	flush_delayed_work(&ip->i_gl->gl_work);
ip                707 fs/gfs2/inode.c 	glock_set_object(ip->i_gl, ip);
ip                709 fs/gfs2/inode.c 	error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, ghs + 1);
ip                718 fs/gfs2/inode.c 		ip->i_eattr = ip->i_no_addr + 1;
ip                719 fs/gfs2/inode.c 		gfs2_init_xattr(ip);
ip                721 fs/gfs2/inode.c 	init_dinode(dip, ip, symname);
ip                724 fs/gfs2/inode.c 	error = gfs2_glock_get(sdp, ip->i_no_addr, &gfs2_iopen_glops, CREATE, &io_gl);
ip                730 fs/gfs2/inode.c 	error = gfs2_glock_nq_init(io_gl, LM_ST_SHARED, GL_EXACT, &ip->i_iopen_gh);
ip                734 fs/gfs2/inode.c 	glock_set_object(ip->i_iopen_gh.gh_gl, ip);
ip                757 fs/gfs2/inode.c 	error = security_inode_init_security(&ip->i_inode, &dip->i_inode, name,
ip                762 fs/gfs2/inode.c 	error = link_dinode(dip, name, ip, &da);
ip                778 fs/gfs2/inode.c 	glock_clear_object(io_gl, ip);
ip                779 fs/gfs2/inode.c 	gfs2_glock_dq_uninit(&ip->i_iopen_gh);
ip                785 fs/gfs2/inode.c 	if (ip->i_gl) {
ip                786 fs/gfs2/inode.c 		glock_clear_object(ip->i_gl, ip);
ip                787 fs/gfs2/inode.c 		gfs2_glock_put(ip->i_gl);
ip                789 fs/gfs2/inode.c 	gfs2_rsqa_delete(ip, NULL);
ip                899 fs/gfs2/inode.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                913 fs/gfs2/inode.c 	gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + 1);
ip                951 fs/gfs2/inode.c 	if (!ip->i_inode.i_nlink)
ip                954 fs/gfs2/inode.c 	if (ip->i_inode.i_nlink == (u32)-1)
ip                980 fs/gfs2/inode.c 	error = gfs2_meta_inode_buffer(ip, &dibh);
ip                984 fs/gfs2/inode.c 	error = gfs2_dir_add(dir, &dentry->d_name, ip, &da);
ip                988 fs/gfs2/inode.c 	gfs2_trans_add_meta(ip->i_gl, dibh);
ip                989 fs/gfs2/inode.c 	inc_nlink(&ip->i_inode);
ip                990 fs/gfs2/inode.c 	ip->i_inode.i_ctime = current_time(&ip->i_inode);
ip               1028 fs/gfs2/inode.c 			  const struct gfs2_inode *ip)
ip               1032 fs/gfs2/inode.c 	if (IS_IMMUTABLE(&ip->i_inode) || IS_APPEND(&ip->i_inode))
ip               1037 fs/gfs2/inode.c 	    !uid_eq(ip->i_inode.i_uid, current_fsuid()) && !capable(CAP_FOWNER))
ip               1047 fs/gfs2/inode.c 	return gfs2_dir_check(&dip->i_inode, name, ip);
ip               1066 fs/gfs2/inode.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1073 fs/gfs2/inode.c 	ip->i_entries = 0;
ip               1102 fs/gfs2/inode.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1114 fs/gfs2/inode.c 	gfs2_holder_init(ip->i_gl,  LM_ST_EXCLUSIVE, 0, ghs + 1);
ip               1116 fs/gfs2/inode.c 	rgd = gfs2_blk2rgrpd(sdp, ip->i_no_addr, 1);
ip               1137 fs/gfs2/inode.c 		if (ip->i_entries > 2 || inode->i_nlink > 2)
ip               1145 fs/gfs2/inode.c 	error = gfs2_unlink_ok(dip, &dentry->d_name, ip);
ip               1321 fs/gfs2/inode.c static int update_moved_ino(struct gfs2_inode *ip, struct gfs2_inode *ndip,
ip               1325 fs/gfs2/inode.c 		return gfs2_dir_mvino(ip, &gfs2_qdotdot, ndip, DT_DIR);
ip               1327 fs/gfs2/inode.c 	ip->i_inode.i_ctime = current_time(&ip->i_inode);
ip               1328 fs/gfs2/inode.c 	mark_inode_dirty_sync(&ip->i_inode);
ip               1348 fs/gfs2/inode.c 	struct gfs2_inode *ip = GFS2_I(d_inode(odentry));
ip               1363 fs/gfs2/inode.c 		if (ip == nip)
ip               1381 fs/gfs2/inode.c 		if (S_ISDIR(ip->i_inode.i_mode)) {
ip               1384 fs/gfs2/inode.c 			error = gfs2_ok_to_move(ip, ndip);
ip               1397 fs/gfs2/inode.c 	gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs + num_gh);
ip               1432 fs/gfs2/inode.c 	if (ip->i_inode.i_nlink == 0)
ip               1437 fs/gfs2/inode.c 	error = gfs2_unlink_ok(odip, &odentry->d_name, ip);
ip               1489 fs/gfs2/inode.c 			if (S_ISDIR(ip->i_inode.i_mode) &&
ip               1537 fs/gfs2/inode.c 	error = update_moved_ino(ip, ndip, dir_rename);
ip               1545 fs/gfs2/inode.c 	error = gfs2_dir_add(ndir, &ndentry->d_name, ip, &da);
ip               1751 fs/gfs2/inode.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1761 fs/gfs2/inode.c 	gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh);
ip               1768 fs/gfs2/inode.c 	size = (unsigned int)i_size_read(&ip->i_inode);
ip               1770 fs/gfs2/inode.c 		gfs2_consist_inode(ip);
ip               1775 fs/gfs2/inode.c 	error = gfs2_meta_inode_buffer(ip, &dibh);
ip               1809 fs/gfs2/inode.c 	struct gfs2_inode *ip;
ip               1814 fs/gfs2/inode.c 	ip = GFS2_I(inode);
ip               1815 fs/gfs2/inode.c 	if (gfs2_glock_is_locked_by_me(ip->i_gl) == NULL) {
ip               1818 fs/gfs2/inode.c 		error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh);
ip               1866 fs/gfs2/inode.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1883 fs/gfs2/inode.c 	error = gfs2_rsqa_alloc(ip);
ip               1891 fs/gfs2/inode.c 	error = gfs2_quota_lock(ip, nuid, ngid);
ip               1895 fs/gfs2/inode.c 	ap.target = gfs2_get_inode_blocks(&ip->i_inode);
ip               1899 fs/gfs2/inode.c 		error = gfs2_quota_check(ip, nuid, ngid, &ap);
ip               1914 fs/gfs2/inode.c 		gfs2_quota_change(ip, -(s64)ap.target, ouid, ogid);
ip               1915 fs/gfs2/inode.c 		gfs2_quota_change(ip, ap.target, nuid, ngid);
ip               1921 fs/gfs2/inode.c 	gfs2_quota_unlock(ip);
ip               1940 fs/gfs2/inode.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1944 fs/gfs2/inode.c 	error = gfs2_rsqa_alloc(ip);
ip               1948 fs/gfs2/inode.c 	error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh);
ip               1997 fs/gfs2/inode.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               2003 fs/gfs2/inode.c 	if (gfs2_glock_is_locked_by_me(ip->i_gl) == NULL) {
ip               2004 fs/gfs2/inode.c 		error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh);
ip               2009 fs/gfs2/inode.c 	gfsflags = ip->i_diskflags;
ip               2032 fs/gfs2/inode.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               2038 fs/gfs2/inode.c 	ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh);
ip               2054 fs/gfs2/inode.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               2059 fs/gfs2/inode.c 	ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh);
ip               2073 fs/gfs2/inode.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               2078 fs/gfs2/inode.c 	ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh);
ip                 16 fs/gfs2/inode.h extern int gfs2_internal_read(struct gfs2_inode *ip,
ip                 20 fs/gfs2/inode.h static inline int gfs2_is_stuffed(const struct gfs2_inode *ip)
ip                 22 fs/gfs2/inode.h 	return !ip->i_height;
ip                 25 fs/gfs2/inode.h static inline int gfs2_is_jdata(const struct gfs2_inode *ip)
ip                 27 fs/gfs2/inode.h 	return ip->i_diskflags & GFS2_DIF_JDATA;
ip                 40 fs/gfs2/inode.h static inline int gfs2_is_dir(const struct gfs2_inode *ip)
ip                 42 fs/gfs2/inode.h 	return S_ISDIR(ip->i_inode.i_mode);
ip                 64 fs/gfs2/inode.h static inline int gfs2_check_inum(const struct gfs2_inode *ip, u64 no_addr,
ip                 67 fs/gfs2/inode.h 	return ip->i_no_addr == no_addr && ip->i_no_formal_ino == no_formal_ino;
ip                 70 fs/gfs2/inode.h static inline void gfs2_inum_out(const struct gfs2_inode *ip,
ip                 73 fs/gfs2/inode.h 	dent->de_inum.no_formal_ino = cpu_to_be64(ip->i_no_formal_ino);
ip                 74 fs/gfs2/inode.h 	dent->de_inum.no_addr = cpu_to_be64(ip->i_no_addr);
ip                 98 fs/gfs2/inode.h extern int gfs2_inode_refresh(struct gfs2_inode *ip);
ip                105 fs/gfs2/inode.h extern void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf);
ip                547 fs/gfs2/log.c  	struct gfs2_inode *ip;
ip                553 fs/gfs2/log.c  		ip = list_entry(sdp->sd_log_ordered.next, struct gfs2_inode, i_ordered);
ip                554 fs/gfs2/log.c  		if (ip->i_inode.i_mapping->nrpages == 0) {
ip                555 fs/gfs2/log.c  			test_and_clear_bit(GIF_ORDERED, &ip->i_flags);
ip                556 fs/gfs2/log.c  			list_del(&ip->i_ordered);
ip                559 fs/gfs2/log.c  		list_move(&ip->i_ordered, &written);
ip                561 fs/gfs2/log.c  		filemap_fdatawrite(ip->i_inode.i_mapping);
ip                570 fs/gfs2/log.c  	struct gfs2_inode *ip;
ip                574 fs/gfs2/log.c  		ip = list_entry(sdp->sd_log_ordered.next, struct gfs2_inode, i_ordered);
ip                575 fs/gfs2/log.c  		list_del(&ip->i_ordered);
ip                576 fs/gfs2/log.c  		WARN_ON(!test_and_clear_bit(GIF_ORDERED, &ip->i_flags));
ip                577 fs/gfs2/log.c  		if (ip->i_inode.i_mapping->nrpages == 0)
ip                580 fs/gfs2/log.c  		filemap_fdatawait(ip->i_inode.i_mapping);
ip                586 fs/gfs2/log.c  void gfs2_ordered_del_inode(struct gfs2_inode *ip)
ip                588 fs/gfs2/log.c  	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                591 fs/gfs2/log.c  	if (test_and_clear_bit(GIF_ORDERED, &ip->i_flags))
ip                592 fs/gfs2/log.c  		list_del(&ip->i_ordered);
ip                 49 fs/gfs2/log.h  static inline void gfs2_ordered_add_inode(struct gfs2_inode *ip)
ip                 51 fs/gfs2/log.h  	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                 53 fs/gfs2/log.h  	if (gfs2_is_jdata(ip) || !gfs2_is_ordered(sdp))
ip                 56 fs/gfs2/log.h  	if (!test_bit(GIF_ORDERED, &ip->i_flags)) {
ip                 58 fs/gfs2/log.h  		if (!test_and_set_bit(GIF_ORDERED, &ip->i_flags))
ip                 59 fs/gfs2/log.h  			list_add(&ip->i_ordered, &sdp->sd_log_ordered);
ip                 63 fs/gfs2/log.h  extern void gfs2_ordered_del_inode(struct gfs2_inode *ip);
ip                752 fs/gfs2/lops.c 	struct gfs2_inode *ip = GFS2_I(jd->jd_inode);
ip                754 fs/gfs2/lops.c 	struct gfs2_glock *gl = ip->i_gl;
ip                839 fs/gfs2/lops.c 	struct gfs2_inode *ip = GFS2_I(jd->jd_inode);
ip                843 fs/gfs2/lops.c 		gfs2_meta_sync(ip->i_gl);
ip                849 fs/gfs2/lops.c 	gfs2_meta_sync(ip->i_gl);
ip               1006 fs/gfs2/lops.c 	struct gfs2_inode *ip = GFS2_I(jd->jd_inode);
ip               1007 fs/gfs2/lops.c 	struct gfs2_glock *gl = ip->i_gl;
ip               1054 fs/gfs2/lops.c 	struct gfs2_inode *ip = GFS2_I(jd->jd_inode);
ip               1058 fs/gfs2/lops.c 		gfs2_meta_sync(ip->i_gl);
ip               1065 fs/gfs2/lops.c 	gfs2_meta_sync(ip->i_gl);
ip                 36 fs/gfs2/main.c 	struct gfs2_inode *ip = foo;
ip                 38 fs/gfs2/main.c 	inode_init_once(&ip->i_inode);
ip                 39 fs/gfs2/main.c 	atomic_set(&ip->i_sizehint, 0);
ip                 40 fs/gfs2/main.c 	init_rwsem(&ip->i_rw_mutex);
ip                 41 fs/gfs2/main.c 	INIT_LIST_HEAD(&ip->i_trunc_list);
ip                 42 fs/gfs2/main.c 	ip->i_qadata = NULL;
ip                 43 fs/gfs2/main.c 	gfs2_holder_mark_uninitialized(&ip->i_rgd_gh);
ip                 44 fs/gfs2/main.c 	memset(&ip->i_res, 0, sizeof(ip->i_res));
ip                 45 fs/gfs2/main.c 	RB_CLEAR_NODE(&ip->i_res.rs_node);
ip                 46 fs/gfs2/main.c 	ip->i_hash_cache = NULL;
ip                 47 fs/gfs2/main.c 	gfs2_holder_mark_uninitialized(&ip->i_iopen_gh);
ip                371 fs/gfs2/meta_io.c void gfs2_meta_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen)
ip                373 fs/gfs2/meta_io.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                377 fs/gfs2/meta_io.c 		bh = gfs2_getbuf(ip->i_gl, bstart, NO_CREATE);
ip                402 fs/gfs2/meta_io.c int gfs2_meta_indirect_buffer(struct gfs2_inode *ip, int height, u64 num,
ip                405 fs/gfs2/meta_io.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                406 fs/gfs2/meta_io.c 	struct gfs2_glock *gl = ip->i_gl;
ip                412 fs/gfs2/meta_io.c 	if (num == ip->i_no_addr)
ip                413 fs/gfs2/meta_io.c 		rahead = ip->i_rahead;
ip                 63 fs/gfs2/meta_io.h extern void gfs2_meta_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen);
ip                 64 fs/gfs2/meta_io.h extern int gfs2_meta_indirect_buffer(struct gfs2_inode *ip, int height, u64 num,
ip                 67 fs/gfs2/meta_io.h static inline int gfs2_meta_inode_buffer(struct gfs2_inode *ip,
ip                 70 fs/gfs2/meta_io.h 	return gfs2_meta_indirect_buffer(ip, 0, ip->i_no_addr, bhp);
ip                613 fs/gfs2/ops_fstype.c 	struct gfs2_inode *ip;
ip                615 fs/gfs2/ops_fstype.c 	ip = GFS2_I(jd->jd_inode);
ip                616 fs/gfs2/ops_fstype.c 	error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_NOEXP |
ip                647 fs/gfs2/ops_fstype.c 	struct gfs2_inode *ip;
ip                702 fs/gfs2/ops_fstype.c 		ip = GFS2_I(sdp->sd_jdesc->jd_inode);
ip                703 fs/gfs2/ops_fstype.c 		error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED,
ip                847 fs/gfs2/ops_fstype.c 	struct gfs2_inode *ip;
ip                882 fs/gfs2/ops_fstype.c 	ip = GFS2_I(sdp->sd_sc_inode);
ip                883 fs/gfs2/ops_fstype.c 	error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0,
ip                890 fs/gfs2/ops_fstype.c 	ip = GFS2_I(sdp->sd_qc_inode);
ip                891 fs/gfs2/ops_fstype.c 	error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0,
ip                368 fs/gfs2/quota.c 	struct gfs2_inode *ip = GFS2_I(sdp->sd_qc_inode);
ip                384 fs/gfs2/quota.c 	bh_map.b_size = BIT(ip->i_inode.i_blkbits);
ip                385 fs/gfs2/quota.c 	error = gfs2_block_map(&ip->i_inode, block, &bh_map, 0);
ip                388 fs/gfs2/quota.c 	error = gfs2_meta_read(ip->i_gl, bh_map.b_blocknr, DIO_WAIT, 0, &bh);
ip                532 fs/gfs2/quota.c int gfs2_qa_alloc(struct gfs2_inode *ip)
ip                535 fs/gfs2/quota.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                540 fs/gfs2/quota.c 	down_write(&ip->i_rw_mutex);
ip                541 fs/gfs2/quota.c 	if (ip->i_qadata == NULL) {
ip                542 fs/gfs2/quota.c 		ip->i_qadata = kmem_cache_zalloc(gfs2_qadata_cachep, GFP_NOFS);
ip                543 fs/gfs2/quota.c 		if (!ip->i_qadata)
ip                546 fs/gfs2/quota.c 	up_write(&ip->i_rw_mutex);
ip                550 fs/gfs2/quota.c void gfs2_qa_delete(struct gfs2_inode *ip, atomic_t *wcount)
ip                552 fs/gfs2/quota.c 	down_write(&ip->i_rw_mutex);
ip                553 fs/gfs2/quota.c 	if (ip->i_qadata && ((wcount == NULL) || (atomic_read(wcount) <= 1))) {
ip                554 fs/gfs2/quota.c 		kmem_cache_free(gfs2_qadata_cachep, ip->i_qadata);
ip                555 fs/gfs2/quota.c 		ip->i_qadata = NULL;
ip                557 fs/gfs2/quota.c 	up_write(&ip->i_rw_mutex);
ip                560 fs/gfs2/quota.c int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid)
ip                562 fs/gfs2/quota.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                569 fs/gfs2/quota.c 	if (ip->i_qadata == NULL) {
ip                570 fs/gfs2/quota.c 		error = gfs2_rsqa_alloc(ip);
ip                575 fs/gfs2/quota.c 	qd = ip->i_qadata->qa_qd;
ip                577 fs/gfs2/quota.c 	if (gfs2_assert_warn(sdp, !ip->i_qadata->qa_qd_num) ||
ip                578 fs/gfs2/quota.c 	    gfs2_assert_warn(sdp, !test_bit(GIF_QD_LOCKED, &ip->i_flags)))
ip                581 fs/gfs2/quota.c 	error = qdsb_get(sdp, make_kqid_uid(ip->i_inode.i_uid), qd);
ip                584 fs/gfs2/quota.c 	ip->i_qadata->qa_qd_num++;
ip                587 fs/gfs2/quota.c 	error = qdsb_get(sdp, make_kqid_gid(ip->i_inode.i_gid), qd);
ip                590 fs/gfs2/quota.c 	ip->i_qadata->qa_qd_num++;
ip                594 fs/gfs2/quota.c 	    !uid_eq(uid, ip->i_inode.i_uid)) {
ip                598 fs/gfs2/quota.c 		ip->i_qadata->qa_qd_num++;
ip                603 fs/gfs2/quota.c 	    !gid_eq(gid, ip->i_inode.i_gid)) {
ip                607 fs/gfs2/quota.c 		ip->i_qadata->qa_qd_num++;
ip                613 fs/gfs2/quota.c 		gfs2_quota_unhold(ip);
ip                617 fs/gfs2/quota.c void gfs2_quota_unhold(struct gfs2_inode *ip)
ip                619 fs/gfs2/quota.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                622 fs/gfs2/quota.c 	if (ip->i_qadata == NULL)
ip                624 fs/gfs2/quota.c 	gfs2_assert_warn(sdp, !test_bit(GIF_QD_LOCKED, &ip->i_flags));
ip                626 fs/gfs2/quota.c 	for (x = 0; x < ip->i_qadata->qa_qd_num; x++) {
ip                627 fs/gfs2/quota.c 		qdsb_put(ip->i_qadata->qa_qd[x]);
ip                628 fs/gfs2/quota.c 		ip->i_qadata->qa_qd[x] = NULL;
ip                630 fs/gfs2/quota.c 	ip->i_qadata->qa_qd_num = 0;
ip                648 fs/gfs2/quota.c 	struct gfs2_inode *ip = GFS2_I(sdp->sd_qc_inode);
ip                653 fs/gfs2/quota.c 	gfs2_trans_add_meta(ip->i_gl, qd->qd_bh);
ip                687 fs/gfs2/quota.c static int gfs2_write_buf_to_page(struct gfs2_inode *ip, unsigned long index,
ip                690 fs/gfs2/quota.c 	struct inode *inode = &ip->i_inode;
ip                735 fs/gfs2/quota.c 		if (gfs2_is_jdata(ip))
ip                736 fs/gfs2/quota.c 			gfs2_trans_add_data(ip->i_gl, bh);
ip                738 fs/gfs2/quota.c 			gfs2_ordered_add_inode(ip);
ip                766 fs/gfs2/quota.c static int gfs2_write_disk_quota(struct gfs2_inode *ip, struct gfs2_quota *qp,
ip                786 fs/gfs2/quota.c 	error = gfs2_write_buf_to_page(ip, pg_beg, pg_off, ptr,
ip                790 fs/gfs2/quota.c 		error = gfs2_write_buf_to_page(ip, pg_beg + 1, 0,
ip                810 fs/gfs2/quota.c static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc,
ip                814 fs/gfs2/quota.c 	struct inode *inode = &ip->i_inode;
ip                820 fs/gfs2/quota.c 	if (gfs2_is_stuffed(ip)) {
ip                821 fs/gfs2/quota.c 		err = gfs2_unstuff_dinode(ip, NULL);
ip                827 fs/gfs2/quota.c 	err = gfs2_internal_read(ip, (char *)&q, &loc, sizeof(q));
ip                852 fs/gfs2/quota.c 	err = gfs2_write_disk_quota(ip, &q, loc);
ip                868 fs/gfs2/quota.c 	struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode);
ip                879 fs/gfs2/quota.c 	error = gfs2_rsqa_alloc(ip);
ip                883 fs/gfs2/quota.c 	gfs2_write_calc_reserv(ip, sizeof(struct gfs2_quota),
ip                891 fs/gfs2/quota.c 	inode_lock(&ip->i_inode);
ip                899 fs/gfs2/quota.c 	error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh);
ip                905 fs/gfs2/quota.c 		if (gfs2_write_alloc_required(ip, offset,
ip                923 fs/gfs2/quota.c 	error = gfs2_inplace_reserve(ip, &ap);
ip                928 fs/gfs2/quota.c 		blocks += gfs2_rg_blocks(ip, reserved) + nalloc * ind_blocks + RES_STATFS;
ip                937 fs/gfs2/quota.c 		error = gfs2_adjust_quota(ip, offset, qd->qd_change_sync, qd, NULL);
ip                950 fs/gfs2/quota.c 	gfs2_inplace_release(ip);
ip                956 fs/gfs2/quota.c 	inode_unlock(&ip->i_inode);
ip                958 fs/gfs2/quota.c 	gfs2_log_flush(ip->i_gl->gl_name.ln_sbd, ip->i_gl,
ip                965 fs/gfs2/quota.c 	struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode);
ip                973 fs/gfs2/quota.c 	error = gfs2_internal_read(ip, (char *)&q, &pos, sizeof(q));
ip                992 fs/gfs2/quota.c 	struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode);
ip               1013 fs/gfs2/quota.c 		error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh);
ip               1036 fs/gfs2/quota.c int gfs2_quota_lock(struct gfs2_inode *ip, kuid_t uid, kgid_t gid)
ip               1038 fs/gfs2/quota.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               1046 fs/gfs2/quota.c 	error = gfs2_quota_hold(ip, uid, gid);
ip               1050 fs/gfs2/quota.c 	sort(ip->i_qadata->qa_qd, ip->i_qadata->qa_qd_num,
ip               1053 fs/gfs2/quota.c 	for (x = 0; x < ip->i_qadata->qa_qd_num; x++) {
ip               1054 fs/gfs2/quota.c 		qd = ip->i_qadata->qa_qd[x];
ip               1055 fs/gfs2/quota.c 		error = do_glock(qd, NO_FORCE, &ip->i_qadata->qa_qd_ghs[x]);
ip               1061 fs/gfs2/quota.c 		set_bit(GIF_QD_LOCKED, &ip->i_flags);
ip               1064 fs/gfs2/quota.c 			gfs2_glock_dq_uninit(&ip->i_qadata->qa_qd_ghs[x]);
ip               1065 fs/gfs2/quota.c 		gfs2_quota_unhold(ip);
ip               1107 fs/gfs2/quota.c void gfs2_quota_unlock(struct gfs2_inode *ip)
ip               1109 fs/gfs2/quota.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               1115 fs/gfs2/quota.c 	if (!test_and_clear_bit(GIF_QD_LOCKED, &ip->i_flags))
ip               1118 fs/gfs2/quota.c 	for (x = 0; x < ip->i_qadata->qa_qd_num; x++) {
ip               1122 fs/gfs2/quota.c 		qd = ip->i_qadata->qa_qd[x];
ip               1125 fs/gfs2/quota.c 		gfs2_glock_dq_uninit(&ip->i_qadata->qa_qd_ghs[x]);
ip               1154 fs/gfs2/quota.c 	gfs2_quota_unhold(ip);
ip               1188 fs/gfs2/quota.c int gfs2_quota_check(struct gfs2_inode *ip, kuid_t uid, kgid_t gid,
ip               1191 fs/gfs2/quota.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               1198 fs/gfs2/quota.c 	if (!test_bit(GIF_QD_LOCKED, &ip->i_flags))
ip               1204 fs/gfs2/quota.c 	for (x = 0; x < ip->i_qadata->qa_qd_num; x++) {
ip               1205 fs/gfs2/quota.c 		qd = ip->i_qadata->qa_qd[x];
ip               1248 fs/gfs2/quota.c void gfs2_quota_change(struct gfs2_inode *ip, s64 change,
ip               1253 fs/gfs2/quota.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               1258 fs/gfs2/quota.c 	if (ip->i_diskflags & GFS2_DIF_SYSTEM)
ip               1261 fs/gfs2/quota.c 	for (x = 0; x < ip->i_qadata->qa_qd_num; x++) {
ip               1262 fs/gfs2/quota.c 		qd = ip->i_qadata->qa_qd[x];
ip               1337 fs/gfs2/quota.c 	struct gfs2_inode *ip = GFS2_I(sdp->sd_qc_inode);
ip               1369 fs/gfs2/quota.c 			error = gfs2_extent_map(&ip->i_inode, x, &new, &dblock, &extlen);
ip               1374 fs/gfs2/quota.c 		bh = gfs2_meta_ra(ip->i_gl, dblock, extlen);
ip               1500 fs/gfs2/quota.c 	struct gfs2_inode *ip;
ip               1503 fs/gfs2/quota.c 		ip = NULL;
ip               1506 fs/gfs2/quota.c 			ip = list_entry(sdp->sd_trunc_list.next,
ip               1508 fs/gfs2/quota.c 			list_del_init(&ip->i_trunc_list);
ip               1511 fs/gfs2/quota.c 		if (ip == NULL)
ip               1513 fs/gfs2/quota.c 		gfs2_glock_finish_truncate(ip);
ip               1653 fs/gfs2/quota.c 	struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode);
ip               1676 fs/gfs2/quota.c 	error = gfs2_rsqa_alloc(ip);
ip               1680 fs/gfs2/quota.c 	inode_lock(&ip->i_inode);
ip               1684 fs/gfs2/quota.c 	error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh);
ip               1710 fs/gfs2/quota.c 	alloc_required = gfs2_write_alloc_required(ip, offset, sizeof(struct gfs2_quota));
ip               1711 fs/gfs2/quota.c 	if (gfs2_is_stuffed(ip))
ip               1715 fs/gfs2/quota.c 		gfs2_write_calc_reserv(ip, sizeof(struct gfs2_quota),
ip               1719 fs/gfs2/quota.c 		error = gfs2_inplace_reserve(ip, &ap);
ip               1722 fs/gfs2/quota.c 		blocks += gfs2_rg_blocks(ip, blocks);
ip               1732 fs/gfs2/quota.c 	error = gfs2_adjust_quota(ip, offset, 0, qd, fdq);
ip               1739 fs/gfs2/quota.c 		gfs2_inplace_release(ip);
ip               1745 fs/gfs2/quota.c 	inode_unlock(&ip->i_inode);
ip                 18 fs/gfs2/quota.h extern int gfs2_qa_alloc(struct gfs2_inode *ip);
ip                 19 fs/gfs2/quota.h extern void gfs2_qa_delete(struct gfs2_inode *ip, atomic_t *wcount);
ip                 20 fs/gfs2/quota.h extern int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid);
ip                 21 fs/gfs2/quota.h extern void gfs2_quota_unhold(struct gfs2_inode *ip);
ip                 23 fs/gfs2/quota.h extern int gfs2_quota_lock(struct gfs2_inode *ip, kuid_t uid, kgid_t gid);
ip                 24 fs/gfs2/quota.h extern void gfs2_quota_unlock(struct gfs2_inode *ip);
ip                 26 fs/gfs2/quota.h extern int gfs2_quota_check(struct gfs2_inode *ip, kuid_t uid, kgid_t gid,
ip                 28 fs/gfs2/quota.h extern void gfs2_quota_change(struct gfs2_inode *ip, s64 change,
ip                 40 fs/gfs2/quota.h static inline int gfs2_quota_lock_check(struct gfs2_inode *ip,
ip                 43 fs/gfs2/quota.h 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                 50 fs/gfs2/quota.h 	ret = gfs2_quota_lock(ip, NO_UID_QUOTA_CHANGE, NO_GID_QUOTA_CHANGE);
ip                 55 fs/gfs2/quota.h 	ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid, ap);
ip                 57 fs/gfs2/quota.h 		gfs2_quota_unlock(ip);
ip                 35 fs/gfs2/recovery.c 	struct gfs2_inode *ip = GFS2_I(jd->jd_inode);
ip                 36 fs/gfs2/recovery.c 	struct gfs2_glock *gl = ip->i_gl;
ip                 42 fs/gfs2/recovery.c 	error = gfs2_extent_map(&ip->i_inode, blk, &new, &dblock, &extlen);
ip                 46 fs/gfs2/recovery.c 		gfs2_consist_inode(ip);
ip                296 fs/gfs2/recovery.c 	struct gfs2_inode *ip = GFS2_I(jd->jd_inode);
ip                331 fs/gfs2/recovery.c 		error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED,
ip                 74 fs/gfs2/rgrp.c 			 const struct gfs2_inode *ip, bool nowrap);
ip                585 fs/gfs2/rgrp.c void check_and_update_goal(struct gfs2_inode *ip)
ip                587 fs/gfs2/rgrp.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                588 fs/gfs2/rgrp.c 	if (!ip->i_goal || gfs2_blk2rgrpd(sdp, ip->i_goal, 1) == NULL)
ip                589 fs/gfs2/rgrp.c 		ip->i_goal = ip->i_no_addr;
ip                608 fs/gfs2/rgrp.c int gfs2_rsqa_alloc(struct gfs2_inode *ip)
ip                610 fs/gfs2/rgrp.c 	return gfs2_qa_alloc(ip);
ip                616 fs/gfs2/rgrp.c 	struct gfs2_inode *ip = container_of(rs, struct gfs2_inode, i_res);
ip                619 fs/gfs2/rgrp.c 		       (unsigned long long)ip->i_no_addr,
ip                690 fs/gfs2/rgrp.c void gfs2_rsqa_delete(struct gfs2_inode *ip, atomic_t *wcount)
ip                692 fs/gfs2/rgrp.c 	down_write(&ip->i_rw_mutex);
ip                694 fs/gfs2/rgrp.c 		gfs2_rs_deltree(&ip->i_res);
ip                695 fs/gfs2/rgrp.c 	up_write(&ip->i_rw_mutex);
ip                696 fs/gfs2/rgrp.c 	gfs2_qa_delete(ip, wcount);
ip                847 fs/gfs2/rgrp.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                856 fs/gfs2/rgrp.c 		error = gfs2_internal_read(ip, buf, &pos,
ip                897 fs/gfs2/rgrp.c static int read_rindex_entry(struct gfs2_inode *ip)
ip                899 fs/gfs2/rgrp.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                906 fs/gfs2/rgrp.c 	if (pos >= i_size_read(&ip->i_inode))
ip                909 fs/gfs2/rgrp.c 	error = gfs2_internal_read(ip, (char *)&buf, &pos,
ip                999 fs/gfs2/rgrp.c static int gfs2_ri_update(struct gfs2_inode *ip)
ip               1001 fs/gfs2/rgrp.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               1005 fs/gfs2/rgrp.c 		error = read_rindex_entry(ip);
ip               1036 fs/gfs2/rgrp.c 	struct gfs2_inode *ip = GFS2_I(sdp->sd_rindex);
ip               1037 fs/gfs2/rgrp.c 	struct gfs2_glock *gl = ip->i_gl;
ip               1051 fs/gfs2/rgrp.c 			error = gfs2_ri_update(ip);
ip               1489 fs/gfs2/rgrp.c static void rs_insert(struct gfs2_inode *ip)
ip               1493 fs/gfs2/rgrp.c 	struct gfs2_blkreserv *rs = &ip->i_res;
ip               1563 fs/gfs2/rgrp.c static void rg_mblk_search(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip,
ip               1568 fs/gfs2/rgrp.c 	struct gfs2_blkreserv *rs = &ip->i_res;
ip               1572 fs/gfs2/rgrp.c 	struct inode *inode = &ip->i_inode;
ip               1577 fs/gfs2/rgrp.c 		extlen = max_t(u32, atomic_read(&ip->i_sizehint), ap->target);
ip               1584 fs/gfs2/rgrp.c 	if (rgrp_contains_block(rgd, ip->i_goal))
ip               1585 fs/gfs2/rgrp.c 		goal = ip->i_goal;
ip               1592 fs/gfs2/rgrp.c 	ret = gfs2_rbm_find(&rbm, GFS2_BLKST_FREE, &extlen, ip, true);
ip               1596 fs/gfs2/rgrp.c 		rs_insert(ip);
ip               1618 fs/gfs2/rgrp.c 				      const struct gfs2_inode *ip)
ip               1638 fs/gfs2/rgrp.c 		while ((rs_cmp(block, length, rs) == 0) && (&ip->i_res != rs)) {
ip               1668 fs/gfs2/rgrp.c 					     const struct gfs2_inode *ip,
ip               1691 fs/gfs2/rgrp.c 	nblock = gfs2_next_unreserved_block(rbm->rgd, block, extlen, ip);
ip               1729 fs/gfs2/rgrp.c 			 const struct gfs2_inode *ip, bool nowrap)
ip               1750 fs/gfs2/rgrp.c 		if ((ip == NULL || !gfs2_rs_active(&ip->i_res)) &&
ip               1767 fs/gfs2/rgrp.c 		if (ip == NULL)
ip               1770 fs/gfs2/rgrp.c 		ret = gfs2_reservation_check_and_update(rbm, ip,
ip               1839 fs/gfs2/rgrp.c 	struct gfs2_inode *ip;
ip               1874 fs/gfs2/rgrp.c 		ip = gl->gl_object;
ip               1876 fs/gfs2/rgrp.c 		if (ip || queue_work(gfs2_delete_workqueue, &gl->gl_delete) == 0)
ip               1981 fs/gfs2/rgrp.c static u32 gfs2_orlov_skip(const struct gfs2_inode *ip)
ip               1983 fs/gfs2/rgrp.c 	const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               2039 fs/gfs2/rgrp.c int gfs2_inplace_reserve(struct gfs2_inode *ip, struct gfs2_alloc_parms *ap)
ip               2041 fs/gfs2/rgrp.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               2043 fs/gfs2/rgrp.c 	struct gfs2_blkreserv *rs = &ip->i_res;
ip               2056 fs/gfs2/rgrp.c 		   rgrp_contains_block(rs->rs_rbm.rgd, ip->i_goal)) {
ip               2059 fs/gfs2/rgrp.c 		check_and_update_goal(ip);
ip               2060 fs/gfs2/rgrp.c 		rs->rs_rbm.rgd = begin = gfs2_blk2rgrpd(sdp, ip->i_goal, 1);
ip               2062 fs/gfs2/rgrp.c 	if (S_ISDIR(ip->i_inode.i_mode) && (ap->aflags & GFS2_AF_ORLOV))
ip               2063 fs/gfs2/rgrp.c 		skip = gfs2_orlov_skip(ip);
ip               2085 fs/gfs2/rgrp.c 						   &ip->i_rgd_gh);
ip               2094 fs/gfs2/rgrp.c 					gfs2_glock_dq_uninit(&ip->i_rgd_gh);
ip               2111 fs/gfs2/rgrp.c 			rg_mblk_search(rs->rs_rbm.rgd, ip, ap);
ip               2129 fs/gfs2/rgrp.c 					ip->i_no_addr);
ip               2137 fs/gfs2/rgrp.c 			gfs2_glock_dq_uninit(&ip->i_rgd_gh);
ip               2151 fs/gfs2/rgrp.c 		if (ip == GFS2_I(sdp->sd_rindex) && !sdp->sd_rindex_uptodate) {
ip               2152 fs/gfs2/rgrp.c 			error = gfs2_ri_update(ip);
ip               2172 fs/gfs2/rgrp.c void gfs2_inplace_release(struct gfs2_inode *ip)
ip               2174 fs/gfs2/rgrp.c 	if (gfs2_holder_initialized(&ip->i_rgd_gh))
ip               2175 fs/gfs2/rgrp.c 		gfs2_glock_dq_uninit(&ip->i_rgd_gh);
ip               2309 fs/gfs2/rgrp.c static void gfs2_adjust_reservation(struct gfs2_inode *ip,
ip               2312 fs/gfs2/rgrp.c 	struct gfs2_blkreserv *rs = &ip->i_res;
ip               2331 fs/gfs2/rgrp.c 			atomic_add(RGRP_RSRV_ADDBLKS, &ip->i_sizehint);
ip               2351 fs/gfs2/rgrp.c 				 const struct gfs2_inode *ip, bool dinode)
ip               2355 fs/gfs2/rgrp.c 	if (gfs2_rs_active(&ip->i_res)) {
ip               2356 fs/gfs2/rgrp.c 		*rbm = ip->i_res.rs_rbm;
ip               2360 fs/gfs2/rgrp.c 	if (!dinode && rgrp_contains_block(rbm->rgd, ip->i_goal))
ip               2361 fs/gfs2/rgrp.c 		goal = ip->i_goal;
ip               2382 fs/gfs2/rgrp.c int gfs2_alloc_blocks(struct gfs2_inode *ip, u64 *bn, unsigned int *nblocks,
ip               2385 fs/gfs2/rgrp.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               2387 fs/gfs2/rgrp.c 	struct gfs2_rbm rbm = { .rgd = ip->i_res.rs_rbm.rgd, };
ip               2392 fs/gfs2/rgrp.c 	gfs2_set_alloc_start(&rbm, ip, dinode);
ip               2393 fs/gfs2/rgrp.c 	error = gfs2_rbm_find(&rbm, GFS2_BLKST_FREE, NULL, ip, false);
ip               2396 fs/gfs2/rgrp.c 		gfs2_set_alloc_start(&rbm, ip, dinode);
ip               2403 fs/gfs2/rgrp.c 			(unsigned long long)ip->i_no_addr, error, *nblocks,
ip               2412 fs/gfs2/rgrp.c 	if (gfs2_rs_active(&ip->i_res))
ip               2413 fs/gfs2/rgrp.c 		gfs2_adjust_reservation(ip, &rbm, *nblocks);
ip               2419 fs/gfs2/rgrp.c 		ip->i_goal = block + ndata - 1;
ip               2420 fs/gfs2/rgrp.c 		error = gfs2_meta_inode_buffer(ip, &dibh);
ip               2424 fs/gfs2/rgrp.c 			gfs2_trans_add_meta(ip->i_gl, dibh);
ip               2426 fs/gfs2/rgrp.c 				cpu_to_be64(ip->i_goal);
ip               2450 fs/gfs2/rgrp.c 	gfs2_quota_change(ip, *nblocks, ip->i_inode.i_uid, ip->i_inode.i_gid);
ip               2453 fs/gfs2/rgrp.c 	trace_gfs2_block_alloc(ip, rbm.rgd, block, *nblocks,
ip               2473 fs/gfs2/rgrp.c void __gfs2_free_blocks(struct gfs2_inode *ip, struct gfs2_rgrpd *rgd,
ip               2476 fs/gfs2/rgrp.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               2479 fs/gfs2/rgrp.c 	trace_gfs2_block_alloc(ip, rgd, bstart, blen, GFS2_BLKST_FREE);
ip               2486 fs/gfs2/rgrp.c 	if (meta || ip->i_depth)
ip               2487 fs/gfs2/rgrp.c 		gfs2_meta_wipe(ip, bstart, blen);
ip               2499 fs/gfs2/rgrp.c void gfs2_free_meta(struct gfs2_inode *ip, struct gfs2_rgrpd *rgd,
ip               2502 fs/gfs2/rgrp.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               2504 fs/gfs2/rgrp.c 	__gfs2_free_blocks(ip, rgd, bstart, blen, 1);
ip               2506 fs/gfs2/rgrp.c 	gfs2_quota_change(ip, -(s64)blen, ip->i_inode.i_uid, ip->i_inode.i_gid);
ip               2511 fs/gfs2/rgrp.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               2514 fs/gfs2/rgrp.c 	u64 blkno = ip->i_no_addr;
ip               2520 fs/gfs2/rgrp.c 	trace_gfs2_block_alloc(ip, rgd, blkno, 1, GFS2_BLKST_UNLINKED);
ip               2526 fs/gfs2/rgrp.c void gfs2_free_di(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip)
ip               2530 fs/gfs2/rgrp.c 	rgblk_free(sdp, rgd, ip->i_no_addr, 1, GFS2_BLKST_FREE);
ip               2541 fs/gfs2/rgrp.c 	trace_gfs2_block_alloc(ip, rgd, ip->i_no_addr, 1, GFS2_BLKST_FREE);
ip               2542 fs/gfs2/rgrp.c 	gfs2_quota_change(ip, -1, ip->i_inode.i_uid, ip->i_inode.i_gid);
ip               2543 fs/gfs2/rgrp.c 	gfs2_meta_wipe(ip, ip->i_no_addr, 1);
ip               2597 fs/gfs2/rgrp.c void gfs2_rlist_add(struct gfs2_inode *ip, struct gfs2_rgrp_list *rlist,
ip               2600 fs/gfs2/rgrp.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               2619 fs/gfs2/rgrp.c 		rgd = ip->i_res.rs_rbm.rgd;
ip                 38 fs/gfs2/rgrp.h extern struct gfs2_alloc *gfs2_alloc_get(struct gfs2_inode *ip);
ip                 41 fs/gfs2/rgrp.h extern int gfs2_inplace_reserve(struct gfs2_inode *ip,
ip                 43 fs/gfs2/rgrp.h extern void gfs2_inplace_release(struct gfs2_inode *ip);
ip                 45 fs/gfs2/rgrp.h extern int gfs2_alloc_blocks(struct gfs2_inode *ip, u64 *bn, unsigned int *n,
ip                 48 fs/gfs2/rgrp.h extern int gfs2_rsqa_alloc(struct gfs2_inode *ip);
ip                 50 fs/gfs2/rgrp.h extern void gfs2_rsqa_delete(struct gfs2_inode *ip, atomic_t *wcount);
ip                 51 fs/gfs2/rgrp.h extern void __gfs2_free_blocks(struct gfs2_inode *ip, struct gfs2_rgrpd *rgd,
ip                 53 fs/gfs2/rgrp.h extern void gfs2_free_meta(struct gfs2_inode *ip, struct gfs2_rgrpd *rgd,
ip                 55 fs/gfs2/rgrp.h extern void gfs2_free_di(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip);
ip                 67 fs/gfs2/rgrp.h extern void gfs2_rlist_add(struct gfs2_inode *ip, struct gfs2_rgrp_list *rlist,
ip                 92 fs/gfs2/rgrp.h extern void check_and_update_goal(struct gfs2_inode *ip);
ip                104 fs/gfs2/super.c 	struct gfs2_inode *ip = GFS2_I(jd->jd_inode);
ip                113 fs/gfs2/super.c 	if (gfs2_write_alloc_required(ip, 0, size)) {
ip                114 fs/gfs2/super.c 		gfs2_consist_inode(ip);
ip                158 fs/gfs2/super.c 	struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode);
ip                159 fs/gfs2/super.c 	struct gfs2_glock *j_gl = ip->i_gl;
ip                405 fs/gfs2/super.c 	struct gfs2_inode *ip;
ip                418 fs/gfs2/super.c 		ip = GFS2_I(jd->jd_inode);
ip                419 fs/gfs2/super.c 		error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &lfcc->gh);
ip                456 fs/gfs2/super.c void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf)
ip                463 fs/gfs2/super.c 	str->di_num.no_addr = cpu_to_be64(ip->i_no_addr);
ip                464 fs/gfs2/super.c 	str->di_num.no_formal_ino = cpu_to_be64(ip->i_no_formal_ino);
ip                465 fs/gfs2/super.c 	str->di_mode = cpu_to_be32(ip->i_inode.i_mode);
ip                466 fs/gfs2/super.c 	str->di_uid = cpu_to_be32(i_uid_read(&ip->i_inode));
ip                467 fs/gfs2/super.c 	str->di_gid = cpu_to_be32(i_gid_read(&ip->i_inode));
ip                468 fs/gfs2/super.c 	str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink);
ip                469 fs/gfs2/super.c 	str->di_size = cpu_to_be64(i_size_read(&ip->i_inode));
ip                470 fs/gfs2/super.c 	str->di_blocks = cpu_to_be64(gfs2_get_inode_blocks(&ip->i_inode));
ip                471 fs/gfs2/super.c 	str->di_atime = cpu_to_be64(ip->i_inode.i_atime.tv_sec);
ip                472 fs/gfs2/super.c 	str->di_mtime = cpu_to_be64(ip->i_inode.i_mtime.tv_sec);
ip                473 fs/gfs2/super.c 	str->di_ctime = cpu_to_be64(ip->i_inode.i_ctime.tv_sec);
ip                475 fs/gfs2/super.c 	str->di_goal_meta = cpu_to_be64(ip->i_goal);
ip                476 fs/gfs2/super.c 	str->di_goal_data = cpu_to_be64(ip->i_goal);
ip                477 fs/gfs2/super.c 	str->di_generation = cpu_to_be64(ip->i_generation);
ip                479 fs/gfs2/super.c 	str->di_flags = cpu_to_be32(ip->i_diskflags);
ip                480 fs/gfs2/super.c 	str->di_height = cpu_to_be16(ip->i_height);
ip                481 fs/gfs2/super.c 	str->di_payload_format = cpu_to_be32(S_ISDIR(ip->i_inode.i_mode) &&
ip                482 fs/gfs2/super.c 					     !(ip->i_diskflags & GFS2_DIF_EXHASH) ?
ip                484 fs/gfs2/super.c 	str->di_depth = cpu_to_be16(ip->i_depth);
ip                485 fs/gfs2/super.c 	str->di_entries = cpu_to_be32(ip->i_entries);
ip                487 fs/gfs2/super.c 	str->di_eattr = cpu_to_be64(ip->i_eattr);
ip                488 fs/gfs2/super.c 	str->di_atime_nsec = cpu_to_be32(ip->i_inode.i_atime.tv_nsec);
ip                489 fs/gfs2/super.c 	str->di_mtime_nsec = cpu_to_be32(ip->i_inode.i_mtime.tv_nsec);
ip                490 fs/gfs2/super.c 	str->di_ctime_nsec = cpu_to_be32(ip->i_inode.i_ctime.tv_nsec);
ip                503 fs/gfs2/super.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                505 fs/gfs2/super.c 	struct address_space *metamapping = gfs2_glock2aspace(ip->i_gl);
ip                508 fs/gfs2/super.c 	bool flush_all = (wbc->sync_mode == WB_SYNC_ALL || gfs2_is_jdata(ip));
ip                511 fs/gfs2/super.c 		gfs2_log_flush(GFS2_SB(inode), ip->i_gl,
ip                525 fs/gfs2/super.c 			gfs2_ordered_del_inode(ip);
ip                546 fs/gfs2/super.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                558 fs/gfs2/super.c 	if (!gfs2_glock_is_locked_by_me(ip->i_gl)) {
ip                559 fs/gfs2/super.c 		ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh);
ip                565 fs/gfs2/super.c 	} else if (WARN_ON_ONCE(ip->i_gl->gl_state != LM_ST_EXCLUSIVE))
ip                577 fs/gfs2/super.c 	ret = gfs2_meta_inode_buffer(ip, &bh);
ip                579 fs/gfs2/super.c 		gfs2_trans_add_meta(ip->i_gl, bh);
ip                580 fs/gfs2/super.c 		gfs2_dinode_out(ip, bh->b_data);
ip                994 fs/gfs2/super.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                996 fs/gfs2/super.c 	if (!test_bit(GIF_FREE_VFS_INODE, &ip->i_flags) &&
ip                998 fs/gfs2/super.c 	    gfs2_holder_initialized(&ip->i_iopen_gh)) {
ip                999 fs/gfs2/super.c 		struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl;
ip               1011 fs/gfs2/super.c 	    gfs2_holder_initialized(&ip->i_iopen_gh)) {
ip               1012 fs/gfs2/super.c 		struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl;
ip               1140 fs/gfs2/super.c static void gfs2_final_release_pages(struct gfs2_inode *ip)
ip               1142 fs/gfs2/super.c 	struct inode *inode = &ip->i_inode;
ip               1143 fs/gfs2/super.c 	struct gfs2_glock *gl = ip->i_gl;
ip               1145 fs/gfs2/super.c 	truncate_inode_pages(gfs2_glock2aspace(ip->i_gl), 0);
ip               1154 fs/gfs2/super.c static int gfs2_dinode_dealloc(struct gfs2_inode *ip)
ip               1156 fs/gfs2/super.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               1161 fs/gfs2/super.c 	if (gfs2_get_inode_blocks(&ip->i_inode) != 1) {
ip               1162 fs/gfs2/super.c 		gfs2_consist_inode(ip);
ip               1170 fs/gfs2/super.c 	error = gfs2_quota_hold(ip, NO_UID_QUOTA_CHANGE, NO_GID_QUOTA_CHANGE);
ip               1174 fs/gfs2/super.c 	rgd = gfs2_blk2rgrpd(sdp, ip->i_no_addr, 1);
ip               1176 fs/gfs2/super.c 		gfs2_consist_inode(ip);
ip               1190 fs/gfs2/super.c 	gfs2_free_di(rgd, ip);
ip               1192 fs/gfs2/super.c 	gfs2_final_release_pages(ip);
ip               1199 fs/gfs2/super.c 	gfs2_quota_unhold(ip);
ip               1244 fs/gfs2/super.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1249 fs/gfs2/super.c 	if (test_bit(GIF_FREE_VFS_INODE, &ip->i_flags)) {
ip               1257 fs/gfs2/super.c 	if (test_bit(GIF_ALLOC_FAILED, &ip->i_flags)) {
ip               1258 fs/gfs2/super.c 		BUG_ON(!gfs2_glock_is_locked_by_me(ip->i_gl));
ip               1268 fs/gfs2/super.c 	error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, &gh);
ip               1270 fs/gfs2/super.c 		glock_clear_object(ip->i_iopen_gh.gh_gl, ip);
ip               1271 fs/gfs2/super.c 		ip->i_iopen_gh.gh_flags |= GL_NOCACHE;
ip               1272 fs/gfs2/super.c 		gfs2_glock_dq_uninit(&ip->i_iopen_gh);
ip               1276 fs/gfs2/super.c 	error = gfs2_check_blk_type(sdp, ip->i_no_addr, GFS2_BLKST_UNLINKED);
ip               1280 fs/gfs2/super.c 	if (test_bit(GIF_INVALID, &ip->i_flags)) {
ip               1281 fs/gfs2/super.c 		error = gfs2_inode_refresh(ip);
ip               1293 fs/gfs2/super.c 	if (gfs2_holder_initialized(&ip->i_iopen_gh) &&
ip               1294 fs/gfs2/super.c 	    test_bit(HIF_HOLDER, &ip->i_iopen_gh.gh_iflags)) {
ip               1295 fs/gfs2/super.c 		ip->i_iopen_gh.gh_flags |= GL_NOCACHE;
ip               1296 fs/gfs2/super.c 		gfs2_glock_dq_wait(&ip->i_iopen_gh);
ip               1298 fs/gfs2/super.c 				   &ip->i_iopen_gh);
ip               1299 fs/gfs2/super.c 		error = gfs2_glock_nq(&ip->i_iopen_gh);
ip               1305 fs/gfs2/super.c 	    (ip->i_diskflags & GFS2_DIF_EXHASH)) {
ip               1306 fs/gfs2/super.c 		error = gfs2_dir_exhash_dealloc(ip);
ip               1311 fs/gfs2/super.c 	if (ip->i_eattr) {
ip               1312 fs/gfs2/super.c 		error = gfs2_ea_dealloc(ip);
ip               1317 fs/gfs2/super.c 	if (!gfs2_is_stuffed(ip)) {
ip               1318 fs/gfs2/super.c 		error = gfs2_file_dealloc(ip);
ip               1327 fs/gfs2/super.c 	glock_clear_object(ip->i_gl, ip);
ip               1328 fs/gfs2/super.c 	error = gfs2_dinode_dealloc(ip);
ip               1332 fs/gfs2/super.c 	gfs2_log_flush(sdp, ip->i_gl, GFS2_LOG_HEAD_FLUSH_NORMAL |
ip               1334 fs/gfs2/super.c 	metamapping = gfs2_glock2aspace(ip->i_gl);
ip               1335 fs/gfs2/super.c 	if (test_bit(GLF_DIRTY, &ip->i_gl->gl_flags)) {
ip               1340 fs/gfs2/super.c 	gfs2_ail_flush(ip->i_gl, 0);
ip               1351 fs/gfs2/super.c 	if (gfs2_rs_active(&ip->i_res))
ip               1352 fs/gfs2/super.c 		gfs2_rs_deltree(&ip->i_res);
ip               1354 fs/gfs2/super.c 	if (gfs2_holder_initialized(&ip->i_iopen_gh)) {
ip               1355 fs/gfs2/super.c 		glock_clear_object(ip->i_iopen_gh.gh_gl, ip);
ip               1356 fs/gfs2/super.c 		if (test_bit(HIF_HOLDER, &ip->i_iopen_gh.gh_iflags)) {
ip               1357 fs/gfs2/super.c 			ip->i_iopen_gh.gh_flags |= GL_NOCACHE;
ip               1358 fs/gfs2/super.c 			gfs2_glock_dq(&ip->i_iopen_gh);
ip               1360 fs/gfs2/super.c 		gfs2_holder_uninit(&ip->i_iopen_gh);
ip               1363 fs/gfs2/super.c 		glock_clear_object(ip->i_gl, ip);
ip               1370 fs/gfs2/super.c 	gfs2_rsqa_delete(ip, NULL);
ip               1371 fs/gfs2/super.c 	gfs2_ordered_del_inode(ip);
ip               1373 fs/gfs2/super.c 	gfs2_dir_hash_inval(ip);
ip               1374 fs/gfs2/super.c 	glock_clear_object(ip->i_gl, ip);
ip               1375 fs/gfs2/super.c 	wait_on_bit_io(&ip->i_flags, GIF_GLOP_PENDING, TASK_UNINTERRUPTIBLE);
ip               1376 fs/gfs2/super.c 	gfs2_glock_add_to_lru(ip->i_gl);
ip               1377 fs/gfs2/super.c 	gfs2_glock_put_eventually(ip->i_gl);
ip               1378 fs/gfs2/super.c 	ip->i_gl = NULL;
ip               1379 fs/gfs2/super.c 	if (gfs2_holder_initialized(&ip->i_iopen_gh)) {
ip               1380 fs/gfs2/super.c 		struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl;
ip               1382 fs/gfs2/super.c 		glock_clear_object(gl, ip);
ip               1383 fs/gfs2/super.c 		ip->i_iopen_gh.gh_flags |= GL_NOCACHE;
ip               1385 fs/gfs2/super.c 		gfs2_glock_dq_uninit(&ip->i_iopen_gh);
ip               1392 fs/gfs2/super.c 	struct gfs2_inode *ip;
ip               1394 fs/gfs2/super.c 	ip = kmem_cache_alloc(gfs2_inode_cachep, GFP_KERNEL);
ip               1395 fs/gfs2/super.c 	if (!ip)
ip               1397 fs/gfs2/super.c 	ip->i_flags = 0;
ip               1398 fs/gfs2/super.c 	ip->i_gl = NULL;
ip               1399 fs/gfs2/super.c 	memset(&ip->i_res, 0, sizeof(ip->i_res));
ip               1400 fs/gfs2/super.c 	RB_CLEAR_NODE(&ip->i_res.rs_node);
ip               1401 fs/gfs2/super.c 	ip->i_rahead = 0;
ip               1402 fs/gfs2/super.c 	return &ip->i_inode;
ip                440 fs/gfs2/trace_gfs2.h 	TP_PROTO(const struct gfs2_inode *ip, const struct buffer_head *bh,
ip                443 fs/gfs2/trace_gfs2.h 	TP_ARGS(ip, bh, lblock, create, errno),
ip                457 fs/gfs2/trace_gfs2.h 		__entry->dev            = ip->i_gl->gl_name.ln_sbd->sd_vfs->s_dev;
ip                460 fs/gfs2/trace_gfs2.h 		__entry->inum		= ip->i_no_addr;
ip                479 fs/gfs2/trace_gfs2.h 	TP_PROTO(const struct gfs2_inode *ip, loff_t pos, ssize_t length,
ip                482 fs/gfs2/trace_gfs2.h 	TP_ARGS(ip, pos, length, flags),
ip                493 fs/gfs2/trace_gfs2.h 		__entry->dev            = ip->i_gl->gl_name.ln_sbd->sd_vfs->s_dev;
ip                494 fs/gfs2/trace_gfs2.h 		__entry->inum		= ip->i_no_addr;
ip                509 fs/gfs2/trace_gfs2.h 	TP_PROTO(const struct gfs2_inode *ip, struct iomap *iomap, int ret),
ip                511 fs/gfs2/trace_gfs2.h 	TP_ARGS(ip, iomap, ret),
ip                525 fs/gfs2/trace_gfs2.h 		__entry->dev            = ip->i_gl->gl_name.ln_sbd->sd_vfs->s_dev;
ip                526 fs/gfs2/trace_gfs2.h 		__entry->inum		= ip->i_no_addr;
ip                530 fs/gfs2/trace_gfs2.h 					 (iomap->addr >> ip->i_inode.i_blkbits);
ip                549 fs/gfs2/trace_gfs2.h 	TP_PROTO(const struct gfs2_inode *ip, struct gfs2_rgrpd *rgd,
ip                552 fs/gfs2/trace_gfs2.h 	TP_ARGS(ip, rgd, block, len, block_state),
ip                568 fs/gfs2/trace_gfs2.h 		__entry->inum		= ip->i_no_addr;
ip                 28 fs/gfs2/trans.h static inline unsigned int gfs2_rg_blocks(const struct gfs2_inode *ip, unsigned requested)
ip                 30 fs/gfs2/trans.h 	struct gfs2_rgrpd *rgd = ip->i_res.rs_rbm.rgd;
ip                156 fs/gfs2/util.c int gfs2_consist_inode_i(struct gfs2_inode *ip, int cluster_wide,
ip                159 fs/gfs2/util.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                165 fs/gfs2/util.c 			      (unsigned long long)ip->i_no_formal_ino,
ip                166 fs/gfs2/util.c 			      (unsigned long long)ip->i_no_addr,
ip                 62 fs/gfs2/util.h int gfs2_consist_inode_i(struct gfs2_inode *ip, int cluster_wide,
ip                 65 fs/gfs2/util.h #define gfs2_consist_inode(ip) \
ip                 66 fs/gfs2/util.h gfs2_consist_inode_i((ip), 0, __func__, __FILE__, __LINE__)
ip                 73 fs/gfs2/xattr.c typedef int (*ea_call_t) (struct gfs2_inode *ip, struct buffer_head *bh,
ip                 77 fs/gfs2/xattr.c static int ea_foreach_i(struct gfs2_inode *ip, struct buffer_head *bh,
ip                 83 fs/gfs2/xattr.c 	if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_EA))
ip                 95 fs/gfs2/xattr.c 		error = ea_call(ip, bh, ea, prev, data);
ip                110 fs/gfs2/xattr.c 	gfs2_consist_inode(ip);
ip                114 fs/gfs2/xattr.c static int ea_foreach(struct gfs2_inode *ip, ea_call_t ea_call, void *data)
ip                120 fs/gfs2/xattr.c 	error = gfs2_meta_read(ip->i_gl, ip->i_eattr, DIO_WAIT, 0, &bh);
ip                124 fs/gfs2/xattr.c 	if (!(ip->i_diskflags & GFS2_DIF_EA_INDIRECT)) {
ip                125 fs/gfs2/xattr.c 		error = ea_foreach_i(ip, bh, ea_call, data);
ip                129 fs/gfs2/xattr.c 	if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_IN)) {
ip                135 fs/gfs2/xattr.c 	end = eablk + GFS2_SB(&ip->i_inode)->sd_inptrs;
ip                144 fs/gfs2/xattr.c 		error = gfs2_meta_read(ip->i_gl, bn, DIO_WAIT, 0, &eabh);
ip                147 fs/gfs2/xattr.c 		error = ea_foreach_i(ip, eabh, ea_call, data);
ip                164 fs/gfs2/xattr.c static int ea_find_i(struct gfs2_inode *ip, struct buffer_head *bh,
ip                188 fs/gfs2/xattr.c static int gfs2_ea_find(struct gfs2_inode *ip, int type, const char *name,
ip                201 fs/gfs2/xattr.c 	error = ea_foreach(ip, ea_find_i, &ef);
ip                223 fs/gfs2/xattr.c static int ea_dealloc_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh,
ip                228 fs/gfs2/xattr.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                258 fs/gfs2/xattr.c 		gfs2_consist_inode(ip);
ip                271 fs/gfs2/xattr.c 	gfs2_trans_add_meta(ip->i_gl, bh);
ip                283 fs/gfs2/xattr.c 				gfs2_free_meta(ip, rgd, bstart, blen);
ip                289 fs/gfs2/xattr.c 		gfs2_add_inode_blocks(&ip->i_inode, -1);
ip                292 fs/gfs2/xattr.c 		gfs2_free_meta(ip, rgd, bstart, blen);
ip                307 fs/gfs2/xattr.c 	ip->i_inode.i_ctime = current_time(&ip->i_inode);
ip                308 fs/gfs2/xattr.c 	__mark_inode_dirty(&ip->i_inode, I_DIRTY_DATASYNC);
ip                317 fs/gfs2/xattr.c static int ea_remove_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh,
ip                323 fs/gfs2/xattr.c 	error = gfs2_rindex_update(GFS2_SB(&ip->i_inode));
ip                327 fs/gfs2/xattr.c 	error = gfs2_quota_hold(ip, NO_UID_QUOTA_CHANGE, NO_GID_QUOTA_CHANGE);
ip                331 fs/gfs2/xattr.c 	error = ea_dealloc_unstuffed(ip, bh, ea, prev, (leave) ? &error : NULL);
ip                333 fs/gfs2/xattr.c 	gfs2_quota_unhold(ip);
ip                343 fs/gfs2/xattr.c static int ea_list_i(struct gfs2_inode *ip, struct buffer_head *bh,
ip                400 fs/gfs2/xattr.c 	struct gfs2_inode *ip = GFS2_I(d_inode(dentry));
ip                411 fs/gfs2/xattr.c 	error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh);
ip                415 fs/gfs2/xattr.c 	if (ip->i_eattr) {
ip                418 fs/gfs2/xattr.c 		error = ea_foreach(ip, ea_list_i, &ei);
ip                439 fs/gfs2/xattr.c static int gfs2_iter_unstuffed(struct gfs2_inode *ip, struct gfs2_ea_header *ea,
ip                442 fs/gfs2/xattr.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                457 fs/gfs2/xattr.c 		error = gfs2_meta_read(ip->i_gl, be64_to_cpu(*dataptrs), 0, 0,
ip                490 fs/gfs2/xattr.c 			gfs2_trans_add_meta(ip->i_gl, bh[x]);
ip                504 fs/gfs2/xattr.c static int gfs2_ea_get_copy(struct gfs2_inode *ip, struct gfs2_ea_location *el,
ip                516 fs/gfs2/xattr.c 	ret = gfs2_iter_unstuffed(ip, el->el_ea, NULL, data);
ip                522 fs/gfs2/xattr.c int gfs2_xattr_acl_get(struct gfs2_inode *ip, const char *name, char **ppdata)
ip                529 fs/gfs2/xattr.c 	error = gfs2_ea_find(ip, GFS2_EATYPE_SYS, name, &el);
ip                543 fs/gfs2/xattr.c 	error = gfs2_ea_get_copy(ip, &el, data, len);
ip                566 fs/gfs2/xattr.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                570 fs/gfs2/xattr.c 	if (!ip->i_eattr)
ip                575 fs/gfs2/xattr.c 	error = gfs2_ea_find(ip, type, name, &el);
ip                581 fs/gfs2/xattr.c 		error = gfs2_ea_get_copy(ip, &el, buffer, size);
ip                593 fs/gfs2/xattr.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip                599 fs/gfs2/xattr.c 	if (!gfs2_glock_is_locked_by_me(ip->i_gl)) {
ip                600 fs/gfs2/xattr.c 		ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh);
ip                620 fs/gfs2/xattr.c static int ea_alloc_blk(struct gfs2_inode *ip, struct buffer_head **bhp)
ip                622 fs/gfs2/xattr.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                628 fs/gfs2/xattr.c 	error = gfs2_alloc_blocks(ip, &block, &n, 0, NULL);
ip                632 fs/gfs2/xattr.c 	*bhp = gfs2_meta_new(ip->i_gl, block);
ip                633 fs/gfs2/xattr.c 	gfs2_trans_add_meta(ip->i_gl, *bhp);
ip                643 fs/gfs2/xattr.c 	gfs2_add_inode_blocks(&ip->i_inode, 1);
ip                660 fs/gfs2/xattr.c static int ea_write(struct gfs2_inode *ip, struct gfs2_ea_header *ea,
ip                663 fs/gfs2/xattr.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                690 fs/gfs2/xattr.c 			error = gfs2_alloc_blocks(ip, &block, &n, 0, NULL);
ip                694 fs/gfs2/xattr.c 			bh = gfs2_meta_new(ip->i_gl, block);
ip                695 fs/gfs2/xattr.c 			gfs2_trans_add_meta(ip->i_gl, bh);
ip                698 fs/gfs2/xattr.c 			gfs2_add_inode_blocks(&ip->i_inode, 1);
ip                720 fs/gfs2/xattr.c typedef int (*ea_skeleton_call_t) (struct gfs2_inode *ip,
ip                723 fs/gfs2/xattr.c static int ea_alloc_skeleton(struct gfs2_inode *ip, struct gfs2_ea_request *er,
ip                730 fs/gfs2/xattr.c 	error = gfs2_rindex_update(GFS2_SB(&ip->i_inode));
ip                734 fs/gfs2/xattr.c 	error = gfs2_quota_lock_check(ip, &ap);
ip                738 fs/gfs2/xattr.c 	error = gfs2_inplace_reserve(ip, &ap);
ip                742 fs/gfs2/xattr.c 	error = gfs2_trans_begin(GFS2_SB(&ip->i_inode),
ip                743 fs/gfs2/xattr.c 				 blks + gfs2_rg_blocks(ip, blks) +
ip                748 fs/gfs2/xattr.c 	error = skeleton_call(ip, er, private);
ip                752 fs/gfs2/xattr.c 	ip->i_inode.i_ctime = current_time(&ip->i_inode);
ip                753 fs/gfs2/xattr.c 	__mark_inode_dirty(&ip->i_inode, I_DIRTY_DATASYNC);
ip                756 fs/gfs2/xattr.c 	gfs2_trans_end(GFS2_SB(&ip->i_inode));
ip                758 fs/gfs2/xattr.c 	gfs2_inplace_release(ip);
ip                760 fs/gfs2/xattr.c 	gfs2_quota_unlock(ip);
ip                764 fs/gfs2/xattr.c static int ea_init_i(struct gfs2_inode *ip, struct gfs2_ea_request *er,
ip                770 fs/gfs2/xattr.c 	error = ea_alloc_blk(ip, &bh);
ip                774 fs/gfs2/xattr.c 	ip->i_eattr = bh->b_blocknr;
ip                775 fs/gfs2/xattr.c 	error = ea_write(ip, GFS2_EA_BH2FIRST(bh), er);
ip                790 fs/gfs2/xattr.c static int ea_init(struct gfs2_inode *ip, int type, const char *name,
ip                794 fs/gfs2/xattr.c 	unsigned int jbsize = GFS2_SB(&ip->i_inode)->sd_jbsize;
ip                806 fs/gfs2/xattr.c 	return ea_alloc_skeleton(ip, &er, blks, ea_init_i, NULL);
ip                826 fs/gfs2/xattr.c static void ea_set_remove_stuffed(struct gfs2_inode *ip,
ip                833 fs/gfs2/xattr.c 	gfs2_trans_add_meta(ip->i_gl, el->el_bh);
ip                840 fs/gfs2/xattr.c 		gfs2_assert_withdraw(GFS2_SB(&ip->i_inode), GFS2_EA2NEXT(prev) == ea);
ip                860 fs/gfs2/xattr.c static int ea_set_simple_noalloc(struct gfs2_inode *ip, struct buffer_head *bh,
ip                866 fs/gfs2/xattr.c 	error = gfs2_trans_begin(GFS2_SB(&ip->i_inode), RES_DINODE + 2 * RES_EATTR, 0);
ip                870 fs/gfs2/xattr.c 	gfs2_trans_add_meta(ip->i_gl, bh);
ip                875 fs/gfs2/xattr.c 	ea_write(ip, ea, er);
ip                878 fs/gfs2/xattr.c 		ea_set_remove_stuffed(ip, es->es_el);
ip                880 fs/gfs2/xattr.c 	ip->i_inode.i_ctime = current_time(&ip->i_inode);
ip                881 fs/gfs2/xattr.c 	__mark_inode_dirty(&ip->i_inode, I_DIRTY_DATASYNC);
ip                883 fs/gfs2/xattr.c 	gfs2_trans_end(GFS2_SB(&ip->i_inode));
ip                887 fs/gfs2/xattr.c static int ea_set_simple_alloc(struct gfs2_inode *ip,
ip                894 fs/gfs2/xattr.c 	gfs2_trans_add_meta(ip->i_gl, es->es_bh);
ip                899 fs/gfs2/xattr.c 	error = ea_write(ip, ea, er);
ip                904 fs/gfs2/xattr.c 		ea_set_remove_stuffed(ip, es->es_el);
ip                909 fs/gfs2/xattr.c static int ea_set_simple(struct gfs2_inode *ip, struct buffer_head *bh,
ip                918 fs/gfs2/xattr.c 	stuffed = ea_calc_size(GFS2_SB(&ip->i_inode), es->es_er->er_name_len,
ip                925 fs/gfs2/xattr.c 			error = ea_remove_unstuffed(ip, bh, ea, prev, 1);
ip                936 fs/gfs2/xattr.c 		error = ea_set_simple_noalloc(ip, bh, ea, es);
ip                945 fs/gfs2/xattr.c 					GFS2_SB(&ip->i_inode)->sd_jbsize);
ip                947 fs/gfs2/xattr.c 		error = ea_alloc_skeleton(ip, es->es_er, blks,
ip                956 fs/gfs2/xattr.c static int ea_set_block(struct gfs2_inode *ip, struct gfs2_ea_request *er,
ip                959 fs/gfs2/xattr.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip                965 fs/gfs2/xattr.c 	if (ip->i_diskflags & GFS2_DIF_EA_INDIRECT) {
ip                968 fs/gfs2/xattr.c 		error = gfs2_meta_read(ip->i_gl, ip->i_eattr, DIO_WAIT, 0,
ip                990 fs/gfs2/xattr.c 		gfs2_trans_add_meta(ip->i_gl, indbh);
ip                994 fs/gfs2/xattr.c 		error = gfs2_alloc_blocks(ip, &blk, &n, 0, NULL);
ip                998 fs/gfs2/xattr.c 		indbh = gfs2_meta_new(ip->i_gl, blk);
ip                999 fs/gfs2/xattr.c 		gfs2_trans_add_meta(ip->i_gl, indbh);
ip               1004 fs/gfs2/xattr.c 		*eablk = cpu_to_be64(ip->i_eattr);
ip               1005 fs/gfs2/xattr.c 		ip->i_eattr = blk;
ip               1006 fs/gfs2/xattr.c 		ip->i_diskflags |= GFS2_DIF_EA_INDIRECT;
ip               1007 fs/gfs2/xattr.c 		gfs2_add_inode_blocks(&ip->i_inode, 1);
ip               1012 fs/gfs2/xattr.c 	error = ea_alloc_blk(ip, &newbh);
ip               1017 fs/gfs2/xattr.c 	error = ea_write(ip, GFS2_EA_BH2FIRST(newbh), er);
ip               1023 fs/gfs2/xattr.c 		ea_set_remove_stuffed(ip, private);
ip               1030 fs/gfs2/xattr.c static int ea_set_i(struct gfs2_inode *ip, int type, const char *name,
ip               1048 fs/gfs2/xattr.c 	error = ea_foreach(ip, ea_set_simple, &es);
ip               1054 fs/gfs2/xattr.c 	if (!(ip->i_diskflags & GFS2_DIF_EA_INDIRECT))
ip               1056 fs/gfs2/xattr.c 	if (GFS2_EAREQ_SIZE_STUFFED(&er) > GFS2_SB(&ip->i_inode)->sd_jbsize)
ip               1057 fs/gfs2/xattr.c 		blks += DIV_ROUND_UP(er.er_data_len, GFS2_SB(&ip->i_inode)->sd_jbsize);
ip               1059 fs/gfs2/xattr.c 	return ea_alloc_skeleton(ip, &er, blks, ea_set_block, el);
ip               1062 fs/gfs2/xattr.c static int ea_set_remove_unstuffed(struct gfs2_inode *ip,
ip               1067 fs/gfs2/xattr.c 		gfs2_assert_withdraw(GFS2_SB(&ip->i_inode),
ip               1071 fs/gfs2/xattr.c 	return ea_remove_unstuffed(ip, el->el_bh, el->el_ea, el->el_prev, 0);
ip               1074 fs/gfs2/xattr.c static int ea_remove_stuffed(struct gfs2_inode *ip, struct gfs2_ea_location *el)
ip               1080 fs/gfs2/xattr.c 	error = gfs2_trans_begin(GFS2_SB(&ip->i_inode), RES_DINODE + RES_EATTR, 0);
ip               1084 fs/gfs2/xattr.c 	gfs2_trans_add_meta(ip->i_gl, el->el_bh);
ip               1098 fs/gfs2/xattr.c 	ip->i_inode.i_ctime = current_time(&ip->i_inode);
ip               1099 fs/gfs2/xattr.c 	__mark_inode_dirty(&ip->i_inode, I_DIRTY_DATASYNC);
ip               1101 fs/gfs2/xattr.c 	gfs2_trans_end(GFS2_SB(&ip->i_inode));
ip               1119 fs/gfs2/xattr.c static int gfs2_xattr_remove(struct gfs2_inode *ip, int type, const char *name)
ip               1124 fs/gfs2/xattr.c 	if (!ip->i_eattr)
ip               1127 fs/gfs2/xattr.c 	error = gfs2_ea_find(ip, type, name, &el);
ip               1134 fs/gfs2/xattr.c 		error = ea_remove_stuffed(ip, &el);
ip               1136 fs/gfs2/xattr.c 		error = ea_remove_unstuffed(ip, el.el_bh, el.el_ea, el.el_prev, 0);
ip               1160 fs/gfs2/xattr.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1172 fs/gfs2/xattr.c 		error = gfs2_xattr_remove(ip, type, name);
ip               1181 fs/gfs2/xattr.c 	if (!ip->i_eattr) {
ip               1184 fs/gfs2/xattr.c 		return ea_init(ip, type, name, value, size);
ip               1187 fs/gfs2/xattr.c 	error = gfs2_ea_find(ip, type, name, &el);
ip               1192 fs/gfs2/xattr.c 		if (ip->i_diskflags & GFS2_DIF_APPENDONLY) {
ip               1200 fs/gfs2/xattr.c 			error = ea_set_i(ip, type, name, value, size, &el);
ip               1202 fs/gfs2/xattr.c 				ea_set_remove_unstuffed(ip, &el);
ip               1211 fs/gfs2/xattr.c 		error = ea_set_i(ip, type, name, value, size, NULL);
ip               1221 fs/gfs2/xattr.c 	struct gfs2_inode *ip = GFS2_I(inode);
ip               1225 fs/gfs2/xattr.c 	ret = gfs2_rsqa_alloc(ip);
ip               1231 fs/gfs2/xattr.c 	if (!gfs2_glock_is_locked_by_me(ip->i_gl)) {
ip               1232 fs/gfs2/xattr.c 		ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh);
ip               1236 fs/gfs2/xattr.c 		if (WARN_ON_ONCE(ip->i_gl->gl_state != LM_ST_EXCLUSIVE))
ip               1246 fs/gfs2/xattr.c static int ea_dealloc_indirect(struct gfs2_inode *ip)
ip               1248 fs/gfs2/xattr.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               1266 fs/gfs2/xattr.c 	error = gfs2_meta_read(ip->i_gl, ip->i_eattr, DIO_WAIT, 0, &indbh);
ip               1289 fs/gfs2/xattr.c 				gfs2_rlist_add(ip, &rlist, bstart);
ip               1296 fs/gfs2/xattr.c 		gfs2_rlist_add(ip, &rlist, bstart);
ip               1316 fs/gfs2/xattr.c 	gfs2_trans_add_meta(ip->i_gl, indbh);
ip               1334 fs/gfs2/xattr.c 				gfs2_free_meta(ip, rgd, bstart, blen);
ip               1341 fs/gfs2/xattr.c 		gfs2_add_inode_blocks(&ip->i_inode, -1);
ip               1344 fs/gfs2/xattr.c 		gfs2_free_meta(ip, rgd, bstart, blen);
ip               1346 fs/gfs2/xattr.c 	ip->i_diskflags &= ~GFS2_DIF_EA_INDIRECT;
ip               1348 fs/gfs2/xattr.c 	error = gfs2_meta_inode_buffer(ip, &dibh);
ip               1350 fs/gfs2/xattr.c 		gfs2_trans_add_meta(ip->i_gl, dibh);
ip               1351 fs/gfs2/xattr.c 		gfs2_dinode_out(ip, dibh->b_data);
ip               1366 fs/gfs2/xattr.c static int ea_dealloc_block(struct gfs2_inode *ip)
ip               1368 fs/gfs2/xattr.c 	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
ip               1378 fs/gfs2/xattr.c 	rgd = gfs2_blk2rgrpd(sdp, ip->i_eattr, 1);
ip               1380 fs/gfs2/xattr.c 		gfs2_consist_inode(ip);
ip               1393 fs/gfs2/xattr.c 	gfs2_free_meta(ip, rgd, ip->i_eattr, 1);
ip               1395 fs/gfs2/xattr.c 	ip->i_eattr = 0;
ip               1396 fs/gfs2/xattr.c 	gfs2_add_inode_blocks(&ip->i_inode, -1);
ip               1398 fs/gfs2/xattr.c 	error = gfs2_meta_inode_buffer(ip, &dibh);
ip               1400 fs/gfs2/xattr.c 		gfs2_trans_add_meta(ip->i_gl, dibh);
ip               1401 fs/gfs2/xattr.c 		gfs2_dinode_out(ip, dibh->b_data);
ip               1419 fs/gfs2/xattr.c int gfs2_ea_dealloc(struct gfs2_inode *ip)
ip               1423 fs/gfs2/xattr.c 	error = gfs2_rindex_update(GFS2_SB(&ip->i_inode));
ip               1427 fs/gfs2/xattr.c 	error = gfs2_quota_hold(ip, NO_UID_QUOTA_CHANGE, NO_GID_QUOTA_CHANGE);
ip               1431 fs/gfs2/xattr.c 	error = ea_foreach(ip, ea_dealloc_unstuffed, NULL);
ip               1435 fs/gfs2/xattr.c 	if (ip->i_diskflags & GFS2_DIF_EA_INDIRECT) {
ip               1436 fs/gfs2/xattr.c 		error = ea_dealloc_indirect(ip);
ip               1441 fs/gfs2/xattr.c 	error = ea_dealloc_block(ip);
ip               1444 fs/gfs2/xattr.c 	gfs2_quota_unhold(ip);
ip                 57 fs/gfs2/xattr.h extern int gfs2_ea_dealloc(struct gfs2_inode *ip);
ip                 61 fs/gfs2/xattr.h extern int gfs2_xattr_acl_get(struct gfs2_inode *ip, const char *name, char **data);
ip                126 fs/hfsplus/unicode.c 	const hfsplus_unichr *ip;
ip                134 fs/hfsplus/unicode.c 	ip = ustr->unicode;
ip                141 fs/hfsplus/unicode.c 		c0 = be16_to_cpu(*ip++);
ip                156 fs/hfsplus/unicode.c 			c1 = be16_to_cpu(*ip) - Hangul_VBase;
ip                162 fs/hfsplus/unicode.c 				ip++;
ip                166 fs/hfsplus/unicode.c 				c1 = be16_to_cpu(*ip) - Hangul_TBase;
ip                169 fs/hfsplus/unicode.c 					ip++;
ip                179 fs/hfsplus/unicode.c 			c1 = be16_to_cpu(*ip);
ip                203 fs/hfsplus/unicode.c 			ip++;
ip                211 fs/hfsplus/unicode.c 					be16_to_cpu(ip[i]));
ip                219 fs/hfsplus/unicode.c 				ip += i;
ip                 20 fs/isofs/joliet.c 	__be16 *ip, ch;
ip                 23 fs/isofs/joliet.c 	ip = uni;
ip                 26 fs/isofs/joliet.c 	while ((ch = get_unaligned(ip)) && len) {
ip                 33 fs/isofs/joliet.c 		ip++;
ip                197 fs/jfs/inode.c int jfs_get_block(struct inode *ip, sector_t lblock,
ip                205 fs/jfs/inode.c 	s32 xlen = bh_result->b_size >> ip->i_blkbits;
ip                211 fs/jfs/inode.c 		IWRITE_LOCK(ip, RDWRLOCK_NORMAL);
ip                213 fs/jfs/inode.c 		IREAD_LOCK(ip, RDWRLOCK_NORMAL);
ip                215 fs/jfs/inode.c 	if (((lblock64 << ip->i_sb->s_blocksize_bits) < ip->i_size) &&
ip                216 fs/jfs/inode.c 	    (!xtLookup(ip, lblock64, xlen, &xflag, &xaddr, &xlen, 0)) &&
ip                237 fs/jfs/inode.c 			rc = extRecord(ip, &xad);
ip                243 fs/jfs/inode.c 		map_bh(bh_result, ip->i_sb, xaddr);
ip                244 fs/jfs/inode.c 		bh_result->b_size = xlen << ip->i_blkbits;
ip                254 fs/jfs/inode.c 	if ((rc = extHint(ip, lblock64 << ip->i_sb->s_blocksize_bits, &xad)))
ip                256 fs/jfs/inode.c 	rc = extAlloc(ip, xlen, lblock64, &xad, false);
ip                261 fs/jfs/inode.c 	map_bh(bh_result, ip->i_sb, addressXAD(&xad));
ip                262 fs/jfs/inode.c 	bh_result->b_size = lengthXAD(&xad) << ip->i_blkbits;
ip                277 fs/jfs/inode.c 		IWRITE_UNLOCK(ip);
ip                279 fs/jfs/inode.c 		IREAD_UNLOCK(ip);
ip                374 fs/jfs/inode.c void jfs_truncate_nolock(struct inode *ip, loff_t length)
ip                381 fs/jfs/inode.c 	if (test_cflag(COMMIT_Nolink, ip)) {
ip                382 fs/jfs/inode.c 		xtTruncate(0, ip, length, COMMIT_WMAP);
ip                387 fs/jfs/inode.c 		tid = txBegin(ip->i_sb, 0);
ip                395 fs/jfs/inode.c 		mutex_lock(&JFS_IP(ip)->commit_mutex);
ip                397 fs/jfs/inode.c 		newsize = xtTruncate(tid, ip, length,
ip                401 fs/jfs/inode.c 			mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                405 fs/jfs/inode.c 		ip->i_mtime = ip->i_ctime = current_time(ip);
ip                406 fs/jfs/inode.c 		mark_inode_dirty(ip);
ip                408 fs/jfs/inode.c 		txCommit(tid, 1, &ip, 0);
ip                410 fs/jfs/inode.c 		mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                414 fs/jfs/inode.c void jfs_truncate(struct inode *ip)
ip                416 fs/jfs/inode.c 	jfs_info("jfs_truncate: size = 0x%lx", (ulong) ip->i_size);
ip                418 fs/jfs/inode.c 	nobh_truncate_page(ip->i_mapping, ip->i_size, jfs_get_block);
ip                420 fs/jfs/inode.c 	IWRITE_LOCK(ip, RDWRLOCK_NORMAL);
ip                421 fs/jfs/inode.c 	jfs_truncate_nolock(ip, ip->i_size);
ip                422 fs/jfs/inode.c 	IWRITE_UNLOCK(ip);
ip                 32 fs/jfs/jfs_discard.c void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks)
ip                 34 fs/jfs/jfs_discard.c 	struct super_block *sb = ip->i_sb;
ip                 65 fs/jfs/jfs_discard.c int jfs_ioc_trim(struct inode *ip, struct fstrim_range *range)
ip                 67 fs/jfs/jfs_discard.c 	struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap;
ip                 68 fs/jfs/jfs_discard.c 	struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap;
ip                 97 fs/jfs/jfs_discard.c 	agno = BLKTOAG(start, JFS_SBI(ip->i_sb));
ip                 98 fs/jfs/jfs_discard.c 	agno_end = BLKTOAG(end, JFS_SBI(ip->i_sb));
ip                100 fs/jfs/jfs_discard.c 		trimmed += dbDiscardAG(ip, agno, minlen);
ip                 10 fs/jfs/jfs_discard.h extern void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks);
ip                 11 fs/jfs/jfs_discard.h extern int jfs_ioc_trim(struct inode *ip, struct fstrim_range *range);
ip                 87 fs/jfs/jfs_dmap.c static int dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks);
ip                318 fs/jfs/jfs_dmap.c int dbFree(struct inode *ip, s64 blkno, s64 nblocks)
ip                324 fs/jfs/jfs_dmap.c 	struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap;
ip                325 fs/jfs/jfs_dmap.c 	struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap;
ip                336 fs/jfs/jfs_dmap.c 		jfs_error(ip->i_sb, "block to be freed is outside the map\n");
ip                373 fs/jfs/jfs_dmap.c 			jfs_error(ip->i_sb, "error in block map\n");
ip                687 fs/jfs/jfs_dmap.c int dbAlloc(struct inode *ip, s64 hint, s64 nblocks, s64 * results)
ip                690 fs/jfs/jfs_dmap.c 	struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap;
ip                708 fs/jfs/jfs_dmap.c 	bmp = JFS_SBI(ip->i_sb)->bmap;
ip                714 fs/jfs/jfs_dmap.c 		jfs_error(ip->i_sb, "the hint is outside the map\n");
ip                791 fs/jfs/jfs_dmap.c 		    ((writers == 1) && (JFS_IP(ip)->active_ag != agno))) {
ip                880 fs/jfs/jfs_dmap.c int dbAllocExact(struct inode *ip, s64 blkno, int nblocks)
ip                883 fs/jfs/jfs_dmap.c 	struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap;
ip                884 fs/jfs/jfs_dmap.c 	struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap;
ip                965 fs/jfs/jfs_dmap.c dbReAlloc(struct inode *ip,
ip                972 fs/jfs/jfs_dmap.c 	if ((rc = dbExtend(ip, blkno, nblocks, addnblocks)) == 0) {
ip                986 fs/jfs/jfs_dmap.c 		(ip, blkno + nblocks - 1, addnblocks + nblocks, results));
ip               1013 fs/jfs/jfs_dmap.c static int dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks)
ip               1015 fs/jfs/jfs_dmap.c 	struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb);
ip               1045 fs/jfs/jfs_dmap.c 		jfs_error(ip->i_sb, "the block is outside the filesystem\n");
ip               1606 fs/jfs/jfs_dmap.c s64 dbDiscardAG(struct inode *ip, int agno, s64 minlen)
ip               1608 fs/jfs/jfs_dmap.c 	struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap;
ip               1609 fs/jfs/jfs_dmap.c 	struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap;
ip               1677 fs/jfs/jfs_dmap.c 			jfs_issue_discard(ip, tt->blkno, tt->nblocks);
ip               1678 fs/jfs/jfs_dmap.c 		dbFree(ip, tt->blkno, tt->nblocks);
ip               3195 fs/jfs/jfs_dmap.c int dbAllocBottomUp(struct inode *ip, s64 blkno, s64 nblocks)
ip               3201 fs/jfs/jfs_dmap.c 	struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap;
ip               3202 fs/jfs/jfs_dmap.c 	struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap;
ip                126 fs/jfs/jfs_dmap.h #define AGTOBLK(a,ip)	\
ip                127 fs/jfs/jfs_dmap.h 	((s64)(a) << (JFS_SBI((ip)->i_sb)->bmap->db_agl2size))
ip                297 fs/jfs/jfs_dmap.h extern int dbAllocBottomUp(struct inode *ip, s64 blkno, s64 nblocks);
ip                301 fs/jfs/jfs_dmap.h extern s64 dbDiscardAG(struct inode *ip, int agno, s64 minlen);
ip                139 fs/jfs/jfs_dtree.c static int dtSplitUp(tid_t tid, struct inode *ip,
ip                142 fs/jfs/jfs_dtree.c static int dtSplitPage(tid_t tid, struct inode *ip, struct dtsplit * split,
ip                145 fs/jfs/jfs_dtree.c static int dtExtendPage(tid_t tid, struct inode *ip,
ip                148 fs/jfs/jfs_dtree.c static int dtSplitRoot(tid_t tid, struct inode *ip,
ip                151 fs/jfs/jfs_dtree.c static int dtDeleteUp(tid_t tid, struct inode *ip, struct metapage * fmp,
ip                154 fs/jfs/jfs_dtree.c static int dtRelink(tid_t tid, struct inode *ip, dtpage_t * p);
ip                156 fs/jfs/jfs_dtree.c static int dtReadFirst(struct inode *ip, struct btstack * btstack);
ip                158 fs/jfs/jfs_dtree.c static int dtReadNext(struct inode *ip,
ip                236 fs/jfs/jfs_dtree.c static struct dir_table_slot *find_index(struct inode *ip, u32 index,
ip                239 fs/jfs/jfs_dtree.c 	struct jfs_inode_info *jfs_ip = JFS_IP(ip);
ip                259 fs/jfs/jfs_dtree.c 	if (jfs_dirtable_inline(ip)) {
ip                269 fs/jfs/jfs_dtree.c 		    JFS_SBI(ip->i_sb)->l2nbperpage;
ip                277 fs/jfs/jfs_dtree.c 			*mp = read_index_page(ip, blkno);
ip                291 fs/jfs/jfs_dtree.c static inline void lock_index(tid_t tid, struct inode *ip, struct metapage * mp,
ip                298 fs/jfs/jfs_dtree.c 	tlck = txLock(tid, ip, mp, tlckDATA);
ip                321 fs/jfs/jfs_dtree.c static u32 add_index(tid_t tid, struct inode *ip, s64 bn, int slot)
ip                323 fs/jfs/jfs_dtree.c 	struct super_block *sb = ip->i_sb;
ip                325 fs/jfs/jfs_dtree.c 	struct jfs_inode_info *jfs_ip = JFS_IP(ip);
ip                337 fs/jfs/jfs_dtree.c 	ASSERT(DO_INDEX(ip));
ip                351 fs/jfs/jfs_dtree.c 		ip->i_size = (loff_t) (index - 1) << 3;
ip                361 fs/jfs/jfs_dtree.c 		set_cflag(COMMIT_Dirtable, ip);
ip                372 fs/jfs/jfs_dtree.c 		if (dquot_alloc_block(ip, sbi->nbperpage))
ip                374 fs/jfs/jfs_dtree.c 		if (dbAlloc(ip, 0, sbi->nbperpage, &xaddr)) {
ip                375 fs/jfs/jfs_dtree.c 			dquot_free_block(ip, sbi->nbperpage);
ip                388 fs/jfs/jfs_dtree.c 		xtInitRoot(tid, ip);
ip                393 fs/jfs/jfs_dtree.c 		if (xtInsert(tid, ip, 0, 0, sbi->nbperpage, &xaddr, 0)) {
ip                398 fs/jfs/jfs_dtree.c 			dbFree(ip, xaddr, sbi->nbperpage);
ip                399 fs/jfs/jfs_dtree.c 			dquot_free_block(ip, sbi->nbperpage);
ip                402 fs/jfs/jfs_dtree.c 		ip->i_size = PSIZE;
ip                404 fs/jfs/jfs_dtree.c 		mp = get_index_page(ip, 0);
ip                407 fs/jfs/jfs_dtree.c 			xtTruncate(tid, ip, 0, COMMIT_PWMAP);
ip                412 fs/jfs/jfs_dtree.c 		tlck = txLock(tid, ip, mp, tlckDATA);
ip                429 fs/jfs/jfs_dtree.c 		clear_cflag(COMMIT_Dirtable, ip);
ip                440 fs/jfs/jfs_dtree.c 		if (xtInsert(tid, ip, 0, blkno, sbi->nbperpage, &xaddr, 0)) {
ip                444 fs/jfs/jfs_dtree.c 		ip->i_size += PSIZE;
ip                446 fs/jfs/jfs_dtree.c 		if ((mp = get_index_page(ip, blkno)))
ip                449 fs/jfs/jfs_dtree.c 			xtTruncate(tid, ip, offset, COMMIT_PWMAP);
ip                451 fs/jfs/jfs_dtree.c 		mp = read_index_page(ip, blkno);
ip                458 fs/jfs/jfs_dtree.c 	lock_index(tid, ip, mp, index);
ip                483 fs/jfs/jfs_dtree.c static void free_index(tid_t tid, struct inode *ip, u32 index, u32 next)
ip                489 fs/jfs/jfs_dtree.c 	dirtab_slot = find_index(ip, index, &mp, &lblock);
ip                499 fs/jfs/jfs_dtree.c 		lock_index(tid, ip, mp, index);
ip                503 fs/jfs/jfs_dtree.c 		set_cflag(COMMIT_Dirtable, ip);
ip                511 fs/jfs/jfs_dtree.c static void modify_index(tid_t tid, struct inode *ip, u32 index, s64 bn,
ip                516 fs/jfs/jfs_dtree.c 	dirtab_slot = find_index(ip, index, mp, lblock);
ip                525 fs/jfs/jfs_dtree.c 		lock_index(tid, ip, *mp, index);
ip                528 fs/jfs/jfs_dtree.c 		set_cflag(COMMIT_Dirtable, ip);
ip                536 fs/jfs/jfs_dtree.c static int read_index(struct inode *ip, u32 index,
ip                543 fs/jfs/jfs_dtree.c 	slot = find_index(ip, index, &mp, &lblock);
ip                567 fs/jfs/jfs_dtree.c int dtSearch(struct inode *ip, struct component_name * key, ino_t * data,
ip                582 fs/jfs/jfs_dtree.c 	struct super_block *sb = ip->i_sb;
ip                623 fs/jfs/jfs_dtree.c 		DT_GETPAGE(ip, bn, mp, psize, p, rc);
ip                780 fs/jfs/jfs_dtree.c 		psize = lengthPXD(pxd) << JFS_SBI(ip->i_sb)->l2bsize;
ip                809 fs/jfs/jfs_dtree.c int dtInsert(tid_t tid, struct inode *ip,
ip                831 fs/jfs/jfs_dtree.c 	DT_GETSEARCH(ip, btstack->top, bn, mp, p, index);
ip                836 fs/jfs/jfs_dtree.c 	if (DO_INDEX(ip)) {
ip                837 fs/jfs/jfs_dtree.c 		if (JFS_IP(ip)->next_index == DIREND) {
ip                843 fs/jfs/jfs_dtree.c 		data.leaf.ip = ip;
ip                846 fs/jfs/jfs_dtree.c 		data.leaf.ip = NULL;	/* signifies legacy directory format */
ip                863 fs/jfs/jfs_dtree.c 		rc = dtSplitUp(tid, ip, &split, btstack);
ip                872 fs/jfs/jfs_dtree.c 	BT_MARK_DIRTY(mp, ip);
ip                876 fs/jfs/jfs_dtree.c 	tlck = txLock(tid, ip, mp, tlckDTREE | tlckENTRY);
ip                919 fs/jfs/jfs_dtree.c 	  struct inode *ip, struct dtsplit * split, struct btstack * btstack)
ip                921 fs/jfs/jfs_dtree.c 	struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb);
ip                946 fs/jfs/jfs_dtree.c 	sp = DT_PAGE(ip, smp);
ip                974 fs/jfs/jfs_dtree.c 		if ((rc = dbAlloc(ip, 0, (s64) xlen, &xaddr))) {
ip                985 fs/jfs/jfs_dtree.c 		rc = dtSplitRoot(tid, ip, split, &rmp);
ip                988 fs/jfs/jfs_dtree.c 			dbFree(ip, xaddr, xlen);
ip                994 fs/jfs/jfs_dtree.c 		if (!DO_INDEX(ip))
ip                995 fs/jfs/jfs_dtree.c 			ip->i_size = xlen << sbi->l2bsize;
ip               1019 fs/jfs/jfs_dtree.c 		rc = dquot_alloc_block(ip, n);
ip               1034 fs/jfs/jfs_dtree.c 		if ((rc = dtExtendPage(tid, ip, split, btstack))) {
ip               1039 fs/jfs/jfs_dtree.c 				dbFree(ip, nxaddr, (s64) xlen);
ip               1044 fs/jfs/jfs_dtree.c 				dbFree(ip, xaddr, (s64) n);
ip               1046 fs/jfs/jfs_dtree.c 		} else if (!DO_INDEX(ip))
ip               1047 fs/jfs/jfs_dtree.c 			ip->i_size = lengthPXD(pxd) << sbi->l2bsize;
ip               1070 fs/jfs/jfs_dtree.c 		if ((rc = dbAlloc(ip, 0, (s64) xlen, &xaddr)) == 0) {
ip               1084 fs/jfs/jfs_dtree.c 	if ((rc = dtSplitPage(tid, ip, split, &rmp, &rp, &rpxd))) {
ip               1091 fs/jfs/jfs_dtree.c 	if (!DO_INDEX(ip))
ip               1092 fs/jfs/jfs_dtree.c 		ip->i_size += PSIZE;
ip               1126 fs/jfs/jfs_dtree.c 		DT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc);
ip               1236 fs/jfs/jfs_dtree.c 			    dtSplitRoot(tid, ip, split, &rmp) :
ip               1237 fs/jfs/jfs_dtree.c 			    dtSplitPage(tid, ip, split, &rmp, &rp, &rpxd);
ip               1249 fs/jfs/jfs_dtree.c 			BT_MARK_DIRTY(smp, ip);
ip               1253 fs/jfs/jfs_dtree.c 			tlck = txLock(tid, ip, smp, tlckDTREE | tlckENTRY);
ip               1292 fs/jfs/jfs_dtree.c 		dbFree(ip, addressPXD(pxd), (s64) lengthPXD(pxd));
ip               1299 fs/jfs/jfs_dtree.c 		dquot_free_block(ip, quota_allocation);
ip               1318 fs/jfs/jfs_dtree.c static int dtSplitPage(tid_t tid, struct inode *ip, struct dtsplit * split,
ip               1346 fs/jfs/jfs_dtree.c 	sp = DT_PAGE(ip, smp);
ip               1355 fs/jfs/jfs_dtree.c 	rmp = get_metapage(ip, rbn, PSIZE, 1);
ip               1360 fs/jfs/jfs_dtree.c 	rc = dquot_alloc_block(ip, lengthPXD(pxd));
ip               1366 fs/jfs/jfs_dtree.c 	jfs_info("dtSplitPage: ip:0x%p smp:0x%p rmp:0x%p", ip, smp, rmp);
ip               1368 fs/jfs/jfs_dtree.c 	BT_MARK_DIRTY(rmp, ip);
ip               1372 fs/jfs/jfs_dtree.c 	tlck = txLock(tid, ip, rmp, tlckDTREE | tlckNEW);
ip               1379 fs/jfs/jfs_dtree.c 	BT_MARK_DIRTY(smp, ip);
ip               1385 fs/jfs/jfs_dtree.c 	tlck = txLock(tid, ip, smp, tlckDTREE | tlckENTRY);
ip               1463 fs/jfs/jfs_dtree.c 		DT_GETPAGE(ip, nextbn, mp, PSIZE, p, rc);
ip               1469 fs/jfs/jfs_dtree.c 		BT_MARK_DIRTY(mp, ip);
ip               1473 fs/jfs/jfs_dtree.c 		tlck = txLock(tid, ip, mp, tlckDTREE | tlckRELINK);
ip               1475 fs/jfs/jfs_dtree.c 			tlck, ip, mp);
ip               1513 fs/jfs/jfs_dtree.c 				if (DO_INDEX(ip))
ip               1553 fs/jfs/jfs_dtree.c 	dtMoveEntry(sp, nxt, rp, &sdtlck, &rdtlck, DO_INDEX(ip));
ip               1569 fs/jfs/jfs_dtree.c 	if ((rp->header.flag & BT_LEAF) && DO_INDEX(ip)) {
ip               1576 fs/jfs/jfs_dtree.c 			modify_index(tid, ip, le32_to_cpu(ldtentry->index),
ip               1631 fs/jfs/jfs_dtree.c 	     struct inode *ip, struct dtsplit * split, struct btstack * btstack)
ip               1633 fs/jfs/jfs_dtree.c 	struct super_block *sb = ip->i_sb;
ip               1657 fs/jfs/jfs_dtree.c 	sp = DT_PAGE(ip, smp);
ip               1661 fs/jfs/jfs_dtree.c 	DT_GETPAGE(ip, parent->bn, pmp, PSIZE, pp, rc);
ip               1684 fs/jfs/jfs_dtree.c 		tlck = txMaplock(tid, ip, tlckDTREE | tlckRELOCATE);
ip               1693 fs/jfs/jfs_dtree.c 		if (DO_INDEX(ip)) {
ip               1701 fs/jfs/jfs_dtree.c 				modify_index(tid, ip,
ip               1715 fs/jfs/jfs_dtree.c 	jfs_info("dtExtendPage: ip:0x%p smp:0x%p sp:0x%p", ip, smp, sp);
ip               1717 fs/jfs/jfs_dtree.c 	BT_MARK_DIRTY(smp, ip);
ip               1721 fs/jfs/jfs_dtree.c 	tlck = txLock(tid, ip, smp, tlckDTREE | type);
ip               1811 fs/jfs/jfs_dtree.c 	BT_MARK_DIRTY(pmp, ip);
ip               1827 fs/jfs/jfs_dtree.c 	tlck = txLock(tid, ip, pmp, tlckDTREE | tlckENTRY);
ip               1864 fs/jfs/jfs_dtree.c 	    struct inode *ip, struct dtsplit * split, struct metapage ** rmpp)
ip               1866 fs/jfs/jfs_dtree.c 	struct super_block *sb = ip->i_sb;
ip               1888 fs/jfs/jfs_dtree.c 	sp = &JFS_IP(ip)->i_dtroot;
ip               1902 fs/jfs/jfs_dtree.c 	rmp = get_metapage(ip, rbn, xsize, 1);
ip               1909 fs/jfs/jfs_dtree.c 	rc = dquot_alloc_block(ip, lengthPXD(pxd));
ip               1915 fs/jfs/jfs_dtree.c 	BT_MARK_DIRTY(rmp, ip);
ip               1919 fs/jfs/jfs_dtree.c 	tlck = txLock(tid, ip, rmp, tlckDTREE | tlckNEW);
ip               1983 fs/jfs/jfs_dtree.c 	if ((rp->header.flag & BT_LEAF) && DO_INDEX(ip)) {
ip               1991 fs/jfs/jfs_dtree.c 			modify_index(tid, ip, le32_to_cpu(ldtentry->index),
ip               2012 fs/jfs/jfs_dtree.c 	BT_MARK_DIRTY(smp, ip);
ip               2016 fs/jfs/jfs_dtree.c 	tlck = txLock(tid, ip, smp, tlckDTREE | tlckNEW | tlckBTROOT);
ip               2071 fs/jfs/jfs_dtree.c 	 struct inode *ip, struct component_name * key, ino_t * ino, int flag)
ip               2094 fs/jfs/jfs_dtree.c 	if ((rc = dtSearch(ip, key, ino, &btstack, flag)))
ip               2098 fs/jfs/jfs_dtree.c 	DT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
ip               2105 fs/jfs/jfs_dtree.c 	if (DO_INDEX(ip)) {
ip               2118 fs/jfs/jfs_dtree.c 				DT_GETPAGE(ip, le64_to_cpu(p->header.next),
ip               2137 fs/jfs/jfs_dtree.c 		free_index(tid, ip, table_index, next_index);
ip               2144 fs/jfs/jfs_dtree.c 		rc = dtDeleteUp(tid, ip, mp, p, &btstack);
ip               2152 fs/jfs/jfs_dtree.c 		BT_MARK_DIRTY(mp, ip);
ip               2156 fs/jfs/jfs_dtree.c 		tlck = txLock(tid, ip, mp, tlckDTREE | tlckENTRY);
ip               2192 fs/jfs/jfs_dtree.c 		if (DO_INDEX(ip) && index < p->header.nextindex) {
ip               2200 fs/jfs/jfs_dtree.c 				modify_index(tid, ip,
ip               2225 fs/jfs/jfs_dtree.c static int dtDeleteUp(tid_t tid, struct inode *ip,
ip               2249 fs/jfs/jfs_dtree.c 		dtInitRoot(tid, ip, PARENT(ip));
ip               2266 fs/jfs/jfs_dtree.c 	tlck = txMaplock(tid, ip, tlckDTREE | tlckFREE);
ip               2273 fs/jfs/jfs_dtree.c 	if ((rc = dtRelink(tid, ip, fp))) {
ip               2281 fs/jfs/jfs_dtree.c 	dquot_free_block(ip, xlen);
ip               2296 fs/jfs/jfs_dtree.c 		DT_GETPAGE(ip, parent->bn, mp, PSIZE, p, rc);
ip               2325 fs/jfs/jfs_dtree.c 				dtInitRoot(tid, ip, PARENT(ip));
ip               2341 fs/jfs/jfs_dtree.c 				    txMaplock(tid, ip,
ip               2349 fs/jfs/jfs_dtree.c 				if ((rc = dtRelink(tid, ip, p))) {
ip               2357 fs/jfs/jfs_dtree.c 				dquot_free_block(ip, xlen);
ip               2372 fs/jfs/jfs_dtree.c 		BT_MARK_DIRTY(mp, ip);
ip               2378 fs/jfs/jfs_dtree.c 		tlck = txLock(tid, ip, mp, tlckDTREE | tlckENTRY);
ip               2420 fs/jfs/jfs_dtree.c 	if (!DO_INDEX(ip))
ip               2421 fs/jfs/jfs_dtree.c 		ip->i_size -= PSIZE;
ip               2433 fs/jfs/jfs_dtree.c int dtRelocate(tid_t tid, struct inode *ip, s64 lmxaddr, pxd_t * opxd,
ip               2462 fs/jfs/jfs_dtree.c 	rc = dtSearchNode(ip, lmxaddr, opxd, &btstack);
ip               2467 fs/jfs/jfs_dtree.c 	DT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index);
ip               2474 fs/jfs/jfs_dtree.c 	DT_GETPAGE(ip, oxaddr, mp, PSIZE, p, rc);
ip               2487 fs/jfs/jfs_dtree.c 		DT_GETPAGE(ip, nextbn, rmp, PSIZE, rp, rc);
ip               2498 fs/jfs/jfs_dtree.c 		DT_GETPAGE(ip, prevbn, lmp, PSIZE, lp, rc);
ip               2514 fs/jfs/jfs_dtree.c 		tlck = txLock(tid, ip, lmp, tlckDTREE | tlckRELINK);
ip               2528 fs/jfs/jfs_dtree.c 		tlck = txLock(tid, ip, rmp, tlckDTREE | tlckRELINK);
ip               2550 fs/jfs/jfs_dtree.c 	tlck = txLock(tid, ip, mp, tlckDTREE | tlckNEW);
ip               2568 fs/jfs/jfs_dtree.c 	xsize = xlen << JFS_SBI(ip->i_sb)->l2bsize;
ip               2587 fs/jfs/jfs_dtree.c 	tlck = txMaplock(tid, ip, tlckDTREE | tlckFREE);
ip               2601 fs/jfs/jfs_dtree.c 	tlck = txLock(tid, ip, pmp, tlckDTREE | tlckENTRY);
ip               2630 fs/jfs/jfs_dtree.c static int dtSearchNode(struct inode *ip, s64 lmxaddr, pxd_t * kpxd,
ip               2652 fs/jfs/jfs_dtree.c 		DT_GETPAGE(ip, bn, mp, psize, p, rc);
ip               2679 fs/jfs/jfs_dtree.c 		psize = lengthPXD(pxd) << JFS_SBI(ip->i_sb)->l2bsize;
ip               2716 fs/jfs/jfs_dtree.c 	DT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               2735 fs/jfs/jfs_dtree.c static int dtRelink(tid_t tid, struct inode *ip, dtpage_t * p)
ip               2749 fs/jfs/jfs_dtree.c 		DT_GETPAGE(ip, nextbn, mp, PSIZE, p, rc);
ip               2753 fs/jfs/jfs_dtree.c 		BT_MARK_DIRTY(mp, ip);
ip               2759 fs/jfs/jfs_dtree.c 		tlck = txLock(tid, ip, mp, tlckDTREE | tlckRELINK);
ip               2761 fs/jfs/jfs_dtree.c 			tlck, ip, mp);
ip               2778 fs/jfs/jfs_dtree.c 		DT_GETPAGE(ip, prevbn, mp, PSIZE, p, rc);
ip               2782 fs/jfs/jfs_dtree.c 		BT_MARK_DIRTY(mp, ip);
ip               2788 fs/jfs/jfs_dtree.c 		tlck = txLock(tid, ip, mp, tlckDTREE | tlckRELINK);
ip               2790 fs/jfs/jfs_dtree.c 			tlck, ip, mp);
ip               2814 fs/jfs/jfs_dtree.c void dtInitRoot(tid_t tid, struct inode *ip, u32 idotdot)
ip               2816 fs/jfs/jfs_dtree.c 	struct jfs_inode_info *jfs_ip = JFS_IP(ip);
ip               2829 fs/jfs/jfs_dtree.c 	if (DO_INDEX(ip)) {
ip               2830 fs/jfs/jfs_dtree.c 		if (!jfs_dirtable_inline(ip)) {
ip               2848 fs/jfs/jfs_dtree.c 			xtTruncate(tid, ip, 0, COMMIT_PWMAP);
ip               2849 fs/jfs/jfs_dtree.c 			set_cflag(COMMIT_Stale, ip);
ip               2853 fs/jfs/jfs_dtree.c 			ip->i_size = 1;
ip               2857 fs/jfs/jfs_dtree.c 		ip->i_size = IDATASIZE;
ip               2864 fs/jfs/jfs_dtree.c 	tlck = txLock(tid, ip, (struct metapage *) & jfs_ip->bxflag,
ip               2995 fs/jfs/jfs_dtree.c 	struct inode *ip = file_inode(file);
ip               2996 fs/jfs/jfs_dtree.c 	struct nls_table *codepage = JFS_SBI(ip->i_sb)->nls_tab;
ip               3027 fs/jfs/jfs_dtree.c 	if (DO_INDEX(ip)) {
ip               3049 fs/jfs/jfs_dtree.c 			if (dtEmpty(ip) ||
ip               3050 fs/jfs/jfs_dtree.c 			    (dir_index >= JFS_IP(ip)->next_index)) {
ip               3056 fs/jfs/jfs_dtree.c 			rc = read_index(ip, dir_index, &dirtab_slot);
ip               3062 fs/jfs/jfs_dtree.c 				if (loop_count++ > JFS_IP(ip)->next_index) {
ip               3076 fs/jfs/jfs_dtree.c 			DT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               3093 fs/jfs/jfs_dtree.c 				if (!dir_emit(ctx, ".", 1, ip->i_ino, DT_DIR))
ip               3100 fs/jfs/jfs_dtree.c 			if (!dir_emit(ctx, "..", 2, PARENT(ip), DT_DIR))
ip               3106 fs/jfs/jfs_dtree.c 			if (dtEmpty(ip)) {
ip               3111 fs/jfs/jfs_dtree.c 			if ((rc = dtReadFirst(ip, &btstack)))
ip               3114 fs/jfs/jfs_dtree.c 			DT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
ip               3129 fs/jfs/jfs_dtree.c 			if (!dir_emit(ctx, ".", 1, ip->i_ino, DT_DIR))
ip               3138 fs/jfs/jfs_dtree.c 				if (!dir_emit(ctx, "..", 2, PARENT(ip), DT_DIR))
ip               3148 fs/jfs/jfs_dtree.c 		if (dtEmpty(ip)) {
ip               3153 fs/jfs/jfs_dtree.c 		if ((rc = dtReadNext(ip, &ctx->pos, &btstack))) {
ip               3160 fs/jfs/jfs_dtree.c 		DT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
ip               3211 fs/jfs/jfs_dtree.c 				     JFS_IP(ip)->next_index)) {
ip               3212 fs/jfs/jfs_dtree.c 					if (!page_fixed && !isReadOnly(ip)) {
ip               3250 fs/jfs/jfs_dtree.c 					jfs_error(ip->i_sb,
ip               3252 fs/jfs/jfs_dtree.c 						  (long)ip->i_ino,
ip               3302 fs/jfs/jfs_dtree.c 			add_missing_indices(ip, bn);
ip               3311 fs/jfs/jfs_dtree.c 		DT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               3330 fs/jfs/jfs_dtree.c static int dtReadFirst(struct inode *ip, struct btstack * btstack)
ip               3349 fs/jfs/jfs_dtree.c 		DT_GETPAGE(ip, bn, mp, psize, p, rc);
ip               3371 fs/jfs/jfs_dtree.c 			jfs_error(ip->i_sb, "btstack overrun\n");
ip               3384 fs/jfs/jfs_dtree.c 		psize = lengthPXD(xd) << JFS_SBI(ip->i_sb)->l2bsize;
ip               3402 fs/jfs/jfs_dtree.c static int dtReadNext(struct inode *ip, loff_t * offset,
ip               3423 fs/jfs/jfs_dtree.c 	if ((rc = dtReadFirst(ip, btstack)))
ip               3427 fs/jfs/jfs_dtree.c 	DT_GETSEARCH(ip, btstack->top, bn, mp, p, index);
ip               3486 fs/jfs/jfs_dtree.c 	DT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               3507 fs/jfs/jfs_dtree.c 		DT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               3527 fs/jfs/jfs_dtree.c 	DT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               3548 fs/jfs/jfs_dtree.c 		DT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               3933 fs/jfs/jfs_dtree.c 		if (data->leaf.ip) {
ip               3938 fs/jfs/jfs_dtree.c 							  data->leaf.ip,
ip               4017 fs/jfs/jfs_dtree.c 		if ((p->header.flag & BT_LEAF) && data->leaf.ip) {
ip               4027 fs/jfs/jfs_dtree.c 				modify_index(data->leaf.tid, data->leaf.ip,
ip               4507 fs/jfs/jfs_dtree.c int dtModify(tid_t tid, struct inode *ip,
ip               4528 fs/jfs/jfs_dtree.c 	if ((rc = dtSearch(ip, key, orig_ino, &btstack, flag)))
ip               4532 fs/jfs/jfs_dtree.c 	DT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
ip               4534 fs/jfs/jfs_dtree.c 	BT_MARK_DIRTY(mp, ip);
ip               4538 fs/jfs/jfs_dtree.c 	tlck = txLock(tid, ip, mp, tlckDTREE | tlckENTRY);
ip                 17 fs/jfs/jfs_dtree.h 		struct inode *ip;
ip                241 fs/jfs/jfs_dtree.h extern void dtInitRoot(tid_t tid, struct inode *ip, u32 idotdot);
ip                243 fs/jfs/jfs_dtree.h extern int dtSearch(struct inode *ip, struct component_name * key,
ip                246 fs/jfs/jfs_dtree.h extern int dtInsert(tid_t tid, struct inode *ip, struct component_name * key,
ip                249 fs/jfs/jfs_dtree.h extern int dtDelete(tid_t tid, struct inode *ip, struct component_name * key,
ip                252 fs/jfs/jfs_dtree.h extern int dtModify(tid_t tid, struct inode *ip, struct component_name * key,
ip                 73 fs/jfs/jfs_extent.c extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr)
ip                 75 fs/jfs/jfs_extent.c 	struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb);
ip                 81 fs/jfs/jfs_extent.c 	txBeginAnon(ip->i_sb);
ip                 84 fs/jfs/jfs_extent.c 	mutex_lock(&JFS_IP(ip)->commit_mutex);
ip                125 fs/jfs/jfs_extent.c 	if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) {
ip                126 fs/jfs/jfs_extent.c 		mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                131 fs/jfs/jfs_extent.c 	rc = dquot_alloc_block(ip, nxlen);
ip                133 fs/jfs/jfs_extent.c 		dbFree(ip, nxaddr, (s64) nxlen);
ip                134 fs/jfs/jfs_extent.c 		mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                146 fs/jfs/jfs_extent.c 		rc = xtExtend(0, ip, xoff, (int) nxlen, 0);
ip                148 fs/jfs/jfs_extent.c 		rc = xtInsert(0, ip, xflag, xoff, (int) nxlen, &nxaddr, 0);
ip                154 fs/jfs/jfs_extent.c 		dbFree(ip, nxaddr, nxlen);
ip                155 fs/jfs/jfs_extent.c 		dquot_free_block(ip, nxlen);
ip                156 fs/jfs/jfs_extent.c 		mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                166 fs/jfs/jfs_extent.c 	mark_inode_dirty(ip);
ip                168 fs/jfs/jfs_extent.c 	mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                174 fs/jfs/jfs_extent.c 	if (test_and_clear_cflag(COMMIT_Synclist,ip))
ip                175 fs/jfs/jfs_extent.c 		jfs_commit_inode(ip, 0);
ip                202 fs/jfs/jfs_extent.c int extRealloc(struct inode *ip, s64 nxlen, xad_t * xp, bool abnr)
ip                204 fs/jfs/jfs_extent.c 	struct super_block *sb = ip->i_sb;
ip                211 fs/jfs/jfs_extent.c 	txBeginAnon(ip->i_sb);
ip                213 fs/jfs/jfs_extent.c 	mutex_lock(&JFS_IP(ip)->commit_mutex);
ip                231 fs/jfs/jfs_extent.c 		if ((rc = xtUpdate(0, ip, xp)))
ip                243 fs/jfs/jfs_extent.c 	if ((rc = extBrealloc(ip, xaddr, xlen, &nxlen, &nxaddr)))
ip                247 fs/jfs/jfs_extent.c 	rc = dquot_alloc_block(ip, nxlen);
ip                249 fs/jfs/jfs_extent.c 		dbFree(ip, nxaddr, (s64) nxlen);
ip                250 fs/jfs/jfs_extent.c 		mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                287 fs/jfs/jfs_extent.c 		if ((rc = xtExtend(0, ip, xoff + xlen, (int) nextend, 0))) {
ip                288 fs/jfs/jfs_extent.c 			dbFree(ip, xaddr + xlen, delta);
ip                289 fs/jfs/jfs_extent.c 			dquot_free_block(ip, nxlen);
ip                298 fs/jfs/jfs_extent.c 		if ((rc = xtTailgate(0, ip, xoff, (int) ntail, nxaddr, 0))) {
ip                299 fs/jfs/jfs_extent.c 			dbFree(ip, nxaddr, nxlen);
ip                300 fs/jfs/jfs_extent.c 			dquot_free_block(ip, nxlen);
ip                313 fs/jfs/jfs_extent.c 		if (xtInsert (0, ip, xflag, xoff + ntail, (int) ninsert,
ip                315 fs/jfs/jfs_extent.c 			dbFree(ip, xaddr, (s64) ninsert);
ip                328 fs/jfs/jfs_extent.c 	mark_inode_dirty(ip);
ip                330 fs/jfs/jfs_extent.c 	mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                351 fs/jfs/jfs_extent.c int extHint(struct inode *ip, s64 offset, xad_t * xp)
ip                353 fs/jfs/jfs_extent.c 	struct super_block *sb = ip->i_sb;
ip                374 fs/jfs/jfs_extent.c 	rc = xtLookup(ip, prev, nbperpage, &xflag, &xaddr, &xlen, 0);
ip                378 fs/jfs/jfs_extent.c 			jfs_error(ip->i_sb, "corrupt xtree\n");
ip                411 fs/jfs/jfs_extent.c int extRecord(struct inode *ip, xad_t * xp)
ip                415 fs/jfs/jfs_extent.c 	txBeginAnon(ip->i_sb);
ip                417 fs/jfs/jfs_extent.c 	mutex_lock(&JFS_IP(ip)->commit_mutex);
ip                420 fs/jfs/jfs_extent.c 	rc = xtUpdate(0, ip, xp);
ip                422 fs/jfs/jfs_extent.c 	mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                443 fs/jfs/jfs_extent.c int extFill(struct inode *ip, xad_t * xp)
ip                445 fs/jfs/jfs_extent.c 	int rc, nbperpage = JFS_SBI(ip->i_sb)->nbperpage;
ip                446 fs/jfs/jfs_extent.c 	s64 blkno = offsetXAD(xp) >> ip->i_blkbits;
ip                454 fs/jfs/jfs_extent.c 	if ((rc = extAlloc(ip, nbperpage, blkno, xp, false)))
ip                496 fs/jfs/jfs_extent.c extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno)
ip                498 fs/jfs/jfs_extent.c 	struct jfs_inode_info *ji = JFS_IP(ip);
ip                499 fs/jfs/jfs_extent.c 	struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb);
ip                518 fs/jfs/jfs_extent.c 	while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) {
ip                536 fs/jfs/jfs_extent.c 	if (S_ISREG(ip->i_mode) && (ji->fileset == FILESYSTEM_I)) {
ip                589 fs/jfs/jfs_extent.c extBrealloc(struct inode *ip,
ip                595 fs/jfs/jfs_extent.c 	if ((rc = dbExtend(ip, blkno, nblks, *newnblks - nblks)) == 0) {
ip                606 fs/jfs/jfs_extent.c 	return (extBalloc(ip, blkno, newnblks, newblkno));
ip                  9 fs/jfs/jfs_extent.h #define	INOHINT(ip)	\
ip                 10 fs/jfs/jfs_extent.h 	(addressPXD(&(JFS_IP(ip)->ixpxd)) + lengthPXD(&(JFS_IP(ip)->ixpxd)) - 1)
ip                291 fs/jfs/jfs_imap.c int diRead(struct inode *ip)
ip                293 fs/jfs/jfs_imap.c 	struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb);
ip                306 fs/jfs/jfs_imap.c 	jfs_info("diRead: ino = %ld", ip->i_ino);
ip                309 fs/jfs/jfs_imap.c 	JFS_IP(ip)->ipimap = ipimap;
ip                312 fs/jfs/jfs_imap.c 	iagno = INOTOIAG(ip->i_ino);
ip                327 fs/jfs/jfs_imap.c 	ino = ip->i_ino & (INOSPERIAG - 1);
ip                375 fs/jfs/jfs_imap.c 	if (ip->i_ino != le32_to_cpu(dp->di_number)) {
ip                376 fs/jfs/jfs_imap.c 		jfs_error(ip->i_sb, "i_ino != di_number\n");
ip                382 fs/jfs/jfs_imap.c 		rc = copy_from_dinode(dp, ip);
ip                387 fs/jfs/jfs_imap.c 	JFS_IP(ip)->agstart = agstart;
ip                388 fs/jfs/jfs_imap.c 	JFS_IP(ip)->active_ag = -1;
ip                421 fs/jfs/jfs_imap.c 	struct inode *ip;
ip                424 fs/jfs/jfs_imap.c 	ip = new_inode(sb);
ip                425 fs/jfs/jfs_imap.c 	if (ip == NULL) {
ip                427 fs/jfs/jfs_imap.c 		return ip;
ip                432 fs/jfs/jfs_imap.c 		JFS_IP(ip)->ipimap = sbi->ipaimap2;
ip                435 fs/jfs/jfs_imap.c 		JFS_IP(ip)->ipimap = sbi->ipaimap;
ip                440 fs/jfs/jfs_imap.c 	ip->i_ino = inum;
ip                445 fs/jfs/jfs_imap.c 	mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1);
ip                447 fs/jfs/jfs_imap.c 		set_nlink(ip, 1);	/* Don't want iput() deleting it */
ip                448 fs/jfs/jfs_imap.c 		iput(ip);
ip                457 fs/jfs/jfs_imap.c 	if ((copy_from_dinode(dp, ip)) != 0) {
ip                459 fs/jfs/jfs_imap.c 		set_nlink(ip, 1);	/* Don't want iput() deleting it */
ip                460 fs/jfs/jfs_imap.c 		iput(ip);
ip                467 fs/jfs/jfs_imap.c 	ip->i_mapping->a_ops = &jfs_metapage_aops;
ip                468 fs/jfs/jfs_imap.c 	mapping_set_gfp_mask(ip->i_mapping, GFP_NOFS);
ip                471 fs/jfs/jfs_imap.c 	ip->i_flags |= S_NOQUOTA;
ip                473 fs/jfs/jfs_imap.c 	if ((inum == FILESYSTEM_I) && (JFS_IP(ip)->ipimap == sbi->ipaimap)) {
ip                481 fs/jfs/jfs_imap.c 	inode_fake_hash(ip);
ip                483 fs/jfs/jfs_imap.c 	return (ip);
ip                498 fs/jfs/jfs_imap.c void diWriteSpecial(struct inode *ip, int secondary)
ip                500 fs/jfs/jfs_imap.c 	struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb);
ip                503 fs/jfs/jfs_imap.c 	ino_t inum = ip->i_ino;
ip                516 fs/jfs/jfs_imap.c 	mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1);
ip                527 fs/jfs/jfs_imap.c 	copy_to_dinode(dp, ip);
ip                528 fs/jfs/jfs_imap.c 	memcpy(&dp->di_xtroot, &JFS_IP(ip)->i_xtroot, 288);
ip                542 fs/jfs/jfs_imap.c void diFreeSpecial(struct inode *ip)
ip                544 fs/jfs/jfs_imap.c 	if (ip == NULL) {
ip                548 fs/jfs/jfs_imap.c 	filemap_write_and_wait(ip->i_mapping);
ip                549 fs/jfs/jfs_imap.c 	truncate_inode_pages(ip->i_mapping, 0);
ip                550 fs/jfs/jfs_imap.c 	iput(ip);
ip                579 fs/jfs/jfs_imap.c int diWrite(tid_t tid, struct inode *ip)
ip                581 fs/jfs/jfs_imap.c 	struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb);
ip                582 fs/jfs/jfs_imap.c 	struct jfs_inode_info *jfs_ip = JFS_IP(ip);
ip                603 fs/jfs/jfs_imap.c 	ino = ip->i_ino & (INOSPERIAG - 1);
ip                608 fs/jfs/jfs_imap.c 		jfs_error(ip->i_sb, "ixpxd invalid\n");
ip                669 fs/jfs/jfs_imap.c 	if (S_ISDIR(ip->i_mode) && (lid = jfs_ip->xtlid)) {
ip                762 fs/jfs/jfs_imap.c 	if (S_ISLNK(ip->i_mode) && ip->i_size < IDATASIZE) {
ip                773 fs/jfs/jfs_imap.c 	if (test_cflag(COMMIT_Inlineea, ip)) {
ip                780 fs/jfs/jfs_imap.c 		clear_cflag(COMMIT_Inlineea, ip);
ip                788 fs/jfs/jfs_imap.c 	copy_to_dinode(dp, ip);
ip                789 fs/jfs/jfs_imap.c 	if (test_and_clear_cflag(COMMIT_Dirtable, ip)) {
ip                843 fs/jfs/jfs_imap.c int diFree(struct inode *ip)
ip                846 fs/jfs/jfs_imap.c 	ino_t inum = ip->i_ino;
ip                852 fs/jfs/jfs_imap.c 	struct inode *ipimap = JFS_SBI(ip->i_sb)->ipimap;
ip                876 fs/jfs/jfs_imap.c 		jfs_error(ip->i_sb, "inum = %d, iagno = %d, nextiag = %d\n",
ip                883 fs/jfs/jfs_imap.c 	agno = BLKTOAG(JFS_IP(ip)->agstart, JFS_SBI(ip->i_sb));
ip                912 fs/jfs/jfs_imap.c 		jfs_error(ip->i_sb, "wmap shows inode already free\n");
ip                919 fs/jfs/jfs_imap.c 		jfs_error(ip->i_sb, "invalid inoext\n");
ip                931 fs/jfs/jfs_imap.c 		jfs_error(ip->i_sb, "numfree > numinos\n");
ip               1119 fs/jfs/jfs_imap.c 	invalidate_pxd_metapages(ip, freepxd);
ip               1180 fs/jfs/jfs_imap.c 		jfs_error(ip->i_sb, "the pmap does not show inode free\n");
ip               1294 fs/jfs/jfs_imap.c diInitInode(struct inode *ip, int iagno, int ino, int extno, struct iag * iagp)
ip               1296 fs/jfs/jfs_imap.c 	struct jfs_inode_info *jfs_ip = JFS_IP(ip);
ip               1298 fs/jfs/jfs_imap.c 	ip->i_ino = (iagno << L2INOSPERIAG) + ino;
ip               1321 fs/jfs/jfs_imap.c int diAlloc(struct inode *pip, bool dir, struct inode *ip)
ip               1337 fs/jfs/jfs_imap.c 	JFS_IP(ip)->ipimap = ipimap;
ip               1338 fs/jfs/jfs_imap.c 	JFS_IP(ip)->fileset = FILESYSTEM_I;
ip               1433 fs/jfs/jfs_imap.c 					diInitInode(ip, iagno, ino, extno,
ip               1498 fs/jfs/jfs_imap.c 					jfs_error(ip->i_sb,
ip               1516 fs/jfs/jfs_imap.c 					diInitInode(ip, iagno, ino, extno,
ip               1555 fs/jfs/jfs_imap.c 					diInitInode(ip, iagno,
ip               1585 fs/jfs/jfs_imap.c 	rc = diAllocAG(imap, agno, dir, ip);
ip               1595 fs/jfs/jfs_imap.c 	return (diAllocAny(imap, agno, dir, ip));
ip               1629 fs/jfs/jfs_imap.c diAllocAG(struct inomap * imap, int agno, bool dir, struct inode *ip)
ip               1640 fs/jfs/jfs_imap.c 		jfs_error(ip->i_sb, "numfree > numinos\n");
ip               1664 fs/jfs/jfs_imap.c 		if ((rc = diAllocExt(imap, agno, ip)) != -ENOSPC)
ip               1671 fs/jfs/jfs_imap.c 	return (diAllocIno(imap, agno, ip));
ip               1699 fs/jfs/jfs_imap.c diAllocAny(struct inomap * imap, int agno, bool dir, struct inode *ip)
ip               1711 fs/jfs/jfs_imap.c 		rc = diAllocAG(imap, ag, dir, ip);
ip               1724 fs/jfs/jfs_imap.c 		rc = diAllocAG(imap, ag, dir, ip);
ip               1763 fs/jfs/jfs_imap.c static int diAllocIno(struct inomap * imap, int agno, struct inode *ip)
ip               1791 fs/jfs/jfs_imap.c 		jfs_error(ip->i_sb, "nfreeinos = 0, but iag on freelist\n");
ip               1802 fs/jfs/jfs_imap.c 			jfs_error(ip->i_sb,
ip               1818 fs/jfs/jfs_imap.c 		jfs_error(ip->i_sb, "no free extent found\n");
ip               1829 fs/jfs/jfs_imap.c 		jfs_error(ip->i_sb, "free inode not found\n");
ip               1848 fs/jfs/jfs_imap.c 	diInitInode(ip, iagno, ino, extno, iagp);
ip               1887 fs/jfs/jfs_imap.c static int diAllocExt(struct inomap * imap, int agno, struct inode *ip)
ip               1915 fs/jfs/jfs_imap.c 			jfs_error(ip->i_sb, "error reading iag\n");
ip               1927 fs/jfs/jfs_imap.c 			jfs_error(ip->i_sb, "free ext summary map not found\n");
ip               1940 fs/jfs/jfs_imap.c 		jfs_error(ip->i_sb, "free extent not found\n");
ip               1966 fs/jfs/jfs_imap.c 	diInitInode(ip, iagno, extno << L2INOSPEREXT, extno, iagp);
ip               2979 fs/jfs/jfs_imap.c 	struct inode *ip;
ip               2985 fs/jfs/jfs_imap.c 	ip = diReadSpecial(sb, FILESYSTEM_I, 1);
ip               2986 fs/jfs/jfs_imap.c 	if (ip == NULL) {
ip               3002 fs/jfs/jfs_imap.c 	if (xtInsert(tid, ip, 0, blkno, xlen, xaddr, 0)) {
ip               3009 fs/jfs/jfs_imap.c 	ip->i_size += PSIZE;
ip               3010 fs/jfs/jfs_imap.c 	inode_add_bytes(ip, PSIZE);
ip               3011 fs/jfs/jfs_imap.c 	txCommit(tid, 1, &ip, COMMIT_FORCE);
ip               3014 fs/jfs/jfs_imap.c 	diFreeSpecial(ip);
ip               3026 fs/jfs/jfs_imap.c static int copy_from_dinode(struct dinode * dip, struct inode *ip)
ip               3028 fs/jfs/jfs_imap.c 	struct jfs_inode_info *jfs_ip = JFS_IP(ip);
ip               3029 fs/jfs/jfs_imap.c 	struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb);
ip               3033 fs/jfs/jfs_imap.c 	jfs_set_inode_flags(ip);
ip               3035 fs/jfs/jfs_imap.c 	ip->i_mode = le32_to_cpu(dip->di_mode) & 0xffff;
ip               3037 fs/jfs/jfs_imap.c 		ip->i_mode = (ip->i_mode & ~0777) | (0777 & ~sbi->umask);
ip               3039 fs/jfs/jfs_imap.c 		if (S_ISDIR(ip->i_mode)) {
ip               3040 fs/jfs/jfs_imap.c 			if (ip->i_mode & 0400)
ip               3041 fs/jfs/jfs_imap.c 				ip->i_mode |= 0100;
ip               3042 fs/jfs/jfs_imap.c 			if (ip->i_mode & 0040)
ip               3043 fs/jfs/jfs_imap.c 				ip->i_mode |= 0010;
ip               3044 fs/jfs/jfs_imap.c 			if (ip->i_mode & 0004)
ip               3045 fs/jfs/jfs_imap.c 				ip->i_mode |= 0001;
ip               3048 fs/jfs/jfs_imap.c 	set_nlink(ip, le32_to_cpu(dip->di_nlink));
ip               3052 fs/jfs/jfs_imap.c 		ip->i_uid = jfs_ip->saved_uid;
ip               3054 fs/jfs/jfs_imap.c 		ip->i_uid = sbi->uid;
ip               3059 fs/jfs/jfs_imap.c 		ip->i_gid = jfs_ip->saved_gid;
ip               3061 fs/jfs/jfs_imap.c 		ip->i_gid = sbi->gid;
ip               3064 fs/jfs/jfs_imap.c 	ip->i_size = le64_to_cpu(dip->di_size);
ip               3065 fs/jfs/jfs_imap.c 	ip->i_atime.tv_sec = le32_to_cpu(dip->di_atime.tv_sec);
ip               3066 fs/jfs/jfs_imap.c 	ip->i_atime.tv_nsec = le32_to_cpu(dip->di_atime.tv_nsec);
ip               3067 fs/jfs/jfs_imap.c 	ip->i_mtime.tv_sec = le32_to_cpu(dip->di_mtime.tv_sec);
ip               3068 fs/jfs/jfs_imap.c 	ip->i_mtime.tv_nsec = le32_to_cpu(dip->di_mtime.tv_nsec);
ip               3069 fs/jfs/jfs_imap.c 	ip->i_ctime.tv_sec = le32_to_cpu(dip->di_ctime.tv_sec);
ip               3070 fs/jfs/jfs_imap.c 	ip->i_ctime.tv_nsec = le32_to_cpu(dip->di_ctime.tv_nsec);
ip               3071 fs/jfs/jfs_imap.c 	ip->i_blocks = LBLK2PBLK(ip->i_sb, le64_to_cpu(dip->di_nblocks));
ip               3072 fs/jfs/jfs_imap.c 	ip->i_generation = le32_to_cpu(dip->di_gen);
ip               3081 fs/jfs/jfs_imap.c 	if (S_ISCHR(ip->i_mode) || S_ISBLK(ip->i_mode)) {
ip               3083 fs/jfs/jfs_imap.c 		ip->i_rdev = new_decode_dev(jfs_ip->dev);
ip               3086 fs/jfs/jfs_imap.c 	if (S_ISDIR(ip->i_mode)) {
ip               3088 fs/jfs/jfs_imap.c 	} else if (S_ISREG(ip->i_mode) || S_ISLNK(ip->i_mode)) {
ip               3110 fs/jfs/jfs_imap.c static void copy_to_dinode(struct dinode * dip, struct inode *ip)
ip               3112 fs/jfs/jfs_imap.c 	struct jfs_inode_info *jfs_ip = JFS_IP(ip);
ip               3113 fs/jfs/jfs_imap.c 	struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb);
ip               3117 fs/jfs/jfs_imap.c 	dip->di_number = cpu_to_le32(ip->i_ino);
ip               3118 fs/jfs/jfs_imap.c 	dip->di_gen = cpu_to_le32(ip->i_generation);
ip               3119 fs/jfs/jfs_imap.c 	dip->di_size = cpu_to_le64(ip->i_size);
ip               3120 fs/jfs/jfs_imap.c 	dip->di_nblocks = cpu_to_le64(PBLK2LBLK(ip->i_sb, ip->i_blocks));
ip               3121 fs/jfs/jfs_imap.c 	dip->di_nlink = cpu_to_le32(ip->i_nlink);
ip               3123 fs/jfs/jfs_imap.c 		dip->di_uid = cpu_to_le32(i_uid_read(ip));
ip               3128 fs/jfs/jfs_imap.c 		dip->di_gid = cpu_to_le32(i_gid_read(ip));
ip               3138 fs/jfs/jfs_imap.c 					   ip->i_mode);
ip               3142 fs/jfs/jfs_imap.c 	dip->di_atime.tv_sec = cpu_to_le32(ip->i_atime.tv_sec);
ip               3143 fs/jfs/jfs_imap.c 	dip->di_atime.tv_nsec = cpu_to_le32(ip->i_atime.tv_nsec);
ip               3144 fs/jfs/jfs_imap.c 	dip->di_ctime.tv_sec = cpu_to_le32(ip->i_ctime.tv_sec);
ip               3145 fs/jfs/jfs_imap.c 	dip->di_ctime.tv_nsec = cpu_to_le32(ip->i_ctime.tv_nsec);
ip               3146 fs/jfs/jfs_imap.c 	dip->di_mtime.tv_sec = cpu_to_le32(ip->i_mtime.tv_sec);
ip               3147 fs/jfs/jfs_imap.c 	dip->di_mtime.tv_nsec = cpu_to_le32(ip->i_mtime.tv_nsec);
ip               3155 fs/jfs/jfs_imap.c 	if (S_ISCHR(ip->i_mode) || S_ISBLK(ip->i_mode))
ip                100 fs/jfs/jfs_incore.h #define IREAD_LOCK(ip, subclass) \
ip                101 fs/jfs/jfs_incore.h 	down_read_nested(&JFS_IP(ip)->rdwrlock, subclass)
ip                102 fs/jfs/jfs_incore.h #define IREAD_UNLOCK(ip)	up_read(&JFS_IP(ip)->rdwrlock)
ip                103 fs/jfs/jfs_incore.h #define IWRITE_LOCK(ip, subclass) \
ip                104 fs/jfs/jfs_incore.h 	down_write_nested(&JFS_IP(ip)->rdwrlock, subclass)
ip                105 fs/jfs/jfs_incore.h #define IWRITE_UNLOCK(ip)	up_write(&JFS_IP(ip)->rdwrlock)
ip                143 fs/jfs/jfs_incore.h #define set_cflag(flag, ip)	set_bit(flag, &(JFS_IP(ip)->cflag))
ip                144 fs/jfs/jfs_incore.h #define clear_cflag(flag, ip)	clear_bit(flag, &(JFS_IP(ip)->cflag))
ip                145 fs/jfs/jfs_incore.h #define test_cflag(flag, ip)	test_bit(flag, &(JFS_IP(ip)->cflag))
ip                146 fs/jfs/jfs_incore.h #define test_and_clear_cflag(flag, ip) \
ip                147 fs/jfs/jfs_incore.h 	test_and_clear_bit(flag, &(JFS_IP(ip)->cflag))
ip                386 fs/jfs/jfs_logmgr.c 			p = (caddr_t) &JFS_IP(tlck->ip)->i_dtroot;
ip                388 fs/jfs/jfs_logmgr.c 			p = (caddr_t) &JFS_IP(tlck->ip)->i_xtroot;
ip                764 fs/jfs/jfs_metapage.c void __invalidate_metapages(struct inode *ip, s64 addr, int len)
ip                767 fs/jfs/jfs_metapage.c 	int l2BlocksPerPage = PAGE_SHIFT - ip->i_blkbits;
ip                771 fs/jfs/jfs_metapage.c 		JFS_SBI(ip->i_sb)->direct_inode->i_mapping;
ip                135 fs/jfs/jfs_metapage.h #define invalidate_pxd_metapages(ip, pxd) \
ip                136 fs/jfs/jfs_metapage.h 	__invalidate_metapages((ip), addressPXD(&(pxd)), lengthPXD(&(pxd)))
ip                137 fs/jfs/jfs_metapage.h #define invalidate_dxd_metapages(ip, dxd) \
ip                138 fs/jfs/jfs_metapage.h 	__invalidate_metapages((ip), addressDXD(&(dxd)), lengthDXD(&(dxd)))
ip                139 fs/jfs/jfs_metapage.h #define invalidate_xad_metapages(ip, xad) \
ip                140 fs/jfs/jfs_metapage.h 	__invalidate_metapages((ip), addressXAD(&(xad)), lengthXAD(&(xad)))
ip                159 fs/jfs/jfs_txnmgr.c static void txAllocPMap(struct inode *ip, struct maplock * maplock,
ip                577 fs/jfs/jfs_txnmgr.c struct tlock *txLock(tid_t tid, struct inode *ip, struct metapage * mp,
ip                580 fs/jfs/jfs_txnmgr.c 	struct jfs_inode_info *jfs_ip = JFS_IP(ip);
ip                592 fs/jfs/jfs_txnmgr.c 	if (S_ISDIR(ip->i_mode) && (type & tlckXTREE) &&
ip                607 fs/jfs/jfs_txnmgr.c 	jfs_info("txLock: tid:%d ip:0x%p mp:0x%p lid:%d", tid, ip, mp, lid);
ip                708 fs/jfs/jfs_txnmgr.c 			set_cflag(COMMIT_Synclist, ip);
ip                714 fs/jfs/jfs_txnmgr.c 	if (S_ISDIR(ip->i_mode))
ip                720 fs/jfs/jfs_txnmgr.c 	tlck->ip = ip;
ip                821 fs/jfs/jfs_txnmgr.c 			       ip, sizeof(*ip), 0);
ip                982 fs/jfs/jfs_txnmgr.c struct tlock *txMaplock(tid_t tid, struct inode *ip, int type)
ip                984 fs/jfs/jfs_txnmgr.c 	struct jfs_inode_info *jfs_ip = JFS_IP(ip);
ip               1005 fs/jfs/jfs_txnmgr.c 	if (S_ISDIR(ip->i_mode))
ip               1007 fs/jfs/jfs_txnmgr.c 	tlck->ip = ip;
ip               1132 fs/jfs/jfs_txnmgr.c 	struct inode *ip;
ip               1193 fs/jfs/jfs_txnmgr.c 			ip = cd.iplist[n];
ip               1194 fs/jfs/jfs_txnmgr.c 			if (ip->i_ino > top) {
ip               1195 fs/jfs/jfs_txnmgr.c 				top = ip->i_ino;
ip               1197 fs/jfs/jfs_txnmgr.c 				cd.iplist[k] = ip;
ip               1201 fs/jfs/jfs_txnmgr.c 		ip = cd.iplist[k];
ip               1202 fs/jfs/jfs_txnmgr.c 		jfs_ip = JFS_IP(ip);
ip               1232 fs/jfs/jfs_txnmgr.c 		clear_cflag(COMMIT_Dirty, ip);
ip               1250 fs/jfs/jfs_txnmgr.c 		if (((rc = diWrite(tid, ip))))
ip               1267 fs/jfs/jfs_txnmgr.c 		ihold(tblk->u.ip);
ip               1285 fs/jfs/jfs_txnmgr.c 		if (tblk->u.ip->i_state & I_SYNC)
ip               1290 fs/jfs/jfs_txnmgr.c 	       ((tblk->u.ip->i_nlink == 0) &&
ip               1291 fs/jfs/jfs_txnmgr.c 		!test_cflag(COMMIT_Nolink, tblk->u.ip)));
ip               1338 fs/jfs/jfs_txnmgr.c 		ip = cd.iplist[k];
ip               1339 fs/jfs/jfs_txnmgr.c 		jfs_ip = JFS_IP(ip);
ip               1371 fs/jfs/jfs_txnmgr.c 	struct inode *ip;
ip               1385 fs/jfs/jfs_txnmgr.c 		ip = tlck->ip;
ip               1386 fs/jfs/jfs_txnmgr.c 		lrd->aggregate = cpu_to_le32(JFS_SBI(ip->i_sb)->aggregate);
ip               1387 fs/jfs/jfs_txnmgr.c 		lrd->log.redopage.fileset = cpu_to_le32(JFS_IP(ip)->fileset);
ip               1388 fs/jfs/jfs_txnmgr.c 		lrd->log.redopage.inode = cpu_to_le32(ip->i_ino);
ip               1555 fs/jfs/jfs_txnmgr.c 	if (jfs_dirtable_inline(tlck->ip)) {
ip               1690 fs/jfs/jfs_txnmgr.c 	struct inode *ip;
ip               1700 fs/jfs/jfs_txnmgr.c 	ip = tlck->ip;
ip               1711 fs/jfs/jfs_txnmgr.c 		p = &JFS_IP(ip)->i_xtroot;
ip               1712 fs/jfs/jfs_txnmgr.c 		if (S_ISDIR(ip->i_mode))
ip               1789 fs/jfs/jfs_txnmgr.c 			 tlck->ip, mp, tlck, lwm, xadlock->count);
ip               1892 fs/jfs/jfs_txnmgr.c 			 tlck->ip, mp, xadlock->count);
ip               1897 fs/jfs/jfs_txnmgr.c 		if (((tblk->xflag & COMMIT_PWMAP) || S_ISDIR(ip->i_mode))
ip               2015 fs/jfs/jfs_txnmgr.c 				 tlck->ip, mp, xadlock->count, lwm, next);
ip               2036 fs/jfs/jfs_txnmgr.c 				 ip, mp, pxdlock->count, hwm);
ip               2055 fs/jfs/jfs_txnmgr.c 				 tlck->ip, mp, xadlock->count, next, hwm);
ip               2157 fs/jfs/jfs_txnmgr.c void txEA(tid_t tid, struct inode *ip, dxd_t * oldea, dxd_t * newea)
ip               2171 fs/jfs/jfs_txnmgr.c 			tlck = txMaplock(tid, ip, tlckMAP);
ip               2182 fs/jfs/jfs_txnmgr.c 			set_cflag(COMMIT_Inlineea, ip);
ip               2189 fs/jfs/jfs_txnmgr.c 	if (!test_cflag(COMMIT_Nolink, ip) && oldea->flag & DXD_EXTENT) {
ip               2191 fs/jfs/jfs_txnmgr.c 			tlck = txMaplock(tid, ip, tlckMAP);
ip               2279 fs/jfs/jfs_txnmgr.c 	struct inode *ip;
ip               2397 fs/jfs/jfs_txnmgr.c 		ip = tblk->u.ip;
ip               2398 fs/jfs/jfs_txnmgr.c 		diUpdatePMap(ipimap, ip->i_ino, true, tblk);
ip               2399 fs/jfs/jfs_txnmgr.c 		iput(ip);
ip               2423 fs/jfs/jfs_txnmgr.c static void txAllocPMap(struct inode *ip, struct maplock * maplock,
ip               2426 fs/jfs/jfs_txnmgr.c 	struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap;
ip               2481 fs/jfs/jfs_txnmgr.c void txFreeMap(struct inode *ip,
ip               2484 fs/jfs/jfs_txnmgr.c 	struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap;
ip               2547 fs/jfs/jfs_txnmgr.c 				dbFree(ip, xaddr, (s64) xlen);
ip               2556 fs/jfs/jfs_txnmgr.c 			dbFree(ip, xaddr, (s64) xlen);
ip               2566 fs/jfs/jfs_txnmgr.c 				dbFree(ip, xaddr, (s64) xlen);
ip               2579 fs/jfs/jfs_txnmgr.c void txFreelock(struct inode *ip)
ip               2581 fs/jfs/jfs_txnmgr.c 	struct jfs_inode_info *jfs_ip = JFS_IP(ip);
ip               2639 fs/jfs/jfs_txnmgr.c 		JFS_IP(tlck->ip)->xtlid = 0;
ip               2844 fs/jfs/jfs_txnmgr.c 	struct inode *ip;
ip               2857 fs/jfs/jfs_txnmgr.c 		ip = &jfs_ip->vfs_inode;
ip               2864 fs/jfs/jfs_txnmgr.c 		tid = txBegin(ip->i_sb, COMMIT_INODE | COMMIT_FORCE);
ip               2866 fs/jfs/jfs_txnmgr.c 		txCommit(tid, 1, &ip, 0);
ip               2915 fs/jfs/jfs_txnmgr.c 	struct inode *ip;
ip               2928 fs/jfs/jfs_txnmgr.c 			ip = &jfs_ip->vfs_inode;
ip               2930 fs/jfs/jfs_txnmgr.c 			if (! igrab(ip)) {
ip               2941 fs/jfs/jfs_txnmgr.c 				tid = txBegin(ip->i_sb, COMMIT_INODE);
ip               2942 fs/jfs/jfs_txnmgr.c 				txCommit(tid, 1, &ip, 0);
ip               2946 fs/jfs/jfs_txnmgr.c 				iput(ip);
ip               2965 fs/jfs/jfs_txnmgr.c 				iput(ip);
ip                 53 fs/jfs/jfs_txnmgr.h 		struct inode *ip; /* inode being deleted */
ip                 92 fs/jfs/jfs_txnmgr.h 	struct inode *ip;	/* 4/8: object */
ip                104 fs/jfs/jfs_xtree.c static int xtSearch(struct inode *ip, s64 xoff, s64 *next, int *cmpp,
ip                108 fs/jfs/jfs_xtree.c 		     struct inode *ip,
ip                111 fs/jfs/jfs_xtree.c static int xtSplitPage(tid_t tid, struct inode *ip, struct xtsplit * split,
ip                114 fs/jfs/jfs_xtree.c static int xtSplitRoot(tid_t tid, struct inode *ip,
ip                118 fs/jfs/jfs_xtree.c static int xtDeleteUp(tid_t tid, struct inode *ip, struct metapage * fmp,
ip                121 fs/jfs/jfs_xtree.c static int xtSearchNode(struct inode *ip,
ip                125 fs/jfs/jfs_xtree.c static int xtRelink(tid_t tid, struct inode *ip, xtpage_t * fp);
ip                133 fs/jfs/jfs_xtree.c int xtLookup(struct inode *ip, s64 lstart,
ip                153 fs/jfs/jfs_xtree.c 		size = ((u64) ip->i_size + (JFS_SBI(ip->i_sb)->bsize - 1)) >>
ip                154 fs/jfs/jfs_xtree.c 		    JFS_SBI(ip->i_sb)->l2bsize;
ip                163 fs/jfs/jfs_xtree.c 	if ((rc = xtSearch(ip, lstart, &next, &cmp, &btstack, 0))) {
ip                175 fs/jfs/jfs_xtree.c 	XT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
ip                226 fs/jfs/jfs_xtree.c static int xtSearch(struct inode *ip, s64 xoff,	s64 *nextp,
ip                229 fs/jfs/jfs_xtree.c 	struct jfs_inode_info *jfs_ip = JFS_IP(ip);
ip                266 fs/jfs/jfs_xtree.c 		XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip                490 fs/jfs/jfs_xtree.c 			jfs_error(ip->i_sb, "stack overrun!\n");
ip                525 fs/jfs/jfs_xtree.c 	     struct inode *ip, int xflag, s64 xoff, s32 xlen, s64 * xaddrp,
ip                552 fs/jfs/jfs_xtree.c 	if ((rc = xtSearch(ip, xoff, &next, &cmp, &btstack, XT_INSERT)))
ip                556 fs/jfs/jfs_xtree.c 	XT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
ip                576 fs/jfs/jfs_xtree.c 		if ((rc = dquot_alloc_block(ip, xlen)))
ip                578 fs/jfs/jfs_xtree.c 		if ((rc = dbAlloc(ip, hint, (s64) xlen, &xaddr))) {
ip                579 fs/jfs/jfs_xtree.c 			dquot_free_block(ip, xlen);
ip                604 fs/jfs/jfs_xtree.c 		if ((rc = xtSplitUp(tid, ip, &split, &btstack))) {
ip                607 fs/jfs/jfs_xtree.c 				dbFree(ip, xaddr, (s64) xlen);
ip                608 fs/jfs/jfs_xtree.c 				dquot_free_block(ip, xlen);
ip                625 fs/jfs/jfs_xtree.c 	BT_MARK_DIRTY(mp, ip);
ip                640 fs/jfs/jfs_xtree.c 	if (!test_cflag(COMMIT_Nolink, ip)) {
ip                641 fs/jfs/jfs_xtree.c 		tlck = txLock(tid, ip, mp, tlckXTREE | tlckGROW);
ip                676 fs/jfs/jfs_xtree.c 	  struct inode *ip, struct xtsplit * split, struct btstack * btstack)
ip                699 fs/jfs/jfs_xtree.c 	sp = XT_PAGE(ip, smp);
ip                702 fs/jfs/jfs_xtree.c 	if ((sp->header.flag & BT_ROOT) && (!S_ISDIR(ip->i_mode)) &&
ip                704 fs/jfs/jfs_xtree.c 	    (JFS_IP(ip)->mode2 & INLINEEA)) {
ip                706 fs/jfs/jfs_xtree.c 		JFS_IP(ip)->mode2 &= ~INLINEEA;
ip                708 fs/jfs/jfs_xtree.c 		BT_MARK_DIRTY(smp, ip);
ip                731 fs/jfs/jfs_xtree.c 		if (!test_cflag(COMMIT_Nolink, ip)) {
ip                732 fs/jfs/jfs_xtree.c 			tlck = txLock(tid, ip, smp, tlckXTREE | tlckGROW);
ip                754 fs/jfs/jfs_xtree.c 		xlen = JFS_SBI(ip->i_sb)->nbperpage;
ip                756 fs/jfs/jfs_xtree.c 			if ((rc = dbAlloc(ip, (s64) 0, (s64) xlen, &xaddr))
ip                781 fs/jfs/jfs_xtree.c 	    xtSplitRoot(tid, ip, split, &rmp) :
ip                782 fs/jfs/jfs_xtree.c 	    xtSplitPage(tid, ip, split, &rmp, &rbn);
ip                815 fs/jfs/jfs_xtree.c 		rcp = XT_PAGE(ip, rcmp);
ip                821 fs/jfs/jfs_xtree.c 		XT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc);
ip                846 fs/jfs/jfs_xtree.c 			split->len = JFS_SBI(ip->i_sb)->nbperpage;
ip                857 fs/jfs/jfs_xtree.c 			    xtSplitRoot(tid, ip, split, &rmp) :
ip                858 fs/jfs/jfs_xtree.c 			    xtSplitPage(tid, ip, split, &rmp, &rbn);
ip                880 fs/jfs/jfs_xtree.c 			BT_MARK_DIRTY(smp, ip);
ip                894 fs/jfs/jfs_xtree.c 				    JFS_SBI(ip->i_sb)->nbperpage, rcbn);
ip                900 fs/jfs/jfs_xtree.c 			if (!test_cflag(COMMIT_Nolink, ip)) {
ip                901 fs/jfs/jfs_xtree.c 				tlck = txLock(tid, ip, smp,
ip                945 fs/jfs/jfs_xtree.c xtSplitPage(tid_t tid, struct inode *ip,
ip                966 fs/jfs/jfs_xtree.c 	sp = XT_PAGE(ip, smp);
ip                976 fs/jfs/jfs_xtree.c 	rc = dquot_alloc_block(ip, lengthPXD(pxd));
ip                985 fs/jfs/jfs_xtree.c 	rmp = get_metapage(ip, rbn, PSIZE, 1);
ip                991 fs/jfs/jfs_xtree.c 	jfs_info("xtSplitPage: ip:0x%p smp:0x%p rmp:0x%p", ip, smp, rmp);
ip                993 fs/jfs/jfs_xtree.c 	BT_MARK_DIRTY(rmp, ip);
ip               1004 fs/jfs/jfs_xtree.c 	BT_MARK_DIRTY(smp, ip);
ip               1006 fs/jfs/jfs_xtree.c 	if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1010 fs/jfs/jfs_xtree.c 		tlck = txLock(tid, ip, rmp, tlckXTREE | tlckNEW);
ip               1016 fs/jfs/jfs_xtree.c 		tlck = txLock(tid, ip, smp, tlckXTREE | tlckGROW);
ip               1056 fs/jfs/jfs_xtree.c 		if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1076 fs/jfs/jfs_xtree.c 		XT_GETPAGE(ip, nextbn, mp, PSIZE, p, rc);
ip               1082 fs/jfs/jfs_xtree.c 		BT_MARK_DIRTY(mp, ip);
ip               1088 fs/jfs/jfs_xtree.c 		if (!test_cflag(COMMIT_Nolink, ip))
ip               1089 fs/jfs/jfs_xtree.c 			tlck = txLock(tid, ip, mp, tlckXTREE | tlckRELINK);
ip               1127 fs/jfs/jfs_xtree.c 		if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1157 fs/jfs/jfs_xtree.c 		if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1166 fs/jfs/jfs_xtree.c 	if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1185 fs/jfs/jfs_xtree.c 		dquot_free_block(ip, quota_allocation);
ip               1213 fs/jfs/jfs_xtree.c 	    struct inode *ip, struct xtsplit * split, struct metapage ** rmpp)
ip               1227 fs/jfs/jfs_xtree.c 	sp = &JFS_IP(ip)->i_xtroot;
ip               1238 fs/jfs/jfs_xtree.c 	rmp = get_metapage(ip, rbn, PSIZE, 1);
ip               1243 fs/jfs/jfs_xtree.c 	rc = dquot_alloc_block(ip, lengthPXD(pxd));
ip               1249 fs/jfs/jfs_xtree.c 	jfs_info("xtSplitRoot: ip:0x%p rmp:0x%p", ip, rmp);
ip               1256 fs/jfs/jfs_xtree.c 	BT_MARK_DIRTY(rmp, ip);
ip               1292 fs/jfs/jfs_xtree.c 	if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1293 fs/jfs/jfs_xtree.c 		tlck = txLock(tid, ip, rmp, tlckXTREE | tlckNEW);
ip               1312 fs/jfs/jfs_xtree.c 	BT_MARK_DIRTY(split->mp, ip);
ip               1315 fs/jfs/jfs_xtree.c 	XT_PUTENTRY(xad, XAD_NEW, 0, JFS_SBI(ip->i_sb)->nbperpage, rbn);
ip               1323 fs/jfs/jfs_xtree.c 	if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1324 fs/jfs/jfs_xtree.c 		tlck = txLock(tid, ip, split->mp, tlckXTREE | tlckGROW);
ip               1348 fs/jfs/jfs_xtree.c 	     struct inode *ip, s64 xoff,	/* delta extent offset */
ip               1368 fs/jfs/jfs_xtree.c 	if ((rc = xtSearch(ip, xoff - 1, NULL, &cmp, &btstack, XT_INSERT)))
ip               1372 fs/jfs/jfs_xtree.c 	XT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
ip               1376 fs/jfs/jfs_xtree.c 		jfs_error(ip->i_sb, "xtSearch did not find extent\n");
ip               1384 fs/jfs/jfs_xtree.c 		jfs_error(ip->i_sb, "extension is not contiguous\n");
ip               1393 fs/jfs/jfs_xtree.c 	BT_MARK_DIRTY(mp, ip);
ip               1394 fs/jfs/jfs_xtree.c 	if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1395 fs/jfs/jfs_xtree.c 		tlck = txLock(tid, ip, mp, tlckXTREE | tlckGROW);
ip               1427 fs/jfs/jfs_xtree.c 		if ((rc = xtSplitUp(tid, ip, &split, &btstack)))
ip               1431 fs/jfs/jfs_xtree.c 		XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               1447 fs/jfs/jfs_xtree.c 			XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               1451 fs/jfs/jfs_xtree.c 			BT_MARK_DIRTY(mp, ip);
ip               1452 fs/jfs/jfs_xtree.c 			if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1453 fs/jfs/jfs_xtree.c 				tlck = txLock(tid, ip, mp, tlckXTREE|tlckGROW);
ip               1482 fs/jfs/jfs_xtree.c 	if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1510 fs/jfs/jfs_xtree.c 	       struct inode *ip, s64 xoff,	/* split/new extent offset */
ip               1535 fs/jfs/jfs_xtree.c 	if ((rc = xtSearch(ip, xoff, NULL, &cmp, &btstack, XT_INSERT)))
ip               1539 fs/jfs/jfs_xtree.c 	XT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
ip               1543 fs/jfs/jfs_xtree.c 		jfs_error(ip->i_sb, "couldn't find extent\n");
ip               1551 fs/jfs/jfs_xtree.c 		jfs_error(ip->i_sb, "the entry found is not the last entry\n");
ip               1555 fs/jfs/jfs_xtree.c 	BT_MARK_DIRTY(mp, ip);
ip               1559 fs/jfs/jfs_xtree.c 	if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1560 fs/jfs/jfs_xtree.c 		tlck = txLock(tid, ip, mp, tlckXTREE | tlckGROW);
ip               1592 fs/jfs/jfs_xtree.c 		if ((rc = xtSplitUp(tid, ip, &split, &btstack)))
ip               1596 fs/jfs/jfs_xtree.c 		XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               1612 fs/jfs/jfs_xtree.c 			XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               1616 fs/jfs/jfs_xtree.c 			BT_MARK_DIRTY(mp, ip);
ip               1617 fs/jfs/jfs_xtree.c 			if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1618 fs/jfs/jfs_xtree.c 				tlck = txLock(tid, ip, mp, tlckXTREE|tlckGROW);
ip               1646 fs/jfs/jfs_xtree.c 		if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1647 fs/jfs/jfs_xtree.c 			mtlck = txMaplock(tid, ip, tlckMAP);
ip               1656 fs/jfs/jfs_xtree.c 		dbFree(ip, addressXAD(xad) + llen, (s64) rlen);
ip               1665 fs/jfs/jfs_xtree.c 	if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1692 fs/jfs/jfs_xtree.c int xtUpdate(tid_t tid, struct inode *ip, xad_t * nxad)
ip               1716 fs/jfs/jfs_xtree.c 	if ((rc = xtSearch(ip, nxoff, NULL, &cmp, &btstack, XT_INSERT)))
ip               1720 fs/jfs/jfs_xtree.c 	XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0);
ip               1724 fs/jfs/jfs_xtree.c 		jfs_error(ip->i_sb, "Could not find extent\n");
ip               1728 fs/jfs/jfs_xtree.c 	BT_MARK_DIRTY(mp, ip);
ip               1732 fs/jfs/jfs_xtree.c 	if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1733 fs/jfs/jfs_xtree.c 		tlck = txLock(tid, ip, mp, tlckXTREE | tlckGROW);
ip               1747 fs/jfs/jfs_xtree.c 		jfs_error(ip->i_sb,
ip               1897 fs/jfs/jfs_xtree.c 		jfs_error(ip->i_sb, "xoff >= nxoff\n");
ip               1925 fs/jfs/jfs_xtree.c 		if ((rc = xtSplitUp(tid, ip, &split, &btstack)))
ip               1929 fs/jfs/jfs_xtree.c 		XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               1945 fs/jfs/jfs_xtree.c 			XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               1949 fs/jfs/jfs_xtree.c 			BT_MARK_DIRTY(mp, ip);
ip               1950 fs/jfs/jfs_xtree.c 			if (!test_cflag(COMMIT_Nolink, ip)) {
ip               1951 fs/jfs/jfs_xtree.c 				tlck = txLock(tid, ip, mp, tlckXTREE|tlckGROW);
ip               1994 fs/jfs/jfs_xtree.c 		if (!test_cflag(COMMIT_Nolink, ip)) {
ip               2006 fs/jfs/jfs_xtree.c 		XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               2010 fs/jfs/jfs_xtree.c 		BT_MARK_DIRTY(mp, ip);
ip               2011 fs/jfs/jfs_xtree.c 		if (!test_cflag(COMMIT_Nolink, ip)) {
ip               2012 fs/jfs/jfs_xtree.c 			tlck = txLock(tid, ip, mp, tlckXTREE | tlckGROW);
ip               2030 fs/jfs/jfs_xtree.c 		if ((rc = xtSearch(ip, nxoff, NULL, &cmp, &btstack, XT_INSERT)))
ip               2034 fs/jfs/jfs_xtree.c 		XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0);
ip               2038 fs/jfs/jfs_xtree.c 			jfs_error(ip->i_sb, "xtSearch failed\n");
ip               2044 fs/jfs/jfs_xtree.c 			jfs_error(ip->i_sb, "unexpected value of index\n");
ip               2078 fs/jfs/jfs_xtree.c 		if ((rc = xtSplitUp(tid, ip, &split, &btstack)))
ip               2082 fs/jfs/jfs_xtree.c 		XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               2099 fs/jfs/jfs_xtree.c 			XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               2103 fs/jfs/jfs_xtree.c 			BT_MARK_DIRTY(mp, ip);
ip               2104 fs/jfs/jfs_xtree.c 			if (!test_cflag(COMMIT_Nolink, ip)) {
ip               2105 fs/jfs/jfs_xtree.c 				tlck = txLock(tid, ip, mp, tlckXTREE|tlckGROW);
ip               2125 fs/jfs/jfs_xtree.c 	if (!test_cflag(COMMIT_Nolink, ip)) {
ip               2157 fs/jfs/jfs_xtree.c 	     struct inode *ip, int xflag, s64 xoff, s32 maxblocks,
ip               2191 fs/jfs/jfs_xtree.c 	if ((rc = xtSearch(ip, xoff, &next, &cmp, &btstack, XT_INSERT)))
ip               2195 fs/jfs/jfs_xtree.c 	XT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
ip               2227 fs/jfs/jfs_xtree.c 	nblocks = JFS_SBI(ip->i_sb)->nbperpage;
ip               2229 fs/jfs/jfs_xtree.c 		if ((rc = dbAllocBottomUp(ip, xaddr, (s64) nblocks)) == 0) {
ip               2248 fs/jfs/jfs_xtree.c 	if ((rc = dbAllocBottomUp(ip, xaddr, (s64) xlen)))
ip               2257 fs/jfs/jfs_xtree.c 	if ((rc = xtSplitUp(tid, ip, &split, &btstack))) {
ip               2259 fs/jfs/jfs_xtree.c 		dbFree(ip, *xaddrp, (s64) * xlenp);
ip               2275 fs/jfs/jfs_xtree.c 	if ((rc = dbAllocBottomUp(ip, xaddr, (s64) xlen)))
ip               2278 fs/jfs/jfs_xtree.c 	BT_MARK_DIRTY(mp, ip);
ip               2284 fs/jfs/jfs_xtree.c 	tlck = txLock(tid, ip, mp, tlckXTREE | tlckGROW);
ip               2326 fs/jfs/jfs_xtree.c int xtDelete(tid_t tid, struct inode *ip, s64 xoff, s32 xlen, int flag)
ip               2341 fs/jfs/jfs_xtree.c 	if ((rc = xtSearch(ip, xoff, NULL, &cmp, &btstack, 0)))
ip               2344 fs/jfs/jfs_xtree.c 	XT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
ip               2361 fs/jfs/jfs_xtree.c 		return (xtDeleteUp(tid, ip, mp, p, &btstack));
ip               2363 fs/jfs/jfs_xtree.c 	BT_MARK_DIRTY(mp, ip);
ip               2369 fs/jfs/jfs_xtree.c 	tlck = txLock(tid, ip, mp, tlckXTREE);
ip               2397 fs/jfs/jfs_xtree.c xtDeleteUp(tid_t tid, struct inode *ip,
ip               2427 fs/jfs/jfs_xtree.c 	if ((rc = xtRelink(tid, ip, fp))) {
ip               2435 fs/jfs/jfs_xtree.c 	dbFree(ip, xaddr, (s64) xlen);
ip               2450 fs/jfs/jfs_xtree.c 		XT_GETPAGE(ip, parent->bn, mp, PSIZE, p, rc);
ip               2477 fs/jfs/jfs_xtree.c 				if ((rc = xtRelink(tid, ip, p)))
ip               2482 fs/jfs/jfs_xtree.c 				dbFree(ip, xaddr,
ip               2483 fs/jfs/jfs_xtree.c 				       (s64) JFS_SBI(ip->i_sb)->nbperpage);
ip               2497 fs/jfs/jfs_xtree.c 			BT_MARK_DIRTY(mp, ip);
ip               2503 fs/jfs/jfs_xtree.c 			tlck = txLock(tid, ip, mp, tlckXTREE);
ip               2546 fs/jfs/jfs_xtree.c xtRelocate(tid_t tid, struct inode * ip, xad_t * oxad,	/* old XAD */
ip               2577 fs/jfs/jfs_xtree.c 	offset = xoff << JFS_SBI(ip->i_sb)->l2bsize;
ip               2578 fs/jfs/jfs_xtree.c 	if (offset >= ip->i_size)
ip               2590 fs/jfs/jfs_xtree.c 		rc = xtSearch(ip, xoff, NULL, &cmp, &btstack, 0);
ip               2595 fs/jfs/jfs_xtree.c 		XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index);
ip               2611 fs/jfs/jfs_xtree.c 		rc = xtSearchNode(ip, oxad, &cmp, &btstack, 0);
ip               2616 fs/jfs/jfs_xtree.c 		XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index);
ip               2659 fs/jfs/jfs_xtree.c 		offset = xoff << JFS_SBI(ip->i_sb)->l2bsize;
ip               2661 fs/jfs/jfs_xtree.c 		nbytes = xlen << JFS_SBI(ip->i_sb)->l2bsize;
ip               2678 fs/jfs/jfs_xtree.c 			if (rc = cmRead(ip, offset, npages, &cp))
ip               2685 fs/jfs/jfs_xtree.c 			nblks = nb >> JFS_IP(ip->i_sb)->l2bsize;
ip               2686 fs/jfs/jfs_xtree.c 			cmSetXD(ip, cp, pno, dxaddr, nblks);
ip               2696 fs/jfs/jfs_xtree.c 		if ((rc = xtSearch(ip, xoff, NULL, &cmp, &btstack, 0)))
ip               2699 fs/jfs/jfs_xtree.c 		XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index);
ip               2706 fs/jfs/jfs_xtree.c 		XT_GETPAGE(ip, oxaddr, mp, PSIZE, p, rc);
ip               2718 fs/jfs/jfs_xtree.c 			XT_GETPAGE(ip, nextbn, rmp, PSIZE, rp, rc);
ip               2729 fs/jfs/jfs_xtree.c 			XT_GETPAGE(ip, prevbn, lmp, PSIZE, lp, rc);
ip               2745 fs/jfs/jfs_xtree.c 			BT_MARK_DIRTY(lmp, ip);
ip               2746 fs/jfs/jfs_xtree.c 			tlck = txLock(tid, ip, lmp, tlckXTREE | tlckRELINK);
ip               2752 fs/jfs/jfs_xtree.c 			BT_MARK_DIRTY(rmp, ip);
ip               2753 fs/jfs/jfs_xtree.c 			tlck = txLock(tid, ip, rmp, tlckXTREE | tlckRELINK);
ip               2779 fs/jfs/jfs_xtree.c 		BT_MARK_DIRTY(mp, ip);
ip               2781 fs/jfs/jfs_xtree.c 		tlck = txLock(tid, ip, mp, tlckXTREE | tlckNEW);
ip               2793 fs/jfs/jfs_xtree.c 		xsize = xlen << JFS_SBI(ip->i_sb)->l2bsize;
ip               2814 fs/jfs/jfs_xtree.c 		tlck = txMaplock(tid, ip, tlckMAP);
ip               2824 fs/jfs/jfs_xtree.c 		tlck = txMaplock(tid, ip, tlckMAP | tlckRELOCATE);
ip               2840 fs/jfs/jfs_xtree.c 	BT_MARK_DIRTY(pmp, ip);
ip               2841 fs/jfs/jfs_xtree.c 	tlck = txLock(tid, ip, pmp, tlckXTREE | tlckGROW);
ip               2878 fs/jfs/jfs_xtree.c static int xtSearchNode(struct inode *ip, xad_t * xad,	/* required XAD entry */
ip               2916 fs/jfs/jfs_xtree.c 		XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               2998 fs/jfs/jfs_xtree.c static int xtRelink(tid_t tid, struct inode *ip, xtpage_t * p)
ip               3010 fs/jfs/jfs_xtree.c 		XT_GETPAGE(ip, nextbn, mp, PSIZE, p, rc);
ip               3019 fs/jfs/jfs_xtree.c 		BT_MARK_DIRTY(mp, ip);
ip               3020 fs/jfs/jfs_xtree.c 		tlck = txLock(tid, ip, mp, tlckXTREE | tlckRELINK);
ip               3031 fs/jfs/jfs_xtree.c 		XT_GETPAGE(ip, prevbn, mp, PSIZE, p, rc);
ip               3040 fs/jfs/jfs_xtree.c 		BT_MARK_DIRTY(mp, ip);
ip               3041 fs/jfs/jfs_xtree.c 		tlck = txLock(tid, ip, mp, tlckXTREE | tlckRELINK);
ip               3060 fs/jfs/jfs_xtree.c void xtInitRoot(tid_t tid, struct inode *ip)
ip               3069 fs/jfs/jfs_xtree.c 	txLock(tid, ip, (struct metapage *) &JFS_IP(ip)->bxflag,
ip               3071 fs/jfs/jfs_xtree.c 	p = &JFS_IP(ip)->i_xtroot;
ip               3076 fs/jfs/jfs_xtree.c 	if (S_ISDIR(ip->i_mode))
ip               3080 fs/jfs/jfs_xtree.c 		ip->i_size = 0;
ip               3149 fs/jfs/jfs_xtree.c s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int flag)
ip               3215 fs/jfs/jfs_xtree.c 	teof = (newsize + (JFS_SBI(ip->i_sb)->bsize - 1)) >>
ip               3216 fs/jfs/jfs_xtree.c 	    JFS_SBI(ip->i_sb)->l2bsize;
ip               3232 fs/jfs/jfs_xtree.c 	XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               3251 fs/jfs/jfs_xtree.c 			tlck = txLock(tid, ip, mp, tlckXTREE|tlckGROW);
ip               3252 fs/jfs/jfs_xtree.c 		BT_MARK_DIRTY(mp, ip);
ip               3281 fs/jfs/jfs_xtree.c 			newsize = (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize;
ip               3284 fs/jfs/jfs_xtree.c 		tlck = txLock(tid, ip, mp, tlckXTREE);
ip               3289 fs/jfs/jfs_xtree.c 	BT_MARK_DIRTY(mp, ip);
ip               3305 fs/jfs/jfs_xtree.c 		if (S_ISDIR(ip->i_mode) && (teof == 0))
ip               3306 fs/jfs/jfs_xtree.c 			invalidate_xad_metapages(ip, *xad);
ip               3370 fs/jfs/jfs_xtree.c 				txFreeMap(ip, pxdlock, NULL, COMMIT_WMAP);
ip               3398 fs/jfs/jfs_xtree.c 				txFreeMap(ip, (struct maplock *) & xadlock,
ip               3428 fs/jfs/jfs_xtree.c 		txFreeMap(ip, (struct maplock *) & xadlock, NULL, COMMIT_WMAP);
ip               3470 fs/jfs/jfs_xtree.c 	XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               3487 fs/jfs/jfs_xtree.c 				tlck = txLock(tid, ip, mp, tlckXTREE);
ip               3503 fs/jfs/jfs_xtree.c 				txFreeMap(ip, (struct maplock *) & xadlock,
ip               3506 fs/jfs/jfs_xtree.c 			BT_MARK_DIRTY(mp, ip);
ip               3563 fs/jfs/jfs_xtree.c 			tlck = txLock(tid, ip, mp, tlckXTREE);
ip               3575 fs/jfs/jfs_xtree.c 			txFreeMap(ip, (struct maplock *) & xadlock, NULL,
ip               3578 fs/jfs/jfs_xtree.c 		BT_MARK_DIRTY(mp, ip);
ip               3591 fs/jfs/jfs_xtree.c 				JFS_IP(ip)->mode2 |= INLINEEA;
ip               3639 fs/jfs/jfs_xtree.c 		jfs_error(ip->i_sb, "stack overrun!\n");
ip               3664 fs/jfs/jfs_xtree.c 	if (S_ISDIR(ip->i_mode) && !newsize)
ip               3665 fs/jfs/jfs_xtree.c 		ip->i_size = 1;	/* fsck hates zero-length directories */
ip               3667 fs/jfs/jfs_xtree.c 		ip->i_size = newsize;
ip               3670 fs/jfs/jfs_xtree.c 	dquot_free_block(ip, nfreed);
ip               3676 fs/jfs/jfs_xtree.c 		txFreelock(ip);
ip               3705 fs/jfs/jfs_xtree.c s64 xtTruncate_pmap(tid_t tid, struct inode *ip, s64 committed_size)
ip               3731 fs/jfs/jfs_xtree.c 		xoff = (committed_size >> JFS_SBI(ip->i_sb)->l2bsize) - 1;
ip               3732 fs/jfs/jfs_xtree.c 		rc = xtSearch(ip, xoff, NULL, &cmp, &btstack, 0);
ip               3736 fs/jfs/jfs_xtree.c 		XT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
ip               3740 fs/jfs/jfs_xtree.c 			jfs_error(ip->i_sb, "did not find extent\n");
ip               3755 fs/jfs/jfs_xtree.c 		XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               3779 fs/jfs/jfs_xtree.c 		return (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize;
ip               3781 fs/jfs/jfs_xtree.c 	tlck = txLock(tid, ip, mp, tlckXTREE);
ip               3800 fs/jfs/jfs_xtree.c 	XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
ip               3814 fs/jfs/jfs_xtree.c 		tlck = txLock(tid, ip, mp, tlckXTREE);
ip               3839 fs/jfs/jfs_xtree.c 		jfs_error(ip->i_sb, "stack overrun!\n");
ip                 91 fs/jfs/jfs_xtree.h extern int xtLookup(struct inode *ip, s64 lstart, s64 llen,
ip                 93 fs/jfs/jfs_xtree.h extern void xtInitRoot(tid_t tid, struct inode *ip);
ip                 94 fs/jfs/jfs_xtree.h extern int xtInsert(tid_t tid, struct inode *ip,
ip                 96 fs/jfs/jfs_xtree.h extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen,
ip                 99 fs/jfs/jfs_xtree.h extern int xtTailgate(tid_t tid, struct inode *ip,
ip                102 fs/jfs/jfs_xtree.h extern int xtUpdate(tid_t tid, struct inode *ip, struct xad *nxad);
ip                103 fs/jfs/jfs_xtree.h extern int xtDelete(tid_t tid, struct inode *ip, s64 xoff, int xlen,
ip                105 fs/jfs/jfs_xtree.h extern s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int type);
ip                106 fs/jfs/jfs_xtree.h extern s64 xtTruncate_pmap(tid_t tid, struct inode *ip, s64 committed_size);
ip                107 fs/jfs/jfs_xtree.h extern int xtRelocate(tid_t tid, struct inode *ip,
ip                110 fs/jfs/jfs_xtree.h 		    struct inode *ip, int xflag, s64 xoff, int maxblocks,
ip                 67 fs/jfs/namei.c 	struct inode *ip = NULL;	/* child directory inode */
ip                 92 fs/jfs/namei.c 	ip = ialloc(dip, mode);
ip                 93 fs/jfs/namei.c 	if (IS_ERR(ip)) {
ip                 94 fs/jfs/namei.c 		rc = PTR_ERR(ip);
ip                101 fs/jfs/namei.c 	mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD);
ip                103 fs/jfs/namei.c 	rc = jfs_init_acl(tid, ip, dip);
ip                107 fs/jfs/namei.c 	rc = jfs_init_security(tid, ip, dip, &dentry->d_name);
ip                121 fs/jfs/namei.c 	tblk->ino = ip->i_ino;
ip                122 fs/jfs/namei.c 	tblk->u.ixpxd = JFS_IP(ip)->ixpxd;
ip                125 fs/jfs/namei.c 	iplist[1] = ip;
ip                130 fs/jfs/namei.c 	xtInitRoot(tid, ip);
ip                136 fs/jfs/namei.c 	ino = ip->i_ino;
ip                146 fs/jfs/namei.c 	ip->i_op = &jfs_file_inode_operations;
ip                147 fs/jfs/namei.c 	ip->i_fop = &jfs_file_operations;
ip                148 fs/jfs/namei.c 	ip->i_mapping->a_ops = &jfs_aops;
ip                150 fs/jfs/namei.c 	mark_inode_dirty(ip);
ip                160 fs/jfs/namei.c 	mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                163 fs/jfs/namei.c 		free_ea_wmap(ip);
ip                164 fs/jfs/namei.c 		clear_nlink(ip);
ip                165 fs/jfs/namei.c 		discard_new_inode(ip);
ip                167 fs/jfs/namei.c 		d_instantiate_new(dentry, ip);
ip                199 fs/jfs/namei.c 	struct inode *ip = NULL;	/* child directory inode */
ip                224 fs/jfs/namei.c 	ip = ialloc(dip, S_IFDIR | mode);
ip                225 fs/jfs/namei.c 	if (IS_ERR(ip)) {
ip                226 fs/jfs/namei.c 		rc = PTR_ERR(ip);
ip                233 fs/jfs/namei.c 	mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD);
ip                235 fs/jfs/namei.c 	rc = jfs_init_acl(tid, ip, dip);
ip                239 fs/jfs/namei.c 	rc = jfs_init_security(tid, ip, dip, &dentry->d_name);
ip                253 fs/jfs/namei.c 	tblk->ino = ip->i_ino;
ip                254 fs/jfs/namei.c 	tblk->u.ixpxd = JFS_IP(ip)->ixpxd;
ip                257 fs/jfs/namei.c 	iplist[1] = ip;
ip                262 fs/jfs/namei.c 	dtInitRoot(tid, ip, dip->i_ino);
ip                268 fs/jfs/namei.c 	ino = ip->i_ino;
ip                278 fs/jfs/namei.c 	set_nlink(ip, 2);	/* for '.' */
ip                279 fs/jfs/namei.c 	ip->i_op = &jfs_dir_inode_operations;
ip                280 fs/jfs/namei.c 	ip->i_fop = &jfs_dir_operations;
ip                282 fs/jfs/namei.c 	mark_inode_dirty(ip);
ip                293 fs/jfs/namei.c 	mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                296 fs/jfs/namei.c 		free_ea_wmap(ip);
ip                297 fs/jfs/namei.c 		clear_nlink(ip);
ip                298 fs/jfs/namei.c 		discard_new_inode(ip);
ip                300 fs/jfs/namei.c 		d_instantiate_new(dentry, ip);
ip                336 fs/jfs/namei.c 	struct inode *ip = d_inode(dentry);
ip                348 fs/jfs/namei.c 	rc = dquot_initialize(ip);
ip                353 fs/jfs/namei.c 	if (!dtEmpty(ip)) {
ip                365 fs/jfs/namei.c 	mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD);
ip                368 fs/jfs/namei.c 	iplist[1] = ip;
ip                372 fs/jfs/namei.c 	tblk->u.ip = ip;
ip                377 fs/jfs/namei.c 	ino = ip->i_ino;
ip                383 fs/jfs/namei.c 		mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                399 fs/jfs/namei.c 	if (JFS_IP(ip)->ea.flag & DXD_EXTENT) {
ip                401 fs/jfs/namei.c 		txEA(tid, ip, &JFS_IP(ip)->ea, NULL);
ip                403 fs/jfs/namei.c 	JFS_IP(ip)->ea.flag = 0;
ip                406 fs/jfs/namei.c 	if (JFS_IP(ip)->acl.flag & DXD_EXTENT) {
ip                408 fs/jfs/namei.c 		txEA(tid, ip, &JFS_IP(ip)->acl, NULL);
ip                410 fs/jfs/namei.c 	JFS_IP(ip)->acl.flag = 0;
ip                413 fs/jfs/namei.c 	clear_nlink(ip);
ip                414 fs/jfs/namei.c 	mark_inode_dirty(ip);
ip                420 fs/jfs/namei.c 	mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                466 fs/jfs/namei.c 	struct inode *ip = d_inode(dentry);
ip                480 fs/jfs/namei.c 	rc = dquot_initialize(ip);
ip                487 fs/jfs/namei.c 	IWRITE_LOCK(ip, RDWRLOCK_NORMAL);
ip                492 fs/jfs/namei.c 	mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD);
ip                495 fs/jfs/namei.c 	iplist[1] = ip;
ip                500 fs/jfs/namei.c 	ino = ip->i_ino;
ip                506 fs/jfs/namei.c 		mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                508 fs/jfs/namei.c 		IWRITE_UNLOCK(ip);
ip                512 fs/jfs/namei.c 	ASSERT(ip->i_nlink);
ip                514 fs/jfs/namei.c 	ip->i_ctime = dip->i_ctime = dip->i_mtime = current_time(ip);
ip                518 fs/jfs/namei.c 	inode_dec_link_count(ip);
ip                523 fs/jfs/namei.c 	if (ip->i_nlink == 0) {
ip                524 fs/jfs/namei.c 		assert(!test_cflag(COMMIT_Nolink, ip));
ip                526 fs/jfs/namei.c 		if ((new_size = commitZeroLink(tid, ip)) < 0) {
ip                529 fs/jfs/namei.c 			mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                531 fs/jfs/namei.c 			IWRITE_UNLOCK(ip);
ip                537 fs/jfs/namei.c 		tblk->u.ip = ip;
ip                558 fs/jfs/namei.c 	mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                563 fs/jfs/namei.c 		mutex_lock(&JFS_IP(ip)->commit_mutex);
ip                564 fs/jfs/namei.c 		new_size = xtTruncate_pmap(tid, ip, new_size);
ip                571 fs/jfs/namei.c 		mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                574 fs/jfs/namei.c 	if (ip->i_nlink == 0)
ip                575 fs/jfs/namei.c 		set_cflag(COMMIT_Nolink, ip);
ip                577 fs/jfs/namei.c 	IWRITE_UNLOCK(ip);
ip                621 fs/jfs/namei.c static s64 commitZeroLink(tid_t tid, struct inode *ip)
ip                626 fs/jfs/namei.c 	jfs_info("commitZeroLink: tid = %d, ip = 0x%p", tid, ip);
ip                628 fs/jfs/namei.c 	filetype = ip->i_mode & S_IFMT;
ip                634 fs/jfs/namei.c 		if (ip->i_size < IDATASIZE) {
ip                635 fs/jfs/namei.c 			ip->i_size = 0;
ip                644 fs/jfs/namei.c 	set_cflag(COMMIT_Freewmap, ip);
ip                653 fs/jfs/namei.c 	if (JFS_IP(ip)->ea.flag & DXD_EXTENT)
ip                655 fs/jfs/namei.c 		txEA(tid, ip, &JFS_IP(ip)->ea, NULL);
ip                660 fs/jfs/namei.c 	if (JFS_IP(ip)->acl.flag & DXD_EXTENT)
ip                662 fs/jfs/namei.c 		txEA(tid, ip, &JFS_IP(ip)->acl, NULL);
ip                670 fs/jfs/namei.c 	if (ip->i_size)
ip                671 fs/jfs/namei.c 		return xtTruncate_pmap(tid, ip, 0);
ip                687 fs/jfs/namei.c void jfs_free_zero_link(struct inode *ip)
ip                691 fs/jfs/namei.c 	jfs_info("jfs_free_zero_link: ip = 0x%p", ip);
ip                696 fs/jfs/namei.c 	type = ip->i_mode & S_IFMT;
ip                703 fs/jfs/namei.c 		if (ip->i_size < IDATASIZE)
ip                713 fs/jfs/namei.c 	if (JFS_IP(ip)->ea.flag & DXD_EXTENT) {
ip                714 fs/jfs/namei.c 		s64 xaddr = addressDXD(&JFS_IP(ip)->ea);
ip                715 fs/jfs/namei.c 		int xlen = lengthDXD(&JFS_IP(ip)->ea);
ip                720 fs/jfs/namei.c 		invalidate_dxd_metapages(ip, JFS_IP(ip)->ea);
ip                728 fs/jfs/namei.c 		txFreeMap(ip, pxdlock, NULL, COMMIT_WMAP);
ip                734 fs/jfs/namei.c 	if (JFS_IP(ip)->acl.flag & DXD_EXTENT) {
ip                735 fs/jfs/namei.c 		s64 xaddr = addressDXD(&JFS_IP(ip)->acl);
ip                736 fs/jfs/namei.c 		int xlen = lengthDXD(&JFS_IP(ip)->acl);
ip                740 fs/jfs/namei.c 		invalidate_dxd_metapages(ip, JFS_IP(ip)->acl);
ip                748 fs/jfs/namei.c 		txFreeMap(ip, pxdlock, NULL, COMMIT_WMAP);
ip                756 fs/jfs/namei.c 	if (ip->i_size)
ip                757 fs/jfs/namei.c 		xtTruncate(0, ip, 0, COMMIT_WMAP);
ip                789 fs/jfs/namei.c 	struct inode *ip = d_inode(old_dentry);
ip                801 fs/jfs/namei.c 	tid = txBegin(ip->i_sb, 0);
ip                804 fs/jfs/namei.c 	mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD);
ip                818 fs/jfs/namei.c 	ino = ip->i_ino;
ip                823 fs/jfs/namei.c 	inc_nlink(ip);		/* for new link */
ip                824 fs/jfs/namei.c 	ip->i_ctime = current_time(ip);
ip                827 fs/jfs/namei.c 	ihold(ip);
ip                829 fs/jfs/namei.c 	iplist[0] = ip;
ip                834 fs/jfs/namei.c 		drop_nlink(ip); /* never instantiated */
ip                835 fs/jfs/namei.c 		iput(ip);
ip                837 fs/jfs/namei.c 		d_instantiate(dentry, ip);
ip                845 fs/jfs/namei.c 	mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip                880 fs/jfs/namei.c 	struct inode *ip = d_inode(dentry);
ip                910 fs/jfs/namei.c 	ip = ialloc(dip, S_IFLNK | 0777);
ip                911 fs/jfs/namei.c 	if (IS_ERR(ip)) {
ip                912 fs/jfs/namei.c 		rc = PTR_ERR(ip);
ip                919 fs/jfs/namei.c 	mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD);
ip                921 fs/jfs/namei.c 	rc = jfs_init_security(tid, ip, dip, &dentry->d_name);
ip                927 fs/jfs/namei.c 	tblk->ino = ip->i_ino;
ip                928 fs/jfs/namei.c 	tblk->u.ixpxd = JFS_IP(ip)->ixpxd;
ip                934 fs/jfs/namei.c 	ip->i_mode |= 0777;
ip                939 fs/jfs/namei.c 	xtInitRoot(tid, ip);
ip                946 fs/jfs/namei.c 		ip->i_op = &jfs_fast_symlink_inode_operations;
ip                948 fs/jfs/namei.c 		ip->i_link = JFS_IP(ip)->i_inline;
ip                949 fs/jfs/namei.c 		memcpy(ip->i_link, name, ssize);
ip                950 fs/jfs/namei.c 		ip->i_size = ssize - 1;
ip                956 fs/jfs/namei.c 		if (ssize > sizeof (JFS_IP(ip)->i_inline))
ip                957 fs/jfs/namei.c 			JFS_IP(ip)->mode2 &= ~INLINEEA;
ip                966 fs/jfs/namei.c 		jfs_info("jfs_symlink: allocate extent ip:0x%p", ip);
ip                968 fs/jfs/namei.c 		ip->i_op = &jfs_symlink_inode_operations;
ip                969 fs/jfs/namei.c 		inode_nohighmem(ip);
ip                970 fs/jfs/namei.c 		ip->i_mapping->a_ops = &jfs_aops;
ip                977 fs/jfs/namei.c 		sb = ip->i_sb;
ip                982 fs/jfs/namei.c 		if ((rc = xtInsert(tid, ip, 0, 0, xlen, &xaddr, 0))) {
ip                986 fs/jfs/namei.c 		ip->i_size = ssize - 1;
ip                991 fs/jfs/namei.c 			mp = get_metapage(ip, xaddr, PSIZE, 1);
ip                994 fs/jfs/namei.c 				xtTruncate(tid, ip, 0, COMMIT_PWMAP);
ip               1012 fs/jfs/namei.c 		ino = ip->i_ino;
ip               1017 fs/jfs/namei.c 			xtTruncate(tid, ip, 0, COMMIT_PWMAP);
ip               1023 fs/jfs/namei.c 	mark_inode_dirty(ip);
ip               1032 fs/jfs/namei.c 	iplist[1] = ip;
ip               1037 fs/jfs/namei.c 	mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip               1040 fs/jfs/namei.c 		free_ea_wmap(ip);
ip               1041 fs/jfs/namei.c 		clear_nlink(ip);
ip               1042 fs/jfs/namei.c 		discard_new_inode(ip);
ip               1044 fs/jfs/namei.c 		d_instantiate_new(dentry, ip);
ip               1189 fs/jfs/namei.c 			tblk->u.ip = new_ip;
ip               1200 fs/jfs/namei.c 			tblk->u.ip = new_ip;
ip               1354 fs/jfs/namei.c 	struct inode *ip;
ip               1369 fs/jfs/namei.c 	ip = ialloc(dir, mode);
ip               1370 fs/jfs/namei.c 	if (IS_ERR(ip)) {
ip               1371 fs/jfs/namei.c 		rc = PTR_ERR(ip);
ip               1374 fs/jfs/namei.c 	jfs_ip = JFS_IP(ip);
ip               1379 fs/jfs/namei.c 	mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD);
ip               1381 fs/jfs/namei.c 	rc = jfs_init_acl(tid, ip, dir);
ip               1385 fs/jfs/namei.c 	rc = jfs_init_security(tid, ip, dir, &dentry->d_name);
ip               1398 fs/jfs/namei.c 	tblk->ino = ip->i_ino;
ip               1399 fs/jfs/namei.c 	tblk->u.ixpxd = JFS_IP(ip)->ixpxd;
ip               1401 fs/jfs/namei.c 	ino = ip->i_ino;
ip               1407 fs/jfs/namei.c 	ip->i_op = &jfs_file_inode_operations;
ip               1409 fs/jfs/namei.c 	init_special_inode(ip, ip->i_mode, rdev);
ip               1411 fs/jfs/namei.c 	mark_inode_dirty(ip);
ip               1418 fs/jfs/namei.c 	iplist[1] = ip;
ip               1423 fs/jfs/namei.c 	mutex_unlock(&JFS_IP(ip)->commit_mutex);
ip               1426 fs/jfs/namei.c 		free_ea_wmap(ip);
ip               1427 fs/jfs/namei.c 		clear_nlink(ip);
ip               1428 fs/jfs/namei.c 		discard_new_inode(ip);
ip               1430 fs/jfs/namei.c 		d_instantiate_new(dentry, ip);
ip               1445 fs/jfs/namei.c 	struct inode *ip;
ip               1456 fs/jfs/namei.c 		ip = NULL;
ip               1459 fs/jfs/namei.c 		ip = ERR_PTR(rc);
ip               1461 fs/jfs/namei.c 		ip = jfs_iget(dip->i_sb, inum);
ip               1462 fs/jfs/namei.c 		if (IS_ERR(ip))
ip               1466 fs/jfs/namei.c 	return d_splice_alias(ip, dentry);
ip                143 fs/jfs/xattr.c static int ea_write_inline(struct inode *ip, struct jfs_ea_list *ealist,
ip                146 fs/jfs/xattr.c 	struct jfs_inode_info *ji = JFS_IP(ip);
ip                201 fs/jfs/xattr.c static int ea_write(struct inode *ip, struct jfs_ea_list *ealist, int size,
ip                204 fs/jfs/xattr.c 	struct super_block *sb = ip->i_sb;
ip                205 fs/jfs/xattr.c 	struct jfs_inode_info *ji = JFS_IP(ip);
ip                220 fs/jfs/xattr.c 		if (!ea_write_inline(ip, ealist, size, ea))
ip                228 fs/jfs/xattr.c 	rc = dquot_alloc_block(ip, nblocks);
ip                232 fs/jfs/xattr.c 	rc = dbAlloc(ip, INOHINT(ip), nblocks, &blkno);
ip                235 fs/jfs/xattr.c 		dquot_free_block(ip, nblocks);
ip                256 fs/jfs/xattr.c 		if (!(mp = get_metapage(ip, blkno + i, bytes_to_write, 1))) {
ip                300 fs/jfs/xattr.c 	dquot_free_block(ip, nblocks);
ip                302 fs/jfs/xattr.c 	dbFree(ip, blkno, nblocks);
ip                317 fs/jfs/xattr.c static int ea_read_inline(struct inode *ip, struct jfs_ea_list *ealist)
ip                319 fs/jfs/xattr.c 	struct jfs_inode_info *ji = JFS_IP(ip);
ip                351 fs/jfs/xattr.c static int ea_read(struct inode *ip, struct jfs_ea_list *ealist)
ip                353 fs/jfs/xattr.c 	struct super_block *sb = ip->i_sb;
ip                354 fs/jfs/xattr.c 	struct jfs_inode_info *ji = JFS_IP(ip);
ip                366 fs/jfs/xattr.c 		return ea_read_inline(ip, ealist);
ip                396 fs/jfs/xattr.c 		if (!(mp = read_metapage(ip, blkno + i, bytes_to_read, 1)))
ip                123 fs/ocfs2/dlmfs/dlmfs.c 	struct dlmfs_inode_private *ip;
ip                146 fs/ocfs2/dlmfs/dlmfs.c 	ip = DLMFS_I(inode);
ip                148 fs/ocfs2/dlmfs/dlmfs.c 	status = user_dlm_cluster_lock(&ip->ip_lockres, level, flags);
ip                169 fs/ocfs2/dlmfs/dlmfs.c 	struct dlmfs_inode_private *ip = DLMFS_I(inode);
ip                180 fs/ocfs2/dlmfs/dlmfs.c 			user_dlm_cluster_unlock(&ip->ip_lockres, level);
ip                212 fs/ocfs2/dlmfs/dlmfs.c 	struct dlmfs_inode_private *ip = DLMFS_I(inode);
ip                214 fs/ocfs2/dlmfs/dlmfs.c 	poll_wait(file, &ip->ip_lockres.l_event, wait);
ip                216 fs/ocfs2/dlmfs/dlmfs.c 	spin_lock(&ip->ip_lockres.l_lock);
ip                217 fs/ocfs2/dlmfs/dlmfs.c 	if (ip->ip_lockres.l_flags & USER_LOCK_BLOCKED)
ip                219 fs/ocfs2/dlmfs/dlmfs.c 	spin_unlock(&ip->ip_lockres.l_lock);
ip                315 fs/ocfs2/dlmfs/dlmfs.c 	struct dlmfs_inode_private *ip =
ip                318 fs/ocfs2/dlmfs/dlmfs.c 	ip->ip_conn = NULL;
ip                319 fs/ocfs2/dlmfs/dlmfs.c 	ip->ip_parent = NULL;
ip                321 fs/ocfs2/dlmfs/dlmfs.c 	inode_init_once(&ip->ip_vfs_inode);
ip                326 fs/ocfs2/dlmfs/dlmfs.c 	struct dlmfs_inode_private *ip;
ip                328 fs/ocfs2/dlmfs/dlmfs.c 	ip = kmem_cache_alloc(dlmfs_inode_cache, GFP_NOFS);
ip                329 fs/ocfs2/dlmfs/dlmfs.c 	if (!ip)
ip                332 fs/ocfs2/dlmfs/dlmfs.c 	return &ip->ip_vfs_inode;
ip                343 fs/ocfs2/dlmfs/dlmfs.c 	struct dlmfs_inode_private *ip;
ip                349 fs/ocfs2/dlmfs/dlmfs.c 	ip = DLMFS_I(inode);
ip                352 fs/ocfs2/dlmfs/dlmfs.c 		status = user_dlm_destroy_lock(&ip->ip_lockres);
ip                355 fs/ocfs2/dlmfs/dlmfs.c 		iput(ip->ip_parent);
ip                359 fs/ocfs2/dlmfs/dlmfs.c 	mlog(0, "we're a directory, ip->ip_conn = 0x%p\n", ip->ip_conn);
ip                362 fs/ocfs2/dlmfs/dlmfs.c 	if (ip->ip_conn)
ip                363 fs/ocfs2/dlmfs/dlmfs.c 		user_dlm_unregister(ip->ip_conn);
ip                365 fs/ocfs2/dlmfs/dlmfs.c 	ip->ip_parent = NULL;
ip                366 fs/ocfs2/dlmfs/dlmfs.c 	ip->ip_conn = NULL;
ip                393 fs/ocfs2/dlmfs/dlmfs.c 	struct dlmfs_inode_private *ip;
ip                402 fs/ocfs2/dlmfs/dlmfs.c 	ip = DLMFS_I(inode);
ip                403 fs/ocfs2/dlmfs/dlmfs.c 	ip->ip_conn = DLMFS_I(parent)->ip_conn;
ip                417 fs/ocfs2/dlmfs/dlmfs.c 		user_dlm_lock_res_init(&ip->ip_lockres, dentry);
ip                423 fs/ocfs2/dlmfs/dlmfs.c 		ip->ip_parent = igrab(parent);
ip                424 fs/ocfs2/dlmfs/dlmfs.c 		BUG_ON(!ip->ip_parent);
ip                449 fs/ocfs2/dlmfs/dlmfs.c 	struct dlmfs_inode_private *ip;
ip                468 fs/ocfs2/dlmfs/dlmfs.c 	ip = DLMFS_I(inode);
ip                477 fs/ocfs2/dlmfs/dlmfs.c 	ip->ip_conn = conn;
ip                 67 fs/ocfs2/dlmfs/userdlm.c 	struct dlmfs_inode_private *ip;
ip                 69 fs/ocfs2/dlmfs/userdlm.c 	ip = container_of(lockres,
ip                 72 fs/ocfs2/dlmfs/userdlm.c 	return ip->ip_conn;
ip                 78 fs/ocfs2/dlmfs/userdlm.c 	struct dlmfs_inode_private *ip;
ip                 80 fs/ocfs2/dlmfs/userdlm.c 	ip = container_of(lockres,
ip                 83 fs/ocfs2/dlmfs/userdlm.c 	return &ip->ip_vfs_inode;
ip                 25 fs/pstore/ftrace.c static void notrace pstore_ftrace_call(unsigned long ip,
ip                 44 fs/pstore/ftrace.c 	rec.ip = ip;
ip                112 fs/pstore/inode.c 		   rec->ip, rec->parent_ip, (void *)rec->ip,
ip               2961 fs/xfs/libxfs/xfs_alloc.c 			error = xfs_zero_extent(args->ip, args->fsbno, args->len);
ip                 57 fs/xfs/libxfs/xfs_alloc.h 	struct xfs_inode *ip;		/* for userdata zeroing method */
ip                 87 fs/xfs/libxfs/xfs_attr.c 	struct xfs_inode	*ip)
ip                 89 fs/xfs/libxfs/xfs_attr.c 	if (!XFS_IFORK_Q(ip) ||
ip                 90 fs/xfs/libxfs/xfs_attr.c 	    (ip->i_d.di_aformat == XFS_DINODE_FMT_EXTENTS &&
ip                 91 fs/xfs/libxfs/xfs_attr.c 	     ip->i_d.di_anextents == 0))
ip                106 fs/xfs/libxfs/xfs_attr.c 	struct xfs_inode	*ip,
ip                109 fs/xfs/libxfs/xfs_attr.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL));
ip                111 fs/xfs/libxfs/xfs_attr.c 	if (!xfs_inode_hasattr(ip))
ip                113 fs/xfs/libxfs/xfs_attr.c 	else if (ip->i_d.di_aformat == XFS_DINODE_FMT_LOCAL)
ip                115 fs/xfs/libxfs/xfs_attr.c 	else if (xfs_bmap_one_block(ip, XFS_ATTR_FORK))
ip                140 fs/xfs/libxfs/xfs_attr.c 	struct xfs_inode	*ip,
ip                152 fs/xfs/libxfs/xfs_attr.c 	XFS_STATS_INC(ip->i_mount, xs_attr_get);
ip                154 fs/xfs/libxfs/xfs_attr.c 	if (XFS_FORCED_SHUTDOWN(ip->i_mount))
ip                157 fs/xfs/libxfs/xfs_attr.c 	error = xfs_attr_args_init(&args, ip, name, flags);
ip                169 fs/xfs/libxfs/xfs_attr.c 	lock_mode = xfs_ilock_attr_map_shared(ip);
ip                170 fs/xfs/libxfs/xfs_attr.c 	error = xfs_attr_get_ilocked(ip, &args);
ip                171 fs/xfs/libxfs/xfs_attr.c 	xfs_iunlock(ip, lock_mode);
ip                148 fs/xfs/libxfs/xfs_attr.h int xfs_inode_hasattr(struct xfs_inode *ip);
ip                149 fs/xfs/libxfs/xfs_attr.h int xfs_attr_get_ilocked(struct xfs_inode *ip, struct xfs_da_args *args);
ip                150 fs/xfs/libxfs/xfs_attr.h int xfs_attr_get(struct xfs_inode *ip, const unsigned char *name,
ip                652 fs/xfs/libxfs/xfs_attr_leaf.c 	struct xfs_inode	*ip,
ip                655 fs/xfs/libxfs/xfs_attr_leaf.c 	xfs_idestroy_fork(ip, XFS_ATTR_FORK);
ip                656 fs/xfs/libxfs/xfs_attr_leaf.c 	ip->i_d.di_forkoff = 0;
ip                657 fs/xfs/libxfs/xfs_attr_leaf.c 	ip->i_d.di_aformat = XFS_DINODE_FMT_EXTENTS;
ip                659 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(ip->i_d.di_anextents == 0);
ip                660 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(ip->i_afp == NULL);
ip                662 fs/xfs/libxfs/xfs_attr_leaf.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip                919 fs/xfs/libxfs/xfs_attr_leaf.c 	struct xfs_inode		*ip)
ip                929 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(ip->i_d.di_aformat == XFS_DINODE_FMT_LOCAL);
ip                930 fs/xfs/libxfs/xfs_attr_leaf.c 	ifp = XFS_IFORK_PTR(ip, XFS_ATTR_FORK);
ip                 44 fs/xfs/libxfs/xfs_attr_leaf.h xfs_failaddr_t xfs_attr_shortform_verify(struct xfs_inode *ip);
ip                 45 fs/xfs/libxfs/xfs_attr_leaf.h void	xfs_attr_fork_remove(struct xfs_inode *ip, struct xfs_trans *tp);
ip                120 fs/xfs/libxfs/xfs_bmap.c static inline bool xfs_bmap_needs_btree(struct xfs_inode *ip, int whichfork)
ip                123 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_EXTENTS &&
ip                124 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_NEXTENTS(ip, whichfork) >
ip                125 fs/xfs/libxfs/xfs_bmap.c 			XFS_IFORK_MAXEXT(ip, whichfork);
ip                131 fs/xfs/libxfs/xfs_bmap.c static inline bool xfs_bmap_wants_extents(struct xfs_inode *ip, int whichfork)
ip                134 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_BTREE &&
ip                135 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_NEXTENTS(ip, whichfork) <=
ip                136 fs/xfs/libxfs/xfs_bmap.c 			XFS_IFORK_MAXEXT(ip, whichfork);
ip                160 fs/xfs/libxfs/xfs_bmap.c 	xfs_inode_t	*ip,		/* incore inode pointer */
ip                168 fs/xfs/libxfs/xfs_bmap.c 	mp = ip->i_mount;
ip                190 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip)
ip                192 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip                196 fs/xfs/libxfs/xfs_bmap.c 		offset = XFS_LITINO(mp, ip->i_d.di_version) -
ip                202 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(offset < XFS_LITINO(mp, ip->i_d.di_version));
ip                213 fs/xfs/libxfs/xfs_bmap.c 	xfs_inode_t	*ip,
ip                217 fs/xfs/libxfs/xfs_bmap.c 	    ip->i_d.di_format != XFS_DINODE_FMT_DEV &&
ip                218 fs/xfs/libxfs/xfs_bmap.c 	    ip->i_d.di_format != XFS_DINODE_FMT_BTREE) {
ip                219 fs/xfs/libxfs/xfs_bmap.c 		uint	dfl_forkoff = xfs_default_attroffset(ip) >> 3;
ip                221 fs/xfs/libxfs/xfs_bmap.c 		if (dfl_forkoff > ip->i_d.di_forkoff)
ip                222 fs/xfs/libxfs/xfs_bmap.c 			ip->i_d.di_forkoff = dfl_forkoff;
ip                316 fs/xfs/libxfs/xfs_bmap.c 	xfs_inode_t		*ip,		/* incore inode pointer */
ip                333 fs/xfs/libxfs/xfs_bmap.c 	if (XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_BTREE) {
ip                338 fs/xfs/libxfs/xfs_bmap.c 	if (ip->i_d.di_nextents > 10000)
ip                342 fs/xfs/libxfs/xfs_bmap.c 	mp = ip->i_mount;
ip                343 fs/xfs/libxfs/xfs_bmap.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip                517 fs/xfs/libxfs/xfs_bmap.c #define xfs_bmap_check_leaf_extents(cur, ip, whichfork)		do { } while (0)
ip                584 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,	/* incore inode pointer */
ip                589 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip                590 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip                600 fs/xfs/libxfs/xfs_bmap.c 	if (!xfs_bmap_wants_extents(ip, whichfork))
ip                606 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_BTREE);
ip                624 fs/xfs/libxfs/xfs_bmap.c 	xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork);
ip                626 fs/xfs/libxfs/xfs_bmap.c 	ip->i_d.di_nblocks--;
ip                627 fs/xfs/libxfs/xfs_bmap.c 	xfs_trans_mod_dquot_byino(tp, ip, XFS_TRANS_DQ_BCOUNT, -1L);
ip                631 fs/xfs/libxfs/xfs_bmap.c 	xfs_iroot_realloc(ip, -1, whichfork);
ip                634 fs/xfs/libxfs/xfs_bmap.c 	XFS_IFORK_FMT_SET(ip, whichfork, XFS_DINODE_FMT_EXTENTS);
ip                646 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,		/* incore inode pointer */
ip                667 fs/xfs/libxfs/xfs_bmap.c 	mp = ip->i_mount;
ip                669 fs/xfs/libxfs/xfs_bmap.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip                670 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_EXTENTS);
ip                676 fs/xfs/libxfs/xfs_bmap.c 	xfs_iroot_realloc(ip, 1, whichfork);
ip                684 fs/xfs/libxfs/xfs_bmap.c 				 XFS_BTNUM_BMAP, 1, 1, ip->i_ino,
ip                689 fs/xfs/libxfs/xfs_bmap.c 	cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork);
ip                694 fs/xfs/libxfs/xfs_bmap.c 	XFS_IFORK_FMT_SET(ip, whichfork, XFS_DINODE_FMT_BTREE);
ip                698 fs/xfs/libxfs/xfs_bmap.c 	xfs_rmap_ino_bmbt_owner(&args.oinfo, ip->i_ino, whichfork);
ip                701 fs/xfs/libxfs/xfs_bmap.c 		args.fsbno = XFS_INO_TO_FSB(mp, ip->i_ino);
ip                728 fs/xfs/libxfs/xfs_bmap.c 	ip->i_d.di_nblocks++;
ip                729 fs/xfs/libxfs/xfs_bmap.c 	xfs_trans_mod_dquot_byino(tp, ip, XFS_TRANS_DQ_BCOUNT, 1L);
ip                742 fs/xfs/libxfs/xfs_bmap.c 				XFS_BTNUM_BMAP, 0, 0, ip->i_ino,
ip                752 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(cnt == XFS_IFORK_NEXTENTS(ip, whichfork));
ip                777 fs/xfs/libxfs/xfs_bmap.c 	xfs_trans_mod_dquot_byino(tp, ip, XFS_TRANS_DQ_BCOUNT, -1L);
ip                779 fs/xfs/libxfs/xfs_bmap.c 	xfs_iroot_realloc(ip, -1, whichfork);
ip                780 fs/xfs/libxfs/xfs_bmap.c 	XFS_IFORK_FMT_SET(ip, whichfork, XFS_DINODE_FMT_EXTENTS);
ip                796 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip                799 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip                802 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_LOCAL);
ip                804 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(XFS_IFORK_NEXTENTS(ip, whichfork) == 0);
ip                806 fs/xfs/libxfs/xfs_bmap.c 	xfs_bmap_forkoff_reset(ip, whichfork);
ip                811 fs/xfs/libxfs/xfs_bmap.c 	XFS_IFORK_FMT_SET(ip, whichfork, XFS_DINODE_FMT_EXTENTS);
ip                812 fs/xfs/libxfs/xfs_bmap.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip                819 fs/xfs/libxfs/xfs_bmap.c 	xfs_inode_t	*ip,		/* incore inode pointer */
ip                825 fs/xfs/libxfs/xfs_bmap.c 				   struct xfs_inode *ip,
ip                840 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(!(S_ISREG(VFS_I(ip)->i_mode) && whichfork == XFS_DATA_FORK));
ip                841 fs/xfs/libxfs/xfs_bmap.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip                842 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_LOCAL);
ip                845 fs/xfs/libxfs/xfs_bmap.c 		xfs_bmap_local_to_extents_empty(tp, ip, whichfork);
ip                855 fs/xfs/libxfs/xfs_bmap.c 	args.mp = ip->i_mount;
ip                856 fs/xfs/libxfs/xfs_bmap.c 	xfs_rmap_ino_owner(&args.oinfo, ip->i_ino, whichfork, 0);
ip                862 fs/xfs/libxfs/xfs_bmap.c 		args.fsbno = XFS_INO_TO_FSB(args.mp, ip->i_ino);
ip                888 fs/xfs/libxfs/xfs_bmap.c 	init_fn(tp, bp, ip, ifp);
ip                891 fs/xfs/libxfs/xfs_bmap.c 	xfs_idata_realloc(ip, -ifp->if_bytes, whichfork);
ip                892 fs/xfs/libxfs/xfs_bmap.c 	xfs_bmap_local_to_extents_empty(tp, ip, whichfork);
ip                903 fs/xfs/libxfs/xfs_bmap.c 	xfs_iext_insert(ip, &icur, &rec, 0);
ip                905 fs/xfs/libxfs/xfs_bmap.c 	XFS_IFORK_NEXT_SET(ip, whichfork, 1);
ip                906 fs/xfs/libxfs/xfs_bmap.c 	ip->i_d.di_nblocks = 1;
ip                907 fs/xfs/libxfs/xfs_bmap.c 	xfs_trans_mod_dquot_byino(tp, ip,
ip                922 fs/xfs/libxfs/xfs_bmap.c 	xfs_inode_t		*ip,		/* incore inode pointer */
ip                930 fs/xfs/libxfs/xfs_bmap.c 	mp = ip->i_mount;
ip                931 fs/xfs/libxfs/xfs_bmap.c 	if (ip->i_df.if_broot_bytes <= XFS_IFORK_DSIZE(ip))
ip                934 fs/xfs/libxfs/xfs_bmap.c 		cur = xfs_bmbt_init_cursor(mp, tp, ip, XFS_DATA_FORK);
ip                961 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,		/* incore inode pointer */
ip                967 fs/xfs/libxfs/xfs_bmap.c 	if (ip->i_d.di_nextents * sizeof(xfs_bmbt_rec_t) <= XFS_IFORK_DSIZE(ip))
ip                970 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_bmap_extents_to_btree(tp, ip, &cur, 0, flags,
ip                993 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,		/* incore inode pointer */
ip                998 fs/xfs/libxfs/xfs_bmap.c 	if (ip->i_df.if_bytes <= XFS_IFORK_DSIZE(ip))
ip               1001 fs/xfs/libxfs/xfs_bmap.c 	if (S_ISDIR(VFS_I(ip)->i_mode)) {
ip               1003 fs/xfs/libxfs/xfs_bmap.c 		dargs.geo = ip->i_mount->m_dir_geo;
ip               1004 fs/xfs/libxfs/xfs_bmap.c 		dargs.dp = ip;
ip               1011 fs/xfs/libxfs/xfs_bmap.c 	if (S_ISLNK(VFS_I(ip)->i_mode))
ip               1012 fs/xfs/libxfs/xfs_bmap.c 		return xfs_bmap_local_to_extents(tp, ip, 1, flags,
ip               1024 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               1028 fs/xfs/libxfs/xfs_bmap.c 	switch (ip->i_d.di_format) {
ip               1030 fs/xfs/libxfs/xfs_bmap.c 		ip->i_d.di_forkoff = roundup(sizeof(xfs_dev_t), 8) >> 3;
ip               1035 fs/xfs/libxfs/xfs_bmap.c 		ip->i_d.di_forkoff = xfs_attr_shortform_bytesfit(ip, size);
ip               1036 fs/xfs/libxfs/xfs_bmap.c 		if (!ip->i_d.di_forkoff)
ip               1037 fs/xfs/libxfs/xfs_bmap.c 			ip->i_d.di_forkoff = xfs_default_attroffset(ip) >> 3;
ip               1038 fs/xfs/libxfs/xfs_bmap.c 		else if ((ip->i_mount->m_flags & XFS_MOUNT_ATTR2) && version)
ip               1055 fs/xfs/libxfs/xfs_bmap.c 	xfs_inode_t		*ip,		/* incore inode pointer */
ip               1066 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(XFS_IFORK_Q(ip) == 0);
ip               1068 fs/xfs/libxfs/xfs_bmap.c 	mp = ip->i_mount;
ip               1069 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(!XFS_NOT_DQATTACHED(mp, ip));
ip               1078 fs/xfs/libxfs/xfs_bmap.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               1079 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_trans_reserve_quota_nblks(tp, ip, blks, 0, rsvd ?
ip               1084 fs/xfs/libxfs/xfs_bmap.c 	if (XFS_IFORK_Q(ip))
ip               1086 fs/xfs/libxfs/xfs_bmap.c 	if (ip->i_d.di_anextents != 0) {
ip               1090 fs/xfs/libxfs/xfs_bmap.c 	if (ip->i_d.di_aformat != XFS_DINODE_FMT_EXTENTS) {
ip               1094 fs/xfs/libxfs/xfs_bmap.c 		ASSERT(ip->i_d.di_aformat == 0);
ip               1095 fs/xfs/libxfs/xfs_bmap.c 		ip->i_d.di_aformat = XFS_DINODE_FMT_EXTENTS;
ip               1098 fs/xfs/libxfs/xfs_bmap.c 	xfs_trans_ijoin(tp, ip, 0);
ip               1099 fs/xfs/libxfs/xfs_bmap.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip               1100 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_bmap_set_attrforkoff(ip, size, &version);
ip               1103 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(ip->i_afp == NULL);
ip               1104 fs/xfs/libxfs/xfs_bmap.c 	ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, 0);
ip               1105 fs/xfs/libxfs/xfs_bmap.c 	ip->i_afp->if_flags = XFS_IFEXTENTS;
ip               1107 fs/xfs/libxfs/xfs_bmap.c 	switch (ip->i_d.di_format) {
ip               1109 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_bmap_add_attrfork_local(tp, ip, &logflags);
ip               1112 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_bmap_add_attrfork_extents(tp, ip, &logflags);
ip               1115 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_bmap_add_attrfork_btree(tp, ip, &logflags);
ip               1122 fs/xfs/libxfs/xfs_bmap.c 		xfs_trans_log_inode(tp, ip, logflags);
ip               1144 fs/xfs/libxfs/xfs_bmap.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1149 fs/xfs/libxfs/xfs_bmap.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1163 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               1166 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1168 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip               1169 fs/xfs/libxfs/xfs_bmap.c 	xfs_extnum_t		nextents = XFS_IFORK_NEXTENTS(ip, whichfork);
ip               1180 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip               1182 fs/xfs/libxfs/xfs_bmap.c 	if (unlikely(XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_BTREE)) {
ip               1233 fs/xfs/libxfs/xfs_bmap.c 			xfs_warn(ip->i_mount,
ip               1235 fs/xfs/libxfs/xfs_bmap.c 				(unsigned long long) ip->i_ino);
ip               1236 fs/xfs/libxfs/xfs_bmap.c 			xfs_inode_verifier_error(ip, -EFSCORRUPTED,
ip               1257 fs/xfs/libxfs/xfs_bmap.c 			fa = xfs_bmap_validate_extent(ip, whichfork, &new);
ip               1260 fs/xfs/libxfs/xfs_bmap.c 				xfs_inode_verifier_error(ip, error,
ip               1265 fs/xfs/libxfs/xfs_bmap.c 			xfs_iext_insert(ip, &icur, &new, state);
ip               1266 fs/xfs/libxfs/xfs_bmap.c 			trace_xfs_read_extent(ip, &icur, state, _THIS_IP_);
ip               1283 fs/xfs/libxfs/xfs_bmap.c 	if (i != XFS_IFORK_NEXTENTS(ip, whichfork)) {
ip               1308 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,		/* incore inode */
ip               1313 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip               1320 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_BTREE ||
ip               1321 fs/xfs/libxfs/xfs_bmap.c 	       XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_EXTENTS ||
ip               1322 fs/xfs/libxfs/xfs_bmap.c 	       XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_LOCAL);
ip               1324 fs/xfs/libxfs/xfs_bmap.c 	if (XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_LOCAL) {
ip               1330 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_iread_extents(tp, ip, whichfork);
ip               1360 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,		/* incore inode */
ip               1364 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip               1369 fs/xfs/libxfs/xfs_bmap.c 	switch (XFS_IFORK_FORMAT(ip, whichfork)) {
ip               1381 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_iread_extents(tp, ip, whichfork);
ip               1386 fs/xfs/libxfs/xfs_bmap.c 	if (!xfs_iext_lookup_extent_before(ip, ifp, last_block, &icur, &got))
ip               1394 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               1399 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip               1404 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_iread_extents(tp, ip, whichfork);
ip               1436 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_bmap_last_extent(NULL, bma->ip, whichfork, &rec,
ip               1463 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               1473 fs/xfs/libxfs/xfs_bmap.c 	if (XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_LOCAL)
ip               1476 fs/xfs/libxfs/xfs_bmap.c 	if (XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_BTREE &&
ip               1477 fs/xfs/libxfs/xfs_bmap.c 	    XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_EXTENTS)
ip               1480 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, &is_empty);
ip               1495 fs/xfs/libxfs/xfs_bmap.c 	xfs_inode_t	*ip,		/* incore inode */
ip               1505 fs/xfs/libxfs/xfs_bmap.c 		return XFS_ISIZE(ip) == ip->i_mount->m_sb.sb_blocksize;
ip               1507 fs/xfs/libxfs/xfs_bmap.c 	if (XFS_IFORK_NEXTENTS(ip, whichfork) != 1)
ip               1509 fs/xfs/libxfs/xfs_bmap.c 	if (XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_EXTENTS)
ip               1511 fs/xfs/libxfs/xfs_bmap.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip               1517 fs/xfs/libxfs/xfs_bmap.c 		ASSERT(XFS_ISIZE(ip) == ip->i_mount->m_sb.sb_blocksize);
ip               1550 fs/xfs/libxfs/xfs_bmap.c 	mp = bma->ip->i_mount;
ip               1551 fs/xfs/libxfs/xfs_bmap.c 	ifp = XFS_IFORK_PTR(bma->ip, whichfork);
ip               1553 fs/xfs/libxfs/xfs_bmap.c 	nextents = (whichfork == XFS_COW_FORK ? &bma->ip->i_cnextents :
ip               1554 fs/xfs/libxfs/xfs_bmap.c 						&bma->ip->i_d.di_nextents);
ip               1642 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_remove(bma->ip, &bma->icur, state);
ip               1643 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_remove(bma->ip, &bma->icur, state);
ip               1645 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(bma->ip, state, &bma->icur, &LEFT);
ip               1678 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_remove(bma->ip, &bma->icur, state);
ip               1680 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(bma->ip, state, &bma->icur, &LEFT);
ip               1708 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_remove(bma->ip, &bma->icur, state);
ip               1710 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(bma->ip, state, &bma->icur, &PREV);
ip               1734 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(bma->ip, state, &bma->icur, &PREV);
ip               1759 fs/xfs/libxfs/xfs_bmap.c 		da_new = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(bma->ip, temp),
ip               1768 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(bma->ip, state, &bma->icur, &PREV);
ip               1770 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(bma->ip, state, &bma->icur, &LEFT);
ip               1791 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(bma->ip, state, &bma->icur, new);
ip               1807 fs/xfs/libxfs/xfs_bmap.c 		if (xfs_bmap_needs_btree(bma->ip, whichfork)) {
ip               1808 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmap_extents_to_btree(bma->tp, bma->ip,
ip               1816 fs/xfs/libxfs/xfs_bmap.c 		da_new = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(bma->ip, temp),
ip               1824 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_insert(bma->ip, &bma->icur, &PREV, state);
ip               1852 fs/xfs/libxfs/xfs_bmap.c 		da_new = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(bma->ip, temp),
ip               1858 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(bma->ip, state, &bma->icur, &PREV);
ip               1860 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(bma->ip, state, &bma->icur, &RIGHT);
ip               1868 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(bma->ip, state, &bma->icur, new);
ip               1884 fs/xfs/libxfs/xfs_bmap.c 		if (xfs_bmap_needs_btree(bma->ip, whichfork)) {
ip               1885 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmap_extents_to_btree(bma->tp, bma->ip,
ip               1893 fs/xfs/libxfs/xfs_bmap.c 		da_new = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(bma->ip, temp),
ip               1899 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_insert(bma->ip, &bma->icur, &PREV, state);
ip               1935 fs/xfs/libxfs/xfs_bmap.c 			nullstartblock(xfs_bmap_worst_indlen(bma->ip,
ip               1941 fs/xfs/libxfs/xfs_bmap.c 			nullstartblock(xfs_bmap_worst_indlen(bma->ip,
ip               1943 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(bma->ip, state, &bma->icur, &PREV);
ip               1946 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_insert(bma->ip, &bma->icur, &RIGHT, state);
ip               1947 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_insert(bma->ip, &bma->icur, &LEFT, state);
ip               1964 fs/xfs/libxfs/xfs_bmap.c 		if (xfs_bmap_needs_btree(bma->ip, whichfork)) {
ip               1965 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmap_extents_to_btree(bma->tp, bma->ip,
ip               1991 fs/xfs/libxfs/xfs_bmap.c 		xfs_rmap_map_extent(bma->tp, bma->ip, whichfork, new);
ip               1994 fs/xfs/libxfs/xfs_bmap.c 	if (xfs_bmap_needs_btree(bma->ip, whichfork)) {
ip               1998 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_bmap_extents_to_btree(bma->tp, bma->ip,
ip               2021 fs/xfs/libxfs/xfs_bmap.c 	xfs_bmap_check_leaf_extents(bma->cur, bma->ip, whichfork);
ip               2037 fs/xfs/libxfs/xfs_bmap.c 	xfs_inode_t		*ip,	/* incore inode pointer */
ip               2053 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               2059 fs/xfs/libxfs/xfs_bmap.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip               2142 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_remove(ip, icur, state);
ip               2143 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_remove(ip, icur, state);
ip               2145 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &LEFT);
ip               2146 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_NEXT_SET(ip, whichfork,
ip               2147 fs/xfs/libxfs/xfs_bmap.c 				XFS_IFORK_NEXTENTS(ip, whichfork) - 2);
ip               2181 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_remove(ip, icur, state);
ip               2183 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &LEFT);
ip               2184 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_NEXT_SET(ip, whichfork,
ip               2185 fs/xfs/libxfs/xfs_bmap.c 				XFS_IFORK_NEXTENTS(ip, whichfork) - 1);
ip               2215 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_remove(ip, icur, state);
ip               2217 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &PREV);
ip               2219 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_NEXT_SET(ip, whichfork,
ip               2220 fs/xfs/libxfs/xfs_bmap.c 				XFS_IFORK_NEXTENTS(ip, whichfork) - 1);
ip               2248 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &PREV);
ip               2276 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &PREV);
ip               2278 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &LEFT);
ip               2310 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &PREV);
ip               2311 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_insert(ip, icur, new, state);
ip               2312 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_NEXT_SET(ip, whichfork,
ip               2313 fs/xfs/libxfs/xfs_bmap.c 				XFS_IFORK_NEXTENTS(ip, whichfork) + 1);
ip               2344 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &PREV);
ip               2346 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &RIGHT);
ip               2376 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &PREV);
ip               2378 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_insert(ip, icur, new, state);
ip               2380 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_NEXT_SET(ip, whichfork,
ip               2381 fs/xfs/libxfs/xfs_bmap.c 				XFS_IFORK_NEXTENTS(ip, whichfork) + 1);
ip               2419 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &PREV);
ip               2421 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_insert(ip, icur, &r[1], state);
ip               2422 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_insert(ip, icur, &r[0], state);
ip               2424 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_NEXT_SET(ip, whichfork,
ip               2425 fs/xfs/libxfs/xfs_bmap.c 				XFS_IFORK_NEXTENTS(ip, whichfork) + 2);
ip               2473 fs/xfs/libxfs/xfs_bmap.c 	xfs_rmap_convert_extent(mp, tp, ip, whichfork, new);
ip               2476 fs/xfs/libxfs/xfs_bmap.c 	if (xfs_bmap_needs_btree(ip, whichfork)) {
ip               2480 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_bmap_extents_to_btree(tp, ip, &cur, 0,
ip               2493 fs/xfs/libxfs/xfs_bmap.c 	xfs_bmap_check_leaf_extents(*curp, ip, whichfork);
ip               2507 fs/xfs/libxfs/xfs_bmap.c 	xfs_inode_t		*ip,	/* incore inode pointer */
ip               2520 fs/xfs/libxfs/xfs_bmap.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip               2575 fs/xfs/libxfs/xfs_bmap.c 		newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp),
ip               2580 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_remove(ip, icur, state);
ip               2582 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &left);
ip               2595 fs/xfs/libxfs/xfs_bmap.c 		newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp),
ip               2601 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &left);
ip               2613 fs/xfs/libxfs/xfs_bmap.c 		newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp),
ip               2618 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &right);
ip               2628 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_insert(ip, icur, new, state);
ip               2633 fs/xfs/libxfs/xfs_bmap.c 		xfs_mod_fdblocks(ip->i_mount, (int64_t)(oldlen - newlen),
ip               2638 fs/xfs/libxfs/xfs_bmap.c 		xfs_mod_delalloc(ip->i_mount, (int64_t)newlen - oldlen);
ip               2648 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               2656 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip               2657 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               2725 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_remove(ip, icur, state);
ip               2727 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &left);
ip               2729 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_NEXT_SET(ip, whichfork,
ip               2730 fs/xfs/libxfs/xfs_bmap.c 			XFS_IFORK_NEXTENTS(ip, whichfork) - 1);
ip               2763 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &left);
ip               2790 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &right);
ip               2812 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_insert(ip, icur, new, state);
ip               2813 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_NEXT_SET(ip, whichfork,
ip               2814 fs/xfs/libxfs/xfs_bmap.c 			XFS_IFORK_NEXTENTS(ip, whichfork) + 1);
ip               2833 fs/xfs/libxfs/xfs_bmap.c 		xfs_rmap_map_extent(tp, ip, whichfork, new);
ip               2836 fs/xfs/libxfs/xfs_bmap.c 	if (xfs_bmap_needs_btree(ip, whichfork)) {
ip               2840 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_bmap_extents_to_btree(tp, ip, curp, 0,
ip               2852 fs/xfs/libxfs/xfs_bmap.c 	xfs_bmap_check_leaf_extents(cur, ip, whichfork);
ip               3058 fs/xfs/libxfs/xfs_bmap.c 	mp = ap->ip->i_mount;
ip               3060 fs/xfs/libxfs/xfs_bmap.c 	rt = XFS_IS_REALTIME_INODE(ap->ip) &&
ip               3260 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ap->ip->i_mount;
ip               3294 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ap->ip->i_mount;
ip               3349 fs/xfs/libxfs/xfs_bmap.c 			xfs_mod_delalloc(ap->ip->i_mount, -(int64_t)args->len);
ip               3361 fs/xfs/libxfs/xfs_bmap.c 		ap->ip->i_delayed_blks += args->len;
ip               3362 fs/xfs/libxfs/xfs_bmap.c 		xfs_trans_mod_dquot_byino(ap->tp, ap->ip, XFS_TRANS_DQ_RES_BLKS,
ip               3368 fs/xfs/libxfs/xfs_bmap.c 	ap->ip->i_d.di_nblocks += args->len;
ip               3369 fs/xfs/libxfs/xfs_bmap.c 	xfs_trans_log_inode(ap->tp, ap->ip, XFS_ILOG_CORE);
ip               3371 fs/xfs/libxfs/xfs_bmap.c 		ap->ip->i_delayed_blks -= args->len;
ip               3372 fs/xfs/libxfs/xfs_bmap.c 		xfs_mod_delalloc(ap->ip->i_mount, -(int64_t)args->len);
ip               3374 fs/xfs/libxfs/xfs_bmap.c 	xfs_trans_mod_dquot_byino(ap->tp, ap->ip,
ip               3403 fs/xfs/libxfs/xfs_bmap.c 	mp = ap->ip->i_mount;
ip               3413 fs/xfs/libxfs/xfs_bmap.c 		align = xfs_get_cowextsz_hint(ap->ip);
ip               3415 fs/xfs/libxfs/xfs_bmap.c 		align = xfs_get_extsz_hint(ap->ip);
ip               3430 fs/xfs/libxfs/xfs_bmap.c 		    xfs_inode_is_filestream(ap->ip)) {
ip               3431 fs/xfs/libxfs/xfs_bmap.c 			ag = xfs_filestream_lookup_ag(ap->ip);
ip               3435 fs/xfs/libxfs/xfs_bmap.c 			ap->blkno = XFS_INO_TO_FSB(mp, ap->ip->i_ino);
ip               3470 fs/xfs/libxfs/xfs_bmap.c 		    xfs_inode_is_filestream(ap->ip))
ip               3477 fs/xfs/libxfs/xfs_bmap.c 		if (xfs_inode_is_filestream(ap->ip))
ip               3558 fs/xfs/libxfs/xfs_bmap.c 		args.ip = ap->ip;
ip               3651 fs/xfs/libxfs/xfs_bmap.c 	if (XFS_IS_REALTIME_INODE(ap->ip) &&
ip               3795 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               3802 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               3816 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_SHARED|XFS_ILOCK_EXCL));
ip               3819 fs/xfs/libxfs/xfs_bmap.c 	    (XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_EXTENTS &&
ip               3820 fs/xfs/libxfs/xfs_bmap.c 	     XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_BTREE),
ip               3831 fs/xfs/libxfs/xfs_bmap.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip               3851 fs/xfs/libxfs/xfs_bmap.c 				__func__, ip->i_ino, whichfork);
ip               3857 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_iread_extents(NULL, ip, whichfork);
ip               3862 fs/xfs/libxfs/xfs_bmap.c 	if (!xfs_iext_lookup_extent(ip, ifp, bno, &icur, &got))
ip               3916 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               3925 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               3926 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip               3945 fs/xfs/libxfs/xfs_bmap.c 		xfs_extlen_t		extsz = xfs_get_cowextsz_hint(ip);
ip               3960 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_trans_reserve_quota_nblks(NULL, ip, (long)alen, 0,
ip               3969 fs/xfs/libxfs/xfs_bmap.c 	indlen = (xfs_extlen_t)xfs_bmap_worst_indlen(ip, alen);
ip               3981 fs/xfs/libxfs/xfs_bmap.c 	ip->i_delayed_blks += alen;
ip               3982 fs/xfs/libxfs/xfs_bmap.c 	xfs_mod_delalloc(ip->i_mount, alen + indlen);
ip               3989 fs/xfs/libxfs/xfs_bmap.c 	xfs_bmap_add_extent_hole_delay(ip, whichfork, icur, got);
ip               3997 fs/xfs/libxfs/xfs_bmap.c 		xfs_inode_set_eofblocks_tag(ip);
ip               3999 fs/xfs/libxfs/xfs_bmap.c 		xfs_inode_set_cowblocks_tag(ip);
ip               4007 fs/xfs/libxfs/xfs_bmap.c 		xfs_trans_unreserve_quota_nblks(NULL, ip, (long)alen, 0,
ip               4016 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = bma->ip->i_mount;
ip               4018 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(bma->ip, whichfork);
ip               4077 fs/xfs/libxfs/xfs_bmap.c 		bma->cur = xfs_bmbt_init_cursor(mp, bma->tp, bma->ip, whichfork);
ip               4109 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_bmap_add_extent_hole_real(bma->tp, bma->ip,
ip               4140 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(bma->ip, whichfork);
ip               4160 fs/xfs/libxfs/xfs_bmap.c 		bma->cur = xfs_bmbt_init_cursor(bma->ip->i_mount, bma->tp,
ip               4161 fs/xfs/libxfs/xfs_bmap.c 					bma->ip, whichfork);
ip               4171 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_zero_extent(bma->ip, mval->br_startblock,
ip               4177 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_bmap_add_extent_unwritten_real(bma->tp, bma->ip, whichfork,
ip               4214 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               4219 fs/xfs/libxfs/xfs_bmap.c 	if (XFS_IFORK_FORMAT(ip, fork) != XFS_DINODE_FMT_BTREE)
ip               4221 fs/xfs/libxfs/xfs_bmap.c 	return be16_to_cpu(XFS_IFORK_PTR(ip, fork)->if_broot->bb_level) + 1;
ip               4237 fs/xfs/libxfs/xfs_bmap.c 	    XFS_IFORK_FORMAT(bma->ip, whichfork) != XFS_DINODE_FMT_EXTENTS)
ip               4240 fs/xfs/libxfs/xfs_bmap.c 		 XFS_IFORK_FORMAT(bma->ip, whichfork) != XFS_DINODE_FMT_BTREE)
ip               4244 fs/xfs/libxfs/xfs_bmap.c 		xfs_trans_log_inode(bma->tp, bma->ip, bma->logflags);
ip               4258 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,		/* incore inode */
ip               4268 fs/xfs/libxfs/xfs_bmap.c 		.ip		= ip,
ip               4271 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               4299 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_LOCAL);
ip               4300 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip               4316 fs/xfs/libxfs/xfs_bmap.c 	    (XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_EXTENTS &&
ip               4317 fs/xfs/libxfs/xfs_bmap.c 	     XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_BTREE),
ip               4326 fs/xfs/libxfs/xfs_bmap.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip               4331 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_iread_extents(tp, ip, whichfork);
ip               4336 fs/xfs/libxfs/xfs_bmap.c 	if (!xfs_iext_lookup_extent(ip, ifp, bno, &bma.icur, &bma.got))
ip               4340 fs/xfs/libxfs/xfs_bmap.c 	bma.minleft = xfs_bmapi_minleft(tp, ip, whichfork);
ip               4432 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_bmap_btree_to_extents(tp, ip, bma.cur, &bma.logflags,
ip               4437 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_BTREE ||
ip               4438 fs/xfs/libxfs/xfs_bmap.c 	       XFS_IFORK_NEXTENTS(ip, whichfork) >
ip               4439 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_MAXEXT(ip, whichfork));
ip               4457 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               4463 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip               4464 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               4478 fs/xfs/libxfs/xfs_bmap.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               4479 fs/xfs/libxfs/xfs_bmap.c 	xfs_trans_ijoin(tp, ip, 0);
ip               4481 fs/xfs/libxfs/xfs_bmap.c 	if (!xfs_iext_lookup_extent(ip, ifp, offset_fsb, &bma.icur, &bma.got) ||
ip               4504 fs/xfs/libxfs/xfs_bmap.c 	bma.ip = ip;
ip               4508 fs/xfs/libxfs/xfs_bmap.c 	bma.total = XFS_EXTENTADD_SPACE_RES(ip->i_mount, XFS_DATA_FORK);
ip               4509 fs/xfs/libxfs/xfs_bmap.c 	bma.minleft = xfs_bmapi_minleft(tp, ip, whichfork);
ip               4524 fs/xfs/libxfs/xfs_bmap.c 	if (WARN_ON_ONCE(!xfs_valid_startblock(ip, bma.got.br_startblock)))
ip               4537 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_bmap_btree_to_extents(tp, ip, bma.cur, &bma.logflags,
ip               4544 fs/xfs/libxfs/xfs_bmap.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               4551 fs/xfs/libxfs/xfs_bmap.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               4558 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               4564 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               4572 fs/xfs/libxfs/xfs_bmap.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip               4575 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip               4582 fs/xfs/libxfs/xfs_bmap.c 	    (XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_EXTENTS &&
ip               4583 fs/xfs/libxfs/xfs_bmap.c 	     XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_BTREE),
ip               4593 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_iread_extents(tp, ip, whichfork);
ip               4598 fs/xfs/libxfs/xfs_bmap.c 	if (xfs_iext_lookup_extent(ip, ifp, bno, &icur, &got)) {
ip               4604 fs/xfs/libxfs/xfs_bmap.c 	ip->i_d.di_nblocks += len;
ip               4605 fs/xfs/libxfs/xfs_bmap.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip               4608 fs/xfs/libxfs/xfs_bmap.c 		cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork);
ip               4620 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_bmap_add_extent_hole_real(tp, ip, whichfork, &icur,
ip               4625 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_bmap_btree_to_extents(tp, ip, cur, &logflags, whichfork);
ip               4628 fs/xfs/libxfs/xfs_bmap.c 	if (ip->i_d.di_format != XFS_DINODE_FMT_EXTENTS)
ip               4630 fs/xfs/libxfs/xfs_bmap.c 	else if (ip->i_d.di_format != XFS_DINODE_FMT_BTREE)
ip               4634 fs/xfs/libxfs/xfs_bmap.c 		xfs_trans_log_inode(tp, ip, logflags);
ip               4727 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               4733 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               4734 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip               4745 fs/xfs/libxfs/xfs_bmap.c 	isrt = (whichfork == XFS_DATA_FORK) && XFS_IS_REALTIME_INODE(ip);
ip               4767 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_trans_reserve_quota_nblks(NULL, ip,
ip               4772 fs/xfs/libxfs/xfs_bmap.c 	ip->i_delayed_blks -= del->br_blockcount;
ip               4784 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_remove(ip, icur, state);
ip               4793 fs/xfs/libxfs/xfs_bmap.c 		da_new = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip,
ip               4796 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, got);
ip               4803 fs/xfs/libxfs/xfs_bmap.c 		da_new = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip,
ip               4806 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, got);
ip               4819 fs/xfs/libxfs/xfs_bmap.c 		got_indlen = xfs_bmap_worst_indlen(ip, got->br_blockcount);
ip               4822 fs/xfs/libxfs/xfs_bmap.c 		new_indlen = xfs_bmap_worst_indlen(ip, new.br_blockcount);
ip               4834 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, got);
ip               4836 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_insert(ip, icur, &new, state);
ip               4856 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               4861 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               4862 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, XFS_COW_FORK);
ip               4887 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_remove(ip, icur, state);
ip               4897 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, got);
ip               4904 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, got);
ip               4917 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, got);
ip               4919 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_insert(ip, icur, &new, state);
ip               4922 fs/xfs/libxfs/xfs_bmap.c 	ip->i_delayed_blks -= del->br_blockcount;
ip               4931 fs/xfs/libxfs/xfs_bmap.c 	xfs_inode_t		*ip,	/* incore inode pointer */
ip               4957 fs/xfs/libxfs/xfs_bmap.c 	mp = ip->i_mount;
ip               4960 fs/xfs/libxfs/xfs_bmap.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip               4980 fs/xfs/libxfs/xfs_bmap.c 	    XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_EXTENTS &&
ip               4981 fs/xfs/libxfs/xfs_bmap.c 	    XFS_IFORK_NEXTENTS(ip, whichfork) >=
ip               4982 fs/xfs/libxfs/xfs_bmap.c 			XFS_IFORK_MAXEXT(ip, whichfork) &&
ip               4987 fs/xfs/libxfs/xfs_bmap.c 	if (whichfork == XFS_DATA_FORK && XFS_IS_REALTIME_INODE(ip)) {
ip               5029 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_remove(ip, icur, state);
ip               5031 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_NEXT_SET(ip, whichfork,
ip               5032 fs/xfs/libxfs/xfs_bmap.c 			XFS_IFORK_NEXTENTS(ip, whichfork) - 1);
ip               5049 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &got);
ip               5063 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &got);
ip               5079 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_update_extent(ip, state, icur, &got);
ip               5123 fs/xfs/libxfs/xfs_bmap.c 				xfs_iext_update_extent(ip, state, icur, &old);
ip               5131 fs/xfs/libxfs/xfs_bmap.c 		XFS_IFORK_NEXT_SET(ip, whichfork,
ip               5132 fs/xfs/libxfs/xfs_bmap.c 			XFS_IFORK_NEXTENTS(ip, whichfork) + 1);
ip               5134 fs/xfs/libxfs/xfs_bmap.c 		xfs_iext_insert(ip, icur, &new, state);
ip               5139 fs/xfs/libxfs/xfs_bmap.c 	xfs_rmap_unmap_extent(tp, ip, whichfork, del);
ip               5145 fs/xfs/libxfs/xfs_bmap.c 		if (xfs_is_reflink_inode(ip) && whichfork == XFS_DATA_FORK) {
ip               5159 fs/xfs/libxfs/xfs_bmap.c 		ip->i_d.di_nblocks -= nblks;
ip               5164 fs/xfs/libxfs/xfs_bmap.c 		xfs_trans_mod_dquot_byino(tp, ip, qfield, (long)-nblks);
ip               5180 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,		/* incore inode */
ip               5207 fs/xfs/libxfs/xfs_bmap.c 	trace_xfs_bunmap(ip, start, len, flags, _RET_IP_);
ip               5211 fs/xfs/libxfs/xfs_bmap.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip               5213 fs/xfs/libxfs/xfs_bmap.c 	    XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_EXTENTS &&
ip               5214 fs/xfs/libxfs/xfs_bmap.c 	    XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_BTREE)) {
ip               5216 fs/xfs/libxfs/xfs_bmap.c 				 ip->i_mount);
ip               5219 fs/xfs/libxfs/xfs_bmap.c 	mp = ip->i_mount;
ip               5223 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip               5232 fs/xfs/libxfs/xfs_bmap.c 	if (tp && xfs_is_reflink_inode(ip) && whichfork == XFS_DATA_FORK)
ip               5238 fs/xfs/libxfs/xfs_bmap.c 	    (error = xfs_iread_extents(tp, ip, whichfork)))
ip               5245 fs/xfs/libxfs/xfs_bmap.c 	isrt = (whichfork == XFS_DATA_FORK) && XFS_IS_REALTIME_INODE(ip);
ip               5248 fs/xfs/libxfs/xfs_bmap.c 	if (!xfs_iext_lookup_extent_before(ip, ifp, &end, &icur, &got)) {
ip               5256 fs/xfs/libxfs/xfs_bmap.c 		ASSERT(XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_BTREE);
ip               5257 fs/xfs/libxfs/xfs_bmap.c 		cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork);
ip               5370 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmap_add_extent_unwritten_real(tp, ip,
ip               5427 fs/xfs/libxfs/xfs_bmap.c 						ip, whichfork, &icur, &cur,
ip               5436 fs/xfs/libxfs/xfs_bmap.c 						ip, whichfork, &icur, &cur,
ip               5446 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmap_del_extent_delay(ip, whichfork, &icur,
ip               5449 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmap_del_extent_real(ip, tp, &icur, cur,
ip               5482 fs/xfs/libxfs/xfs_bmap.c 	if (xfs_bmap_needs_btree(ip, whichfork)) {
ip               5484 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_bmap_extents_to_btree(tp, ip, &cur, 0,
ip               5488 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_bmap_btree_to_extents(tp, ip, cur, &logflags,
ip               5498 fs/xfs/libxfs/xfs_bmap.c 	    XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_EXTENTS)
ip               5501 fs/xfs/libxfs/xfs_bmap.c 		 XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_BTREE)
ip               5508 fs/xfs/libxfs/xfs_bmap.c 		xfs_trans_log_inode(tp, ip, logflags);
ip               5521 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               5530 fs/xfs/libxfs/xfs_bmap.c 	error = __xfs_bunmapi(tp, ip, bno, &len, flags, nexts);
ip               5574 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode		*ip,
ip               5586 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount		*mp = ip->i_mount;
ip               5590 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL));
ip               5591 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip               5601 fs/xfs/libxfs/xfs_bmap.c 	XFS_IFORK_NEXT_SET(ip, whichfork,
ip               5602 fs/xfs/libxfs/xfs_bmap.c 			   XFS_IFORK_NEXTENTS(ip, whichfork) - 1);
ip               5631 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_bmap_btree_to_extents(tp, ip, cur, logflags, whichfork);
ip               5636 fs/xfs/libxfs/xfs_bmap.c 	xfs_iext_remove(ip, icur, 0);
ip               5637 fs/xfs/libxfs/xfs_bmap.c 	xfs_iext_prev(XFS_IFORK_PTR(ip, whichfork), icur);
ip               5638 fs/xfs/libxfs/xfs_bmap.c 	xfs_iext_update_extent(ip, xfs_bmap_fork_to_state(whichfork), icur,
ip               5642 fs/xfs/libxfs/xfs_bmap.c 	xfs_rmap_unmap_extent(tp, ip, whichfork, got);
ip               5645 fs/xfs/libxfs/xfs_bmap.c 	xfs_rmap_map_extent(tp, ip, whichfork, &new);
ip               5652 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               5660 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               5681 fs/xfs/libxfs/xfs_bmap.c 	xfs_iext_update_extent(ip, xfs_bmap_fork_to_state(whichfork), icur,
ip               5685 fs/xfs/libxfs/xfs_bmap.c 	xfs_rmap_unmap_extent(tp, ip, whichfork, &prev);
ip               5686 fs/xfs/libxfs/xfs_bmap.c 	xfs_rmap_map_extent(tp, ip, whichfork, got);
ip               5693 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               5699 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               5700 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip               5709 fs/xfs/libxfs/xfs_bmap.c 	    (XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_EXTENTS &&
ip               5710 fs/xfs/libxfs/xfs_bmap.c 	     XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_BTREE),
ip               5719 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL));
ip               5722 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_iread_extents(tp, ip, whichfork);
ip               5728 fs/xfs/libxfs/xfs_bmap.c 		cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork);
ip               5732 fs/xfs/libxfs/xfs_bmap.c 	if (!xfs_iext_lookup_extent(ip, ifp, *next_fsb, &icur, &got)) {
ip               5747 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmse_merge(tp, ip, whichfork,
ip               5761 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_bmap_shift_update_extent(tp, ip, whichfork, &icur, &got,
ip               5777 fs/xfs/libxfs/xfs_bmap.c 		xfs_trans_log_inode(tp, ip, logflags);
ip               5784 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               5792 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL));
ip               5794 fs/xfs/libxfs/xfs_bmap.c 	if (XFS_FORCED_SHUTDOWN(ip->i_mount))
ip               5797 fs/xfs/libxfs/xfs_bmap.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               5798 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_bmap_last_extent(NULL, ip, XFS_DATA_FORK, &got, &is_empty);
ip               5802 fs/xfs/libxfs/xfs_bmap.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               5810 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               5817 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               5818 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip               5827 fs/xfs/libxfs/xfs_bmap.c 	    (XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_EXTENTS &&
ip               5828 fs/xfs/libxfs/xfs_bmap.c 	     XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_BTREE),
ip               5837 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL));
ip               5840 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_iread_extents(tp, ip, whichfork);
ip               5846 fs/xfs/libxfs/xfs_bmap.c 		cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork);
ip               5858 fs/xfs/libxfs/xfs_bmap.c 		if (!xfs_iext_lookup_extent(ip, ifp, *next_fsb, &icur, &got)) {
ip               5888 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_bmap_shift_update_extent(tp, ip, whichfork, &icur, &got,
ip               5904 fs/xfs/libxfs/xfs_bmap.c 		xfs_trans_log_inode(tp, ip, logflags);
ip               5917 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               5924 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount		*mp = ip->i_mount;
ip               5933 fs/xfs/libxfs/xfs_bmap.c 	    (XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_EXTENTS &&
ip               5934 fs/xfs/libxfs/xfs_bmap.c 	     XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_BTREE),
ip               5944 fs/xfs/libxfs/xfs_bmap.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip               5947 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_iread_extents(tp, ip, whichfork);
ip               5955 fs/xfs/libxfs/xfs_bmap.c 	if (!xfs_iext_lookup_extent(ip, ifp, split_fsb, &icur, &got) ||
ip               5966 fs/xfs/libxfs/xfs_bmap.c 		cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork);
ip               5975 fs/xfs/libxfs/xfs_bmap.c 	xfs_iext_update_extent(ip, xfs_bmap_fork_to_state(whichfork), &icur,
ip               5988 fs/xfs/libxfs/xfs_bmap.c 	xfs_iext_insert(ip, &icur, &new, 0);
ip               5989 fs/xfs/libxfs/xfs_bmap.c 	XFS_IFORK_NEXT_SET(ip, whichfork,
ip               5990 fs/xfs/libxfs/xfs_bmap.c 			   XFS_IFORK_NEXTENTS(ip, whichfork) + 1);
ip               6006 fs/xfs/libxfs/xfs_bmap.c 	if (xfs_bmap_needs_btree(ip, whichfork)) {
ip               6010 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_bmap_extents_to_btree(tp, ip, &cur, 0,
ip               6022 fs/xfs/libxfs/xfs_bmap.c 		xfs_trans_log_inode(tp, ip, logflags);
ip               6028 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode        *ip,
ip               6031 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount        *mp = ip->i_mount;
ip               6040 fs/xfs/libxfs/xfs_bmap.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               6041 fs/xfs/libxfs/xfs_bmap.c 	xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
ip               6043 fs/xfs/libxfs/xfs_bmap.c 	error = xfs_bmap_split_extent_at(tp, ip, split_fsb);
ip               6068 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode		*ip,
ip               6078 fs/xfs/libxfs/xfs_bmap.c 			ip->i_ino, whichfork,
ip               6086 fs/xfs/libxfs/xfs_bmap.c 	bi->bi_owner = ip;
ip               6098 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               6104 fs/xfs/libxfs/xfs_bmap.c 	__xfs_bmap_add(tp, XFS_BMAP_MAP, ip, XFS_DATA_FORK, PREV);
ip               6111 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               6117 fs/xfs/libxfs/xfs_bmap.c 	__xfs_bmap_add(tp, XFS_BMAP_UNMAP, ip, XFS_DATA_FORK, PREV);
ip               6127 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode		*ip,
ip               6142 fs/xfs/libxfs/xfs_bmap.c 			ip->i_ino, whichfork, startoff, *blockcount, state);
ip               6153 fs/xfs/libxfs/xfs_bmap.c 		error = xfs_bmapi_remap(tp, ip, startoff, *blockcount,
ip               6158 fs/xfs/libxfs/xfs_bmap.c 		error = __xfs_bunmapi(tp, ip, startoff, blockcount,
ip               6172 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_inode	*ip,
ip               6176 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               6180 fs/xfs/libxfs/xfs_bmap.c 	isrt = XFS_IS_REALTIME_INODE(ip);
ip                 23 fs/xfs/libxfs/xfs_bmap.h 	struct xfs_inode	*ip;	/* incore inode pointer */
ip                178 fs/xfs/libxfs/xfs_bmap.h #define xfs_valid_startblock(ip, startblock) \
ip                179 fs/xfs/libxfs/xfs_bmap.h 	((startblock) != 0 || XFS_IS_REALTIME_INODE(ip))
ip                183 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmap_add_attrfork(struct xfs_inode *ip, int size, int rsvd);
ip                184 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmap_set_attrforkoff(struct xfs_inode *ip, int size, int *version);
ip                186 fs/xfs/libxfs/xfs_bmap.h 		struct xfs_inode *ip, int whichfork);
ip                191 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmap_first_unused(struct xfs_trans *tp, struct xfs_inode *ip,
ip                193 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmap_last_before(struct xfs_trans *tp, struct xfs_inode *ip,
ip                195 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmap_last_offset(struct xfs_inode *ip, xfs_fileoff_t *unused,
ip                197 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmap_one_block(struct xfs_inode *ip, int whichfork);
ip                198 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmapi_read(struct xfs_inode *ip, xfs_fileoff_t bno,
ip                201 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmapi_write(struct xfs_trans *tp, struct xfs_inode *ip,
ip                204 fs/xfs/libxfs/xfs_bmap.h int	__xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip,
ip                207 fs/xfs/libxfs/xfs_bmap.h int	xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip,
ip                210 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmap_del_extent_delay(struct xfs_inode *ip, int whichfork,
ip                213 fs/xfs/libxfs/xfs_bmap.h void	xfs_bmap_del_extent_cow(struct xfs_inode *ip,
ip                216 fs/xfs/libxfs/xfs_bmap.h uint	xfs_default_attroffset(struct xfs_inode *ip);
ip                217 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmap_collapse_extents(struct xfs_trans *tp, struct xfs_inode *ip,
ip                220 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmap_can_insert_extents(struct xfs_inode *ip, xfs_fileoff_t off,
ip                222 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmap_insert_extents(struct xfs_trans *tp, struct xfs_inode *ip,
ip                225 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmap_split_extent(struct xfs_inode *ip, xfs_fileoff_t split_offset);
ip                226 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmapi_reserve_delalloc(struct xfs_inode *ip, int whichfork,
ip                230 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmapi_convert_delalloc(struct xfs_inode *ip, int whichfork,
ip                234 fs/xfs/libxfs/xfs_bmap.h 		struct xfs_inode *ip, int whichfork,
ip                261 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmap_finish_one(struct xfs_trans *tp, struct xfs_inode *ip,
ip                265 fs/xfs/libxfs/xfs_bmap.h void	xfs_bmap_map_extent(struct xfs_trans *tp, struct xfs_inode *ip,
ip                267 fs/xfs/libxfs/xfs_bmap.h void	xfs_bmap_unmap_extent(struct xfs_trans *tp, struct xfs_inode *ip,
ip                282 fs/xfs/libxfs/xfs_bmap.h xfs_failaddr_t xfs_bmap_validate_extent(struct xfs_inode *ip, int whichfork,
ip                285 fs/xfs/libxfs/xfs_bmap.h int	xfs_bmapi_remap(struct xfs_trans *tp, struct xfs_inode *ip,
ip                 30 fs/xfs/libxfs/xfs_bmap_btree.c 	struct xfs_inode	*ip,
ip                 36 fs/xfs/libxfs/xfs_bmap_btree.c 	struct xfs_mount	*mp = ip->i_mount;
ip                 44 fs/xfs/libxfs/xfs_bmap_btree.c 				 XFS_BTNUM_BMAP, 0, 0, ip->i_ino,
ip                169 fs/xfs/libxfs/xfs_bmap_btree.c 			cur->bc_private.b.ip, cur->bc_private.b.whichfork);
ip                186 fs/xfs/libxfs/xfs_bmap_btree.c 	       (dst->bc_private.b.ip->i_d.di_flags & XFS_DIFLAG_REALTIME));
ip                208 fs/xfs/libxfs/xfs_bmap_btree.c 	xfs_rmap_ino_bmbt_owner(&args.oinfo, cur->bc_private.b.ip->i_ino,
ip                263 fs/xfs/libxfs/xfs_bmap_btree.c 	cur->bc_private.b.ip->i_d.di_nblocks++;
ip                264 fs/xfs/libxfs/xfs_bmap_btree.c 	xfs_trans_log_inode(args.tp, cur->bc_private.b.ip, XFS_ILOG_CORE);
ip                265 fs/xfs/libxfs/xfs_bmap_btree.c 	xfs_trans_mod_dquot_byino(args.tp, cur->bc_private.b.ip,
ip                283 fs/xfs/libxfs/xfs_bmap_btree.c 	struct xfs_inode	*ip = cur->bc_private.b.ip;
ip                288 fs/xfs/libxfs/xfs_bmap_btree.c 	xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, cur->bc_private.b.whichfork);
ip                290 fs/xfs/libxfs/xfs_bmap_btree.c 	ip->i_d.di_nblocks--;
ip                292 fs/xfs/libxfs/xfs_bmap_btree.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip                293 fs/xfs/libxfs/xfs_bmap_btree.c 	xfs_trans_mod_dquot_byino(tp, ip, XFS_TRANS_DQ_BCOUNT, -1L);
ip                305 fs/xfs/libxfs/xfs_bmap_btree.c 		ifp = XFS_IFORK_PTR(cur->bc_private.b.ip,
ip                323 fs/xfs/libxfs/xfs_bmap_btree.c 		ifp = XFS_IFORK_PTR(cur->bc_private.b.ip,
ip                548 fs/xfs/libxfs/xfs_bmap_btree.c 	struct xfs_inode	*ip,		/* inode owning the btree */
ip                551 fs/xfs/libxfs/xfs_bmap_btree.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip                569 fs/xfs/libxfs/xfs_bmap_btree.c 	cur->bc_private.b.forksize = XFS_IFORK_SIZE(ip, whichfork);
ip                570 fs/xfs/libxfs/xfs_bmap_btree.c 	cur->bc_private.b.ip = ip;
ip                629 fs/xfs/libxfs/xfs_bmap_btree.c 	struct xfs_inode	*ip,
ip                640 fs/xfs/libxfs/xfs_bmap_btree.c 		ASSERT(ip->i_d.di_format == XFS_DINODE_FMT_BTREE);
ip                642 fs/xfs/libxfs/xfs_bmap_btree.c 		ASSERT(ip->i_d.di_aformat == XFS_DINODE_FMT_BTREE);
ip                644 fs/xfs/libxfs/xfs_bmap_btree.c 	cur = xfs_bmbt_init_cursor(ip->i_mount, tp, ip, whichfork);
ip                102 fs/xfs/libxfs/xfs_bmap_btree.h extern int xfs_bmbt_change_owner(struct xfs_trans *tp, struct xfs_inode *ip,
ip                239 fs/xfs/libxfs/xfs_btree.c 				cur->bc_private.b.ip->i_ino,
ip                659 fs/xfs/libxfs/xfs_btree.c 	ifp = XFS_IFORK_PTR(cur->bc_private.b.ip, cur->bc_private.b.whichfork);
ip               1204 fs/xfs/libxfs/xfs_btree.c 		owner = cur->bc_private.b.ip->i_ino;
ip               1454 fs/xfs/libxfs/xfs_btree.c 		xfs_trans_log_inode(cur->bc_tp, cur->bc_private.b.ip,
ip               1497 fs/xfs/libxfs/xfs_btree.c 		xfs_trans_log_inode(cur->bc_tp, cur->bc_private.b.ip,
ip               1566 fs/xfs/libxfs/xfs_btree.c 		xfs_trans_log_inode(cur->bc_tp, cur->bc_private.b.ip,
ip               1807 fs/xfs/libxfs/xfs_btree.c 			cur->bc_private.b.ip->i_ino)
ip               2993 fs/xfs/libxfs/xfs_btree.c 	xfs_iroot_realloc(cur->bc_private.b.ip,
ip               3160 fs/xfs/libxfs/xfs_btree.c 		struct xfs_inode *ip = cur->bc_private.b.ip;
ip               3164 fs/xfs/libxfs/xfs_btree.c 			xfs_iroot_realloc(ip, 1, cur->bc_private.b.whichfork);
ip               3174 fs/xfs/libxfs/xfs_btree.c 			xfs_trans_log_inode(cur->bc_tp, ip, logflags);
ip               3508 fs/xfs/libxfs/xfs_btree.c 	struct xfs_inode	*ip = cur->bc_private.b.ip;
ip               3509 fs/xfs/libxfs/xfs_btree.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip               3566 fs/xfs/libxfs/xfs_btree.c 		xfs_iroot_realloc(cur->bc_private.b.ip, index,
ip               3595 fs/xfs/libxfs/xfs_btree.c 	xfs_trans_log_inode(cur->bc_tp, ip,
ip               3764 fs/xfs/libxfs/xfs_btree.c 			xfs_iroot_realloc(cur->bc_private.b.ip, -1,
ip                215 fs/xfs/libxfs/xfs_btree.h 			struct xfs_inode *ip;	/* pointer to our inode */
ip                120 fs/xfs/libxfs/xfs_dir2_priv.h extern xfs_failaddr_t xfs_dir2_sf_verify(struct xfs_inode *ip);
ip                618 fs/xfs/libxfs/xfs_dir2_sf.c 	struct xfs_inode		*ip)
ip                620 fs/xfs/libxfs/xfs_dir2_sf.c 	struct xfs_mount		*mp = ip->i_mount;
ip                635 fs/xfs/libxfs/xfs_dir2_sf.c 	ASSERT(ip->i_d.di_format == XFS_DINODE_FMT_LOCAL);
ip                642 fs/xfs/libxfs/xfs_dir2_sf.c 	ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK);
ip                117 fs/xfs/libxfs/xfs_health.h void xfs_inode_mark_sick(struct xfs_inode *ip, unsigned int mask);
ip                118 fs/xfs/libxfs/xfs_health.h void xfs_inode_mark_healthy(struct xfs_inode *ip, unsigned int mask);
ip                119 fs/xfs/libxfs/xfs_health.h void xfs_inode_measure_sickness(struct xfs_inode *ip, unsigned int *sick,
ip                154 fs/xfs/libxfs/xfs_health.h xfs_inode_has_sickness(struct xfs_inode *ip, unsigned int mask)
ip                158 fs/xfs/libxfs/xfs_health.h 	xfs_inode_measure_sickness(ip, &sick, &checked);
ip                181 fs/xfs/libxfs/xfs_health.h xfs_inode_is_healthy(struct xfs_inode *ip)
ip                183 fs/xfs/libxfs/xfs_health.h 	return !xfs_inode_has_sickness(ip, -1U);
ip                188 fs/xfs/libxfs/xfs_health.h void xfs_bulkstat_health(struct xfs_inode *ip, struct xfs_bulkstat *bs);
ip                626 fs/xfs/libxfs/xfs_iext_tree.c 	struct xfs_inode	*ip,
ip                631 fs/xfs/libxfs/xfs_iext_tree.c 	struct xfs_ifork	*ifp = xfs_iext_state_to_fork(ip, state);
ip                665 fs/xfs/libxfs/xfs_iext_tree.c 	trace_xfs_iext_insert(ip, cur, state, _RET_IP_);
ip                863 fs/xfs/libxfs/xfs_iext_tree.c 	struct xfs_inode	*ip,
ip                867 fs/xfs/libxfs/xfs_iext_tree.c 	struct xfs_ifork	*ifp = xfs_iext_state_to_fork(ip, state);
ip                872 fs/xfs/libxfs/xfs_iext_tree.c 	trace_xfs_iext_remove(ip, cur, state, _RET_IP_);
ip                920 fs/xfs/libxfs/xfs_iext_tree.c 	struct xfs_inode	*ip,
ip                926 fs/xfs/libxfs/xfs_iext_tree.c 	XFS_STATS_INC(ip->i_mount, xs_look_exlist);
ip                961 fs/xfs/libxfs/xfs_iext_tree.c 	struct xfs_inode	*ip,
ip                968 fs/xfs/libxfs/xfs_iext_tree.c 	if (xfs_iext_lookup_extent(ip, ifp, *end - 1, cur, gotp) &&
ip                979 fs/xfs/libxfs/xfs_iext_tree.c 	struct xfs_inode	*ip,
ip                984 fs/xfs/libxfs/xfs_iext_tree.c 	struct xfs_ifork	*ifp = xfs_iext_state_to_fork(ip, state);
ip                998 fs/xfs/libxfs/xfs_iext_tree.c 	trace_xfs_bmap_pre_update(ip, cur, state, _RET_IP_);
ip               1000 fs/xfs/libxfs/xfs_iext_tree.c 	trace_xfs_bmap_post_update(ip, cur, state, _RET_IP_);
ip                202 fs/xfs/libxfs/xfs_inode_buf.c 	struct xfs_inode	*ip,
ip                205 fs/xfs/libxfs/xfs_inode_buf.c 	struct xfs_icdinode	*to = &ip->i_d;
ip                206 fs/xfs/libxfs/xfs_inode_buf.c 	struct inode		*inode = VFS_I(ip);
ip                268 fs/xfs/libxfs/xfs_inode_buf.c 	struct xfs_inode	*ip,
ip                272 fs/xfs/libxfs/xfs_inode_buf.c 	struct xfs_icdinode	*from = &ip->i_d;
ip                273 fs/xfs/libxfs/xfs_inode_buf.c 	struct inode		*inode = VFS_I(ip);
ip                313 fs/xfs/libxfs/xfs_inode_buf.c 		to->di_ino = cpu_to_be64(ip->i_ino);
ip                316 fs/xfs/libxfs/xfs_inode_buf.c 		uuid_copy(&to->di_uuid, &ip->i_mount->m_sb.sb_meta_uuid);
ip                616 fs/xfs/libxfs/xfs_inode_buf.c 	xfs_inode_t	*ip,
ip                627 fs/xfs/libxfs/xfs_inode_buf.c 	error = xfs_imap(mp, tp, ip->i_ino, &ip->i_imap, iget_flags);
ip                636 fs/xfs/libxfs/xfs_inode_buf.c 		memset(&ip->i_d, 0, sizeof(ip->i_d));
ip                637 fs/xfs/libxfs/xfs_inode_buf.c 		VFS_I(ip)->i_generation = prandom_u32();
ip                638 fs/xfs/libxfs/xfs_inode_buf.c 		ip->i_d.di_version = 3;
ip                645 fs/xfs/libxfs/xfs_inode_buf.c 	error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &dip, &bp, 0, iget_flags);
ip                650 fs/xfs/libxfs/xfs_inode_buf.c 	fa = xfs_dinode_verify(mp, ip->i_ino, dip);
ip                652 fs/xfs/libxfs/xfs_inode_buf.c 		xfs_inode_verifier_error(ip, -EFSCORRUPTED, "dinode", dip,
ip                666 fs/xfs/libxfs/xfs_inode_buf.c 		xfs_inode_from_disk(ip, dip);
ip                667 fs/xfs/libxfs/xfs_inode_buf.c 		error = xfs_iformat_fork(ip, dip);
ip                680 fs/xfs/libxfs/xfs_inode_buf.c 		ip->i_d.di_version = dip->di_version;
ip                681 fs/xfs/libxfs/xfs_inode_buf.c 		VFS_I(ip)->i_generation = be32_to_cpu(dip->di_gen);
ip                682 fs/xfs/libxfs/xfs_inode_buf.c 		ip->i_d.di_flushiter = be16_to_cpu(dip->di_flushiter);
ip                691 fs/xfs/libxfs/xfs_inode_buf.c 		VFS_I(ip)->i_mode = 0;
ip                694 fs/xfs/libxfs/xfs_inode_buf.c 	ASSERT(ip->i_d.di_version >= 2);
ip                695 fs/xfs/libxfs/xfs_inode_buf.c 	ip->i_delayed_blks = 0;
ip                 59 fs/xfs/libxfs/xfs_inode_buf.h void	xfs_inode_to_disk(struct xfs_inode *ip, struct xfs_dinode *to,
ip                 61 fs/xfs/libxfs/xfs_inode_buf.h void	xfs_inode_from_disk(struct xfs_inode *ip, struct xfs_dinode *from);
ip                 44 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_inode	*ip,
ip                 47 fs/xfs/libxfs/xfs_inode_fork.c 	struct inode		*inode = VFS_I(ip);
ip                 58 fs/xfs/libxfs/xfs_inode_fork.c 		ip->i_d.di_size = 0;
ip                 69 fs/xfs/libxfs/xfs_inode_fork.c 			error = xfs_iformat_local(ip, dip, XFS_DATA_FORK, size);
ip                 72 fs/xfs/libxfs/xfs_inode_fork.c 			error = xfs_iformat_extents(ip, dip, XFS_DATA_FORK);
ip                 75 fs/xfs/libxfs/xfs_inode_fork.c 			error = xfs_iformat_btree(ip, dip, XFS_DATA_FORK);
ip                 88 fs/xfs/libxfs/xfs_inode_fork.c 	if (xfs_is_reflink_inode(ip)) {
ip                 89 fs/xfs/libxfs/xfs_inode_fork.c 		ASSERT(ip->i_cowfp == NULL);
ip                 90 fs/xfs/libxfs/xfs_inode_fork.c 		xfs_ifork_init_cow(ip);
ip                 96 fs/xfs/libxfs/xfs_inode_fork.c 	ASSERT(ip->i_afp == NULL);
ip                 97 fs/xfs/libxfs/xfs_inode_fork.c 	ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, KM_NOFS);
ip                104 fs/xfs/libxfs/xfs_inode_fork.c 		error = xfs_iformat_local(ip, dip, XFS_ATTR_FORK, size);
ip                107 fs/xfs/libxfs/xfs_inode_fork.c 		error = xfs_iformat_extents(ip, dip, XFS_ATTR_FORK);
ip                110 fs/xfs/libxfs/xfs_inode_fork.c 		error = xfs_iformat_btree(ip, dip, XFS_ATTR_FORK);
ip                117 fs/xfs/libxfs/xfs_inode_fork.c 		kmem_zone_free(xfs_ifork_zone, ip->i_afp);
ip                118 fs/xfs/libxfs/xfs_inode_fork.c 		ip->i_afp = NULL;
ip                119 fs/xfs/libxfs/xfs_inode_fork.c 		if (ip->i_cowfp)
ip                120 fs/xfs/libxfs/xfs_inode_fork.c 			kmem_zone_free(xfs_ifork_zone, ip->i_cowfp);
ip                121 fs/xfs/libxfs/xfs_inode_fork.c 		ip->i_cowfp = NULL;
ip                122 fs/xfs/libxfs/xfs_inode_fork.c 		xfs_idestroy_fork(ip, XFS_DATA_FORK);
ip                129 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_inode	*ip,
ip                134 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip                144 fs/xfs/libxfs/xfs_inode_fork.c 	zero_terminate = S_ISLNK(VFS_I(ip)->i_mode);
ip                168 fs/xfs/libxfs/xfs_inode_fork.c 	xfs_inode_t	*ip,
ip                178 fs/xfs/libxfs/xfs_inode_fork.c 	if (unlikely(size > XFS_DFORK_SIZE(dip, ip->i_mount, whichfork))) {
ip                179 fs/xfs/libxfs/xfs_inode_fork.c 		xfs_warn(ip->i_mount,
ip                181 fs/xfs/libxfs/xfs_inode_fork.c 			(unsigned long long) ip->i_ino, size,
ip                182 fs/xfs/libxfs/xfs_inode_fork.c 			XFS_DFORK_SIZE(dip, ip->i_mount, whichfork));
ip                183 fs/xfs/libxfs/xfs_inode_fork.c 		xfs_inode_verifier_error(ip, -EFSCORRUPTED,
ip                189 fs/xfs/libxfs/xfs_inode_fork.c 	xfs_init_local_fork(ip, whichfork, XFS_DFORK_PTR(dip, whichfork), size);
ip                199 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_inode	*ip,
ip                203 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_mount	*mp = ip->i_mount;
ip                204 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip                218 fs/xfs/libxfs/xfs_inode_fork.c 		xfs_warn(ip->i_mount, "corrupt inode %Lu ((a)extents = %d).",
ip                219 fs/xfs/libxfs/xfs_inode_fork.c 			(unsigned long long) ip->i_ino, nex);
ip                220 fs/xfs/libxfs/xfs_inode_fork.c 		xfs_inode_verifier_error(ip, -EFSCORRUPTED,
ip                237 fs/xfs/libxfs/xfs_inode_fork.c 			fa = xfs_bmap_validate_extent(ip, whichfork, &new);
ip                239 fs/xfs/libxfs/xfs_inode_fork.c 				xfs_inode_verifier_error(ip, -EFSCORRUPTED,
ip                245 fs/xfs/libxfs/xfs_inode_fork.c 			xfs_iext_insert(ip, &icur, &new, state);
ip                246 fs/xfs/libxfs/xfs_inode_fork.c 			trace_xfs_read_extent(ip, &icur, state, _THIS_IP_);
ip                264 fs/xfs/libxfs/xfs_inode_fork.c 	xfs_inode_t		*ip,
ip                268 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_mount	*mp = ip->i_mount;
ip                276 fs/xfs/libxfs/xfs_inode_fork.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip                289 fs/xfs/libxfs/xfs_inode_fork.c 	if (unlikely(XFS_IFORK_NEXTENTS(ip, whichfork) <=
ip                290 fs/xfs/libxfs/xfs_inode_fork.c 					XFS_IFORK_MAXEXT(ip, whichfork) ||
ip                294 fs/xfs/libxfs/xfs_inode_fork.c 		     XFS_IFORK_NEXTENTS(ip, whichfork) > ip->i_d.di_nblocks) ||
ip                297 fs/xfs/libxfs/xfs_inode_fork.c 					(unsigned long long) ip->i_ino);
ip                298 fs/xfs/libxfs/xfs_inode_fork.c 		xfs_inode_verifier_error(ip, -EFSCORRUPTED,
ip                311 fs/xfs/libxfs/xfs_inode_fork.c 	xfs_bmdr_to_bmbt(ip, dfp, XFS_DFORK_SIZE(dip, ip->i_mount, whichfork),
ip                342 fs/xfs/libxfs/xfs_inode_fork.c 	xfs_inode_t		*ip,
ip                346 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_mount	*mp = ip->i_mount;
ip                362 fs/xfs/libxfs/xfs_inode_fork.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip                392 fs/xfs/libxfs/xfs_inode_fork.c 			XFS_IFORK_SIZE(ip, whichfork));
ip                416 fs/xfs/libxfs/xfs_inode_fork.c 			XFS_BMBT_BLOCK_LEN(ip->i_mount));
ip                447 fs/xfs/libxfs/xfs_inode_fork.c 			XFS_IFORK_SIZE(ip, whichfork));
ip                469 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_inode	*ip,
ip                473 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip                477 fs/xfs/libxfs/xfs_inode_fork.c 	ASSERT(new_size <= XFS_IFORK_SIZE(ip, whichfork));
ip                501 fs/xfs/libxfs/xfs_inode_fork.c 	xfs_inode_t	*ip,
ip                506 fs/xfs/libxfs/xfs_inode_fork.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip                518 fs/xfs/libxfs/xfs_inode_fork.c 	if (XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_LOCAL) {
ip                528 fs/xfs/libxfs/xfs_inode_fork.c 		kmem_zone_free(xfs_ifork_zone, ip->i_afp);
ip                529 fs/xfs/libxfs/xfs_inode_fork.c 		ip->i_afp = NULL;
ip                531 fs/xfs/libxfs/xfs_inode_fork.c 		kmem_zone_free(xfs_ifork_zone, ip->i_cowfp);
ip                532 fs/xfs/libxfs/xfs_inode_fork.c 		ip->i_cowfp = NULL;
ip                547 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_inode	*ip,
ip                552 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip                557 fs/xfs/libxfs/xfs_inode_fork.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL | XFS_ILOCK_SHARED));
ip                563 fs/xfs/libxfs/xfs_inode_fork.c 		ASSERT(xfs_bmap_validate_extent(ip, whichfork, &rec) == NULL);
ip                565 fs/xfs/libxfs/xfs_inode_fork.c 		trace_xfs_write_extent(ip, &icur, state, _RET_IP_);
ip                587 fs/xfs/libxfs/xfs_inode_fork.c 	xfs_inode_t		*ip,
ip                604 fs/xfs/libxfs/xfs_inode_fork.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip                614 fs/xfs/libxfs/xfs_inode_fork.c 	mp = ip->i_mount;
ip                615 fs/xfs/libxfs/xfs_inode_fork.c 	switch (XFS_IFORK_FORMAT(ip, whichfork)) {
ip                620 fs/xfs/libxfs/xfs_inode_fork.c 			ASSERT(ifp->if_bytes <= XFS_IFORK_SIZE(ip, whichfork));
ip                630 fs/xfs/libxfs/xfs_inode_fork.c 			ASSERT(XFS_IFORK_NEXTENTS(ip, whichfork) > 0);
ip                631 fs/xfs/libxfs/xfs_inode_fork.c 			(void)xfs_iextents_copy(ip, (xfs_bmbt_rec_t *)cp,
ip                641 fs/xfs/libxfs/xfs_inode_fork.c 			        XFS_IFORK_SIZE(ip, whichfork));
ip                652 fs/xfs/libxfs/xfs_inode_fork.c 					linux_to_xfs_dev_t(VFS_I(ip)->i_rdev));
ip                665 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_inode	*ip,
ip                669 fs/xfs/libxfs/xfs_inode_fork.c 		return ip->i_cowfp;
ip                671 fs/xfs/libxfs/xfs_inode_fork.c 		return ip->i_afp;
ip                672 fs/xfs/libxfs/xfs_inode_fork.c 	return &ip->i_df;
ip                680 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_inode	*ip)
ip                682 fs/xfs/libxfs/xfs_inode_fork.c 	if (ip->i_cowfp)
ip                685 fs/xfs/libxfs/xfs_inode_fork.c 	ip->i_cowfp = kmem_zone_zalloc(xfs_ifork_zone,
ip                687 fs/xfs/libxfs/xfs_inode_fork.c 	ip->i_cowfp->if_flags = XFS_IFEXTENTS;
ip                688 fs/xfs/libxfs/xfs_inode_fork.c 	ip->i_cformat = XFS_DINODE_FMT_EXTENTS;
ip                689 fs/xfs/libxfs/xfs_inode_fork.c 	ip->i_cnextents = 0;
ip                702 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_inode	*ip,
ip                706 fs/xfs/libxfs/xfs_inode_fork.c 	if (ip->i_d.di_format != XFS_DINODE_FMT_LOCAL)
ip                710 fs/xfs/libxfs/xfs_inode_fork.c 	switch (VFS_I(ip)->i_mode & S_IFMT) {
ip                712 fs/xfs/libxfs/xfs_inode_fork.c 		return ops->verify_dir(ip);
ip                714 fs/xfs/libxfs/xfs_inode_fork.c 		return ops->verify_symlink(ip);
ip                723 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_inode	*ip,
ip                727 fs/xfs/libxfs/xfs_inode_fork.c 	if (ip->i_d.di_aformat != XFS_DINODE_FMT_LOCAL)
ip                729 fs/xfs/libxfs/xfs_inode_fork.c 	if (!XFS_IFORK_PTR(ip, XFS_ATTR_FORK))
ip                731 fs/xfs/libxfs/xfs_inode_fork.c 	return ops->verify_attr(ip);
ip                 39 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_Q(ip)			((ip)->i_d.di_forkoff != 0)
ip                 40 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_BOFF(ip)		((int)((ip)->i_d.di_forkoff << 3))
ip                 42 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_PTR(ip,w)		\
ip                 44 fs/xfs/libxfs/xfs_inode_fork.h 		&(ip)->i_df : \
ip                 46 fs/xfs/libxfs/xfs_inode_fork.h 			(ip)->i_afp : \
ip                 47 fs/xfs/libxfs/xfs_inode_fork.h 			(ip)->i_cowfp))
ip                 48 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_DSIZE(ip) \
ip                 49 fs/xfs/libxfs/xfs_inode_fork.h 	(XFS_IFORK_Q(ip) ? \
ip                 50 fs/xfs/libxfs/xfs_inode_fork.h 		XFS_IFORK_BOFF(ip) : \
ip                 51 fs/xfs/libxfs/xfs_inode_fork.h 		XFS_LITINO((ip)->i_mount, (ip)->i_d.di_version))
ip                 52 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_ASIZE(ip) \
ip                 53 fs/xfs/libxfs/xfs_inode_fork.h 	(XFS_IFORK_Q(ip) ? \
ip                 54 fs/xfs/libxfs/xfs_inode_fork.h 		XFS_LITINO((ip)->i_mount, (ip)->i_d.di_version) - \
ip                 55 fs/xfs/libxfs/xfs_inode_fork.h 			XFS_IFORK_BOFF(ip) : \
ip                 57 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_SIZE(ip,w) \
ip                 59 fs/xfs/libxfs/xfs_inode_fork.h 		XFS_IFORK_DSIZE(ip) : \
ip                 61 fs/xfs/libxfs/xfs_inode_fork.h 			XFS_IFORK_ASIZE(ip) : \
ip                 63 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_FORMAT(ip,w) \
ip                 65 fs/xfs/libxfs/xfs_inode_fork.h 		(ip)->i_d.di_format : \
ip                 67 fs/xfs/libxfs/xfs_inode_fork.h 			(ip)->i_d.di_aformat : \
ip                 68 fs/xfs/libxfs/xfs_inode_fork.h 			(ip)->i_cformat))
ip                 69 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_FMT_SET(ip,w,n) \
ip                 71 fs/xfs/libxfs/xfs_inode_fork.h 		((ip)->i_d.di_format = (n)) : \
ip                 73 fs/xfs/libxfs/xfs_inode_fork.h 			((ip)->i_d.di_aformat = (n)) : \
ip                 74 fs/xfs/libxfs/xfs_inode_fork.h 			((ip)->i_cformat = (n))))
ip                 75 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_NEXTENTS(ip,w) \
ip                 77 fs/xfs/libxfs/xfs_inode_fork.h 		(ip)->i_d.di_nextents : \
ip                 79 fs/xfs/libxfs/xfs_inode_fork.h 			(ip)->i_d.di_anextents : \
ip                 80 fs/xfs/libxfs/xfs_inode_fork.h 			(ip)->i_cnextents))
ip                 81 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_NEXT_SET(ip,w,n) \
ip                 83 fs/xfs/libxfs/xfs_inode_fork.h 		((ip)->i_d.di_nextents = (n)) : \
ip                 85 fs/xfs/libxfs/xfs_inode_fork.h 			((ip)->i_d.di_anextents = (n)) : \
ip                 86 fs/xfs/libxfs/xfs_inode_fork.h 			((ip)->i_cnextents = (n))))
ip                 87 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_MAXEXT(ip, w) \
ip                 88 fs/xfs/libxfs/xfs_inode_fork.h 	(XFS_IFORK_SIZE(ip, w) / sizeof(xfs_bmbt_rec_t))
ip                 90 fs/xfs/libxfs/xfs_inode_fork.h struct xfs_ifork *xfs_iext_state_to_fork(struct xfs_inode *ip, int state);
ip                110 fs/xfs/libxfs/xfs_inode_fork.h bool		xfs_iext_lookup_extent(struct xfs_inode *ip,
ip                114 fs/xfs/libxfs/xfs_inode_fork.h bool		xfs_iext_lookup_extent_before(struct xfs_inode *ip,
ip                121 fs/xfs/libxfs/xfs_inode_fork.h void		xfs_iext_update_extent(struct xfs_inode *ip, int state,
ip                175 fs/xfs/libxfs/xfs_inode_fork.h extern void xfs_ifork_init_cow(struct xfs_inode *ip);
ip                186 fs/xfs/libxfs/xfs_inode_fork.h xfs_failaddr_t xfs_ifork_verify_data(struct xfs_inode *ip,
ip                188 fs/xfs/libxfs/xfs_inode_fork.h xfs_failaddr_t xfs_ifork_verify_attr(struct xfs_inode *ip,
ip               2303 fs/xfs/libxfs/xfs_rmap.c 	struct xfs_inode	*ip,
ip               2310 fs/xfs/libxfs/xfs_rmap.c 	__xfs_rmap_add(tp, xfs_is_reflink_inode(ip) ?
ip               2311 fs/xfs/libxfs/xfs_rmap.c 			XFS_RMAP_MAP_SHARED : XFS_RMAP_MAP, ip->i_ino,
ip               2319 fs/xfs/libxfs/xfs_rmap.c 	struct xfs_inode	*ip,
ip               2326 fs/xfs/libxfs/xfs_rmap.c 	__xfs_rmap_add(tp, xfs_is_reflink_inode(ip) ?
ip               2327 fs/xfs/libxfs/xfs_rmap.c 			XFS_RMAP_UNMAP_SHARED : XFS_RMAP_UNMAP, ip->i_ino,
ip               2341 fs/xfs/libxfs/xfs_rmap.c 	struct xfs_inode	*ip,
ip               2348 fs/xfs/libxfs/xfs_rmap.c 	__xfs_rmap_add(tp, xfs_is_reflink_inode(ip) ?
ip               2349 fs/xfs/libxfs/xfs_rmap.c 			XFS_RMAP_CONVERT_SHARED : XFS_RMAP_CONVERT, ip->i_ino,
ip                165 fs/xfs/libxfs/xfs_rmap.h void xfs_rmap_map_extent(struct xfs_trans *tp, struct xfs_inode *ip,
ip                167 fs/xfs/libxfs/xfs_rmap.h void xfs_rmap_unmap_extent(struct xfs_trans *tp, struct xfs_inode *ip,
ip                170 fs/xfs/libxfs/xfs_rmap.h 		struct xfs_inode *ip, int whichfork,
ip                 62 fs/xfs/libxfs/xfs_rtbitmap.c 	xfs_inode_t	*ip;		/* bitmap or summary inode */
ip                 67 fs/xfs/libxfs/xfs_rtbitmap.c 	ip = issum ? mp->m_rsumip : mp->m_rbmip;
ip                 69 fs/xfs/libxfs/xfs_rtbitmap.c 	error = xfs_bmapi_read(ip, block, 1, &map, &nmap, XFS_DATA_FORK);
ip                135 fs/xfs/libxfs/xfs_shared.h 				 struct xfs_inode *ip, struct xfs_ifork *ifp);
ip                136 fs/xfs/libxfs/xfs_shared.h xfs_failaddr_t xfs_symlink_shortform_verify(struct xfs_inode *ip);
ip                168 fs/xfs/libxfs/xfs_symlink_remote.c 	struct xfs_inode	*ip,
ip                171 fs/xfs/libxfs/xfs_symlink_remote.c 	struct xfs_mount	*mp = ip->i_mount;
ip                193 fs/xfs/libxfs/xfs_symlink_remote.c 	buf += xfs_symlink_hdr_set(mp, ip->i_ino, 0, ifp->if_bytes, bp);
ip                205 fs/xfs/libxfs/xfs_symlink_remote.c 	struct xfs_inode	*ip)
ip                212 fs/xfs/libxfs/xfs_symlink_remote.c 	ASSERT(ip->i_d.di_format == XFS_DINODE_FMT_LOCAL);
ip                213 fs/xfs/libxfs/xfs_symlink_remote.c 	ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK);
ip                 27 fs/xfs/libxfs/xfs_trans_inode.c 	struct xfs_inode	*ip,
ip                 32 fs/xfs/libxfs/xfs_trans_inode.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip                 33 fs/xfs/libxfs/xfs_trans_inode.c 	if (ip->i_itemp == NULL)
ip                 34 fs/xfs/libxfs/xfs_trans_inode.c 		xfs_inode_item_init(ip, ip->i_mount);
ip                 35 fs/xfs/libxfs/xfs_trans_inode.c 	iip = ip->i_itemp;
ip                 54 fs/xfs/libxfs/xfs_trans_inode.c 	struct xfs_inode	*ip,
ip                 57 fs/xfs/libxfs/xfs_trans_inode.c 	struct inode		*inode = VFS_I(ip);
ip                 61 fs/xfs/libxfs/xfs_trans_inode.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip                 70 fs/xfs/libxfs/xfs_trans_inode.c 		ip->i_d.di_crtime.t_sec = (int32_t)tv.tv_sec;
ip                 71 fs/xfs/libxfs/xfs_trans_inode.c 		ip->i_d.di_crtime.t_nsec = (int32_t)tv.tv_nsec;
ip                 87 fs/xfs/libxfs/xfs_trans_inode.c 	xfs_inode_t	*ip,
ip                 90 fs/xfs/libxfs/xfs_trans_inode.c 	struct inode	*inode = VFS_I(ip);
ip                 92 fs/xfs/libxfs/xfs_trans_inode.c 	ASSERT(ip->i_itemp != NULL);
ip                 93 fs/xfs/libxfs/xfs_trans_inode.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip                114 fs/xfs/libxfs/xfs_trans_inode.c 	ip->i_itemp->ili_fsync_fields |= flags;
ip                125 fs/xfs/libxfs/xfs_trans_inode.c 	if (!test_and_set_bit(XFS_LI_DIRTY, &ip->i_itemp->ili_item.li_flags) &&
ip                126 fs/xfs/libxfs/xfs_trans_inode.c 	    IS_I_VERSION(VFS_I(ip))) {
ip                127 fs/xfs/libxfs/xfs_trans_inode.c 		if (inode_maybe_inc_iversion(VFS_I(ip), flags & XFS_ILOG_CORE))
ip                140 fs/xfs/libxfs/xfs_trans_inode.c 	flags |= ip->i_itemp->ili_last_fields;
ip                141 fs/xfs/libxfs/xfs_trans_inode.c 	ip->i_itemp->ili_fields |= flags;
ip                147 fs/xfs/libxfs/xfs_trans_inode.c 	struct xfs_inode	*ip)
ip                151 fs/xfs/libxfs/xfs_trans_inode.c 	xfs_trans_log_inode(*tpp, ip, XFS_ILOG_CORE);
ip                154 fs/xfs/libxfs/xfs_trans_inode.c 		xfs_trans_ijoin(*tpp, ip, 0);
ip                 25 fs/xfs/scrub/alloc.c 	struct xfs_inode	*ip)
ip                 27 fs/xfs/scrub/alloc.c 	return xchk_setup_ag_btree(sc, ip, false);
ip                 73 fs/xfs/scrub/attr.c 	struct xfs_inode	*ip)
ip                 88 fs/xfs/scrub/attr.c 	return xchk_setup_inode_contents(sc, ip, 0);
ip                480 fs/xfs/scrub/attr.c 	if (!xfs_inode_hasattr(sc->ip))
ip                494 fs/xfs/scrub/attr.c 	sx.context.dp = sc->ip;
ip                 30 fs/xfs/scrub/bmap.c 	struct xfs_inode	*ip)
ip                 34 fs/xfs/scrub/bmap.c 	error = xchk_get_inode(sc, ip);
ip                 39 fs/xfs/scrub/bmap.c 	xfs_ilock(sc->ip, sc->ilock_flags);
ip                 46 fs/xfs/scrub/bmap.c 	if (S_ISREG(VFS_I(sc->ip)->i_mode) &&
ip                 48 fs/xfs/scrub/bmap.c 		inode_dio_wait(VFS_I(sc->ip));
ip                 49 fs/xfs/scrub/bmap.c 		error = filemap_write_and_wait(VFS_I(sc->ip)->i_mapping);
ip                 59 fs/xfs/scrub/bmap.c 	xfs_ilock(sc->ip, XFS_ILOCK_EXCL);
ip                162 fs/xfs/scrub/bmap.c 		owner = info->sc->ip->i_ino;
ip                218 fs/xfs/scrub/bmap.c 	struct xfs_inode	*ip,
ip                229 fs/xfs/scrub/bmap.c 	struct xfs_inode	*ip,
ip                253 fs/xfs/scrub/bmap.c 		if (xfs_is_reflink_inode(info->sc->ip))
ip                275 fs/xfs/scrub/bmap.c 	struct xfs_inode	*ip,
ip                279 fs/xfs/scrub/bmap.c 	struct xfs_mount	*mp = ip->i_mount;
ip                282 fs/xfs/scrub/bmap.c 	if (!S_ISDIR(VFS_I(ip)->i_mode) && info->whichfork != XFS_ATTR_FORK)
ip                297 fs/xfs/scrub/bmap.c 	struct xfs_inode	*ip,
ip                313 fs/xfs/scrub/bmap.c 	xchk_bmap_dirattr_extent(ip, info, irec);
ip                359 fs/xfs/scrub/bmap.c 		xchk_bmap_rt_iextent_xref(ip, info, irec);
ip                361 fs/xfs/scrub/bmap.c 		xchk_bmap_iextent_xref(ip, info, irec);
ip                377 fs/xfs/scrub/bmap.c 	struct xfs_inode	*ip = bs->cur->bc_private.b.ip;
ip                380 fs/xfs/scrub/bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, info->whichfork);
ip                393 fs/xfs/scrub/bmap.c 			if (owner != ip->i_ino)
ip                410 fs/xfs/scrub/bmap.c 	if (!xfs_iext_lookup_extent(ip, ifp, irec.br_startoff, &icur,
ip                429 fs/xfs/scrub/bmap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(sc->ip, whichfork);
ip                431 fs/xfs/scrub/bmap.c 	struct xfs_inode	*ip = sc->ip;
ip                438 fs/xfs/scrub/bmap.c 		error = xfs_iread_extents(sc->tp, ip, whichfork);
ip                444 fs/xfs/scrub/bmap.c 	cur = xfs_bmbt_init_cursor(mp, sc->tp, ip, whichfork);
ip                445 fs/xfs/scrub/bmap.c 	xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork);
ip                472 fs/xfs/scrub/bmap.c 	if (rec->rm_owner != sc->ip->i_ino)
ip                481 fs/xfs/scrub/bmap.c 	ifp = XFS_IFORK_PTR(sc->ip, sbcri->whichfork);
ip                487 fs/xfs/scrub/bmap.c 	have_map = xfs_iext_lookup_extent(sc->ip, ifp, rec->rm_offset,
ip                579 fs/xfs/scrub/bmap.c 	if (XFS_IS_REALTIME_INODE(sc->ip) && whichfork == XFS_DATA_FORK)
ip                591 fs/xfs/scrub/bmap.c 		size = i_size_read(VFS_I(sc->ip));
ip                594 fs/xfs/scrub/bmap.c 		size = XFS_IFORK_Q(sc->ip);
ip                600 fs/xfs/scrub/bmap.c 	if (XFS_IFORK_FORMAT(sc->ip, whichfork) != XFS_DINODE_FMT_BTREE &&
ip                601 fs/xfs/scrub/bmap.c 	    (size == 0 || XFS_IFORK_NEXTENTS(sc->ip, whichfork) > 0))
ip                629 fs/xfs/scrub/bmap.c 	struct xfs_inode	*ip = sc->ip;
ip                635 fs/xfs/scrub/bmap.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip                637 fs/xfs/scrub/bmap.c 	info.is_rt = whichfork == XFS_DATA_FORK && XFS_IS_REALTIME_INODE(ip);
ip                639 fs/xfs/scrub/bmap.c 	info.is_shared = whichfork == XFS_DATA_FORK && xfs_is_reflink_inode(ip);
ip                648 fs/xfs/scrub/bmap.c 		if (!xfs_is_reflink_inode(ip)) {
ip                649 fs/xfs/scrub/bmap.c 			xchk_ino_set_corrupt(sc, sc->ip->i_ino);
ip                658 fs/xfs/scrub/bmap.c 			xchk_ino_set_corrupt(sc, sc->ip->i_ino);
ip                666 fs/xfs/scrub/bmap.c 	switch (XFS_IFORK_FORMAT(ip, whichfork)) {
ip                697 fs/xfs/scrub/bmap.c 	error = xfs_bmap_last_offset(ip, &endoff, whichfork);
ip                703 fs/xfs/scrub/bmap.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip                715 fs/xfs/scrub/bmap.c 		error = xchk_bmap_iextent(ip, &info, &irec);
ip                749 fs/xfs/scrub/bmap.c 	if (!xfs_is_reflink_inode(sc->ip))
ip                 39 fs/xfs/scrub/btree.c 		trace_xchk_deadlock_retry(sc->ip, sc->sm, *error);
ip                 77 fs/xfs/scrub/common.c 		trace_xchk_deadlock_retry(sc->ip, sc->sm, *error);
ip                130 fs/xfs/scrub/common.c 		trace_xchk_deadlock_retry(sc->ip, sc->sm, *error);
ip                614 fs/xfs/scrub/common.c 	struct xfs_inode	*ip)
ip                626 fs/xfs/scrub/common.c 	struct xfs_inode	*ip,
ip                644 fs/xfs/scrub/common.c 	error = xchk_setup_fs(sc, ip);
ip                677 fs/xfs/scrub/common.c 	struct xfs_inode	*ip = NULL;
ip                682 fs/xfs/scrub/common.c 		sc->ip = ip_in;
ip                690 fs/xfs/scrub/common.c 			XFS_IGET_UNTRUSTED | XFS_IGET_DONTCACHE, 0, &ip);
ip                724 fs/xfs/scrub/common.c 	if (VFS_I(ip)->i_generation != sc->sm->sm_gen) {
ip                725 fs/xfs/scrub/common.c 		xfs_irele(ip);
ip                729 fs/xfs/scrub/common.c 	sc->ip = ip;
ip                737 fs/xfs/scrub/common.c 	struct xfs_inode	*ip,
ip                742 fs/xfs/scrub/common.c 	error = xchk_get_inode(sc, ip);
ip                748 fs/xfs/scrub/common.c 	xfs_ilock(sc->ip, sc->ilock_flags);
ip                753 fs/xfs/scrub/common.c 	xfs_ilock(sc->ip, XFS_ILOCK_EXCL);
ip                838 fs/xfs/scrub/common.c 	if (sc->ip->i_d.di_flags & XFS_DIFLAG_REALTIME) {
ip                839 fs/xfs/scrub/common.c 		xchk_ino_set_corrupt(sc, sc->ip->i_ino);
ip                844 fs/xfs/scrub/common.c 	if (xfs_is_reflink_inode(sc->ip)) {
ip                845 fs/xfs/scrub/common.c 		xchk_ino_set_corrupt(sc, sc->ip->i_ino);
ip                850 fs/xfs/scrub/common.c 	if (xfs_inode_hasattr(sc->ip)) {
ip                851 fs/xfs/scrub/common.c 		xchk_ino_set_corrupt(sc, sc->ip->i_ino);
ip                865 fs/xfs/scrub/common.c 		error = xfs_reflink_inode_has_shared_extents(sc->tp, sc->ip,
ip                871 fs/xfs/scrub/common.c 			xchk_ino_set_corrupt(sc, sc->ip->i_ino);
ip                886 fs/xfs/scrub/common.c 	struct xfs_inode	*ip,
ip                892 fs/xfs/scrub/common.c 		if (xfs_ilock_nowait(ip, lock_mode))
ip                 75 fs/xfs/scrub/common.h int xchk_setup_fs(struct xfs_scrub *sc, struct xfs_inode *ip);
ip                 77 fs/xfs/scrub/common.h 			       struct xfs_inode *ip);
ip                 79 fs/xfs/scrub/common.h 				struct xfs_inode *ip);
ip                 81 fs/xfs/scrub/common.h 			      struct xfs_inode *ip);
ip                 83 fs/xfs/scrub/common.h 				  struct xfs_inode *ip);
ip                 85 fs/xfs/scrub/common.h 			  struct xfs_inode *ip);
ip                 87 fs/xfs/scrub/common.h 			       struct xfs_inode *ip);
ip                 89 fs/xfs/scrub/common.h 				    struct xfs_inode *ip);
ip                 91 fs/xfs/scrub/common.h 			      struct xfs_inode *ip);
ip                 93 fs/xfs/scrub/common.h 			  struct xfs_inode *ip);
ip                 95 fs/xfs/scrub/common.h 			    struct xfs_inode *ip);
ip                 97 fs/xfs/scrub/common.h 			   struct xfs_inode *ip);
ip                 99 fs/xfs/scrub/common.h int xchk_setup_rt(struct xfs_scrub *sc, struct xfs_inode *ip);
ip                102 fs/xfs/scrub/common.h xchk_setup_rt(struct xfs_scrub *sc, struct xfs_inode *ip)
ip                108 fs/xfs/scrub/common.h int xchk_setup_quota(struct xfs_scrub *sc, struct xfs_inode *ip);
ip                111 fs/xfs/scrub/common.h xchk_setup_quota(struct xfs_scrub *sc, struct xfs_inode *ip)
ip                116 fs/xfs/scrub/common.h int xchk_setup_fscounters(struct xfs_scrub *sc, struct xfs_inode *ip);
ip                130 fs/xfs/scrub/common.h int xchk_setup_ag_btree(struct xfs_scrub *sc, struct xfs_inode *ip,
ip                133 fs/xfs/scrub/common.h int xchk_setup_inode_contents(struct xfs_scrub *sc, struct xfs_inode *ip,
ip                148 fs/xfs/scrub/common.h int xchk_ilock_inverted(struct xfs_inode *ip, uint lock_mode);
ip                 43 fs/xfs/scrub/dabtree.c 		trace_xchk_deadlock_retry(sc->ip, sc->sm, *error);
ip                337 fs/xfs/scrub/dabtree.c 	struct xfs_inode		*ip = ds->dargs.dp;
ip                390 fs/xfs/scrub/dabtree.c 	if (xfs_sb_version_hascrc(&ip->i_mount->m_sb)) {
ip                392 fs/xfs/scrub/dabtree.c 		if (owner != ip->i_ino)
ip                417 fs/xfs/scrub/dabtree.c 		blk->hashval = xfs_dir2_leaf_lasthash(ip, blk->bp, pmaxrecs);
ip                426 fs/xfs/scrub/dabtree.c 		blk->hashval = xfs_dir2_leaf_lasthash(ip, blk->bp, pmaxrecs);
ip                436 fs/xfs/scrub/dabtree.c 		ip->d_ops->node_hdr_from_disk(&nodehdr, node);
ip                437 fs/xfs/scrub/dabtree.c 		btree = ip->d_ops->node_tree_p(node);
ip                488 fs/xfs/scrub/dabtree.c 	if (XFS_IFORK_FORMAT(sc->ip, whichfork) != XFS_DINODE_FMT_EXTENTS &&
ip                489 fs/xfs/scrub/dabtree.c 	    XFS_IFORK_FORMAT(sc->ip, whichfork) != XFS_DINODE_FMT_BTREE)
ip                493 fs/xfs/scrub/dabtree.c 	ds.dargs.dp = sc->ip;
ip                 26 fs/xfs/scrub/dir.c 	struct xfs_inode	*ip)
ip                 28 fs/xfs/scrub/dir.c 	return xchk_setup_inode_contents(sc, ip, 0);
ip                 51 fs/xfs/scrub/dir.c 	struct xfs_inode	*ip;
ip                 70 fs/xfs/scrub/dir.c 	error = xfs_iget(mp, sdc->sc->tp, inum, 0, 0, &ip);
ip                 77 fs/xfs/scrub/dir.c 			xfs_mode_to_ftype(VFS_I(ip)->i_mode));
ip                 80 fs/xfs/scrub/dir.c 	xfs_irele(ip);
ip                103 fs/xfs/scrub/dir.c 	struct xfs_inode	*ip;
ip                111 fs/xfs/scrub/dir.c 	ip = sdc->sc->ip;
ip                112 fs/xfs/scrub/dir.c 	mp = ip->i_mount;
ip                133 fs/xfs/scrub/dir.c 		if (ino != ip->i_ino)
ip                144 fs/xfs/scrub/dir.c 		if (ip->i_ino == mp->m_sb.sb_rootino && ino != ip->i_ino)
ip                154 fs/xfs/scrub/dir.c 	error = xfs_dir_lookup(sdc->sc->tp, ip, &xname, &lookup_ino, NULL);
ip                333 fs/xfs/scrub/dir.c 	d_ops = sc->ip->d_ops;
ip                339 fs/xfs/scrub/dir.c 		error = xfs_dir3_block_read(sc->tp, sc->ip, &bp);
ip                342 fs/xfs/scrub/dir.c 		error = xfs_dir3_data_read(sc->tp, sc->ip, lblk, -1, &bp);
ip                461 fs/xfs/scrub/dir.c 	dfp = sc->ip->d_ops->data_bestfree_p(dbp->b_addr);
ip                483 fs/xfs/scrub/dir.c 	const struct xfs_dir_ops	*d_ops = sc->ip->d_ops;
ip                495 fs/xfs/scrub/dir.c 	error = xfs_dir3_leaf_read(sc->tp, sc->ip, lblk, -1, &bp);
ip                518 fs/xfs/scrub/dir.c 	if (bestcount != xfs_dir2_byte_to_db(geo, sc->ip->i_d.di_size)) {
ip                554 fs/xfs/scrub/dir.c 		error = xfs_dir3_data_read(sc->tp, sc->ip,
ip                585 fs/xfs/scrub/dir.c 	error = xfs_dir2_free_read(sc->tp, sc->ip, lblk, &bp);
ip                598 fs/xfs/scrub/dir.c 	sc->ip->d_ops->free_hdr_from_disk(&freehdr, bp->b_addr);
ip                599 fs/xfs/scrub/dir.c 	bestp = sc->ip->d_ops->free_bests_p(bp->b_addr);
ip                606 fs/xfs/scrub/dir.c 		error = xfs_dir3_data_read(sc->tp, sc->ip,
ip                641 fs/xfs/scrub/dir.c 	if (sc->ip->i_d.di_format != XFS_DINODE_FMT_EXTENTS &&
ip                642 fs/xfs/scrub/dir.c 	    sc->ip->i_d.di_format != XFS_DINODE_FMT_BTREE)
ip                645 fs/xfs/scrub/dir.c 	ifp = XFS_IFORK_PTR(sc->ip, XFS_DATA_FORK);
ip                651 fs/xfs/scrub/dir.c 	args.dp = sc->ip;
ip                659 fs/xfs/scrub/dir.c 	found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got);
ip                696 fs/xfs/scrub/dir.c 		found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got);
ip                703 fs/xfs/scrub/dir.c 	if (xfs_iext_lookup_extent(sc->ip, ifp, leaf_lblk, &icur, &got) &&
ip                722 fs/xfs/scrub/dir.c 	found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got);
ip                760 fs/xfs/scrub/dir.c 		found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got);
ip                780 fs/xfs/scrub/dir.c 	if (!S_ISDIR(VFS_I(sc->ip)->i_mode))
ip                784 fs/xfs/scrub/dir.c 	if (sc->ip->i_d.di_size < xfs_dir2_sf_hdr_size(0)) {
ip                785 fs/xfs/scrub/dir.c 		xchk_ino_set_corrupt(sc, sc->ip->i_ino);
ip                810 fs/xfs/scrub/dir.c 			sc->ip->i_d.di_size);
ip                830 fs/xfs/scrub/dir.c 	xfs_iunlock(sc->ip, XFS_ILOCK_EXCL);
ip                832 fs/xfs/scrub/dir.c 		error = xfs_readdir(sc->tp, sc->ip, &sdc.dir_iter, bufsize);
ip                123 fs/xfs/scrub/fscounters.c 	struct xfs_inode	*ip)
ip                146 fs/xfs/scrub/health.c 		if (!sc->ip)
ip                149 fs/xfs/scrub/health.c 			xfs_inode_mark_sick(sc->ip, sc->sick_mask);
ip                151 fs/xfs/scrub/health.c 			xfs_inode_mark_healthy(sc->ip, sc->sick_mask);
ip                 33 fs/xfs/scrub/ialloc.c 	struct xfs_inode	*ip)
ip                 35 fs/xfs/scrub/ialloc.c 	return xchk_setup_ag_btree(sc, ip, sc->flags & XCHK_TRY_HARDER);
ip                 32 fs/xfs/scrub/inode.c 	struct xfs_inode	*ip)
ip                 40 fs/xfs/scrub/inode.c 	error = xchk_get_inode(sc, ip);
ip                 53 fs/xfs/scrub/inode.c 	xfs_ilock(sc->ip, sc->ilock_flags);
ip                 58 fs/xfs/scrub/inode.c 	xfs_ilock(sc->ip, XFS_ILOCK_EXCL);
ip                250 fs/xfs/scrub/inode.c 		if (dip->di_mode == 0 && sc->ip)
ip                476 fs/xfs/scrub/inode.c 	error = xfs_bmap_count_blocks(sc->tp, sc->ip, XFS_DATA_FORK,
ip                481 fs/xfs/scrub/inode.c 		xchk_ino_xref_set_corrupt(sc, sc->ip->i_ino);
ip                483 fs/xfs/scrub/inode.c 	error = xfs_bmap_count_blocks(sc->tp, sc->ip, XFS_ATTR_FORK,
ip                488 fs/xfs/scrub/inode.c 		xchk_ino_xref_set_corrupt(sc, sc->ip->i_ino);
ip                492 fs/xfs/scrub/inode.c 		xchk_ino_xref_set_corrupt(sc, sc->ip->i_ino);
ip                543 fs/xfs/scrub/inode.c 	error = xfs_reflink_inode_has_shared_extents(sc->tp, sc->ip,
ip                548 fs/xfs/scrub/inode.c 	if (xfs_is_reflink_inode(sc->ip) && !has_shared)
ip                550 fs/xfs/scrub/inode.c 	else if (!xfs_is_reflink_inode(sc->ip) && has_shared)
ip                567 fs/xfs/scrub/inode.c 	if (!sc->ip) {
ip                573 fs/xfs/scrub/inode.c 	xfs_inode_to_disk(sc->ip, &di, 0);
ip                574 fs/xfs/scrub/inode.c 	xchk_dinode(sc, &di, sc->ip->i_ino);
ip                583 fs/xfs/scrub/inode.c 	if (S_ISREG(VFS_I(sc->ip)->i_mode))
ip                584 fs/xfs/scrub/inode.c 		xchk_inode_check_reflink_iflag(sc, sc->ip->i_ino);
ip                586 fs/xfs/scrub/inode.c 	xchk_inode_xref(sc, sc->ip->i_ino, &di);
ip                 24 fs/xfs/scrub/parent.c 	struct xfs_inode	*ip)
ip                 26 fs/xfs/scrub/parent.c 	return xchk_setup_inode_contents(sc, ip, 0);
ip                 67 fs/xfs/scrub/parent.c 		.ino = sc->ip->i_ino,
ip                132 fs/xfs/scrub/parent.c 	if (sc->ip->i_ino == dnum) {
ip                141 fs/xfs/scrub/parent.c 	expected_nlink = VFS_I(sc->ip)->i_nlink == 0 ? 0 : 1;
ip                165 fs/xfs/scrub/parent.c 	if (dp == sc->ip || !S_ISDIR(VFS_I(dp)->i_mode)) {
ip                193 fs/xfs/scrub/parent.c 	xfs_iunlock(sc->ip, sc->ilock_flags);
ip                206 fs/xfs/scrub/parent.c 	error = xchk_ilock_inverted(sc->ip, XFS_IOLOCK_EXCL);
ip                216 fs/xfs/scrub/parent.c 	expected_nlink = VFS_I(sc->ip)->i_nlink == 0 ? 0 : 1;
ip                219 fs/xfs/scrub/parent.c 	error = xfs_dir_lookup(sc->tp, sc->ip, &xfs_name_dotdot, &dnum, NULL);
ip                262 fs/xfs/scrub/parent.c 	if (!S_ISDIR(VFS_I(sc->ip)->i_mode))
ip                266 fs/xfs/scrub/parent.c 	if (!xfs_verify_dir_ino(mp, sc->ip->i_ino)) {
ip                279 fs/xfs/scrub/parent.c 	xfs_iunlock(sc->ip, XFS_ILOCK_EXCL | XFS_MMAPLOCK_EXCL);
ip                282 fs/xfs/scrub/parent.c 	error = xfs_dir_lookup(sc->tp, sc->ip, &xfs_name_dotdot, &dnum, NULL);
ip                291 fs/xfs/scrub/parent.c 	if (sc->ip == mp->m_rootip) {
ip                292 fs/xfs/scrub/parent.c 		if (sc->ip->i_ino != mp->m_sb.sb_rootino ||
ip                293 fs/xfs/scrub/parent.c 		    sc->ip->i_ino != dnum)
ip                 41 fs/xfs/scrub/quota.c 	struct xfs_inode	*ip)
ip                 56 fs/xfs/scrub/quota.c 	error = xchk_setup_fs(sc, ip);
ip                 59 fs/xfs/scrub/quota.c 	sc->ip = xfs_quota_inode(sc->mp, dqtype);
ip                 60 fs/xfs/scrub/quota.c 	xfs_ilock(sc->ip, XFS_ILOCK_EXCL);
ip                203 fs/xfs/scrub/quota.c 	ifp = XFS_IFORK_PTR(sc->ip, XFS_DATA_FORK);
ip                248 fs/xfs/scrub/quota.c 	xfs_iunlock(sc->ip, sc->ilock_flags);
ip                254 fs/xfs/scrub/quota.c 	xfs_ilock(sc->ip, sc->ilock_flags);
ip                 23 fs/xfs/scrub/refcount.c 	struct xfs_inode	*ip)
ip                 25 fs/xfs/scrub/refcount.c 	return xchk_setup_ag_btree(sc, ip, false);
ip                 40 fs/xfs/scrub/repair.c 	struct xfs_inode	*ip,
ip                 45 fs/xfs/scrub/repair.c 	trace_xrep_attempt(ip, sc->sm, error);
ip                 52 fs/xfs/scrub/repair.c 	trace_xrep_done(ip, sc->sm, error);
ip                541 fs/xfs/scrub/repair.c 	if (sc->ip) {
ip                582 fs/xfs/scrub/repair.c 	if (sc->ip)
ip                583 fs/xfs/scrub/repair.c 		return xfs_trans_roll_inode(&sc->tp, sc->ip);
ip                608 fs/xfs/scrub/repair.c 		ASSERT(sc->ip != NULL ||
ip                931 fs/xfs/scrub/repair.c 	error = xfs_qm_dqattach_locked(sc->ip, false);
ip                938 fs/xfs/scrub/repair.c 				(unsigned long long)sc->ip->i_ino, error);
ip                939 fs/xfs/scrub/repair.c 		if (XFS_IS_UQUOTA_ON(sc->mp) && !sc->ip->i_udquot)
ip                941 fs/xfs/scrub/repair.c 		if (XFS_IS_GQUOTA_ON(sc->mp) && !sc->ip->i_gdquot)
ip                943 fs/xfs/scrub/repair.c 		if (XFS_IS_PQUOTA_ON(sc->mp) && !sc->ip->i_pdquot)
ip                 18 fs/xfs/scrub/repair.h int xrep_attempt(struct xfs_inode *ip, struct xfs_scrub *sc);
ip                 66 fs/xfs/scrub/repair.h 	struct xfs_inode	*ip,
ip                 25 fs/xfs/scrub/rmap.c 	struct xfs_inode	*ip)
ip                 27 fs/xfs/scrub/rmap.c 	return xchk_setup_ag_btree(sc, ip, false);
ip                 23 fs/xfs/scrub/rtbitmap.c 	struct xfs_inode	*ip)
ip                 27 fs/xfs/scrub/rtbitmap.c 	error = xchk_setup_fs(sc, ip);
ip                 32 fs/xfs/scrub/rtbitmap.c 	sc->ip = sc->mp->m_rbmip;
ip                 33 fs/xfs/scrub/rtbitmap.c 	xfs_ilock(sc->ip, sc->ilock_flags);
ip                 87 fs/xfs/scrub/rtbitmap.c 	struct xfs_inode	*old_ip = sc->ip;
ip                 98 fs/xfs/scrub/rtbitmap.c 	sc->ip = rsumip;
ip                100 fs/xfs/scrub/rtbitmap.c 	xfs_ilock(sc->ip, sc->ilock_flags);
ip                111 fs/xfs/scrub/rtbitmap.c 	xfs_iunlock(sc->ip, sc->ilock_flags);
ip                113 fs/xfs/scrub/rtbitmap.c 	sc->ip = old_ip;
ip                162 fs/xfs/scrub/scrub.c 	if (sc->ip) {
ip                164 fs/xfs/scrub/scrub.c 			xfs_iunlock(sc->ip, sc->ilock_flags);
ip                165 fs/xfs/scrub/scrub.c 		if (sc->ip != ip_in &&
ip                166 fs/xfs/scrub/scrub.c 		    !xfs_internal_inum(sc->mp, sc->ip->i_ino))
ip                167 fs/xfs/scrub/scrub.c 			xfs_irele(sc->ip);
ip                168 fs/xfs/scrub/scrub.c 		sc->ip = NULL;
ip                457 fs/xfs/scrub/scrub.c 	struct xfs_inode		*ip,
ip                461 fs/xfs/scrub/scrub.c 		.mp			= ip->i_mount,
ip                467 fs/xfs/scrub/scrub.c 	struct xfs_mount		*mp = ip->i_mount;
ip                473 fs/xfs/scrub/scrub.c 	trace_xchk_start(ip, sm, error);
ip                493 fs/xfs/scrub/scrub.c 	error = sc.ops->setup(&sc, ip);
ip                505 fs/xfs/scrub/scrub.c 		error = xchk_teardown(&sc, ip, 0);
ip                539 fs/xfs/scrub/scrub.c 		error = xrep_attempt(ip, &sc);
ip                546 fs/xfs/scrub/scrub.c 			error = xchk_teardown(&sc, ip, 0);
ip                558 fs/xfs/scrub/scrub.c 	error = xchk_teardown(&sc, ip, error);
ip                560 fs/xfs/scrub/scrub.c 	trace_xchk_done(ip, sm, error);
ip                 62 fs/xfs/scrub/scrub.h 	struct xfs_inode		*ip;
ip                 22 fs/xfs/scrub/symlink.c 	struct xfs_inode	*ip)
ip                 29 fs/xfs/scrub/symlink.c 	return xchk_setup_inode_contents(sc, ip, 0);
ip                 38 fs/xfs/scrub/symlink.c 	struct xfs_inode	*ip = sc->ip;
ip                 43 fs/xfs/scrub/symlink.c 	if (!S_ISLNK(VFS_I(ip)->i_mode))
ip                 45 fs/xfs/scrub/symlink.c 	ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK);
ip                 46 fs/xfs/scrub/symlink.c 	len = ip->i_d.di_size;
ip                 56 fs/xfs/scrub/symlink.c 		if (len > XFS_IFORK_DSIZE(ip) ||
ip                 57 fs/xfs/scrub/symlink.c 		    len > strnlen(ifp->if_u1.if_data, XFS_IFORK_DSIZE(ip)))
ip                 63 fs/xfs/scrub/symlink.c 	error = xfs_readlink_bmap_ilocked(sc->ip, sc->buf);
ip                 27 fs/xfs/scrub/trace.c 		return XFS_INO_TO_FSB(cur->bc_mp, cur->bc_private.b.ip->i_ino);
ip                 83 fs/xfs/scrub/trace.h 	TP_PROTO(struct xfs_inode *ip, struct xfs_scrub_metadata *sm,
ip                 85 fs/xfs/scrub/trace.h 	TP_ARGS(ip, sm, error),
ip                 97 fs/xfs/scrub/trace.h 		__entry->dev = ip->i_mount->m_super->s_dev;
ip                 98 fs/xfs/scrub/trace.h 		__entry->ino = ip->i_ino;
ip                118 fs/xfs/scrub/trace.h 	TP_PROTO(struct xfs_inode *ip, struct xfs_scrub_metadata *sm, \
ip                120 fs/xfs/scrub/trace.h 	TP_ARGS(ip, sm, error))
ip                171 fs/xfs/scrub/trace.h 		__entry->dev = sc->ip->i_mount->m_super->s_dev;
ip                172 fs/xfs/scrub/trace.h 		__entry->ino = sc->ip->i_ino;
ip                277 fs/xfs/scrub/trace.h 		__entry->dev = sc->ip->i_mount->m_super->s_dev;
ip                278 fs/xfs/scrub/trace.h 		__entry->ino = sc->ip->i_ino;
ip                381 fs/xfs/scrub/trace.h 		__entry->ino = sc->ip->i_ino;
ip                461 fs/xfs/scrub/trace.h 		__entry->ino = sc->ip->i_ino;
ip                 10 fs/xfs/scrub/xfs_scrub.h # define xfs_scrub_metadata(ip, sm)	(-ENOTTY)
ip                 12 fs/xfs/scrub/xfs_scrub.h int xfs_scrub_metadata(struct xfs_inode *ip, struct xfs_scrub_metadata *sm);
ip                113 fs/xfs/xfs_acl.c 	struct xfs_inode *ip = XFS_I(inode);
ip                120 fs/xfs/xfs_acl.c 	trace_xfs_get_acl(ip);
ip                137 fs/xfs/xfs_acl.c 	len = XFS_ACL_MAX_SIZE(ip->i_mount);
ip                138 fs/xfs/xfs_acl.c 	error = xfs_attr_get(ip, ea_name, (unsigned char **)&xfs_acl, &len,
ip                149 fs/xfs/xfs_acl.c 					XFS_ACL_MAX_ENTRIES(ip->i_mount));
ip                158 fs/xfs/xfs_acl.c 	struct xfs_inode *ip = XFS_I(inode);
ip                177 fs/xfs/xfs_acl.c 		int len = XFS_ACL_MAX_SIZE(ip->i_mount);
ip                187 fs/xfs/xfs_acl.c 			 (XFS_ACL_MAX_ENTRIES(ip->i_mount) - acl->a_count);
ip                189 fs/xfs/xfs_acl.c 		error = xfs_attr_set(ip, ea_name, (unsigned char *)xfs_acl,
ip                197 fs/xfs/xfs_acl.c 		error = xfs_attr_remove(ip, ea_name, ATTR_ROOT);
ip                 36 fs/xfs/xfs_aops.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                 37 fs/xfs/xfs_aops.c 	struct xfs_mount	*mp = ip->i_mount;
ip                 39 fs/xfs/xfs_aops.c 	if (XFS_IS_REALTIME_INODE(ip))
ip                 49 fs/xfs/xfs_aops.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                 50 fs/xfs/xfs_aops.c 	struct xfs_mount	*mp = ip->i_mount;
ip                 52 fs/xfs/xfs_aops.c 	if (XFS_IS_REALTIME_INODE(ip))
ip                160 fs/xfs/xfs_aops.c 	struct xfs_inode	*ip,
ip                167 fs/xfs/xfs_aops.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                168 fs/xfs/xfs_aops.c 	isize = xfs_new_eof(ip, offset + size);
ip                170 fs/xfs/xfs_aops.c 		xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                175 fs/xfs/xfs_aops.c 	trace_xfs_setfilesize(ip, offset, size);
ip                177 fs/xfs/xfs_aops.c 	ip->i_d.di_size = isize;
ip                178 fs/xfs/xfs_aops.c 	xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
ip                179 fs/xfs/xfs_aops.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip                186 fs/xfs/xfs_aops.c 	struct xfs_inode	*ip,
ip                190 fs/xfs/xfs_aops.c 	struct xfs_mount	*mp = ip->i_mount;
ip                198 fs/xfs/xfs_aops.c 	return __xfs_setfilesize(ip, tp, offset, size);
ip                206 fs/xfs/xfs_aops.c 	struct xfs_inode	*ip = XFS_I(ioend->io_inode);
ip                215 fs/xfs/xfs_aops.c 	__sb_writers_acquired(VFS_I(ip)->i_sb, SB_FREEZE_FS);
ip                223 fs/xfs/xfs_aops.c 	return __xfs_setfilesize(ip, tp, ioend->io_offset, ioend->io_size);
ip                234 fs/xfs/xfs_aops.c 	struct xfs_inode	*ip = XFS_I(ioend->io_inode);
ip                250 fs/xfs/xfs_aops.c 	if (XFS_FORCED_SHUTDOWN(ip->i_mount)) {
ip                261 fs/xfs/xfs_aops.c 			xfs_reflink_cancel_cow_range(ip, offset, size, true);
ip                269 fs/xfs/xfs_aops.c 		error = xfs_reflink_end_cow(ip, offset, size);
ip                271 fs/xfs/xfs_aops.c 		error = xfs_iomap_write_unwritten(ip, offset, size, false);
ip                374 fs/xfs/xfs_aops.c 	struct xfs_inode	*ip;
ip                379 fs/xfs/xfs_aops.c 	ip = container_of(work, struct xfs_inode, i_ioend_work);
ip                381 fs/xfs/xfs_aops.c 	spin_lock_irqsave(&ip->i_ioend_lock, flags);
ip                382 fs/xfs/xfs_aops.c 	list_replace_init(&ip->i_ioend_list, &completion_list);
ip                383 fs/xfs/xfs_aops.c 	spin_unlock_irqrestore(&ip->i_ioend_lock, flags);
ip                401 fs/xfs/xfs_aops.c 	struct xfs_inode	*ip = XFS_I(ioend->io_inode);
ip                402 fs/xfs/xfs_aops.c 	struct xfs_mount	*mp = ip->i_mount;
ip                408 fs/xfs/xfs_aops.c 		spin_lock_irqsave(&ip->i_ioend_lock, flags);
ip                409 fs/xfs/xfs_aops.c 		if (list_empty(&ip->i_ioend_list))
ip                411 fs/xfs/xfs_aops.c 						 &ip->i_ioend_work));
ip                412 fs/xfs/xfs_aops.c 		list_add_tail(&ioend->io_list, &ip->i_ioend_list);
ip                413 fs/xfs/xfs_aops.c 		spin_unlock_irqrestore(&ip->i_ioend_lock, flags);
ip                425 fs/xfs/xfs_aops.c 	struct xfs_inode		*ip,
ip                446 fs/xfs/xfs_aops.c 	if (wpc->data_seq != READ_ONCE(ip->i_df.if_seq))
ip                448 fs/xfs/xfs_aops.c 	if (xfs_inode_has_cow_data(ip) &&
ip                449 fs/xfs/xfs_aops.c 	    wpc->cow_seq != READ_ONCE(ip->i_cowfp->if_seq))
ip                465 fs/xfs/xfs_aops.c 	struct xfs_inode	*ip,
ip                477 fs/xfs/xfs_aops.c 		error = xfs_bmapi_convert_delalloc(ip, wpc->fork, offset_fsb,
ip                493 fs/xfs/xfs_aops.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                494 fs/xfs/xfs_aops.c 	struct xfs_mount	*mp = ip->i_mount;
ip                522 fs/xfs/xfs_aops.c 	if (xfs_imap_valid(wpc, ip, offset_fsb))
ip                532 fs/xfs/xfs_aops.c 	xfs_ilock(ip, XFS_ILOCK_SHARED);
ip                533 fs/xfs/xfs_aops.c 	ASSERT(ip->i_d.di_format != XFS_DINODE_FMT_BTREE ||
ip                534 fs/xfs/xfs_aops.c 	       (ip->i_df.if_flags & XFS_IFEXTENTS));
ip                540 fs/xfs/xfs_aops.c 	if (xfs_inode_has_cow_data(ip) &&
ip                541 fs/xfs/xfs_aops.c 	    xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap))
ip                544 fs/xfs/xfs_aops.c 		wpc->cow_seq = READ_ONCE(ip->i_cowfp->if_seq);
ip                545 fs/xfs/xfs_aops.c 		xfs_iunlock(ip, XFS_ILOCK_SHARED);
ip                555 fs/xfs/xfs_aops.c 	if (xfs_imap_valid(wpc, ip, offset_fsb)) {
ip                556 fs/xfs/xfs_aops.c 		xfs_iunlock(ip, XFS_ILOCK_SHARED);
ip                565 fs/xfs/xfs_aops.c 	if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap))
ip                567 fs/xfs/xfs_aops.c 	wpc->data_seq = READ_ONCE(ip->i_df.if_seq);
ip                568 fs/xfs/xfs_aops.c 	xfs_iunlock(ip, XFS_ILOCK_SHARED);
ip                596 fs/xfs/xfs_aops.c 	trace_xfs_map_blocks_found(ip, offset, count, wpc->fork, &imap);
ip                599 fs/xfs/xfs_aops.c 	error = xfs_convert_blocks(wpc, ip, offset_fsb);
ip                625 fs/xfs/xfs_aops.c 	trace_xfs_map_blocks_alloc(ip, offset, count, wpc->fork, &imap);
ip                764 fs/xfs/xfs_aops.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                765 fs/xfs/xfs_aops.c 	struct xfs_mount	*mp = ip->i_mount;
ip                772 fs/xfs/xfs_aops.c 	sector = xfs_fsb_to_db(ip, wpc->imap.br_startblock) +
ip                828 fs/xfs/xfs_aops.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                829 fs/xfs/xfs_aops.c 	struct xfs_mount	*mp = ip->i_mount;
ip                839 fs/xfs/xfs_aops.c 			page, ip->i_ino, offset);
ip                841 fs/xfs/xfs_aops.c 	error = xfs_bmap_punch_delalloc_range(ip, start_fsb,
ip               1140 fs/xfs/xfs_aops.c 	struct xfs_inode	*ip = XFS_I(mapping->host);
ip               1142 fs/xfs/xfs_aops.c 	trace_xfs_vm_bmap(ip);
ip               1153 fs/xfs/xfs_aops.c 	if (xfs_is_cow_inode(ip) || XFS_IS_REALTIME_INODE(ip))
ip                 29 fs/xfs/xfs_aops.h int	xfs_setfilesize(struct xfs_inode *ip, xfs_off_t offset, size_t size);
ip                241 fs/xfs/xfs_bmap_item.c 	struct xfs_inode		*ip,
ip                250 fs/xfs/xfs_bmap_item.c 	error = xfs_bmap_finish_one(tp, ip, type, whichfork, startoff,
ip                449 fs/xfs/xfs_bmap_item.c 	struct xfs_inode		*ip = NULL;
ip                509 fs/xfs/xfs_bmap_item.c 	error = xfs_iget(mp, tp, bmap->me_owner, 0, XFS_ILOCK_EXCL, &ip);
ip                513 fs/xfs/xfs_bmap_item.c 	if (VFS_I(ip)->i_nlink == 0)
ip                514 fs/xfs/xfs_bmap_item.c 		xfs_iflags_set(ip, XFS_IRECOVERY);
ip                531 fs/xfs/xfs_bmap_item.c 	xfs_trans_ijoin(tp, ip, 0);
ip                534 fs/xfs/xfs_bmap_item.c 	error = xfs_trans_log_finish_bmap_update(tp, budp, type, ip, whichfork,
ip                545 fs/xfs/xfs_bmap_item.c 		xfs_bmap_unmap_extent(tp, ip, &irec);
ip                551 fs/xfs/xfs_bmap_item.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                552 fs/xfs/xfs_bmap_item.c 	xfs_irele(ip);
ip                559 fs/xfs/xfs_bmap_item.c 	if (ip) {
ip                560 fs/xfs/xfs_bmap_item.c 		xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                561 fs/xfs/xfs_bmap_item.c 		xfs_irele(ip);
ip                 40 fs/xfs/xfs_bmap_util.c xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb)
ip                 42 fs/xfs/xfs_bmap_util.c 	if (XFS_IS_REALTIME_INODE(ip))
ip                 43 fs/xfs/xfs_bmap_util.c 		return XFS_FSB_TO_BB(ip->i_mount, fsb);
ip                 44 fs/xfs/xfs_bmap_util.c 	return XFS_FSB_TO_DADDR(ip->i_mount, fsb);
ip                 56 fs/xfs/xfs_bmap_util.c 	struct xfs_inode *ip,
ip                 60 fs/xfs/xfs_bmap_util.c 	struct xfs_mount *mp = ip->i_mount;
ip                 61 fs/xfs/xfs_bmap_util.c 	xfs_daddr_t	sector = xfs_fsb_to_db(ip, start_fsb);
ip                 64 fs/xfs/xfs_bmap_util.c 	return blkdev_issue_zeroout(xfs_find_bdev_for_inode(VFS_I(ip)),
ip                 83 fs/xfs/xfs_bmap_util.c 	mp = ap->ip->i_mount;
ip                 84 fs/xfs/xfs_bmap_util.c 	align = xfs_get_extsz_hint(ap->ip);
ip                156 fs/xfs/xfs_bmap_util.c 		ap->ip->i_d.di_nblocks += ralen;
ip                157 fs/xfs/xfs_bmap_util.c 		xfs_trans_log_inode(ap->tp, ap->ip, XFS_ILOG_CORE);
ip                159 fs/xfs/xfs_bmap_util.c 			ap->ip->i_delayed_blks -= ralen;
ip                164 fs/xfs/xfs_bmap_util.c 		xfs_trans_mod_dquot_byino(ap->tp, ap->ip,
ip                170 fs/xfs/xfs_bmap_util.c 			error = xfs_zero_extent(ap->ip, ap->blkno, ap->length);
ip                188 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip                196 fs/xfs/xfs_bmap_util.c 	error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, eof);
ip                338 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip                352 fs/xfs/xfs_bmap_util.c 	mp = ip->i_mount;
ip                355 fs/xfs/xfs_bmap_util.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip                359 fs/xfs/xfs_bmap_util.c 	switch (XFS_IFORK_FORMAT(ip, whichfork)) {
ip                365 fs/xfs/xfs_bmap_util.c 			error = xfs_iread_extents(tp, ip, whichfork);
ip                397 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip                407 fs/xfs/xfs_bmap_util.c 	error = xfs_reflink_trim_around_shared(ip, got, &shared);
ip                421 fs/xfs/xfs_bmap_util.c 		if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip)))
ip                427 fs/xfs/xfs_bmap_util.c 		p->bmv_block = xfs_fsb_to_db(ip, got->br_startblock);
ip                437 fs/xfs/xfs_bmap_util.c 	p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff);
ip                438 fs/xfs/xfs_bmap_util.c 	p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount);
ip                448 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip                461 fs/xfs/xfs_bmap_util.c 	p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, bno);
ip                462 fs/xfs/xfs_bmap_util.c 	p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, end - bno);
ip                503 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip                507 fs/xfs/xfs_bmap_util.c 	struct xfs_mount	*mp = ip->i_mount;
ip                539 fs/xfs/xfs_bmap_util.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip                541 fs/xfs/xfs_bmap_util.c 	xfs_ilock(ip, XFS_IOLOCK_SHARED);
ip                544 fs/xfs/xfs_bmap_util.c 		if (!XFS_IFORK_Q(ip))
ip                548 fs/xfs/xfs_bmap_util.c 		lock = xfs_ilock_attr_map_shared(ip);
ip                555 fs/xfs/xfs_bmap_util.c 		if (xfs_get_cowextsz_hint(ip))
ip                558 fs/xfs/xfs_bmap_util.c 			max_len = XFS_ISIZE(ip);
ip                561 fs/xfs/xfs_bmap_util.c 		xfs_ilock(ip, lock);
ip                565 fs/xfs/xfs_bmap_util.c 		    (ip->i_delayed_blks || XFS_ISIZE(ip) > ip->i_d.di_size)) {
ip                566 fs/xfs/xfs_bmap_util.c 			error = filemap_write_and_wait(VFS_I(ip)->i_mapping);
ip                580 fs/xfs/xfs_bmap_util.c 		if (xfs_get_extsz_hint(ip) ||
ip                581 fs/xfs/xfs_bmap_util.c 		    (ip->i_d.di_flags &
ip                585 fs/xfs/xfs_bmap_util.c 			max_len = XFS_ISIZE(ip);
ip                587 fs/xfs/xfs_bmap_util.c 		lock = xfs_ilock_data_map_shared(ip);
ip                591 fs/xfs/xfs_bmap_util.c 	switch (XFS_IFORK_FORMAT(ip, whichfork)) {
ip                614 fs/xfs/xfs_bmap_util.c 		error = xfs_iread_extents(NULL, ip, whichfork);
ip                619 fs/xfs/xfs_bmap_util.c 	if (!xfs_iext_lookup_extent(ip, ifp, bno, &icur, &got)) {
ip                625 fs/xfs/xfs_bmap_util.c 			xfs_getbmap_report_hole(ip, bmv, out, bmv_end, bno,
ip                626 fs/xfs/xfs_bmap_util.c 					XFS_B_TO_FSB(mp, XFS_ISIZE(ip)));
ip                638 fs/xfs/xfs_bmap_util.c 			xfs_getbmap_report_hole(ip, bmv, out, bmv_end, bno,
ip                652 fs/xfs/xfs_bmap_util.c 			error = xfs_getbmap_report_one(ip, bmv, out, bmv_end,
ip                659 fs/xfs/xfs_bmap_util.c 			xfs_fileoff_t	end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip));
ip                665 fs/xfs/xfs_bmap_util.c 				xfs_getbmap_report_hole(ip, bmv, out, bmv_end,
ip                676 fs/xfs/xfs_bmap_util.c 	xfs_iunlock(ip, lock);
ip                678 fs/xfs/xfs_bmap_util.c 	xfs_iunlock(ip, XFS_IOLOCK_SHARED);
ip                690 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip                694 fs/xfs/xfs_bmap_util.c 	struct xfs_ifork	*ifp = &ip->i_df;
ip                702 fs/xfs/xfs_bmap_util.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                703 fs/xfs/xfs_bmap_util.c 	if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got))
ip                722 fs/xfs/xfs_bmap_util.c 		error = xfs_bmap_del_extent_delay(ip, XFS_DATA_FORK, &icur,
ip                729 fs/xfs/xfs_bmap_util.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                739 fs/xfs/xfs_bmap_util.c xfs_can_free_eofblocks(struct xfs_inode *ip, bool force)
ip                742 fs/xfs/xfs_bmap_util.c 	if (!S_ISREG(VFS_I(ip)->i_mode))
ip                749 fs/xfs/xfs_bmap_util.c 	if (VFS_I(ip)->i_size == 0 &&
ip                750 fs/xfs/xfs_bmap_util.c 	    VFS_I(ip)->i_mapping->nrpages == 0 &&
ip                751 fs/xfs/xfs_bmap_util.c 	    ip->i_delayed_blks == 0)
ip                755 fs/xfs/xfs_bmap_util.c 	if (!(ip->i_df.if_flags & XFS_IFEXTENTS))
ip                762 fs/xfs/xfs_bmap_util.c 	if (ip->i_d.di_flags & (XFS_DIFLAG_PREALLOC | XFS_DIFLAG_APPEND))
ip                763 fs/xfs/xfs_bmap_util.c 		if (!force || ip->i_delayed_blks == 0)
ip                776 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip)
ip                785 fs/xfs/xfs_bmap_util.c 	struct xfs_mount	*mp = ip->i_mount;
ip                791 fs/xfs/xfs_bmap_util.c 	end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip));
ip                798 fs/xfs/xfs_bmap_util.c 	xfs_ilock(ip, XFS_ILOCK_SHARED);
ip                799 fs/xfs/xfs_bmap_util.c 	error = xfs_bmapi_read(ip, end_fsb, map_len, &imap, &nimaps, 0);
ip                800 fs/xfs/xfs_bmap_util.c 	xfs_iunlock(ip, XFS_ILOCK_SHARED);
ip                808 fs/xfs/xfs_bmap_util.c 	     ip->i_delayed_blks)) {
ip                812 fs/xfs/xfs_bmap_util.c 		error = xfs_qm_dqattach(ip);
ip                817 fs/xfs/xfs_bmap_util.c 		inode_dio_wait(VFS_I(ip));
ip                826 fs/xfs/xfs_bmap_util.c 		xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                827 fs/xfs/xfs_bmap_util.c 		xfs_trans_ijoin(tp, ip, 0);
ip                835 fs/xfs/xfs_bmap_util.c 		error = xfs_itruncate_extents_flags(&tp, ip, XFS_DATA_FORK,
ip                836 fs/xfs/xfs_bmap_util.c 					XFS_ISIZE(ip), XFS_BMAPI_NODISCARD);
ip                846 fs/xfs/xfs_bmap_util.c 				xfs_inode_clear_eofblocks_tag(ip);
ip                849 fs/xfs/xfs_bmap_util.c 		xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                856 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip                861 fs/xfs/xfs_bmap_util.c 	xfs_mount_t		*mp = ip->i_mount;
ip                876 fs/xfs/xfs_bmap_util.c 	trace_xfs_alloc_file_space(ip);
ip                881 fs/xfs/xfs_bmap_util.c 	error = xfs_qm_dqattach(ip);
ip                888 fs/xfs/xfs_bmap_util.c 	rt = XFS_IS_REALTIME_INODE(ip);
ip                889 fs/xfs/xfs_bmap_util.c 	extsz = xfs_get_extsz_hint(ip);
ip                958 fs/xfs/xfs_bmap_util.c 		xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                959 fs/xfs/xfs_bmap_util.c 		error = xfs_trans_reserve_quota_nblks(tp, ip, qblocks,
ip                964 fs/xfs/xfs_bmap_util.c 		xfs_trans_ijoin(tp, ip, 0);
ip                966 fs/xfs/xfs_bmap_util.c 		error = xfs_bmapi_write(tp, ip, startoffset_fsb,
ip                976 fs/xfs/xfs_bmap_util.c 		xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                994 fs/xfs/xfs_bmap_util.c 	xfs_trans_unreserve_quota_nblks(tp, ip, (long)qblocks, 0, quota_flag);
ip                998 fs/xfs/xfs_bmap_util.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1004 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip               1009 fs/xfs/xfs_bmap_util.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1020 fs/xfs/xfs_bmap_util.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               1021 fs/xfs/xfs_bmap_util.c 	error = xfs_trans_reserve_quota(tp, mp, ip->i_udquot, ip->i_gdquot,
ip               1022 fs/xfs/xfs_bmap_util.c 			ip->i_pdquot, resblks, 0, XFS_QMOPT_RES_REGBLKS);
ip               1026 fs/xfs/xfs_bmap_util.c 	xfs_trans_ijoin(tp, ip, 0);
ip               1028 fs/xfs/xfs_bmap_util.c 	error = xfs_bunmapi(tp, ip, startoffset_fsb, len_fsb, 0, 2, done);
ip               1034 fs/xfs/xfs_bmap_util.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1044 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip               1048 fs/xfs/xfs_bmap_util.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1049 fs/xfs/xfs_bmap_util.c 	struct inode		*inode = VFS_I(ip);
ip               1069 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip               1073 fs/xfs/xfs_bmap_util.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1078 fs/xfs/xfs_bmap_util.c 	trace_xfs_free_file_space(ip);
ip               1080 fs/xfs/xfs_bmap_util.c 	error = xfs_qm_dqattach(ip);
ip               1087 fs/xfs/xfs_bmap_util.c 	error = xfs_flush_unmap_range(ip, offset, len);
ip               1099 fs/xfs/xfs_bmap_util.c 			error = xfs_unmap_extent(ip, startoffset_fsb,
ip               1112 fs/xfs/xfs_bmap_util.c 	if (offset >= XFS_ISIZE(ip))
ip               1114 fs/xfs/xfs_bmap_util.c 	if (offset + len > XFS_ISIZE(ip))
ip               1115 fs/xfs/xfs_bmap_util.c 		len = XFS_ISIZE(ip) - offset;
ip               1116 fs/xfs/xfs_bmap_util.c 	error = iomap_zero_range(VFS_I(ip), offset, len, NULL, &xfs_iomap_ops);
ip               1126 fs/xfs/xfs_bmap_util.c 	if (offset + len >= XFS_ISIZE(ip) && offset_in_page(offset + len) > 0) {
ip               1127 fs/xfs/xfs_bmap_util.c 		error = filemap_write_and_wait_range(VFS_I(ip)->i_mapping,
ip               1140 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip               1144 fs/xfs/xfs_bmap_util.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1148 fs/xfs/xfs_bmap_util.c 	trace_xfs_zero_file_space(ip);
ip               1161 fs/xfs/xfs_bmap_util.c 	error = xfs_free_file_space(ip, offset, len);
ip               1162 fs/xfs/xfs_bmap_util.c 	if (error || xfs_is_always_cow_inode(ip))
ip               1165 fs/xfs/xfs_bmap_util.c 	return xfs_alloc_file_space(ip, round_down(offset, blksize),
ip               1173 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip               1182 fs/xfs/xfs_bmap_util.c 	if (xfs_can_free_eofblocks(ip, true)) {
ip               1183 fs/xfs/xfs_bmap_util.c 		error = xfs_free_eofblocks(ip);
ip               1192 fs/xfs/xfs_bmap_util.c 	error = xfs_flush_unmap_range(ip, offset, XFS_ISIZE(ip));
ip               1201 fs/xfs/xfs_bmap_util.c 	if (xfs_inode_has_cow_data(ip)) {
ip               1202 fs/xfs/xfs_bmap_util.c 		error = xfs_reflink_cancel_cow_range(ip, offset, NULLFILEOFF,
ip               1225 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip               1229 fs/xfs/xfs_bmap_util.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1237 fs/xfs/xfs_bmap_util.c 	ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL));
ip               1238 fs/xfs/xfs_bmap_util.c 	ASSERT(xfs_isilocked(ip, XFS_MMAPLOCK_EXCL));
ip               1240 fs/xfs/xfs_bmap_util.c 	trace_xfs_collapse_file_space(ip);
ip               1242 fs/xfs/xfs_bmap_util.c 	error = xfs_free_file_space(ip, offset, len);
ip               1246 fs/xfs/xfs_bmap_util.c 	error = xfs_prepare_shift(ip, offset);
ip               1256 fs/xfs/xfs_bmap_util.c 		xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               1257 fs/xfs/xfs_bmap_util.c 		error = xfs_trans_reserve_quota(tp, mp, ip->i_udquot,
ip               1258 fs/xfs/xfs_bmap_util.c 				ip->i_gdquot, ip->i_pdquot, resblks, 0,
ip               1262 fs/xfs/xfs_bmap_util.c 		xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
ip               1264 fs/xfs/xfs_bmap_util.c 		error = xfs_bmap_collapse_extents(tp, ip, &next_fsb, shift_fsb,
ip               1293 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip               1297 fs/xfs/xfs_bmap_util.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1305 fs/xfs/xfs_bmap_util.c 	ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL));
ip               1306 fs/xfs/xfs_bmap_util.c 	ASSERT(xfs_isilocked(ip, XFS_MMAPLOCK_EXCL));
ip               1308 fs/xfs/xfs_bmap_util.c 	trace_xfs_insert_file_space(ip);
ip               1310 fs/xfs/xfs_bmap_util.c 	error = xfs_bmap_can_insert_extents(ip, stop_fsb, shift_fsb);
ip               1314 fs/xfs/xfs_bmap_util.c 	error = xfs_prepare_shift(ip, offset);
ip               1323 fs/xfs/xfs_bmap_util.c 	error = xfs_bmap_split_extent(ip, stop_fsb);
ip               1333 fs/xfs/xfs_bmap_util.c 		xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               1334 fs/xfs/xfs_bmap_util.c 		xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
ip               1335 fs/xfs/xfs_bmap_util.c 		error = xfs_bmap_insert_extents(tp, ip, &next_fsb, shift_fsb,
ip               1372 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,	/* target inode */
ip               1377 fs/xfs/xfs_bmap_util.c 	if (ip->i_d.di_format == XFS_DINODE_FMT_LOCAL ||
ip               1385 fs/xfs/xfs_bmap_util.c 	if (ip->i_d.di_nextents < tip->i_d.di_nextents)
ip               1392 fs/xfs/xfs_bmap_util.c 	if (xfs_sb_version_hasrmapbt(&ip->i_mount->m_sb))
ip               1400 fs/xfs/xfs_bmap_util.c 	if (ip->i_d.di_format == XFS_DINODE_FMT_EXTENTS &&
ip               1407 fs/xfs/xfs_bmap_util.c 			XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK))
ip               1411 fs/xfs/xfs_bmap_util.c 	if (ip->i_d.di_format == XFS_DINODE_FMT_EXTENTS &&
ip               1412 fs/xfs/xfs_bmap_util.c 	    XFS_IFORK_NEXTENTS(ip, XFS_DATA_FORK) >
ip               1426 fs/xfs/xfs_bmap_util.c 		if (XFS_IFORK_Q(ip) &&
ip               1427 fs/xfs/xfs_bmap_util.c 		    XFS_BMAP_BMDR_SPACE(tip->i_df.if_broot) > XFS_IFORK_BOFF(ip))
ip               1430 fs/xfs/xfs_bmap_util.c 		    XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK))
ip               1435 fs/xfs/xfs_bmap_util.c 	if (ip->i_d.di_format == XFS_DINODE_FMT_BTREE) {
ip               1437 fs/xfs/xfs_bmap_util.c 		    XFS_BMAP_BMDR_SPACE(ip->i_df.if_broot) > XFS_IFORK_BOFF(tip))
ip               1439 fs/xfs/xfs_bmap_util.c 		if (XFS_IFORK_NEXTENTS(ip, XFS_DATA_FORK) <=
ip               1449 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip)
ip               1453 fs/xfs/xfs_bmap_util.c 	error = filemap_write_and_wait(VFS_I(ip)->i_mapping);
ip               1456 fs/xfs/xfs_bmap_util.c 	truncate_pagecache_range(VFS_I(ip), 0, -1);
ip               1459 fs/xfs/xfs_bmap_util.c 	if (VFS_I(ip)->i_mapping->nrpages)
ip               1470 fs/xfs/xfs_bmap_util.c 	struct xfs_inode		*ip,
ip               1493 fs/xfs/xfs_bmap_util.c 	if (ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK)
ip               1497 fs/xfs/xfs_bmap_util.c 	end_fsb = XFS_B_TO_FSB(ip->i_mount, i_size_read(VFS_I(ip)));
ip               1520 fs/xfs/xfs_bmap_util.c 			error = xfs_bmapi_read(ip, tirec.br_startoff,
ip               1527 fs/xfs/xfs_bmap_util.c 			trace_xfs_swap_extent_rmap_remap_piece(ip, &irec);
ip               1540 fs/xfs/xfs_bmap_util.c 			xfs_bmap_unmap_extent(tp, ip, &irec);
ip               1543 fs/xfs/xfs_bmap_util.c 			xfs_bmap_map_extent(tp, ip, &uirec);
ip               1569 fs/xfs/xfs_bmap_util.c 	trace_xfs_swap_extent_rmap_error(ip, error, _RET_IP_);
ip               1578 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip               1592 fs/xfs/xfs_bmap_util.c 	if ( ((XFS_IFORK_Q(ip) != 0) && (ip->i_d.di_anextents > 0)) &&
ip               1593 fs/xfs/xfs_bmap_util.c 	     (ip->i_d.di_aformat != XFS_DINODE_FMT_LOCAL)) {
ip               1594 fs/xfs/xfs_bmap_util.c 		error = xfs_bmap_count_blocks(tp, ip, XFS_ATTR_FORK, &junk,
ip               1614 fs/xfs/xfs_bmap_util.c 	if (ip->i_d.di_version == 3 &&
ip               1615 fs/xfs/xfs_bmap_util.c 	    ip->i_d.di_format == XFS_DINODE_FMT_BTREE)
ip               1624 fs/xfs/xfs_bmap_util.c 	swap(ip->i_df, tip->i_df);
ip               1629 fs/xfs/xfs_bmap_util.c 	tmp = (uint64_t)ip->i_d.di_nblocks;
ip               1630 fs/xfs/xfs_bmap_util.c 	ip->i_d.di_nblocks = tip->i_d.di_nblocks - taforkblks + aforkblks;
ip               1633 fs/xfs/xfs_bmap_util.c 	swap(ip->i_d.di_nextents, tip->i_d.di_nextents);
ip               1634 fs/xfs/xfs_bmap_util.c 	swap(ip->i_d.di_format, tip->i_d.di_format);
ip               1646 fs/xfs/xfs_bmap_util.c 	tip->i_delayed_blks = ip->i_delayed_blks;
ip               1647 fs/xfs/xfs_bmap_util.c 	ip->i_delayed_blks = 0;
ip               1649 fs/xfs/xfs_bmap_util.c 	switch (ip->i_d.di_format) {
ip               1654 fs/xfs/xfs_bmap_util.c 		ASSERT(ip->i_d.di_version < 3 ||
ip               1685 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,
ip               1692 fs/xfs/xfs_bmap_util.c 		error = xfs_bmbt_change_owner(tp, ip, XFS_DATA_FORK, ip->i_ino,
ip               1707 fs/xfs/xfs_bmap_util.c 		xfs_trans_ijoin(tp, ip, 0);
ip               1709 fs/xfs/xfs_bmap_util.c 		xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip               1718 fs/xfs/xfs_bmap_util.c 	struct xfs_inode	*ip,	/* target inode */
ip               1722 fs/xfs/xfs_bmap_util.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1737 fs/xfs/xfs_bmap_util.c 	lock_two_nondirectories(VFS_I(ip), VFS_I(tip));
ip               1739 fs/xfs/xfs_bmap_util.c 	xfs_lock_two_inodes(ip, XFS_MMAPLOCK_EXCL, tip, XFS_MMAPLOCK_EXCL);
ip               1742 fs/xfs/xfs_bmap_util.c 	if ((VFS_I(ip)->i_mode & S_IFMT) != (VFS_I(tip)->i_mode & S_IFMT)) {
ip               1748 fs/xfs/xfs_bmap_util.c 	if (XFS_IS_REALTIME_INODE(ip) != XFS_IS_REALTIME_INODE(tip)) {
ip               1753 fs/xfs/xfs_bmap_util.c 	error = xfs_swap_extent_flush(ip);
ip               1773 fs/xfs/xfs_bmap_util.c 		uint32_t	ipnext	= XFS_IFORK_NEXTENTS(ip, w);
ip               1790 fs/xfs/xfs_bmap_util.c 		if (ipnext == (XFS_IFORK_MAXEXT(ip, w) + 1))
ip               1791 fs/xfs/xfs_bmap_util.c 			resblks += XFS_IFORK_MAXEXT(ip, w);
ip               1803 fs/xfs/xfs_bmap_util.c 	xfs_lock_two_inodes(ip, XFS_ILOCK_EXCL, tip, XFS_ILOCK_EXCL);
ip               1805 fs/xfs/xfs_bmap_util.c 	xfs_trans_ijoin(tp, ip, 0);
ip               1811 fs/xfs/xfs_bmap_util.c 	    sxp->sx_length != ip->i_d.di_size ||
ip               1817 fs/xfs/xfs_bmap_util.c 	trace_xfs_swap_extent_before(ip, 0);
ip               1821 fs/xfs/xfs_bmap_util.c 	error = xfs_swap_extents_check_format(ip, tip);
ip               1825 fs/xfs/xfs_bmap_util.c 				__func__, ip->i_ino);
ip               1836 fs/xfs/xfs_bmap_util.c 	if ((sbp->bs_ctime.tv_sec != VFS_I(ip)->i_ctime.tv_sec) ||
ip               1837 fs/xfs/xfs_bmap_util.c 	    (sbp->bs_ctime.tv_nsec != VFS_I(ip)->i_ctime.tv_nsec) ||
ip               1838 fs/xfs/xfs_bmap_util.c 	    (sbp->bs_mtime.tv_sec != VFS_I(ip)->i_mtime.tv_sec) ||
ip               1839 fs/xfs/xfs_bmap_util.c 	    (sbp->bs_mtime.tv_nsec != VFS_I(ip)->i_mtime.tv_nsec)) {
ip               1855 fs/xfs/xfs_bmap_util.c 		error = xfs_swap_extent_rmap(&tp, ip, tip);
ip               1857 fs/xfs/xfs_bmap_util.c 		error = xfs_swap_extent_forks(tp, ip, tip, &src_log_flags,
ip               1863 fs/xfs/xfs_bmap_util.c 	if ((ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK) ^
ip               1865 fs/xfs/xfs_bmap_util.c 		f = ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK;
ip               1866 fs/xfs/xfs_bmap_util.c 		ip->i_d.di_flags2 &= ~XFS_DIFLAG2_REFLINK;
ip               1867 fs/xfs/xfs_bmap_util.c 		ip->i_d.di_flags2 |= tip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK;
ip               1874 fs/xfs/xfs_bmap_util.c 		ASSERT(ip->i_cformat == XFS_DINODE_FMT_EXTENTS);
ip               1877 fs/xfs/xfs_bmap_util.c 		swap(ip->i_cnextents, tip->i_cnextents);
ip               1878 fs/xfs/xfs_bmap_util.c 		swap(ip->i_cowfp, tip->i_cowfp);
ip               1880 fs/xfs/xfs_bmap_util.c 		if (ip->i_cowfp && ip->i_cowfp->if_bytes)
ip               1881 fs/xfs/xfs_bmap_util.c 			xfs_inode_set_cowblocks_tag(ip);
ip               1883 fs/xfs/xfs_bmap_util.c 			xfs_inode_clear_cowblocks_tag(ip);
ip               1890 fs/xfs/xfs_bmap_util.c 	xfs_trans_log_inode(tp, ip,  src_log_flags);
ip               1900 fs/xfs/xfs_bmap_util.c 		error = xfs_swap_change_owner(&tp, ip, tip);
ip               1905 fs/xfs/xfs_bmap_util.c 		error = xfs_swap_change_owner(&tp, tip, ip);
ip               1919 fs/xfs/xfs_bmap_util.c 	trace_xfs_swap_extent_after(ip, 0);
ip               1923 fs/xfs/xfs_bmap_util.c 	xfs_iunlock(ip, lock_flags);
ip               1925 fs/xfs/xfs_bmap_util.c 	unlock_two_nondirectories(VFS_I(ip), VFS_I(tip));
ip                 33 fs/xfs/xfs_bmap_util.h int	xfs_bmap_eof(struct xfs_inode *ip, xfs_fileoff_t endoff,
ip                 35 fs/xfs/xfs_bmap_util.h int	xfs_bmap_punch_delalloc_range(struct xfs_inode *ip,
ip                 44 fs/xfs/xfs_bmap_util.h int	xfs_getbmap(struct xfs_inode *ip, struct getbmapx *bmv,
ip                 53 fs/xfs/xfs_bmap_util.h int	xfs_bmap_last_extent(struct xfs_trans *tp, struct xfs_inode *ip,
ip                 58 fs/xfs/xfs_bmap_util.h int	xfs_alloc_file_space(struct xfs_inode *ip, xfs_off_t offset,
ip                 60 fs/xfs/xfs_bmap_util.h int	xfs_free_file_space(struct xfs_inode *ip, xfs_off_t offset,
ip                 62 fs/xfs/xfs_bmap_util.h int	xfs_zero_file_space(struct xfs_inode *ip, xfs_off_t offset,
ip                 70 fs/xfs/xfs_bmap_util.h bool	xfs_can_free_eofblocks(struct xfs_inode *ip, bool force);
ip                 71 fs/xfs/xfs_bmap_util.h int	xfs_free_eofblocks(struct xfs_inode *ip);
ip                 73 fs/xfs/xfs_bmap_util.h int	xfs_swap_extents(struct xfs_inode *ip, struct xfs_inode *tip,
ip                 76 fs/xfs/xfs_bmap_util.h xfs_daddr_t xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb);
ip                 79 fs/xfs/xfs_bmap_util.h int xfs_bmap_count_blocks(struct xfs_trans *tp, struct xfs_inode *ip,
ip                 83 fs/xfs/xfs_bmap_util.h int	xfs_flush_unmap_range(struct xfs_inode *ip, xfs_off_t offset,
ip                827 fs/xfs/xfs_dquot.c 	struct xfs_inode	*ip,
ip                832 fs/xfs/xfs_dquot.c 		return ip->i_d.di_uid;
ip                834 fs/xfs/xfs_dquot.c 		return ip->i_d.di_gid;
ip                836 fs/xfs/xfs_dquot.c 		return xfs_get_projid(ip);
ip                849 fs/xfs/xfs_dquot.c 	struct xfs_inode	*ip,
ip                854 fs/xfs/xfs_dquot.c 	struct xfs_mount	*mp = ip->i_mount;
ip                865 fs/xfs/xfs_dquot.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip                866 fs/xfs/xfs_dquot.c 	ASSERT(xfs_inode_dquot(ip, type) == NULL);
ip                868 fs/xfs/xfs_dquot.c 	id = xfs_qm_id_for_quotatype(ip, type);
ip                884 fs/xfs/xfs_dquot.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                886 fs/xfs/xfs_dquot.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                897 fs/xfs/xfs_dquot.c 		dqp1 = xfs_inode_dquot(ip, type);
ip                922 fs/xfs/xfs_dquot.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip                115 fs/xfs/xfs_dquot.h static inline xfs_dquot_t *xfs_inode_dquot(struct xfs_inode *ip, int type)
ip                119 fs/xfs/xfs_dquot.h 		return ip->i_udquot;
ip                121 fs/xfs/xfs_dquot.h 		return ip->i_gdquot;
ip                123 fs/xfs/xfs_dquot.h 		return ip->i_pdquot;
ip                157 fs/xfs/xfs_dquot.h extern xfs_dqid_t	xfs_qm_id_for_quotatype(struct xfs_inode *ip,
ip                162 fs/xfs/xfs_dquot.h extern int		xfs_qm_dqget_inode(struct xfs_inode *ip, uint type,
ip                402 fs/xfs/xfs_error.c 	struct xfs_inode	*ip,
ip                409 fs/xfs/xfs_error.c 	struct xfs_mount	*mp = ip->i_mount;
ip                417 fs/xfs/xfs_error.c 		  fa, ip->i_ino, name);
ip                 23 fs/xfs/xfs_error.h extern void xfs_inode_verifier_error(struct xfs_inode *ip, int error,
ip                113 fs/xfs/xfs_export.c 	xfs_inode_t		*ip;
ip                127 fs/xfs/xfs_export.c 	error = xfs_iget(mp, NULL, ino, XFS_IGET_UNTRUSTED, 0, &ip);
ip                150 fs/xfs/xfs_export.c 	if (VFS_I(ip)->i_generation != generation) {
ip                151 fs/xfs/xfs_export.c 		xfs_irele(ip);
ip                155 fs/xfs/xfs_export.c 	return VFS_I(ip);
ip                224 fs/xfs/xfs_export.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                225 fs/xfs/xfs_export.c 	struct xfs_mount	*mp = ip->i_mount;
ip                228 fs/xfs/xfs_export.c 	xfs_ilock(ip, XFS_ILOCK_SHARED);
ip                229 fs/xfs/xfs_export.c 	if (xfs_ipincount(ip))
ip                230 fs/xfs/xfs_export.c 		lsn = ip->i_itemp->ili_last_lsn;
ip                231 fs/xfs/xfs_export.c 	xfs_iunlock(ip, XFS_ILOCK_SHARED);
ip                 37 fs/xfs/xfs_file.c 	struct xfs_inode	*ip,
ip                 43 fs/xfs/xfs_file.c 	error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_writeid,
ip                 48 fs/xfs/xfs_file.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                 49 fs/xfs/xfs_file.c 	xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
ip                 52 fs/xfs/xfs_file.c 		VFS_I(ip)->i_mode &= ~S_ISUID;
ip                 53 fs/xfs/xfs_file.c 		if (VFS_I(ip)->i_mode & S_IXGRP)
ip                 54 fs/xfs/xfs_file.c 			VFS_I(ip)->i_mode &= ~S_ISGID;
ip                 55 fs/xfs/xfs_file.c 		xfs_trans_ichgtime(tp, ip, XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG);
ip                 59 fs/xfs/xfs_file.c 		ip->i_d.di_flags |= XFS_DIFLAG_PREALLOC;
ip                 61 fs/xfs/xfs_file.c 		ip->i_d.di_flags &= ~XFS_DIFLAG_PREALLOC;
ip                 63 fs/xfs/xfs_file.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip                 82 fs/xfs/xfs_file.c 	struct xfs_inode	*ip = XFS_I(file->f_mapping->host);
ip                 83 fs/xfs/xfs_file.c 	struct xfs_mount	*mp = ip->i_mount;
ip                 86 fs/xfs/xfs_file.c 	trace_xfs_dir_fsync(ip);
ip                 88 fs/xfs/xfs_file.c 	xfs_ilock(ip, XFS_ILOCK_SHARED);
ip                 89 fs/xfs/xfs_file.c 	if (xfs_ipincount(ip))
ip                 90 fs/xfs/xfs_file.c 		lsn = ip->i_itemp->ili_last_lsn;
ip                 91 fs/xfs/xfs_file.c 	xfs_iunlock(ip, XFS_ILOCK_SHARED);
ip                106 fs/xfs/xfs_file.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                107 fs/xfs/xfs_file.c 	struct xfs_mount	*mp = ip->i_mount;
ip                112 fs/xfs/xfs_file.c 	trace_xfs_file_fsync(ip);
ip                121 fs/xfs/xfs_file.c 	xfs_iflags_clear(ip, XFS_ITRUNCATED);
ip                129 fs/xfs/xfs_file.c 	if (XFS_IS_REALTIME_INODE(ip))
ip                147 fs/xfs/xfs_file.c 	xfs_ilock(ip, XFS_ILOCK_SHARED);
ip                148 fs/xfs/xfs_file.c 	if (xfs_ipincount(ip)) {
ip                150 fs/xfs/xfs_file.c 		    (ip->i_itemp->ili_fsync_fields & ~XFS_ILOG_TIMESTAMP))
ip                151 fs/xfs/xfs_file.c 			lsn = ip->i_itemp->ili_last_lsn;
ip                156 fs/xfs/xfs_file.c 		ip->i_itemp->ili_fsync_fields = 0;
ip                158 fs/xfs/xfs_file.c 	xfs_iunlock(ip, XFS_ILOCK_SHARED);
ip                167 fs/xfs/xfs_file.c 	if (!log_flushed && !XFS_IS_REALTIME_INODE(ip) &&
ip                179 fs/xfs/xfs_file.c 	struct xfs_inode	*ip = XFS_I(file_inode(iocb->ki_filp));
ip                183 fs/xfs/xfs_file.c 	trace_xfs_file_direct_read(ip, count, iocb->ki_pos);
ip                190 fs/xfs/xfs_file.c 	xfs_ilock(ip, XFS_IOLOCK_SHARED);
ip                192 fs/xfs/xfs_file.c 	xfs_iunlock(ip, XFS_IOLOCK_SHARED);
ip                202 fs/xfs/xfs_file.c 	struct xfs_inode	*ip = XFS_I(iocb->ki_filp->f_mapping->host);
ip                206 fs/xfs/xfs_file.c 	trace_xfs_file_dax_read(ip, count, iocb->ki_pos);
ip                212 fs/xfs/xfs_file.c 		if (!xfs_ilock_nowait(ip, XFS_IOLOCK_SHARED))
ip                215 fs/xfs/xfs_file.c 		xfs_ilock(ip, XFS_IOLOCK_SHARED);
ip                219 fs/xfs/xfs_file.c 	xfs_iunlock(ip, XFS_IOLOCK_SHARED);
ip                230 fs/xfs/xfs_file.c 	struct xfs_inode	*ip = XFS_I(file_inode(iocb->ki_filp));
ip                233 fs/xfs/xfs_file.c 	trace_xfs_file_buffered_read(ip, iov_iter_count(to), iocb->ki_pos);
ip                236 fs/xfs/xfs_file.c 		if (!xfs_ilock_nowait(ip, XFS_IOLOCK_SHARED))
ip                239 fs/xfs/xfs_file.c 		xfs_ilock(ip, XFS_IOLOCK_SHARED);
ip                242 fs/xfs/xfs_file.c 	xfs_iunlock(ip, XFS_IOLOCK_SHARED);
ip                288 fs/xfs/xfs_file.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                308 fs/xfs/xfs_file.c 		xfs_iunlock(ip, *iolock);
ip                310 fs/xfs/xfs_file.c 		xfs_ilock(ip, *iolock);
ip                328 fs/xfs/xfs_file.c 	spin_lock(&ip->i_flags_lock);
ip                331 fs/xfs/xfs_file.c 		spin_unlock(&ip->i_flags_lock);
ip                334 fs/xfs/xfs_file.c 				xfs_iunlock(ip, *iolock);
ip                336 fs/xfs/xfs_file.c 				xfs_ilock(ip, *iolock);
ip                352 fs/xfs/xfs_file.c 		trace_xfs_zero_eof(ip, isize, iocb->ki_pos - isize);
ip                358 fs/xfs/xfs_file.c 		spin_unlock(&ip->i_flags_lock);
ip                377 fs/xfs/xfs_file.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                381 fs/xfs/xfs_file.c 	trace_xfs_end_io_direct_write(ip, offset, size);
ip                383 fs/xfs/xfs_file.c 	if (XFS_FORCED_SHUTDOWN(ip->i_mount))
ip                395 fs/xfs/xfs_file.c 	XFS_STATS_ADD(ip->i_mount, xs_write_bytes, size);
ip                405 fs/xfs/xfs_file.c 		error = xfs_reflink_end_cow(ip, offset, size);
ip                417 fs/xfs/xfs_file.c 		error = xfs_iomap_write_unwritten(ip, offset, size, true);
ip                432 fs/xfs/xfs_file.c 	spin_lock(&ip->i_flags_lock);
ip                435 fs/xfs/xfs_file.c 		spin_unlock(&ip->i_flags_lock);
ip                436 fs/xfs/xfs_file.c 		error = xfs_setfilesize(ip, offset, size);
ip                438 fs/xfs/xfs_file.c 		spin_unlock(&ip->i_flags_lock);
ip                483 fs/xfs/xfs_file.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                484 fs/xfs/xfs_file.c 	struct xfs_mount	*mp = ip->i_mount;
ip                489 fs/xfs/xfs_file.c 	struct xfs_buftarg      *target = XFS_IS_REALTIME_INODE(ip) ?
ip                511 fs/xfs/xfs_file.c 		if (xfs_is_cow_inode(ip)) {
ip                512 fs/xfs/xfs_file.c 			trace_xfs_reflink_bounce_dio_write(ip, iocb->ki_pos, count);
ip                524 fs/xfs/xfs_file.c 		if (!xfs_ilock_nowait(ip, iolock))
ip                527 fs/xfs/xfs_file.c 		xfs_ilock(ip, iolock);
ip                545 fs/xfs/xfs_file.c 		xfs_ilock_demote(ip, XFS_IOLOCK_EXCL);
ip                549 fs/xfs/xfs_file.c 	trace_xfs_file_direct_write(ip, count, iocb->ki_pos);
ip                560 fs/xfs/xfs_file.c 	xfs_iunlock(ip, iolock);
ip                576 fs/xfs/xfs_file.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                583 fs/xfs/xfs_file.c 		if (!xfs_ilock_nowait(ip, iolock))
ip                586 fs/xfs/xfs_file.c 		xfs_ilock(ip, iolock);
ip                596 fs/xfs/xfs_file.c 	trace_xfs_file_dax_write(ip, count, pos);
ip                600 fs/xfs/xfs_file.c 		error = xfs_setfilesize(ip, pos, ret);
ip                603 fs/xfs/xfs_file.c 	xfs_iunlock(ip, iolock);
ip                608 fs/xfs/xfs_file.c 		XFS_STATS_ADD(ip->i_mount, xs_write_bytes, ret);
ip                624 fs/xfs/xfs_file.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                634 fs/xfs/xfs_file.c 	xfs_ilock(ip, iolock);
ip                643 fs/xfs/xfs_file.c 	trace_xfs_file_buffered_write(ip, iov_iter_count(from), iocb->ki_pos);
ip                658 fs/xfs/xfs_file.c 		xfs_iunlock(ip, iolock);
ip                659 fs/xfs/xfs_file.c 		enospc = xfs_inode_free_quota_eofblocks(ip);
ip                662 fs/xfs/xfs_file.c 		enospc = xfs_inode_free_quota_cowblocks(ip);
ip                670 fs/xfs/xfs_file.c 		xfs_flush_inodes(ip->i_mount);
ip                672 fs/xfs/xfs_file.c 		xfs_iunlock(ip, iolock);
ip                674 fs/xfs/xfs_file.c 		xfs_icache_free_eofblocks(ip->i_mount, &eofb);
ip                675 fs/xfs/xfs_file.c 		xfs_icache_free_cowblocks(ip->i_mount, &eofb);
ip                682 fs/xfs/xfs_file.c 		xfs_iunlock(ip, iolock);
ip                685 fs/xfs/xfs_file.c 		XFS_STATS_ADD(ip->i_mount, xs_write_bytes, ret);
ip                700 fs/xfs/xfs_file.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                704 fs/xfs/xfs_file.c 	XFS_STATS_INC(ip->i_mount, xs_write_calls);
ip                709 fs/xfs/xfs_file.c 	if (XFS_FORCED_SHUTDOWN(ip->i_mount))
ip                734 fs/xfs/xfs_file.c 	struct xfs_inode        *ip = XFS_I(inode);
ip                736 fs/xfs/xfs_file.c 	xfs_iunlock(ip, XFS_MMAPLOCK_EXCL);
ip                738 fs/xfs/xfs_file.c 	xfs_ilock(ip, XFS_MMAPLOCK_EXCL);
ip                804 fs/xfs/xfs_file.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                816 fs/xfs/xfs_file.c 	xfs_ilock(ip, iolock);
ip                822 fs/xfs/xfs_file.c 		error = xfs_free_file_space(ip, offset, len);
ip                844 fs/xfs/xfs_file.c 		error = xfs_collapse_file_space(ip, offset, len);
ip                884 fs/xfs/xfs_file.c 			error = xfs_zero_file_space(ip, offset, len);
ip                886 fs/xfs/xfs_file.c 			error = xfs_reflink_unshare(ip, offset, len);
ip                890 fs/xfs/xfs_file.c 			if (!xfs_is_always_cow_inode(ip)) {
ip                891 fs/xfs/xfs_file.c 				error = xfs_alloc_file_space(ip, offset, len,
ip                899 fs/xfs/xfs_file.c 			if (xfs_is_always_cow_inode(ip)) {
ip                904 fs/xfs/xfs_file.c 			error = xfs_alloc_file_space(ip, offset, len,
ip                914 fs/xfs/xfs_file.c 	error = xfs_update_prealloc_flags(ip, flags);
ip                936 fs/xfs/xfs_file.c 		error = xfs_insert_file_space(ip, offset, len);
ip                939 fs/xfs/xfs_file.c 	xfs_iunlock(ip, iolock);
ip                950 fs/xfs/xfs_file.c 	struct xfs_inode *ip = XFS_I(file_inode(file));
ip                960 fs/xfs/xfs_file.c 		xfs_ilock(ip, lockflags);
ip                964 fs/xfs/xfs_file.c 		xfs_iunlock(ip, lockflags);
ip               1048 fs/xfs/xfs_file.c 	struct xfs_inode *ip = XFS_I(inode);
ip               1060 fs/xfs/xfs_file.c 	mode = xfs_ilock_data_map_shared(ip);
ip               1061 fs/xfs/xfs_file.c 	if (ip->i_d.di_nextents > 0)
ip               1062 fs/xfs/xfs_file.c 		error = xfs_dir3_data_readahead(ip, 0, -1);
ip               1063 fs/xfs/xfs_file.c 	xfs_iunlock(ip, mode);
ip               1081 fs/xfs/xfs_file.c 	xfs_inode_t	*ip = XFS_I(inode);
ip               1096 fs/xfs/xfs_file.c 	bufsize = (size_t)min_t(loff_t, XFS_READDIR_BUFSIZE, ip->i_d.di_size);
ip               1098 fs/xfs/xfs_file.c 	return xfs_readdir(NULL, ip, ctx, bufsize);
ip               1145 fs/xfs/xfs_file.c 	struct xfs_inode	*ip = XFS_I(inode);
ip               1148 fs/xfs/xfs_file.c 	trace_xfs_filemap_fault(ip, pe_size, write_fault);
ip                130 fs/xfs/xfs_filestream.c 	struct xfs_inode	*ip,
ip                136 fs/xfs/xfs_filestream.c 	struct xfs_mount	*mp = ip->i_mount;
ip                143 fs/xfs/xfs_filestream.c 	ASSERT(S_ISDIR(VFS_I(ip)->i_mode));
ip                155 fs/xfs/xfs_filestream.c 		trace_xfs_filestream_scan(mp, ip->i_ino, ag);
ip                239 fs/xfs/xfs_filestream.c 		trace_xfs_filestream_pick(ip, *agp, free, nscan);
ip                244 fs/xfs/xfs_filestream.c 	trace_xfs_filestream_pick(ip, *agp, free, nscan);
ip                256 fs/xfs/xfs_filestream.c 	err = xfs_mru_cache_insert(mp->m_filestream, ip->i_ino, &item->mru);
ip                274 fs/xfs/xfs_filestream.c 	struct xfs_inode	*ip)
ip                276 fs/xfs/xfs_filestream.c 	struct inode		*inode = VFS_I(ip), *dir = NULL;
ip                304 fs/xfs/xfs_filestream.c 	struct xfs_inode	*ip)
ip                306 fs/xfs/xfs_filestream.c 	struct xfs_mount	*mp = ip->i_mount;
ip                311 fs/xfs/xfs_filestream.c 	ASSERT(S_ISREG(VFS_I(ip)->i_mode));
ip                313 fs/xfs/xfs_filestream.c 	pip = xfs_filestream_get_parent(ip);
ip                322 fs/xfs/xfs_filestream.c 		trace_xfs_filestream_lookup(mp, ip->i_ino, ag);
ip                356 fs/xfs/xfs_filestream.c 	struct xfs_inode	*ip = ap->ip, *pip;
ip                357 fs/xfs/xfs_filestream.c 	struct xfs_mount	*mp = ip->i_mount;
ip                366 fs/xfs/xfs_filestream.c 	pip = xfs_filestream_get_parent(ip);
ip                399 fs/xfs/xfs_filestream.c 	struct xfs_inode	*ip)
ip                401 fs/xfs/xfs_filestream.c 	xfs_mru_cache_delete(ip->i_mount->m_filestream, ip->i_ino);
ip                 15 fs/xfs/xfs_filestream.h void xfs_filestream_deassociate(struct xfs_inode *ip);
ip                 16 fs/xfs/xfs_filestream.h xfs_agnumber_t xfs_filestream_lookup_ag(struct xfs_inode *ip);
ip                 22 fs/xfs/xfs_filestream.h 	struct xfs_inode	*ip)
ip                 24 fs/xfs/xfs_filestream.h 	return (ip->i_mount->m_flags & XFS_MOUNT_FILESTREAMS) ||
ip                 25 fs/xfs/xfs_filestream.h 		(ip->i_d.di_flags & XFS_DIFLAG_FILESTREAM);
ip                224 fs/xfs/xfs_health.c 	struct xfs_inode	*ip,
ip                228 fs/xfs/xfs_health.c 	trace_xfs_inode_mark_sick(ip, mask);
ip                230 fs/xfs/xfs_health.c 	spin_lock(&ip->i_flags_lock);
ip                231 fs/xfs/xfs_health.c 	ip->i_sick |= mask;
ip                232 fs/xfs/xfs_health.c 	ip->i_checked |= mask;
ip                233 fs/xfs/xfs_health.c 	spin_unlock(&ip->i_flags_lock);
ip                239 fs/xfs/xfs_health.c 	struct xfs_inode	*ip,
ip                243 fs/xfs/xfs_health.c 	trace_xfs_inode_mark_healthy(ip, mask);
ip                245 fs/xfs/xfs_health.c 	spin_lock(&ip->i_flags_lock);
ip                246 fs/xfs/xfs_health.c 	ip->i_sick &= ~mask;
ip                247 fs/xfs/xfs_health.c 	ip->i_checked |= mask;
ip                248 fs/xfs/xfs_health.c 	spin_unlock(&ip->i_flags_lock);
ip                254 fs/xfs/xfs_health.c 	struct xfs_inode	*ip,
ip                258 fs/xfs/xfs_health.c 	spin_lock(&ip->i_flags_lock);
ip                259 fs/xfs/xfs_health.c 	*sick = ip->i_sick;
ip                260 fs/xfs/xfs_health.c 	*checked = ip->i_checked;
ip                261 fs/xfs/xfs_health.c 	spin_unlock(&ip->i_flags_lock);
ip                371 fs/xfs/xfs_health.c 	struct xfs_inode		*ip,
ip                381 fs/xfs/xfs_health.c 	xfs_inode_measure_sickness(ip, &sick, &checked);
ip                 36 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip;
ip                 43 fs/xfs/xfs_icache.c 	ip = kmem_zone_alloc(xfs_inode_zone, 0);
ip                 44 fs/xfs/xfs_icache.c 	if (!ip)
ip                 46 fs/xfs/xfs_icache.c 	if (inode_init_always(mp->m_super, VFS_I(ip))) {
ip                 47 fs/xfs/xfs_icache.c 		kmem_zone_free(xfs_inode_zone, ip);
ip                 52 fs/xfs/xfs_icache.c 	VFS_I(ip)->i_mode = 0;
ip                 55 fs/xfs/xfs_icache.c 	ASSERT(atomic_read(&ip->i_pincount) == 0);
ip                 56 fs/xfs/xfs_icache.c 	ASSERT(!xfs_isiflocked(ip));
ip                 57 fs/xfs/xfs_icache.c 	ASSERT(ip->i_ino == 0);
ip                 60 fs/xfs/xfs_icache.c 	ip->i_ino = ino;
ip                 61 fs/xfs/xfs_icache.c 	ip->i_mount = mp;
ip                 62 fs/xfs/xfs_icache.c 	memset(&ip->i_imap, 0, sizeof(struct xfs_imap));
ip                 63 fs/xfs/xfs_icache.c 	ip->i_afp = NULL;
ip                 64 fs/xfs/xfs_icache.c 	ip->i_cowfp = NULL;
ip                 65 fs/xfs/xfs_icache.c 	ip->i_cnextents = 0;
ip                 66 fs/xfs/xfs_icache.c 	ip->i_cformat = XFS_DINODE_FMT_EXTENTS;
ip                 67 fs/xfs/xfs_icache.c 	memset(&ip->i_df, 0, sizeof(ip->i_df));
ip                 68 fs/xfs/xfs_icache.c 	ip->i_flags = 0;
ip                 69 fs/xfs/xfs_icache.c 	ip->i_delayed_blks = 0;
ip                 70 fs/xfs/xfs_icache.c 	memset(&ip->i_d, 0, sizeof(ip->i_d));
ip                 71 fs/xfs/xfs_icache.c 	ip->i_sick = 0;
ip                 72 fs/xfs/xfs_icache.c 	ip->i_checked = 0;
ip                 73 fs/xfs/xfs_icache.c 	INIT_WORK(&ip->i_ioend_work, xfs_end_io);
ip                 74 fs/xfs/xfs_icache.c 	INIT_LIST_HEAD(&ip->i_ioend_list);
ip                 75 fs/xfs/xfs_icache.c 	spin_lock_init(&ip->i_ioend_lock);
ip                 77 fs/xfs/xfs_icache.c 	return ip;
ip                 85 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                 87 fs/xfs/xfs_icache.c 	switch (VFS_I(ip)->i_mode & S_IFMT) {
ip                 91 fs/xfs/xfs_icache.c 		xfs_idestroy_fork(ip, XFS_DATA_FORK);
ip                 95 fs/xfs/xfs_icache.c 	if (ip->i_afp)
ip                 96 fs/xfs/xfs_icache.c 		xfs_idestroy_fork(ip, XFS_ATTR_FORK);
ip                 97 fs/xfs/xfs_icache.c 	if (ip->i_cowfp)
ip                 98 fs/xfs/xfs_icache.c 		xfs_idestroy_fork(ip, XFS_COW_FORK);
ip                100 fs/xfs/xfs_icache.c 	if (ip->i_itemp) {
ip                102 fs/xfs/xfs_icache.c 				 &ip->i_itemp->ili_item.li_flags));
ip                103 fs/xfs/xfs_icache.c 		xfs_inode_item_destroy(ip);
ip                104 fs/xfs/xfs_icache.c 		ip->i_itemp = NULL;
ip                107 fs/xfs/xfs_icache.c 	kmem_zone_free(xfs_inode_zone, ip);
ip                112 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip)
ip                115 fs/xfs/xfs_icache.c 	ASSERT(atomic_read(&ip->i_pincount) == 0);
ip                116 fs/xfs/xfs_icache.c 	XFS_STATS_DEC(ip->i_mount, vn_active);
ip                118 fs/xfs/xfs_icache.c 	call_rcu(&VFS_I(ip)->i_rcu, xfs_inode_free_callback);
ip                123 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip)
ip                125 fs/xfs/xfs_icache.c 	ASSERT(!xfs_isiflocked(ip));
ip                133 fs/xfs/xfs_icache.c 	spin_lock(&ip->i_flags_lock);
ip                134 fs/xfs/xfs_icache.c 	ip->i_flags = XFS_IRECLAIM;
ip                135 fs/xfs/xfs_icache.c 	ip->i_ino = 0;
ip                136 fs/xfs/xfs_icache.c 	spin_unlock(&ip->i_flags_lock);
ip                138 fs/xfs/xfs_icache.c 	__xfs_inode_free(ip);
ip                227 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip)
ip                229 fs/xfs/xfs_icache.c 	struct xfs_mount	*mp = ip->i_mount;
ip                232 fs/xfs/xfs_icache.c 	pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, ip->i_ino));
ip                234 fs/xfs/xfs_icache.c 	spin_lock(&ip->i_flags_lock);
ip                236 fs/xfs/xfs_icache.c 	radix_tree_tag_set(&pag->pag_ici_root, XFS_INO_TO_AGINO(mp, ip->i_ino),
ip                239 fs/xfs/xfs_icache.c 	__xfs_iflags_set(ip, XFS_IRECLAIMABLE);
ip                241 fs/xfs/xfs_icache.c 	spin_unlock(&ip->i_flags_lock);
ip                259 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip)
ip                261 fs/xfs/xfs_icache.c 	wait_queue_head_t *wq = bit_waitqueue(&ip->i_flags, __XFS_INEW_BIT);
ip                262 fs/xfs/xfs_icache.c 	DEFINE_WAIT_BIT(wait, &ip->i_flags, __XFS_INEW_BIT);
ip                266 fs/xfs/xfs_icache.c 		if (!xfs_iflags_test(ip, XFS_INEW))
ip                315 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip,
ip                320 fs/xfs/xfs_icache.c 		if (VFS_I(ip)->i_mode != 0) {
ip                321 fs/xfs/xfs_icache.c 			xfs_warn(ip->i_mount,
ip                323 fs/xfs/xfs_icache.c 				ip->i_ino, VFS_I(ip)->i_mode);
ip                327 fs/xfs/xfs_icache.c 		if (ip->i_d.di_nblocks != 0) {
ip                328 fs/xfs/xfs_icache.c 			xfs_warn(ip->i_mount,
ip                330 fs/xfs/xfs_icache.c 				ip->i_ino);
ip                337 fs/xfs/xfs_icache.c 	if (VFS_I(ip)->i_mode == 0)
ip                349 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip,
ip                354 fs/xfs/xfs_icache.c 	struct inode		*inode = VFS_I(ip);
ip                355 fs/xfs/xfs_icache.c 	struct xfs_mount	*mp = ip->i_mount;
ip                365 fs/xfs/xfs_icache.c 	spin_lock(&ip->i_flags_lock);
ip                366 fs/xfs/xfs_icache.c 	if (ip->i_ino != ino) {
ip                367 fs/xfs/xfs_icache.c 		trace_xfs_iget_skip(ip);
ip                384 fs/xfs/xfs_icache.c 	if (ip->i_flags & (XFS_INEW|XFS_IRECLAIM)) {
ip                385 fs/xfs/xfs_icache.c 		trace_xfs_iget_skip(ip);
ip                395 fs/xfs/xfs_icache.c 	error = xfs_iget_check_free_state(ip, flags);
ip                403 fs/xfs/xfs_icache.c 	if (ip->i_flags & XFS_IRECLAIMABLE) {
ip                404 fs/xfs/xfs_icache.c 		trace_xfs_iget_reclaim(ip);
ip                417 fs/xfs/xfs_icache.c 		ip->i_flags |= XFS_IRECLAIM;
ip                419 fs/xfs/xfs_icache.c 		spin_unlock(&ip->i_flags_lock);
ip                430 fs/xfs/xfs_icache.c 			spin_lock(&ip->i_flags_lock);
ip                431 fs/xfs/xfs_icache.c 			wake = !!__xfs_iflags_test(ip, XFS_INEW);
ip                432 fs/xfs/xfs_icache.c 			ip->i_flags &= ~(XFS_INEW | XFS_IRECLAIM);
ip                434 fs/xfs/xfs_icache.c 				wake_up_bit(&ip->i_flags, __XFS_INEW_BIT);
ip                435 fs/xfs/xfs_icache.c 			ASSERT(ip->i_flags & XFS_IRECLAIMABLE);
ip                436 fs/xfs/xfs_icache.c 			trace_xfs_iget_reclaim_fail(ip);
ip                441 fs/xfs/xfs_icache.c 		spin_lock(&ip->i_flags_lock);
ip                448 fs/xfs/xfs_icache.c 		ip->i_flags &= ~XFS_IRECLAIM_RESET_FLAGS;
ip                449 fs/xfs/xfs_icache.c 		ip->i_flags |= XFS_INEW;
ip                450 fs/xfs/xfs_icache.c 		xfs_inode_clear_reclaim_tag(pag, ip->i_ino);
ip                452 fs/xfs/xfs_icache.c 		ip->i_sick = 0;
ip                453 fs/xfs/xfs_icache.c 		ip->i_checked = 0;
ip                458 fs/xfs/xfs_icache.c 		spin_unlock(&ip->i_flags_lock);
ip                463 fs/xfs/xfs_icache.c 			trace_xfs_iget_skip(ip);
ip                469 fs/xfs/xfs_icache.c 		spin_unlock(&ip->i_flags_lock);
ip                471 fs/xfs/xfs_icache.c 		trace_xfs_iget_hit(ip);
ip                475 fs/xfs/xfs_icache.c 		xfs_ilock(ip, lock_flags);
ip                478 fs/xfs/xfs_icache.c 		xfs_iflags_clear(ip, XFS_ISTALE | XFS_IDONTCACHE);
ip                484 fs/xfs/xfs_icache.c 	spin_unlock(&ip->i_flags_lock);
ip                500 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip;
ip                505 fs/xfs/xfs_icache.c 	ip = xfs_inode_alloc(mp, ino);
ip                506 fs/xfs/xfs_icache.c 	if (!ip)
ip                509 fs/xfs/xfs_icache.c 	error = xfs_iread(mp, tp, ip, flags);
ip                513 fs/xfs/xfs_icache.c 	if (!xfs_inode_verify_forks(ip)) {
ip                518 fs/xfs/xfs_icache.c 	trace_xfs_iget_miss(ip);
ip                525 fs/xfs/xfs_icache.c 	error = xfs_iget_check_free_state(ip, flags);
ip                545 fs/xfs/xfs_icache.c 		if (!xfs_ilock_nowait(ip, lock_flags))
ip                561 fs/xfs/xfs_icache.c 	ip->i_udquot = NULL;
ip                562 fs/xfs/xfs_icache.c 	ip->i_gdquot = NULL;
ip                563 fs/xfs/xfs_icache.c 	ip->i_pdquot = NULL;
ip                564 fs/xfs/xfs_icache.c 	xfs_iflags_set(ip, iflags);
ip                568 fs/xfs/xfs_icache.c 	error = radix_tree_insert(&pag->pag_ici_root, agino, ip);
ip                578 fs/xfs/xfs_icache.c 	*ipp = ip;
ip                585 fs/xfs/xfs_icache.c 		xfs_iunlock(ip, lock_flags);
ip                587 fs/xfs/xfs_icache.c 	__destroy_inode(VFS_I(ip));
ip                588 fs/xfs/xfs_icache.c 	xfs_inode_free(ip);
ip                623 fs/xfs/xfs_icache.c 	xfs_inode_t	*ip;
ip                650 fs/xfs/xfs_icache.c 	ip = radix_tree_lookup(&pag->pag_ici_root, agino);
ip                652 fs/xfs/xfs_icache.c 	if (ip) {
ip                653 fs/xfs/xfs_icache.c 		error = xfs_iget_cache_hit(pag, ip, ino, flags, lock_flags);
ip                664 fs/xfs/xfs_icache.c 		error = xfs_iget_cache_miss(mp, pag, tp, ino, &ip,
ip                671 fs/xfs/xfs_icache.c 	*ipp = ip;
ip                677 fs/xfs/xfs_icache.c 	if (xfs_iflags_test(ip, XFS_INEW) && VFS_I(ip)->i_mode != 0)
ip                678 fs/xfs/xfs_icache.c 		xfs_setup_existing_inode(ip);
ip                716 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip;
ip                719 fs/xfs/xfs_icache.c 	error = xfs_iget(mp, tp, ino, XFS_IGET_INCORE, 0, &ip);
ip                723 fs/xfs/xfs_icache.c 	*inuse = !!(VFS_I(ip)->i_mode);
ip                724 fs/xfs/xfs_icache.c 	xfs_irele(ip);
ip                738 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip,
ip                741 fs/xfs/xfs_icache.c 	struct inode		*inode = VFS_I(ip);
ip                755 fs/xfs/xfs_icache.c 	spin_lock(&ip->i_flags_lock);
ip                756 fs/xfs/xfs_icache.c 	if (!ip->i_ino)
ip                760 fs/xfs/xfs_icache.c 	if ((!newinos && __xfs_iflags_test(ip, XFS_INEW)) ||
ip                761 fs/xfs/xfs_icache.c 	    __xfs_iflags_test(ip, XFS_IRECLAIMABLE | XFS_IRECLAIM))
ip                763 fs/xfs/xfs_icache.c 	spin_unlock(&ip->i_flags_lock);
ip                766 fs/xfs/xfs_icache.c 	if (XFS_FORCED_SHUTDOWN(ip->i_mount))
ip                777 fs/xfs/xfs_icache.c 	spin_unlock(&ip->i_flags_lock);
ip                785 fs/xfs/xfs_icache.c 	int			(*execute)(struct xfs_inode *ip, int flags,
ip                830 fs/xfs/xfs_icache.c 			struct xfs_inode *ip = batch[i];
ip                832 fs/xfs/xfs_icache.c 			if (done || xfs_inode_ag_walk_grab(ip, iter_flags))
ip                847 fs/xfs/xfs_icache.c 			if (XFS_INO_TO_AGNO(mp, ip->i_ino) != pag->pag_agno)
ip                849 fs/xfs/xfs_icache.c 			first_index = XFS_INO_TO_AGINO(mp, ip->i_ino + 1);
ip                850 fs/xfs/xfs_icache.c 			if (first_index < XFS_INO_TO_AGINO(mp, ip->i_ino))
ip                954 fs/xfs/xfs_icache.c 	int			(*execute)(struct xfs_inode *ip, int flags,
ip                983 fs/xfs/xfs_icache.c 	int			(*execute)(struct xfs_inode *ip, int flags,
ip                994 fs/xfs/xfs_icache.c 	int			(*execute)(struct xfs_inode *ip, int flags,
ip               1026 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip,
ip               1032 fs/xfs/xfs_icache.c 	if (!ip->i_ino)
ip               1041 fs/xfs/xfs_icache.c 	    __xfs_iflags_test(ip, XFS_IFLOCK | XFS_IRECLAIM))
ip               1054 fs/xfs/xfs_icache.c 	spin_lock(&ip->i_flags_lock);
ip               1055 fs/xfs/xfs_icache.c 	if (!__xfs_iflags_test(ip, XFS_IRECLAIMABLE) ||
ip               1056 fs/xfs/xfs_icache.c 	    __xfs_iflags_test(ip, XFS_IRECLAIM)) {
ip               1058 fs/xfs/xfs_icache.c 		spin_unlock(&ip->i_flags_lock);
ip               1061 fs/xfs/xfs_icache.c 	__xfs_iflags_set(ip, XFS_IRECLAIM);
ip               1062 fs/xfs/xfs_icache.c 	spin_unlock(&ip->i_flags_lock);
ip               1107 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip,
ip               1112 fs/xfs/xfs_icache.c 	xfs_ino_t		ino = ip->i_ino; /* for radix_tree_delete */
ip               1117 fs/xfs/xfs_icache.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               1118 fs/xfs/xfs_icache.c 	if (!xfs_iflock_nowait(ip)) {
ip               1121 fs/xfs/xfs_icache.c 		xfs_iflock(ip);
ip               1124 fs/xfs/xfs_icache.c 	if (XFS_FORCED_SHUTDOWN(ip->i_mount)) {
ip               1125 fs/xfs/xfs_icache.c 		xfs_iunpin_wait(ip);
ip               1127 fs/xfs/xfs_icache.c 		xfs_iflush_abort(ip, false);
ip               1130 fs/xfs/xfs_icache.c 	if (xfs_ipincount(ip)) {
ip               1133 fs/xfs/xfs_icache.c 		xfs_iunpin_wait(ip);
ip               1135 fs/xfs/xfs_icache.c 	if (xfs_iflags_test(ip, XFS_ISTALE) || xfs_inode_clean(ip)) {
ip               1136 fs/xfs/xfs_icache.c 		xfs_ifunlock(ip);
ip               1163 fs/xfs/xfs_icache.c 	error = xfs_iflush(ip, &bp);
ip               1165 fs/xfs/xfs_icache.c 		xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1177 fs/xfs/xfs_icache.c 	ASSERT(!xfs_isiflocked(ip));
ip               1189 fs/xfs/xfs_icache.c 	spin_lock(&ip->i_flags_lock);
ip               1190 fs/xfs/xfs_icache.c 	ip->i_flags = XFS_IRECLAIM;
ip               1191 fs/xfs/xfs_icache.c 	ip->i_ino = 0;
ip               1192 fs/xfs/xfs_icache.c 	spin_unlock(&ip->i_flags_lock);
ip               1194 fs/xfs/xfs_icache.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1196 fs/xfs/xfs_icache.c 	XFS_STATS_INC(ip->i_mount, xs_ig_reclaims);
ip               1206 fs/xfs/xfs_icache.c 				XFS_INO_TO_AGINO(ip->i_mount, ino)))
ip               1219 fs/xfs/xfs_icache.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               1220 fs/xfs/xfs_icache.c 	xfs_qm_dqdetach(ip);
ip               1221 fs/xfs/xfs_icache.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1223 fs/xfs/xfs_icache.c 	__xfs_inode_free(ip);
ip               1227 fs/xfs/xfs_icache.c 	xfs_ifunlock(ip);
ip               1229 fs/xfs/xfs_icache.c 	xfs_iflags_clear(ip, XFS_IRECLAIM);
ip               1230 fs/xfs/xfs_icache.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1301 fs/xfs/xfs_icache.c 				struct xfs_inode *ip = batch[i];
ip               1303 fs/xfs/xfs_icache.c 				if (done || xfs_reclaim_inode_grab(ip, flags))
ip               1320 fs/xfs/xfs_icache.c 				if (XFS_INO_TO_AGNO(mp, ip->i_ino) !=
ip               1323 fs/xfs/xfs_icache.c 				first_index = XFS_INO_TO_AGINO(mp, ip->i_ino + 1);
ip               1324 fs/xfs/xfs_icache.c 				if (first_index < XFS_INO_TO_AGINO(mp, ip->i_ino))
ip               1420 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip,
ip               1424 fs/xfs/xfs_icache.c 	    !uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid))
ip               1428 fs/xfs/xfs_icache.c 	    !gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid))
ip               1432 fs/xfs/xfs_icache.c 	    xfs_get_projid(ip) != eofb->eof_prid)
ip               1444 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip,
ip               1448 fs/xfs/xfs_icache.c 	    uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid))
ip               1452 fs/xfs/xfs_icache.c 	    gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid))
ip               1456 fs/xfs/xfs_icache.c 	    xfs_get_projid(ip) == eofb->eof_prid)
ip               1464 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip,
ip               1472 fs/xfs/xfs_icache.c 	if (!xfs_can_free_eofblocks(ip, false)) {
ip               1474 fs/xfs/xfs_icache.c 		trace_xfs_inode_free_eofblocks_invalid(ip);
ip               1475 fs/xfs/xfs_icache.c 		xfs_inode_clear_eofblocks_tag(ip);
ip               1484 fs/xfs/xfs_icache.c 	    mapping_tagged(VFS_I(ip)->i_mapping, PAGECACHE_TAG_DIRTY))
ip               1489 fs/xfs/xfs_icache.c 			match = xfs_inode_match_id_union(ip, eofb);
ip               1491 fs/xfs/xfs_icache.c 			match = xfs_inode_match_id(ip, eofb);
ip               1497 fs/xfs/xfs_icache.c 		    XFS_ISIZE(ip) < eofb->eof_min_file_size)
ip               1505 fs/xfs/xfs_icache.c 	if (!xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) {
ip               1510 fs/xfs/xfs_icache.c 	ret = xfs_free_eofblocks(ip);
ip               1511 fs/xfs/xfs_icache.c 	xfs_iunlock(ip, XFS_IOLOCK_EXCL);
ip               1520 fs/xfs/xfs_icache.c 	int			(*execute)(struct xfs_inode *ip, int flags,
ip               1550 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip,
ip               1564 fs/xfs/xfs_icache.c 	if (XFS_IS_UQUOTA_ENFORCED(ip->i_mount)) {
ip               1565 fs/xfs/xfs_icache.c 		dq = xfs_inode_dquot(ip, XFS_DQ_USER);
ip               1567 fs/xfs/xfs_icache.c 			eofb.eof_uid = VFS_I(ip)->i_uid;
ip               1573 fs/xfs/xfs_icache.c 	if (XFS_IS_GQUOTA_ENFORCED(ip->i_mount)) {
ip               1574 fs/xfs/xfs_icache.c 		dq = xfs_inode_dquot(ip, XFS_DQ_GROUP);
ip               1576 fs/xfs/xfs_icache.c 			eofb.eof_gid = VFS_I(ip)->i_gid;
ip               1583 fs/xfs/xfs_icache.c 		execute(ip->i_mount, &eofb);
ip               1590 fs/xfs/xfs_icache.c 	struct xfs_inode *ip)
ip               1592 fs/xfs/xfs_icache.c 	return __xfs_inode_free_quota_eofblocks(ip, xfs_icache_free_eofblocks);
ip               1612 fs/xfs/xfs_icache.c 	xfs_inode_t	*ip,
ip               1618 fs/xfs/xfs_icache.c 	struct xfs_mount *mp = ip->i_mount;
ip               1626 fs/xfs/xfs_icache.c 	if (ip->i_flags & xfs_iflag_for_tag(tag))
ip               1628 fs/xfs/xfs_icache.c 	spin_lock(&ip->i_flags_lock);
ip               1629 fs/xfs/xfs_icache.c 	ip->i_flags |= xfs_iflag_for_tag(tag);
ip               1630 fs/xfs/xfs_icache.c 	spin_unlock(&ip->i_flags_lock);
ip               1632 fs/xfs/xfs_icache.c 	pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, ip->i_ino));
ip               1637 fs/xfs/xfs_icache.c 			   XFS_INO_TO_AGINO(ip->i_mount, ip->i_ino), tag);
ip               1640 fs/xfs/xfs_icache.c 		spin_lock(&ip->i_mount->m_perag_lock);
ip               1641 fs/xfs/xfs_icache.c 		radix_tree_tag_set(&ip->i_mount->m_perag_tree,
ip               1642 fs/xfs/xfs_icache.c 				   XFS_INO_TO_AGNO(ip->i_mount, ip->i_ino),
ip               1644 fs/xfs/xfs_icache.c 		spin_unlock(&ip->i_mount->m_perag_lock);
ip               1647 fs/xfs/xfs_icache.c 		execute(ip->i_mount);
ip               1649 fs/xfs/xfs_icache.c 		set_tp(ip->i_mount, pag->pag_agno, -1, _RET_IP_);
ip               1658 fs/xfs/xfs_icache.c 	xfs_inode_t	*ip)
ip               1660 fs/xfs/xfs_icache.c 	trace_xfs_inode_set_eofblocks_tag(ip);
ip               1661 fs/xfs/xfs_icache.c 	return __xfs_inode_set_blocks_tag(ip, xfs_queue_eofblocks,
ip               1668 fs/xfs/xfs_icache.c 	xfs_inode_t	*ip,
ip               1673 fs/xfs/xfs_icache.c 	struct xfs_mount *mp = ip->i_mount;
ip               1676 fs/xfs/xfs_icache.c 	spin_lock(&ip->i_flags_lock);
ip               1677 fs/xfs/xfs_icache.c 	ip->i_flags &= ~xfs_iflag_for_tag(tag);
ip               1678 fs/xfs/xfs_icache.c 	spin_unlock(&ip->i_flags_lock);
ip               1680 fs/xfs/xfs_icache.c 	pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, ip->i_ino));
ip               1684 fs/xfs/xfs_icache.c 			     XFS_INO_TO_AGINO(ip->i_mount, ip->i_ino), tag);
ip               1687 fs/xfs/xfs_icache.c 		spin_lock(&ip->i_mount->m_perag_lock);
ip               1688 fs/xfs/xfs_icache.c 		radix_tree_tag_clear(&ip->i_mount->m_perag_tree,
ip               1689 fs/xfs/xfs_icache.c 				     XFS_INO_TO_AGNO(ip->i_mount, ip->i_ino),
ip               1691 fs/xfs/xfs_icache.c 		spin_unlock(&ip->i_mount->m_perag_lock);
ip               1692 fs/xfs/xfs_icache.c 		clear_tp(ip->i_mount, pag->pag_agno, -1, _RET_IP_);
ip               1701 fs/xfs/xfs_icache.c 	xfs_inode_t	*ip)
ip               1703 fs/xfs/xfs_icache.c 	trace_xfs_inode_clear_eofblocks_tag(ip);
ip               1704 fs/xfs/xfs_icache.c 	return __xfs_inode_clear_blocks_tag(ip,
ip               1715 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip)
ip               1721 fs/xfs/xfs_icache.c 	if (!xfs_inode_has_cow_data(ip)) {
ip               1722 fs/xfs/xfs_icache.c 		trace_xfs_inode_free_cowblocks_invalid(ip);
ip               1723 fs/xfs/xfs_icache.c 		xfs_inode_clear_cowblocks_tag(ip);
ip               1731 fs/xfs/xfs_icache.c 	if ((VFS_I(ip)->i_state & I_DIRTY_PAGES) ||
ip               1732 fs/xfs/xfs_icache.c 	    mapping_tagged(VFS_I(ip)->i_mapping, PAGECACHE_TAG_DIRTY) ||
ip               1733 fs/xfs/xfs_icache.c 	    mapping_tagged(VFS_I(ip)->i_mapping, PAGECACHE_TAG_WRITEBACK) ||
ip               1734 fs/xfs/xfs_icache.c 	    atomic_read(&VFS_I(ip)->i_dio_count))
ip               1754 fs/xfs/xfs_icache.c 	struct xfs_inode	*ip,
ip               1762 fs/xfs/xfs_icache.c 	if (!xfs_prep_free_cowblocks(ip))
ip               1767 fs/xfs/xfs_icache.c 			match = xfs_inode_match_id_union(ip, eofb);
ip               1769 fs/xfs/xfs_icache.c 			match = xfs_inode_match_id(ip, eofb);
ip               1775 fs/xfs/xfs_icache.c 		    XFS_ISIZE(ip) < eofb->eof_min_file_size)
ip               1780 fs/xfs/xfs_icache.c 	xfs_ilock(ip, XFS_IOLOCK_EXCL);
ip               1781 fs/xfs/xfs_icache.c 	xfs_ilock(ip, XFS_MMAPLOCK_EXCL);
ip               1787 fs/xfs/xfs_icache.c 	if (xfs_prep_free_cowblocks(ip))
ip               1788 fs/xfs/xfs_icache.c 		ret = xfs_reflink_cancel_cow_range(ip, 0, NULLFILEOFF, false);
ip               1790 fs/xfs/xfs_icache.c 	xfs_iunlock(ip, XFS_MMAPLOCK_EXCL);
ip               1791 fs/xfs/xfs_icache.c 	xfs_iunlock(ip, XFS_IOLOCK_EXCL);
ip               1807 fs/xfs/xfs_icache.c 	struct xfs_inode *ip)
ip               1809 fs/xfs/xfs_icache.c 	return __xfs_inode_free_quota_eofblocks(ip, xfs_icache_free_cowblocks);
ip               1814 fs/xfs/xfs_icache.c 	xfs_inode_t	*ip)
ip               1816 fs/xfs/xfs_icache.c 	trace_xfs_inode_set_cowblocks_tag(ip);
ip               1817 fs/xfs/xfs_icache.c 	return __xfs_inode_set_blocks_tag(ip, xfs_queue_cowblocks,
ip               1824 fs/xfs/xfs_icache.c 	xfs_inode_t	*ip)
ip               1826 fs/xfs/xfs_icache.c 	trace_xfs_inode_clear_cowblocks_tag(ip);
ip               1827 fs/xfs/xfs_icache.c 	return __xfs_inode_clear_blocks_tag(ip,
ip                 50 fs/xfs/xfs_icache.h void xfs_inode_free(struct xfs_inode *ip);
ip                 58 fs/xfs/xfs_icache.h void xfs_inode_set_reclaim_tag(struct xfs_inode *ip);
ip                 60 fs/xfs/xfs_icache.h void xfs_inode_set_eofblocks_tag(struct xfs_inode *ip);
ip                 61 fs/xfs/xfs_icache.h void xfs_inode_clear_eofblocks_tag(struct xfs_inode *ip);
ip                 63 fs/xfs/xfs_icache.h int xfs_inode_free_quota_eofblocks(struct xfs_inode *ip);
ip                 67 fs/xfs/xfs_icache.h void xfs_inode_set_cowblocks_tag(struct xfs_inode *ip);
ip                 68 fs/xfs/xfs_icache.h void xfs_inode_clear_cowblocks_tag(struct xfs_inode *ip);
ip                 70 fs/xfs/xfs_icache.h int xfs_inode_free_quota_cowblocks(struct xfs_inode *ip);
ip                 75 fs/xfs/xfs_icache.h 	int (*execute)(struct xfs_inode *ip, int flags, void *args),
ip                 78 fs/xfs/xfs_icache.h 	int (*execute)(struct xfs_inode *ip, int flags, void *args),
ip                 81 fs/xfs/xfs_icache.h 	int (*execute)(struct xfs_inode *ip, int flags, void *args),
ip                 56 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip                 58 fs/xfs/xfs_inode.c 	if ((ip->i_d.di_flags & XFS_DIFLAG_EXTSIZE) && ip->i_d.di_extsize)
ip                 59 fs/xfs/xfs_inode.c 		return ip->i_d.di_extsize;
ip                 60 fs/xfs/xfs_inode.c 	if (XFS_IS_REALTIME_INODE(ip))
ip                 61 fs/xfs/xfs_inode.c 		return ip->i_mount->m_sb.sb_rextsize;
ip                 73 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip                 78 fs/xfs/xfs_inode.c 	if (ip->i_d.di_flags2 & XFS_DIFLAG2_COWEXTSIZE)
ip                 79 fs/xfs/xfs_inode.c 		a = ip->i_d.di_cowextsize;
ip                 80 fs/xfs/xfs_inode.c 	b = xfs_get_extsz_hint(ip);
ip                105 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip                109 fs/xfs/xfs_inode.c 	if (ip->i_d.di_format == XFS_DINODE_FMT_BTREE &&
ip                110 fs/xfs/xfs_inode.c 	    (ip->i_df.if_flags & XFS_IFEXTENTS) == 0)
ip                112 fs/xfs/xfs_inode.c 	xfs_ilock(ip, lock_mode);
ip                118 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip                122 fs/xfs/xfs_inode.c 	if (ip->i_d.di_aformat == XFS_DINODE_FMT_BTREE &&
ip                123 fs/xfs/xfs_inode.c 	    (ip->i_afp->if_flags & XFS_IFEXTENTS) == 0)
ip                125 fs/xfs/xfs_inode.c 	xfs_ilock(ip, lock_mode);
ip                161 fs/xfs/xfs_inode.c 	xfs_inode_t		*ip,
ip                164 fs/xfs/xfs_inode.c 	trace_xfs_ilock(ip, lock_flags, _RET_IP_);
ip                180 fs/xfs/xfs_inode.c 		down_write_nested(&VFS_I(ip)->i_rwsem,
ip                183 fs/xfs/xfs_inode.c 		down_read_nested(&VFS_I(ip)->i_rwsem,
ip                188 fs/xfs/xfs_inode.c 		mrupdate_nested(&ip->i_mmaplock, XFS_MMAPLOCK_DEP(lock_flags));
ip                190 fs/xfs/xfs_inode.c 		mraccess_nested(&ip->i_mmaplock, XFS_MMAPLOCK_DEP(lock_flags));
ip                193 fs/xfs/xfs_inode.c 		mrupdate_nested(&ip->i_lock, XFS_ILOCK_DEP(lock_flags));
ip                195 fs/xfs/xfs_inode.c 		mraccess_nested(&ip->i_lock, XFS_ILOCK_DEP(lock_flags));
ip                212 fs/xfs/xfs_inode.c 	xfs_inode_t		*ip,
ip                215 fs/xfs/xfs_inode.c 	trace_xfs_ilock_nowait(ip, lock_flags, _RET_IP_);
ip                231 fs/xfs/xfs_inode.c 		if (!down_write_trylock(&VFS_I(ip)->i_rwsem))
ip                234 fs/xfs/xfs_inode.c 		if (!down_read_trylock(&VFS_I(ip)->i_rwsem))
ip                239 fs/xfs/xfs_inode.c 		if (!mrtryupdate(&ip->i_mmaplock))
ip                242 fs/xfs/xfs_inode.c 		if (!mrtryaccess(&ip->i_mmaplock))
ip                247 fs/xfs/xfs_inode.c 		if (!mrtryupdate(&ip->i_lock))
ip                250 fs/xfs/xfs_inode.c 		if (!mrtryaccess(&ip->i_lock))
ip                257 fs/xfs/xfs_inode.c 		mrunlock_excl(&ip->i_mmaplock);
ip                259 fs/xfs/xfs_inode.c 		mrunlock_shared(&ip->i_mmaplock);
ip                262 fs/xfs/xfs_inode.c 		up_write(&VFS_I(ip)->i_rwsem);
ip                264 fs/xfs/xfs_inode.c 		up_read(&VFS_I(ip)->i_rwsem);
ip                283 fs/xfs/xfs_inode.c 	xfs_inode_t		*ip,
ip                301 fs/xfs/xfs_inode.c 		up_write(&VFS_I(ip)->i_rwsem);
ip                303 fs/xfs/xfs_inode.c 		up_read(&VFS_I(ip)->i_rwsem);
ip                306 fs/xfs/xfs_inode.c 		mrunlock_excl(&ip->i_mmaplock);
ip                308 fs/xfs/xfs_inode.c 		mrunlock_shared(&ip->i_mmaplock);
ip                311 fs/xfs/xfs_inode.c 		mrunlock_excl(&ip->i_lock);
ip                313 fs/xfs/xfs_inode.c 		mrunlock_shared(&ip->i_lock);
ip                315 fs/xfs/xfs_inode.c 	trace_xfs_iunlock(ip, lock_flags, _RET_IP_);
ip                324 fs/xfs/xfs_inode.c 	xfs_inode_t		*ip,
ip                332 fs/xfs/xfs_inode.c 		mrdemote(&ip->i_lock);
ip                334 fs/xfs/xfs_inode.c 		mrdemote(&ip->i_mmaplock);
ip                336 fs/xfs/xfs_inode.c 		downgrade_write(&VFS_I(ip)->i_rwsem);
ip                338 fs/xfs/xfs_inode.c 	trace_xfs_ilock_demote(ip, lock_flags, _RET_IP_);
ip                344 fs/xfs/xfs_inode.c 	xfs_inode_t		*ip,
ip                349 fs/xfs/xfs_inode.c 			return !!ip->i_lock.mr_writer;
ip                350 fs/xfs/xfs_inode.c 		return rwsem_is_locked(&ip->i_lock.mr_lock);
ip                355 fs/xfs/xfs_inode.c 			return !!ip->i_mmaplock.mr_writer;
ip                356 fs/xfs/xfs_inode.c 		return rwsem_is_locked(&ip->i_mmaplock.mr_lock);
ip                362 fs/xfs/xfs_inode.c 				lockdep_is_held_type(&VFS_I(ip)->i_rwsem, 0);
ip                363 fs/xfs/xfs_inode.c 		return rwsem_is_locked(&VFS_I(ip)->i_rwsem);
ip                597 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip                599 fs/xfs/xfs_inode.c 	wait_queue_head_t *wq = bit_waitqueue(&ip->i_flags, __XFS_IFLOCK_BIT);
ip                600 fs/xfs/xfs_inode.c 	DEFINE_WAIT_BIT(wait, &ip->i_flags, __XFS_IFLOCK_BIT);
ip                604 fs/xfs/xfs_inode.c 		if (xfs_isiflocked(ip))
ip                606 fs/xfs/xfs_inode.c 	} while (!xfs_iflock_nowait(ip));
ip                665 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip                667 fs/xfs/xfs_inode.c 	struct xfs_icdinode	*dic = &ip->i_d;
ip                669 fs/xfs/xfs_inode.c 	return _xfs_dic2xflags(dic->di_flags, dic->di_flags2, XFS_IFORK_Q(ip));
ip                755 fs/xfs/xfs_inode.c 	xfs_inode_t	*ip;
ip                793 fs/xfs/xfs_inode.c 			 XFS_ILOCK_EXCL, &ip);
ip                796 fs/xfs/xfs_inode.c 	ASSERT(ip != NULL);
ip                797 fs/xfs/xfs_inode.c 	inode = VFS_I(ip);
ip                804 fs/xfs/xfs_inode.c 	if (ip->i_d.di_version == 1)
ip                805 fs/xfs/xfs_inode.c 		ip->i_d.di_version = 2;
ip                809 fs/xfs/xfs_inode.c 	ip->i_d.di_uid = xfs_kuid_to_uid(current_fsuid());
ip                810 fs/xfs/xfs_inode.c 	ip->i_d.di_gid = xfs_kgid_to_gid(current_fsgid());
ip                812 fs/xfs/xfs_inode.c 	xfs_set_projid(ip, prid);
ip                815 fs/xfs/xfs_inode.c 		ip->i_d.di_gid = pip->i_d.di_gid;
ip                827 fs/xfs/xfs_inode.c 	    (!in_group_p(xfs_gid_to_kgid(ip->i_d.di_gid))))
ip                830 fs/xfs/xfs_inode.c 	ip->i_d.di_size = 0;
ip                831 fs/xfs/xfs_inode.c 	ip->i_d.di_nextents = 0;
ip                832 fs/xfs/xfs_inode.c 	ASSERT(ip->i_d.di_nblocks == 0);
ip                839 fs/xfs/xfs_inode.c 	ip->i_d.di_extsize = 0;
ip                840 fs/xfs/xfs_inode.c 	ip->i_d.di_dmevmask = 0;
ip                841 fs/xfs/xfs_inode.c 	ip->i_d.di_dmstate = 0;
ip                842 fs/xfs/xfs_inode.c 	ip->i_d.di_flags = 0;
ip                844 fs/xfs/xfs_inode.c 	if (ip->i_d.di_version == 3) {
ip                846 fs/xfs/xfs_inode.c 		ip->i_d.di_flags2 = 0;
ip                847 fs/xfs/xfs_inode.c 		ip->i_d.di_cowextsize = 0;
ip                848 fs/xfs/xfs_inode.c 		ip->i_d.di_crtime.t_sec = (int32_t)tv.tv_sec;
ip                849 fs/xfs/xfs_inode.c 		ip->i_d.di_crtime.t_nsec = (int32_t)tv.tv_nsec;
ip                859 fs/xfs/xfs_inode.c 		ip->i_d.di_format = XFS_DINODE_FMT_DEV;
ip                860 fs/xfs/xfs_inode.c 		ip->i_df.if_flags = 0;
ip                873 fs/xfs/xfs_inode.c 					ip->i_d.di_extsize = pip->i_d.di_extsize;
ip                882 fs/xfs/xfs_inode.c 					ip->i_d.di_extsize = pip->i_d.di_extsize;
ip                903 fs/xfs/xfs_inode.c 			ip->i_d.di_flags |= di_flags;
ip                908 fs/xfs/xfs_inode.c 		    ip->i_d.di_version == 3) {
ip                913 fs/xfs/xfs_inode.c 				ip->i_d.di_cowextsize = pip->i_d.di_cowextsize;
ip                918 fs/xfs/xfs_inode.c 			ip->i_d.di_flags2 |= di_flags2;
ip                922 fs/xfs/xfs_inode.c 		ip->i_d.di_format = XFS_DINODE_FMT_EXTENTS;
ip                923 fs/xfs/xfs_inode.c 		ip->i_df.if_flags = XFS_IFEXTENTS;
ip                924 fs/xfs/xfs_inode.c 		ip->i_df.if_bytes = 0;
ip                925 fs/xfs/xfs_inode.c 		ip->i_df.if_u1.if_root = NULL;
ip                933 fs/xfs/xfs_inode.c 	ip->i_d.di_aformat = XFS_DINODE_FMT_EXTENTS;
ip                934 fs/xfs/xfs_inode.c 	ip->i_d.di_anextents = 0;
ip                939 fs/xfs/xfs_inode.c 	xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
ip                940 fs/xfs/xfs_inode.c 	xfs_trans_log_inode(tp, ip, flags);
ip                943 fs/xfs/xfs_inode.c 	xfs_setup_inode(ip);
ip                945 fs/xfs/xfs_inode.c 	*ipp = ip;
ip                973 fs/xfs/xfs_inode.c 	xfs_inode_t	*ip;
ip                998 fs/xfs/xfs_inode.c 			&ip);
ip               1009 fs/xfs/xfs_inode.c 	if (!ialloc_context && !ip) {
ip               1068 fs/xfs/xfs_inode.c 				  &ialloc_context, &ip);
ip               1079 fs/xfs/xfs_inode.c 		ASSERT(!ialloc_context && ip);
ip               1083 fs/xfs/xfs_inode.c 	*ipp = ip;
ip               1097 fs/xfs/xfs_inode.c 	xfs_inode_t *ip)
ip               1099 fs/xfs/xfs_inode.c 	xfs_trans_ichgtime(tp, ip, XFS_ICHGTIME_CHG);
ip               1101 fs/xfs/xfs_inode.c 	drop_nlink(VFS_I(ip));
ip               1102 fs/xfs/xfs_inode.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip               1104 fs/xfs/xfs_inode.c 	if (VFS_I(ip)->i_nlink)
ip               1107 fs/xfs/xfs_inode.c 	return xfs_iunlink(tp, ip);
ip               1116 fs/xfs/xfs_inode.c 	xfs_inode_t *ip)
ip               1118 fs/xfs/xfs_inode.c 	xfs_trans_ichgtime(tp, ip, XFS_ICHGTIME_CHG);
ip               1120 fs/xfs/xfs_inode.c 	ASSERT(ip->i_d.di_version > 1);
ip               1121 fs/xfs/xfs_inode.c 	inc_nlink(VFS_I(ip));
ip               1122 fs/xfs/xfs_inode.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip               1135 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip = NULL;
ip               1202 fs/xfs/xfs_inode.c 	error = xfs_dir_ialloc(&tp, dp, mode, is_dir ? 2 : 1, rdev, prid, &ip);
ip               1216 fs/xfs/xfs_inode.c 	error = xfs_dir_createname(tp, dp, name, ip->i_ino,
ip               1227 fs/xfs/xfs_inode.c 		error = xfs_dir_init(tp, ip, dp);
ip               1247 fs/xfs/xfs_inode.c 	xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp);
ip               1257 fs/xfs/xfs_inode.c 	*ipp = ip;
ip               1268 fs/xfs/xfs_inode.c 	if (ip) {
ip               1269 fs/xfs/xfs_inode.c 		xfs_finish_inode_setup(ip);
ip               1270 fs/xfs/xfs_inode.c 		xfs_irele(ip);
ip               1289 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip = NULL;
ip               1326 fs/xfs/xfs_inode.c 	error = xfs_dir_ialloc(&tp, dp, mode, 0, 0, prid, &ip);
ip               1338 fs/xfs/xfs_inode.c 	xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp);
ip               1340 fs/xfs/xfs_inode.c 	error = xfs_iunlink(tp, ip);
ip               1352 fs/xfs/xfs_inode.c 	*ipp = ip;
ip               1363 fs/xfs/xfs_inode.c 	if (ip) {
ip               1364 fs/xfs/xfs_inode.c 		xfs_finish_inode_setup(ip);
ip               1365 fs/xfs/xfs_inode.c 		xfs_irele(ip);
ip               1469 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip               1474 fs/xfs/xfs_inode.c 	if (!xfs_is_reflink_inode(ip))
ip               1476 fs/xfs/xfs_inode.c 	dfork = XFS_IFORK_PTR(ip, XFS_DATA_FORK);
ip               1477 fs/xfs/xfs_inode.c 	cfork = XFS_IFORK_PTR(ip, XFS_COW_FORK);
ip               1479 fs/xfs/xfs_inode.c 		ip->i_d.di_flags2 &= ~XFS_DIFLAG2_REFLINK;
ip               1481 fs/xfs/xfs_inode.c 		xfs_inode_clear_cowblocks_tag(ip);
ip               1508 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip,
ip               1513 fs/xfs/xfs_inode.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1521 fs/xfs/xfs_inode.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip               1522 fs/xfs/xfs_inode.c 	ASSERT(!atomic_read(&VFS_I(ip)->i_count) ||
ip               1523 fs/xfs/xfs_inode.c 	       xfs_isilocked(ip, XFS_IOLOCK_EXCL));
ip               1524 fs/xfs/xfs_inode.c 	ASSERT(new_size <= XFS_ISIZE(ip));
ip               1526 fs/xfs/xfs_inode.c 	ASSERT(ip->i_itemp != NULL);
ip               1527 fs/xfs/xfs_inode.c 	ASSERT(ip->i_itemp->ili_lock_flags == 0);
ip               1528 fs/xfs/xfs_inode.c 	ASSERT(!XFS_NOT_DQATTACHED(mp, ip));
ip               1530 fs/xfs/xfs_inode.c 	trace_xfs_itruncate_extents_start(ip, new_size);
ip               1552 fs/xfs/xfs_inode.c 		error = xfs_bunmapi(tp, ip, first_unmap_block, unmap_len, flags,
ip               1565 fs/xfs/xfs_inode.c 		error = xfs_trans_roll_inode(&tp, ip);
ip               1572 fs/xfs/xfs_inode.c 		error = xfs_reflink_cancel_cow_blocks(ip, &tp,
ip               1577 fs/xfs/xfs_inode.c 		xfs_itruncate_clear_reflink_flags(ip);
ip               1584 fs/xfs/xfs_inode.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip               1586 fs/xfs/xfs_inode.c 	trace_xfs_itruncate_extents_end(ip, new_size);
ip               1595 fs/xfs/xfs_inode.c 	xfs_inode_t	*ip)
ip               1597 fs/xfs/xfs_inode.c 	xfs_mount_t	*mp = ip->i_mount;
ip               1600 fs/xfs/xfs_inode.c 	if (!S_ISREG(VFS_I(ip)->i_mode) || (VFS_I(ip)->i_mode == 0))
ip               1620 fs/xfs/xfs_inode.c 		truncated = xfs_iflags_test_and_clear(ip, XFS_ITRUNCATED);
ip               1622 fs/xfs/xfs_inode.c 			xfs_iflags_clear(ip, XFS_IDIRTY_RELEASE);
ip               1623 fs/xfs/xfs_inode.c 			if (ip->i_delayed_blks > 0) {
ip               1624 fs/xfs/xfs_inode.c 				error = filemap_flush(VFS_I(ip)->i_mapping);
ip               1631 fs/xfs/xfs_inode.c 	if (VFS_I(ip)->i_nlink == 0)
ip               1634 fs/xfs/xfs_inode.c 	if (xfs_can_free_eofblocks(ip, false)) {
ip               1650 fs/xfs/xfs_inode.c 		if (xfs_iflags_test(ip, XFS_IDIRTY_RELEASE))
ip               1659 fs/xfs/xfs_inode.c 		if (xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) {
ip               1660 fs/xfs/xfs_inode.c 			error = xfs_free_eofblocks(ip);
ip               1661 fs/xfs/xfs_inode.c 			xfs_iunlock(ip, XFS_IOLOCK_EXCL);
ip               1667 fs/xfs/xfs_inode.c 		if (ip->i_delayed_blks)
ip               1668 fs/xfs/xfs_inode.c 			xfs_iflags_set(ip, XFS_IDIRTY_RELEASE);
ip               1680 fs/xfs/xfs_inode.c 	struct xfs_inode *ip)
ip               1682 fs/xfs/xfs_inode.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1691 fs/xfs/xfs_inode.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               1692 fs/xfs/xfs_inode.c 	xfs_trans_ijoin(tp, ip, 0);
ip               1699 fs/xfs/xfs_inode.c 	ip->i_d.di_size = 0;
ip               1700 fs/xfs/xfs_inode.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip               1702 fs/xfs/xfs_inode.c 	error = xfs_itruncate_extents(&tp, ip, XFS_DATA_FORK, 0);
ip               1706 fs/xfs/xfs_inode.c 	ASSERT(ip->i_d.di_nextents == 0);
ip               1712 fs/xfs/xfs_inode.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1718 fs/xfs/xfs_inode.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1729 fs/xfs/xfs_inode.c 	struct xfs_inode *ip)
ip               1731 fs/xfs/xfs_inode.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1764 fs/xfs/xfs_inode.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               1765 fs/xfs/xfs_inode.c 	xfs_trans_ijoin(tp, ip, 0);
ip               1767 fs/xfs/xfs_inode.c 	error = xfs_ifree(tp, ip);
ip               1780 fs/xfs/xfs_inode.c 		xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1787 fs/xfs/xfs_inode.c 	xfs_trans_mod_dquot_byino(tp, ip, XFS_TRANS_DQ_ICOUNT, -1);
ip               1798 fs/xfs/xfs_inode.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1812 fs/xfs/xfs_inode.c 	xfs_inode_t	*ip)
ip               1822 fs/xfs/xfs_inode.c 	if (VFS_I(ip)->i_mode == 0) {
ip               1823 fs/xfs/xfs_inode.c 		ASSERT(ip->i_df.if_broot_bytes == 0);
ip               1827 fs/xfs/xfs_inode.c 	mp = ip->i_mount;
ip               1828 fs/xfs/xfs_inode.c 	ASSERT(!xfs_iflags_test(ip, XFS_IRECOVERY));
ip               1835 fs/xfs/xfs_inode.c 	if (xfs_inode_has_cow_data(ip))
ip               1836 fs/xfs/xfs_inode.c 		xfs_reflink_cancel_cow_range(ip, 0, NULLFILEOFF, true);
ip               1838 fs/xfs/xfs_inode.c 	if (VFS_I(ip)->i_nlink != 0) {
ip               1848 fs/xfs/xfs_inode.c 		if (xfs_can_free_eofblocks(ip, true))
ip               1849 fs/xfs/xfs_inode.c 			xfs_free_eofblocks(ip);
ip               1854 fs/xfs/xfs_inode.c 	if (S_ISREG(VFS_I(ip)->i_mode) &&
ip               1855 fs/xfs/xfs_inode.c 	    (ip->i_d.di_size != 0 || XFS_ISIZE(ip) != 0 ||
ip               1856 fs/xfs/xfs_inode.c 	     ip->i_d.di_nextents > 0 || ip->i_delayed_blks > 0))
ip               1859 fs/xfs/xfs_inode.c 	error = xfs_qm_dqattach(ip);
ip               1863 fs/xfs/xfs_inode.c 	if (S_ISLNK(VFS_I(ip)->i_mode))
ip               1864 fs/xfs/xfs_inode.c 		error = xfs_inactive_symlink(ip);
ip               1866 fs/xfs/xfs_inode.c 		error = xfs_inactive_truncate(ip);
ip               1875 fs/xfs/xfs_inode.c 	if (XFS_IFORK_Q(ip)) {
ip               1876 fs/xfs/xfs_inode.c 		error = xfs_attr_inactive(ip);
ip               1881 fs/xfs/xfs_inode.c 	ASSERT(!ip->i_afp);
ip               1882 fs/xfs/xfs_inode.c 	ASSERT(ip->i_d.di_anextents == 0);
ip               1883 fs/xfs/xfs_inode.c 	ASSERT(ip->i_d.di_forkoff == 0);
ip               1888 fs/xfs/xfs_inode.c 	error = xfs_inactive_ifree(ip);
ip               1895 fs/xfs/xfs_inode.c 	xfs_qm_dqdetach(ip);
ip               2177 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip,
ip               2190 fs/xfs/xfs_inode.c 	error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &dip, &ibp, 0, 0);
ip               2214 fs/xfs/xfs_inode.c 	xfs_iunlink_update_dinode(tp, agno, XFS_INO_TO_AGINO(mp, ip->i_ino),
ip               2215 fs/xfs/xfs_inode.c 			ibp, dip, &ip->i_imap, next_agino);
ip               2232 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip               2238 fs/xfs/xfs_inode.c 	xfs_agnumber_t		agno = XFS_INO_TO_AGNO(mp, ip->i_ino);
ip               2239 fs/xfs/xfs_inode.c 	xfs_agino_t		agino = XFS_INO_TO_AGINO(mp, ip->i_ino);
ip               2243 fs/xfs/xfs_inode.c 	ASSERT(VFS_I(ip)->i_nlink == 0);
ip               2244 fs/xfs/xfs_inode.c 	ASSERT(VFS_I(ip)->i_mode != 0);
ip               2245 fs/xfs/xfs_inode.c 	trace_xfs_iunlink(ip);
ip               2271 fs/xfs/xfs_inode.c 		error = xfs_iunlink_update_inode(tp, ip, agno, next_agino,
ip               2412 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip               2420 fs/xfs/xfs_inode.c 	xfs_agnumber_t		agno = XFS_INO_TO_AGNO(mp, ip->i_ino);
ip               2421 fs/xfs/xfs_inode.c 	xfs_agino_t		agino = XFS_INO_TO_AGINO(mp, ip->i_ino);
ip               2427 fs/xfs/xfs_inode.c 	trace_xfs_iunlink_remove(ip);
ip               2451 fs/xfs/xfs_inode.c 	error = xfs_iunlink_update_inode(tp, ip, agno, NULLAGINO, &next_agino);
ip               2530 fs/xfs/xfs_inode.c 	xfs_inode_t		*ip;
ip               2615 fs/xfs/xfs_inode.c 			ip = radix_tree_lookup(&pag->pag_ici_root,
ip               2619 fs/xfs/xfs_inode.c 			if (!ip) {
ip               2631 fs/xfs/xfs_inode.c 			spin_lock(&ip->i_flags_lock);
ip               2632 fs/xfs/xfs_inode.c 			if (ip->i_ino != inum + i ||
ip               2633 fs/xfs/xfs_inode.c 			    __xfs_iflags_test(ip, XFS_ISTALE)) {
ip               2634 fs/xfs/xfs_inode.c 				spin_unlock(&ip->i_flags_lock);
ip               2638 fs/xfs/xfs_inode.c 			spin_unlock(&ip->i_flags_lock);
ip               2647 fs/xfs/xfs_inode.c 			if (ip != free_ip) {
ip               2648 fs/xfs/xfs_inode.c 				if (!xfs_ilock_nowait(ip, XFS_ILOCK_EXCL)) {
ip               2661 fs/xfs/xfs_inode.c 				if (ip->i_ino != inum + i) {
ip               2662 fs/xfs/xfs_inode.c 					xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               2669 fs/xfs/xfs_inode.c 			xfs_iflock(ip);
ip               2670 fs/xfs/xfs_inode.c 			xfs_iflags_set(ip, XFS_ISTALE);
ip               2676 fs/xfs/xfs_inode.c 			iip = ip->i_itemp;
ip               2677 fs/xfs/xfs_inode.c 			if (!iip || xfs_inode_clean(ip)) {
ip               2678 fs/xfs/xfs_inode.c 				ASSERT(ip != free_ip);
ip               2679 fs/xfs/xfs_inode.c 				xfs_ifunlock(ip);
ip               2680 fs/xfs/xfs_inode.c 				xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               2694 fs/xfs/xfs_inode.c 			if (ip != free_ip)
ip               2695 fs/xfs/xfs_inode.c 				xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               2712 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip,
ip               2717 fs/xfs/xfs_inode.c 	if (XFS_IFORK_FORMAT(ip, whichfork) != XFS_DINODE_FMT_LOCAL)
ip               2720 fs/xfs/xfs_inode.c 	ifp = XFS_IFORK_PTR(ip, whichfork);
ip               2721 fs/xfs/xfs_inode.c 	xfs_idata_realloc(ip, -ifp->if_bytes, whichfork);
ip               2737 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip               2742 fs/xfs/xfs_inode.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip               2743 fs/xfs/xfs_inode.c 	ASSERT(VFS_I(ip)->i_nlink == 0);
ip               2744 fs/xfs/xfs_inode.c 	ASSERT(ip->i_d.di_nextents == 0);
ip               2745 fs/xfs/xfs_inode.c 	ASSERT(ip->i_d.di_anextents == 0);
ip               2746 fs/xfs/xfs_inode.c 	ASSERT(ip->i_d.di_size == 0 || !S_ISREG(VFS_I(ip)->i_mode));
ip               2747 fs/xfs/xfs_inode.c 	ASSERT(ip->i_d.di_nblocks == 0);
ip               2752 fs/xfs/xfs_inode.c 	error = xfs_iunlink_remove(tp, ip);
ip               2756 fs/xfs/xfs_inode.c 	error = xfs_difree(tp, ip->i_ino, &xic);
ip               2760 fs/xfs/xfs_inode.c 	xfs_ifree_local_data(ip, XFS_DATA_FORK);
ip               2761 fs/xfs/xfs_inode.c 	xfs_ifree_local_data(ip, XFS_ATTR_FORK);
ip               2763 fs/xfs/xfs_inode.c 	VFS_I(ip)->i_mode = 0;		/* mark incore inode as free */
ip               2764 fs/xfs/xfs_inode.c 	ip->i_d.di_flags = 0;
ip               2765 fs/xfs/xfs_inode.c 	ip->i_d.di_flags2 = 0;
ip               2766 fs/xfs/xfs_inode.c 	ip->i_d.di_dmevmask = 0;
ip               2767 fs/xfs/xfs_inode.c 	ip->i_d.di_forkoff = 0;		/* mark the attr fork not in use */
ip               2768 fs/xfs/xfs_inode.c 	ip->i_d.di_format = XFS_DINODE_FMT_EXTENTS;
ip               2769 fs/xfs/xfs_inode.c 	ip->i_d.di_aformat = XFS_DINODE_FMT_EXTENTS;
ip               2772 fs/xfs/xfs_inode.c 	ip->i_itemp->ili_fields &= ~(XFS_ILOG_AOWNER|XFS_ILOG_DOWNER);
ip               2778 fs/xfs/xfs_inode.c 	VFS_I(ip)->i_generation++;
ip               2779 fs/xfs/xfs_inode.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip               2782 fs/xfs/xfs_inode.c 		error = xfs_ifree_cluster(ip, tp, &xic);
ip               2794 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip               2796 fs/xfs/xfs_inode.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL|XFS_ILOCK_SHARED));
ip               2798 fs/xfs/xfs_inode.c 	trace_xfs_inode_unpin_nowait(ip, _RET_IP_);
ip               2801 fs/xfs/xfs_inode.c 	xfs_log_force_lsn(ip->i_mount, ip->i_itemp->ili_last_lsn, 0, NULL);
ip               2807 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip               2809 fs/xfs/xfs_inode.c 	wait_queue_head_t *wq = bit_waitqueue(&ip->i_flags, __XFS_IPINNED_BIT);
ip               2810 fs/xfs/xfs_inode.c 	DEFINE_WAIT_BIT(wait, &ip->i_flags, __XFS_IPINNED_BIT);
ip               2812 fs/xfs/xfs_inode.c 	xfs_iunpin(ip);
ip               2816 fs/xfs/xfs_inode.c 		if (xfs_ipincount(ip))
ip               2818 fs/xfs/xfs_inode.c 	} while (xfs_ipincount(ip));
ip               2824 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip               2826 fs/xfs/xfs_inode.c 	if (xfs_ipincount(ip))
ip               2827 fs/xfs/xfs_inode.c 		__xfs_iunpin_wait(ip);
ip               2861 fs/xfs/xfs_inode.c 	xfs_inode_t		*ip)
ip               2865 fs/xfs/xfs_inode.c 	int			is_dir = S_ISDIR(VFS_I(ip)->i_mode);
ip               2878 fs/xfs/xfs_inode.c 	error = xfs_qm_dqattach(ip);
ip               2903 fs/xfs/xfs_inode.c 	xfs_lock_two_inodes(dp, XFS_ILOCK_EXCL, ip, XFS_ILOCK_EXCL);
ip               2906 fs/xfs/xfs_inode.c 	xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
ip               2912 fs/xfs/xfs_inode.c 		ASSERT(VFS_I(ip)->i_nlink >= 2);
ip               2913 fs/xfs/xfs_inode.c 		if (VFS_I(ip)->i_nlink != 2) {
ip               2917 fs/xfs/xfs_inode.c 		if (!xfs_dir_isempty(ip)) {
ip               2928 fs/xfs/xfs_inode.c 		error = xfs_droplink(tp, ip);
ip               2942 fs/xfs/xfs_inode.c 	error = xfs_droplink(tp, ip);
ip               2946 fs/xfs/xfs_inode.c 	error = xfs_dir_removename(tp, dp, name, ip->i_ino, resblks);
ip               2964 fs/xfs/xfs_inode.c 	if (is_dir && xfs_inode_is_filestream(ip))
ip               2965 fs/xfs/xfs_inode.c 		xfs_filestream_deassociate(ip);
ip               3465 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip,
ip               3468 fs/xfs/xfs_inode.c 	struct xfs_mount	*mp = ip->i_mount;
ip               3479 fs/xfs/xfs_inode.c 	pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, ip->i_ino));
ip               3487 fs/xfs/xfs_inode.c 	first_index = XFS_INO_TO_AGINO(mp, ip->i_ino) & mask;
ip               3497 fs/xfs/xfs_inode.c 		if (cip == ip)
ip               3634 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip,
ip               3637 fs/xfs/xfs_inode.c 	struct xfs_mount	*mp = ip->i_mount;
ip               3644 fs/xfs/xfs_inode.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL|XFS_ILOCK_SHARED));
ip               3645 fs/xfs/xfs_inode.c 	ASSERT(xfs_isiflocked(ip));
ip               3646 fs/xfs/xfs_inode.c 	ASSERT(ip->i_d.di_format != XFS_DINODE_FMT_BTREE ||
ip               3647 fs/xfs/xfs_inode.c 	       ip->i_d.di_nextents > XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK));
ip               3651 fs/xfs/xfs_inode.c 	xfs_iunpin_wait(ip);
ip               3661 fs/xfs/xfs_inode.c 	if (xfs_iflags_test(ip, XFS_ISTALE)) {
ip               3662 fs/xfs/xfs_inode.c 		xfs_ifunlock(ip);
ip               3688 fs/xfs/xfs_inode.c 	error = xfs_imap_to_bp(mp, NULL, &ip->i_imap, &dip, &bp, XBF_TRYLOCK,
ip               3691 fs/xfs/xfs_inode.c 		xfs_ifunlock(ip);
ip               3700 fs/xfs/xfs_inode.c 	error = xfs_iflush_int(ip, bp);
ip               3720 fs/xfs/xfs_inode.c 	error = xfs_iflush_cluster(ip, bp);
ip               3733 fs/xfs/xfs_inode.c 	xfs_iflush_abort(ip, false);
ip               3743 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip               3748 fs/xfs/xfs_inode.c 	fa = xfs_ifork_verify_data(ip, &xfs_default_ifork_ops);
ip               3750 fs/xfs/xfs_inode.c 		ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK);
ip               3751 fs/xfs/xfs_inode.c 		xfs_inode_verifier_error(ip, -EFSCORRUPTED, "data fork",
ip               3756 fs/xfs/xfs_inode.c 	fa = xfs_ifork_verify_attr(ip, &xfs_default_ifork_ops);
ip               3758 fs/xfs/xfs_inode.c 		ifp = XFS_IFORK_PTR(ip, XFS_ATTR_FORK);
ip               3759 fs/xfs/xfs_inode.c 		xfs_inode_verifier_error(ip, -EFSCORRUPTED, "attr fork",
ip               3769 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip,
ip               3772 fs/xfs/xfs_inode.c 	struct xfs_inode_log_item *iip = ip->i_itemp;
ip               3774 fs/xfs/xfs_inode.c 	struct xfs_mount	*mp = ip->i_mount;
ip               3776 fs/xfs/xfs_inode.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL|XFS_ILOCK_SHARED));
ip               3777 fs/xfs/xfs_inode.c 	ASSERT(xfs_isiflocked(ip));
ip               3778 fs/xfs/xfs_inode.c 	ASSERT(ip->i_d.di_format != XFS_DINODE_FMT_BTREE ||
ip               3779 fs/xfs/xfs_inode.c 	       ip->i_d.di_nextents > XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK));
ip               3781 fs/xfs/xfs_inode.c 	ASSERT(ip->i_d.di_version > 1);
ip               3784 fs/xfs/xfs_inode.c 	dip = xfs_buf_offset(bp, ip->i_imap.im_boffset);
ip               3790 fs/xfs/xfs_inode.c 			__func__, ip->i_ino, be16_to_cpu(dip->di_magic), dip);
ip               3793 fs/xfs/xfs_inode.c 	if (S_ISREG(VFS_I(ip)->i_mode)) {
ip               3795 fs/xfs/xfs_inode.c 		    (ip->i_d.di_format != XFS_DINODE_FMT_EXTENTS) &&
ip               3796 fs/xfs/xfs_inode.c 		    (ip->i_d.di_format != XFS_DINODE_FMT_BTREE),
ip               3800 fs/xfs/xfs_inode.c 				__func__, ip->i_ino, ip);
ip               3803 fs/xfs/xfs_inode.c 	} else if (S_ISDIR(VFS_I(ip)->i_mode)) {
ip               3805 fs/xfs/xfs_inode.c 		    (ip->i_d.di_format != XFS_DINODE_FMT_EXTENTS) &&
ip               3806 fs/xfs/xfs_inode.c 		    (ip->i_d.di_format != XFS_DINODE_FMT_BTREE) &&
ip               3807 fs/xfs/xfs_inode.c 		    (ip->i_d.di_format != XFS_DINODE_FMT_LOCAL),
ip               3811 fs/xfs/xfs_inode.c 				__func__, ip->i_ino, ip);
ip               3815 fs/xfs/xfs_inode.c 	if (XFS_TEST_ERROR(ip->i_d.di_nextents + ip->i_d.di_anextents >
ip               3816 fs/xfs/xfs_inode.c 				ip->i_d.di_nblocks, mp, XFS_ERRTAG_IFLUSH_5)) {
ip               3820 fs/xfs/xfs_inode.c 			__func__, ip->i_ino,
ip               3821 fs/xfs/xfs_inode.c 			ip->i_d.di_nextents + ip->i_d.di_anextents,
ip               3822 fs/xfs/xfs_inode.c 			ip->i_d.di_nblocks, ip);
ip               3825 fs/xfs/xfs_inode.c 	if (XFS_TEST_ERROR(ip->i_d.di_forkoff > mp->m_sb.sb_inodesize,
ip               3829 fs/xfs/xfs_inode.c 			__func__, ip->i_ino, ip->i_d.di_forkoff, ip);
ip               3842 fs/xfs/xfs_inode.c 	if (ip->i_d.di_version < 3)
ip               3843 fs/xfs/xfs_inode.c 		ip->i_d.di_flushiter++;
ip               3846 fs/xfs/xfs_inode.c 	if (!xfs_inode_verify_forks(ip))
ip               3854 fs/xfs/xfs_inode.c 	xfs_inode_to_disk(ip, dip, iip->ili_item.li_lsn);
ip               3857 fs/xfs/xfs_inode.c 	if (ip->i_d.di_flushiter == DI_MAX_FLUSH)
ip               3858 fs/xfs/xfs_inode.c 		ip->i_d.di_flushiter = 0;
ip               3860 fs/xfs/xfs_inode.c 	xfs_iflush_fork(ip, dip, iip, XFS_DATA_FORK);
ip               3861 fs/xfs/xfs_inode.c 	if (XFS_IFORK_Q(ip))
ip               3862 fs/xfs/xfs_inode.c 		xfs_iflush_fork(ip, dip, iip, XFS_ATTR_FORK);
ip               3920 fs/xfs/xfs_inode.c 	struct xfs_inode	*ip)
ip               3922 fs/xfs/xfs_inode.c 	trace_xfs_irele(ip, _RET_IP_);
ip               3923 fs/xfs/xfs_inode.c 	iput(VFS_I(ip));
ip                 82 fs/xfs/xfs_inode.h static inline struct inode *VFS_I(struct xfs_inode *ip)
ip                 84 fs/xfs/xfs_inode.h 	return &ip->i_vnode;
ip                 92 fs/xfs/xfs_inode.h static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip)
ip                 94 fs/xfs/xfs_inode.h 	if (S_ISREG(VFS_I(ip)->i_mode))
ip                 95 fs/xfs/xfs_inode.h 		return i_size_read(VFS_I(ip));
ip                 96 fs/xfs/xfs_inode.h 	return ip->i_d.di_size;
ip                104 fs/xfs/xfs_inode.h xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size)
ip                106 fs/xfs/xfs_inode.h 	xfs_fsize_t i_size = i_size_read(VFS_I(ip));
ip                110 fs/xfs/xfs_inode.h 	return new_size > ip->i_d.di_size ? new_size : 0;
ip                117 fs/xfs/xfs_inode.h __xfs_iflags_set(xfs_inode_t *ip, unsigned short flags)
ip                119 fs/xfs/xfs_inode.h 	ip->i_flags |= flags;
ip                123 fs/xfs/xfs_inode.h xfs_iflags_set(xfs_inode_t *ip, unsigned short flags)
ip                125 fs/xfs/xfs_inode.h 	spin_lock(&ip->i_flags_lock);
ip                126 fs/xfs/xfs_inode.h 	__xfs_iflags_set(ip, flags);
ip                127 fs/xfs/xfs_inode.h 	spin_unlock(&ip->i_flags_lock);
ip                131 fs/xfs/xfs_inode.h xfs_iflags_clear(xfs_inode_t *ip, unsigned short flags)
ip                133 fs/xfs/xfs_inode.h 	spin_lock(&ip->i_flags_lock);
ip                134 fs/xfs/xfs_inode.h 	ip->i_flags &= ~flags;
ip                135 fs/xfs/xfs_inode.h 	spin_unlock(&ip->i_flags_lock);
ip                139 fs/xfs/xfs_inode.h __xfs_iflags_test(xfs_inode_t *ip, unsigned short flags)
ip                141 fs/xfs/xfs_inode.h 	return (ip->i_flags & flags);
ip                145 fs/xfs/xfs_inode.h xfs_iflags_test(xfs_inode_t *ip, unsigned short flags)
ip                148 fs/xfs/xfs_inode.h 	spin_lock(&ip->i_flags_lock);
ip                149 fs/xfs/xfs_inode.h 	ret = __xfs_iflags_test(ip, flags);
ip                150 fs/xfs/xfs_inode.h 	spin_unlock(&ip->i_flags_lock);
ip                155 fs/xfs/xfs_inode.h xfs_iflags_test_and_clear(xfs_inode_t *ip, unsigned short flags)
ip                159 fs/xfs/xfs_inode.h 	spin_lock(&ip->i_flags_lock);
ip                160 fs/xfs/xfs_inode.h 	ret = ip->i_flags & flags;
ip                162 fs/xfs/xfs_inode.h 		ip->i_flags &= ~flags;
ip                163 fs/xfs/xfs_inode.h 	spin_unlock(&ip->i_flags_lock);
ip                168 fs/xfs/xfs_inode.h xfs_iflags_test_and_set(xfs_inode_t *ip, unsigned short flags)
ip                172 fs/xfs/xfs_inode.h 	spin_lock(&ip->i_flags_lock);
ip                173 fs/xfs/xfs_inode.h 	ret = ip->i_flags & flags;
ip                175 fs/xfs/xfs_inode.h 		ip->i_flags |= flags;
ip                176 fs/xfs/xfs_inode.h 	spin_unlock(&ip->i_flags_lock);
ip                186 fs/xfs/xfs_inode.h xfs_get_projid(struct xfs_inode *ip)
ip                188 fs/xfs/xfs_inode.h 	return (prid_t)ip->i_d.di_projid_hi << 16 | ip->i_d.di_projid_lo;
ip                192 fs/xfs/xfs_inode.h xfs_set_projid(struct xfs_inode *ip,
ip                195 fs/xfs/xfs_inode.h 	ip->i_d.di_projid_hi = (uint16_t) (projid >> 16);
ip                196 fs/xfs/xfs_inode.h 	ip->i_d.di_projid_lo = (uint16_t) (projid & 0xffff);
ip                208 fs/xfs/xfs_inode.h static inline bool xfs_is_reflink_inode(struct xfs_inode *ip)
ip                210 fs/xfs/xfs_inode.h 	return ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK;
ip                217 fs/xfs/xfs_inode.h static inline bool xfs_inode_has_cow_data(struct xfs_inode *ip)
ip                219 fs/xfs/xfs_inode.h 	return ip->i_cowfp && ip->i_cowfp->if_bytes;
ip                259 fs/xfs/xfs_inode.h static inline int xfs_isiflocked(struct xfs_inode *ip)
ip                261 fs/xfs/xfs_inode.h 	return xfs_iflags_test(ip, XFS_IFLOCK);
ip                264 fs/xfs/xfs_inode.h extern void __xfs_iflock(struct xfs_inode *ip);
ip                266 fs/xfs/xfs_inode.h static inline int xfs_iflock_nowait(struct xfs_inode *ip)
ip                268 fs/xfs/xfs_inode.h 	return !xfs_iflags_test_and_set(ip, XFS_IFLOCK);
ip                271 fs/xfs/xfs_inode.h static inline void xfs_iflock(struct xfs_inode *ip)
ip                273 fs/xfs/xfs_inode.h 	if (!xfs_iflock_nowait(ip))
ip                274 fs/xfs/xfs_inode.h 		__xfs_iflock(ip);
ip                277 fs/xfs/xfs_inode.h static inline void xfs_ifunlock(struct xfs_inode *ip)
ip                279 fs/xfs/xfs_inode.h 	ASSERT(xfs_isiflocked(ip));
ip                280 fs/xfs/xfs_inode.h 	xfs_iflags_clear(ip, XFS_IFLOCK);
ip                282 fs/xfs/xfs_inode.h 	wake_up_bit(&ip->i_flags, __XFS_IFLOCK_BIT);
ip                413 fs/xfs/xfs_inode.h int		xfs_release(struct xfs_inode *ip);
ip                414 fs/xfs/xfs_inode.h void		xfs_inactive(struct xfs_inode *ip);
ip                422 fs/xfs/xfs_inode.h 			   struct xfs_inode *ip);
ip                445 fs/xfs/xfs_inode.h #define xfs_ipincount(ip)	((unsigned int) atomic_read(&ip->i_pincount))
ip                451 fs/xfs/xfs_inode.h xfs_extlen_t	xfs_get_extsz_hint(struct xfs_inode *ip);
ip                452 fs/xfs/xfs_inode.h xfs_extlen_t	xfs_get_cowextsz_hint(struct xfs_inode *ip);
ip                461 fs/xfs/xfs_inode.h 	struct xfs_inode	*ip,
ip                465 fs/xfs/xfs_inode.h 	return xfs_itruncate_extents_flags(tpp, ip, whichfork, new_size, 0);
ip                476 fs/xfs/xfs_inode.h int	xfs_update_prealloc_flags(struct xfs_inode *ip,
ip                482 fs/xfs/xfs_inode.h extern void xfs_setup_inode(struct xfs_inode *ip);
ip                483 fs/xfs/xfs_inode.h extern void xfs_setup_iops(struct xfs_inode *ip);
ip                492 fs/xfs/xfs_inode.h static inline void xfs_finish_inode_setup(struct xfs_inode *ip)
ip                494 fs/xfs/xfs_inode.h 	xfs_iflags_clear(ip, XFS_INEW);
ip                496 fs/xfs/xfs_inode.h 	unlock_new_inode(VFS_I(ip));
ip                497 fs/xfs/xfs_inode.h 	wake_up_bit(&ip->i_flags, __XFS_INEW_BIT);
ip                500 fs/xfs/xfs_inode.h static inline void xfs_setup_existing_inode(struct xfs_inode *ip)
ip                502 fs/xfs/xfs_inode.h 	xfs_setup_inode(ip);
ip                503 fs/xfs/xfs_inode.h 	xfs_setup_iops(ip);
ip                504 fs/xfs/xfs_inode.h 	xfs_finish_inode_setup(ip);
ip                507 fs/xfs/xfs_inode.h void xfs_irele(struct xfs_inode *ip);
ip                514 fs/xfs/xfs_inode.h bool xfs_inode_verify_forks(struct xfs_inode *ip);
ip                 36 fs/xfs/xfs_inode_item.c 	struct xfs_inode	*ip = iip->ili_inode;
ip                 38 fs/xfs/xfs_inode_item.c 	switch (ip->i_d.di_format) {
ip                 41 fs/xfs/xfs_inode_item.c 		    ip->i_d.di_nextents > 0 &&
ip                 42 fs/xfs/xfs_inode_item.c 		    ip->i_df.if_bytes > 0) {
ip                 44 fs/xfs/xfs_inode_item.c 			*nbytes += XFS_IFORK_DSIZE(ip);
ip                 50 fs/xfs/xfs_inode_item.c 		    ip->i_df.if_broot_bytes > 0) {
ip                 51 fs/xfs/xfs_inode_item.c 			*nbytes += ip->i_df.if_broot_bytes;
ip                 57 fs/xfs/xfs_inode_item.c 		    ip->i_df.if_bytes > 0) {
ip                 58 fs/xfs/xfs_inode_item.c 			*nbytes += roundup(ip->i_df.if_bytes, 4);
ip                 77 fs/xfs/xfs_inode_item.c 	struct xfs_inode	*ip = iip->ili_inode;
ip                 79 fs/xfs/xfs_inode_item.c 	switch (ip->i_d.di_aformat) {
ip                 82 fs/xfs/xfs_inode_item.c 		    ip->i_d.di_anextents > 0 &&
ip                 83 fs/xfs/xfs_inode_item.c 		    ip->i_afp->if_bytes > 0) {
ip                 85 fs/xfs/xfs_inode_item.c 			*nbytes += XFS_IFORK_ASIZE(ip);
ip                 91 fs/xfs/xfs_inode_item.c 		    ip->i_afp->if_broot_bytes > 0) {
ip                 92 fs/xfs/xfs_inode_item.c 			*nbytes += ip->i_afp->if_broot_bytes;
ip                 98 fs/xfs/xfs_inode_item.c 		    ip->i_afp->if_bytes > 0) {
ip                 99 fs/xfs/xfs_inode_item.c 			*nbytes += roundup(ip->i_afp->if_bytes, 4);
ip                123 fs/xfs/xfs_inode_item.c 	struct xfs_inode	*ip = iip->ili_inode;
ip                127 fs/xfs/xfs_inode_item.c 		   xfs_log_dinode_size(ip->i_d.di_version);
ip                130 fs/xfs/xfs_inode_item.c 	if (XFS_IFORK_Q(ip))
ip                141 fs/xfs/xfs_inode_item.c 	struct xfs_inode	*ip = iip->ili_inode;
ip                144 fs/xfs/xfs_inode_item.c 	switch (ip->i_d.di_format) {
ip                150 fs/xfs/xfs_inode_item.c 		    ip->i_d.di_nextents > 0 &&
ip                151 fs/xfs/xfs_inode_item.c 		    ip->i_df.if_bytes > 0) {
ip                154 fs/xfs/xfs_inode_item.c 			ASSERT(xfs_iext_count(&ip->i_df) > 0);
ip                157 fs/xfs/xfs_inode_item.c 			data_bytes = xfs_iextents_copy(ip, p, XFS_DATA_FORK);
ip                160 fs/xfs/xfs_inode_item.c 			ASSERT(data_bytes <= ip->i_df.if_bytes);
ip                173 fs/xfs/xfs_inode_item.c 		    ip->i_df.if_broot_bytes > 0) {
ip                174 fs/xfs/xfs_inode_item.c 			ASSERT(ip->i_df.if_broot != NULL);
ip                176 fs/xfs/xfs_inode_item.c 					ip->i_df.if_broot,
ip                177 fs/xfs/xfs_inode_item.c 					ip->i_df.if_broot_bytes);
ip                178 fs/xfs/xfs_inode_item.c 			ilf->ilf_dsize = ip->i_df.if_broot_bytes;
ip                190 fs/xfs/xfs_inode_item.c 		    ip->i_df.if_bytes > 0) {
ip                196 fs/xfs/xfs_inode_item.c 			data_bytes = roundup(ip->i_df.if_bytes, 4);
ip                197 fs/xfs/xfs_inode_item.c 			ASSERT(ip->i_df.if_u1.if_data != NULL);
ip                198 fs/xfs/xfs_inode_item.c 			ASSERT(ip->i_d.di_size > 0);
ip                200 fs/xfs/xfs_inode_item.c 					ip->i_df.if_u1.if_data, data_bytes);
ip                211 fs/xfs/xfs_inode_item.c 			ilf->ilf_u.ilfu_rdev = sysv_encode_dev(VFS_I(ip)->i_rdev);
ip                226 fs/xfs/xfs_inode_item.c 	struct xfs_inode	*ip = iip->ili_inode;
ip                229 fs/xfs/xfs_inode_item.c 	switch (ip->i_d.di_aformat) {
ip                235 fs/xfs/xfs_inode_item.c 		    ip->i_d.di_anextents > 0 &&
ip                236 fs/xfs/xfs_inode_item.c 		    ip->i_afp->if_bytes > 0) {
ip                239 fs/xfs/xfs_inode_item.c 			ASSERT(xfs_iext_count(ip->i_afp) ==
ip                240 fs/xfs/xfs_inode_item.c 				ip->i_d.di_anextents);
ip                243 fs/xfs/xfs_inode_item.c 			data_bytes = xfs_iextents_copy(ip, p, XFS_ATTR_FORK);
ip                257 fs/xfs/xfs_inode_item.c 		    ip->i_afp->if_broot_bytes > 0) {
ip                258 fs/xfs/xfs_inode_item.c 			ASSERT(ip->i_afp->if_broot != NULL);
ip                261 fs/xfs/xfs_inode_item.c 					ip->i_afp->if_broot,
ip                262 fs/xfs/xfs_inode_item.c 					ip->i_afp->if_broot_bytes);
ip                263 fs/xfs/xfs_inode_item.c 			ilf->ilf_asize = ip->i_afp->if_broot_bytes;
ip                274 fs/xfs/xfs_inode_item.c 		    ip->i_afp->if_bytes > 0) {
ip                280 fs/xfs/xfs_inode_item.c 			data_bytes = roundup(ip->i_afp->if_bytes, 4);
ip                281 fs/xfs/xfs_inode_item.c 			ASSERT(ip->i_afp->if_u1.if_data != NULL);
ip                283 fs/xfs/xfs_inode_item.c 					ip->i_afp->if_u1.if_data,
ip                299 fs/xfs/xfs_inode_item.c 	struct xfs_inode	*ip,
ip                303 fs/xfs/xfs_inode_item.c 	struct xfs_icdinode	*from = &ip->i_d;
ip                304 fs/xfs/xfs_inode_item.c 	struct inode		*inode = VFS_I(ip);
ip                347 fs/xfs/xfs_inode_item.c 		to->di_ino = ip->i_ino;
ip                350 fs/xfs/xfs_inode_item.c 		uuid_copy(&to->di_uuid, &ip->i_mount->m_sb.sb_meta_uuid);
ip                364 fs/xfs/xfs_inode_item.c 	struct xfs_inode	*ip,
ip                371 fs/xfs/xfs_inode_item.c 	xfs_inode_to_log_dinode(ip, dic, ip->i_itemp->ili_item.li_lsn);
ip                372 fs/xfs/xfs_inode_item.c 	xlog_finish_iovec(lv, *vecp, xfs_log_dinode_size(ip->i_d.di_version));
ip                393 fs/xfs/xfs_inode_item.c 	struct xfs_inode	*ip = iip->ili_inode;
ip                397 fs/xfs/xfs_inode_item.c 	ASSERT(ip->i_d.di_version > 1);
ip                401 fs/xfs/xfs_inode_item.c 	ilf->ilf_ino = ip->i_ino;
ip                402 fs/xfs/xfs_inode_item.c 	ilf->ilf_blkno = ip->i_imap.im_blkno;
ip                403 fs/xfs/xfs_inode_item.c 	ilf->ilf_len = ip->i_imap.im_len;
ip                404 fs/xfs/xfs_inode_item.c 	ilf->ilf_boffset = ip->i_imap.im_boffset;
ip                419 fs/xfs/xfs_inode_item.c 	xfs_inode_item_format_core(ip, lv, &vecp);
ip                421 fs/xfs/xfs_inode_item.c 	if (XFS_IFORK_Q(ip)) {
ip                440 fs/xfs/xfs_inode_item.c 	struct xfs_inode	*ip = INODE_ITEM(lip)->ili_inode;
ip                442 fs/xfs/xfs_inode_item.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip                444 fs/xfs/xfs_inode_item.c 	trace_xfs_inode_pin(ip, _RET_IP_);
ip                445 fs/xfs/xfs_inode_item.c 	atomic_inc(&ip->i_pincount);
ip                460 fs/xfs/xfs_inode_item.c 	struct xfs_inode	*ip = INODE_ITEM(lip)->ili_inode;
ip                462 fs/xfs/xfs_inode_item.c 	trace_xfs_inode_unpin(ip, _RET_IP_);
ip                463 fs/xfs/xfs_inode_item.c 	ASSERT(atomic_read(&ip->i_pincount) > 0);
ip                464 fs/xfs/xfs_inode_item.c 	if (atomic_dec_and_test(&ip->i_pincount))
ip                465 fs/xfs/xfs_inode_item.c 		wake_up_bit(&ip->i_flags, __XFS_IPINNED_BIT);
ip                493 fs/xfs/xfs_inode_item.c 	struct xfs_inode	*ip = iip->ili_inode;
ip                498 fs/xfs/xfs_inode_item.c 	if (xfs_ipincount(ip) > 0)
ip                516 fs/xfs/xfs_inode_item.c 	if (!xfs_ilock_nowait(ip, XFS_ILOCK_SHARED))
ip                523 fs/xfs/xfs_inode_item.c 	if (xfs_ipincount(ip) > 0) {
ip                531 fs/xfs/xfs_inode_item.c 	if (ip->i_flags & XFS_ISTALE) {
ip                541 fs/xfs/xfs_inode_item.c 	if (!xfs_iflock_nowait(ip)) {
ip                546 fs/xfs/xfs_inode_item.c 	ASSERT(iip->ili_fields != 0 || XFS_FORCED_SHUTDOWN(ip->i_mount));
ip                547 fs/xfs/xfs_inode_item.c 	ASSERT(iip->ili_logged == 0 || XFS_FORCED_SHUTDOWN(ip->i_mount));
ip                551 fs/xfs/xfs_inode_item.c 	error = xfs_iflush(ip, &bp);
ip                560 fs/xfs/xfs_inode_item.c 	xfs_iunlock(ip, XFS_ILOCK_SHARED);
ip                572 fs/xfs/xfs_inode_item.c 	struct xfs_inode	*ip = iip->ili_inode;
ip                575 fs/xfs/xfs_inode_item.c 	ASSERT(ip->i_itemp != NULL);
ip                576 fs/xfs/xfs_inode_item.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip                581 fs/xfs/xfs_inode_item.c 		xfs_iunlock(ip, lock_flags);
ip                612 fs/xfs/xfs_inode_item.c 	struct xfs_inode	*ip = iip->ili_inode;
ip                614 fs/xfs/xfs_inode_item.c 	if (xfs_iflags_test(ip, XFS_ISTALE)) {
ip                648 fs/xfs/xfs_inode_item.c 	struct xfs_inode	*ip,
ip                653 fs/xfs/xfs_inode_item.c 	ASSERT(ip->i_itemp == NULL);
ip                654 fs/xfs/xfs_inode_item.c 	iip = ip->i_itemp = kmem_zone_zalloc(xfs_ili_zone, 0);
ip                656 fs/xfs/xfs_inode_item.c 	iip->ili_inode = ip;
ip                666 fs/xfs/xfs_inode_item.c 	xfs_inode_t	*ip)
ip                668 fs/xfs/xfs_inode_item.c 	kmem_free(ip->i_itemp->ili_item.li_lv_shadow);
ip                669 fs/xfs/xfs_inode_item.c 	kmem_zone_free(xfs_ili_zone, ip->i_itemp);
ip                782 fs/xfs/xfs_inode_item.c 	xfs_inode_t		*ip,
ip                785 fs/xfs/xfs_inode_item.c 	xfs_inode_log_item_t	*iip = ip->i_itemp;
ip                809 fs/xfs/xfs_inode_item.c 	xfs_ifunlock(ip);
ip                 28 fs/xfs/xfs_inode_item.h static inline int xfs_inode_clean(xfs_inode_t *ip)
ip                 30 fs/xfs/xfs_inode_item.h 	return !ip->i_itemp || !(ip->i_itemp->ili_fields & XFS_ILOG_ALL);
ip                 62 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip;
ip                 75 fs/xfs/xfs_ioctl.c 	ip = XFS_I(inode);
ip                 92 fs/xfs/xfs_ioctl.c 	memcpy(&handle.ha_fsid, ip->i_mount->m_fixedfsid, sizeof(xfs_fsid_t));
ip                105 fs/xfs/xfs_ioctl.c 		handle.ha_fid.fid_ino = ip->i_ino;
ip                295 fs/xfs/xfs_ioctl.c 	xfs_inode_t     *ip,
ip                299 fs/xfs/xfs_ioctl.c 	xfs_mount_t	*mp = ip->i_mount;
ip                313 fs/xfs/xfs_ioctl.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                314 fs/xfs/xfs_ioctl.c 	xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
ip                316 fs/xfs/xfs_ioctl.c 	ip->i_d.di_dmevmask = evmask;
ip                317 fs/xfs/xfs_ioctl.c 	ip->i_d.di_dmstate  = state;
ip                319 fs/xfs/xfs_ioctl.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip                597 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                621 fs/xfs/xfs_ioctl.c 	xfs_ilock(ip, iolock);
ip                633 fs/xfs/xfs_ioctl.c 		bf->l_start += XFS_ISIZE(ip);
ip                673 fs/xfs/xfs_ioctl.c 		error = xfs_zero_file_space(ip, bf->l_start, bf->l_len);
ip                678 fs/xfs/xfs_ioctl.c 		error = xfs_alloc_file_space(ip, bf->l_start, bf->l_len,
ip                683 fs/xfs/xfs_ioctl.c 		error = xfs_free_file_space(ip, bf->l_start, bf->l_len);
ip                690 fs/xfs/xfs_ioctl.c 		if (bf->l_start > XFS_ISIZE(ip)) {
ip                691 fs/xfs/xfs_ioctl.c 			error = xfs_alloc_file_space(ip, XFS_ISIZE(ip),
ip                692 fs/xfs/xfs_ioctl.c 					bf->l_start - XFS_ISIZE(ip), 0);
ip                710 fs/xfs/xfs_ioctl.c 	error = xfs_update_prealloc_flags(ip, flags);
ip                713 fs/xfs/xfs_ioctl.c 	xfs_iunlock(ip, iolock);
ip               1113 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip,
ip               1117 fs/xfs/xfs_ioctl.c 	simple_fill_fsxattr(fa, xfs_ip2xflags(ip));
ip               1118 fs/xfs/xfs_ioctl.c 	fa->fsx_extsize = ip->i_d.di_extsize << ip->i_mount->m_sb.sb_blocklog;
ip               1119 fs/xfs/xfs_ioctl.c 	fa->fsx_cowextsize = ip->i_d.di_cowextsize <<
ip               1120 fs/xfs/xfs_ioctl.c 			ip->i_mount->m_sb.sb_blocklog;
ip               1121 fs/xfs/xfs_ioctl.c 	fa->fsx_projid = xfs_get_projid(ip);
ip               1124 fs/xfs/xfs_ioctl.c 		if (ip->i_afp) {
ip               1125 fs/xfs/xfs_ioctl.c 			if (ip->i_afp->if_flags & XFS_IFEXTENTS)
ip               1126 fs/xfs/xfs_ioctl.c 				fa->fsx_nextents = xfs_iext_count(ip->i_afp);
ip               1128 fs/xfs/xfs_ioctl.c 				fa->fsx_nextents = ip->i_d.di_anextents;
ip               1132 fs/xfs/xfs_ioctl.c 		if (ip->i_df.if_flags & XFS_IFEXTENTS)
ip               1133 fs/xfs/xfs_ioctl.c 			fa->fsx_nextents = xfs_iext_count(&ip->i_df);
ip               1135 fs/xfs/xfs_ioctl.c 			fa->fsx_nextents = ip->i_d.di_nextents;
ip               1141 fs/xfs/xfs_ioctl.c 	xfs_inode_t		*ip,
ip               1147 fs/xfs/xfs_ioctl.c 	xfs_ilock(ip, XFS_ILOCK_SHARED);
ip               1148 fs/xfs/xfs_ioctl.c 	xfs_fill_fsxattr(ip, attr, &fa);
ip               1149 fs/xfs/xfs_ioctl.c 	xfs_iunlock(ip, XFS_ILOCK_SHARED);
ip               1158 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip,
ip               1163 fs/xfs/xfs_ioctl.c 		(ip->i_d.di_flags & XFS_DIFLAG_PREALLOC);
ip               1179 fs/xfs/xfs_ioctl.c 	if (S_ISDIR(VFS_I(ip)->i_mode)) {
ip               1188 fs/xfs/xfs_ioctl.c 	} else if (S_ISREG(VFS_I(ip)->i_mode)) {
ip               1200 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip,
ip               1204 fs/xfs/xfs_ioctl.c 		(ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK);
ip               1216 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip)
ip               1218 fs/xfs/xfs_ioctl.c 	struct inode		*inode = VFS_I(ip);
ip               1219 fs/xfs/xfs_ioctl.c 	unsigned int		xflags = xfs_ip2xflags(ip);
ip               1248 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip,
ip               1251 fs/xfs/xfs_ioctl.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1255 fs/xfs/xfs_ioctl.c 	if ((ip->i_d.di_nextents || ip->i_delayed_blks) &&
ip               1256 fs/xfs/xfs_ioctl.c 	    XFS_IS_REALTIME_INODE(ip) != (fa->fsx_xflags & FS_XFLAG_REALTIME))
ip               1262 fs/xfs/xfs_ioctl.c 		    (ip->i_d.di_extsize % mp->m_sb.sb_rextsize))
ip               1267 fs/xfs/xfs_ioctl.c 	if ((fa->fsx_xflags & FS_XFLAG_REALTIME) && xfs_is_reflink_inode(ip))
ip               1268 fs/xfs/xfs_ioctl.c 		ip->i_d.di_flags2 &= ~XFS_DIFLAG2_REFLINK;
ip               1271 fs/xfs/xfs_ioctl.c 	if ((fa->fsx_xflags & FS_XFLAG_DAX) && xfs_is_reflink_inode(ip))
ip               1275 fs/xfs/xfs_ioctl.c 	di_flags2 = xfs_flags2diflags2(ip, fa->fsx_xflags);
ip               1276 fs/xfs/xfs_ioctl.c 	if (di_flags2 && ip->i_d.di_version < 3)
ip               1279 fs/xfs/xfs_ioctl.c 	ip->i_d.di_flags = xfs_flags2diflags(ip, fa->fsx_xflags);
ip               1280 fs/xfs/xfs_ioctl.c 	ip->i_d.di_flags2 = di_flags2;
ip               1282 fs/xfs/xfs_ioctl.c 	xfs_diflags_to_linux(ip);
ip               1283 fs/xfs/xfs_ioctl.c 	xfs_trans_ichgtime(tp, ip, XFS_ICHGTIME_CHG);
ip               1284 fs/xfs/xfs_ioctl.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip               1299 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip,
ip               1303 fs/xfs/xfs_ioctl.c 	struct inode		*inode = VFS_I(ip);
ip               1318 fs/xfs/xfs_ioctl.c 		if (!bdev_dax_supported(xfs_find_bdev_for_inode(VFS_I(ip)),
ip               1333 fs/xfs/xfs_ioctl.c 	xfs_ilock(ip, XFS_MMAPLOCK_EXCL | XFS_IOLOCK_EXCL);
ip               1345 fs/xfs/xfs_ioctl.c 	xfs_iunlock(ip, XFS_MMAPLOCK_EXCL | XFS_IOLOCK_EXCL);
ip               1364 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip,
ip               1367 fs/xfs/xfs_ioctl.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1381 fs/xfs/xfs_ioctl.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               1382 fs/xfs/xfs_ioctl.c 	xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL | join_flags);
ip               1391 fs/xfs/xfs_ioctl.c 	if (!inode_owner_or_capable(VFS_I(ip))) {
ip               1405 fs/xfs/xfs_ioctl.c 		xfs_iunlock(ip, join_flags);
ip               1427 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip,
ip               1430 fs/xfs/xfs_ioctl.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1434 fs/xfs/xfs_ioctl.c 	if (S_ISREG(VFS_I(ip)->i_mode) && ip->i_d.di_nextents &&
ip               1435 fs/xfs/xfs_ioctl.c 	    ((ip->i_d.di_extsize << mp->m_sb.sb_blocklog) != fa->fsx_extsize))
ip               1445 fs/xfs/xfs_ioctl.c 	if (XFS_IS_REALTIME_INODE(ip) ||
ip               1477 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip,
ip               1480 fs/xfs/xfs_ioctl.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1487 fs/xfs/xfs_ioctl.c 	if (!xfs_sb_version_hasreflink(&ip->i_mount->m_sb) ||
ip               1488 fs/xfs/xfs_ioctl.c 	    ip->i_d.di_version != 3)
ip               1510 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip,
ip               1515 fs/xfs/xfs_ioctl.c 	    !xfs_sb_version_hasprojid32bit(&ip->i_mount->m_sb))
ip               1522 fs/xfs/xfs_ioctl.c 	xfs_inode_t		*ip,
ip               1526 fs/xfs/xfs_ioctl.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1534 fs/xfs/xfs_ioctl.c 	trace_xfs_ioctl_setattr(ip);
ip               1536 fs/xfs/xfs_ioctl.c 	code = xfs_ioctl_setattr_check_projid(ip, fa);
ip               1549 fs/xfs/xfs_ioctl.c 		code = xfs_qm_vop_dqalloc(ip, ip->i_d.di_uid,
ip               1550 fs/xfs/xfs_ioctl.c 					 ip->i_d.di_gid, fa->fsx_projid,
ip               1563 fs/xfs/xfs_ioctl.c 	code = xfs_ioctl_setattr_dax_invalidate(ip, fa, &join_flags);
ip               1567 fs/xfs/xfs_ioctl.c 	tp = xfs_ioctl_setattr_get_trans(ip, join_flags);
ip               1574 fs/xfs/xfs_ioctl.c 	    xfs_get_projid(ip) != fa->fsx_projid) {
ip               1575 fs/xfs/xfs_ioctl.c 		code = xfs_qm_vop_chown_reserve(tp, ip, udqp, NULL, pdqp,
ip               1581 fs/xfs/xfs_ioctl.c 	xfs_fill_fsxattr(ip, false, &old_fa);
ip               1582 fs/xfs/xfs_ioctl.c 	code = vfs_ioc_fssetxattr_check(VFS_I(ip), &old_fa, fa);
ip               1586 fs/xfs/xfs_ioctl.c 	code = xfs_ioctl_setattr_check_extsize(ip, fa);
ip               1590 fs/xfs/xfs_ioctl.c 	code = xfs_ioctl_setattr_check_cowextsize(ip, fa);
ip               1594 fs/xfs/xfs_ioctl.c 	code = xfs_ioctl_setattr_xflags(tp, ip, fa);
ip               1606 fs/xfs/xfs_ioctl.c 	if ((VFS_I(ip)->i_mode & (S_ISUID|S_ISGID)) &&
ip               1607 fs/xfs/xfs_ioctl.c 	    !capable_wrt_inode_uidgid(VFS_I(ip), CAP_FSETID))
ip               1608 fs/xfs/xfs_ioctl.c 		VFS_I(ip)->i_mode &= ~(S_ISUID|S_ISGID);
ip               1611 fs/xfs/xfs_ioctl.c 	if (xfs_get_projid(ip) != fa->fsx_projid) {
ip               1613 fs/xfs/xfs_ioctl.c 			olddquot = xfs_qm_vop_chown(tp, ip,
ip               1614 fs/xfs/xfs_ioctl.c 						&ip->i_pdquot, pdqp);
ip               1616 fs/xfs/xfs_ioctl.c 		ASSERT(ip->i_d.di_version > 1);
ip               1617 fs/xfs/xfs_ioctl.c 		xfs_set_projid(ip, fa->fsx_projid);
ip               1625 fs/xfs/xfs_ioctl.c 	if (ip->i_d.di_flags & (XFS_DIFLAG_EXTSIZE | XFS_DIFLAG_EXTSZINHERIT))
ip               1626 fs/xfs/xfs_ioctl.c 		ip->i_d.di_extsize = fa->fsx_extsize >> mp->m_sb.sb_blocklog;
ip               1628 fs/xfs/xfs_ioctl.c 		ip->i_d.di_extsize = 0;
ip               1629 fs/xfs/xfs_ioctl.c 	if (ip->i_d.di_version == 3 &&
ip               1630 fs/xfs/xfs_ioctl.c 	    (ip->i_d.di_flags2 & XFS_DIFLAG2_COWEXTSIZE))
ip               1631 fs/xfs/xfs_ioctl.c 		ip->i_d.di_cowextsize = fa->fsx_cowextsize >>
ip               1634 fs/xfs/xfs_ioctl.c 		ip->i_d.di_cowextsize = 0;
ip               1657 fs/xfs/xfs_ioctl.c 	xfs_inode_t		*ip,
ip               1670 fs/xfs/xfs_ioctl.c 	error = xfs_ioctl_setattr(ip, &fa);
ip               1677 fs/xfs/xfs_ioctl.c 	xfs_inode_t		*ip,
ip               1682 fs/xfs/xfs_ioctl.c 	flags = xfs_di2lxflags(ip->i_d.di_flags);
ip               1690 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip,
ip               1709 fs/xfs/xfs_ioctl.c 	fa.fsx_xflags = xfs_merge_ioc_xflags(flags, xfs_ip2xflags(ip));
ip               1722 fs/xfs/xfs_ioctl.c 	error = xfs_ioctl_setattr_dax_invalidate(ip, &fa, &join_flags);
ip               1726 fs/xfs/xfs_ioctl.c 	tp = xfs_ioctl_setattr_get_trans(ip, join_flags);
ip               1732 fs/xfs/xfs_ioctl.c 	xfs_fill_fsxattr(ip, false, &old_fa);
ip               1733 fs/xfs/xfs_ioctl.c 	error = vfs_ioc_fssetxattr_check(VFS_I(ip), &old_fa, &fa);
ip               1739 fs/xfs/xfs_ioctl.c 	error = xfs_ioctl_setattr_xflags(tp, ip, &fa);
ip               1860 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip,
ip               1883 fs/xfs/xfs_ioctl.c 	trace_xfs_getfsmap_low_key(ip->i_mount, &xhead.fmh_keys[0]);
ip               1884 fs/xfs/xfs_ioctl.c 	trace_xfs_getfsmap_high_key(ip->i_mount, &xhead.fmh_keys[1]);
ip               1886 fs/xfs/xfs_ioctl.c 	info.mp = ip->i_mount;
ip               1888 fs/xfs/xfs_ioctl.c 	error = xfs_getfsmap(ip->i_mount, &xhead, xfs_getfsmap_format, &info);
ip               1914 fs/xfs/xfs_ioctl.c 	struct xfs_inode		*ip,
ip               1926 fs/xfs/xfs_ioctl.c 	error = xfs_scrub_metadata(ip, &scrub);
ip               1940 fs/xfs/xfs_ioctl.c 	xfs_inode_t     *ip, *tip;
ip               1988 fs/xfs/xfs_ioctl.c 	ip = XFS_I(file_inode(f.file));
ip               1991 fs/xfs/xfs_ioctl.c 	if (ip->i_mount != tip->i_mount) {
ip               1996 fs/xfs/xfs_ioctl.c 	if (ip->i_ino == tip->i_ino) {
ip               2001 fs/xfs/xfs_ioctl.c 	if (XFS_FORCED_SHUTDOWN(ip->i_mount)) {
ip               2006 fs/xfs/xfs_ioctl.c 	error = xfs_swap_extents(ip, tip, sxp);
ip               2111 fs/xfs/xfs_ioctl.c 	struct xfs_inode	*ip = XFS_I(inode);
ip               2112 fs/xfs/xfs_ioctl.c 	struct xfs_mount	*mp = ip->i_mount;
ip               2116 fs/xfs/xfs_ioctl.c 	trace_xfs_file_ioctl(ip);
ip               2143 fs/xfs/xfs_ioctl.c 			XFS_IS_REALTIME_INODE(ip) ?
ip               2178 fs/xfs/xfs_ioctl.c 		return xfs_ioc_fsgetxattr(ip, 0, arg);
ip               2180 fs/xfs/xfs_ioctl.c 		return xfs_ioc_fsgetxattr(ip, 1, arg);
ip               2182 fs/xfs/xfs_ioctl.c 		return xfs_ioc_fssetxattr(ip, filp, arg);
ip               2184 fs/xfs/xfs_ioctl.c 		return xfs_ioc_getxflags(ip, arg);
ip               2186 fs/xfs/xfs_ioctl.c 		return xfs_ioc_setxflags(ip, filp, arg);
ip               2198 fs/xfs/xfs_ioctl.c 		error = xfs_set_dmattrs(ip, dmi.fsd_dmevmask,
ip               2210 fs/xfs/xfs_ioctl.c 		return xfs_ioc_getfsmap(ip, arg);
ip               2213 fs/xfs/xfs_ioctl.c 		return xfs_ioc_scrub_metadata(ip, arg);
ip                 76 fs/xfs/xfs_ioctl.h 	struct xfs_inode	*ip,
ip                550 fs/xfs/xfs_ioctl32.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                551 fs/xfs/xfs_ioctl32.c 	struct xfs_mount	*mp = ip->i_mount;
ip                555 fs/xfs/xfs_ioctl32.c 	trace_xfs_file_compat_ioctl(ip);
ip                 37 fs/xfs/xfs_iomap.c 	xfs_inode_t	*ip,
ip                 40 fs/xfs/xfs_iomap.c 	xfs_alert_tag(ip->i_mount, XFS_PTAG_FSBLOCK_ZERO,
ip                 44 fs/xfs/xfs_iomap.c 		(unsigned long long)ip->i_ino,
ip                 54 fs/xfs/xfs_iomap.c 	struct xfs_inode	*ip,
ip                 59 fs/xfs/xfs_iomap.c 	struct xfs_mount	*mp = ip->i_mount;
ip                 61 fs/xfs/xfs_iomap.c 	if (unlikely(!xfs_valid_startblock(ip, imap->br_startblock)))
ip                 62 fs/xfs/xfs_iomap.c 		return xfs_alert_fsblock_zero(ip, imap);
ip                 72 fs/xfs/xfs_iomap.c 		iomap->addr = BBTOB(xfs_fsb_to_db(ip, imap->br_startblock));
ip                 80 fs/xfs/xfs_iomap.c 	iomap->bdev = xfs_find_bdev_for_inode(VFS_I(ip));
ip                 81 fs/xfs/xfs_iomap.c 	iomap->dax_dev = xfs_find_daxdev_for_inode(VFS_I(ip));
ip                 83 fs/xfs/xfs_iomap.c 	if (xfs_ipincount(ip) &&
ip                 84 fs/xfs/xfs_iomap.c 	    (ip->i_itemp->ili_fsync_fields & ~XFS_ILOG_TIMESTAMP))
ip                 93 fs/xfs/xfs_iomap.c 	struct xfs_inode	*ip,
ip                100 fs/xfs/xfs_iomap.c 	iomap->offset = XFS_FSB_TO_B(ip->i_mount, offset_fsb);
ip                101 fs/xfs/xfs_iomap.c 	iomap->length = XFS_FSB_TO_B(ip->i_mount, end_fsb - offset_fsb);
ip                102 fs/xfs/xfs_iomap.c 	iomap->bdev = xfs_find_bdev_for_inode(VFS_I(ip));
ip                103 fs/xfs/xfs_iomap.c 	iomap->dax_dev = xfs_find_daxdev_for_inode(VFS_I(ip));
ip                108 fs/xfs/xfs_iomap.c 	struct xfs_inode	*ip,
ip                111 fs/xfs/xfs_iomap.c 	struct xfs_mount	*mp = ip->i_mount;
ip                114 fs/xfs/xfs_iomap.c 	if (!XFS_IS_REALTIME_INODE(ip)) {
ip                128 fs/xfs/xfs_iomap.c 		if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align))
ip                148 fs/xfs/xfs_iomap.c 	struct xfs_inode	*ip,
ip                152 fs/xfs/xfs_iomap.c 	xfs_extlen_t		align = xfs_eof_alignment(ip, extsize);
ip                158 fs/xfs/xfs_iomap.c 		error = xfs_bmap_eof(ip, new_last_fsb, XFS_DATA_FORK, &eof);
ip                169 fs/xfs/xfs_iomap.c 	xfs_inode_t	*ip,
ip                175 fs/xfs/xfs_iomap.c 	xfs_mount_t	*mp = ip->i_mount;
ip                190 fs/xfs/xfs_iomap.c 	rt = XFS_IS_REALTIME_INODE(ip);
ip                191 fs/xfs/xfs_iomap.c 	extsz = xfs_get_extsz_hint(ip);
ip                194 fs/xfs/xfs_iomap.c 	ASSERT(xfs_isilocked(ip, lockmode));
ip                198 fs/xfs/xfs_iomap.c 	if ((offset + count) > XFS_ISIZE(ip)) {
ip                206 fs/xfs/xfs_iomap.c 		ASSERT(XFS_IFORK_PTR(ip, XFS_DATA_FORK)->if_flags &
ip                208 fs/xfs/xfs_iomap.c 		error = xfs_iomap_eof_align_last_fsb(ip, extsz, &last_fsb);
ip                236 fs/xfs/xfs_iomap.c 	xfs_iunlock(ip, lockmode);
ip                237 fs/xfs/xfs_iomap.c 	error = xfs_qm_dqattach(ip);
ip                254 fs/xfs/xfs_iomap.c 	if (IS_DAX(VFS_I(ip))) {
ip                267 fs/xfs/xfs_iomap.c 	xfs_ilock(ip, lockmode);
ip                269 fs/xfs/xfs_iomap.c 	error = xfs_trans_reserve_quota_nblks(tp, ip, qblocks, 0, quota_flag);
ip                273 fs/xfs/xfs_iomap.c 	xfs_trans_ijoin(tp, ip, 0);
ip                280 fs/xfs/xfs_iomap.c 	error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb,
ip                300 fs/xfs/xfs_iomap.c 	if (unlikely(!xfs_valid_startblock(ip, imap->br_startblock)))
ip                301 fs/xfs/xfs_iomap.c 		error = xfs_alert_fsblock_zero(ip, imap);
ip                304 fs/xfs/xfs_iomap.c 	xfs_iunlock(ip, lockmode);
ip                308 fs/xfs/xfs_iomap.c 	xfs_trans_unreserve_quota_nblks(tp, ip, (long)qblocks, 0, quota_flag);
ip                316 fs/xfs/xfs_iomap.c 	struct xfs_inode *ip,
ip                320 fs/xfs/xfs_iomap.c 	struct xfs_dquot *dq = xfs_inode_dquot(ip, type);
ip                322 fs/xfs/xfs_iomap.c 	if (!dq || !xfs_this_quota_on(ip->i_mount, type))
ip                338 fs/xfs/xfs_iomap.c 	struct xfs_inode *ip,
ip                346 fs/xfs/xfs_iomap.c 	struct xfs_dquot *dq = xfs_inode_dquot(ip, type);
ip                394 fs/xfs/xfs_iomap.c 	struct xfs_inode	*ip,
ip                400 fs/xfs/xfs_iomap.c 	struct xfs_mount	*mp = ip->i_mount;
ip                401 fs/xfs/xfs_iomap.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip                410 fs/xfs/xfs_iomap.c 	if (offset + count <= XFS_ISIZE(ip))
ip                414 fs/xfs/xfs_iomap.c 	    (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_writeio_blocks)))
ip                422 fs/xfs/xfs_iomap.c 	    XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_dalign) ||
ip                478 fs/xfs/xfs_iomap.c 	if (xfs_quota_need_throttle(ip, XFS_DQ_USER, alloc_blocks))
ip                479 fs/xfs/xfs_iomap.c 		xfs_quota_calc_throttle(ip, XFS_DQ_USER, &qblocks, &qshift,
ip                481 fs/xfs/xfs_iomap.c 	if (xfs_quota_need_throttle(ip, XFS_DQ_GROUP, alloc_blocks))
ip                482 fs/xfs/xfs_iomap.c 		xfs_quota_calc_throttle(ip, XFS_DQ_GROUP, &qblocks, &qshift,
ip                484 fs/xfs/xfs_iomap.c 	if (xfs_quota_need_throttle(ip, XFS_DQ_PROJ, alloc_blocks))
ip                485 fs/xfs/xfs_iomap.c 		xfs_quota_calc_throttle(ip, XFS_DQ_PROJ, &qblocks, &qshift,
ip                520 fs/xfs/xfs_iomap.c 	trace_xfs_iomap_prealloc_size(ip, alloc_blocks, shift,
ip                533 fs/xfs/xfs_iomap.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                534 fs/xfs/xfs_iomap.c 	struct xfs_mount	*mp = ip->i_mount;
ip                546 fs/xfs/xfs_iomap.c 	ASSERT(!XFS_IS_REALTIME_INODE(ip));
ip                547 fs/xfs/xfs_iomap.c 	ASSERT(!xfs_get_extsz_hint(ip));
ip                549 fs/xfs/xfs_iomap.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                552 fs/xfs/xfs_iomap.c 	    (XFS_IFORK_FORMAT(ip, XFS_DATA_FORK) != XFS_DINODE_FMT_EXTENTS &&
ip                553 fs/xfs/xfs_iomap.c 	     XFS_IFORK_FORMAT(ip, XFS_DATA_FORK) != XFS_DINODE_FMT_BTREE),
ip                562 fs/xfs/xfs_iomap.c 	if (!(ip->i_df.if_flags & XFS_IFEXTENTS)) {
ip                563 fs/xfs/xfs_iomap.c 		error = xfs_iread_extents(NULL, ip, XFS_DATA_FORK);
ip                576 fs/xfs/xfs_iomap.c 	eof = !xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap);
ip                582 fs/xfs/xfs_iomap.c 		xfs_hole_to_iomap(ip, iomap, offset_fsb, imap.br_startoff);
ip                594 fs/xfs/xfs_iomap.c 	if (xfs_is_cow_inode(ip)) {
ip                595 fs/xfs/xfs_iomap.c 		if (!ip->i_cowfp) {
ip                596 fs/xfs/xfs_iomap.c 			ASSERT(!xfs_is_reflink_inode(ip));
ip                597 fs/xfs/xfs_iomap.c 			xfs_ifork_init_cow(ip);
ip                599 fs/xfs/xfs_iomap.c 		cow_eof = !xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb,
ip                602 fs/xfs/xfs_iomap.c 			trace_xfs_reflink_cow_found(ip, &cmap);
ip                614 fs/xfs/xfs_iomap.c 		if (!xfs_is_cow_inode(ip) ||
ip                616 fs/xfs/xfs_iomap.c 			trace_xfs_iomap_found(ip, offset, count, XFS_DATA_FORK,
ip                624 fs/xfs/xfs_iomap.c 		error = xfs_inode_need_cow(ip, &imap, &shared);
ip                630 fs/xfs/xfs_iomap.c 			trace_xfs_iomap_found(ip, offset, count, XFS_DATA_FORK,
ip                654 fs/xfs/xfs_iomap.c 		if (xfs_is_always_cow_inode(ip))
ip                658 fs/xfs/xfs_iomap.c 	error = xfs_qm_dqattach_locked(ip, false);
ip                663 fs/xfs/xfs_iomap.c 		prealloc_blocks = xfs_iomap_prealloc_size(ip, whichfork, offset,
ip                674 fs/xfs/xfs_iomap.c 			align = xfs_eof_alignment(ip, 0);
ip                685 fs/xfs/xfs_iomap.c 	error = xfs_bmapi_reserve_delalloc(ip, whichfork, offset_fsb,
ip                696 fs/xfs/xfs_iomap.c 		trace_xfs_delalloc_enospc(ip, offset, count);
ip                711 fs/xfs/xfs_iomap.c 	trace_xfs_iomap_alloc(ip, offset, count, whichfork,
ip                718 fs/xfs/xfs_iomap.c 			error = xfs_bmbt_to_iomap(ip, iomap, &cmap, true);
ip                725 fs/xfs/xfs_iomap.c 	error = xfs_bmbt_to_iomap(ip, iomap, &imap, shared);
ip                727 fs/xfs/xfs_iomap.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                733 fs/xfs/xfs_iomap.c 	xfs_inode_t	*ip,
ip                738 fs/xfs/xfs_iomap.c 	xfs_mount_t	*mp = ip->i_mount;
ip                745 fs/xfs/xfs_iomap.c 	struct inode	*inode = VFS_I(ip);
ip                750 fs/xfs/xfs_iomap.c 	trace_xfs_unwritten_convert(ip, offset, count);
ip                783 fs/xfs/xfs_iomap.c 		xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                784 fs/xfs/xfs_iomap.c 		xfs_trans_ijoin(tp, ip, 0);
ip                790 fs/xfs/xfs_iomap.c 		error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb,
ip                806 fs/xfs/xfs_iomap.c 		i_size = xfs_new_eof(ip, i_size);
ip                808 fs/xfs/xfs_iomap.c 			ip->i_d.di_size = i_size;
ip                809 fs/xfs/xfs_iomap.c 			xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip                813 fs/xfs/xfs_iomap.c 		xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                817 fs/xfs/xfs_iomap.c 		if (unlikely(!xfs_valid_startblock(ip, imap.br_startblock)))
ip                818 fs/xfs/xfs_iomap.c 			return xfs_alert_fsblock_zero(ip, &imap);
ip                836 fs/xfs/xfs_iomap.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                864 fs/xfs/xfs_iomap.c 	struct xfs_inode	*ip,
ip                875 fs/xfs/xfs_iomap.c 	if (xfs_is_cow_inode(ip) && is_write) {
ip                890 fs/xfs/xfs_iomap.c 	if (!(ip->i_df.if_flags & XFS_IFEXTENTS)) {
ip                898 fs/xfs/xfs_iomap.c 		if (!xfs_ilock_nowait(ip, mode))
ip                901 fs/xfs/xfs_iomap.c 		xfs_ilock(ip, mode);
ip                909 fs/xfs/xfs_iomap.c 	if (mode == XFS_ILOCK_SHARED && is_write && xfs_is_cow_inode(ip)) {
ip                910 fs/xfs/xfs_iomap.c 		xfs_iunlock(ip, mode);
ip                927 fs/xfs/xfs_iomap.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                928 fs/xfs/xfs_iomap.c 	struct xfs_mount	*mp = ip->i_mount;
ip                939 fs/xfs/xfs_iomap.c 			!IS_DAX(inode) && !xfs_get_extsz_hint(ip)) {
ip                951 fs/xfs/xfs_iomap.c 	error = xfs_ilock_for_iomap(ip, flags, &lockmode);
ip                961 fs/xfs/xfs_iomap.c 	error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb, &imap,
ip                968 fs/xfs/xfs_iomap.c 		error = xfs_reflink_trim_around_shared(ip, &imap, &shared);
ip                981 fs/xfs/xfs_iomap.c 	if (xfs_is_cow_inode(ip)) {
ip                992 fs/xfs/xfs_iomap.c 		error = xfs_reflink_allocate_cow(ip, &cmap, &shared, &lockmode,
ip               1042 fs/xfs/xfs_iomap.c 		xfs_ilock_demote(ip, lockmode);
ip               1043 fs/xfs/xfs_iomap.c 	error = xfs_iomap_write_direct(ip, offset, length, &imap,
ip               1049 fs/xfs/xfs_iomap.c 	trace_xfs_iomap_alloc(ip, offset, length, XFS_DATA_FORK, &imap);
ip               1052 fs/xfs/xfs_iomap.c 	return xfs_bmbt_to_iomap(ip, iomap, &imap, shared);
ip               1056 fs/xfs/xfs_iomap.c 	xfs_iunlock(ip, lockmode);
ip               1057 fs/xfs/xfs_iomap.c 	trace_xfs_iomap_found(ip, offset, length, XFS_DATA_FORK, &imap);
ip               1061 fs/xfs/xfs_iomap.c 	xfs_iunlock(ip, lockmode);
ip               1067 fs/xfs/xfs_iomap.c 	struct xfs_inode	*ip,
ip               1073 fs/xfs/xfs_iomap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1107 fs/xfs/xfs_iomap.c 		truncate_pagecache_range(VFS_I(ip), XFS_FSB_TO_B(mp, start_fsb),
ip               1110 fs/xfs/xfs_iomap.c 		error = xfs_bmap_punch_delalloc_range(ip, start_fsb,
ip               1114 fs/xfs/xfs_iomap.c 				__func__, ip->i_ino);
ip               1150 fs/xfs/xfs_iomap.c 	struct xfs_inode	*ip = XFS_I(inode);
ip               1151 fs/xfs/xfs_iomap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1163 fs/xfs/xfs_iomap.c 	lockmode = xfs_ilock_data_map_shared(ip);
ip               1164 fs/xfs/xfs_iomap.c 	if (!(ip->i_df.if_flags & XFS_IFEXTENTS)) {
ip               1165 fs/xfs/xfs_iomap.c 		error = xfs_iread_extents(NULL, ip, XFS_DATA_FORK);
ip               1170 fs/xfs/xfs_iomap.c 	if (xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) {
ip               1189 fs/xfs/xfs_iomap.c 	if (xfs_inode_has_cow_data(ip) &&
ip               1190 fs/xfs/xfs_iomap.c 	    xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &cmap))
ip               1196 fs/xfs/xfs_iomap.c 		error = xfs_bmbt_to_iomap(ip, iomap, &cmap, true);
ip               1218 fs/xfs/xfs_iomap.c 	error = xfs_bmbt_to_iomap(ip, iomap, &imap, false);
ip               1220 fs/xfs/xfs_iomap.c 	xfs_iunlock(ip, lockmode);
ip               1236 fs/xfs/xfs_iomap.c 	struct xfs_inode	*ip = XFS_I(inode);
ip               1237 fs/xfs/xfs_iomap.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1247 fs/xfs/xfs_iomap.c 	lockmode = xfs_ilock_attr_map_shared(ip);
ip               1250 fs/xfs/xfs_iomap.c 	if (!XFS_IFORK_Q(ip) || !ip->i_d.di_anextents) {
ip               1255 fs/xfs/xfs_iomap.c 	ASSERT(ip->i_d.di_aformat != XFS_DINODE_FMT_LOCAL);
ip               1256 fs/xfs/xfs_iomap.c 	error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb, &imap,
ip               1259 fs/xfs/xfs_iomap.c 	xfs_iunlock(ip, lockmode);
ip               1264 fs/xfs/xfs_iomap.c 	return xfs_bmbt_to_iomap(ip, iomap, &imap, false);
ip                 20 fs/xfs/xfs_iomap.h xfs_extlen_t xfs_eof_alignment(struct xfs_inode *ip, xfs_extlen_t extsize);
ip                 48 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                 52 fs/xfs/xfs_iops.c 		error = xfs_attr_set(ip, xattr->name, xattr->value,
ip                130 fs/xfs/xfs_iops.c 	struct xfs_inode *ip = NULL;
ip                156 fs/xfs/xfs_iops.c 		error = xfs_create(XFS_I(dir), &name, mode, rdev, &ip);
ip                158 fs/xfs/xfs_iops.c 		error = xfs_create_tmpfile(XFS_I(dir), mode, &ip);
ip                163 fs/xfs/xfs_iops.c 	inode = VFS_I(ip);
ip                182 fs/xfs/xfs_iops.c 	xfs_setup_iops(ip);
ip                198 fs/xfs/xfs_iops.c 	xfs_finish_inode_setup(ip);
ip                208 fs/xfs/xfs_iops.c 	xfs_finish_inode_setup(ip);
ip                211 fs/xfs/xfs_iops.c 	xfs_irele(ip);
ip                275 fs/xfs/xfs_iops.c 	struct xfs_inode *ip;
ip                285 fs/xfs/xfs_iops.c 	error = xfs_lookup(XFS_I(dir), &xname, &ip, &ci_name);
ip                299 fs/xfs/xfs_iops.c 		return d_splice_alias(VFS_I(ip), dentry);
ip                304 fs/xfs/xfs_iops.c 	dentry = d_add_ci(dentry, VFS_I(ip), &dname);
ip                495 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                496 fs/xfs/xfs_iops.c 	struct xfs_mount	*mp = ip->i_mount;
ip                498 fs/xfs/xfs_iops.c 	trace_xfs_getattr(ip);
ip                503 fs/xfs/xfs_iops.c 	stat->size = XFS_ISIZE(ip);
ip                509 fs/xfs/xfs_iops.c 	stat->ino = ip->i_ino;
ip                514 fs/xfs/xfs_iops.c 		XFS_FSB_TO_BB(mp, ip->i_d.di_nblocks + ip->i_delayed_blks);
ip                516 fs/xfs/xfs_iops.c 	if (ip->i_d.di_version == 3) {
ip                519 fs/xfs/xfs_iops.c 			stat->btime.tv_sec = ip->i_d.di_crtime.t_sec;
ip                520 fs/xfs/xfs_iops.c 			stat->btime.tv_nsec = ip->i_d.di_crtime.t_nsec;
ip                528 fs/xfs/xfs_iops.c 	if (ip->i_d.di_flags & XFS_DIFLAG_IMMUTABLE)
ip                530 fs/xfs/xfs_iops.c 	if (ip->i_d.di_flags & XFS_DIFLAG_APPEND)
ip                532 fs/xfs/xfs_iops.c 	if (ip->i_d.di_flags & XFS_DIFLAG_NODUMP)
ip                546 fs/xfs/xfs_iops.c 		if (XFS_IS_REALTIME_INODE(ip)) {
ip                553 fs/xfs/xfs_iops.c 				xfs_get_extsz_hint(ip) << mp->m_sb.sb_blocklog;
ip                565 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip,
ip                568 fs/xfs/xfs_iops.c 	struct inode		*inode = VFS_I(ip);
ip                571 fs/xfs/xfs_iops.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip                579 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip,
ip                582 fs/xfs/xfs_iops.c 	struct inode		*inode = VFS_I(ip);
ip                584 fs/xfs/xfs_iops.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip                618 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip,
ip                622 fs/xfs/xfs_iops.c 	xfs_mount_t		*mp = ip->i_mount;
ip                623 fs/xfs/xfs_iops.c 	struct inode		*inode = VFS_I(ip);
ip                665 fs/xfs/xfs_iops.c 		error = xfs_qm_vop_dqalloc(ip, xfs_kuid_to_uid(uid),
ip                667 fs/xfs/xfs_iops.c 					   xfs_get_projid(ip),
ip                677 fs/xfs/xfs_iops.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                678 fs/xfs/xfs_iops.c 	xfs_trans_ijoin(tp, ip, 0);
ip                703 fs/xfs/xfs_iops.c 			error = xfs_qm_vop_chown_reserve(tp, ip, udqp, gdqp,
ip                733 fs/xfs/xfs_iops.c 				olddquot1 = xfs_qm_vop_chown(tp, ip,
ip                734 fs/xfs/xfs_iops.c 							&ip->i_udquot, udqp);
ip                736 fs/xfs/xfs_iops.c 			ip->i_d.di_uid = xfs_kuid_to_uid(uid);
ip                745 fs/xfs/xfs_iops.c 				olddquot2 = xfs_qm_vop_chown(tp, ip,
ip                746 fs/xfs/xfs_iops.c 							&ip->i_gdquot, gdqp);
ip                748 fs/xfs/xfs_iops.c 			ip->i_d.di_gid = xfs_kgid_to_gid(gid);
ip                754 fs/xfs/xfs_iops.c 		xfs_setattr_mode(ip, iattr);
ip                756 fs/xfs/xfs_iops.c 		xfs_setattr_time(ip, iattr);
ip                758 fs/xfs/xfs_iops.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip                766 fs/xfs/xfs_iops.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                796 fs/xfs/xfs_iops.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                808 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip = XFS_I(d_inode(dentry));
ip                811 fs/xfs/xfs_iops.c 	trace_xfs_setattr(ip);
ip                816 fs/xfs/xfs_iops.c 	return xfs_setattr_nonsize(ip, iattr, 0);
ip                827 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip,
ip                830 fs/xfs/xfs_iops.c 	struct xfs_mount	*mp = ip->i_mount;
ip                831 fs/xfs/xfs_iops.c 	struct inode		*inode = VFS_I(ip);
ip                838 fs/xfs/xfs_iops.c 	ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL));
ip                839 fs/xfs/xfs_iops.c 	ASSERT(xfs_isilocked(ip, XFS_MMAPLOCK_EXCL));
ip                850 fs/xfs/xfs_iops.c 	if (newsize == 0 && oldsize == 0 && ip->i_d.di_nextents == 0) {
ip                858 fs/xfs/xfs_iops.c 		return xfs_setattr_nonsize(ip, iattr, 0);
ip                864 fs/xfs/xfs_iops.c 	error = xfs_qm_dqattach(ip);
ip                884 fs/xfs/xfs_iops.c 		trace_xfs_zero_eof(ip, oldsize, newsize - oldsize);
ip                927 fs/xfs/xfs_iops.c 	    (newsize > ip->i_d.di_size && oldsize != ip->i_d.di_size)) {
ip                928 fs/xfs/xfs_iops.c 		error = filemap_write_and_wait_range(VFS_I(ip)->i_mapping,
ip                929 fs/xfs/xfs_iops.c 						ip->i_d.di_size, newsize - 1);
ip                939 fs/xfs/xfs_iops.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                940 fs/xfs/xfs_iops.c 	xfs_trans_ijoin(tp, ip, 0);
ip                971 fs/xfs/xfs_iops.c 	ip->i_d.di_size = newsize;
ip                972 fs/xfs/xfs_iops.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip                975 fs/xfs/xfs_iops.c 		error = xfs_itruncate_extents(&tp, ip, XFS_DATA_FORK, newsize);
ip                986 fs/xfs/xfs_iops.c 		xfs_iflags_set(ip, XFS_ITRUNCATED);
ip                989 fs/xfs/xfs_iops.c 		xfs_inode_clear_eofblocks_tag(ip);
ip                993 fs/xfs/xfs_iops.c 		xfs_setattr_mode(ip, iattr);
ip                995 fs/xfs/xfs_iops.c 		xfs_setattr_time(ip, iattr);
ip                997 fs/xfs/xfs_iops.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip               1007 fs/xfs/xfs_iops.c 		xfs_iunlock(ip, lock_flags);
ip               1020 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip = XFS_I(d_inode(dentry));
ip               1023 fs/xfs/xfs_iops.c 	trace_xfs_setattr(ip);
ip               1028 fs/xfs/xfs_iops.c 	return xfs_setattr_size(ip, iattr);
ip               1040 fs/xfs/xfs_iops.c 		struct xfs_inode	*ip = XFS_I(inode);
ip               1043 fs/xfs/xfs_iops.c 		xfs_ilock(ip, XFS_MMAPLOCK_EXCL);
ip               1048 fs/xfs/xfs_iops.c 			xfs_iunlock(ip, XFS_MMAPLOCK_EXCL);
ip               1053 fs/xfs/xfs_iops.c 		xfs_iunlock(ip, XFS_MMAPLOCK_EXCL);
ip               1067 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip = XFS_I(inode);
ip               1068 fs/xfs/xfs_iops.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1073 fs/xfs/xfs_iops.c 	trace_xfs_update_time(ip);
ip               1088 fs/xfs/xfs_iops.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               1096 fs/xfs/xfs_iops.c 	xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
ip               1097 fs/xfs/xfs_iops.c 	xfs_trans_log_inode(tp, ip, log_flags);
ip               1212 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip)
ip               1214 fs/xfs/xfs_iops.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1217 fs/xfs/xfs_iops.c 	if (!S_ISREG(VFS_I(ip)->i_mode) || xfs_is_reflink_inode(ip))
ip               1222 fs/xfs/xfs_iops.c 	    !(ip->i_d.di_flags2 & XFS_DIFLAG2_DAX))
ip               1230 fs/xfs/xfs_iops.c 	return xfs_find_daxdev_for_inode(VFS_I(ip)) != NULL;
ip               1236 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip)
ip               1238 fs/xfs/xfs_iops.c 	uint16_t		flags = ip->i_d.di_flags;
ip               1251 fs/xfs/xfs_iops.c 	if (xfs_inode_supports_dax(ip))
ip               1265 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip)
ip               1267 fs/xfs/xfs_iops.c 	struct inode		*inode = &ip->i_vnode;
ip               1270 fs/xfs/xfs_iops.c 	inode->i_ino = ip->i_ino;
ip               1277 fs/xfs/xfs_iops.c 	inode->i_uid    = xfs_uid_to_kuid(ip->i_d.di_uid);
ip               1278 fs/xfs/xfs_iops.c 	inode->i_gid    = xfs_gid_to_kgid(ip->i_d.di_gid);
ip               1280 fs/xfs/xfs_iops.c 	i_size_write(inode, ip->i_d.di_size);
ip               1281 fs/xfs/xfs_iops.c 	xfs_diflags_to_iflags(inode, ip);
ip               1292 fs/xfs/xfs_iops.c 		lockdep_set_class(&ip->i_lock.mr_lock, &xfs_dir_ilock_class);
ip               1293 fs/xfs/xfs_iops.c 		ip->d_ops = ip->i_mount->m_dir_inode_ops;
ip               1295 fs/xfs/xfs_iops.c 		ip->d_ops = ip->i_mount->m_nondir_inode_ops;
ip               1296 fs/xfs/xfs_iops.c 		lockdep_set_class(&ip->i_lock.mr_lock, &xfs_nondir_ilock_class);
ip               1311 fs/xfs/xfs_iops.c 	if (!XFS_IFORK_Q(ip)) {
ip               1319 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip)
ip               1321 fs/xfs/xfs_iops.c 	struct inode		*inode = &ip->i_vnode;
ip               1340 fs/xfs/xfs_iops.c 		if (ip->i_df.if_flags & XFS_IFINLINE)
ip                 21 fs/xfs/xfs_iops.h extern void xfs_setattr_time(struct xfs_inode *ip, struct iattr *iattr);
ip                 22 fs/xfs/xfs_iops.h extern int xfs_setattr_nonsize(struct xfs_inode *ip, struct iattr *vap,
ip                 62 fs/xfs/xfs_itable.c 	struct xfs_inode	*ip;		/* incore inode pointer */
ip                 72 fs/xfs/xfs_itable.c 			 XFS_ILOCK_SHARED, &ip);
ip                 78 fs/xfs/xfs_itable.c 	ASSERT(ip != NULL);
ip                 79 fs/xfs/xfs_itable.c 	ASSERT(ip->i_imap.im_blkno != 0);
ip                 80 fs/xfs/xfs_itable.c 	inode = VFS_I(ip);
ip                 82 fs/xfs/xfs_itable.c 	dic = &ip->i_d;
ip                 87 fs/xfs/xfs_itable.c 	buf->bs_projectid = xfs_get_projid(ip);
ip                105 fs/xfs/xfs_itable.c 	buf->bs_xflags = xfs_ip2xflags(ip);
ip                108 fs/xfs/xfs_itable.c 	xfs_bulkstat_health(ip, buf);
ip                110 fs/xfs/xfs_itable.c 	buf->bs_forkoff = XFS_IFORK_BOFF(ip);
ip                133 fs/xfs/xfs_itable.c 		buf->bs_blocks = dic->di_nblocks + ip->i_delayed_blks;
ip                136 fs/xfs/xfs_itable.c 	xfs_iunlock(ip, XFS_ILOCK_SHARED);
ip                137 fs/xfs/xfs_itable.c 	xfs_irele(ip);
ip                254 fs/xfs/xfs_linux.h #define XFS_IS_REALTIME_INODE(ip)			\
ip                255 fs/xfs/xfs_linux.h 	(((ip)->i_d.di_flags & XFS_DIFLAG_REALTIME) &&	\
ip                256 fs/xfs/xfs_linux.h 	 (ip)->i_mount->m_rtdev_targp)
ip                259 fs/xfs/xfs_linux.h #define XFS_IS_REALTIME_INODE(ip) (0)
ip               2868 fs/xfs/xfs_log_recover.c 	struct xfs_inode	*ip;
ip               2873 fs/xfs/xfs_log_recover.c 	ip = xfs_inode_alloc(mp, in_f->ilf_ino);
ip               2874 fs/xfs/xfs_log_recover.c 	if (!ip)
ip               2878 fs/xfs/xfs_log_recover.c 	xfs_inode_from_disk(ip, dip);
ip               2879 fs/xfs/xfs_log_recover.c 	ASSERT(ip->i_d.di_version >= 3);
ip               2881 fs/xfs/xfs_log_recover.c 	error = xfs_iformat_fork(ip, dip);
ip               2885 fs/xfs/xfs_log_recover.c 	if (!xfs_inode_verify_forks(ip)) {
ip               2892 fs/xfs/xfs_log_recover.c 		error = xfs_bmbt_change_owner(NULL, ip, XFS_DATA_FORK,
ip               2893 fs/xfs/xfs_log_recover.c 					      ip->i_ino, buffer_list);
ip               2900 fs/xfs/xfs_log_recover.c 		error = xfs_bmbt_change_owner(NULL, ip, XFS_ATTR_FORK,
ip               2901 fs/xfs/xfs_log_recover.c 					      ip->i_ino, buffer_list);
ip               2907 fs/xfs/xfs_log_recover.c 	xfs_inode_free(ip);
ip               4978 fs/xfs/xfs_log_recover.c 	struct xfs_inode		*ip;
ip               4983 fs/xfs/xfs_log_recover.c 	error = xfs_iget(mp, NULL, ino, 0, 0, &ip);
ip               4990 fs/xfs/xfs_log_recover.c 	error = xfs_imap_to_bp(mp, NULL, &ip->i_imap, &dip, &ibp, 0, 0);
ip               4994 fs/xfs/xfs_log_recover.c 	xfs_iflags_clear(ip, XFS_IRECOVERY);
ip               4995 fs/xfs/xfs_log_recover.c 	ASSERT(VFS_I(ip)->i_nlink == 0);
ip               4996 fs/xfs/xfs_log_recover.c 	ASSERT(VFS_I(ip)->i_mode != 0);
ip               5006 fs/xfs/xfs_log_recover.c 	ip->i_d.di_dmevmask = 0;
ip               5008 fs/xfs/xfs_log_recover.c 	xfs_irele(ip);
ip               5012 fs/xfs/xfs_log_recover.c 	xfs_irele(ip);
ip                457 fs/xfs/xfs_mount.h int	xfs_zero_extent(struct xfs_inode *ip, xfs_fsblock_t start_fsb,
ip                 32 fs/xfs/xfs_pnfs.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                 36 fs/xfs/xfs_pnfs.c 		xfs_iunlock(ip, *iolock);
ip                 41 fs/xfs/xfs_pnfs.c 		xfs_ilock(ip, *iolock);
ip                 85 fs/xfs/xfs_pnfs.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                 86 fs/xfs/xfs_pnfs.c 	struct xfs_mount	*mp = ip->i_mount;
ip                103 fs/xfs/xfs_pnfs.c 	if (XFS_IS_REALTIME_INODE(ip))
ip                110 fs/xfs/xfs_pnfs.c 	if (xfs_is_reflink_inode(ip))
ip                120 fs/xfs/xfs_pnfs.c 	xfs_ilock(ip, XFS_IOLOCK_EXCL);
ip                142 fs/xfs/xfs_pnfs.c 	lock_flags = xfs_ilock_data_map_shared(ip);
ip                143 fs/xfs/xfs_pnfs.c 	error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb,
ip                145 fs/xfs/xfs_pnfs.c 	xfs_iunlock(ip, lock_flags);
ip                160 fs/xfs/xfs_pnfs.c 			xfs_ilock(ip, XFS_ILOCK_SHARED);
ip                161 fs/xfs/xfs_pnfs.c 			error = xfs_iomap_write_direct(ip, offset, length,
ip                175 fs/xfs/xfs_pnfs.c 		error = xfs_update_prealloc_flags(ip, flags);
ip                179 fs/xfs/xfs_pnfs.c 	xfs_iunlock(ip, XFS_IOLOCK_EXCL);
ip                181 fs/xfs/xfs_pnfs.c 	error = xfs_bmbt_to_iomap(ip, iomap, &imap, false);
ip                185 fs/xfs/xfs_pnfs.c 	xfs_iunlock(ip, XFS_IOLOCK_EXCL);
ip                194 fs/xfs/xfs_pnfs.c 	struct xfs_inode	*ip,
ip                201 fs/xfs/xfs_pnfs.c 	xfs_ilock(ip, XFS_ILOCK_SHARED);
ip                202 fs/xfs/xfs_pnfs.c 	error = xfs_bmapi_read(ip, XFS_B_TO_FSBT(ip->i_mount, isize - 1), 1,
ip                204 fs/xfs/xfs_pnfs.c 	xfs_iunlock(ip, XFS_ILOCK_SHARED);
ip                232 fs/xfs/xfs_pnfs.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                233 fs/xfs/xfs_pnfs.c 	struct xfs_mount	*mp = ip->i_mount;
ip                241 fs/xfs/xfs_pnfs.c 	xfs_ilock(ip, XFS_IOLOCK_EXCL);
ip                272 fs/xfs/xfs_pnfs.c 		error = xfs_iomap_write_unwritten(ip, start, length, false);
ip                278 fs/xfs/xfs_pnfs.c 		error = xfs_pnfs_validate_isize(ip, size);
ip                287 fs/xfs/xfs_pnfs.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                288 fs/xfs/xfs_pnfs.c 	xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
ip                289 fs/xfs/xfs_pnfs.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip                291 fs/xfs/xfs_pnfs.c 	xfs_setattr_time(ip, iattr);
ip                294 fs/xfs/xfs_pnfs.c 		ip->i_d.di_size = iattr->ia_size;
ip                301 fs/xfs/xfs_pnfs.c 	xfs_iunlock(ip, XFS_IOLOCK_EXCL);
ip                246 fs/xfs/xfs_qm.c 	xfs_inode_t	*ip,
ip                255 fs/xfs/xfs_qm.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip                275 fs/xfs/xfs_qm.c 	error = xfs_qm_dqget_inode(ip, type, doalloc, &dqp);
ip                292 fs/xfs/xfs_qm.c 	struct xfs_inode	*ip)
ip                294 fs/xfs/xfs_qm.c 	struct xfs_mount	*mp = ip->i_mount;
ip                300 fs/xfs/xfs_qm.c 	if (!XFS_NOT_DQATTACHED(mp, ip))
ip                302 fs/xfs/xfs_qm.c 	if (xfs_is_quota_inode(&mp->m_sb, ip->i_ino))
ip                316 fs/xfs/xfs_qm.c 	xfs_inode_t	*ip,
ip                319 fs/xfs/xfs_qm.c 	xfs_mount_t	*mp = ip->i_mount;
ip                322 fs/xfs/xfs_qm.c 	if (!xfs_qm_need_dqattach(ip))
ip                325 fs/xfs/xfs_qm.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip                327 fs/xfs/xfs_qm.c 	if (XFS_IS_UQUOTA_ON(mp) && !ip->i_udquot) {
ip                328 fs/xfs/xfs_qm.c 		error = xfs_qm_dqattach_one(ip, ip->i_d.di_uid, XFS_DQ_USER,
ip                329 fs/xfs/xfs_qm.c 				doalloc, &ip->i_udquot);
ip                332 fs/xfs/xfs_qm.c 		ASSERT(ip->i_udquot);
ip                335 fs/xfs/xfs_qm.c 	if (XFS_IS_GQUOTA_ON(mp) && !ip->i_gdquot) {
ip                336 fs/xfs/xfs_qm.c 		error = xfs_qm_dqattach_one(ip, ip->i_d.di_gid, XFS_DQ_GROUP,
ip                337 fs/xfs/xfs_qm.c 				doalloc, &ip->i_gdquot);
ip                340 fs/xfs/xfs_qm.c 		ASSERT(ip->i_gdquot);
ip                343 fs/xfs/xfs_qm.c 	if (XFS_IS_PQUOTA_ON(mp) && !ip->i_pdquot) {
ip                344 fs/xfs/xfs_qm.c 		error = xfs_qm_dqattach_one(ip, xfs_get_projid(ip), XFS_DQ_PROJ,
ip                345 fs/xfs/xfs_qm.c 				doalloc, &ip->i_pdquot);
ip                348 fs/xfs/xfs_qm.c 		ASSERT(ip->i_pdquot);
ip                356 fs/xfs/xfs_qm.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip                362 fs/xfs/xfs_qm.c 	struct xfs_inode	*ip)
ip                366 fs/xfs/xfs_qm.c 	if (!xfs_qm_need_dqattach(ip))
ip                369 fs/xfs/xfs_qm.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                370 fs/xfs/xfs_qm.c 	error = xfs_qm_dqattach_locked(ip, false);
ip                371 fs/xfs/xfs_qm.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                383 fs/xfs/xfs_qm.c 	xfs_inode_t	*ip)
ip                385 fs/xfs/xfs_qm.c 	if (!(ip->i_udquot || ip->i_gdquot || ip->i_pdquot))
ip                388 fs/xfs/xfs_qm.c 	trace_xfs_dquot_dqdetach(ip);
ip                390 fs/xfs/xfs_qm.c 	ASSERT(!xfs_is_quota_inode(&ip->i_mount->m_sb, ip->i_ino));
ip                391 fs/xfs/xfs_qm.c 	if (ip->i_udquot) {
ip                392 fs/xfs/xfs_qm.c 		xfs_qm_dqrele(ip->i_udquot);
ip                393 fs/xfs/xfs_qm.c 		ip->i_udquot = NULL;
ip                395 fs/xfs/xfs_qm.c 	if (ip->i_gdquot) {
ip                396 fs/xfs/xfs_qm.c 		xfs_qm_dqrele(ip->i_gdquot);
ip                397 fs/xfs/xfs_qm.c 		ip->i_gdquot = NULL;
ip                399 fs/xfs/xfs_qm.c 	if (ip->i_pdquot) {
ip                400 fs/xfs/xfs_qm.c 		xfs_qm_dqrele(ip->i_pdquot);
ip                401 fs/xfs/xfs_qm.c 		ip->i_pdquot = NULL;
ip                735 fs/xfs/xfs_qm.c 	xfs_inode_t	**ip,
ip                742 fs/xfs/xfs_qm.c 	*ip = NULL;
ip                764 fs/xfs/xfs_qm.c 			error = xfs_iget(mp, NULL, ino, 0, 0, ip);
ip                779 fs/xfs/xfs_qm.c 		error = xfs_dir_ialloc(&tp, NULL, S_IFREG, 1, 0, 0, ip);
ip                804 fs/xfs/xfs_qm.c 		mp->m_sb.sb_uquotino = (*ip)->i_ino;
ip                806 fs/xfs/xfs_qm.c 		mp->m_sb.sb_gquotino = (*ip)->i_ino;
ip                808 fs/xfs/xfs_qm.c 		mp->m_sb.sb_pquotino = (*ip)->i_ino;
ip                818 fs/xfs/xfs_qm.c 		xfs_finish_inode_setup(*ip);
ip               1057 fs/xfs/xfs_qm.c 	struct xfs_inode	*ip,
ip               1062 fs/xfs/xfs_qm.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1067 fs/xfs/xfs_qm.c 	id = xfs_qm_id_for_quotatype(ip, type);
ip               1122 fs/xfs/xfs_qm.c 	struct xfs_inode	*ip;
ip               1140 fs/xfs/xfs_qm.c 	error = xfs_iget(mp, tp, ino, XFS_IGET_DONTCACHE, 0, &ip);
ip               1146 fs/xfs/xfs_qm.c 	ASSERT(ip->i_delayed_blks == 0);
ip               1148 fs/xfs/xfs_qm.c 	if (XFS_IS_REALTIME_INODE(ip)) {
ip               1149 fs/xfs/xfs_qm.c 		struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK);
ip               1152 fs/xfs/xfs_qm.c 			error = xfs_iread_extents(tp, ip, XFS_DATA_FORK);
ip               1160 fs/xfs/xfs_qm.c 	nblks = (xfs_qcnt_t)ip->i_d.di_nblocks - rtblks;
ip               1175 fs/xfs/xfs_qm.c 		error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQ_USER, nblks,
ip               1182 fs/xfs/xfs_qm.c 		error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQ_GROUP, nblks,
ip               1189 fs/xfs/xfs_qm.c 		error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQ_PROJ, nblks,
ip               1196 fs/xfs/xfs_qm.c 	xfs_irele(ip);
ip               1610 fs/xfs/xfs_qm.c 	struct xfs_inode	*ip,
ip               1619 fs/xfs/xfs_qm.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1630 fs/xfs/xfs_qm.c 	xfs_ilock(ip, lockflags);
ip               1632 fs/xfs/xfs_qm.c 	if ((flags & XFS_QMOPT_INHERIT) && XFS_INHERIT_GID(ip))
ip               1633 fs/xfs/xfs_qm.c 		gid = ip->i_d.di_gid;
ip               1639 fs/xfs/xfs_qm.c 	if (XFS_NOT_DQATTACHED(mp, ip)) {
ip               1640 fs/xfs/xfs_qm.c 		error = xfs_qm_dqattach_locked(ip, true);
ip               1642 fs/xfs/xfs_qm.c 			xfs_iunlock(ip, lockflags);
ip               1648 fs/xfs/xfs_qm.c 		if (ip->i_d.di_uid != uid) {
ip               1658 fs/xfs/xfs_qm.c 			xfs_iunlock(ip, lockflags);
ip               1669 fs/xfs/xfs_qm.c 			xfs_ilock(ip, lockflags);
ip               1675 fs/xfs/xfs_qm.c 			ASSERT(ip->i_udquot);
ip               1676 fs/xfs/xfs_qm.c 			uq = xfs_qm_dqhold(ip->i_udquot);
ip               1680 fs/xfs/xfs_qm.c 		if (ip->i_d.di_gid != gid) {
ip               1681 fs/xfs/xfs_qm.c 			xfs_iunlock(ip, lockflags);
ip               1689 fs/xfs/xfs_qm.c 			xfs_ilock(ip, lockflags);
ip               1691 fs/xfs/xfs_qm.c 			ASSERT(ip->i_gdquot);
ip               1692 fs/xfs/xfs_qm.c 			gq = xfs_qm_dqhold(ip->i_gdquot);
ip               1696 fs/xfs/xfs_qm.c 		if (xfs_get_projid(ip) != prid) {
ip               1697 fs/xfs/xfs_qm.c 			xfs_iunlock(ip, lockflags);
ip               1706 fs/xfs/xfs_qm.c 			xfs_ilock(ip, lockflags);
ip               1708 fs/xfs/xfs_qm.c 			ASSERT(ip->i_pdquot);
ip               1709 fs/xfs/xfs_qm.c 			pq = xfs_qm_dqhold(ip->i_pdquot);
ip               1713 fs/xfs/xfs_qm.c 		trace_xfs_dquot_dqalloc(ip);
ip               1715 fs/xfs/xfs_qm.c 	xfs_iunlock(ip, lockflags);
ip               1743 fs/xfs/xfs_qm.c 	xfs_inode_t	*ip,
ip               1748 fs/xfs/xfs_qm.c 	uint		bfield = XFS_IS_REALTIME_INODE(ip) ?
ip               1752 fs/xfs/xfs_qm.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip               1753 fs/xfs/xfs_qm.c 	ASSERT(XFS_IS_QUOTA_RUNNING(ip->i_mount));
ip               1760 fs/xfs/xfs_qm.c 	xfs_trans_mod_dquot(tp, prevdq, bfield, -(ip->i_d.di_nblocks));
ip               1764 fs/xfs/xfs_qm.c 	xfs_trans_mod_dquot(tp, newdq, bfield, ip->i_d.di_nblocks);
ip               1782 fs/xfs/xfs_qm.c 	struct xfs_inode	*ip,
ip               1788 fs/xfs/xfs_qm.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1800 fs/xfs/xfs_qm.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL|XFS_ILOCK_SHARED));
ip               1803 fs/xfs/xfs_qm.c 	delblks = ip->i_delayed_blks;
ip               1804 fs/xfs/xfs_qm.c 	blkflags = XFS_IS_REALTIME_INODE(ip) ?
ip               1808 fs/xfs/xfs_qm.c 	    ip->i_d.di_uid != be32_to_cpu(udqp->q_core.d_id)) {
ip               1816 fs/xfs/xfs_qm.c 			ASSERT(ip->i_udquot);
ip               1817 fs/xfs/xfs_qm.c 			udq_unres = ip->i_udquot;
ip               1820 fs/xfs/xfs_qm.c 	if (XFS_IS_GQUOTA_ON(ip->i_mount) && gdqp &&
ip               1821 fs/xfs/xfs_qm.c 	    ip->i_d.di_gid != be32_to_cpu(gdqp->q_core.d_id)) {
ip               1824 fs/xfs/xfs_qm.c 			ASSERT(ip->i_gdquot);
ip               1825 fs/xfs/xfs_qm.c 			gdq_unres = ip->i_gdquot;
ip               1829 fs/xfs/xfs_qm.c 	if (XFS_IS_PQUOTA_ON(ip->i_mount) && pdqp &&
ip               1830 fs/xfs/xfs_qm.c 	    xfs_get_projid(ip) != be32_to_cpu(pdqp->q_core.d_id)) {
ip               1834 fs/xfs/xfs_qm.c 			ASSERT(ip->i_pdquot);
ip               1835 fs/xfs/xfs_qm.c 			pdq_unres = ip->i_pdquot;
ip               1839 fs/xfs/xfs_qm.c 	error = xfs_trans_reserve_quota_bydquots(tp, ip->i_mount,
ip               1841 fs/xfs/xfs_qm.c 				ip->i_d.di_nblocks, 1,
ip               1858 fs/xfs/xfs_qm.c 		error = xfs_trans_reserve_quota_bydquots(NULL, ip->i_mount,
ip               1864 fs/xfs/xfs_qm.c 		xfs_trans_reserve_quota_bydquots(NULL, ip->i_mount,
ip               1883 fs/xfs/xfs_qm.c 		struct xfs_inode	*ip = i_tab[i];
ip               1889 fs/xfs/xfs_qm.c 		if (i == 0 || ip != i_tab[i-1]) {
ip               1890 fs/xfs/xfs_qm.c 			if (XFS_NOT_DQATTACHED(mp, ip)) {
ip               1891 fs/xfs/xfs_qm.c 				error = xfs_qm_dqattach(ip);
ip               1903 fs/xfs/xfs_qm.c 	struct xfs_inode	*ip,
ip               1913 fs/xfs/xfs_qm.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip               1917 fs/xfs/xfs_qm.c 		ASSERT(ip->i_udquot == NULL);
ip               1918 fs/xfs/xfs_qm.c 		ASSERT(ip->i_d.di_uid == be32_to_cpu(udqp->q_core.d_id));
ip               1920 fs/xfs/xfs_qm.c 		ip->i_udquot = xfs_qm_dqhold(udqp);
ip               1924 fs/xfs/xfs_qm.c 		ASSERT(ip->i_gdquot == NULL);
ip               1925 fs/xfs/xfs_qm.c 		ASSERT(ip->i_d.di_gid == be32_to_cpu(gdqp->q_core.d_id));
ip               1926 fs/xfs/xfs_qm.c 		ip->i_gdquot = xfs_qm_dqhold(gdqp);
ip               1930 fs/xfs/xfs_qm.c 		ASSERT(ip->i_pdquot == NULL);
ip               1931 fs/xfs/xfs_qm.c 		ASSERT(xfs_get_projid(ip) == be32_to_cpu(pdqp->q_core.d_id));
ip               1933 fs/xfs/xfs_qm.c 		ip->i_pdquot = xfs_qm_dqhold(pdqp);
ip                 57 fs/xfs/xfs_qm_bhv.c 	xfs_inode_t		*ip,
ip                 60 fs/xfs/xfs_qm_bhv.c 	xfs_mount_t		*mp = ip->i_mount;
ip                 63 fs/xfs/xfs_qm_bhv.c 	if (!xfs_qm_dqget(mp, xfs_get_projid(ip), XFS_DQ_PROJ, false, &dqp)) {
ip                210 fs/xfs/xfs_qm_syscalls.c 	struct xfs_inode	*ip;
ip                217 fs/xfs/xfs_qm_syscalls.c 	error = xfs_iget(mp, NULL, ino, 0, 0, &ip);
ip                221 fs/xfs/xfs_qm_syscalls.c 	xfs_ilock(ip, XFS_IOLOCK_EXCL);
ip                225 fs/xfs/xfs_qm_syscalls.c 		xfs_iunlock(ip, XFS_IOLOCK_EXCL);
ip                229 fs/xfs/xfs_qm_syscalls.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                230 fs/xfs/xfs_qm_syscalls.c 	xfs_trans_ijoin(tp, ip, 0);
ip                232 fs/xfs/xfs_qm_syscalls.c 	ip->i_d.di_size = 0;
ip                233 fs/xfs/xfs_qm_syscalls.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip                235 fs/xfs/xfs_qm_syscalls.c 	error = xfs_itruncate_extents(&tp, ip, XFS_DATA_FORK, 0);
ip                241 fs/xfs/xfs_qm_syscalls.c 	ASSERT(ip->i_d.di_nextents == 0);
ip                243 fs/xfs/xfs_qm_syscalls.c 	xfs_trans_ichgtime(tp, ip, XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG);
ip                247 fs/xfs/xfs_qm_syscalls.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL);
ip                249 fs/xfs/xfs_qm_syscalls.c 	xfs_irele(ip);
ip                735 fs/xfs/xfs_qm_syscalls.c 	struct xfs_inode	*ip,
ip                740 fs/xfs/xfs_qm_syscalls.c 	if (ip == ip->i_mount->m_quotainfo->qi_uquotaip ||
ip                741 fs/xfs/xfs_qm_syscalls.c 	    ip == ip->i_mount->m_quotainfo->qi_gquotaip ||
ip                742 fs/xfs/xfs_qm_syscalls.c 	    ip == ip->i_mount->m_quotainfo->qi_pquotaip) {
ip                743 fs/xfs/xfs_qm_syscalls.c 		ASSERT(ip->i_udquot == NULL);
ip                744 fs/xfs/xfs_qm_syscalls.c 		ASSERT(ip->i_gdquot == NULL);
ip                745 fs/xfs/xfs_qm_syscalls.c 		ASSERT(ip->i_pdquot == NULL);
ip                749 fs/xfs/xfs_qm_syscalls.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                750 fs/xfs/xfs_qm_syscalls.c 	if ((flags & XFS_UQUOTA_ACCT) && ip->i_udquot) {
ip                751 fs/xfs/xfs_qm_syscalls.c 		xfs_qm_dqrele(ip->i_udquot);
ip                752 fs/xfs/xfs_qm_syscalls.c 		ip->i_udquot = NULL;
ip                754 fs/xfs/xfs_qm_syscalls.c 	if ((flags & XFS_GQUOTA_ACCT) && ip->i_gdquot) {
ip                755 fs/xfs/xfs_qm_syscalls.c 		xfs_qm_dqrele(ip->i_gdquot);
ip                756 fs/xfs/xfs_qm_syscalls.c 		ip->i_gdquot = NULL;
ip                758 fs/xfs/xfs_qm_syscalls.c 	if ((flags & XFS_PQUOTA_ACCT) && ip->i_pdquot) {
ip                759 fs/xfs/xfs_qm_syscalls.c 		xfs_qm_dqrele(ip->i_pdquot);
ip                760 fs/xfs/xfs_qm_syscalls.c 		ip->i_pdquot = NULL;
ip                762 fs/xfs/xfs_qm_syscalls.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                 26 fs/xfs/xfs_quota.h #define XFS_NOT_DQATTACHED(mp, ip) \
ip                 27 fs/xfs/xfs_quota.h 	((XFS_IS_UQUOTA_ON(mp) && (ip)->i_udquot == NULL) || \
ip                 28 fs/xfs/xfs_quota.h 	 (XFS_IS_GQUOTA_ON(mp) && (ip)->i_gdquot == NULL) || \
ip                 29 fs/xfs/xfs_quota.h 	 (XFS_IS_PQUOTA_ON(mp) && (ip)->i_pdquot == NULL))
ip                101 fs/xfs/xfs_quota.h extern int xfs_qm_dqattach_locked(struct xfs_inode *ip, bool doalloc);
ip                112 fs/xfs/xfs_quota.h xfs_qm_vop_dqalloc(struct xfs_inode *ip, xfs_dqid_t uid, xfs_dqid_t gid,
ip                123 fs/xfs/xfs_quota.h #define xfs_trans_mod_dquot_byino(tp, ip, fields, delta)
ip                127 fs/xfs/xfs_quota.h 		struct xfs_inode *ip, int64_t nblks, long ninos, uint flags)
ip                138 fs/xfs/xfs_quota.h #define xfs_qm_vop_create_dqattach(tp, ip, u, g, p)
ip                140 fs/xfs/xfs_quota.h #define xfs_qm_vop_chown(tp, ip, old, new)				(NULL)
ip                141 fs/xfs/xfs_quota.h #define xfs_qm_vop_chown_reserve(tp, ip, u, g, p, fl)			(0)
ip                142 fs/xfs/xfs_quota.h #define xfs_qm_dqattach(ip)						(0)
ip                143 fs/xfs/xfs_quota.h #define xfs_qm_dqattach_locked(ip, fl)					(0)
ip                144 fs/xfs/xfs_quota.h #define xfs_qm_dqdetach(ip)
ip                146 fs/xfs/xfs_quota.h #define xfs_qm_statvfs(ip, s)
ip                153 fs/xfs/xfs_quota.h #define xfs_trans_unreserve_quota_nblks(tp, ip, nblks, ninos, flags) \
ip                154 fs/xfs/xfs_quota.h 	xfs_trans_reserve_quota_nblks(tp, ip, -(nblks), -(ninos), flags)
ip                 23 fs/xfs/xfs_quotaops.c 	struct xfs_inode	*ip,
ip                 30 fs/xfs/xfs_quotaops.c 	if (!ip && ino == NULLFSINO)
ip                 32 fs/xfs/xfs_quotaops.c 	if (!ip) {
ip                 33 fs/xfs/xfs_quotaops.c 		if (xfs_iget(mp, NULL, ino, 0, 0, &ip))
ip                 38 fs/xfs/xfs_quotaops.c 	tstate->blocks = ip->i_d.di_nblocks;
ip                 39 fs/xfs/xfs_quotaops.c 	tstate->nextents = ip->i_d.di_nextents;
ip                 47 fs/xfs/xfs_quotaops.c 		xfs_irele(ip);
ip                172 fs/xfs/xfs_reflink.c 	struct xfs_inode	*ip,
ip                184 fs/xfs/xfs_reflink.c 	if (!xfs_is_cow_inode(ip) || !xfs_bmap_is_real_extent(irec)) {
ip                189 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_trim_around_shared(ip, irec);
ip                191 fs/xfs/xfs_reflink.c 	agno = XFS_FSB_TO_AGNO(ip->i_mount, irec->br_startblock);
ip                192 fs/xfs/xfs_reflink.c 	agbno = XFS_FSB_TO_AGBNO(ip->i_mount, irec->br_startblock);
ip                195 fs/xfs/xfs_reflink.c 	error = xfs_reflink_find_shared(ip->i_mount, NULL, agno, agbno,
ip                228 fs/xfs/xfs_reflink.c 	struct xfs_inode	*ip,
ip                233 fs/xfs/xfs_reflink.c 	if (xfs_is_always_cow_inode(ip) &&
ip                240 fs/xfs/xfs_reflink.c 	return xfs_reflink_trim_around_shared(ip, imap, shared);
ip                245 fs/xfs/xfs_reflink.c 	struct xfs_inode	*ip,
ip                255 fs/xfs/xfs_reflink.c 	if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got))
ip                271 fs/xfs/xfs_reflink.c 		error = xfs_bmap_add_extent_unwritten_real(NULL, ip,
ip                276 fs/xfs/xfs_reflink.c 	} while (xfs_iext_next_extent(ip->i_cowfp, &icur, &got));
ip                284 fs/xfs/xfs_reflink.c 	struct xfs_inode	*ip,
ip                288 fs/xfs/xfs_reflink.c 	struct xfs_mount	*mp = ip->i_mount;
ip                296 fs/xfs/xfs_reflink.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                297 fs/xfs/xfs_reflink.c 	error = xfs_reflink_convert_cow_locked(ip, offset_fsb, count_fsb);
ip                298 fs/xfs/xfs_reflink.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                309 fs/xfs/xfs_reflink.c 	struct xfs_inode	*ip,
ip                325 fs/xfs/xfs_reflink.c 	if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got))
ip                330 fs/xfs/xfs_reflink.c 		return xfs_inode_need_cow(ip, imap, shared);
ip                349 fs/xfs/xfs_reflink.c 	struct xfs_inode	*ip,
ip                355 fs/xfs/xfs_reflink.c 	struct xfs_mount	*mp = ip->i_mount;
ip                364 fs/xfs/xfs_reflink.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip                365 fs/xfs/xfs_reflink.c 	if (!ip->i_cowfp) {
ip                366 fs/xfs/xfs_reflink.c 		ASSERT(!xfs_is_reflink_inode(ip));
ip                367 fs/xfs/xfs_reflink.c 		xfs_ifork_init_cow(ip);
ip                370 fs/xfs/xfs_reflink.c 	error = xfs_find_trim_cow_extent(ip, imap, shared, &found);
ip                377 fs/xfs/xfs_reflink.c 		imap->br_blockcount, xfs_get_cowextsz_hint(ip));
ip                380 fs/xfs/xfs_reflink.c 	xfs_iunlock(ip, *lockmode);
ip                383 fs/xfs/xfs_reflink.c 	xfs_ilock(ip, *lockmode);
ip                388 fs/xfs/xfs_reflink.c 	error = xfs_qm_dqattach_locked(ip, false);
ip                395 fs/xfs/xfs_reflink.c 	error = xfs_find_trim_cow_extent(ip, imap, shared, &found);
ip                403 fs/xfs/xfs_reflink.c 	error = xfs_trans_reserve_quota_nblks(tp, ip, resblks, 0,
ip                408 fs/xfs/xfs_reflink.c 	xfs_trans_ijoin(tp, ip, 0);
ip                412 fs/xfs/xfs_reflink.c 	error = xfs_bmapi_write(tp, ip, imap->br_startoff, imap->br_blockcount,
ip                418 fs/xfs/xfs_reflink.c 	xfs_inode_set_cowblocks_tag(ip);
ip                438 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_convert_cow(ip, imap);
ip                439 fs/xfs/xfs_reflink.c 	return xfs_reflink_convert_cow_locked(ip, offset_fsb, count_fsb);
ip                442 fs/xfs/xfs_reflink.c 	xfs_trans_unreserve_quota_nblks(tp, ip, (long)resblks, 0,
ip                460 fs/xfs/xfs_reflink.c 	struct xfs_inode		*ip,
ip                466 fs/xfs/xfs_reflink.c 	struct xfs_ifork		*ifp = XFS_IFORK_PTR(ip, XFS_COW_FORK);
ip                471 fs/xfs/xfs_reflink.c 	if (!xfs_inode_has_cow_data(ip))
ip                473 fs/xfs/xfs_reflink.c 	if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got))
ip                487 fs/xfs/xfs_reflink.c 		trace_xfs_reflink_cancel_cow(ip, &del);
ip                490 fs/xfs/xfs_reflink.c 			error = xfs_bmap_del_extent_delay(ip, XFS_COW_FORK,
ip                510 fs/xfs/xfs_reflink.c 			xfs_bmap_del_extent_cow(ip, &icur, &got, &del);
ip                513 fs/xfs/xfs_reflink.c 			error = xfs_trans_reserve_quota_nblks(NULL, ip,
ip                529 fs/xfs/xfs_reflink.c 		xfs_inode_clear_cowblocks_tag(ip);
ip                541 fs/xfs/xfs_reflink.c 	struct xfs_inode	*ip,
ip                551 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_cancel_cow_range(ip, offset, count);
ip                552 fs/xfs/xfs_reflink.c 	ASSERT(ip->i_cowfp);
ip                554 fs/xfs/xfs_reflink.c 	offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset);
ip                558 fs/xfs/xfs_reflink.c 		end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count);
ip                561 fs/xfs/xfs_reflink.c 	error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write,
ip                566 fs/xfs/xfs_reflink.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                567 fs/xfs/xfs_reflink.c 	xfs_trans_ijoin(tp, ip, 0);
ip                570 fs/xfs/xfs_reflink.c 	error = xfs_reflink_cancel_cow_blocks(ip, &tp, offset_fsb, end_fsb,
ip                577 fs/xfs/xfs_reflink.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                582 fs/xfs/xfs_reflink.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                584 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_cancel_cow_range_error(ip, error, _RET_IP_);
ip                600 fs/xfs/xfs_reflink.c 	struct xfs_inode	*ip,
ip                606 fs/xfs/xfs_reflink.c 	struct xfs_mount	*mp = ip->i_mount;
ip                608 fs/xfs/xfs_reflink.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, XFS_COW_FORK);
ip                630 fs/xfs/xfs_reflink.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                631 fs/xfs/xfs_reflink.c 	xfs_trans_ijoin(tp, ip, 0);
ip                638 fs/xfs/xfs_reflink.c 	if (!xfs_iext_lookup_extent_before(ip, ifp, end_fsb, &icur, &got) ||
ip                667 fs/xfs/xfs_reflink.c 	error = __xfs_bunmapi(tp, ip, del.br_startoff, &rlen, 0, 1);
ip                673 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_cow_remap(ip, &del);
ip                679 fs/xfs/xfs_reflink.c 	xfs_bmap_map_extent(tp, ip, &del);
ip                682 fs/xfs/xfs_reflink.c 	xfs_trans_mod_dquot_byino(tp, ip, XFS_TRANS_DQ_DELBCOUNT,
ip                686 fs/xfs/xfs_reflink.c 	xfs_bmap_del_extent_cow(ip, &icur, &got, &del);
ip                689 fs/xfs/xfs_reflink.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                699 fs/xfs/xfs_reflink.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                708 fs/xfs/xfs_reflink.c 	struct xfs_inode		*ip,
ip                716 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_end_cow(ip, offset, count);
ip                718 fs/xfs/xfs_reflink.c 	offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset);
ip                719 fs/xfs/xfs_reflink.c 	end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count);
ip                754 fs/xfs/xfs_reflink.c 		error = xfs_reflink_end_cow_extent(ip, offset_fsb, &end_fsb);
ip                757 fs/xfs/xfs_reflink.c 		trace_xfs_reflink_end_cow_error(ip, error, _RET_IP_);
ip                995 fs/xfs/xfs_reflink.c 	struct xfs_inode	*ip,
ip               1000 fs/xfs/xfs_reflink.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1011 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_punch_range(ip, destoff, unmap_len);
ip               1022 fs/xfs/xfs_reflink.c 	resblks = XFS_EXTENTADD_SPACE_RES(ip->i_mount, XFS_DATA_FORK);
ip               1027 fs/xfs/xfs_reflink.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               1028 fs/xfs/xfs_reflink.c 	xfs_trans_ijoin(tp, ip, 0);
ip               1032 fs/xfs/xfs_reflink.c 		error = xfs_trans_reserve_quota_nblks(tp, ip,
ip               1038 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_remap(ip, irec->br_startoff,
ip               1045 fs/xfs/xfs_reflink.c 		error = __xfs_bunmapi(tp, ip, destoff, &rlen, 0, 1);
ip               1063 fs/xfs/xfs_reflink.c 		trace_xfs_reflink_remap(ip, uirec.br_startoff,
ip               1070 fs/xfs/xfs_reflink.c 		xfs_bmap_map_extent(tp, ip, &uirec);
ip               1073 fs/xfs/xfs_reflink.c 		xfs_trans_mod_dquot_byino(tp, ip, XFS_TRANS_DQ_BCOUNT,
ip               1080 fs/xfs/xfs_reflink.c 		if (newlen > i_size_read(VFS_I(ip))) {
ip               1081 fs/xfs/xfs_reflink.c 			trace_xfs_reflink_update_inode_size(ip, newlen);
ip               1082 fs/xfs/xfs_reflink.c 			i_size_write(VFS_I(ip), newlen);
ip               1083 fs/xfs/xfs_reflink.c 			ip->i_d.di_size = newlen;
ip               1084 fs/xfs/xfs_reflink.c 			xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip               1095 fs/xfs/xfs_reflink.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1102 fs/xfs/xfs_reflink.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1104 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_remap_extent_error(ip, error, _RET_IP_);
ip               1264 fs/xfs/xfs_reflink.c 	struct xfs_inode	*ip,
ip               1267 fs/xfs/xfs_reflink.c 	loff_t			isize = i_size_read(VFS_I(ip));
ip               1272 fs/xfs/xfs_reflink.c 	trace_xfs_zero_eof(ip, isize, pos - isize);
ip               1273 fs/xfs/xfs_reflink.c 	return iomap_zero_range(VFS_I(ip), isize, pos - isize, NULL,
ip               1395 fs/xfs/xfs_reflink.c 	struct xfs_inode	*ip,
ip               1400 fs/xfs/xfs_reflink.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1418 fs/xfs/xfs_reflink.c 		error = xfs_bmapi_read(ip, fbno, end - fbno, map, &nmaps, 0);
ip               1440 fs/xfs/xfs_reflink.c 			xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1446 fs/xfs/xfs_reflink.c 			error = iomap_file_dirty(VFS_I(ip), fpos, flen,
ip               1448 fs/xfs/xfs_reflink.c 			xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               1468 fs/xfs/xfs_reflink.c 	struct xfs_inode		*ip,
ip               1472 fs/xfs/xfs_reflink.c 	struct xfs_mount		*mp = ip->i_mount;
ip               1483 fs/xfs/xfs_reflink.c 	ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK);
ip               1485 fs/xfs/xfs_reflink.c 		error = xfs_iread_extents(tp, ip, XFS_DATA_FORK);
ip               1491 fs/xfs/xfs_reflink.c 	found = xfs_iext_lookup_extent(ip, ifp, 0, &icur, &got);
ip               1524 fs/xfs/xfs_reflink.c 	struct xfs_inode	*ip,
ip               1530 fs/xfs/xfs_reflink.c 	ASSERT(xfs_is_reflink_inode(ip));
ip               1532 fs/xfs/xfs_reflink.c 	error = xfs_reflink_inode_has_shared_extents(*tpp, ip, &needs_flag);
ip               1540 fs/xfs/xfs_reflink.c 	error = xfs_reflink_cancel_cow_blocks(ip, tpp, 0, NULLFILEOFF, true);
ip               1545 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_unset_inode_flag(ip);
ip               1546 fs/xfs/xfs_reflink.c 	ip->i_d.di_flags2 &= ~XFS_DIFLAG2_REFLINK;
ip               1547 fs/xfs/xfs_reflink.c 	xfs_inode_clear_cowblocks_tag(ip);
ip               1548 fs/xfs/xfs_reflink.c 	xfs_trans_log_inode(*tpp, ip, XFS_ILOG_CORE);
ip               1559 fs/xfs/xfs_reflink.c 	struct xfs_inode	*ip)
ip               1561 fs/xfs/xfs_reflink.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1570 fs/xfs/xfs_reflink.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               1571 fs/xfs/xfs_reflink.c 	xfs_trans_ijoin(tp, ip, 0);
ip               1573 fs/xfs/xfs_reflink.c 	error = xfs_reflink_clear_inode_flag(ip, &tp);
ip               1581 fs/xfs/xfs_reflink.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1586 fs/xfs/xfs_reflink.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1596 fs/xfs/xfs_reflink.c 	struct xfs_inode	*ip,
ip               1600 fs/xfs/xfs_reflink.c 	struct xfs_mount	*mp = ip->i_mount;
ip               1606 fs/xfs/xfs_reflink.c 	if (!xfs_is_reflink_inode(ip))
ip               1609 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_unshare(ip, offset, len);
ip               1611 fs/xfs/xfs_reflink.c 	inode_dio_wait(VFS_I(ip));
ip               1614 fs/xfs/xfs_reflink.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip               1616 fs/xfs/xfs_reflink.c 	isize = i_size_read(VFS_I(ip));
ip               1618 fs/xfs/xfs_reflink.c 	error = xfs_reflink_dirty_extents(ip, fbno, end, isize);
ip               1621 fs/xfs/xfs_reflink.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1624 fs/xfs/xfs_reflink.c 	error = filemap_write_and_wait(VFS_I(ip)->i_mapping);
ip               1629 fs/xfs/xfs_reflink.c 	error = xfs_reflink_try_clear_inode_flag(ip);
ip               1636 fs/xfs/xfs_reflink.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip               1638 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_unshare_error(ip, error, _RET_IP_);
ip                  9 fs/xfs/xfs_reflink.h static inline bool xfs_is_always_cow_inode(struct xfs_inode *ip)
ip                 11 fs/xfs/xfs_reflink.h 	return ip->i_mount->m_always_cow &&
ip                 12 fs/xfs/xfs_reflink.h 		xfs_sb_version_hasreflink(&ip->i_mount->m_sb);
ip                 15 fs/xfs/xfs_reflink.h static inline bool xfs_is_cow_inode(struct xfs_inode *ip)
ip                 17 fs/xfs/xfs_reflink.h 	return xfs_is_reflink_inode(ip) || xfs_is_always_cow_inode(ip);
ip                 23 fs/xfs/xfs_reflink.h extern int xfs_reflink_trim_around_shared(struct xfs_inode *ip,
ip                 25 fs/xfs/xfs_reflink.h bool xfs_inode_need_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
ip                 28 fs/xfs/xfs_reflink.h extern int xfs_reflink_allocate_cow(struct xfs_inode *ip,
ip                 31 fs/xfs/xfs_reflink.h extern int xfs_reflink_convert_cow(struct xfs_inode *ip, xfs_off_t offset,
ip                 34 fs/xfs/xfs_reflink.h extern int xfs_reflink_cancel_cow_blocks(struct xfs_inode *ip,
ip                 37 fs/xfs/xfs_reflink.h extern int xfs_reflink_cancel_cow_range(struct xfs_inode *ip, xfs_off_t offset,
ip                 39 fs/xfs/xfs_reflink.h extern int xfs_reflink_end_cow(struct xfs_inode *ip, xfs_off_t offset,
ip                 46 fs/xfs/xfs_reflink.h 		struct xfs_inode *ip, bool *has_shared);
ip                 47 fs/xfs/xfs_reflink.h extern int xfs_reflink_clear_inode_flag(struct xfs_inode *ip,
ip                 49 fs/xfs/xfs_reflink.h extern int xfs_reflink_unshare(struct xfs_inode *ip, xfs_off_t offset,
ip                760 fs/xfs/xfs_rtalloc.c 	struct xfs_inode	*ip)		/* inode (bitmap/summary) */
ip                787 fs/xfs/xfs_rtalloc.c 		xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                788 fs/xfs/xfs_rtalloc.c 		xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
ip                794 fs/xfs/xfs_rtalloc.c 		error = xfs_bmapi_write(tp, ip, oblocks, nblocks - oblocks,
ip                824 fs/xfs/xfs_rtalloc.c 			xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                825 fs/xfs/xfs_rtalloc.c 			xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
ip                899 fs/xfs/xfs_super.c 	struct xfs_inode	*ip,
ip                902 fs/xfs/xfs_super.c 	struct xfs_ifork	*ifp = XFS_IFORK_PTR(ip, whichfork);
ip                906 fs/xfs/xfs_super.c 	if (!ifp || !xfs_iext_lookup_extent(ip, ifp, 0, &icur, &got))
ip                910 fs/xfs/xfs_super.c 			xfs_warn(ip->i_mount,
ip                912 fs/xfs/xfs_super.c 				ip->i_ino,
ip                919 fs/xfs/xfs_super.c #define xfs_check_delalloc(ip, whichfork)	do { } while (0)
ip                930 fs/xfs/xfs_super.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                932 fs/xfs/xfs_super.c 	trace_xfs_destroy_inode(ip);
ip                935 fs/xfs/xfs_super.c 	XFS_STATS_INC(ip->i_mount, vn_rele);
ip                936 fs/xfs/xfs_super.c 	XFS_STATS_INC(ip->i_mount, vn_remove);
ip                938 fs/xfs/xfs_super.c 	xfs_inactive(ip);
ip                940 fs/xfs/xfs_super.c 	if (!XFS_FORCED_SHUTDOWN(ip->i_mount) && ip->i_delayed_blks) {
ip                941 fs/xfs/xfs_super.c 		xfs_check_delalloc(ip, XFS_DATA_FORK);
ip                942 fs/xfs/xfs_super.c 		xfs_check_delalloc(ip, XFS_COW_FORK);
ip                946 fs/xfs/xfs_super.c 	XFS_STATS_INC(ip->i_mount, vn_reclaim);
ip                951 fs/xfs/xfs_super.c 	ASSERT_ALWAYS(!xfs_iflags_test(ip, XFS_IRECLAIMABLE));
ip                952 fs/xfs/xfs_super.c 	ASSERT_ALWAYS(!xfs_iflags_test(ip, XFS_IRECLAIM));
ip                961 fs/xfs/xfs_super.c 	xfs_inode_set_reclaim_tag(ip);
ip                969 fs/xfs/xfs_super.c 	struct xfs_inode		*ip = XFS_I(inode);
ip                970 fs/xfs/xfs_super.c 	struct xfs_mount		*mp = ip->i_mount;
ip                980 fs/xfs/xfs_super.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                981 fs/xfs/xfs_super.c 	xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
ip                982 fs/xfs/xfs_super.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_TIMESTAMP);
ip                998 fs/xfs/xfs_super.c 	struct xfs_inode	*ip = inode;
ip               1000 fs/xfs/xfs_super.c 	memset(ip, 0, sizeof(struct xfs_inode));
ip               1003 fs/xfs/xfs_super.c 	inode_init_once(VFS_I(ip));
ip               1006 fs/xfs/xfs_super.c 	atomic_set(&ip->i_pincount, 0);
ip               1007 fs/xfs/xfs_super.c 	spin_lock_init(&ip->i_flags_lock);
ip               1009 fs/xfs/xfs_super.c 	mrlock_init(&ip->i_mmaplock, MRLOCK_ALLOW_EQUAL_PRI|MRLOCK_BARRIER,
ip               1010 fs/xfs/xfs_super.c 		     "xfsino", ip->i_ino);
ip               1011 fs/xfs/xfs_super.c 	mrlock_init(&ip->i_lock, MRLOCK_ALLOW_EQUAL_PRI|MRLOCK_BARRIER,
ip               1012 fs/xfs/xfs_super.c 		     "xfsino", ip->i_ino);
ip               1026 fs/xfs/xfs_super.c 	struct xfs_inode	*ip = XFS_I(inode);
ip               1033 fs/xfs/xfs_super.c 	if (ip->i_flags & XFS_IRECOVERY) {
ip               1034 fs/xfs/xfs_super.c 		ASSERT(ip->i_mount->m_log->l_flags & XLOG_RECOVERY_NEEDED);
ip               1038 fs/xfs/xfs_super.c 	return generic_drop_inode(inode) || (ip->i_flags & XFS_IDONTCACHE);
ip               1083 fs/xfs/xfs_super.c 	struct xfs_inode	*ip = XFS_I(d_inode(dentry));
ip               1128 fs/xfs/xfs_super.c 	if ((ip->i_d.di_flags & XFS_DIFLAG_PROJINHERIT) &&
ip               1131 fs/xfs/xfs_super.c 		xfs_qm_statvfs(ip, statp);
ip               1134 fs/xfs/xfs_super.c 	    (ip->i_d.di_flags & (XFS_DIFLAG_RTINHERIT | XFS_DIFLAG_REALTIME))) {
ip                 27 fs/xfs/xfs_symlink.c 	struct xfs_inode	*ip,
ip                 30 fs/xfs/xfs_symlink.c 	struct xfs_mount	*mp = ip->i_mount;
ip                 35 fs/xfs/xfs_symlink.c 	int			pathlen = ip->i_d.di_size;
ip                 43 fs/xfs/xfs_symlink.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL));
ip                 46 fs/xfs/xfs_symlink.c 	error = xfs_bmapi_read(ip, 0, fsblocks, mval, &nmaps, 0);
ip                 75 fs/xfs/xfs_symlink.c 			if (!xfs_symlink_hdr_ok(ip->i_ino, offset,
ip                 80 fs/xfs/xfs_symlink.c 					offset, byte_cnt, ip->i_ino);
ip                 98 fs/xfs/xfs_symlink.c 	link[ip->i_d.di_size] = '\0';
ip                107 fs/xfs/xfs_symlink.c 	struct xfs_inode *ip,
ip                110 fs/xfs/xfs_symlink.c 	struct xfs_mount *mp = ip->i_mount;
ip                114 fs/xfs/xfs_symlink.c 	trace_xfs_readlink(ip);
ip                116 fs/xfs/xfs_symlink.c 	ASSERT(!(ip->i_df.if_flags & XFS_IFINLINE));
ip                121 fs/xfs/xfs_symlink.c 	xfs_ilock(ip, XFS_ILOCK_SHARED);
ip                123 fs/xfs/xfs_symlink.c 	pathlen = ip->i_d.di_size;
ip                129 fs/xfs/xfs_symlink.c 			 __func__, (unsigned long long) ip->i_ino,
ip                137 fs/xfs/xfs_symlink.c 	error = xfs_readlink_bmap_ilocked(ip, link);
ip                140 fs/xfs/xfs_symlink.c 	xfs_iunlock(ip, XFS_ILOCK_SHARED);
ip                154 fs/xfs/xfs_symlink.c 	struct xfs_inode	*ip = NULL;
ip                239 fs/xfs/xfs_symlink.c 			       prid, &ip);
ip                256 fs/xfs/xfs_symlink.c 	xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp);
ip                263 fs/xfs/xfs_symlink.c 	if (pathlen <= XFS_IFORK_DSIZE(ip)) {
ip                264 fs/xfs/xfs_symlink.c 		xfs_init_local_fork(ip, XFS_DATA_FORK, target_path, pathlen);
ip                266 fs/xfs/xfs_symlink.c 		ip->i_d.di_size = pathlen;
ip                267 fs/xfs/xfs_symlink.c 		ip->i_d.di_format = XFS_DINODE_FMT_LOCAL;
ip                268 fs/xfs/xfs_symlink.c 		xfs_trans_log_inode(tp, ip, XFS_ILOG_DDATA | XFS_ILOG_CORE);
ip                275 fs/xfs/xfs_symlink.c 		error = xfs_bmapi_write(tp, ip, first_fsb, fs_blocks,
ip                282 fs/xfs/xfs_symlink.c 		ip->i_d.di_size = pathlen;
ip                283 fs/xfs/xfs_symlink.c 		xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip                304 fs/xfs/xfs_symlink.c 			buf += xfs_symlink_hdr_set(mp, ip->i_ino, offset,
ip                323 fs/xfs/xfs_symlink.c 	error = xfs_dir_createname(tp, dp, link_name, ip->i_ino, resblks);
ip                346 fs/xfs/xfs_symlink.c 	*ipp = ip;
ip                357 fs/xfs/xfs_symlink.c 	if (ip) {
ip                358 fs/xfs/xfs_symlink.c 		xfs_finish_inode_setup(ip);
ip                359 fs/xfs/xfs_symlink.c 		xfs_irele(ip);
ip                382 fs/xfs/xfs_symlink.c 	struct xfs_inode *ip)
ip                394 fs/xfs/xfs_symlink.c 	mp = ip->i_mount;
ip                395 fs/xfs/xfs_symlink.c 	ASSERT(ip->i_df.if_flags & XFS_IFEXTENTS);
ip                403 fs/xfs/xfs_symlink.c 	ASSERT(ip->i_d.di_nextents > 0 && ip->i_d.di_nextents <= 2);
ip                409 fs/xfs/xfs_symlink.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                410 fs/xfs/xfs_symlink.c 	xfs_trans_ijoin(tp, ip, 0);
ip                418 fs/xfs/xfs_symlink.c 	size = (int)ip->i_d.di_size;
ip                419 fs/xfs/xfs_symlink.c 	ip->i_d.di_size = 0;
ip                420 fs/xfs/xfs_symlink.c 	VFS_I(ip)->i_mode = (VFS_I(ip)->i_mode & ~S_IFMT) | S_IFREG;
ip                421 fs/xfs/xfs_symlink.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip                427 fs/xfs/xfs_symlink.c 	error = xfs_bmapi_read(ip, 0, xfs_symlink_blocks(mp, size),
ip                447 fs/xfs/xfs_symlink.c 	error = xfs_bunmapi(tp, ip, 0, size, 0, nmaps, &done);
ip                456 fs/xfs/xfs_symlink.c 	xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
ip                466 fs/xfs/xfs_symlink.c 	if (ip->i_df.if_bytes)
ip                467 fs/xfs/xfs_symlink.c 		xfs_idata_realloc(ip, -ip->i_df.if_bytes, XFS_DATA_FORK);
ip                468 fs/xfs/xfs_symlink.c 	ASSERT(ip->i_df.if_bytes == 0);
ip                470 fs/xfs/xfs_symlink.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                476 fs/xfs/xfs_symlink.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                485 fs/xfs/xfs_symlink.c 	struct xfs_inode	*ip)
ip                487 fs/xfs/xfs_symlink.c 	struct xfs_mount	*mp = ip->i_mount;
ip                490 fs/xfs/xfs_symlink.c 	trace_xfs_inactive_symlink(ip);
ip                495 fs/xfs/xfs_symlink.c 	xfs_ilock(ip, XFS_ILOCK_EXCL);
ip                496 fs/xfs/xfs_symlink.c 	pathlen = (int)ip->i_d.di_size;
ip                501 fs/xfs/xfs_symlink.c 			 __func__, (unsigned long long)ip->i_ino, pathlen);
ip                502 fs/xfs/xfs_symlink.c 		xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                511 fs/xfs/xfs_symlink.c 	if (ip->i_df.if_flags & XFS_IFINLINE) {
ip                512 fs/xfs/xfs_symlink.c 		xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                516 fs/xfs/xfs_symlink.c 	xfs_iunlock(ip, XFS_ILOCK_EXCL);
ip                519 fs/xfs/xfs_symlink.c 	return xfs_inactive_symlink_rmt(ip);
ip                 12 fs/xfs/xfs_symlink.h int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link);
ip                 13 fs/xfs/xfs_symlink.h int xfs_readlink(struct xfs_inode *ip, char *link);
ip                 14 fs/xfs/xfs_symlink.h int xfs_inactive_symlink(struct xfs_inode *ip);
ip                215 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, struct xfs_iext_cursor *cur, int state,
ip                217 fs/xfs/xfs_trace.h 	TP_ARGS(ip, cur, state, caller_ip),
ip                234 fs/xfs/xfs_trace.h 		ifp = xfs_iext_state_to_fork(ip, state);
ip                236 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip                237 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip                263 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, struct xfs_iext_cursor *cur, int state, \
ip                265 fs/xfs/xfs_trace.h 	TP_ARGS(ip, cur, state, caller_ip))
ip                529 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_agnumber_t agno,
ip                531 fs/xfs/xfs_trace.h 	TP_ARGS(ip, agno, free, nscan),
ip                541 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip                542 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip                544 fs/xfs/xfs_trace.h 		__entry->streams = xfs_filestream_peek_ag(ip->i_mount, agno);
ip                558 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, unsigned lock_flags,
ip                560 fs/xfs/xfs_trace.h 	TP_ARGS(ip,  lock_flags, caller_ip),
ip                568 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip                569 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip                582 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, unsigned lock_flags, \
ip                584 fs/xfs/xfs_trace.h 	TP_ARGS(ip,  lock_flags, caller_ip))
ip                591 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip),
ip                592 fs/xfs/xfs_trace.h 	TP_ARGS(ip),
ip                598 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip                599 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip                608 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip), \
ip                609 fs/xfs/xfs_trace.h 	TP_ARGS(ip))
ip                659 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, enum page_entry_size pe_size,
ip                661 fs/xfs/xfs_trace.h 	TP_ARGS(ip, pe_size, write_fault),
ip                669 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip                670 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip                685 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, unsigned long caller_ip),
ip                686 fs/xfs/xfs_trace.h 	TP_ARGS(ip, caller_ip),
ip                695 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip                696 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip                697 fs/xfs/xfs_trace.h 		__entry->count = atomic_read(&VFS_I(ip)->i_count);
ip                698 fs/xfs/xfs_trace.h 		__entry->pincount = atomic_read(&ip->i_pincount);
ip                710 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_fsblock_t blocks, int shift,
ip                712 fs/xfs/xfs_trace.h 	TP_ARGS(ip, blocks, shift, writeio_blocks),
ip                721 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip                722 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip                782 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, unsigned long caller_ip), \
ip                783 fs/xfs/xfs_trace.h 	TP_ARGS(ip, caller_ip))
ip               1126 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, size_t count, loff_t offset),
ip               1127 fs/xfs/xfs_trace.h 	TP_ARGS(ip, count, offset),
ip               1136 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip               1137 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip               1138 fs/xfs/xfs_trace.h 		__entry->size = ip->i_d.di_size;
ip               1152 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, size_t count, loff_t offset),	\
ip               1153 fs/xfs/xfs_trace.h 	TP_ARGS(ip, count, offset))
ip               1227 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_off_t offset, ssize_t count,
ip               1229 fs/xfs/xfs_trace.h 	TP_ARGS(ip, offset, count, whichfork, irec),
ip               1242 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip               1243 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip               1244 fs/xfs/xfs_trace.h 		__entry->size = ip->i_d.di_size;
ip               1267 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_off_t offset, ssize_t count,	\
ip               1269 fs/xfs/xfs_trace.h 	TP_ARGS(ip, offset, count, whichfork, irec))
ip               1276 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_off_t offset, ssize_t count),
ip               1277 fs/xfs/xfs_trace.h 	TP_ARGS(ip, offset, count),
ip               1287 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip               1288 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip               1289 fs/xfs/xfs_trace.h 		__entry->isize = VFS_I(ip)->i_size;
ip               1290 fs/xfs/xfs_trace.h 		__entry->disize = ip->i_d.di_size;
ip               1306 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_off_t offset, ssize_t count),	\
ip               1307 fs/xfs/xfs_trace.h 	TP_ARGS(ip, offset, count))
ip               1317 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_fsize_t new_size),
ip               1318 fs/xfs/xfs_trace.h 	TP_ARGS(ip, new_size),
ip               1326 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip               1327 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip               1328 fs/xfs/xfs_trace.h 		__entry->size = ip->i_d.di_size;
ip               1340 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_fsize_t new_size), \
ip               1341 fs/xfs/xfs_trace.h 	TP_ARGS(ip, new_size))
ip               1346 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_off_t start, xfs_off_t finish),
ip               1347 fs/xfs/xfs_trace.h 	TP_ARGS(ip, start, finish),
ip               1356 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip               1357 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip               1358 fs/xfs/xfs_trace.h 		__entry->size = ip->i_d.di_size;
ip               1371 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_fileoff_t bno, xfs_filblks_t len,
ip               1373 fs/xfs/xfs_trace.h 	TP_ARGS(ip, bno, len, flags, caller_ip),
ip               1384 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip               1385 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip               1386 fs/xfs/xfs_trace.h 		__entry->size = ip->i_d.di_size;
ip               1910 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, int which),
ip               1911 fs/xfs/xfs_trace.h 	TP_ARGS(ip, which),
ip               1922 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip               1924 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip               1925 fs/xfs/xfs_trace.h 		__entry->format = ip->i_d.di_format;
ip               1926 fs/xfs/xfs_trace.h 		__entry->nex = ip->i_d.di_nextents;
ip               1927 fs/xfs/xfs_trace.h 		__entry->broot_size = ip->i_df.if_broot_bytes;
ip               1928 fs/xfs/xfs_trace.h 		__entry->fork_off = XFS_IFORK_BOFF(ip);
ip               1943 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, int which), \
ip               1944 fs/xfs/xfs_trace.h 	TP_ARGS(ip, which))
ip               2962 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, int error, unsigned long caller_ip),
ip               2963 fs/xfs/xfs_trace.h 	TP_ARGS(ip, error, caller_ip),
ip               2971 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip               2972 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip               2985 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, int error, \
ip               2987 fs/xfs/xfs_trace.h 	TP_ARGS(ip, error, caller_ip))
ip               3043 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, struct xfs_bmbt_irec *irec),
ip               3044 fs/xfs/xfs_trace.h 	TP_ARGS(ip, irec),
ip               3054 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip               3055 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip               3071 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, struct xfs_bmbt_irec *irec), \
ip               3072 fs/xfs/xfs_trace.h 	TP_ARGS(ip, irec))
ip               3113 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_fileoff_t lblk,
ip               3115 fs/xfs/xfs_trace.h 	TP_ARGS(ip, lblk, len),
ip               3123 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip               3124 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip               3135 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_fileoff_t lblk,
ip               3137 fs/xfs/xfs_trace.h 	TP_ARGS(ip, lblk, len, new_pblk),
ip               3146 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip               3147 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip               3424 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip),
ip               3425 fs/xfs/xfs_trace.h 	TP_ARGS(ip),
ip               3432 fs/xfs/xfs_trace.h 		__entry->dev = VFS_I(ip)->i_sb->s_dev;
ip               3433 fs/xfs/xfs_trace.h 		__entry->agno = XFS_INO_TO_AGNO(ip->i_mount, ip->i_ino);
ip               3434 fs/xfs/xfs_trace.h 		__entry->agino = XFS_INO_TO_AGINO(ip->i_mount, ip->i_ino);
ip               3443 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip), \
ip               3444 fs/xfs/xfs_trace.h 	TP_ARGS(ip))
ip               3502 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, unsigned int flags),
ip               3503 fs/xfs/xfs_trace.h 	TP_ARGS(ip, flags),
ip               3510 fs/xfs/xfs_trace.h 		__entry->dev = ip->i_mount->m_super->s_dev;
ip               3511 fs/xfs/xfs_trace.h 		__entry->ino = ip->i_ino;
ip               3520 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, unsigned int flags), \
ip               3521 fs/xfs/xfs_trace.h 	TP_ARGS(ip, flags))
ip                128 fs/xfs/xfs_trans_dquot.c 	xfs_inode_t	*ip,
ip                136 fs/xfs/xfs_trans_dquot.c 	    xfs_is_quota_inode(&mp->m_sb, ip->i_ino))
ip                142 fs/xfs/xfs_trans_dquot.c 	if (XFS_IS_UQUOTA_ON(mp) && ip->i_udquot)
ip                143 fs/xfs/xfs_trans_dquot.c 		(void) xfs_trans_mod_dquot(tp, ip->i_udquot, field, delta);
ip                144 fs/xfs/xfs_trans_dquot.c 	if (XFS_IS_GQUOTA_ON(mp) && ip->i_gdquot)
ip                145 fs/xfs/xfs_trans_dquot.c 		(void) xfs_trans_mod_dquot(tp, ip->i_gdquot, field, delta);
ip                146 fs/xfs/xfs_trans_dquot.c 	if (XFS_IS_PQUOTA_ON(mp) && ip->i_pdquot)
ip                147 fs/xfs/xfs_trans_dquot.c 		(void) xfs_trans_mod_dquot(tp, ip->i_pdquot, field, delta);
ip                795 fs/xfs/xfs_trans_dquot.c 	struct xfs_inode	*ip,
ip                800 fs/xfs/xfs_trans_dquot.c 	struct xfs_mount	*mp = ip->i_mount;
ip                807 fs/xfs/xfs_trans_dquot.c 	ASSERT(!xfs_is_quota_inode(&mp->m_sb, ip->i_ino));
ip                809 fs/xfs/xfs_trans_dquot.c 	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
ip                819 fs/xfs/xfs_trans_dquot.c 						ip->i_udquot, ip->i_gdquot,
ip                820 fs/xfs/xfs_trans_dquot.c 						ip->i_pdquot,
ip                 24 fs/xfs/xfs_xattr.c 	struct xfs_inode *ip = XFS_I(inode);
ip                 33 fs/xfs/xfs_xattr.c 	error = xfs_attr_get(ip, name, (unsigned char **)&value, &asize, xflags);
ip                 67 fs/xfs/xfs_xattr.c 	struct xfs_inode	*ip = XFS_I(inode);
ip                 77 fs/xfs/xfs_xattr.c 		return xfs_attr_remove(ip, (unsigned char *)name, xflags);
ip                 78 fs/xfs/xfs_xattr.c 	error = xfs_attr_set(ip, (unsigned char *)name,
ip                  8 include/linux/bottom_half.h extern void __local_bh_disable_ip(unsigned long ip, unsigned int cnt);
ip                 10 include/linux/bottom_half.h static __always_inline void __local_bh_disable_ip(unsigned long ip, unsigned int cnt)
ip                 23 include/linux/bottom_half.h extern void __local_bh_enable_ip(unsigned long ip, unsigned int cnt);
ip                 25 include/linux/bottom_half.h static inline void local_bh_enable_ip(unsigned long ip)
ip                 27 include/linux/bottom_half.h 	__local_bh_enable_ip(ip, SOFTIRQ_DISABLE_OFFSET);
ip                363 include/linux/cper.h 	u64	ip;
ip                381 include/linux/cper.h 	u64	ip;
ip                 89 include/linux/ftrace.h typedef void (*ftrace_func_t)(unsigned long ip, unsigned long parent_ip,
ip                359 include/linux/ftrace.h 	unsigned long		ip; /* address of mcount call-site */
ip                365 include/linux/ftrace.h int ftrace_set_filter_ip(struct ftrace_ops *ops, unsigned long ip,
ip                433 include/linux/ftrace.h unsigned long ftrace_location(unsigned long ip);
ip                452 include/linux/ftrace.h extern int ftrace_ip_converted(unsigned long ip);
ip                581 include/linux/ftrace.h extern int skip_trace(unsigned long ip);
ip                589 include/linux/ftrace.h static inline int skip_trace(unsigned long ip) { return 0; }
ip                600 include/linux/ftrace.h static inline unsigned long ftrace_location(unsigned long ip)
ip                612 include/linux/ftrace.h #define ftrace_set_filter_ip(ops, ip, remove, reset) ({ -ENODEV; })
ip                 20 include/linux/irqflags.h   extern void trace_softirqs_on(unsigned long ip);
ip                 21 include/linux/irqflags.h   extern void trace_softirqs_off(unsigned long ip);
ip                 22 include/linux/irqflags.h   extern void lockdep_hardirqs_on(unsigned long ip);
ip                 23 include/linux/irqflags.h   extern void lockdep_hardirqs_off(unsigned long ip);
ip                 25 include/linux/irqflags.h   static inline void trace_softirqs_on(unsigned long ip) { }
ip                 26 include/linux/irqflags.h   static inline void trace_softirqs_off(unsigned long ip) { }
ip                 27 include/linux/irqflags.h   static inline void lockdep_hardirqs_on(unsigned long ip) { }
ip                 28 include/linux/irqflags.h   static inline void lockdep_hardirqs_off(unsigned long ip) { }
ip                168 include/linux/kallsyms.h static inline void print_ip_sym(unsigned long ip)
ip                170 include/linux/kallsyms.h 	printk("[<%px>] %pS\n", (void *) ip, (void *) ip);
ip                 57 include/linux/kasan.h void kasan_kfree_large(void *ptr, unsigned long ip);
ip                 58 include/linux/kasan.h void kasan_poison_kfree(void *ptr, unsigned long ip);
ip                 66 include/linux/kasan.h bool kasan_slab_free(struct kmem_cache *s, void *object, unsigned long ip);
ip                121 include/linux/kasan.h static inline void kasan_kfree_large(void *ptr, unsigned long ip) {}
ip                122 include/linux/kasan.h static inline void kasan_poison_kfree(void *ptr, unsigned long ip) {}
ip                140 include/linux/kasan.h 				   unsigned long ip)
ip                184 include/linux/kasan.h 		bool is_write, unsigned long ip);
ip                736 include/linux/kernel.h int __trace_bprintk(unsigned long ip, const char *fmt, ...);
ip                739 include/linux/kernel.h int __trace_printk(unsigned long ip, const char *fmt, ...);
ip                776 include/linux/kernel.h extern int __trace_bputs(unsigned long ip, const char *str);
ip                777 include/linux/kernel.h extern int __trace_puts(unsigned long ip, const char *str, int size);
ip                799 include/linux/kernel.h __ftrace_vbprintk(unsigned long ip, const char *fmt, va_list ap);
ip                802 include/linux/kernel.h __ftrace_vprintk(unsigned long ip, const char *fmt, va_list ap);
ip                323 include/linux/kprobes.h extern void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,
ip                163 include/linux/lockdep.h 	unsigned long			ip;
ip                350 include/linux/lockdep.h 			 struct lockdep_map *nest_lock, unsigned long ip);
ip                353 include/linux/lockdep.h 			 unsigned long ip);
ip                370 include/linux/lockdep.h 			   unsigned long ip);
ip                373 include/linux/lockdep.h 		unsigned int subclass, unsigned long ip)
ip                375 include/linux/lockdep.h 	lock_set_class(lock, lock->name, lock->key, subclass, ip);
ip                378 include/linux/lockdep.h extern void lock_downgrade(struct lockdep_map *lock, unsigned long ip);
ip                514 include/linux/lockdep.h extern void lock_contended(struct lockdep_map *lock, unsigned long ip);
ip                515 include/linux/lockdep.h extern void lock_acquired(struct lockdep_map *lock, unsigned long ip);
ip                540 include/linux/lockdep.h #define lock_contended(lockdep_map, ip) do {} while (0)
ip                541 include/linux/lockdep.h #define lock_acquired(lockdep_map, ip) do {} while (0)
ip                358 include/linux/netfilter/ipset/ip_set.h 	__be32 ip;
ip                359 include/linux/netfilter/ipset/ip_set.h 	int ret = ip_set_get_ipaddr4(nla, &ip);
ip                363 include/linux/netfilter/ipset/ip_set.h 	*ipaddr = ntohl(ip);
ip                 16 include/linux/netfilter/ipset/pfxlen.h 	return ip_set_netmask_map[pfxlen].ip;
ip                 28 include/linux/netfilter/ipset/pfxlen.h 	return (__force u32) ip_set_hostmask_map[pfxlen].ip;
ip                 46 include/linux/netfilter/ipset/pfxlen.h ip6_netmask(union nf_inet_addr *ip, u8 prefix)
ip                 48 include/linux/netfilter/ipset/pfxlen.h 	ip->ip6[0] &= ip_set_netmask6(prefix)[0];
ip                 49 include/linux/netfilter/ipset/pfxlen.h 	ip->ip6[1] &= ip_set_netmask6(prefix)[1];
ip                 50 include/linux/netfilter/ipset/pfxlen.h 	ip->ip6[2] &= ip_set_netmask6(prefix)[2];
ip                 51 include/linux/netfilter/ipset/pfxlen.h 	ip->ip6[3] &= ip_set_netmask6(prefix)[3];
ip                 12 include/linux/netfilter/nf_conntrack_h323_types.h 	unsigned int ip;
ip                 17 include/linux/netfilter/nf_conntrack_h323_types.h 	unsigned int ip;
ip                 73 include/linux/netfilter_ipv4/ip_tables.h 	struct ipt_ip ip;
ip                 19 include/linux/netpoll.h 	__be32		ip;
ip                149 include/linux/pe.h 	uint16_t ip;		/* initial %ip register */
ip                119 include/linux/percpu-rwsem.h 					bool read, unsigned long ip)
ip                121 include/linux/percpu-rwsem.h 	lock_release(&sem->rw_sem.dep_map, 1, ip);
ip                129 include/linux/percpu-rwsem.h 					bool read, unsigned long ip)
ip                131 include/linux/percpu-rwsem.h 	lock_acquire(&sem->rw_sem.dep_map, 0, 1, read, 1, NULL, ip);
ip                 63 include/linux/perf_event.h 	__u64				ip[0]; /* /proc/sys/kernel/perf_event_max_stack */
ip                950 include/linux/perf_event.h 	u64				ip;
ip               1083 include/linux/perf_event.h static inline void perf_arch_fetch_caller_regs(struct pt_regs *regs, unsigned long ip) { }
ip               1202 include/linux/perf_event.h static inline int perf_callchain_store_context(struct perf_callchain_entry_ctx *ctx, u64 ip)
ip               1206 include/linux/perf_event.h 		entry->ip[entry->nr++] = ip;
ip               1215 include/linux/perf_event.h static inline int perf_callchain_store(struct perf_callchain_entry_ctx *ctx, u64 ip)
ip               1219 include/linux/perf_event.h 		entry->ip[entry->nr++] = ip;
ip                 53 include/linux/profile.h void profile_hits(int type, void *ip, unsigned int nr_hits);
ip                 58 include/linux/profile.h static inline void profile_hit(int type, void *ip)
ip                 64 include/linux/profile.h 		profile_hits(type, ip, 1);
ip                103 include/linux/profile.h static inline void profile_hits(int type, void *ip, unsigned int nr_hits)
ip                108 include/linux/profile.h static inline void profile_hit(int type, void *ip)
ip                203 include/linux/pstore.h 	unsigned long ip;
ip                231 include/linux/pstore.h 	rec->ip |= cpu;
ip                237 include/linux/pstore.h 	return rec->ip & PSTORE_CPU_IN_IP;
ip                 76 include/linux/qed/qed_iscsi_if.h 	u32 ip[4];
ip                559 include/linux/trace_events.h #define event_trace_printk(ip, fmt, args...)				\
ip                568 include/linux/trace_events.h 		__trace_bprintk(ip, trace_printk_fmt, ##args);		\
ip                570 include/linux/trace_events.h 		__trace_printk(ip, fmt, ##args);			\
ip                720 include/net/bonding.h static inline int bond_get_targets_ip(__be32 *targets, __be32 ip)
ip                725 include/net/bonding.h 		if (targets[i] == ip)
ip                 73 include/net/inetpeer.h static inline void inetpeer_set_addr_v4(struct inetpeer_addr *iaddr, __be32 ip)
ip                 75 include/net/inetpeer.h 	iaddr->a4.addr = ip;
ip                203 include/net/ip.h void ip_send_check(struct iphdr *ip);
ip                633 include/net/ip.h static inline unsigned int ipv4_addr_hash(__be32 ip)
ip                635 include/net/ip.h 	return (__force unsigned int) ip;
ip                106 include/net/ip_vs.h 		iphdr->saddr.ip	= iph->saddr;
ip                107 include/net/ip_vs.h 		iphdr->daddr.ip	= iph->daddr;
ip                158 include/net/ip_vs.h 	dst->ip = src->ip;
ip                170 include/net/ip_vs.h 	dst->ip = src->ip;
ip                183 include/net/ip_vs.h 	return a->ip == b->ip;
ip                203 include/net/ip_vs.h 			       &addr->ip) + 1;
ip                 87 include/net/netfilter/nf_conntrack_tuple.h 	       &t->src.u3.ip, ntohs(t->src.u.all),
ip                 88 include/net/netfilter/nf_conntrack_tuple.h 	       &t->dst.u3.ip, ntohs(t->dst.u.all));
ip                 11 include/net/netfilter/nf_tables_ipv4.h 	struct iphdr *ip;
ip                 13 include/net/netfilter/nf_tables_ipv4.h 	ip = ip_hdr(pkt->skb);
ip                 15 include/net/netfilter/nf_tables_ipv4.h 	pkt->tprot = ip->protocol;
ip                 17 include/net/netfilter/nf_tables_ipv4.h 	pkt->xt.fragoff = ntohs(ip->frag_off) & IP_OFFSET;
ip                 45 include/net/netfilter/nf_tables_offload.h 	struct flow_dissector_key_ip			ip;
ip                101 include/rdma/rdmavt_cq.h 	struct rvt_mmap_info *ip;
ip                336 include/rdma/rdmavt_qp.h 	struct rvt_mmap_info *ip;
ip                450 include/rdma/rdmavt_qp.h 	struct rvt_mmap_info *ip;
ip                940 include/rdma/rdmavt_qp.h 	return ibcq_to_rvtcq(send_cq)->ip ?
ip                956 include/rdma/rdmavt_qp.h 	return ibcq_to_rvtcq(send_cq)->ip ?
ip                 16 include/scsi/scsicam.h extern int scsicam_bios_param (struct block_device *bdev, sector_t capacity, int *ip);
ip                 44 include/sound/emu10k1.h #define IP_TO_CP(ip) ((ip == 0) ? 0 : (((0x00001000uL | (ip & 0x00000FFFL)) << (((ip >> 12) & 0x000FL) + 4)) & 0xFFFF0000uL))
ip               1328 include/trace/events/btrfs.h 		__field(unsigned long, ip)
ip               1334 include/trace/events/btrfs.h 		__entry->ip	= IP
ip               1338 include/trace/events/btrfs.h 		  show_gfp_flags(__entry->mask), (const void *)__entry->ip)
ip               1349 include/trace/events/btrfs.h 		__field(unsigned long, ip)
ip               1354 include/trace/events/btrfs.h 		__entry->ip = IP
ip               1358 include/trace/events/btrfs.h 		  (const void *)__entry->ip)
ip                257 include/trace/events/ext4.h 		__field(unsigned long,	ip			)
ip                263 include/trace/events/ext4.h 		__entry->ip	= IP;
ip                268 include/trace/events/ext4.h 		  (unsigned long) __entry->ino, (void *)__entry->ip)
ip               1755 include/trace/events/ext4.h 		__field(unsigned long,	ip			)
ip               1762 include/trace/events/ext4.h 		__entry->ip		 = IP;
ip               1769 include/trace/events/ext4.h 		  __entry->blocks, __entry->rsv_blocks, (void *)__entry->ip)
ip               1779 include/trace/events/ext4.h 		__field(unsigned long,	ip			)
ip               1785 include/trace/events/ext4.h 		__entry->ip		 = IP;
ip               1791 include/trace/events/ext4.h 		  __entry->blocks, (void *)__entry->ip)
ip                 17 include/trace/events/lock.h 		struct lockdep_map *next_lock, unsigned long ip),
ip                 19 include/trace/events/lock.h 	TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
ip                 41 include/trace/events/lock.h 	TP_PROTO(struct lockdep_map *lock, unsigned long ip),
ip                 43 include/trace/events/lock.h 	TP_ARGS(lock, ip),
ip                 60 include/trace/events/lock.h 	TP_PROTO(struct lockdep_map *lock, unsigned long ip),
ip                 62 include/trace/events/lock.h 	TP_ARGS(lock, ip)
ip                 69 include/trace/events/lock.h 	TP_PROTO(struct lockdep_map *lock, unsigned long ip),
ip                 71 include/trace/events/lock.h 	TP_ARGS(lock, ip)
ip                 76 include/trace/events/lock.h 	TP_PROTO(struct lockdep_map *lock, unsigned long ip),
ip                 78 include/trace/events/lock.h 	TP_ARGS(lock, ip)
ip                 26 include/trace/events/mce.h 		__field(	u64,		ip		)
ip                 46 include/trace/events/mce.h 		__entry->ip		= m->ip;
ip                 64 include/trace/events/mce.h 		__entry->cs, __entry->ip,
ip                 72 include/trace/events/module.h 	TP_PROTO(struct module *mod, unsigned long ip),
ip                 74 include/trace/events/module.h 	TP_ARGS(mod, ip),
ip                 77 include/trace/events/module.h 		__field(	unsigned long,	ip		)
ip                 83 include/trace/events/module.h 		__entry->ip	= ip;
ip                 89 include/trace/events/module.h 		  __get_str(name), (void *)__entry->ip, __entry->refcnt)
ip                 94 include/trace/events/module.h 	TP_PROTO(struct module *mod, unsigned long ip),
ip                 96 include/trace/events/module.h 	TP_ARGS(mod, ip)
ip                101 include/trace/events/module.h 	TP_PROTO(struct module *mod, unsigned long ip),
ip                103 include/trace/events/module.h 	TP_ARGS(mod, ip)
ip                109 include/trace/events/module.h 	TP_PROTO(char *name, bool wait, unsigned long ip),
ip                111 include/trace/events/module.h 	TP_ARGS(name, wait, ip),
ip                114 include/trace/events/module.h 		__field(	unsigned long,	ip		)
ip                120 include/trace/events/module.h 		__entry->ip	= ip;
ip                126 include/trace/events/module.h 		  __get_str(name), (int)__entry->wait, (void *)__entry->ip)
ip                 16 include/trace/events/preemptirq.h 	TP_PROTO(unsigned long ip, unsigned long parent_ip),
ip                 18 include/trace/events/preemptirq.h 	TP_ARGS(ip, parent_ip),
ip                 26 include/trace/events/preemptirq.h 		__entry->caller_offs = (s32)(ip - (unsigned long)_stext);
ip                 37 include/trace/events/preemptirq.h 	     TP_PROTO(unsigned long ip, unsigned long parent_ip),
ip                 38 include/trace/events/preemptirq.h 	     TP_ARGS(ip, parent_ip));
ip                 41 include/trace/events/preemptirq.h 	     TP_PROTO(unsigned long ip, unsigned long parent_ip),
ip                 42 include/trace/events/preemptirq.h 	     TP_ARGS(ip, parent_ip));
ip                 52 include/trace/events/preemptirq.h 	     TP_PROTO(unsigned long ip, unsigned long parent_ip),
ip                 53 include/trace/events/preemptirq.h 	     TP_ARGS(ip, parent_ip));
ip                 56 include/trace/events/preemptirq.h 	     TP_PROTO(unsigned long ip, unsigned long parent_ip),
ip                 57 include/trace/events/preemptirq.h 	     TP_ARGS(ip, parent_ip));
ip                 79 include/trace/events/rpm.h 	TP_PROTO(struct device *dev, unsigned long ip, int ret),
ip                 80 include/trace/events/rpm.h 	TP_ARGS(dev, ip, ret),
ip                 84 include/trace/events/rpm.h 		__field(	unsigned long,		ip	)
ip                 90 include/trace/events/rpm.h 		__entry->ip = ip;
ip                 94 include/trace/events/rpm.h 	TP_printk("%pS:%s ret=%d", (void *)__entry->ip, __get_str(name),
ip                 39 include/uapi/linux/atmarp.h 	__be32			ip;	/* IP address (act_need only) */
ip                 70 include/uapi/linux/bfs_fs.h #define BFS_NZFILESIZE(ip) \
ip                 71 include/uapi/linux/bfs_fs.h         ((le32_to_cpu((ip)->i_eoffset) + 1) -  le32_to_cpu((ip)->i_sblock) * BFS_BSIZE)
ip                 73 include/uapi/linux/bfs_fs.h #define BFS_FILESIZE(ip) \
ip                 74 include/uapi/linux/bfs_fs.h         ((ip)->i_sblock == 0 ? 0 : BFS_NZFILESIZE(ip))
ip                 76 include/uapi/linux/bfs_fs.h #define BFS_FILEBLOCKS(ip) \
ip                 77 include/uapi/linux/bfs_fs.h         ((ip)->i_sblock == 0 ? 0 : (le32_to_cpu((ip)->i_eblock) + 1) -  le32_to_cpu((ip)->i_sblock))
ip                365 include/uapi/linux/bpf.h 		__u64	ip;
ip                 70 include/uapi/linux/netfilter.h 	__be32		ip;
ip                 71 include/uapi/linux/netfilter/nfnetlink_osf.h 	struct iphdr			ip;
ip                 37 include/uapi/linux/netfilter_bridge/ebt_among.h 	__be32 ip;
ip                107 include/uapi/linux/netfilter_ipv4/ip_tables.h 	struct ipt_ip ip;
ip                341 include/xen/interface/xen-mca.h 	__u64 ip;
ip               1273 ipc/shm.c      static int put_compat_shm_info(struct shm_info *ip,
ip               1279 ipc/shm.c      	info.used_ids = ip->used_ids;
ip               1280 ipc/shm.c      	info.shm_tot = ip->shm_tot;
ip               1281 ipc/shm.c      	info.shm_rss = ip->shm_rss;
ip               1282 ipc/shm.c      	info.shm_swp = ip->shm_swp;
ip               1283 ipc/shm.c      	info.swap_attempts = ip->swap_attempts;
ip               1284 ipc/shm.c      	info.swap_successes = ip->swap_successes;
ip                312 kernel/bpf/stackmap.c 			id_offs[i].ip = ips[i];
ip                323 kernel/bpf/stackmap.c 			id_offs[i].ip = ips[i];
ip                384 kernel/bpf/stackmap.c 	ips = trace->ip + skip + init_nr;
ip                486 kernel/bpf/stackmap.c 	ips = trace->ip + skip + init_nr;
ip               1738 kernel/events/core.c 		size += sizeof(data->ip);
ip               6372 kernel/events/core.c 		perf_output_put(handle, data->ip);
ip               6595 kernel/events/core.c 		data->ip = perf_instruction_pointer(regs);
ip                 82 kernel/kcov.c  static notrace unsigned long canonicalize_ip(unsigned long ip)
ip                 85 kernel/kcov.c  	ip -= kaslr_offset();
ip                 87 kernel/kcov.c  	return ip;
ip                 98 kernel/kcov.c  	unsigned long ip = canonicalize_ip(_RET_IP_);
ip                109 kernel/kcov.c  		area[pos] = ip;
ip                116 kernel/kcov.c  static void notrace write_comp_data(u64 type, u64 arg1, u64 arg2, u64 ip)
ip                126 kernel/kcov.c  	ip = canonicalize_ip(ip);
ip                144 kernel/kcov.c  		area[start_index + 3] = ip;
ip                 40 kernel/livepatch/patch.c static void notrace klp_ftrace_handler(unsigned long ip,
ip                186 kernel/locking/lockdep.c static int lock_point(unsigned long points[], unsigned long ip)
ip                192 kernel/locking/lockdep.c 			points[i] = ip;
ip                195 kernel/locking/lockdep.c 		if (points[i] == ip)
ip               1304 kernel/locking/lockdep.c 			    unsigned long ip, int distance,
ip               3373 kernel/locking/lockdep.c static void __trace_hardirqs_on_caller(unsigned long ip)
ip               3395 kernel/locking/lockdep.c 	curr->hardirq_enable_ip = ip;
ip               3400 kernel/locking/lockdep.c void lockdep_hardirqs_on(unsigned long ip)
ip               3437 kernel/locking/lockdep.c 	__trace_hardirqs_on_caller(ip);
ip               3445 kernel/locking/lockdep.c void lockdep_hardirqs_off(unsigned long ip)
ip               3464 kernel/locking/lockdep.c 		curr->hardirq_disable_ip = ip;
ip               3475 kernel/locking/lockdep.c void trace_softirqs_on(unsigned long ip)
ip               3499 kernel/locking/lockdep.c 	curr->softirq_enable_ip = ip;
ip               3515 kernel/locking/lockdep.c void trace_softirqs_off(unsigned long ip)
ip               3533 kernel/locking/lockdep.c 		curr->softirq_disable_ip = ip;
ip               3776 kernel/locking/lockdep.c 				unsigned long ip)
ip               3817 kernel/locking/lockdep.c 			  struct lockdep_map *nest_lock, unsigned long ip,
ip               3896 kernel/locking/lockdep.c 	hlock->acquire_ip = ip;
ip               3949 kernel/locking/lockdep.c 		print_lock_nested_lock_not_held(curr, hlock, ip);
ip               3989 kernel/locking/lockdep.c 				       unsigned long ip)
ip               4005 kernel/locking/lockdep.c 	print_ip_sym(ip);
ip               4121 kernel/locking/lockdep.c 		 unsigned long ip)
ip               4142 kernel/locking/lockdep.c 		print_unlock_imbalance_bug(curr, lock, ip);
ip               4165 kernel/locking/lockdep.c static int __lock_downgrade(struct lockdep_map *lock, unsigned long ip)
ip               4185 kernel/locking/lockdep.c 		print_unlock_imbalance_bug(curr, lock, ip);
ip               4194 kernel/locking/lockdep.c 	hlock->acquire_ip = ip;
ip               4221 kernel/locking/lockdep.c __lock_release(struct lockdep_map *lock, unsigned long ip)
ip               4237 kernel/locking/lockdep.c 		print_unlock_imbalance_bug(curr, lock, ip);
ip               4247 kernel/locking/lockdep.c 		print_unlock_imbalance_bug(curr, lock, ip);
ip               4438 kernel/locking/lockdep.c 		    unsigned long ip)
ip               4448 kernel/locking/lockdep.c 	if (__lock_set_class(lock, name, key, subclass, ip))
ip               4455 kernel/locking/lockdep.c void lock_downgrade(struct lockdep_map *lock, unsigned long ip)
ip               4465 kernel/locking/lockdep.c 	if (__lock_downgrade(lock, ip))
ip               4478 kernel/locking/lockdep.c 			  struct lockdep_map *nest_lock, unsigned long ip)
ip               4489 kernel/locking/lockdep.c 	trace_lock_acquire(lock, subclass, trylock, read, check, nest_lock, ip);
ip               4491 kernel/locking/lockdep.c 		       irqs_disabled_flags(flags), nest_lock, ip, 0, 0);
ip               4498 kernel/locking/lockdep.c 			  unsigned long ip)
ip               4508 kernel/locking/lockdep.c 	trace_lock_release(lock, ip);
ip               4509 kernel/locking/lockdep.c 	if (__lock_release(lock, ip))
ip               4594 kernel/locking/lockdep.c 				      unsigned long ip)
ip               4610 kernel/locking/lockdep.c 	print_ip_sym(ip);
ip               4620 kernel/locking/lockdep.c __lock_contended(struct lockdep_map *lock, unsigned long ip)
ip               4638 kernel/locking/lockdep.c 		print_lock_contention_bug(curr, lock, ip);
ip               4647 kernel/locking/lockdep.c 	contention_point = lock_point(hlock_class(hlock)->contention_point, ip);
ip               4649 kernel/locking/lockdep.c 				      lock->ip);
ip               4661 kernel/locking/lockdep.c __lock_acquired(struct lockdep_map *lock, unsigned long ip)
ip               4694 kernel/locking/lockdep.c 	trace_lock_acquired(lock, ip);
ip               4707 kernel/locking/lockdep.c 	lock->ip = ip;
ip               4710 kernel/locking/lockdep.c void lock_contended(struct lockdep_map *lock, unsigned long ip)
ip               4723 kernel/locking/lockdep.c 	trace_lock_contended(lock, ip);
ip               4724 kernel/locking/lockdep.c 	__lock_contended(lock, ip);
ip               4730 kernel/locking/lockdep.c void lock_acquired(struct lockdep_map *lock, unsigned long ip)
ip               4743 kernel/locking/lockdep.c 	__lock_acquired(lock, ip);
ip                482 kernel/locking/lockdep_proc.c 		char ip[32];
ip                490 kernel/locking/lockdep_proc.c 		snprintf(ip, sizeof(ip), "[<%p>]",
ip                494 kernel/locking/lockdep_proc.c 			   ip, (void *)class->contention_point[i]);
ip                497 kernel/locking/lockdep_proc.c 		char ip[32];
ip                505 kernel/locking/lockdep_proc.c 		snprintf(ip, sizeof(ip), "[<%p>]",
ip                509 kernel/locking/lockdep_proc.c 			   ip, (void *)class->contending_point[i]);
ip                721 kernel/locking/mutex.c static noinline void __sched __mutex_unlock_slowpath(struct mutex *lock, unsigned long ip);
ip                927 kernel/locking/mutex.c 		    struct lockdep_map *nest_lock, unsigned long ip,
ip                956 kernel/locking/mutex.c 	mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip);
ip                961 kernel/locking/mutex.c 		lock_acquired(&lock->dep_map, ip);
ip                981 kernel/locking/mutex.c 	lock_contended(&lock->dep_map, ip);
ip               1079 kernel/locking/mutex.c 	lock_acquired(&lock->dep_map, ip);
ip               1094 kernel/locking/mutex.c 	mutex_release(&lock->dep_map, 1, ip);
ip               1101 kernel/locking/mutex.c 	     struct lockdep_map *nest_lock, unsigned long ip)
ip               1103 kernel/locking/mutex.c 	return __mutex_lock_common(lock, state, subclass, nest_lock, ip, NULL, false);
ip               1108 kernel/locking/mutex.c 		struct lockdep_map *nest_lock, unsigned long ip,
ip               1111 kernel/locking/mutex.c 	return __mutex_lock_common(lock, state, subclass, nest_lock, ip, ww_ctx, true);
ip               1222 kernel/locking/mutex.c static noinline void __sched __mutex_unlock_slowpath(struct mutex *lock, unsigned long ip)
ip               1228 kernel/locking/mutex.c 	mutex_release(&lock->dep_map, 1, ip);
ip                 33 kernel/locking/rtmutex_common.h 	unsigned long		ip;
ip                226 kernel/printk/printk.c static int __down_trylock_console_sem(unsigned long ip)
ip                242 kernel/printk/printk.c 	mutex_acquire(&console_lock_dep_map, 0, 1, ip);
ip                247 kernel/printk/printk.c static void __up_console_sem(unsigned long ip)
ip                251 kernel/printk/printk.c 	mutex_release(&console_lock_dep_map, 1, ip);
ip                216 kernel/rseq.c  static bool in_rseq_cs(unsigned long ip, struct rseq_cs *rseq_cs)
ip                218 kernel/rseq.c  	return ip - rseq_cs->start_ip < rseq_cs->post_commit_offset;
ip                223 kernel/rseq.c  	unsigned long ip = instruction_pointer(regs);
ip                237 kernel/rseq.c  	if (!in_rseq_cs(ip, &rseq_cs))
ip                245 kernel/rseq.c  	trace_rseq_ip_fixup(ip, rseq_cs.start_ip, rseq_cs.post_commit_offset,
ip                291 kernel/rseq.c  	unsigned long ip = instruction_pointer(regs);
ip                298 kernel/rseq.c  	    rseq_get_rseq_cs(t, &rseq_cs) || in_rseq_cs(ip, &rseq_cs))
ip               3763 kernel/sched/core.c 		unsigned long ip = get_lock_parent_ip();
ip               3765 kernel/sched/core.c 		current->preempt_disable_ip = ip;
ip               3767 kernel/sched/core.c 		trace_preempt_off(CALLER_ADDR0, ip);
ip               1250 kernel/signal.c 	pr_info("code at %08lx: ", regs->ip);
ip               1256 kernel/signal.c 			if (get_user(insn, (unsigned char *)(regs->ip + i)))
ip                110 kernel/softirq.c void __local_bh_disable_ip(unsigned long ip, unsigned int cnt)
ip                129 kernel/softirq.c 		trace_softirqs_off(ip);
ip                166 kernel/softirq.c void __local_bh_enable_ip(unsigned long ip, unsigned int cnt)
ip                177 kernel/softirq.c 		trace_softirqs_on(ip);
ip               2674 kernel/sysctl.c 	int *ip = write ? &tmp : valp;
ip               2676 kernel/sysctl.c 	ret = do_proc_dointvec_conv(negp, lvalp, ip, write, data);
ip                 82 kernel/time/timeconv.c 	const unsigned short *ip;
ip                121 kernel/time/timeconv.c 	ip = __mon_yday[__isleap(y)];
ip                122 kernel/time/timeconv.c 	for (y = 11; days < ip[y]; y--)
ip                124 kernel/time/timeconv.c 	days -= ip[y];
ip                125 kernel/trace/ftrace.c static void ftrace_ops_list_func(unsigned long ip, unsigned long parent_ip,
ip                129 kernel/trace/ftrace.c static void ftrace_ops_no_ops(unsigned long ip, unsigned long parent_ip);
ip                144 kernel/trace/ftrace.c static void ftrace_pid_func(unsigned long ip, unsigned long parent_ip,
ip                152 kernel/trace/ftrace.c 	op->saved_func(ip, parent_ip, op, regs);
ip                391 kernel/trace/ftrace.c 	unsigned long			ip;
ip                532 kernel/trace/ftrace.c 	kallsyms_lookup(rec->ip, NULL, NULL, NULL, str);
ip                694 kernel/trace/ftrace.c ftrace_find_profiled_func(struct ftrace_profile_stat *stat, unsigned long ip)
ip                700 kernel/trace/ftrace.c 	key = hash_long(ip, FTRACE_PROFILE_HASH_BITS);
ip                707 kernel/trace/ftrace.c 		if (rec->ip == ip)
ip                719 kernel/trace/ftrace.c 	key = hash_long(rec->ip, FTRACE_PROFILE_HASH_BITS);
ip                727 kernel/trace/ftrace.c ftrace_profile_alloc(struct ftrace_profile_stat *stat, unsigned long ip)
ip                739 kernel/trace/ftrace.c 	rec = ftrace_find_profiled_func(stat, ip);
ip                750 kernel/trace/ftrace.c 	rec->ip = ip;
ip                760 kernel/trace/ftrace.c function_profile_call(unsigned long ip, unsigned long parent_ip,
ip                776 kernel/trace/ftrace.c 	rec = ftrace_find_profiled_func(stat, ip);
ip                778 kernel/trace/ftrace.c 		rec = ftrace_profile_alloc(stat, ip);
ip               1023 kernel/trace/ftrace.c 	unsigned long ip;
ip               1116 kernel/trace/ftrace.c ftrace_hash_key(struct ftrace_hash *hash, unsigned long ip)
ip               1119 kernel/trace/ftrace.c 		return hash_long(ip, hash->size_bits);
ip               1126 kernel/trace/ftrace.c __ftrace_lookup_ip(struct ftrace_hash *hash, unsigned long ip)
ip               1132 kernel/trace/ftrace.c 	key = ftrace_hash_key(hash, ip);
ip               1136 kernel/trace/ftrace.c 		if (entry->ip == ip)
ip               1153 kernel/trace/ftrace.c ftrace_lookup_ip(struct ftrace_hash *hash, unsigned long ip)
ip               1158 kernel/trace/ftrace.c 	return __ftrace_lookup_ip(hash, ip);
ip               1167 kernel/trace/ftrace.c 	key = ftrace_hash_key(hash, entry->ip);
ip               1173 kernel/trace/ftrace.c static int add_hash_entry(struct ftrace_hash *hash, unsigned long ip)
ip               1181 kernel/trace/ftrace.c 	entry->ip = ip;
ip               1350 kernel/trace/ftrace.c 			ret = add_hash_entry(new_hash, entry->ip);
ip               1456 kernel/trace/ftrace.c static bool hash_contains_ip(unsigned long ip,
ip               1466 kernel/trace/ftrace.c 		__ftrace_lookup_ip(hash->filter_hash, ip)) &&
ip               1468 kernel/trace/ftrace.c 		 !__ftrace_lookup_ip(hash->notrace_hash, ip));
ip               1484 kernel/trace/ftrace.c ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs)
ip               1502 kernel/trace/ftrace.c 	if (hash_contains_ip(ip, &hash))
ip               1530 kernel/trace/ftrace.c 	if (key->flags < rec->ip)
ip               1532 kernel/trace/ftrace.c 	if (key->ip >= rec->ip + MCOUNT_INSN_SIZE)
ip               1555 kernel/trace/ftrace.c 	key.ip = start;
ip               1559 kernel/trace/ftrace.c 		if (end < pg->records[0].ip ||
ip               1560 kernel/trace/ftrace.c 		    start >= (pg->records[pg->index - 1].ip + MCOUNT_INSN_SIZE))
ip               1566 kernel/trace/ftrace.c 			return rec->ip;
ip               1581 kernel/trace/ftrace.c unsigned long ftrace_location(unsigned long ip)
ip               1583 kernel/trace/ftrace.c 	return ftrace_location_range(ip, ip);
ip               1615 kernel/trace/ftrace.c 		if (ftrace_ops_test(ops, rec->ip, rec)) {
ip               1688 kernel/trace/ftrace.c 			if (!other_hash || !ftrace_lookup_ip(other_hash, rec->ip))
ip               1691 kernel/trace/ftrace.c 			in_hash = !!ftrace_lookup_ip(hash, rec->ip);
ip               1692 kernel/trace/ftrace.c 			in_other_hash = !!ftrace_lookup_ip(other_hash, rec->ip);
ip               1874 kernel/trace/ftrace.c 		in_old = !!ftrace_lookup_ip(old_hash, rec->ip);
ip               1875 kernel/trace/ftrace.c 		in_new = !!ftrace_lookup_ip(new_hash, rec->ip);
ip               1902 kernel/trace/ftrace.c 		in_old = !!ftrace_lookup_ip(old_hash, rec->ip);
ip               1903 kernel/trace/ftrace.c 		in_new = !!ftrace_lookup_ip(new_hash, rec->ip);
ip               1999 kernel/trace/ftrace.c 	unsigned long ip = rec ? rec->ip : 0;
ip               2005 kernel/trace/ftrace.c 		print_ip_sym(ip);
ip               2010 kernel/trace/ftrace.c 		print_ip_sym(ip);
ip               2011 kernel/trace/ftrace.c 		print_ip_ins(" actual:   ", (unsigned char *)ip);
ip               2021 kernel/trace/ftrace.c 		print_ip_sym(ip);
ip               2026 kernel/trace/ftrace.c 		print_ip_sym(ip);
ip               2048 kernel/trace/ftrace.c 		ip = ftrace_get_addr_curr(rec);
ip               2049 kernel/trace/ftrace.c 		pr_cont("\n expected tramp: %lx\n", ip);
ip               2180 kernel/trace/ftrace.c 	unsigned long ip = rec->ip;
ip               2187 kernel/trace/ftrace.c 		if (hash_contains_ip(ip, op->func_hash))
ip               2198 kernel/trace/ftrace.c 	unsigned long ip = rec->ip;
ip               2205 kernel/trace/ftrace.c 		if (hash_contains_ip(ip, op->func_hash))
ip               2216 kernel/trace/ftrace.c 	unsigned long ip = rec->ip;
ip               2225 kernel/trace/ftrace.c 		if (hash_contains_ip(ip, &removed_ops->old_hash))
ip               2266 kernel/trace/ftrace.c 		    hash_contains_ip(ip, &op->old_hash))
ip               2274 kernel/trace/ftrace.c 		    hash_contains_ip(ip, op->func_hash))
ip               2286 kernel/trace/ftrace.c 	unsigned long ip = rec->ip;
ip               2290 kernel/trace/ftrace.c 		if (hash_contains_ip(ip, op->func_hash))
ip               2316 kernel/trace/ftrace.c 				(void *)rec->ip, (void *)rec->ip, rec->flags);
ip               2348 kernel/trace/ftrace.c 				(void *)rec->ip, (void *)rec->ip);
ip               2784 kernel/trace/ftrace.c 					(void *)rec->ip, rec->flags);
ip               2895 kernel/trace/ftrace.c 	    !__ftrace_lookup_ip(ops->func_hash->filter_hash, rec->ip))
ip               2899 kernel/trace/ftrace.c 	if (ftrace_lookup_ip(ops->func_hash->notrace_hash, rec->ip))
ip               3191 kernel/trace/ftrace.c 		return probe_ops->print(m, probe_entry->ip, probe_ops, probe->data);
ip               3193 kernel/trace/ftrace.c 	seq_printf(m, "%ps:%ps\n", (void *)probe_entry->ip,
ip               3293 kernel/trace/ftrace.c 		     !ftrace_lookup_ip(iter->hash, rec->ip)) ||
ip               3449 kernel/trace/ftrace.c 	seq_printf(m, "%ps", (void *)rec->ip);
ip               3717 kernel/trace/ftrace.c 	entry = ftrace_lookup_ip(hash, rec->ip);
ip               3729 kernel/trace/ftrace.c 		ret = add_hash_entry(hash, rec->ip);
ip               3766 kernel/trace/ftrace.c 	kallsyms_lookup(rec->ip, NULL, NULL, &modname, str);
ip               4112 kernel/trace/ftrace.c static void function_trace_probe_call(unsigned long ip, unsigned long parent_ip,
ip               4127 kernel/trace/ftrace.c 	probe_ops->func(ip, parent_ip, probe->tr, probe_ops, probe->data);
ip               4170 kernel/trace/ftrace.c 				  unsigned long ip)
ip               4175 kernel/trace/ftrace.c 	entry = ftrace_lookup_ip(&mapper->hash, ip);
ip               4192 kernel/trace/ftrace.c 			      unsigned long ip, void *data)
ip               4197 kernel/trace/ftrace.c 	entry = ftrace_lookup_ip(&mapper->hash, ip);
ip               4205 kernel/trace/ftrace.c 	map->entry.ip = ip;
ip               4224 kernel/trace/ftrace.c 				   unsigned long ip)
ip               4230 kernel/trace/ftrace.c 	entry = ftrace_lookup_ip(&mapper->hash, ip);
ip               4382 kernel/trace/ftrace.c 			if (ftrace_lookup_ip(old_hash, entry->ip))
ip               4391 kernel/trace/ftrace.c 						      entry->ip, data,
ip               4444 kernel/trace/ftrace.c 			if (ftrace_lookup_ip(old_hash, entry->ip))
ip               4446 kernel/trace/ftrace.c 			probe_ops->free(probe_ops, tr, entry->ip, probe->data);
ip               4525 kernel/trace/ftrace.c 				kallsyms_lookup(entry->ip, NULL, NULL,
ip               4563 kernel/trace/ftrace.c 			probe_ops->free(probe_ops, tr, entry->ip, probe->data);
ip               4729 kernel/trace/ftrace.c ftrace_match_addr(struct ftrace_hash *hash, unsigned long ip, int remove)
ip               4733 kernel/trace/ftrace.c 	if (!ftrace_location(ip))
ip               4737 kernel/trace/ftrace.c 		entry = ftrace_lookup_ip(hash, ip);
ip               4744 kernel/trace/ftrace.c 	return add_hash_entry(hash, ip);
ip               4749 kernel/trace/ftrace.c 		unsigned long ip, int remove, int reset, int enable)
ip               4779 kernel/trace/ftrace.c 	if (ip) {
ip               4780 kernel/trace/ftrace.c 		ret = ftrace_match_addr(hash, ip, remove);
ip               4797 kernel/trace/ftrace.c ftrace_set_addr(struct ftrace_ops *ops, unsigned long ip, int remove,
ip               4800 kernel/trace/ftrace.c 	return ftrace_set_hash(ops, NULL, 0, ip, remove, reset, enable);
ip               4813 kernel/trace/ftrace.c int ftrace_set_filter_ip(struct ftrace_ops *ops, unsigned long ip,
ip               4817 kernel/trace/ftrace.c 	return ftrace_set_addr(ops, ip, remove, reset, 1);
ip               5207 kernel/trace/ftrace.c 	seq_printf(m, "%ps\n", (void *)entry->ip);
ip               5430 kernel/trace/ftrace.c 			entry = ftrace_lookup_ip(hash, rec->ip);
ip               5437 kernel/trace/ftrace.c 				if (add_hash_entry(hash, rec->ip) < 0)
ip               5644 kernel/trace/ftrace.c 		rec->ip = addr;
ip               5676 kernel/trace/ftrace.c 	unsigned long		ip;
ip               5721 kernel/trace/ftrace.c 		entry = __ftrace_lookup_ip(hash, rec->ip);
ip               5728 kernel/trace/ftrace.c 			entry->ip = 0;
ip               5795 kernel/trace/ftrace.c 		if (within_module_core(rec->ip, mod) ||
ip               5796 kernel/trace/ftrace.c 		    within_module_init(rec->ip, mod)) {
ip               5865 kernel/trace/ftrace.c 		if (!within_module_core(rec->ip, mod) &&
ip               5866 kernel/trace/ftrace.c 		    !within_module_init(rec->ip, mod))
ip               5922 kernel/trace/ftrace.c 	ret = kallsyms_lookup(rec->ip, &symsize, &offset, &modname, str);
ip               5936 kernel/trace/ftrace.c 	mod_func->ip = rec->ip - offset;
ip               5975 kernel/trace/ftrace.c 		if (addr >= mod_func->ip &&
ip               5976 kernel/trace/ftrace.c 		    addr < mod_func->ip + mod_func->size) {
ip               5986 kernel/trace/ftrace.c 			*off = addr - found_func->ip;
ip               6039 kernel/trace/ftrace.c 			*value = mod_func->ip;
ip               6067 kernel/trace/ftrace.c 	unsigned long ip;
ip               6076 kernel/trace/ftrace.c 	entry = ftrace_lookup_ip(hash, func->ip);
ip               6083 kernel/trace/ftrace.c 		entry->ip = 0;
ip               6114 kernel/trace/ftrace.c 	func->ip = rec->ip;
ip               6133 kernel/trace/ftrace.c 	key.ip = start;
ip               6147 kernel/trace/ftrace.c 		if (end < pg->records[0].ip ||
ip               6148 kernel/trace/ftrace.c 		    start >= (pg->records[pg->index - 1].ip + MCOUNT_INSN_SIZE))
ip               6301 kernel/trace/ftrace.c __ftrace_ops_list_func(unsigned long ip, unsigned long parent_ip,
ip               6331 kernel/trace/ftrace.c 		    ftrace_ops_test(op, ip, regs)) {
ip               6336 kernel/trace/ftrace.c 			op->func(ip, parent_ip, op, regs);
ip               6358 kernel/trace/ftrace.c static void ftrace_ops_list_func(unsigned long ip, unsigned long parent_ip,
ip               6361 kernel/trace/ftrace.c 	__ftrace_ops_list_func(ip, parent_ip, NULL, regs);
ip               6365 kernel/trace/ftrace.c static void ftrace_ops_no_ops(unsigned long ip, unsigned long parent_ip)
ip               6367 kernel/trace/ftrace.c 	__ftrace_ops_list_func(ip, parent_ip, NULL, NULL);
ip               6377 kernel/trace/ftrace.c static void ftrace_ops_assist_func(unsigned long ip, unsigned long parent_ip,
ip               6391 kernel/trace/ftrace.c 	op->func(ip, parent_ip, op, regs);
ip                 36 kernel/trace/ftrace_internal.h int ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs);
ip                 58 kernel/trace/ftrace_internal.h ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs)
ip                833 kernel/trace/trace.c int __trace_puts(unsigned long ip, const char *str, int size)
ip                860 kernel/trace/trace.c 	entry->ip = ip;
ip                883 kernel/trace/trace.c int __trace_bputs(unsigned long ip, const char *str)
ip                908 kernel/trace/trace.c 	entry->ip			= ip;
ip               2762 kernel/trace/trace.c 	       unsigned long ip, unsigned long parent_ip, unsigned long flags,
ip               2775 kernel/trace/trace.c 	entry->ip			= ip;
ip               3105 kernel/trace/trace.c int trace_vbprintk(unsigned long ip, const char *fmt, va_list args)
ip               3144 kernel/trace/trace.c 	entry->ip			= ip;
ip               3167 kernel/trace/trace.c 		      unsigned long ip, const char *fmt, va_list args)
ip               3201 kernel/trace/trace.c 	entry->ip = ip;
ip               3221 kernel/trace/trace.c 			unsigned long ip, const char *fmt, va_list args)
ip               3223 kernel/trace/trace.c 	return __trace_array_vprintk(tr->trace_buffer.buffer, ip, fmt, args);
ip               3228 kernel/trace/trace.c 		       unsigned long ip, const char *fmt, ...)
ip               3237 kernel/trace/trace.c 	ret = trace_array_vprintk(tr, ip, fmt, ap);
ip               3245 kernel/trace/trace.c 			   unsigned long ip, const char *fmt, ...)
ip               3254 kernel/trace/trace.c 	ret = __trace_array_vprintk(buffer, ip, fmt, ap);
ip               3260 kernel/trace/trace.c int trace_vprintk(unsigned long ip, const char *fmt, va_list args)
ip               3262 kernel/trace/trace.c 	return trace_array_vprintk(&global_trace, ip, fmt, args);
ip               6423 kernel/trace/trace.c 	entry->ip = _THIS_IP_;
ip               7619 kernel/trace/trace.c ftrace_snapshot(unsigned long ip, unsigned long parent_ip,
ip               7627 kernel/trace/trace.c ftrace_count_snapshot(unsigned long ip, unsigned long parent_ip,
ip               7635 kernel/trace/trace.c 		count = (long *)ftrace_func_mapper_find_ip(mapper, ip);
ip               7649 kernel/trace/trace.c ftrace_snapshot_print(struct seq_file *m, unsigned long ip,
ip               7655 kernel/trace/trace.c 	seq_printf(m, "%ps:", (void *)ip);
ip               7660 kernel/trace/trace.c 		count = (long *)ftrace_func_mapper_find_ip(mapper, ip);
ip               7672 kernel/trace/trace.c 		     unsigned long ip, void *init_data, void **data)
ip               7683 kernel/trace/trace.c 	return ftrace_func_mapper_add_ip(mapper, ip, init_data);
ip               7688 kernel/trace/trace.c 		     unsigned long ip, void *data)
ip               7692 kernel/trace/trace.c 	if (!ip) {
ip               7699 kernel/trace/trace.c 	ftrace_func_mapper_remove_ip(mapper, ip);
ip                112 kernel/trace/trace.h 	unsigned long		ip;
ip                728 kernel/trace/trace.h 		    unsigned long ip,
ip                732 kernel/trace/trace.h 		    unsigned long ip,
ip                850 kernel/trace/trace.h trace_vbprintk(unsigned long ip, const char *fmt, va_list args);
ip                852 kernel/trace/trace.h trace_vprintk(unsigned long ip, const char *fmt, va_list args);
ip                855 kernel/trace/trace.h 		    unsigned long ip, const char *fmt, va_list args);
ip                857 kernel/trace/trace.h 		       unsigned long ip, const char *fmt, ...);
ip                859 kernel/trace/trace.h 			   unsigned long ip, const char *fmt, ...);
ip                887 kernel/trace/trace.h ftrace_lookup_ip(struct ftrace_hash *hash, unsigned long ip);
ip               1104 kernel/trace/trace.h 	void			(*func)(unsigned long ip,
ip               1111 kernel/trace/trace.h 					unsigned long ip, void *init_data,
ip               1115 kernel/trace/trace.h 					unsigned long ip, void *data);
ip               1117 kernel/trace/trace.h 					 unsigned long ip,
ip               1127 kernel/trace/trace.h 					   unsigned long ip);
ip               1129 kernel/trace/trace.h 			       unsigned long ip, void *data);
ip               1131 kernel/trace/trace.h 				   unsigned long ip);
ip                 64 kernel/trace/trace_entries.h 		__field(	unsigned long,	ip		)
ip                 69 kernel/trace/trace_entries.h 		 (void *)__entry->ip, (void *)__entry->parent_ip),
ip                219 kernel/trace/trace_entries.h 		__field(	unsigned long,	ip	)
ip                225 kernel/trace/trace_entries.h 		 (void *)__entry->ip, __entry->fmt),
ip                235 kernel/trace/trace_entries.h 		__field(	unsigned long,	ip	)
ip                240 kernel/trace/trace_entries.h 		 (void *)__entry->ip, __entry->buf),
ip                267 kernel/trace/trace_entries.h 		__field(	unsigned long,	ip	)
ip                272 kernel/trace/trace_entries.h 		 (void *)__entry->ip, __entry->str),
ip                429 kernel/trace/trace_event_perf.c perf_ftrace_function_call(unsigned long ip, unsigned long parent_ip,
ip                463 kernel/trace/trace_event_perf.c 	entry->ip = ip;
ip               2527 kernel/trace/trace_events.c event_enable_probe(unsigned long ip, unsigned long parent_ip,
ip               2535 kernel/trace/trace_events.c 	pdata = ftrace_func_mapper_find_ip(mapper, ip);
ip               2544 kernel/trace/trace_events.c event_enable_count_probe(unsigned long ip, unsigned long parent_ip,
ip               2552 kernel/trace/trace_events.c 	pdata = ftrace_func_mapper_find_ip(mapper, ip);
ip               2572 kernel/trace/trace_events.c event_enable_print(struct seq_file *m, unsigned long ip,
ip               2579 kernel/trace/trace_events.c 	pdata = ftrace_func_mapper_find_ip(mapper, ip);
ip               2586 kernel/trace/trace_events.c 	seq_printf(m, "%ps:", (void *)ip);
ip               2603 kernel/trace/trace_events.c 		  unsigned long ip, void *init_data, void **data)
ip               2616 kernel/trace/trace_events.c 	ret = ftrace_func_mapper_add_ip(mapper, ip, edata);
ip               2641 kernel/trace/trace_events.c 		  unsigned long ip, void *data)
ip               2646 kernel/trace/trace_events.c 	if (!ip) {
ip               2653 kernel/trace/trace_events.c 	edata = ftrace_func_mapper_remove_ip(mapper, ip);
ip               3358 kernel/trace/trace_events.c function_test_events_call(unsigned long ip, unsigned long parent_ip,
ip               3385 kernel/trace/trace_events.c 	entry->ip			= ip;
ip                 25 kernel/trace/trace_functions.c function_trace_call(unsigned long ip, unsigned long parent_ip,
ip                 28 kernel/trace/trace_functions.c function_stack_trace_call(unsigned long ip, unsigned long parent_ip,
ip                125 kernel/trace/trace_functions.c function_trace_call(unsigned long ip, unsigned long parent_ip,
ip                149 kernel/trace/trace_functions.c 		trace_function(tr, ip, parent_ip, flags, pc);
ip                176 kernel/trace/trace_functions.c function_stack_trace_call(unsigned long ip, unsigned long parent_ip,
ip                200 kernel/trace/trace_functions.c 		trace_function(tr, ip, parent_ip, flags, pc);
ip                282 kernel/trace/trace_functions.c 				 unsigned long ip,
ip                319 kernel/trace/trace_functions.c 	count = (long *)ftrace_func_mapper_find_ip(mapper, ip);
ip                343 kernel/trace/trace_functions.c ftrace_traceon_count(unsigned long ip, unsigned long parent_ip,
ip                347 kernel/trace/trace_functions.c 	update_traceon_count(ops, ip, tr, 1, data);
ip                351 kernel/trace/trace_functions.c ftrace_traceoff_count(unsigned long ip, unsigned long parent_ip,
ip                355 kernel/trace/trace_functions.c 	update_traceon_count(ops, ip, tr, 0, data);
ip                359 kernel/trace/trace_functions.c ftrace_traceon(unsigned long ip, unsigned long parent_ip,
ip                370 kernel/trace/trace_functions.c ftrace_traceoff(unsigned long ip, unsigned long parent_ip,
ip                414 kernel/trace/trace_functions.c ftrace_stacktrace(unsigned long ip, unsigned long parent_ip,
ip                422 kernel/trace/trace_functions.c ftrace_stacktrace_count(unsigned long ip, unsigned long parent_ip,
ip                440 kernel/trace/trace_functions.c 	count = (long *)ftrace_func_mapper_find_ip(mapper, ip);
ip                463 kernel/trace/trace_functions.c static int update_count(struct ftrace_probe_ops *ops, unsigned long ip,
ip                470 kernel/trace/trace_functions.c 		count = (long *)ftrace_func_mapper_find_ip(mapper, ip);
ip                482 kernel/trace/trace_functions.c ftrace_dump_probe(unsigned long ip, unsigned long parent_ip,
ip                486 kernel/trace/trace_functions.c 	if (update_count(ops, ip, data))
ip                492 kernel/trace/trace_functions.c ftrace_cpudump_probe(unsigned long ip, unsigned long parent_ip,
ip                496 kernel/trace/trace_functions.c 	if (update_count(ops, ip, data))
ip                502 kernel/trace/trace_functions.c 		   unsigned long ip, struct ftrace_probe_ops *ops,
ip                508 kernel/trace/trace_functions.c 	seq_printf(m, "%ps:%s", (void *)ip, name);
ip                511 kernel/trace/trace_functions.c 		count = (long *)ftrace_func_mapper_find_ip(mapper, ip);
ip                522 kernel/trace/trace_functions.c ftrace_traceon_print(struct seq_file *m, unsigned long ip,
ip                526 kernel/trace/trace_functions.c 	return ftrace_probe_print("traceon", m, ip, ops, data);
ip                530 kernel/trace/trace_functions.c ftrace_traceoff_print(struct seq_file *m, unsigned long ip,
ip                533 kernel/trace/trace_functions.c 	return ftrace_probe_print("traceoff", m, ip, ops, data);
ip                537 kernel/trace/trace_functions.c ftrace_stacktrace_print(struct seq_file *m, unsigned long ip,
ip                540 kernel/trace/trace_functions.c 	return ftrace_probe_print("stacktrace", m, ip, ops, data);
ip                544 kernel/trace/trace_functions.c ftrace_dump_print(struct seq_file *m, unsigned long ip,
ip                547 kernel/trace/trace_functions.c 	return ftrace_probe_print("dump", m, ip, ops, data);
ip                551 kernel/trace/trace_functions.c ftrace_cpudump_print(struct seq_file *m, unsigned long ip,
ip                554 kernel/trace/trace_functions.c 	return ftrace_probe_print("cpudump", m, ip, ops, data);
ip                560 kernel/trace/trace_functions.c 		  unsigned long ip, void *init_data, void **data)
ip                571 kernel/trace/trace_functions.c 	return ftrace_func_mapper_add_ip(mapper, ip, init_data);
ip                576 kernel/trace/trace_functions.c 		  unsigned long ip, void *data)
ip                580 kernel/trace/trace_functions.c 	if (!ip) {
ip                585 kernel/trace/trace_functions.c 	ftrace_func_mapper_remove_ip(mapper, ip);
ip                191 kernel/trace/trace_functions_graph.c 		unsigned long ip, unsigned long flags, int pc)
ip                195 kernel/trace/trace_functions_graph.c 		.func  = ip,
ip                199 kernel/trace/trace_functions_graph.c 		.func     = ip,
ip                211 kernel/trace/trace_functions_graph.c 		unsigned long ip, unsigned long parent_ip,
ip                214 kernel/trace/trace_functions_graph.c 	__trace_graph_function(tr, ip, flags, pc);
ip                140 kernel/trace/trace_irqsoff.c irqsoff_tracer_call(unsigned long ip, unsigned long parent_ip,
ip                150 kernel/trace/trace_irqsoff.c 	trace_function(tr, ip, parent_ip, flags, preempt_count());
ip                269 kernel/trace/trace_irqsoff.c 		 unsigned long ip, unsigned long parent_ip,
ip                273 kernel/trace/trace_irqsoff.c 		trace_graph_function(tr, ip, parent_ip, flags, pc);
ip                275 kernel/trace/trace_irqsoff.c 		trace_function(tr, ip, parent_ip, flags, pc);
ip                370 kernel/trace/trace_irqsoff.c start_critical_timing(unsigned long ip, unsigned long parent_ip, int pc)
ip                394 kernel/trace/trace_irqsoff.c 	data->critical_start = parent_ip ? : ip;
ip                398 kernel/trace/trace_irqsoff.c 	__trace_function(tr, ip, parent_ip, flags, pc);
ip                406 kernel/trace/trace_irqsoff.c stop_critical_timing(unsigned long ip, unsigned long parent_ip, int pc)
ip                432 kernel/trace/trace_irqsoff.c 	__trace_function(tr, ip, parent_ip, flags, pc);
ip                433 kernel/trace/trace_irqsoff.c 	check_critical_timing(tr, data, parent_ip ? : ip, cpu);
ip               1204 kernel/trace/trace_kprobe.c 	entry->ip = (unsigned long)tk->rp.kp.addr;
ip               1288 kernel/trace/trace_kprobe.c 	if (!seq_print_ip_sym(s, field->ip, flags | TRACE_ITER_SYM_OFFSET))
ip               1349 kernel/trace/trace_kprobe.c 	DEFINE_FIELD(unsigned long, ip, FIELD_STRING_IP, 0);
ip               1412 kernel/trace/trace_kprobe.c 	entry->ip = (unsigned long)tk->rp.kp.addr;
ip                369 kernel/trace/trace_output.c 			     unsigned long ip, unsigned long sym_flags)
ip                382 kernel/trace/trace_output.c 		vma = find_vma(mm, ip);
ip                391 kernel/trace/trace_output.c 						 ip - vmstart);
ip                396 kernel/trace/trace_output.c 		trace_seq_printf(s, " <" IP_FMT ">", ip);
ip                401 kernel/trace/trace_output.c seq_print_ip_sym(struct trace_seq *s, unsigned long ip, unsigned long sym_flags)
ip                403 kernel/trace/trace_output.c 	if (!ip) {
ip                408 kernel/trace/trace_output.c 	seq_print_sym(s, ip, sym_flags & TRACE_ITER_SYM_OFFSET);
ip                411 kernel/trace/trace_output.c 		trace_seq_printf(s, " <" IP_FMT ">", ip);
ip                827 kernel/trace/trace_output.c 	seq_print_ip_sym(s, field->ip, flags);
ip                847 kernel/trace/trace_output.c 			 field->ip,
ip                861 kernel/trace/trace_output.c 	SEQ_PUT_HEX_FIELD(s, field->ip);
ip                875 kernel/trace/trace_output.c 	SEQ_PUT_FIELD(s, field->ip);
ip               1110 kernel/trace/trace_output.c 		unsigned long ip = field->caller[i];
ip               1112 kernel/trace/trace_output.c 		if (!ip || trace_seq_has_overflowed(s))
ip               1116 kernel/trace/trace_output.c 		seq_print_user_ip(s, mm, ip, flags);
ip               1211 kernel/trace/trace_output.c 	seq_print_ip_sym(s, field->ip, flags);
ip               1228 kernel/trace/trace_output.c 	trace_seq_printf(s, ": %lx : ", field->ip);
ip               1255 kernel/trace/trace_output.c 	seq_print_ip_sym(s, field->ip, flags);
ip               1272 kernel/trace/trace_output.c 	trace_seq_printf(s, ": %lx : ", field->ip);
ip               1297 kernel/trace/trace_output.c 	seq_print_ip_sym(s, field->ip, flags);
ip               1310 kernel/trace/trace_output.c 	trace_seq_printf(&iter->seq, "# %lx %s", field->ip, field->buf);
ip                 16 kernel/trace/trace_output.h seq_print_ip_sym(struct trace_seq *s, unsigned long ip,
ip                200 kernel/trace/trace_printk.c int __trace_bprintk(unsigned long ip, const char *fmt, ...)
ip                212 kernel/trace/trace_printk.c 	ret = trace_vbprintk(ip, fmt, ap);
ip                218 kernel/trace/trace_printk.c int __ftrace_vbprintk(unsigned long ip, const char *fmt, va_list ap)
ip                226 kernel/trace/trace_printk.c 	return trace_vbprintk(ip, fmt, ap);
ip                230 kernel/trace/trace_printk.c int __trace_printk(unsigned long ip, const char *fmt, ...)
ip                239 kernel/trace/trace_printk.c 	ret = trace_vprintk(ip, fmt, ap);
ip                245 kernel/trace/trace_printk.c int __ftrace_vprintk(unsigned long ip, const char *fmt, va_list ap)
ip                250 kernel/trace/trace_printk.c 	return trace_vprintk(ip, fmt, ap);
ip                214 kernel/trace/trace_sched_wakeup.c wakeup_tracer_call(unsigned long ip, unsigned long parent_ip,
ip                226 kernel/trace/trace_sched_wakeup.c 	trace_function(tr, ip, parent_ip, flags, pc);
ip                305 kernel/trace/trace_sched_wakeup.c 		 unsigned long ip, unsigned long parent_ip,
ip                309 kernel/trace/trace_sched_wakeup.c 		trace_graph_function(tr, ip, parent_ip, flags, pc);
ip                311 kernel/trace/trace_sched_wakeup.c 		trace_function(tr, ip, parent_ip, flags, pc);
ip                107 kernel/trace/trace_selftest.c static void trace_selftest_test_probe1_func(unsigned long ip,
ip                116 kernel/trace/trace_selftest.c static void trace_selftest_test_probe2_func(unsigned long ip,
ip                125 kernel/trace/trace_selftest.c static void trace_selftest_test_probe3_func(unsigned long ip,
ip                134 kernel/trace/trace_selftest.c static void trace_selftest_test_global_func(unsigned long ip,
ip                143 kernel/trace/trace_selftest.c static void trace_selftest_test_dyn_func(unsigned long ip,
ip                417 kernel/trace/trace_selftest.c static void trace_selftest_test_recursion_func(unsigned long ip,
ip                432 kernel/trace/trace_selftest.c static void trace_selftest_test_recursion_safe_func(unsigned long ip,
ip                546 kernel/trace/trace_selftest.c static void trace_selftest_test_regs_func(unsigned long ip,
ip                155 kernel/trace/trace_stack.c static void check_stack(unsigned long ip, unsigned long *stack)
ip                197 kernel/trace/trace_stack.c 		if (stack_dump_trace[i] == ip)
ip                292 kernel/trace/trace_stack.c stack_trace_call(unsigned long ip, unsigned long parent_ip,
ip                308 kernel/trace/trace_stack.c 	ip += MCOUNT_INSN_SIZE;
ip                310 kernel/trace/trace_stack.c 	check_stack(ip, &stack);
ip                188 lib/lz4/lz4_compress.c 	const BYTE *ip = (const BYTE *) source;
ip                191 lib/lz4/lz4_compress.c 	const BYTE * const lowRefLimit = ip - dictPtr->dictSize;
ip                196 lib/lz4/lz4_compress.c 	const BYTE * const iend = ip + inputSize;
ip                240 lib/lz4/lz4_compress.c 	LZ4_putPosition(ip, dictPtr->hashTable, tableType, base);
ip                241 lib/lz4/lz4_compress.c 	ip++;
ip                242 lib/lz4/lz4_compress.c 	forwardH = LZ4_hashPosition(ip, tableType);
ip                251 lib/lz4/lz4_compress.c 			const BYTE *forwardIp = ip;
ip                258 lib/lz4/lz4_compress.c 				ip = forwardIp;
ip                281 lib/lz4/lz4_compress.c 				LZ4_putPositionOnHash(ip, h, dictPtr->hashTable,
ip                288 lib/lz4/lz4_compress.c 					: (match + MAX_DISTANCE < ip))
ip                290 lib/lz4/lz4_compress.c 					!= LZ4_read32(ip)));
ip                294 lib/lz4/lz4_compress.c 		while (((ip > anchor) & (match + refDelta > lowLimit))
ip                295 lib/lz4/lz4_compress.c 				&& (unlikely(ip[-1] == match[refDelta - 1]))) {
ip                296 lib/lz4/lz4_compress.c 			ip--;
ip                302 lib/lz4/lz4_compress.c 			unsigned const int litLength = (unsigned int)(ip - anchor);
ip                331 lib/lz4/lz4_compress.c 		LZ4_writeLE16(op, (U16)(ip - match));
ip                343 lib/lz4/lz4_compress.c 				limit = ip + (dictEnd - match);
ip                348 lib/lz4/lz4_compress.c 				matchCode = LZ4_count(ip + MINMATCH,
ip                351 lib/lz4/lz4_compress.c 				ip += MINMATCH + matchCode;
ip                353 lib/lz4/lz4_compress.c 				if (ip == limit) {
ip                354 lib/lz4/lz4_compress.c 					unsigned const int more = LZ4_count(ip,
ip                359 lib/lz4/lz4_compress.c 					ip += more;
ip                362 lib/lz4/lz4_compress.c 				matchCode = LZ4_count(ip + MINMATCH,
ip                364 lib/lz4/lz4_compress.c 				ip += MINMATCH + matchCode;
ip                391 lib/lz4/lz4_compress.c 		anchor = ip;
ip                394 lib/lz4/lz4_compress.c 		if (ip > mflimit)
ip                398 lib/lz4/lz4_compress.c 		LZ4_putPosition(ip - 2, dictPtr->hashTable, tableType, base);
ip                401 lib/lz4/lz4_compress.c 		match = LZ4_getPosition(ip, dictPtr->hashTable,
ip                414 lib/lz4/lz4_compress.c 		LZ4_putPosition(ip, dictPtr->hashTable, tableType, base);
ip                417 lib/lz4/lz4_compress.c 			&& (match + MAX_DISTANCE >= ip)
ip                418 lib/lz4/lz4_compress.c 			&& (LZ4_read32(match + refDelta) == LZ4_read32(ip))) {
ip                425 lib/lz4/lz4_compress.c 		forwardH = LZ4_hashPosition(++ip, tableType);
ip                530 lib/lz4/lz4_compress.c 	const BYTE *ip = (const BYTE *) src;
ip                533 lib/lz4/lz4_compress.c 	const BYTE *anchor = ip;
ip                534 lib/lz4/lz4_compress.c 	const BYTE * const iend = ip + *srcSizePtr;
ip                564 lib/lz4/lz4_compress.c 	LZ4_putPosition(ip, ctx->hashTable, tableType, base);
ip                565 lib/lz4/lz4_compress.c 	ip++; forwardH = LZ4_hashPosition(ip, tableType);
ip                574 lib/lz4/lz4_compress.c 			const BYTE *forwardIp = ip;
ip                581 lib/lz4/lz4_compress.c 				ip = forwardIp;
ip                592 lib/lz4/lz4_compress.c 				LZ4_putPositionOnHash(ip, h,
ip                598 lib/lz4/lz4_compress.c 				: (match + MAX_DISTANCE < ip))
ip                599 lib/lz4/lz4_compress.c 				|| (LZ4_read32(match) != LZ4_read32(ip)));
ip                603 lib/lz4/lz4_compress.c 		while ((ip > anchor)
ip                605 lib/lz4/lz4_compress.c 			&& (unlikely(ip[-1] == match[-1]))) {
ip                606 lib/lz4/lz4_compress.c 			ip--;
ip                612 lib/lz4/lz4_compress.c 			unsigned int litLength = (unsigned int)(ip - anchor);
ip                637 lib/lz4/lz4_compress.c 		LZ4_writeLE16(op, (U16)(ip - match)); op += 2;
ip                641 lib/lz4/lz4_compress.c 			size_t matchLength = LZ4_count(ip + MINMATCH,
ip                648 lib/lz4/lz4_compress.c 			ip += MINMATCH + matchLength;
ip                662 lib/lz4/lz4_compress.c 		anchor = ip;
ip                665 lib/lz4/lz4_compress.c 		if (ip > mflimit)
ip                671 lib/lz4/lz4_compress.c 		LZ4_putPosition(ip - 2, ctx->hashTable, tableType, base);
ip                674 lib/lz4/lz4_compress.c 		match = LZ4_getPosition(ip, ctx->hashTable, tableType, base);
ip                675 lib/lz4/lz4_compress.c 		LZ4_putPosition(ip, ctx->hashTable, tableType, base);
ip                677 lib/lz4/lz4_compress.c 		if ((match + MAX_DISTANCE >= ip)
ip                678 lib/lz4/lz4_compress.c 			&& (LZ4_read32(match) == LZ4_read32(ip))) {
ip                684 lib/lz4/lz4_compress.c 		forwardH = LZ4_hashPosition(++ip, tableType);
ip                699 lib/lz4/lz4_compress.c 		ip = anchor + lastRunSize;
ip                716 lib/lz4/lz4_compress.c 	*srcSizePtr = (int) (((const char *)ip) - src);
ip                 83 lib/lz4/lz4_decompress.c 	const BYTE *ip = (const BYTE *) src;
ip                 84 lib/lz4/lz4_decompress.c 	const BYTE * const iend = ip + srcSize;
ip                112 lib/lz4/lz4_decompress.c 		return ((srcSize == 1) && (*ip == 0)) ? 0 : -1;
ip                115 lib/lz4/lz4_decompress.c 		return (*ip == 0 ? 1 : -1);
ip                127 lib/lz4/lz4_decompress.c 		unsigned int const token = *ip++;
ip                131 lib/lz4/lz4_decompress.c 		assert(!endOnInput || ip <= iend);
ip                150 lib/lz4/lz4_decompress.c 		   && likely((endOnInput ? ip < shortiend : 1) &
ip                153 lib/lz4/lz4_decompress.c 			memcpy(op, ip, endOnInput ? 16 : 8);
ip                154 lib/lz4/lz4_decompress.c 			op += length; ip += length;
ip                162 lib/lz4/lz4_decompress.c 			offset = LZ4_readLE16(ip);
ip                163 lib/lz4/lz4_decompress.c 			ip += 2;
ip                192 lib/lz4/lz4_decompress.c 			if (unlikely(endOnInput ? ip >= iend - RUN_MASK : 0)) {
ip                197 lib/lz4/lz4_decompress.c 				s = *ip++;
ip                200 lib/lz4/lz4_decompress.c 				? ip < iend - RUN_MASK
ip                210 lib/lz4/lz4_decompress.c 			    && unlikely((uptrval)(ip) +
ip                211 lib/lz4/lz4_decompress.c 					length < (uptrval)(ip))) {
ip                222 lib/lz4/lz4_decompress.c 			|| (ip + length > iend - (2 + 1 + LASTLITERALS))))
ip                234 lib/lz4/lz4_decompress.c 					&& (ip + length > iend)) {
ip                253 lib/lz4/lz4_decompress.c 					&& ((ip + length != iend)
ip                263 lib/lz4/lz4_decompress.c 			memcpy(op, ip, length);
ip                264 lib/lz4/lz4_decompress.c 			ip += length;
ip                272 lib/lz4/lz4_decompress.c 			LZ4_wildCopy(op, ip, cpy);
ip                273 lib/lz4/lz4_decompress.c 			ip += length;
ip                278 lib/lz4/lz4_decompress.c 		offset = LZ4_readLE16(ip);
ip                279 lib/lz4/lz4_decompress.c 		ip += 2;
ip                307 lib/lz4/lz4_decompress.c 				s = *ip++;
ip                309 lib/lz4/lz4_decompress.c 				if ((endOnInput) && (ip > iend - LASTLITERALS))
ip                441 lib/lz4/lz4_decompress.c 		return (int) (((const char *)ip) - src);
ip                446 lib/lz4/lz4_decompress.c 	return (int) (-(((const char *)ip) - src)) - 1;
ip                 75 lib/lz4/lz4hc_compress.c 	const BYTE *ip)
ip                 80 lib/lz4/lz4hc_compress.c 	U32 const target = (U32)(ip - base);
ip                101 lib/lz4/lz4hc_compress.c 	const BYTE *ip,
ip                111 lib/lz4/lz4hc_compress.c 	const U32 lowLimit = (hc4->lowLimit + 64 * KB > (U32)(ip - base))
ip                113 lib/lz4/lz4hc_compress.c 		: (U32)(ip - base) - (64 * KB - 1);
ip                119 lib/lz4/lz4hc_compress.c 	LZ4HC_Insert(hc4, ip);
ip                120 lib/lz4/lz4hc_compress.c 	matchIndex = HashTable[LZ4HC_hashPtr(ip)];
ip                128 lib/lz4/lz4hc_compress.c 			if (*(match + ml) == *(ip + ml)
ip                129 lib/lz4/lz4hc_compress.c 				&& (LZ4_read32(match) == LZ4_read32(ip))) {
ip                130 lib/lz4/lz4hc_compress.c 				size_t const mlt = LZ4_count(ip + MINMATCH,
ip                141 lib/lz4/lz4hc_compress.c 			if (LZ4_read32(match) == LZ4_read32(ip)) {
ip                143 lib/lz4/lz4hc_compress.c 				const BYTE *vLimit = ip
ip                148 lib/lz4/lz4hc_compress.c 				mlt = LZ4_count(ip + MINMATCH,
ip                150 lib/lz4/lz4hc_compress.c 				if ((ip + mlt == vLimit)
ip                152 lib/lz4/lz4hc_compress.c 					mlt += LZ4_count(ip + mlt,
ip                170 lib/lz4/lz4hc_compress.c 	const BYTE * const ip,
ip                183 lib/lz4/lz4hc_compress.c 	const U32 lowLimit = (hc4->lowLimit + 64 * KB > (U32)(ip - base))
ip                185 lib/lz4/lz4hc_compress.c 		: (U32)(ip - base) - (64 * KB - 1);
ip                189 lib/lz4/lz4hc_compress.c 	int delta = (int)(ip - iLowLimit);
ip                192 lib/lz4/lz4hc_compress.c 	LZ4HC_Insert(hc4, ip);
ip                193 lib/lz4/lz4hc_compress.c 	matchIndex = HashTable[LZ4HC_hashPtr(ip)];
ip                203 lib/lz4/lz4hc_compress.c 				if (LZ4_read32(matchPtr) == LZ4_read32(ip)) {
ip                205 lib/lz4/lz4hc_compress.c 						ip + MINMATCH,
ip                210 lib/lz4/lz4hc_compress.c 					while ((ip + back > iLowLimit)
ip                212 lib/lz4/lz4hc_compress.c 						&& (ip[back - 1] == matchPtr[back - 1]))
ip                220 lib/lz4/lz4hc_compress.c 						*startpos = ip + back;
ip                227 lib/lz4/lz4hc_compress.c 			if (LZ4_read32(matchPtr) == LZ4_read32(ip)) {
ip                230 lib/lz4/lz4hc_compress.c 				const BYTE *vLimit = ip + (dictLimit - matchIndex);
ip                235 lib/lz4/lz4hc_compress.c 				mlt = LZ4_count(ip + MINMATCH,
ip                238 lib/lz4/lz4hc_compress.c 				if ((ip + mlt == vLimit) && (vLimit < iHighLimit))
ip                239 lib/lz4/lz4hc_compress.c 					mlt += LZ4_count(ip + mlt, base + dictLimit,
ip                241 lib/lz4/lz4hc_compress.c 				while ((ip + back > iLowLimit)
ip                243 lib/lz4/lz4hc_compress.c 					&& (ip[back - 1] == matchPtr[back - 1]))
ip                251 lib/lz4/lz4hc_compress.c 					*startpos = ip + back;
ip                263 lib/lz4/lz4hc_compress.c 	const BYTE **ip,
ip                275 lib/lz4/lz4hc_compress.c 	length = (int)(*ip - *anchor);
ip                300 lib/lz4/lz4hc_compress.c 	LZ4_writeLE16(*op, (U16)(*ip - match));
ip                332 lib/lz4/lz4hc_compress.c 	*ip += matchLength;
ip                333 lib/lz4/lz4hc_compress.c 	*anchor = *ip;
ip                348 lib/lz4/lz4hc_compress.c 	const BYTE *ip = (const BYTE *) source;
ip                349 lib/lz4/lz4hc_compress.c 	const BYTE *anchor = ip;
ip                350 lib/lz4/lz4hc_compress.c 	const BYTE * const iend = ip + inputSize;
ip                375 lib/lz4/lz4hc_compress.c 	ip++;
ip                378 lib/lz4/lz4hc_compress.c 	while (ip < mflimit) {
ip                379 lib/lz4/lz4hc_compress.c 		ml = LZ4HC_InsertAndFindBestMatch(ctx, ip,
ip                382 lib/lz4/lz4hc_compress.c 			ip++;
ip                387 lib/lz4/lz4hc_compress.c 		start0 = ip;
ip                392 lib/lz4/lz4hc_compress.c 		if (ip + ml < mflimit)
ip                394 lib/lz4/lz4hc_compress.c 				ip + ml - 2, ip + 0,
ip                402 lib/lz4/lz4hc_compress.c 			if (LZ4HC_encodeSequence(&ip, &op,
ip                408 lib/lz4/lz4hc_compress.c 		if (start0 < ip) {
ip                409 lib/lz4/lz4hc_compress.c 			if (start2 < ip + ml0) {
ip                411 lib/lz4/lz4hc_compress.c 				ip = start0;
ip                418 lib/lz4/lz4hc_compress.c 		if ((start2 - ip) < 3) {
ip                421 lib/lz4/lz4hc_compress.c 			ip = start2;
ip                432 lib/lz4/lz4hc_compress.c 		if ((start2 - ip) < OPTIMAL_ML) {
ip                438 lib/lz4/lz4hc_compress.c 			if (ip + new_ml > start2 + ml2 - MINMATCH)
ip                439 lib/lz4/lz4hc_compress.c 				new_ml = (int)(start2 - ip) + ml2 - MINMATCH;
ip                441 lib/lz4/lz4hc_compress.c 			correction = new_ml - (int)(start2 - ip);
ip                465 lib/lz4/lz4hc_compress.c 			if (start2 < ip + ml)
ip                466 lib/lz4/lz4hc_compress.c 				ml = (int)(start2 - ip);
ip                468 lib/lz4/lz4hc_compress.c 			if (LZ4HC_encodeSequence(&ip, &op, &anchor,
ip                471 lib/lz4/lz4hc_compress.c 			ip = start2;
ip                472 lib/lz4/lz4hc_compress.c 			if (LZ4HC_encodeSequence(&ip, &op, &anchor,
ip                478 lib/lz4/lz4hc_compress.c 		if (start3 < ip + ml + 3) {
ip                480 lib/lz4/lz4hc_compress.c 			if (start3 >= (ip + ml)) {
ip                485 lib/lz4/lz4hc_compress.c 				if (start2 < ip + ml) {
ip                486 lib/lz4/lz4hc_compress.c 					int correction = (int)(ip + ml - start2);
ip                498 lib/lz4/lz4hc_compress.c 				if (LZ4HC_encodeSequence(&ip, &op, &anchor,
ip                501 lib/lz4/lz4hc_compress.c 				ip = start3;
ip                522 lib/lz4/lz4hc_compress.c 		if (start2 < ip + ml) {
ip                523 lib/lz4/lz4hc_compress.c 			if ((start2 - ip) < (int)ML_MASK) {
ip                528 lib/lz4/lz4hc_compress.c 				if (ip + ml > start2 + ml2 - MINMATCH)
ip                529 lib/lz4/lz4hc_compress.c 					ml = (int)(start2 - ip) + ml2 - MINMATCH;
ip                530 lib/lz4/lz4hc_compress.c 				correction = ml - (int)(start2 - ip);
ip                537 lib/lz4/lz4hc_compress.c 				ml = (int)(start2 - ip);
ip                539 lib/lz4/lz4hc_compress.c 		if (LZ4HC_encodeSequence(&ip, &op, &anchor, ml,
ip                543 lib/lz4/lz4hc_compress.c 		ip = start2;
ip                 27 lib/lzo/lzo1x_compress.c 	const unsigned char *ip;
ip                 35 lib/lzo/lzo1x_compress.c 	ip = in;
ip                 36 lib/lzo/lzo1x_compress.c 	ii = ip;
ip                 37 lib/lzo/lzo1x_compress.c 	ip += ti < 4 ? 4 - ti : 0;
ip                 45 lib/lzo/lzo1x_compress.c 		ip += 1 + ((ip - ii) >> 5);
ip                 47 lib/lzo/lzo1x_compress.c 		if (unlikely(ip >= ip_end))
ip                 49 lib/lzo/lzo1x_compress.c 		dv = get_unaligned_le32(ip);
ip                 52 lib/lzo/lzo1x_compress.c 			const unsigned char *ir = ip + 4;
ip                 54 lib/lzo/lzo1x_compress.c 				< (ip + MAX_ZERO_RUN_LENGTH + 1)
ip                 55 lib/lzo/lzo1x_compress.c 				? ip_end : ip + MAX_ZERO_RUN_LENGTH + 1;
ip                104 lib/lzo/lzo1x_compress.c 			run_length = ir - ip;
ip                110 lib/lzo/lzo1x_compress.c 			dict[t] = (lzo_dict_t) (ip - in);
ip                117 lib/lzo/lzo1x_compress.c 		t = ip - ii;
ip                154 lib/lzo/lzo1x_compress.c 			ip += run_length;
ip                168 lib/lzo/lzo1x_compress.c 		v = get_unaligned((const u64 *) (ip + m_len)) ^
ip                173 lib/lzo/lzo1x_compress.c 				v = get_unaligned((const u64 *) (ip + m_len)) ^
ip                175 lib/lzo/lzo1x_compress.c 				if (unlikely(ip + m_len >= ip_end))
ip                188 lib/lzo/lzo1x_compress.c 		v = get_unaligned((const u32 *) (ip + m_len)) ^
ip                193 lib/lzo/lzo1x_compress.c 				v = get_unaligned((const u32 *) (ip + m_len)) ^
ip                198 lib/lzo/lzo1x_compress.c 				v = get_unaligned((const u32 *) (ip + m_len)) ^
ip                200 lib/lzo/lzo1x_compress.c 				if (unlikely(ip + m_len >= ip_end))
ip                212 lib/lzo/lzo1x_compress.c 		if (unlikely(ip[m_len] == m_pos[m_len])) {
ip                215 lib/lzo/lzo1x_compress.c 				if (ip[m_len] != m_pos[m_len])
ip                218 lib/lzo/lzo1x_compress.c 				if (ip[m_len] != m_pos[m_len])
ip                221 lib/lzo/lzo1x_compress.c 				if (ip[m_len] != m_pos[m_len])
ip                224 lib/lzo/lzo1x_compress.c 				if (ip[m_len] != m_pos[m_len])
ip                227 lib/lzo/lzo1x_compress.c 				if (ip[m_len] != m_pos[m_len])
ip                230 lib/lzo/lzo1x_compress.c 				if (ip[m_len] != m_pos[m_len])
ip                233 lib/lzo/lzo1x_compress.c 				if (ip[m_len] != m_pos[m_len])
ip                236 lib/lzo/lzo1x_compress.c 				if (unlikely(ip + m_len >= ip_end))
ip                238 lib/lzo/lzo1x_compress.c 			} while (ip[m_len] == m_pos[m_len]);
ip                244 lib/lzo/lzo1x_compress.c 		m_off = ip - m_pos;
ip                245 lib/lzo/lzo1x_compress.c 		ip += m_len;
ip                281 lib/lzo/lzo1x_compress.c 					ip -= m_len - 260;
ip                297 lib/lzo/lzo1x_compress.c 		ii = ip;
ip                308 lib/lzo/lzo1x_compress.c 	const unsigned char *ip = in;
ip                330 lib/lzo/lzo1x_compress.c 		uintptr_t ll_end = (uintptr_t) ip + ll;
ip                335 lib/lzo/lzo1x_compress.c 		t = lzo1x_1_do_compress(ip, ll, op, out_len, t, wrkmem,
ip                337 lib/lzo/lzo1x_compress.c 		ip += ll;
ip                 23 lib/lzo/lzo1x_decompress_safe.c #define HAVE_IP(x)      ((size_t)(ip_end - ip) >= (size_t)(x))
ip                 43 lib/lzo/lzo1x_decompress_safe.c 	const unsigned char *ip;
ip                 53 lib/lzo/lzo1x_decompress_safe.c 	ip = in;
ip                 58 lib/lzo/lzo1x_decompress_safe.c 	if (likely(in_len >= 5) && likely(*ip == 17)) {
ip                 59 lib/lzo/lzo1x_decompress_safe.c 		bitstream_version = ip[1];
ip                 60 lib/lzo/lzo1x_decompress_safe.c 		ip += 2;
ip                 65 lib/lzo/lzo1x_decompress_safe.c 	if (*ip > 17) {
ip                 66 lib/lzo/lzo1x_decompress_safe.c 		t = *ip++ - 17;
ip                 75 lib/lzo/lzo1x_decompress_safe.c 		t = *ip++;
ip                 80 lib/lzo/lzo1x_decompress_safe.c 					const unsigned char *ip_last = ip;
ip                 82 lib/lzo/lzo1x_decompress_safe.c 					while (unlikely(*ip == 0)) {
ip                 83 lib/lzo/lzo1x_decompress_safe.c 						ip++;
ip                 86 lib/lzo/lzo1x_decompress_safe.c 					offset = ip - ip_last;
ip                 91 lib/lzo/lzo1x_decompress_safe.c 					t += offset + 15 + *ip++;
ip                 97 lib/lzo/lzo1x_decompress_safe.c 					const unsigned char *ie = ip + t;
ip                100 lib/lzo/lzo1x_decompress_safe.c 						COPY8(op, ip);
ip                102 lib/lzo/lzo1x_decompress_safe.c 						ip += 8;
ip                103 lib/lzo/lzo1x_decompress_safe.c 						COPY8(op, ip);
ip                105 lib/lzo/lzo1x_decompress_safe.c 						ip += 8;
ip                106 lib/lzo/lzo1x_decompress_safe.c 					} while (ip < ie);
ip                107 lib/lzo/lzo1x_decompress_safe.c 					ip = ie;
ip                115 lib/lzo/lzo1x_decompress_safe.c 						*op++ = *ip++;
ip                124 lib/lzo/lzo1x_decompress_safe.c 				m_pos -= *ip++ << 2;
ip                135 lib/lzo/lzo1x_decompress_safe.c 				m_pos -= *ip++ << 2;
ip                142 lib/lzo/lzo1x_decompress_safe.c 			m_pos -= *ip++ << 3;
ip                148 lib/lzo/lzo1x_decompress_safe.c 				const unsigned char *ip_last = ip;
ip                150 lib/lzo/lzo1x_decompress_safe.c 				while (unlikely(*ip == 0)) {
ip                151 lib/lzo/lzo1x_decompress_safe.c 					ip++;
ip                154 lib/lzo/lzo1x_decompress_safe.c 				offset = ip - ip_last;
ip                159 lib/lzo/lzo1x_decompress_safe.c 				t += offset + 31 + *ip++;
ip                163 lib/lzo/lzo1x_decompress_safe.c 			next = get_unaligned_le16(ip);
ip                164 lib/lzo/lzo1x_decompress_safe.c 			ip += 2;
ip                169 lib/lzo/lzo1x_decompress_safe.c 			next = get_unaligned_le16(ip);
ip                175 lib/lzo/lzo1x_decompress_safe.c 				t |= ip[2] << 3;
ip                181 lib/lzo/lzo1x_decompress_safe.c 				ip += 3;
ip                189 lib/lzo/lzo1x_decompress_safe.c 					const unsigned char *ip_last = ip;
ip                191 lib/lzo/lzo1x_decompress_safe.c 					while (unlikely(*ip == 0)) {
ip                192 lib/lzo/lzo1x_decompress_safe.c 						ip++;
ip                195 lib/lzo/lzo1x_decompress_safe.c 					offset = ip - ip_last;
ip                200 lib/lzo/lzo1x_decompress_safe.c 					t += offset + 7 + *ip++;
ip                202 lib/lzo/lzo1x_decompress_safe.c 					next = get_unaligned_le16(ip);
ip                204 lib/lzo/lzo1x_decompress_safe.c 				ip += 2;
ip                228 lib/lzo/lzo1x_decompress_safe.c 					COPY4(op, ip);
ip                230 lib/lzo/lzo1x_decompress_safe.c 					ip += next;
ip                257 lib/lzo/lzo1x_decompress_safe.c 			COPY4(op, ip);
ip                259 lib/lzo/lzo1x_decompress_safe.c 			ip += t;
ip                266 lib/lzo/lzo1x_decompress_safe.c 				*op++ = *ip++;
ip                275 lib/lzo/lzo1x_decompress_safe.c 		ip == ip_end ? LZO_E_OK :
ip                276 lib/lzo/lzo1x_decompress_safe.c 		ip <  ip_end ? LZO_E_INPUT_NOT_CONSUMED : LZO_E_INPUT_OVERRUN);
ip                626 lib/test_printf.c 	ip();
ip                940 lib/zstd/compress.c static size_t ZSTD_count_2segments(const BYTE *ip, const BYTE *match, const BYTE *iEnd, const BYTE *mEnd, const BYTE *iStart)
ip                942 lib/zstd/compress.c 	const BYTE *const vEnd = MIN(ip + (mEnd - match), iEnd);
ip                943 lib/zstd/compress.c 	size_t const matchLength = ZSTD_count(ip, match, vEnd);
ip                946 lib/zstd/compress.c 	return matchLength + ZSTD_count(ip + matchLength, iStart, iEnd);
ip                997 lib/zstd/compress.c 	const BYTE *ip = base + zc->nextToUpdate;
ip               1001 lib/zstd/compress.c 	while (ip <= iend) {
ip               1002 lib/zstd/compress.c 		hashTable[ZSTD_hashPtr(ip, hBits, mls)] = (U32)(ip - base);
ip               1003 lib/zstd/compress.c 		ip += fastHashFillStep;
ip               1015 lib/zstd/compress.c 	const BYTE *ip = istart;
ip               1025 lib/zstd/compress.c 	ip += (ip == lowest);
ip               1027 lib/zstd/compress.c 		U32 const maxRep = (U32)(ip - lowest);
ip               1035 lib/zstd/compress.c 	while (ip < ilimit) { /* < instead of <=, because repcode check at (ip+1) */
ip               1037 lib/zstd/compress.c 		size_t const h = ZSTD_hashPtr(ip, hBits, mls);
ip               1038 lib/zstd/compress.c 		U32 const curr = (U32)(ip - base);
ip               1043 lib/zstd/compress.c 		if ((offset_1 > 0) & (ZSTD_read32(ip + 1 - offset_1) == ZSTD_read32(ip + 1))) {
ip               1044 lib/zstd/compress.c 			mLength = ZSTD_count(ip + 1 + 4, ip + 1 + 4 - offset_1, iend) + 4;
ip               1045 lib/zstd/compress.c 			ip++;
ip               1046 lib/zstd/compress.c 			ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, 0, mLength - MINMATCH);
ip               1049 lib/zstd/compress.c 			if ((matchIndex <= lowestIndex) || (ZSTD_read32(match) != ZSTD_read32(ip))) {
ip               1050 lib/zstd/compress.c 				ip += ((ip - anchor) >> g_searchStrength) + 1;
ip               1053 lib/zstd/compress.c 			mLength = ZSTD_count(ip + 4, match + 4, iend) + 4;
ip               1054 lib/zstd/compress.c 			offset = (U32)(ip - match);
ip               1055 lib/zstd/compress.c 			while (((ip > anchor) & (match > lowest)) && (ip[-1] == match[-1])) {
ip               1056 lib/zstd/compress.c 				ip--;
ip               1063 lib/zstd/compress.c 			ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, offset + ZSTD_REP_MOVE, mLength - MINMATCH);
ip               1067 lib/zstd/compress.c 		ip += mLength;
ip               1068 lib/zstd/compress.c 		anchor = ip;
ip               1070 lib/zstd/compress.c 		if (ip <= ilimit) {
ip               1073 lib/zstd/compress.c 			hashTable[ZSTD_hashPtr(ip - 2, hBits, mls)] = (U32)(ip - 2 - base);
ip               1075 lib/zstd/compress.c 			while ((ip <= ilimit) && ((offset_2 > 0) & (ZSTD_read32(ip) == ZSTD_read32(ip - offset_2)))) {
ip               1077 lib/zstd/compress.c 				size_t const rLength = ZSTD_count(ip + 4, ip + 4 - offset_2, iend) + 4;
ip               1083 lib/zstd/compress.c 				hashTable[ZSTD_hashPtr(ip, hBits, mls)] = (U32)(ip - base);
ip               1085 lib/zstd/compress.c 				ip += rLength;
ip               1086 lib/zstd/compress.c 				anchor = ip;
ip               1124 lib/zstd/compress.c 	const BYTE *ip = istart;
ip               1136 lib/zstd/compress.c 	while (ip < ilimit) { /* < instead of <=, because (ip+1) */
ip               1137 lib/zstd/compress.c 		const size_t h = ZSTD_hashPtr(ip, hBits, mls);
ip               1141 lib/zstd/compress.c 		const U32 curr = (U32)(ip - base);
ip               1149 lib/zstd/compress.c 		    (ZSTD_read32(repMatch) == ZSTD_read32(ip + 1))) {
ip               1151 lib/zstd/compress.c 			mLength = ZSTD_count_2segments(ip + 1 + EQUAL_READ32, repMatch + EQUAL_READ32, iend, repMatchEnd, lowPrefixPtr) + EQUAL_READ32;
ip               1152 lib/zstd/compress.c 			ip++;
ip               1153 lib/zstd/compress.c 			ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, 0, mLength - MINMATCH);
ip               1155 lib/zstd/compress.c 			if ((matchIndex < lowestIndex) || (ZSTD_read32(match) != ZSTD_read32(ip))) {
ip               1156 lib/zstd/compress.c 				ip += ((ip - anchor) >> g_searchStrength) + 1;
ip               1163 lib/zstd/compress.c 				mLength = ZSTD_count_2segments(ip + EQUAL_READ32, match + EQUAL_READ32, iend, matchEnd, lowPrefixPtr) + EQUAL_READ32;
ip               1164 lib/zstd/compress.c 				while (((ip > anchor) & (match > lowMatchPtr)) && (ip[-1] == match[-1])) {
ip               1165 lib/zstd/compress.c 					ip--;
ip               1172 lib/zstd/compress.c 				ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, offset + ZSTD_REP_MOVE, mLength - MINMATCH);
ip               1177 lib/zstd/compress.c 		ip += mLength;
ip               1178 lib/zstd/compress.c 		anchor = ip;
ip               1180 lib/zstd/compress.c 		if (ip <= ilimit) {
ip               1183 lib/zstd/compress.c 			hashTable[ZSTD_hashPtr(ip - 2, hBits, mls)] = (U32)(ip - 2 - base);
ip               1185 lib/zstd/compress.c 			while (ip <= ilimit) {
ip               1186 lib/zstd/compress.c 				U32 const curr2 = (U32)(ip - base);
ip               1190 lib/zstd/compress.c 				    && (ZSTD_read32(repMatch2) == ZSTD_read32(ip))) {
ip               1193 lib/zstd/compress.c 					    ZSTD_count_2segments(ip + EQUAL_READ32, repMatch2 + EQUAL_READ32, iend, repEnd2, lowPrefixPtr) + EQUAL_READ32;
ip               1198 lib/zstd/compress.c 					hashTable[ZSTD_hashPtr(ip, hBits, mls)] = curr2;
ip               1199 lib/zstd/compress.c 					ip += repLength2;
ip               1200 lib/zstd/compress.c 					anchor = ip;
ip               1242 lib/zstd/compress.c 	const BYTE *ip = base + cctx->nextToUpdate;
ip               1246 lib/zstd/compress.c 	while (ip <= iend) {
ip               1247 lib/zstd/compress.c 		hashSmall[ZSTD_hashPtr(ip, hBitsS, mls)] = (U32)(ip - base);
ip               1248 lib/zstd/compress.c 		hashLarge[ZSTD_hashPtr(ip, hBitsL, 8)] = (U32)(ip - base);
ip               1249 lib/zstd/compress.c 		ip += fastHashFillStep;
ip               1263 lib/zstd/compress.c 	const BYTE *ip = istart;
ip               1273 lib/zstd/compress.c 	ip += (ip == lowest);
ip               1275 lib/zstd/compress.c 		U32 const maxRep = (U32)(ip - lowest);
ip               1283 lib/zstd/compress.c 	while (ip < ilimit) { /* < instead of <=, because repcode check at (ip+1) */
ip               1285 lib/zstd/compress.c 		size_t const h2 = ZSTD_hashPtr(ip, hBitsL, 8);
ip               1286 lib/zstd/compress.c 		size_t const h = ZSTD_hashPtr(ip, hBitsS, mls);
ip               1287 lib/zstd/compress.c 		U32 const curr = (U32)(ip - base);
ip               1294 lib/zstd/compress.c 		if ((offset_1 > 0) & (ZSTD_read32(ip + 1 - offset_1) == ZSTD_read32(ip + 1))) { /* note : by construction, offset_1 <= curr */
ip               1295 lib/zstd/compress.c 			mLength = ZSTD_count(ip + 1 + 4, ip + 1 + 4 - offset_1, iend) + 4;
ip               1296 lib/zstd/compress.c 			ip++;
ip               1297 lib/zstd/compress.c 			ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, 0, mLength - MINMATCH);
ip               1300 lib/zstd/compress.c 			if ((matchIndexL > lowestIndex) && (ZSTD_read64(matchLong) == ZSTD_read64(ip))) {
ip               1301 lib/zstd/compress.c 				mLength = ZSTD_count(ip + 8, matchLong + 8, iend) + 8;
ip               1302 lib/zstd/compress.c 				offset = (U32)(ip - matchLong);
ip               1303 lib/zstd/compress.c 				while (((ip > anchor) & (matchLong > lowest)) && (ip[-1] == matchLong[-1])) {
ip               1304 lib/zstd/compress.c 					ip--;
ip               1308 lib/zstd/compress.c 			} else if ((matchIndexS > lowestIndex) && (ZSTD_read32(match) == ZSTD_read32(ip))) {
ip               1309 lib/zstd/compress.c 				size_t const h3 = ZSTD_hashPtr(ip + 1, hBitsL, 8);
ip               1313 lib/zstd/compress.c 				if ((matchIndex3 > lowestIndex) && (ZSTD_read64(match3) == ZSTD_read64(ip + 1))) {
ip               1314 lib/zstd/compress.c 					mLength = ZSTD_count(ip + 9, match3 + 8, iend) + 8;
ip               1315 lib/zstd/compress.c 					ip++;
ip               1316 lib/zstd/compress.c 					offset = (U32)(ip - match3);
ip               1317 lib/zstd/compress.c 					while (((ip > anchor) & (match3 > lowest)) && (ip[-1] == match3[-1])) {
ip               1318 lib/zstd/compress.c 						ip--;
ip               1323 lib/zstd/compress.c 					mLength = ZSTD_count(ip + 4, match + 4, iend) + 4;
ip               1324 lib/zstd/compress.c 					offset = (U32)(ip - match);
ip               1325 lib/zstd/compress.c 					while (((ip > anchor) & (match > lowest)) && (ip[-1] == match[-1])) {
ip               1326 lib/zstd/compress.c 						ip--;
ip               1332 lib/zstd/compress.c 				ip += ((ip - anchor) >> g_searchStrength) + 1;
ip               1339 lib/zstd/compress.c 			ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, offset + ZSTD_REP_MOVE, mLength - MINMATCH);
ip               1343 lib/zstd/compress.c 		ip += mLength;
ip               1344 lib/zstd/compress.c 		anchor = ip;
ip               1346 lib/zstd/compress.c 		if (ip <= ilimit) {
ip               1350 lib/zstd/compress.c 			hashLong[ZSTD_hashPtr(ip - 2, hBitsL, 8)] = hashSmall[ZSTD_hashPtr(ip - 2, hBitsS, mls)] = (U32)(ip - 2 - base);
ip               1353 lib/zstd/compress.c 			while ((ip <= ilimit) && ((offset_2 > 0) & (ZSTD_read32(ip) == ZSTD_read32(ip - offset_2)))) {
ip               1355 lib/zstd/compress.c 				size_t const rLength = ZSTD_count(ip + 4, ip + 4 - offset_2, iend) + 4;
ip               1361 lib/zstd/compress.c 				hashSmall[ZSTD_hashPtr(ip, hBitsS, mls)] = (U32)(ip - base);
ip               1362 lib/zstd/compress.c 				hashLong[ZSTD_hashPtr(ip, hBitsL, 8)] = (U32)(ip - base);
ip               1364 lib/zstd/compress.c 				ip += rLength;
ip               1365 lib/zstd/compress.c 				anchor = ip;
ip               1405 lib/zstd/compress.c 	const BYTE *ip = istart;
ip               1417 lib/zstd/compress.c 	while (ip < ilimit) { /* < instead of <=, because (ip+1) */
ip               1418 lib/zstd/compress.c 		const size_t hSmall = ZSTD_hashPtr(ip, hBitsS, mls);
ip               1423 lib/zstd/compress.c 		const size_t hLong = ZSTD_hashPtr(ip, hBitsL, 8);
ip               1428 lib/zstd/compress.c 		const U32 curr = (U32)(ip - base);
ip               1436 lib/zstd/compress.c 		    (ZSTD_read32(repMatch) == ZSTD_read32(ip + 1))) {
ip               1438 lib/zstd/compress.c 			mLength = ZSTD_count_2segments(ip + 1 + 4, repMatch + 4, iend, repMatchEnd, lowPrefixPtr) + 4;
ip               1439 lib/zstd/compress.c 			ip++;
ip               1440 lib/zstd/compress.c 			ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, 0, mLength - MINMATCH);
ip               1442 lib/zstd/compress.c 			if ((matchLongIndex > lowestIndex) && (ZSTD_read64(matchLong) == ZSTD_read64(ip))) {
ip               1446 lib/zstd/compress.c 				mLength = ZSTD_count_2segments(ip + 8, matchLong + 8, iend, matchEnd, lowPrefixPtr) + 8;
ip               1448 lib/zstd/compress.c 				while (((ip > anchor) & (matchLong > lowMatchPtr)) && (ip[-1] == matchLong[-1])) {
ip               1449 lib/zstd/compress.c 					ip--;
ip               1455 lib/zstd/compress.c 				ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, offset + ZSTD_REP_MOVE, mLength - MINMATCH);
ip               1457 lib/zstd/compress.c 			} else if ((matchIndex > lowestIndex) && (ZSTD_read32(match) == ZSTD_read32(ip))) {
ip               1458 lib/zstd/compress.c 				size_t const h3 = ZSTD_hashPtr(ip + 1, hBitsL, 8);
ip               1464 lib/zstd/compress.c 				if ((matchIndex3 > lowestIndex) && (ZSTD_read64(match3) == ZSTD_read64(ip + 1))) {
ip               1467 lib/zstd/compress.c 					mLength = ZSTD_count_2segments(ip + 9, match3 + 8, iend, matchEnd, lowPrefixPtr) + 8;
ip               1468 lib/zstd/compress.c 					ip++;
ip               1470 lib/zstd/compress.c 					while (((ip > anchor) & (match3 > lowMatchPtr)) && (ip[-1] == match3[-1])) {
ip               1471 lib/zstd/compress.c 						ip--;
ip               1478 lib/zstd/compress.c 					mLength = ZSTD_count_2segments(ip + 4, match + 4, iend, matchEnd, lowPrefixPtr) + 4;
ip               1480 lib/zstd/compress.c 					while (((ip > anchor) & (match > lowMatchPtr)) && (ip[-1] == match[-1])) {
ip               1481 lib/zstd/compress.c 						ip--;
ip               1488 lib/zstd/compress.c 				ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, offset + ZSTD_REP_MOVE, mLength - MINMATCH);
ip               1491 lib/zstd/compress.c 				ip += ((ip - anchor) >> g_searchStrength) + 1;
ip               1497 lib/zstd/compress.c 		ip += mLength;
ip               1498 lib/zstd/compress.c 		anchor = ip;
ip               1500 lib/zstd/compress.c 		if (ip <= ilimit) {
ip               1504 lib/zstd/compress.c 			hashSmall[ZSTD_hashPtr(ip - 2, hBitsS, mls)] = (U32)(ip - 2 - base);
ip               1505 lib/zstd/compress.c 			hashLong[ZSTD_hashPtr(ip - 2, hBitsL, 8)] = (U32)(ip - 2 - base);
ip               1507 lib/zstd/compress.c 			while (ip <= ilimit) {
ip               1508 lib/zstd/compress.c 				U32 const curr2 = (U32)(ip - base);
ip               1512 lib/zstd/compress.c 				    && (ZSTD_read32(repMatch2) == ZSTD_read32(ip))) {
ip               1515 lib/zstd/compress.c 					    ZSTD_count_2segments(ip + EQUAL_READ32, repMatch2 + EQUAL_READ32, iend, repEnd2, lowPrefixPtr) + EQUAL_READ32;
ip               1520 lib/zstd/compress.c 					hashSmall[ZSTD_hashPtr(ip, hBitsS, mls)] = curr2;
ip               1521 lib/zstd/compress.c 					hashLong[ZSTD_hashPtr(ip, hBitsL, 8)] = curr2;
ip               1522 lib/zstd/compress.c 					ip += repLength2;
ip               1523 lib/zstd/compress.c 					anchor = ip;
ip               1561 lib/zstd/compress.c static U32 ZSTD_insertBt1(ZSTD_CCtx *zc, const BYTE *const ip, const U32 mls, const BYTE *const iend, U32 nbCompares, U32 extDict)
ip               1565 lib/zstd/compress.c 	size_t const h = ZSTD_hashPtr(ip, hashLog, mls);
ip               1577 lib/zstd/compress.c 	const U32 curr = (U32)(ip - base);
ip               1594 lib/zstd/compress.c 			if (match[matchLength] == ip[matchLength])
ip               1595 lib/zstd/compress.c 				matchLength += ZSTD_count(ip + matchLength + 1, match + matchLength + 1, iend) + 1;
ip               1598 lib/zstd/compress.c 			matchLength += ZSTD_count_2segments(ip + matchLength, match + matchLength, iend, dictEnd, prefixStart);
ip               1609 lib/zstd/compress.c 		if (ip + matchLength == iend) /* equal : no way to know if inf or sup */
ip               1612 lib/zstd/compress.c 		if (match[matchLength] < ip[matchLength]) { /* necessarily within correct buffer */
ip               1643 lib/zstd/compress.c static size_t ZSTD_insertBtAndFindBestMatch(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iend, size_t *offsetPtr, U32 nbCompares, const U32 mls,
ip               1648 lib/zstd/compress.c 	size_t const h = ZSTD_hashPtr(ip, hashLog, mls);
ip               1659 lib/zstd/compress.c 	const U32 curr = (U32)(ip - base);
ip               1677 lib/zstd/compress.c 			if (match[matchLength] == ip[matchLength])
ip               1678 lib/zstd/compress.c 				matchLength += ZSTD_count(ip + matchLength + 1, match + matchLength + 1, iend) + 1;
ip               1681 lib/zstd/compress.c 			matchLength += ZSTD_count_2segments(ip + matchLength, match + matchLength, iend, dictEnd, prefixStart);
ip               1691 lib/zstd/compress.c 			if (ip + matchLength == iend) /* equal : no way to know if inf or sup */
ip               1695 lib/zstd/compress.c 		if (match[matchLength] < ip[matchLength]) {
ip               1724 lib/zstd/compress.c static void ZSTD_updateTree(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iend, const U32 nbCompares, const U32 mls)
ip               1727 lib/zstd/compress.c 	const U32 target = (U32)(ip - base);
ip               1735 lib/zstd/compress.c static size_t ZSTD_BtFindBestMatch(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLimit, size_t *offsetPtr, const U32 maxNbAttempts, const U32 mls)
ip               1737 lib/zstd/compress.c 	if (ip < zc->base + zc->nextToUpdate)
ip               1739 lib/zstd/compress.c 	ZSTD_updateTree(zc, ip, iLimit, maxNbAttempts, mls);
ip               1740 lib/zstd/compress.c 	return ZSTD_insertBtAndFindBestMatch(zc, ip, iLimit, offsetPtr, maxNbAttempts, mls, 0);
ip               1744 lib/zstd/compress.c 					     const BYTE *ip, const BYTE *const iLimit, size_t *offsetPtr, const U32 maxNbAttempts, const U32 matchLengthSearch)
ip               1748 lib/zstd/compress.c 	case 4: return ZSTD_BtFindBestMatch(zc, ip, iLimit, offsetPtr, maxNbAttempts, 4);
ip               1749 lib/zstd/compress.c 	case 5: return ZSTD_BtFindBestMatch(zc, ip, iLimit, offsetPtr, maxNbAttempts, 5);
ip               1751 lib/zstd/compress.c 	case 6: return ZSTD_BtFindBestMatch(zc, ip, iLimit, offsetPtr, maxNbAttempts, 6);
ip               1755 lib/zstd/compress.c static void ZSTD_updateTree_extDict(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iend, const U32 nbCompares, const U32 mls)
ip               1758 lib/zstd/compress.c 	const U32 target = (U32)(ip - base);
ip               1766 lib/zstd/compress.c static size_t ZSTD_BtFindBestMatch_extDict(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLimit, size_t *offsetPtr, const U32 maxNbAttempts,
ip               1769 lib/zstd/compress.c 	if (ip < zc->base + zc->nextToUpdate)
ip               1771 lib/zstd/compress.c 	ZSTD_updateTree_extDict(zc, ip, iLimit, maxNbAttempts, mls);
ip               1772 lib/zstd/compress.c 	return ZSTD_insertBtAndFindBestMatch(zc, ip, iLimit, offsetPtr, maxNbAttempts, mls, 1);
ip               1776 lib/zstd/compress.c 						     const BYTE *ip, const BYTE *const iLimit, size_t *offsetPtr, const U32 maxNbAttempts,
ip               1781 lib/zstd/compress.c 	case 4: return ZSTD_BtFindBestMatch_extDict(zc, ip, iLimit, offsetPtr, maxNbAttempts, 4);
ip               1782 lib/zstd/compress.c 	case 5: return ZSTD_BtFindBestMatch_extDict(zc, ip, iLimit, offsetPtr, maxNbAttempts, 5);
ip               1784 lib/zstd/compress.c 	case 6: return ZSTD_BtFindBestMatch_extDict(zc, ip, iLimit, offsetPtr, maxNbAttempts, 6);
ip               1796 lib/zstd/compress.c U32 ZSTD_insertAndFindFirstIndex(ZSTD_CCtx *zc, const BYTE *ip, U32 mls)
ip               1803 lib/zstd/compress.c 	const U32 target = (U32)(ip - base);
ip               1814 lib/zstd/compress.c 	return hashTable[ZSTD_hashPtr(ip, hashLog, mls)];
ip               1820 lib/zstd/compress.c 				    const BYTE *const ip, const BYTE *const iLimit, size_t *offsetPtr, const U32 maxNbAttempts, const U32 mls,
ip               1832 lib/zstd/compress.c 	const U32 curr = (U32)(ip - base);
ip               1838 lib/zstd/compress.c 	U32 matchIndex = ZSTD_insertAndFindFirstIndex(zc, ip, mls);
ip               1845 lib/zstd/compress.c 			if (match[ml] == ip[ml]) /* potentially better */
ip               1846 lib/zstd/compress.c 				currMl = ZSTD_count(ip, match, iLimit);
ip               1849 lib/zstd/compress.c 			if (ZSTD_read32(match) == ZSTD_read32(ip)) /* assumption : matchIndex <= dictLimit-4 (by table construction) */
ip               1850 lib/zstd/compress.c 				currMl = ZSTD_count_2segments(ip + EQUAL_READ32, match + EQUAL_READ32, iLimit, dictEnd, prefixStart) + EQUAL_READ32;
ip               1857 lib/zstd/compress.c 			if (ip + currMl == iLimit)
ip               1869 lib/zstd/compress.c FORCE_INLINE size_t ZSTD_HcFindBestMatch_selectMLS(ZSTD_CCtx *zc, const BYTE *ip, const BYTE *const iLimit, size_t *offsetPtr, const U32 maxNbAttempts,
ip               1874 lib/zstd/compress.c 	case 4: return ZSTD_HcFindBestMatch_generic(zc, ip, iLimit, offsetPtr, maxNbAttempts, 4, 0);
ip               1875 lib/zstd/compress.c 	case 5: return ZSTD_HcFindBestMatch_generic(zc, ip, iLimit, offsetPtr, maxNbAttempts, 5, 0);
ip               1877 lib/zstd/compress.c 	case 6: return ZSTD_HcFindBestMatch_generic(zc, ip, iLimit, offsetPtr, maxNbAttempts, 6, 0);
ip               1881 lib/zstd/compress.c FORCE_INLINE size_t ZSTD_HcFindBestMatch_extDict_selectMLS(ZSTD_CCtx *zc, const BYTE *ip, const BYTE *const iLimit, size_t *offsetPtr, const U32 maxNbAttempts,
ip               1886 lib/zstd/compress.c 	case 4: return ZSTD_HcFindBestMatch_generic(zc, ip, iLimit, offsetPtr, maxNbAttempts, 4, 1);
ip               1887 lib/zstd/compress.c 	case 5: return ZSTD_HcFindBestMatch_generic(zc, ip, iLimit, offsetPtr, maxNbAttempts, 5, 1);
ip               1889 lib/zstd/compress.c 	case 6: return ZSTD_HcFindBestMatch_generic(zc, ip, iLimit, offsetPtr, maxNbAttempts, 6, 1);
ip               1901 lib/zstd/compress.c 	const BYTE *ip = istart;
ip               1910 lib/zstd/compress.c 	typedef size_t (*searchMax_f)(ZSTD_CCtx * zc, const BYTE *ip, const BYTE *iLimit, size_t *offsetPtr, U32 maxNbAttempts, U32 matchLengthSearch);
ip               1915 lib/zstd/compress.c 	ip += (ip == base);
ip               1918 lib/zstd/compress.c 		U32 const maxRep = (U32)(ip - base);
ip               1926 lib/zstd/compress.c 	while (ip < ilimit) {
ip               1929 lib/zstd/compress.c 		const BYTE *start = ip + 1;
ip               1932 lib/zstd/compress.c 		if ((offset_1 > 0) & (ZSTD_read32(ip + 1) == ZSTD_read32(ip + 1 - offset_1))) {
ip               1934 lib/zstd/compress.c 			matchLength = ZSTD_count(ip + 1 + EQUAL_READ32, ip + 1 + EQUAL_READ32 - offset_1, iend) + EQUAL_READ32;
ip               1942 lib/zstd/compress.c 			size_t const ml2 = searchMax(ctx, ip, iend, &offsetFound, maxSearches, mls);
ip               1944 lib/zstd/compress.c 				matchLength = ml2, start = ip, offset = offsetFound;
ip               1948 lib/zstd/compress.c 			ip += ((ip - anchor) >> g_searchStrength) + 1; /* jump faster over incompressible sections */
ip               1954 lib/zstd/compress.c 			while (ip < ilimit) {
ip               1955 lib/zstd/compress.c 				ip++;
ip               1956 lib/zstd/compress.c 				if ((offset) && ((offset_1 > 0) & (ZSTD_read32(ip) == ZSTD_read32(ip - offset_1)))) {
ip               1957 lib/zstd/compress.c 					size_t const mlRep = ZSTD_count(ip + EQUAL_READ32, ip + EQUAL_READ32 - offset_1, iend) + EQUAL_READ32;
ip               1961 lib/zstd/compress.c 						matchLength = mlRep, offset = 0, start = ip;
ip               1965 lib/zstd/compress.c 					size_t const ml2 = searchMax(ctx, ip, iend, &offset2, maxSearches, mls);
ip               1969 lib/zstd/compress.c 						matchLength = ml2, offset = offset2, start = ip;
ip               1975 lib/zstd/compress.c 				if ((depth == 2) && (ip < ilimit)) {
ip               1976 lib/zstd/compress.c 					ip++;
ip               1977 lib/zstd/compress.c 					if ((offset) && ((offset_1 > 0) & (ZSTD_read32(ip) == ZSTD_read32(ip - offset_1)))) {
ip               1978 lib/zstd/compress.c 						size_t const ml2 = ZSTD_count(ip + EQUAL_READ32, ip + EQUAL_READ32 - offset_1, iend) + EQUAL_READ32;
ip               1982 lib/zstd/compress.c 							matchLength = ml2, offset = 0, start = ip;
ip               1986 lib/zstd/compress.c 						size_t const ml2 = searchMax(ctx, ip, iend, &offset2, maxSearches, mls);
ip               1990 lib/zstd/compress.c 							matchLength = ml2, offset = offset2, start = ip;
ip               2020 lib/zstd/compress.c 			anchor = ip = start + matchLength;
ip               2024 lib/zstd/compress.c 		while ((ip <= ilimit) && ((offset_2 > 0) & (ZSTD_read32(ip) == ZSTD_read32(ip - offset_2)))) {
ip               2026 lib/zstd/compress.c 			matchLength = ZSTD_count(ip + EQUAL_READ32, ip + EQUAL_READ32 - offset_2, iend) + EQUAL_READ32;
ip               2031 lib/zstd/compress.c 			ip += matchLength;
ip               2032 lib/zstd/compress.c 			anchor = ip;
ip               2062 lib/zstd/compress.c 	const BYTE *ip = istart;
ip               2077 lib/zstd/compress.c 	typedef size_t (*searchMax_f)(ZSTD_CCtx * zc, const BYTE *ip, const BYTE *iLimit, size_t *offsetPtr, U32 maxNbAttempts, U32 matchLengthSearch);
ip               2084 lib/zstd/compress.c 	ip += (ip == prefixStart);
ip               2087 lib/zstd/compress.c 	while (ip < ilimit) {
ip               2090 lib/zstd/compress.c 		const BYTE *start = ip + 1;
ip               2091 lib/zstd/compress.c 		U32 curr = (U32)(ip - base);
ip               2099 lib/zstd/compress.c 				if (ZSTD_read32(ip + 1) == ZSTD_read32(repMatch)) {
ip               2103 lib/zstd/compress.c 					    ZSTD_count_2segments(ip + 1 + EQUAL_READ32, repMatch + EQUAL_READ32, iend, repEnd, prefixStart) + EQUAL_READ32;
ip               2112 lib/zstd/compress.c 			size_t const ml2 = searchMax(ctx, ip, iend, &offsetFound, maxSearches, mls);
ip               2114 lib/zstd/compress.c 				matchLength = ml2, start = ip, offset = offsetFound;
ip               2118 lib/zstd/compress.c 			ip += ((ip - anchor) >> g_searchStrength) + 1; /* jump faster over incompressible sections */
ip               2124 lib/zstd/compress.c 			while (ip < ilimit) {
ip               2125 lib/zstd/compress.c 				ip++;
ip               2133 lib/zstd/compress.c 						if (ZSTD_read32(ip) == ZSTD_read32(repMatch)) {
ip               2137 lib/zstd/compress.c 							    ZSTD_count_2segments(ip + EQUAL_READ32, repMatch + EQUAL_READ32, iend, repEnd, prefixStart) +
ip               2142 lib/zstd/compress.c 								matchLength = repLength, offset = 0, start = ip;
ip               2149 lib/zstd/compress.c 					size_t const ml2 = searchMax(ctx, ip, iend, &offset2, maxSearches, mls);
ip               2153 lib/zstd/compress.c 						matchLength = ml2, offset = offset2, start = ip;
ip               2159 lib/zstd/compress.c 				if ((depth == 2) && (ip < ilimit)) {
ip               2160 lib/zstd/compress.c 					ip++;
ip               2168 lib/zstd/compress.c 							if (ZSTD_read32(ip) == ZSTD_read32(repMatch)) {
ip               2171 lib/zstd/compress.c 								size_t repLength = ZSTD_count_2segments(ip + EQUAL_READ32, repMatch + EQUAL_READ32, iend,
ip               2177 lib/zstd/compress.c 									matchLength = repLength, offset = 0, start = ip;
ip               2184 lib/zstd/compress.c 						size_t const ml2 = searchMax(ctx, ip, iend, &offset2, maxSearches, mls);
ip               2188 lib/zstd/compress.c 							matchLength = ml2, offset = offset2, start = ip;
ip               2214 lib/zstd/compress.c 		anchor = ip = start + matchLength;
ip               2218 lib/zstd/compress.c 		while (ip <= ilimit) {
ip               2219 lib/zstd/compress.c 			const U32 repIndex = (U32)((ip - base) - offset_2);
ip               2223 lib/zstd/compress.c 				if (ZSTD_read32(ip) == ZSTD_read32(repMatch)) {
ip               2227 lib/zstd/compress.c 					    ZSTD_count_2segments(ip + EQUAL_READ32, repMatch + EQUAL_READ32, iend, repEnd, prefixStart) + EQUAL_READ32;
ip               2232 lib/zstd/compress.c 					ip += matchLength;
ip               2233 lib/zstd/compress.c 					anchor = ip;
ip               2359 lib/zstd/compress.c 	const BYTE *ip = (const BYTE *)src;
ip               2379 lib/zstd/compress.c 			U32 const curr = (U32)(ip - cctx->base);
ip               2394 lib/zstd/compress.c 		if ((U32)(ip + blockSize - cctx->base) > cctx->loadedDictEnd + maxDist) {
ip               2396 lib/zstd/compress.c 			U32 const newLowLimit = (U32)(ip + blockSize - cctx->base) - maxDist;
ip               2403 lib/zstd/compress.c 		cSize = ZSTD_compressBlock_internal(cctx, op + ZSTD_blockHeaderSize, dstCapacity - ZSTD_blockHeaderSize, ip, blockSize);
ip               2412 lib/zstd/compress.c 			memcpy(op + ZSTD_blockHeaderSize, ip, blockSize);
ip               2422 lib/zstd/compress.c 		ip += blockSize;
ip               2492 lib/zstd/compress.c 	const BYTE *const ip = (const BYTE *)src;
ip               2510 lib/zstd/compress.c 		ptrdiff_t const delta = cctx->nextSrc - ip;
ip               2521 lib/zstd/compress.c 	if ((ip + srcSize > cctx->dictBase + cctx->lowLimit) & (ip < cctx->dictBase + cctx->dictLimit)) {
ip               2522 lib/zstd/compress.c 		ptrdiff_t const highInputIdx = (ip + srcSize) - cctx->dictBase;
ip               2527 lib/zstd/compress.c 	cctx->nextSrc = ip + srcSize;
ip               2559 lib/zstd/compress.c 	const BYTE *const ip = (const BYTE *)src;
ip               2560 lib/zstd/compress.c 	const BYTE *const iend = ip + srcSize;
ip               2566 lib/zstd/compress.c 	zc->base += ip - zc->nextSrc;
ip               3134 lib/zstd/compress.c 	const char *ip = istart;
ip               3148 lib/zstd/compress.c 				size_t const loaded = ZSTD_limitCopy(zcs->inBuff + zcs->inBuffPos, toLoad, ip, iend - ip);
ip               3150 lib/zstd/compress.c 				ip += loaded;
ip               3210 lib/zstd/compress.c 	*srcSizePtr = ip - istart;
ip                209 lib/zstd/decompress.c 	const BYTE *ip = (const BYTE *)src;
ip                233 lib/zstd/decompress.c 		BYTE const fhdByte = ip[4];
ip                246 lib/zstd/decompress.c 			BYTE const wlByte = ip[pos++];
ip                258 lib/zstd/decompress.c 			dictID = ip[pos];
ip                262 lib/zstd/decompress.c 			dictID = ZSTD_readLE16(ip + pos);
ip                266 lib/zstd/decompress.c 			dictID = ZSTD_readLE32(ip + pos);
ip                274 lib/zstd/decompress.c 				frameContentSize = ip[pos];
ip                276 lib/zstd/decompress.c 		case 1: frameContentSize = ZSTD_readLE16(ip + pos) + 256; break;
ip                277 lib/zstd/decompress.c 		case 2: frameContentSize = ZSTD_readLE32(ip + pos); break;
ip                278 lib/zstd/decompress.c 		case 3: frameContentSize = ZSTD_readLE64(ip + pos); break;
ip                798 lib/zstd/decompress.c 	const BYTE *ip = istart;
ip                806 lib/zstd/decompress.c 		int nbSeq = *ip++;
ip                813 lib/zstd/decompress.c 				if (ip + 2 > iend)
ip                815 lib/zstd/decompress.c 				nbSeq = ZSTD_readLE16(ip) + LONGNBSEQ, ip += 2;
ip                817 lib/zstd/decompress.c 				if (ip >= iend)
ip                819 lib/zstd/decompress.c 				nbSeq = ((nbSeq - 0x80) << 8) + *ip++;
ip                826 lib/zstd/decompress.c 	if (ip + 4 > iend)
ip                829 lib/zstd/decompress.c 		symbolEncodingType_e const LLtype = (symbolEncodingType_e)(*ip >> 6);
ip                830 lib/zstd/decompress.c 		symbolEncodingType_e const OFtype = (symbolEncodingType_e)((*ip >> 4) & 3);
ip                831 lib/zstd/decompress.c 		symbolEncodingType_e const MLtype = (symbolEncodingType_e)((*ip >> 2) & 3);
ip                832 lib/zstd/decompress.c 		ip++;
ip                836 lib/zstd/decompress.c 			size_t const llhSize = ZSTD_buildSeqTable(dctx->entropy.LLTable, &dctx->LLTptr, LLtype, MaxLL, LLFSELog, ip, iend - ip,
ip                840 lib/zstd/decompress.c 			ip += llhSize;
ip                843 lib/zstd/decompress.c 			size_t const ofhSize = ZSTD_buildSeqTable(dctx->entropy.OFTable, &dctx->OFTptr, OFtype, MaxOff, OffFSELog, ip, iend - ip,
ip                847 lib/zstd/decompress.c 			ip += ofhSize;
ip                850 lib/zstd/decompress.c 			size_t const mlhSize = ZSTD_buildSeqTable(dctx->entropy.MLTable, &dctx->MLTptr, MLtype, MaxML, MLFSELog, ip, iend - ip,
ip                854 lib/zstd/decompress.c 			ip += mlhSize;
ip                858 lib/zstd/decompress.c 	return ip - istart;
ip               1095 lib/zstd/decompress.c 	const BYTE *ip = (const BYTE *)seqStart;
ip               1096 lib/zstd/decompress.c 	const BYTE *const iend = ip + seqSize;
ip               1109 lib/zstd/decompress.c 		size_t const seqHSize = ZSTD_decodeSeqHeaders(dctx, &nbSeq, ip, seqSize);
ip               1112 lib/zstd/decompress.c 		ip += seqHSize;
ip               1124 lib/zstd/decompress.c 		CHECK_E(BIT_initDStream(&seqState.DStream, ip, iend - ip), corruption_detected);
ip               1350 lib/zstd/decompress.c 	const BYTE *ip = (const BYTE *)seqStart;
ip               1351 lib/zstd/decompress.c 	const BYTE *const iend = ip + seqSize;
ip               1365 lib/zstd/decompress.c 		size_t const seqHSize = ZSTD_decodeSeqHeaders(dctx, &nbSeq, ip, seqSize);
ip               1368 lib/zstd/decompress.c 		ip += seqHSize;
ip               1390 lib/zstd/decompress.c 		CHECK_E(BIT_initDStream(&seqState.DStream, ip, iend - ip), corruption_detected);
ip               1447 lib/zstd/decompress.c 	const BYTE *ip = (const BYTE *)src;
ip               1457 lib/zstd/decompress.c 		ip += litCSize;
ip               1465 lib/zstd/decompress.c 			return ZSTD_decompressSequencesLong(dctx, dst, dstCapacity, ip, srcSize);
ip               1466 lib/zstd/decompress.c 	return ZSTD_decompressSequences(dctx, dst, dstCapacity, ip, srcSize);
ip               1515 lib/zstd/decompress.c 		const BYTE *ip = (const BYTE *)src;
ip               1516 lib/zstd/decompress.c 		const BYTE *const ipstart = ip;
ip               1520 lib/zstd/decompress.c 		size_t const headerSize = ZSTD_frameHeaderSize(ip, remainingSize);
ip               1526 lib/zstd/decompress.c 			size_t const ret = ZSTD_getFrameParams(&fParams, ip, remainingSize);
ip               1533 lib/zstd/decompress.c 		ip += headerSize;
ip               1539 lib/zstd/decompress.c 			size_t const cBlockSize = ZSTD_getcBlockSize(ip, remainingSize, &blockProperties);
ip               1546 lib/zstd/decompress.c 			ip += ZSTD_blockHeaderSize + cBlockSize;
ip               1556 lib/zstd/decompress.c 			ip += 4;
ip               1560 lib/zstd/decompress.c 		return ip - ipstart;
ip               1568 lib/zstd/decompress.c 	const BYTE *ip = (const BYTE *)(*srcPtr);
ip               1580 lib/zstd/decompress.c 		size_t const frameHeaderSize = ZSTD_frameHeaderSize(ip, ZSTD_frameHeaderSize_prefix);
ip               1585 lib/zstd/decompress.c 		CHECK_F(ZSTD_decodeFrameHeader(dctx, ip, frameHeaderSize));
ip               1586 lib/zstd/decompress.c 		ip += frameHeaderSize;
ip               1594 lib/zstd/decompress.c 		size_t const cBlockSize = ZSTD_getcBlockSize(ip, remainingSize, &blockProperties);
ip               1598 lib/zstd/decompress.c 		ip += ZSTD_blockHeaderSize;
ip               1604 lib/zstd/decompress.c 		case bt_compressed: decodedSize = ZSTD_decompressBlock_internal(dctx, op, oend - op, ip, cBlockSize); break;
ip               1605 lib/zstd/decompress.c 		case bt_raw: decodedSize = ZSTD_copyRawBlock(op, oend - op, ip, cBlockSize); break;
ip               1606 lib/zstd/decompress.c 		case bt_rle: decodedSize = ZSTD_generateNxBytes(op, oend - op, *ip, blockProperties.origSize); break;
ip               1616 lib/zstd/decompress.c 		ip += cBlockSize;
ip               1627 lib/zstd/decompress.c 		checkRead = ZSTD_readLE32(ip);
ip               1630 lib/zstd/decompress.c 		ip += 4;
ip               1635 lib/zstd/decompress.c 	*srcPtr = ip;
ip               2302 lib/zstd/decompress.c 	const char *ip = istart;
ip               2320 lib/zstd/decompress.c 				if (toLoad > (size_t)(iend - ip)) {	/* not enough input to load full header */
ip               2321 lib/zstd/decompress.c 					memcpy(zds->headerBuffer + zds->lhSize, ip, iend - ip);
ip               2322 lib/zstd/decompress.c 					zds->lhSize += iend - ip;
ip               2327 lib/zstd/decompress.c 				memcpy(zds->headerBuffer + zds->lhSize, ip, toLoad);
ip               2329 lib/zstd/decompress.c 				ip += toLoad;
ip               2341 lib/zstd/decompress.c 					ip = istart + cSize;
ip               2388 lib/zstd/decompress.c 			if ((size_t)(iend - ip) >= neededInSize) { /* decode directly from src */
ip               2391 lib/zstd/decompress.c 										   (isSkipFrame ? 0 : zds->outBuffSize - zds->outStart), ip, neededInSize);
ip               2394 lib/zstd/decompress.c 				ip += neededInSize;
ip               2401 lib/zstd/decompress.c 			if (ip == iend) {
ip               2416 lib/zstd/decompress.c 			loadedSize = ZSTD_limitCopy(zds->inBuff + zds->inPos, toLoad, ip, iend - ip);
ip               2417 lib/zstd/decompress.c 			ip += loadedSize;
ip               2464 lib/zstd/decompress.c 	input->pos += (size_t)(ip - istart);
ip                 63 lib/zstd/entropy_common.c 	const BYTE *ip = istart;
ip                 74 lib/zstd/entropy_common.c 	bitStream = ZSTD_readLE32(ip);
ip                 90 lib/zstd/entropy_common.c 				if (ip < iend - 5) {
ip                 91 lib/zstd/entropy_common.c 					ip += 2;
ip                 92 lib/zstd/entropy_common.c 					bitStream = ZSTD_readLE32(ip) >> bitCount;
ip                109 lib/zstd/entropy_common.c 			if ((ip <= iend - 7) || (ip + (bitCount >> 3) <= iend - 4)) {
ip                110 lib/zstd/entropy_common.c 				ip += bitCount >> 3;
ip                112 lib/zstd/entropy_common.c 				bitStream = ZSTD_readLE32(ip) >> bitCount;
ip                140 lib/zstd/entropy_common.c 			if ((ip <= iend - 7) || (ip + (bitCount >> 3) <= iend - 4)) {
ip                141 lib/zstd/entropy_common.c 				ip += bitCount >> 3;
ip                144 lib/zstd/entropy_common.c 				bitCount -= (int)(8 * (iend - 4 - ip));
ip                145 lib/zstd/entropy_common.c 				ip = iend - 4;
ip                147 lib/zstd/entropy_common.c 			bitStream = ZSTD_readLE32(ip) >> (bitCount & 31);
ip                156 lib/zstd/entropy_common.c 	ip += (bitCount + 7) >> 3;
ip                157 lib/zstd/entropy_common.c 	return ip - istart;
ip                170 lib/zstd/entropy_common.c 	const BYTE *ip = (const BYTE *)src;
ip                176 lib/zstd/entropy_common.c 	iSize = ip[0];
ip                186 lib/zstd/entropy_common.c 		ip += 1;
ip                190 lib/zstd/entropy_common.c 				huffWeight[n] = ip[n / 2] >> 4;
ip                191 lib/zstd/entropy_common.c 				huffWeight[n + 1] = ip[n / 2] & 15;
ip                197 lib/zstd/entropy_common.c 		oSize = FSE_decompress_wksp(huffWeight, hwSize - 1, ip + 1, iSize, 6, workspace, workspaceSize); /* max (hwSize-1) values decoded, as last one is implied */
ip                326 lib/zstd/fse_compress.c 	const BYTE *ip = (const BYTE *)src;
ip                327 lib/zstd/fse_compress.c 	const BYTE *const end = ip + srcSize;
ip                337 lib/zstd/fse_compress.c 	while (ip < end)
ip                338 lib/zstd/fse_compress.c 		count[*ip++]++;
ip                360 lib/zstd/fse_compress.c 	const BYTE *ip = (const BYTE *)source;
ip                361 lib/zstd/fse_compress.c 	const BYTE *const iend = ip + sourceSize;
ip                382 lib/zstd/fse_compress.c 		U32 cached = ZSTD_read32(ip);
ip                383 lib/zstd/fse_compress.c 		ip += 4;
ip                384 lib/zstd/fse_compress.c 		while (ip < iend - 15) {
ip                386 lib/zstd/fse_compress.c 			cached = ZSTD_read32(ip);
ip                387 lib/zstd/fse_compress.c 			ip += 4;
ip                393 lib/zstd/fse_compress.c 			cached = ZSTD_read32(ip);
ip                394 lib/zstd/fse_compress.c 			ip += 4;
ip                400 lib/zstd/fse_compress.c 			cached = ZSTD_read32(ip);
ip                401 lib/zstd/fse_compress.c 			ip += 4;
ip                407 lib/zstd/fse_compress.c 			cached = ZSTD_read32(ip);
ip                408 lib/zstd/fse_compress.c 			ip += 4;
ip                414 lib/zstd/fse_compress.c 		ip -= 4;
ip                418 lib/zstd/fse_compress.c 	while (ip < iend)
ip                419 lib/zstd/fse_compress.c 		Counting1[*ip++]++;
ip                728 lib/zstd/fse_compress.c 	const BYTE *ip = iend;
ip                745 lib/zstd/fse_compress.c 		FSE_initCState2(&CState1, ct, *--ip);
ip                746 lib/zstd/fse_compress.c 		FSE_initCState2(&CState2, ct, *--ip);
ip                747 lib/zstd/fse_compress.c 		FSE_encodeSymbol(&bitC, &CState1, *--ip);
ip                750 lib/zstd/fse_compress.c 		FSE_initCState2(&CState2, ct, *--ip);
ip                751 lib/zstd/fse_compress.c 		FSE_initCState2(&CState1, ct, *--ip);
ip                757 lib/zstd/fse_compress.c 		FSE_encodeSymbol(&bitC, &CState2, *--ip);
ip                758 lib/zstd/fse_compress.c 		FSE_encodeSymbol(&bitC, &CState1, *--ip);
ip                763 lib/zstd/fse_compress.c 	while (ip > istart) {
ip                765 lib/zstd/fse_compress.c 		FSE_encodeSymbol(&bitC, &CState2, *--ip);
ip                770 lib/zstd/fse_compress.c 		FSE_encodeSymbol(&bitC, &CState1, *--ip);
ip                773 lib/zstd/fse_compress.c 			FSE_encodeSymbol(&bitC, &CState2, *--ip);
ip                774 lib/zstd/fse_compress.c 			FSE_encodeSymbol(&bitC, &CState1, *--ip);
ip                297 lib/zstd/fse_decompress.c 	const BYTE *ip = istart;
ip                326 lib/zstd/fse_decompress.c 	ip += NCountLength;
ip                331 lib/zstd/fse_decompress.c 	return FSE_decompress_usingDTable(dst, dstCapacity, ip, cSrcSize, dt); /* always return, even if it is an error code */
ip                540 lib/zstd/huf_compress.c 	const BYTE *ip = (const BYTE *)src;
ip                558 lib/zstd/huf_compress.c 	case 3: HUF_encodeSymbol(&bitC, ip[n + 2], CTable); HUF_FLUSHBITS_2(&bitC);
ip                560 lib/zstd/huf_compress.c 	case 2: HUF_encodeSymbol(&bitC, ip[n + 1], CTable); HUF_FLUSHBITS_1(&bitC);
ip                562 lib/zstd/huf_compress.c 	case 1: HUF_encodeSymbol(&bitC, ip[n + 0], CTable); HUF_FLUSHBITS(&bitC);
ip                568 lib/zstd/huf_compress.c 		HUF_encodeSymbol(&bitC, ip[n - 1], CTable);
ip                570 lib/zstd/huf_compress.c 		HUF_encodeSymbol(&bitC, ip[n - 2], CTable);
ip                572 lib/zstd/huf_compress.c 		HUF_encodeSymbol(&bitC, ip[n - 3], CTable);
ip                574 lib/zstd/huf_compress.c 		HUF_encodeSymbol(&bitC, ip[n - 4], CTable);
ip                584 lib/zstd/huf_compress.c 	const BYTE *ip = (const BYTE *)src;
ip                585 lib/zstd/huf_compress.c 	const BYTE *const iend = ip + srcSize;
ip                597 lib/zstd/huf_compress.c 		CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable));
ip                604 lib/zstd/huf_compress.c 	ip += segmentSize;
ip                606 lib/zstd/huf_compress.c 		CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable));
ip                613 lib/zstd/huf_compress.c 	ip += segmentSize;
ip                615 lib/zstd/huf_compress.c 		CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable));
ip                622 lib/zstd/huf_compress.c 	ip += segmentSize;
ip                624 lib/zstd/huf_compress.c 		CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, iend - ip, CTable));
ip                234 lib/zstd/huf_decompress.c 	const BYTE *ip = (const BYTE *)cSrc;
ip                241 lib/zstd/huf_decompress.c 	ip += hSize;
ip                244 lib/zstd/huf_decompress.c 	return HUF_decompress1X2_usingDTable_internal(dst, dstSize, ip, cSrcSize, DCtx);
ip                365 lib/zstd/huf_decompress.c 	const BYTE *ip = (const BYTE *)cSrc;
ip                372 lib/zstd/huf_decompress.c 	ip += hSize;
ip                375 lib/zstd/huf_decompress.c 	return HUF_decompress4X2_usingDTable_internal(dst, dstSize, ip, cSrcSize, dctx);
ip                694 lib/zstd/huf_decompress.c 	const BYTE *ip = (const BYTE *)cSrc;
ip                701 lib/zstd/huf_decompress.c 	ip += hSize;
ip                704 lib/zstd/huf_decompress.c 	return HUF_decompress1X4_usingDTable_internal(dst, dstSize, ip, cSrcSize, DCtx);
ip                827 lib/zstd/huf_decompress.c 	const BYTE *ip = (const BYTE *)cSrc;
ip                834 lib/zstd/huf_decompress.c 	ip += hSize;
ip                837 lib/zstd/huf_decompress.c 	return HUF_decompress4X4_usingDTable_internal(dst, dstSize, ip, cSrcSize, dctx);
ip                137 lib/zstd/zstd_internal.h 	const BYTE* ip = (const BYTE*)src;
ip                148 lib/zstd/zstd_internal.h 		ZSTD_copy8(op, ip);
ip                150 lib/zstd/zstd_internal.h 		ip += 8;
ip                215 lib/zstd/zstd_opt.h U32 ZSTD_insertAndFindFirstIndexHash3(ZSTD_CCtx *zc, const BYTE *ip)
ip                221 lib/zstd/zstd_opt.h 	const U32 target = zc->nextToUpdate3 = (U32)(ip - base);
ip                222 lib/zstd/zstd_opt.h 	const size_t hash3 = ZSTD_hash3Ptr(ip, hashLog3);
ip                235 lib/zstd/zstd_opt.h static U32 ZSTD_insertBtAndGetAllMatches(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLimit, U32 nbCompares, const U32 mls, U32 extDict,
ip                239 lib/zstd/zstd_opt.h 	const U32 curr = (U32)(ip - base);
ip                241 lib/zstd/zstd_opt.h 	const size_t h = ZSTD_hashPtr(ip, hashLog, mls);
ip                264 lib/zstd/zstd_opt.h 		U32 const matchIndex3 = ZSTD_insertAndFindFirstIndexHash3(zc, ip);
ip                270 lib/zstd/zstd_opt.h 				if (match[bestLength] == ip[bestLength])
ip                271 lib/zstd/zstd_opt.h 					currMl = ZSTD_count(ip, match, iLimit);
ip                275 lib/zstd/zstd_opt.h 				    ZSTD_readMINMATCH(ip, MINMATCH)) /* assumption : matchIndex3 <= dictLimit-4 (by table construction) */
ip                276 lib/zstd/zstd_opt.h 					currMl = ZSTD_count_2segments(ip + MINMATCH, match + MINMATCH, iLimit, dictEnd, prefixStart) + MINMATCH;
ip                287 lib/zstd/zstd_opt.h 				if (ip + currMl == iLimit)
ip                302 lib/zstd/zstd_opt.h 			if (match[matchLength] == ip[matchLength]) {
ip                303 lib/zstd/zstd_opt.h 				matchLength += ZSTD_count(ip + matchLength + 1, match + matchLength + 1, iLimit) + 1;
ip                307 lib/zstd/zstd_opt.h 			matchLength += ZSTD_count_2segments(ip + matchLength, match + matchLength, iLimit, dictEnd, prefixStart);
ip                321 lib/zstd/zstd_opt.h 			if (ip + matchLength == iLimit) /* equal : no way to know if inf or sup */
ip                325 lib/zstd/zstd_opt.h 		if (match[matchLength] < ip[matchLength]) {
ip                356 lib/zstd/zstd_opt.h static U32 ZSTD_BtGetAllMatches(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLimit, const U32 maxNbAttempts, const U32 mls, ZSTD_match_t *matches,
ip                359 lib/zstd/zstd_opt.h 	if (ip < zc->base + zc->nextToUpdate)
ip                361 lib/zstd/zstd_opt.h 	ZSTD_updateTree(zc, ip, iLimit, maxNbAttempts, mls);
ip                362 lib/zstd/zstd_opt.h 	return ZSTD_insertBtAndGetAllMatches(zc, ip, iLimit, maxNbAttempts, mls, 0, matches, minMatchLen);
ip                366 lib/zstd/zstd_opt.h 					  const BYTE *ip, const BYTE *const iHighLimit, const U32 maxNbAttempts, const U32 matchLengthSearch,
ip                370 lib/zstd/zstd_opt.h 	case 3: return ZSTD_BtGetAllMatches(zc, ip, iHighLimit, maxNbAttempts, 3, matches, minMatchLen);
ip                372 lib/zstd/zstd_opt.h 	case 4: return ZSTD_BtGetAllMatches(zc, ip, iHighLimit, maxNbAttempts, 4, matches, minMatchLen);
ip                373 lib/zstd/zstd_opt.h 	case 5: return ZSTD_BtGetAllMatches(zc, ip, iHighLimit, maxNbAttempts, 5, matches, minMatchLen);
ip                375 lib/zstd/zstd_opt.h 	case 6: return ZSTD_BtGetAllMatches(zc, ip, iHighLimit, maxNbAttempts, 6, matches, minMatchLen);
ip                380 lib/zstd/zstd_opt.h static U32 ZSTD_BtGetAllMatches_extDict(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLimit, const U32 maxNbAttempts, const U32 mls,
ip                383 lib/zstd/zstd_opt.h 	if (ip < zc->base + zc->nextToUpdate)
ip                385 lib/zstd/zstd_opt.h 	ZSTD_updateTree_extDict(zc, ip, iLimit, maxNbAttempts, mls);
ip                386 lib/zstd/zstd_opt.h 	return ZSTD_insertBtAndGetAllMatches(zc, ip, iLimit, maxNbAttempts, mls, 1, matches, minMatchLen);
ip                390 lib/zstd/zstd_opt.h 						  const BYTE *ip, const BYTE *const iHighLimit, const U32 maxNbAttempts, const U32 matchLengthSearch,
ip                394 lib/zstd/zstd_opt.h 	case 3: return ZSTD_BtGetAllMatches_extDict(zc, ip, iHighLimit, maxNbAttempts, 3, matches, minMatchLen);
ip                396 lib/zstd/zstd_opt.h 	case 4: return ZSTD_BtGetAllMatches_extDict(zc, ip, iHighLimit, maxNbAttempts, 4, matches, minMatchLen);
ip                397 lib/zstd/zstd_opt.h 	case 5: return ZSTD_BtGetAllMatches_extDict(zc, ip, iHighLimit, maxNbAttempts, 5, matches, minMatchLen);
ip                399 lib/zstd/zstd_opt.h 	case 6: return ZSTD_BtGetAllMatches_extDict(zc, ip, iHighLimit, maxNbAttempts, 6, matches, minMatchLen);
ip                411 lib/zstd/zstd_opt.h 	const BYTE *ip = istart;
ip                431 lib/zstd/zstd_opt.h 	ip += (ip == prefixStart);
ip                439 lib/zstd/zstd_opt.h 	while (ip < ilimit) {
ip                444 lib/zstd/zstd_opt.h 		litlen = (U32)(ip - anchor);
ip                448 lib/zstd/zstd_opt.h 			U32 i, last_i = ZSTD_REP_CHECK + (ip == anchor);
ip                449 lib/zstd/zstd_opt.h 			for (i = (ip == anchor); i < last_i; i++) {
ip                451 lib/zstd/zstd_opt.h 				if ((repCur > 0) && (repCur < (S32)(ip - prefixStart)) &&
ip                452 lib/zstd/zstd_opt.h 				    (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repCur, minMatch))) {
ip                453 lib/zstd/zstd_opt.h 					mlen = (U32)ZSTD_count(ip + minMatch, ip + minMatch - repCur, iend) + minMatch;
ip                461 lib/zstd/zstd_opt.h 					best_off = i - (ip == anchor);
ip                472 lib/zstd/zstd_opt.h 		match_num = ZSTD_BtGetAllMatches_selectMLS(ctx, ip, iend, maxSearches, mls, matches, minMatch);
ip                475 lib/zstd/zstd_opt.h 			ip++;
ip                501 lib/zstd/zstd_opt.h 			ip++;
ip                516 lib/zstd/zstd_opt.h 			inr = ip + cur;
ip                609 lib/zstd/zstd_opt.h 							price = opt[cur - litlen].price + ZSTD_getPrice(seqStorePtr, litlen, ip + cur - litlen,
ip                653 lib/zstd/zstd_opt.h 				ip++;
ip                659 lib/zstd/zstd_opt.h 			litLength = (U32)(ip - anchor);
ip                680 lib/zstd/zstd_opt.h 			anchor = ip = ip + mlen;
ip                704 lib/zstd/zstd_opt.h 	const BYTE *ip = istart;
ip                734 lib/zstd/zstd_opt.h 	ip += (ip == prefixStart);
ip                737 lib/zstd/zstd_opt.h 	while (ip < ilimit) {
ip                740 lib/zstd/zstd_opt.h 		U32 curr = (U32)(ip - base);
ip                743 lib/zstd/zstd_opt.h 		opt[0].litlen = (U32)(ip - anchor);
ip                747 lib/zstd/zstd_opt.h 			U32 i, last_i = ZSTD_REP_CHECK + (ip == anchor);
ip                748 lib/zstd/zstd_opt.h 			for (i = (ip == anchor); i < last_i; i++) {
ip                755 lib/zstd/zstd_opt.h 				    && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch))) {
ip                758 lib/zstd/zstd_opt.h 					mlen = (U32)ZSTD_count_2segments(ip + minMatch, repMatch + minMatch, iend, repEnd, prefixStart) + minMatch;
ip                768 lib/zstd/zstd_opt.h 					best_off = i - (ip == anchor);
ip                780 lib/zstd/zstd_opt.h 		match_num = ZSTD_BtGetAllMatches_selectMLS_extDict(ctx, ip, iend, maxSearches, mls, matches, minMatch); /* first search (depth 0) */
ip                783 lib/zstd/zstd_opt.h 			ip++;
ip                818 lib/zstd/zstd_opt.h 			ip++;
ip                824 lib/zstd/zstd_opt.h 			inr = ip + cur;
ip                923 lib/zstd/zstd_opt.h 							price = opt[cur - litlen].price + ZSTD_getPrice(seqStorePtr, litlen, ip + cur - litlen,
ip                967 lib/zstd/zstd_opt.h 				ip++;
ip                973 lib/zstd/zstd_opt.h 			litLength = (U32)(ip - anchor);
ip                995 lib/zstd/zstd_opt.h 			anchor = ip = ip + mlen;
ip                437 mm/kasan/common.c 			      unsigned long ip, bool quarantine)
ip                450 mm/kasan/common.c 		kasan_report_invalid_free(tagged_object, ip);
ip                460 mm/kasan/common.c 		kasan_report_invalid_free(tagged_object, ip);
ip                478 mm/kasan/common.c bool kasan_slab_free(struct kmem_cache *cache, void *object, unsigned long ip)
ip                480 mm/kasan/common.c 	return __kasan_slab_free(cache, object, ip, true);
ip                569 mm/kasan/common.c void kasan_poison_kfree(void *ptr, unsigned long ip)
ip                577 mm/kasan/common.c 			kasan_report_invalid_free(ptr, ip);
ip                582 mm/kasan/common.c 		__kasan_slab_free(page->slab_cache, ptr, ip, false);
ip                586 mm/kasan/common.c void kasan_kfree_large(void *ptr, unsigned long ip)
ip                589 mm/kasan/common.c 		kasan_report_invalid_free(ptr, ip);
ip                629 mm/kasan/common.c extern void __kasan_report(unsigned long addr, size_t size, bool is_write, unsigned long ip);
ip                631 mm/kasan/common.c void kasan_report(unsigned long addr, size_t size, bool is_write, unsigned long ip)
ip                634 mm/kasan/common.c 	__kasan_report(addr, size, is_write, ip);
ip                 61 mm/kasan/kasan.h 	unsigned long ip;
ip                156 mm/kasan/kasan.h 		bool is_write, unsigned long ip);
ip                157 mm/kasan/kasan.h void kasan_report_invalid_free(void *object, unsigned long ip);
ip                 72 mm/kasan/report.c 		get_bug_type(info), (void *)info->ip);
ip                458 mm/kasan/report.c void kasan_report_invalid_free(void *object, unsigned long ip)
ip                465 mm/kasan/report.c 	pr_err("BUG: KASAN: double-free or invalid-free in %pS\n", (void *)ip);
ip                474 mm/kasan/report.c void __kasan_report(unsigned long addr, size_t size, bool is_write, unsigned long ip)
ip                496 mm/kasan/report.c 	info.ip = ip;
ip               4420 mm/memory.c    void print_vma_addr(char *prefix, unsigned long ip)
ip               4431 mm/memory.c    	vma = find_vma(mm, ip);
ip                105 mm/page_owner.c 					 unsigned long ip)
ip                110 mm/page_owner.c 		if (entries[i] == ip)
ip                 52 net/atm/clip.c static int to_atmarpd(enum atmarp_ctrl_type type, int itf, __be32 ip)
ip                 67 net/atm/clip.c 	ctrl->ip = ip;
ip                268 net/atm/clip.c 	__be32 *ip = (__be32 *) neigh->primary_key;
ip                271 net/atm/clip.c 	to_atmarpd(act_need, PRIV(neigh->dev)->number, *ip);
ip                444 net/atm/clip.c static int clip_setentry(struct atm_vcc *vcc, __be32 ip)
ip                457 net/atm/clip.c 	if (!ip) {
ip                466 net/atm/clip.c 	rt = ip_route_output(&init_net, ip, 0, 1, 0);
ip                469 net/atm/clip.c 	neigh = __neigh_lookup(&arp_tbl, &ip, rt->dst.dev, 1);
ip                249 net/atm/mpoa_proc.c 	unsigned char ip[4];
ip                257 net/atm/mpoa_proc.c 			ip, ip+1, ip+2, ip+3) == 4) {
ip                258 net/atm/mpoa_proc.c 		ipaddr = *(__be32 *)ip;
ip                263 net/atm/mpoa_proc.c 			ip, ip+1, ip+2, ip+3, &tx_pcr, &tx_sdu) == 6) {
ip                267 net/atm/mpoa_proc.c 		ip, ip+1, ip+2, ip+3, &tx_pcr, &tx_sdu, &rx_pcr, &rx_sdu) != 8)
ip                270 net/atm/mpoa_proc.c 	ipaddr = *(__be32 *)ip;
ip                291 net/batman-adv/distributed-arp-table.c 	key = (const unsigned char *)&dat->ip;
ip                292 net/batman-adv/distributed-arp-table.c 	for (i = 0; i < sizeof(dat->ip); i++) {
ip                323 net/batman-adv/distributed-arp-table.c batadv_dat_entry_hash_find(struct batadv_priv *bat_priv, __be32 ip,
ip                334 net/batman-adv/distributed-arp-table.c 	to_find.ip = ip;
ip                342 net/batman-adv/distributed-arp-table.c 		if (dat_entry->ip != ip)
ip                363 net/batman-adv/distributed-arp-table.c static void batadv_dat_entry_add(struct batadv_priv *bat_priv, __be32 ip,
ip                369 net/batman-adv/distributed-arp-table.c 	dat_entry = batadv_dat_entry_hash_find(bat_priv, ip, vid);
ip                377 net/batman-adv/distributed-arp-table.c 			   &dat_entry->ip, dat_entry->mac_addr,
ip                386 net/batman-adv/distributed-arp-table.c 	dat_entry->ip = ip;
ip                404 net/batman-adv/distributed-arp-table.c 		   &dat_entry->ip, dat_entry->mac_addr, batadv_print_vid(vid));
ip                643 net/batman-adv/distributed-arp-table.c 	dat.ip = ip_dst;
ip                674 net/batman-adv/distributed-arp-table.c 				    struct sk_buff *skb, __be32 ip,
ip                684 net/batman-adv/distributed-arp-table.c 	cand = batadv_dat_select_candidates(bat_priv, ip, vid);
ip                688 net/batman-adv/distributed-arp-table.c 	batadv_dbg(BATADV_DBG_DAT, bat_priv, "DHT_SEND for %pI4\n", &ip);
ip                883 net/batman-adv/distributed-arp-table.c 				   &dat_entry->ip, dat_entry->mac_addr,
ip                926 net/batman-adv/distributed-arp-table.c 			    dat_entry->ip) ||
ip               1437 net/batman-adv/distributed-arp-table.c 			   dat_entry->mac_addr,	&dat_entry->ip);
ip               2332 net/batman-adv/types.h 	__be32 ip;
ip                 93 net/bridge/br_arp_nd_proxy.c 	__be32 ip = *(__be32 *)data;
ip                 99 net/bridge/br_arp_nd_proxy.c 		addr = inet_confirm_addr(dev_net(dev), in_dev, 0, ip,
ip                102 net/bridge/br_arp_nd_proxy.c 	if (addr == ip)
ip                108 net/bridge/br_arp_nd_proxy.c static bool br_is_local_ip(struct net_device *dev, __be32 ip)
ip                110 net/bridge/br_arp_nd_proxy.c 	if (br_chk_addr_ip(dev, &ip))
ip                114 net/bridge/br_arp_nd_proxy.c 	if (netdev_walk_all_upper_dev_rcu(dev, br_chk_addr_ip, &ip))
ip                 67 net/bridge/br_mdb.c static void __mdb_entry_to_br_ip(struct br_mdb_entry *entry, struct br_ip *ip)
ip                 69 net/bridge/br_mdb.c 	memset(ip, 0, sizeof(struct br_ip));
ip                 70 net/bridge/br_mdb.c 	ip->vid = entry->vid;
ip                 71 net/bridge/br_mdb.c 	ip->proto = entry->addr.proto;
ip                 72 net/bridge/br_mdb.c 	if (ip->proto == htons(ETH_P_IP))
ip                 73 net/bridge/br_mdb.c 		ip->u.ip4 = entry->addr.u.ip4;
ip                 76 net/bridge/br_mdb.c 		ip->u.ip6 = entry->addr.u.ip6;
ip                311 net/bridge/br_mdb.c 	struct br_ip ip;
ip                327 net/bridge/br_mdb.c 	mp = br_mdb_ip_get(br, &data->ip);
ip                411 net/bridge/br_mdb.c 			__mdb_entry_to_br_ip(entry, &complete_info->ip);
ip                654 net/bridge/br_mdb.c 	struct br_ip ip;
ip                672 net/bridge/br_mdb.c 	__mdb_entry_to_br_ip(entry, &ip);
ip                675 net/bridge/br_mdb.c 	ret = br_mdb_add_group(br, p, &ip, entry->state);
ip                736 net/bridge/br_mdb.c 	struct br_ip ip;
ip                742 net/bridge/br_mdb.c 	__mdb_entry_to_br_ip(entry, &ip);
ip                745 net/bridge/br_mdb.c 	mp = br_mdb_ip_get(br, &ip);
ip                114 net/bridge/br_multicast.c 	struct br_ip ip;
ip                122 net/bridge/br_multicast.c 	memset(&ip, 0, sizeof(ip));
ip                123 net/bridge/br_multicast.c 	ip.proto = skb->protocol;
ip                124 net/bridge/br_multicast.c 	ip.vid = vid;
ip                128 net/bridge/br_multicast.c 		ip.u.ip4 = ip_hdr(skb)->daddr;
ip                132 net/bridge/br_multicast.c 		ip.u.ip6 = ipv6_hdr(skb)->daddr;
ip                139 net/bridge/br_multicast.c 	return br_mdb_ip_get_rcu(br, &ip);
ip                701 net/bridge/br_multicast.c 					    struct br_ip *ip,
ip                704 net/bridge/br_multicast.c 	if (ip->proto == htons(ETH_P_IP))
ip                714 net/bridge/br_multicast.c 				      struct br_ip *ip)
ip                719 net/bridge/br_multicast.c 	skb = br_multicast_alloc_query(br, ip, &igmp_type);
ip                731 net/bridge/br_multicast.c 		br_multicast_select_own_querier(br, ip, skb);
ip                 20 net/bridge/netfilter/ebt_among.c 				      const char *mac, __be32 ip)
ip                 35 net/bridge/netfilter/ebt_among.c 	if (ip) {
ip                 39 net/bridge/netfilter/ebt_among.c 				if (p->ip == 0 || p->ip == ip)
ip                 46 net/bridge/netfilter/ebt_among.c 				if (p->ip == 0)
ip               2854 net/core/ethtool.c 	struct flow_dissector_key_ip			ip;
ip               2958 net/core/ethtool.c 			match->key.ip.tos = v4_spec->tos;
ip               2959 net/core/ethtool.c 			match->mask.ip.tos = v4_m_spec->tos;
ip               2963 net/core/ethtool.c 				offsetof(struct ethtool_rx_flow_key, ip);
ip               3010 net/core/ethtool.c 			match->key.ip.tos = v6_spec->tclass;
ip               3011 net/core/ethtool.c 			match->mask.ip.tos = v6_m_spec->tclass;
ip               3015 net/core/ethtool.c 				offsetof(struct ethtool_rx_flow_key, ip);
ip                378 net/core/flow_dissector.c 		struct flow_dissector_key_ip *ip;
ip                380 net/core/flow_dissector.c 		ip = skb_flow_dissector_target(flow_dissector,
ip                383 net/core/flow_dissector.c 		ip->tos = key->tos;
ip                384 net/core/flow_dissector.c 		ip->ttl = key->ttl;
ip                427 net/core/netpoll.c 		udph->check = csum_tcpudp_magic(np->local_ip.ip,
ip                428 net/core/netpoll.c 						np->remote_ip.ip,
ip                447 net/core/netpoll.c 		put_unaligned(np->local_ip.ip, &(iph->saddr));
ip                448 net/core/netpoll.c 		put_unaligned(np->remote_ip.ip, &(iph->daddr));
ip                471 net/core/netpoll.c 		np_info(np, "local IPv4 address %pI4\n", &np->local_ip.ip);
ip                477 net/core/netpoll.c 		np_info(np, "remote IPv4 address %pI4\n", &np->remote_ip.ip);
ip                697 net/core/netpoll.c 	if (!np->local_ip.ip) {
ip                714 net/core/netpoll.c 			np->local_ip.ip = ifa->ifa_local;
ip                715 net/core/netpoll.c 			np_info(np, "local IP %pI4\n", &np->local_ip.ip);
ip                132 net/core/skbuff.c 			       unsigned long ip, bool *pfmemalloc)
ip                998 net/ipv4/arp.c 	__be32 ip = ((struct sockaddr_in *)&r->arp_pa)->sin_addr.s_addr;
ip               1010 net/ipv4/arp.c 		if (!pneigh_lookup(&arp_tbl, net, &ip, dev, 1))
ip               1021 net/ipv4/arp.c 	__be32 ip;
ip               1028 net/ipv4/arp.c 	ip = ((struct sockaddr_in *)&r->arp_pa)->sin_addr.s_addr;
ip               1032 net/ipv4/arp.c 		struct rtable *rt = ip_route_output(net, ip, 0, RTO_ONLINK, 0);
ip               1062 net/ipv4/arp.c 	neigh = __neigh_lookup_errno(&arp_tbl, &ip, dev);
ip               1093 net/ipv4/arp.c 	__be32 ip = ((struct sockaddr_in *) &r->arp_pa)->sin_addr.s_addr;
ip               1097 net/ipv4/arp.c 	neigh = neigh_lookup(&arp_tbl, &ip, dev);
ip               1113 net/ipv4/arp.c static int arp_invalidate(struct net_device *dev, __be32 ip)
ip               1115 net/ipv4/arp.c 	struct neighbour *neigh = neigh_lookup(&arp_tbl, &ip, dev);
ip               1136 net/ipv4/arp.c 	__be32 ip = ((struct sockaddr_in *) &r->arp_pa)->sin_addr.s_addr;
ip               1140 net/ipv4/arp.c 		return pneigh_delete(&arp_tbl, net, &ip, dev);
ip               1151 net/ipv4/arp.c 	__be32 ip;
ip               1156 net/ipv4/arp.c 	ip = ((struct sockaddr_in *)&r->arp_pa)->sin_addr.s_addr;
ip               1158 net/ipv4/arp.c 		struct rtable *rt = ip_route_output(net, ip, 0, RTO_ONLINK, 0);
ip               1166 net/ipv4/arp.c 	return arp_invalidate(dev, ip);
ip               1664 net/ipv4/igmp.c 	struct ip_mc_list __rcu **ip;
ip               1668 net/ipv4/igmp.c 	for (ip = &in_dev->mc_list;
ip               1669 net/ipv4/igmp.c 	     (i = rtnl_dereference(*ip)) != NULL;
ip               1670 net/ipv4/igmp.c 	     ip = &i->next_rcu) {
ip               1674 net/ipv4/igmp.c 				*ip = i->next_rcu;
ip               1670 net/ipv4/ipconfig.c 	char *cp, *ip, *dp;
ip               1696 net/ipv4/ipconfig.c 	ip = addrs;
ip               1697 net/ipv4/ipconfig.c 	while (ip && *ip) {
ip               1698 net/ipv4/ipconfig.c 		if ((cp = strchr(ip, ':')))
ip               1700 net/ipv4/ipconfig.c 		if (strlen(ip) > 0) {
ip               1701 net/ipv4/ipconfig.c 			pr_debug("IP-Config: Parameter #%d: `%s'\n", num, ip);
ip               1704 net/ipv4/ipconfig.c 				if ((ic_myaddr = in_aton(ip)) == ANY)
ip               1708 net/ipv4/ipconfig.c 				if ((ic_servaddr = in_aton(ip)) == ANY)
ip               1712 net/ipv4/ipconfig.c 				if ((ic_gateway = in_aton(ip)) == ANY)
ip               1716 net/ipv4/ipconfig.c 				if ((ic_netmask = in_aton(ip)) == ANY)
ip               1720 net/ipv4/ipconfig.c 				if ((dp = strchr(ip, '.'))) {
ip               1725 net/ipv4/ipconfig.c 				strlcpy(utsname()->nodename, ip,
ip               1730 net/ipv4/ipconfig.c 				strlcpy(user_dev_name, ip, sizeof(user_dev_name));
ip               1733 net/ipv4/ipconfig.c 				if (ic_proto_name(ip) == 0 &&
ip               1740 net/ipv4/ipconfig.c 					ic_nameservers[0] = in_aton(ip);
ip               1747 net/ipv4/ipconfig.c 					ic_nameservers[1] = in_aton(ip);
ip               1754 net/ipv4/ipconfig.c 					ic_ntp_servers[0] = in_aton(ip);
ip               1761 net/ipv4/ipconfig.c 		ip = cp;
ip                 45 net/ipv4/netfilter/ip_tables.c ip_packet_match(const struct iphdr *ip,
ip                 54 net/ipv4/netfilter/ip_tables.c 		    (ip->saddr & ipinfo->smsk.s_addr) != ipinfo->src.s_addr) ||
ip                 56 net/ipv4/netfilter/ip_tables.c 		    (ip->daddr & ipinfo->dmsk.s_addr) != ipinfo->dst.s_addr))
ip                 71 net/ipv4/netfilter/ip_tables.c 	    NF_INVF(ipinfo, IPT_INV_PROTO, ip->protocol != ipinfo->proto))
ip                 84 net/ipv4/netfilter/ip_tables.c ip_checkentry(const struct ipt_ip *ip)
ip                 86 net/ipv4/netfilter/ip_tables.c 	if (ip->flags & ~IPT_F_MASK)
ip                 88 net/ipv4/netfilter/ip_tables.c 	if (ip->invflags & ~IPT_INV_MASK)
ip                115 net/ipv4/netfilter/ip_tables.c 	       memcmp(&e->ip, &uncond, sizeof(uncond)) == 0;
ip                231 net/ipv4/netfilter/ip_tables.c 	const struct iphdr *ip;
ip                244 net/ipv4/netfilter/ip_tables.c 	ip = ip_hdr(skb);
ip                253 net/ipv4/netfilter/ip_tables.c 	acpar.fragoff = ntohs(ip->frag_off) & IP_OFFSET;
ip                284 net/ipv4/netfilter/ip_tables.c 		if (!ip_packet_match(ip, indev, outdev,
ip                285 net/ipv4/netfilter/ip_tables.c 		    &e->ip, acpar.fragoff)) {
ip                331 net/ipv4/netfilter/ip_tables.c 			    !(e->ip.flags & IPT_F_GOTO)) {
ip                349 net/ipv4/netfilter/ip_tables.c 			ip = ip_hdr(skb);
ip                467 net/ipv4/netfilter/ip_tables.c 	const struct ipt_ip *ip = par->entryinfo;
ip                473 net/ipv4/netfilter/ip_tables.c 			      ip->proto, ip->invflags & IPT_INV_PROTO);
ip                512 net/ipv4/netfilter/ip_tables.c 			       e->ip.proto, e->ip.invflags & IPT_INV_PROTO);
ip                534 net/ipv4/netfilter/ip_tables.c 	mtpar.entryinfo = &e->ip;
ip                608 net/ipv4/netfilter/ip_tables.c 	if (!ip_checkentry(&e->ip))
ip               1258 net/ipv4/netfilter/ip_tables.c 		       const struct ipt_ip *ip,
ip               1308 net/ipv4/netfilter/ip_tables.c 	if (!ip_checkentry(&e->ip))
ip               1320 net/ipv4/netfilter/ip_tables.c 		ret = compat_find_calc_match(ematch, &e->ip, &off);
ip                229 net/ipv4/netfilter/ipt_CLUSTERIP.c 		      __be32 ip, const char *iniface)
ip                257 net/ipv4/netfilter/ipt_CLUSTERIP.c 	c->clusterip = ip;
ip                266 net/ipv4/netfilter/ipt_CLUSTERIP.c 	if (__clusterip_config_find(net, ip)) {
ip                279 net/ipv4/netfilter/ipt_CLUSTERIP.c 		sprintf(buffer, "%pI4", &ip);
ip                477 net/ipv4/netfilter/ipt_CLUSTERIP.c 	if (e->ip.dmsk.s_addr != htonl(0xffffffff) ||
ip                478 net/ipv4/netfilter/ipt_CLUSTERIP.c 	    e->ip.dst.s_addr == 0) {
ip                495 net/ipv4/netfilter/ipt_CLUSTERIP.c 	config = clusterip_config_find_get(par->net, e->ip.dst.s_addr, 1);
ip                499 net/ipv4/netfilter/ipt_CLUSTERIP.c 				&e->ip.dst.s_addr);
ip                503 net/ipv4/netfilter/ipt_CLUSTERIP.c 						       e->ip.dst.s_addr,
ip                504 net/ipv4/netfilter/ipt_CLUSTERIP.c 						       e->ip.iniface);
ip                105 net/ipv4/netfilter/ipt_ECN.c 	    (e->ip.proto != IPPROTO_TCP || (e->ip.invflags & XT_INV_PROTO))) {
ip                 78 net/ipv4/netfilter/ipt_REJECT.c 		if (e->ip.proto != IPPROTO_TCP ||
ip                 79 net/ipv4/netfilter/ipt_REJECT.c 		    (e->ip.invflags & XT_INV_PROTO)) {
ip                 70 net/ipv4/netfilter/ipt_SYNPROXY.c 	if (e->ip.proto != IPPROTO_TCP ||
ip                 71 net/ipv4/netfilter/ipt_SYNPROXY.c 	    e->ip.invflags & XT_INV_PROTO)
ip                 25 net/ipv4/netfilter/nf_nat_h323.c 		    unsigned int addroff, __be32 ip, __be16 port)
ip                 30 net/ipv4/netfilter/nf_nat_h323.c 		__be32 ip;
ip                 36 net/ipv4/netfilter/nf_nat_h323.c 	buf.ip = ip;
ip                 76 net/ipv4/netfilter/nf_nat_h323.c 	return set_addr(skb, protoff, data, dataoff, taddr->ipAddress.ip,
ip                 77 net/ipv4/netfilter/nf_nat_h323.c 			addr->ip, port);
ip                 88 net/ipv4/netfilter/nf_nat_h323.c 			addr->ip, port);
ip                105 net/ipv4/netfilter/nf_nat_h323.c 			if (addr.ip == ct->tuplehash[dir].tuple.src.u3.ip &&
ip                113 net/ipv4/netfilter/nf_nat_h323.c 				    (ntohl(addr.ip) & 0xff000000) == 0x7f000000)
ip                117 net/ipv4/netfilter/nf_nat_h323.c 					 &addr.ip, port,
ip                118 net/ipv4/netfilter/nf_nat_h323.c 					 &ct->tuplehash[!dir].tuple.dst.u3.ip,
ip                125 net/ipv4/netfilter/nf_nat_h323.c 			} else if (addr.ip == ct->tuplehash[dir].tuple.dst.u3.ip &&
ip                129 net/ipv4/netfilter/nf_nat_h323.c 					 &addr.ip, port,
ip                130 net/ipv4/netfilter/nf_nat_h323.c 					 &ct->tuplehash[!dir].tuple.src.u3.ip,
ip                157 net/ipv4/netfilter/nf_nat_h323.c 		    addr.ip == ct->tuplehash[dir].tuple.src.u3.ip &&
ip                160 net/ipv4/netfilter/nf_nat_h323.c 				 &addr.ip, ntohs(port),
ip                161 net/ipv4/netfilter/nf_nat_h323.c 				 &ct->tuplehash[!dir].tuple.dst.u3.ip,
ip                266 net/ipv4/netfilter/nf_nat_h323.c 		 &rtp_exp->tuple.src.u3.ip,
ip                268 net/ipv4/netfilter/nf_nat_h323.c 		 &rtp_exp->tuple.dst.u3.ip,
ip                271 net/ipv4/netfilter/nf_nat_h323.c 		 &rtcp_exp->tuple.src.u3.ip,
ip                273 net/ipv4/netfilter/nf_nat_h323.c 		 &rtcp_exp->tuple.dst.u3.ip,
ip                322 net/ipv4/netfilter/nf_nat_h323.c 		 &exp->tuple.src.u3.ip,
ip                324 net/ipv4/netfilter/nf_nat_h323.c 		 &exp->tuple.dst.u3.ip,
ip                382 net/ipv4/netfilter/nf_nat_h323.c 		 &exp->tuple.src.u3.ip,
ip                384 net/ipv4/netfilter/nf_nat_h323.c 		 &exp->tuple.dst.u3.ip,
ip                399 net/ipv4/netfilter/nf_nat_h323.c 	if (this->tuple.src.u3.ip != 0) {	/* Only accept calls from GK */
ip                476 net/ipv4/netfilter/nf_nat_h323.c 	    (ntohl(addr.ip) & 0xff000000) == 0x7f000000) {
ip                487 net/ipv4/netfilter/nf_nat_h323.c 		 &exp->tuple.src.u3.ip,
ip                489 net/ipv4/netfilter/nf_nat_h323.c 		 &exp->tuple.dst.u3.ip,
ip                530 net/ipv4/netfilter/nf_nat_h323.c 	exp->tuple.dst.u3.ip = ct->tuplehash[!dir].tuple.dst.u3.ip;
ip                564 net/ipv4/netfilter/nf_nat_h323.c 		 &exp->tuple.src.u3.ip,
ip                566 net/ipv4/netfilter/nf_nat_h323.c 		 &exp->tuple.dst.u3.ip,
ip                 67 net/ipv4/netfilter/nf_nat_pptp.c 		t.src.u3.ip = master->tuplehash[!exp->dir].tuple.src.u3.ip;
ip                 69 net/ipv4/netfilter/nf_nat_pptp.c 		t.dst.u3.ip = master->tuplehash[!exp->dir].tuple.dst.u3.ip;
ip                 76 net/ipv4/netfilter/nf_nat_pptp.c 		t.src.u3.ip = master->tuplehash[!exp->dir].tuple.src.u3.ip;
ip                 78 net/ipv4/netfilter/nf_nat_pptp.c 		t.dst.u3.ip = master->tuplehash[!exp->dir].tuple.dst.u3.ip;
ip                136 net/ipv4/netfilter/nf_nat_snmp_basic_main.c 		ctx.from = ct->tuplehash[dir].tuple.src.u3.ip;
ip                137 net/ipv4/netfilter/nf_nat_snmp_basic_main.c 		ctx.to = ct->tuplehash[!dir].tuple.dst.u3.ip;
ip                139 net/ipv4/netfilter/nf_nat_snmp_basic_main.c 		ctx.from = ct->tuplehash[!dir].tuple.src.u3.ip;
ip                140 net/ipv4/netfilter/nf_nat_snmp_basic_main.c 		ctx.to = ct->tuplehash[dir].tuple.dst.u3.ip;
ip                147 net/ipv4/netfilter/nf_socket_ipv4.c 		daddr = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.ip;
ip                 14 net/ipv6/ila/ila_xlat.c 	struct ila_params ip;
ip                 72 net/ipv6/ila/ila_xlat.c 	return (ila->xp.ip.locator_match.v64 != *(__be64 *)arg->key);
ip                 88 net/ipv6/ila/ila_xlat.c 	.key_offset = offsetof(struct ila_map, xp.ip.locator_match),
ip                102 net/ipv6/ila/ila_xlat.c 		xp->ip.locator.v64 = (__force __be64)nla_get_u64(
ip                106 net/ipv6/ila/ila_xlat.c 		xp->ip.locator_match.v64 = (__force __be64)nla_get_u64(
ip                110 net/ipv6/ila/ila_xlat.c 		xp->ip.csum_mode = nla_get_u8(info->attrs[ILA_ATTR_CSUM_MODE]);
ip                112 net/ipv6/ila/ila_xlat.c 		xp->ip.csum_mode = ILA_CSUM_NO_ACTION;
ip                115 net/ipv6/ila/ila_xlat.c 		xp->ip.ident_type = nla_get_u8(
ip                118 net/ipv6/ila/ila_xlat.c 		xp->ip.ident_type = ILA_ATYPE_USE_FORMAT;
ip                151 net/ipv6/ila/ila_xlat.c 				     &xp->ip.locator_match,
ip                208 net/ipv6/ila/ila_xlat.c 	spinlock_t *lock = ila_get_lock(ilan, xp->ip.locator_match);
ip                227 net/ipv6/ila/ila_xlat.c 	ila_init_saved_csum(&xp->ip);
ip                236 net/ipv6/ila/ila_xlat.c 				      &xp->ip.locator_match,
ip                287 net/ipv6/ila/ila_xlat.c 	spinlock_t *lock = ila_get_lock(ilan, xp->ip.locator_match);
ip                293 net/ipv6/ila/ila_xlat.c 				      &xp->ip.locator_match, rht_params);
ip                376 net/ipv6/ila/ila_xlat.c 	return ila_get_lock(ilan, ila->xp.ip.locator_match);
ip                427 net/ipv6/ila/ila_xlat.c 			      (__force u64)ila->xp.ip.locator.v64,
ip                430 net/ipv6/ila/ila_xlat.c 			      (__force u64)ila->xp.ip.locator_match.v64,
ip                433 net/ipv6/ila/ila_xlat.c 	    nla_put_u8(msg, ILA_ATTR_CSUM_MODE, ila->xp.ip.csum_mode) ||
ip                434 net/ipv6/ila/ila_xlat.c 	    nla_put_u8(msg, ILA_ATTR_IDENT_TYPE, ila->xp.ip.ident_type))
ip                652 net/ipv6/ila/ila_xlat.c 		ila_update_ipv6_locator(skb, &ila->xp.ip, sir2ila);
ip               1549 net/l2tp/l2tp_ppp.c 	u32 ip = 0;
ip               1554 net/l2tp/l2tp_ppp.c 		ip = ntohl(inet->inet_saddr);
ip               1569 net/l2tp/l2tp_ppp.c 		   session->name, ip, port,
ip                 59 net/netfilter/ipset/ip_set_bitmap_ip.c ip_to_id(const struct bitmap_ip *m, u32 ip)
ip                 61 net/netfilter/ipset/ip_set_bitmap_ip.c 	return ((ip & ip_set_hostmask(m->netmask)) - m->first_ip) / m->hosts;
ip                118 net/netfilter/ipset/ip_set_bitmap_ip.c 	u32 ip;
ip                120 net/netfilter/ipset/ip_set_bitmap_ip.c 	ip = ntohl(ip4addr(skb, opt->flags & IPSET_DIM_ONE_SRC));
ip                121 net/netfilter/ipset/ip_set_bitmap_ip.c 	if (ip < map->first_ip || ip > map->last_ip)
ip                124 net/netfilter/ipset/ip_set_bitmap_ip.c 	e.id = ip_to_id(map, ip);
ip                135 net/netfilter/ipset/ip_set_bitmap_ip.c 	u32 ip = 0, ip_to = 0;
ip                146 net/netfilter/ipset/ip_set_bitmap_ip.c 	ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip);
ip                154 net/netfilter/ipset/ip_set_bitmap_ip.c 	if (ip < map->first_ip || ip > map->last_ip)
ip                158 net/netfilter/ipset/ip_set_bitmap_ip.c 		e.id = ip_to_id(map, ip);
ip                166 net/netfilter/ipset/ip_set_bitmap_ip.c 		if (ip > ip_to) {
ip                167 net/netfilter/ipset/ip_set_bitmap_ip.c 			swap(ip, ip_to);
ip                168 net/netfilter/ipset/ip_set_bitmap_ip.c 			if (ip < map->first_ip)
ip                176 net/netfilter/ipset/ip_set_bitmap_ip.c 		ip_set_mask_from_to(ip, ip_to, cidr);
ip                178 net/netfilter/ipset/ip_set_bitmap_ip.c 		ip_to = ip;
ip                184 net/netfilter/ipset/ip_set_bitmap_ip.c 	for (; !before(ip_to, ip); ip += map->hosts) {
ip                185 net/netfilter/ipset/ip_set_bitmap_ip.c 		e.id = ip_to_id(map, ip);
ip                 69 net/netfilter/ipset/ip_set_bitmap_ipmac.c ip_to_id(const struct bitmap_ipmac *m, u32 ip)
ip                 71 net/netfilter/ipset/ip_set_bitmap_ipmac.c 	return ip - m->first_ip;
ip                216 net/netfilter/ipset/ip_set_bitmap_ipmac.c 	u32 ip;
ip                218 net/netfilter/ipset/ip_set_bitmap_ipmac.c 	ip = ntohl(ip4addr(skb, opt->flags & IPSET_DIM_ONE_SRC));
ip                219 net/netfilter/ipset/ip_set_bitmap_ipmac.c 	if (ip < map->first_ip || ip > map->last_ip)
ip                227 net/netfilter/ipset/ip_set_bitmap_ipmac.c 	e.id = ip_to_id(map, ip);
ip                248 net/netfilter/ipset/ip_set_bitmap_ipmac.c 	u32 ip = 0;
ip                257 net/netfilter/ipset/ip_set_bitmap_ipmac.c 	ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip);
ip                265 net/netfilter/ipset/ip_set_bitmap_ipmac.c 	if (ip < map->first_ip || ip > map->last_ip)
ip                268 net/netfilter/ipset/ip_set_bitmap_ipmac.c 	e.id = ip_to_id(map, ip);
ip                 42 net/netfilter/ipset/ip_set_hash_ip.c 	__be32 ip;
ip                 52 net/netfilter/ipset/ip_set_hash_ip.c 	return e1->ip == e2->ip;
ip                 58 net/netfilter/ipset/ip_set_hash_ip.c 	if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, e->ip))
ip                 69 net/netfilter/ipset/ip_set_hash_ip.c 	next->ip = e->ip;
ip                 85 net/netfilter/ipset/ip_set_hash_ip.c 	__be32 ip;
ip                 87 net/netfilter/ipset/ip_set_hash_ip.c 	ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &ip);
ip                 88 net/netfilter/ipset/ip_set_hash_ip.c 	ip &= ip_set_netmask(h->netmask);
ip                 89 net/netfilter/ipset/ip_set_hash_ip.c 	if (ip == 0)
ip                 92 net/netfilter/ipset/ip_set_hash_ip.c 	e.ip = ip;
ip                104 net/netfilter/ipset/ip_set_hash_ip.c 	u32 ip = 0, ip_to = 0, hosts;
ip                113 net/netfilter/ipset/ip_set_hash_ip.c 	ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip);
ip                121 net/netfilter/ipset/ip_set_hash_ip.c 	ip &= ip_set_hostmask(h->netmask);
ip                122 net/netfilter/ipset/ip_set_hash_ip.c 	e.ip = htonl(ip);
ip                123 net/netfilter/ipset/ip_set_hash_ip.c 	if (e.ip == 0)
ip                129 net/netfilter/ipset/ip_set_hash_ip.c 	ip_to = ip;
ip                134 net/netfilter/ipset/ip_set_hash_ip.c 		if (ip > ip_to)
ip                135 net/netfilter/ipset/ip_set_hash_ip.c 			swap(ip, ip_to);
ip                141 net/netfilter/ipset/ip_set_hash_ip.c 		ip_set_mask_from_to(ip, ip_to, cidr);
ip                147 net/netfilter/ipset/ip_set_hash_ip.c 		ip = ntohl(h->next.ip);
ip                148 net/netfilter/ipset/ip_set_hash_ip.c 		e.ip = htonl(ip);
ip                150 net/netfilter/ipset/ip_set_hash_ip.c 	for (; ip <= ip_to;) {
ip                155 net/netfilter/ipset/ip_set_hash_ip.c 		ip += hosts;
ip                156 net/netfilter/ipset/ip_set_hash_ip.c 		e.ip = htonl(ip);
ip                157 net/netfilter/ipset/ip_set_hash_ip.c 		if (e.ip == 0)
ip                169 net/netfilter/ipset/ip_set_hash_ip.c 	union nf_inet_addr ip;
ip                179 net/netfilter/ipset/ip_set_hash_ip.c 	return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6);
ip                183 net/netfilter/ipset/ip_set_hash_ip.c hash_ip6_netmask(union nf_inet_addr *ip, u8 prefix)
ip                185 net/netfilter/ipset/ip_set_hash_ip.c 	ip6_netmask(ip, prefix);
ip                191 net/netfilter/ipset/ip_set_hash_ip.c 	if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &e->ip.in6))
ip                223 net/netfilter/ipset/ip_set_hash_ip.c 	ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6);
ip                224 net/netfilter/ipset/ip_set_hash_ip.c 	hash_ip6_netmask(&e.ip, h->netmask);
ip                225 net/netfilter/ipset/ip_set_hash_ip.c 	if (ipv6_addr_any(&e.ip.in6))
ip                255 net/netfilter/ipset/ip_set_hash_ip.c 	ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip);
ip                263 net/netfilter/ipset/ip_set_hash_ip.c 	hash_ip6_netmask(&e.ip, h->netmask);
ip                264 net/netfilter/ipset/ip_set_hash_ip.c 	if (ipv6_addr_any(&e.ip.in6))
ip                 41 net/netfilter/ipset/ip_set_hash_ipmac.c 	__be32 ip;
ip                 55 net/netfilter/ipset/ip_set_hash_ipmac.c 	return e1->ip == e2->ip && ether_addr_equal(e1->ether, e2->ether);
ip                 61 net/netfilter/ipset/ip_set_hash_ipmac.c 	if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, e->ip) ||
ip                 74 net/netfilter/ipset/ip_set_hash_ipmac.c 	next->ip = e->ip;
ip                 89 net/netfilter/ipset/ip_set_hash_ipmac.c 	struct hash_ipmac4_elem e = { .ip = 0, { .foo[0] = 0, .foo[1] = 0 } };
ip                104 net/netfilter/ipset/ip_set_hash_ipmac.c 	ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip);
ip                114 net/netfilter/ipset/ip_set_hash_ipmac.c 	struct hash_ipmac4_elem e = { .ip = 0, { .foo[0] = 0, .foo[1] = 0 } };
ip                132 net/netfilter/ipset/ip_set_hash_ipmac.c 	ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip) ||
ip                148 net/netfilter/ipset/ip_set_hash_ipmac.c 	union nf_inet_addr ip;
ip                162 net/netfilter/ipset/ip_set_hash_ipmac.c 	return ipv6_addr_equal(&e1->ip.in6, &e2->ip.in6) &&
ip                169 net/netfilter/ipset/ip_set_hash_ipmac.c 	if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &e->ip.in6) ||
ip                220 net/netfilter/ipset/ip_set_hash_ipmac.c 	ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6);
ip                251 net/netfilter/ipset/ip_set_hash_ipmac.c 	ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip) ||
ip                 39 net/netfilter/ipset/ip_set_hash_ipmark.c 	__be32 ip;
ip                 50 net/netfilter/ipset/ip_set_hash_ipmark.c 	return ip1->ip == ip2->ip &&
ip                 58 net/netfilter/ipset/ip_set_hash_ipmark.c 	if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) ||
ip                 71 net/netfilter/ipset/ip_set_hash_ipmark.c 	next->ip = d->ip;
ip                 91 net/netfilter/ipset/ip_set_hash_ipmark.c 	ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip);
ip                103 net/netfilter/ipset/ip_set_hash_ipmark.c 	u32 ip, ip_to = 0;
ip                113 net/netfilter/ipset/ip_set_hash_ipmark.c 	ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip);
ip                130 net/netfilter/ipset/ip_set_hash_ipmark.c 	ip_to = ip = ntohl(e.ip);
ip                135 net/netfilter/ipset/ip_set_hash_ipmark.c 		if (ip > ip_to)
ip                136 net/netfilter/ipset/ip_set_hash_ipmark.c 			swap(ip, ip_to);
ip                142 net/netfilter/ipset/ip_set_hash_ipmark.c 		ip_set_mask_from_to(ip, ip_to, cidr);
ip                146 net/netfilter/ipset/ip_set_hash_ipmark.c 		ip = ntohl(h->next.ip);
ip                147 net/netfilter/ipset/ip_set_hash_ipmark.c 	for (; ip <= ip_to; ip++) {
ip                148 net/netfilter/ipset/ip_set_hash_ipmark.c 		e.ip = htonl(ip);
ip                162 net/netfilter/ipset/ip_set_hash_ipmark.c 	union nf_inet_addr ip;
ip                173 net/netfilter/ipset/ip_set_hash_ipmark.c 	return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) &&
ip                181 net/netfilter/ipset/ip_set_hash_ipmark.c 	if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) ||
ip                217 net/netfilter/ipset/ip_set_hash_ipmark.c 	ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6);
ip                246 net/netfilter/ipset/ip_set_hash_ipmark.c 	ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip);
ip                 42 net/netfilter/ipset/ip_set_hash_ipport.c 	__be32 ip;
ip                 55 net/netfilter/ipset/ip_set_hash_ipport.c 	return ip1->ip == ip2->ip &&
ip                 64 net/netfilter/ipset/ip_set_hash_ipport.c 	if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) ||
ip                 78 net/netfilter/ipset/ip_set_hash_ipport.c 	next->ip = d->ip;
ip                 92 net/netfilter/ipset/ip_set_hash_ipport.c 	struct hash_ipport4_elem e = { .ip = 0 };
ip                 99 net/netfilter/ipset/ip_set_hash_ipport.c 	ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip);
ip                109 net/netfilter/ipset/ip_set_hash_ipport.c 	struct hash_ipport4_elem e = { .ip = 0 };
ip                111 net/netfilter/ipset/ip_set_hash_ipport.c 	u32 ip, ip_to = 0, p = 0, port, port_to;
ip                123 net/netfilter/ipset/ip_set_hash_ipport.c 	ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip);
ip                153 net/netfilter/ipset/ip_set_hash_ipport.c 	ip_to = ip = ntohl(e.ip);
ip                158 net/netfilter/ipset/ip_set_hash_ipport.c 		if (ip > ip_to)
ip                159 net/netfilter/ipset/ip_set_hash_ipport.c 			swap(ip, ip_to);
ip                165 net/netfilter/ipset/ip_set_hash_ipport.c 		ip_set_mask_from_to(ip, ip_to, cidr);
ip                176 net/netfilter/ipset/ip_set_hash_ipport.c 		ip = ntohl(h->next.ip);
ip                177 net/netfilter/ipset/ip_set_hash_ipport.c 	for (; ip <= ip_to; ip++) {
ip                178 net/netfilter/ipset/ip_set_hash_ipport.c 		p = retried && ip == ntohl(h->next.ip) ? ntohs(h->next.port)
ip                181 net/netfilter/ipset/ip_set_hash_ipport.c 			e.ip = htonl(ip);
ip                197 net/netfilter/ipset/ip_set_hash_ipport.c 	union nf_inet_addr ip;
ip                210 net/netfilter/ipset/ip_set_hash_ipport.c 	return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) &&
ip                219 net/netfilter/ipset/ip_set_hash_ipport.c 	if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) ||
ip                250 net/netfilter/ipset/ip_set_hash_ipport.c 	struct hash_ipport6_elem e = { .ip = { .all = { 0 } } };
ip                257 net/netfilter/ipset/ip_set_hash_ipport.c 	ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6);
ip                267 net/netfilter/ipset/ip_set_hash_ipport.c 	struct hash_ipport6_elem e = { .ip = { .all = { 0 } } };
ip                289 net/netfilter/ipset/ip_set_hash_ipport.c 	ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip);
ip                 42 net/netfilter/ipset/ip_set_hash_ipportip.c 	__be32 ip;
ip                 54 net/netfilter/ipset/ip_set_hash_ipportip.c 	return ip1->ip == ip2->ip &&
ip                 64 net/netfilter/ipset/ip_set_hash_ipportip.c 	if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) ||
ip                 79 net/netfilter/ipset/ip_set_hash_ipportip.c 	next->ip = d->ip;
ip                 94 net/netfilter/ipset/ip_set_hash_ipportip.c 	struct hash_ipportip4_elem e = { .ip = 0 };
ip                101 net/netfilter/ipset/ip_set_hash_ipportip.c 	ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip);
ip                112 net/netfilter/ipset/ip_set_hash_ipportip.c 	struct hash_ipportip4_elem e = { .ip = 0 };
ip                114 net/netfilter/ipset/ip_set_hash_ipportip.c 	u32 ip, ip_to = 0, p = 0, port, port_to;
ip                126 net/netfilter/ipset/ip_set_hash_ipportip.c 	ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip);
ip                160 net/netfilter/ipset/ip_set_hash_ipportip.c 	ip_to = ip = ntohl(e.ip);
ip                165 net/netfilter/ipset/ip_set_hash_ipportip.c 		if (ip > ip_to)
ip                166 net/netfilter/ipset/ip_set_hash_ipportip.c 			swap(ip, ip_to);
ip                172 net/netfilter/ipset/ip_set_hash_ipportip.c 		ip_set_mask_from_to(ip, ip_to, cidr);
ip                183 net/netfilter/ipset/ip_set_hash_ipportip.c 		ip = ntohl(h->next.ip);
ip                184 net/netfilter/ipset/ip_set_hash_ipportip.c 	for (; ip <= ip_to; ip++) {
ip                185 net/netfilter/ipset/ip_set_hash_ipportip.c 		p = retried && ip == ntohl(h->next.ip) ? ntohs(h->next.port)
ip                188 net/netfilter/ipset/ip_set_hash_ipportip.c 			e.ip = htonl(ip);
ip                204 net/netfilter/ipset/ip_set_hash_ipportip.c 	union nf_inet_addr ip;
ip                218 net/netfilter/ipset/ip_set_hash_ipportip.c 	return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) &&
ip                228 net/netfilter/ipset/ip_set_hash_ipportip.c 	if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) ||
ip                260 net/netfilter/ipset/ip_set_hash_ipportip.c 	struct hash_ipportip6_elem e = { .ip = { .all = { 0 } } };
ip                267 net/netfilter/ipset/ip_set_hash_ipportip.c 	ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6);
ip                278 net/netfilter/ipset/ip_set_hash_ipportip.c 	struct hash_ipportip6_elem e = {  .ip = { .all = { 0 } } };
ip                300 net/netfilter/ipset/ip_set_hash_ipportip.c 	ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip);
ip                 52 net/netfilter/ipset/ip_set_hash_ipportnet.c 	__be32 ip;
ip                 67 net/netfilter/ipset/ip_set_hash_ipportnet.c 	return ip1->ip == ip2->ip &&
ip                105 net/netfilter/ipset/ip_set_hash_ipportnet.c 	if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) ||
ip                123 net/netfilter/ipset/ip_set_hash_ipportnet.c 	next->ip = d->ip;
ip                151 net/netfilter/ipset/ip_set_hash_ipportnet.c 	ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip);
ip                166 net/netfilter/ipset/ip_set_hash_ipportnet.c 	u32 ip = 0, ip_to = 0, p = 0, port, port_to;
ip                181 net/netfilter/ipset/ip_set_hash_ipportnet.c 	ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip);
ip                226 net/netfilter/ipset/ip_set_hash_ipportnet.c 		e.ip = htonl(ip);
ip                233 net/netfilter/ipset/ip_set_hash_ipportnet.c 	ip_to = ip;
ip                238 net/netfilter/ipset/ip_set_hash_ipportnet.c 		if (ip > ip_to)
ip                239 net/netfilter/ipset/ip_set_hash_ipportnet.c 			swap(ip, ip_to);
ip                245 net/netfilter/ipset/ip_set_hash_ipportnet.c 		ip_set_mask_from_to(ip, ip_to, cidr);
ip                269 net/netfilter/ipset/ip_set_hash_ipportnet.c 		ip = ntohl(h->next.ip);
ip                276 net/netfilter/ipset/ip_set_hash_ipportnet.c 	for (; ip <= ip_to; ip++) {
ip                277 net/netfilter/ipset/ip_set_hash_ipportnet.c 		e.ip = htonl(ip);
ip                301 net/netfilter/ipset/ip_set_hash_ipportnet.c 	union nf_inet_addr ip;
ip                316 net/netfilter/ipset/ip_set_hash_ipportnet.c 	return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) &&
ip                354 net/netfilter/ipset/ip_set_hash_ipportnet.c 	if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) ||
ip                402 net/netfilter/ipset/ip_set_hash_ipportnet.c 	ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6);
ip                439 net/netfilter/ipset/ip_set_hash_ipportnet.c 	ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip);
ip                 42 net/netfilter/ipset/ip_set_hash_net.c 	__be32 ip;
ip                 55 net/netfilter/ipset/ip_set_hash_net.c 	return ip1->ip == ip2->ip &&
ip                 80 net/netfilter/ipset/ip_set_hash_net.c 	elem->ip &= ip_set_netmask(cidr);
ip                 89 net/netfilter/ipset/ip_set_hash_net.c 	if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) ||
ip                104 net/netfilter/ipset/ip_set_hash_net.c 	next->ip = d->ip;
ip                128 net/netfilter/ipset/ip_set_hash_net.c 	ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip);
ip                129 net/netfilter/ipset/ip_set_hash_net.c 	e.ip &= ip_set_netmask(e.cidr);
ip                142 net/netfilter/ipset/ip_set_hash_net.c 	u32 ip = 0, ip_to = 0;
ip                152 net/netfilter/ipset/ip_set_hash_net.c 	ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip);
ip                174 net/netfilter/ipset/ip_set_hash_net.c 		e.ip = htonl(ip & ip_set_hostmask(e.cidr));
ip                180 net/netfilter/ipset/ip_set_hash_net.c 	ip_to = ip;
ip                185 net/netfilter/ipset/ip_set_hash_net.c 		if (ip_to < ip)
ip                186 net/netfilter/ipset/ip_set_hash_net.c 			swap(ip, ip_to);
ip                187 net/netfilter/ipset/ip_set_hash_net.c 		if (ip + UINT_MAX == ip_to)
ip                191 net/netfilter/ipset/ip_set_hash_net.c 		ip = ntohl(h->next.ip);
ip                193 net/netfilter/ipset/ip_set_hash_net.c 		e.ip = htonl(ip);
ip                194 net/netfilter/ipset/ip_set_hash_net.c 		ip = ip_set_range_to_cidr(ip, ip_to, &e.cidr);
ip                200 net/netfilter/ipset/ip_set_hash_net.c 	} while (ip++ < ip_to);
ip                207 net/netfilter/ipset/ip_set_hash_net.c 	union nf_inet_addr ip;
ip                220 net/netfilter/ipset/ip_set_hash_net.c 	return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) &&
ip                245 net/netfilter/ipset/ip_set_hash_net.c 	ip6_netmask(&elem->ip, cidr);
ip                254 net/netfilter/ipset/ip_set_hash_net.c 	if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) ||
ip                296 net/netfilter/ipset/ip_set_hash_net.c 	ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6);
ip                297 net/netfilter/ipset/ip_set_hash_net.c 	ip6_netmask(&e.ip, e.cidr);
ip                320 net/netfilter/ipset/ip_set_hash_net.c 	ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip);
ip                334 net/netfilter/ipset/ip_set_hash_net.c 	ip6_netmask(&e.ip, e.cidr);
ip                 46 net/netfilter/ipset/ip_set_hash_netiface.c 	__be32 ip;
ip                 55 net/netfilter/ipset/ip_set_hash_netiface.c 	__be32 ip;
ip                 70 net/netfilter/ipset/ip_set_hash_netiface.c 	return ip1->ip == ip2->ip &&
ip                 98 net/netfilter/ipset/ip_set_hash_netiface.c 	elem->ip &= ip_set_netmask(cidr);
ip                110 net/netfilter/ipset/ip_set_hash_netiface.c 	if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) ||
ip                126 net/netfilter/ipset/ip_set_hash_netiface.c 	next->ip = d->ip;
ip                166 net/netfilter/ipset/ip_set_hash_netiface.c 	ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip);
ip                167 net/netfilter/ipset/ip_set_hash_netiface.c 	e.ip &= ip_set_netmask(e.cidr);
ip                199 net/netfilter/ipset/ip_set_hash_netiface.c 	u32 ip = 0, ip_to = 0;
ip                210 net/netfilter/ipset/ip_set_hash_netiface.c 	ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip);
ip                234 net/netfilter/ipset/ip_set_hash_netiface.c 		e.ip = htonl(ip & ip_set_hostmask(e.cidr));
ip                244 net/netfilter/ipset/ip_set_hash_netiface.c 		if (ip_to < ip)
ip                245 net/netfilter/ipset/ip_set_hash_netiface.c 			swap(ip, ip_to);
ip                246 net/netfilter/ipset/ip_set_hash_netiface.c 		if (ip + UINT_MAX == ip_to)
ip                249 net/netfilter/ipset/ip_set_hash_netiface.c 		ip_set_mask_from_to(ip, ip_to, e.cidr);
ip                253 net/netfilter/ipset/ip_set_hash_netiface.c 		ip = ntohl(h->next.ip);
ip                255 net/netfilter/ipset/ip_set_hash_netiface.c 		e.ip = htonl(ip);
ip                256 net/netfilter/ipset/ip_set_hash_netiface.c 		ip = ip_set_range_to_cidr(ip, ip_to, &e.cidr);
ip                263 net/netfilter/ipset/ip_set_hash_netiface.c 	} while (ip++ < ip_to);
ip                270 net/netfilter/ipset/ip_set_hash_netiface.c 	union nf_inet_addr ip;
ip                278 net/netfilter/ipset/ip_set_hash_netiface.c 	union nf_inet_addr ip;
ip                293 net/netfilter/ipset/ip_set_hash_netiface.c 	return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) &&
ip                321 net/netfilter/ipset/ip_set_hash_netiface.c 	ip6_netmask(&elem->ip, cidr);
ip                333 net/netfilter/ipset/ip_set_hash_netiface.c 	if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) ||
ip                376 net/netfilter/ipset/ip_set_hash_netiface.c 	ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6);
ip                377 net/netfilter/ipset/ip_set_hash_netiface.c 	ip6_netmask(&e.ip, e.cidr);
ip                418 net/netfilter/ipset/ip_set_hash_netiface.c 	ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip);
ip                432 net/netfilter/ipset/ip_set_hash_netiface.c 	ip6_netmask(&e.ip, e.cidr);
ip                 42 net/netfilter/ipset/ip_set_hash_netnet.c 		__be32 ip[2];
ip                 86 net/netfilter/ipset/ip_set_hash_netnet.c 	elem->ip[1] = orig->ip[1];
ip                 93 net/netfilter/ipset/ip_set_hash_netnet.c 		elem->ip[1] &= ip_set_netmask(cidr);
ip                 96 net/netfilter/ipset/ip_set_hash_netnet.c 		elem->ip[0] &= ip_set_netmask(cidr);
ip                107 net/netfilter/ipset/ip_set_hash_netnet.c 	if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip[0]) ||
ip                108 net/netfilter/ipset/ip_set_hash_netnet.c 	    nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip[1]) ||
ip                153 net/netfilter/ipset/ip_set_hash_netnet.c 	ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0]);
ip                154 net/netfilter/ipset/ip_set_hash_netnet.c 	ip4addrptr(skb, opt->flags & IPSET_DIM_TWO_SRC, &e.ip[1]);
ip                155 net/netfilter/ipset/ip_set_hash_netnet.c 	e.ip[0] &= ip_set_netmask(e.cidr[0]);
ip                156 net/netfilter/ipset/ip_set_hash_netnet.c 	e.ip[1] &= ip_set_netmask(e.cidr[1]);
ip                169 net/netfilter/ipset/ip_set_hash_netnet.c 	u32 ip = 0, ip_to = 0;
ip                181 net/netfilter/ipset/ip_set_hash_netnet.c 	ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip);
ip                214 net/netfilter/ipset/ip_set_hash_netnet.c 		e.ip[0] = htonl(ip & ip_set_hostmask(e.cidr[0]));
ip                215 net/netfilter/ipset/ip_set_hash_netnet.c 		e.ip[1] = htonl(ip2_from & ip_set_hostmask(e.cidr[1]));
ip                221 net/netfilter/ipset/ip_set_hash_netnet.c 	ip_to = ip;
ip                226 net/netfilter/ipset/ip_set_hash_netnet.c 		if (ip_to < ip)
ip                227 net/netfilter/ipset/ip_set_hash_netnet.c 			swap(ip, ip_to);
ip                228 net/netfilter/ipset/ip_set_hash_netnet.c 		if (unlikely(ip + UINT_MAX == ip_to))
ip                231 net/netfilter/ipset/ip_set_hash_netnet.c 		ip_set_mask_from_to(ip, ip_to, e.cidr[0]);
ip                248 net/netfilter/ipset/ip_set_hash_netnet.c 		ip = ntohl(h->next.ip[0]);
ip                249 net/netfilter/ipset/ip_set_hash_netnet.c 		ip2 = ntohl(h->next.ip[1]);
ip                255 net/netfilter/ipset/ip_set_hash_netnet.c 		e.ip[0] = htonl(ip);
ip                256 net/netfilter/ipset/ip_set_hash_netnet.c 		ip = ip_set_range_to_cidr(ip, ip_to, &e.cidr[0]);
ip                258 net/netfilter/ipset/ip_set_hash_netnet.c 			e.ip[1] = htonl(ip2);
ip                267 net/netfilter/ipset/ip_set_hash_netnet.c 	} while (ip++ < ip_to);
ip                274 net/netfilter/ipset/ip_set_hash_netnet.c 	union nf_inet_addr ip[2];
ip                290 net/netfilter/ipset/ip_set_hash_netnet.c 	return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) &&
ip                291 net/netfilter/ipset/ip_set_hash_netnet.c 	       ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) &&
ip                317 net/netfilter/ipset/ip_set_hash_netnet.c 	elem->ip[1] = orig->ip[1];
ip                324 net/netfilter/ipset/ip_set_hash_netnet.c 		ip6_netmask(&elem->ip[1], cidr);
ip                327 net/netfilter/ipset/ip_set_hash_netnet.c 		ip6_netmask(&elem->ip[0], cidr);
ip                338 net/netfilter/ipset/ip_set_hash_netnet.c 	if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip[0].in6) ||
ip                339 net/netfilter/ipset/ip_set_hash_netnet.c 	    nla_put_ipaddr6(skb, IPSET_ATTR_IP2, &data->ip[1].in6) ||
ip                387 net/netfilter/ipset/ip_set_hash_netnet.c 	ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0].in6);
ip                388 net/netfilter/ipset/ip_set_hash_netnet.c 	ip6addrptr(skb, opt->flags & IPSET_DIM_TWO_SRC, &e.ip[1].in6);
ip                389 net/netfilter/ipset/ip_set_hash_netnet.c 	ip6_netmask(&e.ip[0], e.cidr[0]);
ip                390 net/netfilter/ipset/ip_set_hash_netnet.c 	ip6_netmask(&e.ip[1], e.cidr[1]);
ip                414 net/netfilter/ipset/ip_set_hash_netnet.c 	ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip[0]);
ip                418 net/netfilter/ipset/ip_set_hash_netnet.c 	ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP2], &e.ip[1]);
ip                438 net/netfilter/ipset/ip_set_hash_netnet.c 	ip6_netmask(&e.ip[0], e.cidr[0]);
ip                439 net/netfilter/ipset/ip_set_hash_netnet.c 	ip6_netmask(&e.ip[1], e.cidr[1]);
ip                 51 net/netfilter/ipset/ip_set_hash_netport.c 	__be32 ip;
ip                 65 net/netfilter/ipset/ip_set_hash_netport.c 	return ip1->ip == ip2->ip &&
ip                 92 net/netfilter/ipset/ip_set_hash_netport.c 	elem->ip &= ip_set_netmask(cidr);
ip                102 net/netfilter/ipset/ip_set_hash_netport.c 	if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) ||
ip                119 net/netfilter/ipset/ip_set_hash_netport.c 	next->ip = d->ip;
ip                146 net/netfilter/ipset/ip_set_hash_netport.c 	ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip);
ip                147 net/netfilter/ipset/ip_set_hash_netport.c 	e.ip &= ip_set_netmask(e.cidr + 1);
ip                160 net/netfilter/ipset/ip_set_hash_netport.c 	u32 port, port_to, p = 0, ip = 0, ip_to = 0;
ip                174 net/netfilter/ipset/ip_set_hash_netport.c 	ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip);
ip                214 net/netfilter/ipset/ip_set_hash_netport.c 		e.ip = htonl(ip & ip_set_hostmask(e.cidr + 1));
ip                230 net/netfilter/ipset/ip_set_hash_netport.c 		if (ip_to < ip)
ip                231 net/netfilter/ipset/ip_set_hash_netport.c 			swap(ip, ip_to);
ip                232 net/netfilter/ipset/ip_set_hash_netport.c 		if (ip + UINT_MAX == ip_to)
ip                235 net/netfilter/ipset/ip_set_hash_netport.c 		ip_set_mask_from_to(ip, ip_to, e.cidr + 1);
ip                239 net/netfilter/ipset/ip_set_hash_netport.c 		ip = ntohl(h->next.ip);
ip                245 net/netfilter/ipset/ip_set_hash_netport.c 		e.ip = htonl(ip);
ip                246 net/netfilter/ipset/ip_set_hash_netport.c 		ip = ip_set_range_to_cidr(ip, ip_to, &cidr);
ip                257 net/netfilter/ipset/ip_set_hash_netport.c 	} while (ip++ < ip_to);
ip                264 net/netfilter/ipset/ip_set_hash_netport.c 	union nf_inet_addr ip;
ip                278 net/netfilter/ipset/ip_set_hash_netport.c 	return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) &&
ip                305 net/netfilter/ipset/ip_set_hash_netport.c 	ip6_netmask(&elem->ip, cidr);
ip                315 net/netfilter/ipset/ip_set_hash_netport.c 	if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) ||
ip                362 net/netfilter/ipset/ip_set_hash_netport.c 	ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6);
ip                363 net/netfilter/ipset/ip_set_hash_netport.c 	ip6_netmask(&e.ip, e.cidr + 1);
ip                392 net/netfilter/ipset/ip_set_hash_netport.c 	ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip);
ip                406 net/netfilter/ipset/ip_set_hash_netport.c 	ip6_netmask(&e.ip, e.cidr + 1);
ip                 44 net/netfilter/ipset/ip_set_hash_netportnet.c 		__be32 ip[2];
ip                 92 net/netfilter/ipset/ip_set_hash_netportnet.c 	elem->ip[1] = orig->ip[1];
ip                100 net/netfilter/ipset/ip_set_hash_netportnet.c 		elem->ip[1] &= ip_set_netmask(cidr);
ip                103 net/netfilter/ipset/ip_set_hash_netportnet.c 		elem->ip[0] &= ip_set_netmask(cidr);
ip                114 net/netfilter/ipset/ip_set_hash_netportnet.c 	if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip[0]) ||
ip                115 net/netfilter/ipset/ip_set_hash_netportnet.c 	    nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip[1]) ||
ip                167 net/netfilter/ipset/ip_set_hash_netportnet.c 	ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0]);
ip                168 net/netfilter/ipset/ip_set_hash_netportnet.c 	ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip[1]);
ip                169 net/netfilter/ipset/ip_set_hash_netportnet.c 	e.ip[0] &= ip_set_netmask(e.cidr[0]);
ip                170 net/netfilter/ipset/ip_set_hash_netportnet.c 	e.ip[1] &= ip_set_netmask(e.cidr[1]);
ip                183 net/netfilter/ipset/ip_set_hash_netportnet.c 	u32 ip = 0, ip_to = 0, p = 0, port, port_to;
ip                198 net/netfilter/ipset/ip_set_hash_netportnet.c 	ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip);
ip                247 net/netfilter/ipset/ip_set_hash_netportnet.c 		e.ip[0] = htonl(ip & ip_set_hostmask(e.cidr[0]));
ip                248 net/netfilter/ipset/ip_set_hash_netportnet.c 		e.ip[1] = htonl(ip2_from & ip_set_hostmask(e.cidr[1]));
ip                254 net/netfilter/ipset/ip_set_hash_netportnet.c 	ip_to = ip;
ip                259 net/netfilter/ipset/ip_set_hash_netportnet.c 		if (ip > ip_to)
ip                260 net/netfilter/ipset/ip_set_hash_netportnet.c 			swap(ip, ip_to);
ip                261 net/netfilter/ipset/ip_set_hash_netportnet.c 		if (unlikely(ip + UINT_MAX == ip_to))
ip                264 net/netfilter/ipset/ip_set_hash_netportnet.c 		ip_set_mask_from_to(ip, ip_to, e.cidr[0]);
ip                288 net/netfilter/ipset/ip_set_hash_netportnet.c 		ip = ntohl(h->next.ip[0]);
ip                290 net/netfilter/ipset/ip_set_hash_netportnet.c 		ip2 = ntohl(h->next.ip[1]);
ip                297 net/netfilter/ipset/ip_set_hash_netportnet.c 		e.ip[0] = htonl(ip);
ip                298 net/netfilter/ipset/ip_set_hash_netportnet.c 		ip = ip_set_range_to_cidr(ip, ip_to, &e.cidr[0]);
ip                302 net/netfilter/ipset/ip_set_hash_netportnet.c 				e.ip[1] = htonl(ip2);
ip                314 net/netfilter/ipset/ip_set_hash_netportnet.c 	} while (ip++ < ip_to);
ip                321 net/netfilter/ipset/ip_set_hash_netportnet.c 	union nf_inet_addr ip[2];
ip                339 net/netfilter/ipset/ip_set_hash_netportnet.c 	return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) &&
ip                340 net/netfilter/ipset/ip_set_hash_netportnet.c 	       ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) &&
ip                368 net/netfilter/ipset/ip_set_hash_netportnet.c 	elem->ip[1] = orig->ip[1];
ip                376 net/netfilter/ipset/ip_set_hash_netportnet.c 		ip6_netmask(&elem->ip[1], cidr);
ip                379 net/netfilter/ipset/ip_set_hash_netportnet.c 		ip6_netmask(&elem->ip[0], cidr);
ip                390 net/netfilter/ipset/ip_set_hash_netportnet.c 	if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip[0].in6) ||
ip                391 net/netfilter/ipset/ip_set_hash_netportnet.c 	    nla_put_ipaddr6(skb, IPSET_ATTR_IP2, &data->ip[1].in6) ||
ip                446 net/netfilter/ipset/ip_set_hash_netportnet.c 	ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0].in6);
ip                447 net/netfilter/ipset/ip_set_hash_netportnet.c 	ip6addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip[1].in6);
ip                448 net/netfilter/ipset/ip_set_hash_netportnet.c 	ip6_netmask(&e.ip[0], e.cidr[0]);
ip                449 net/netfilter/ipset/ip_set_hash_netportnet.c 	ip6_netmask(&e.ip[1], e.cidr[1]);
ip                478 net/netfilter/ipset/ip_set_hash_netportnet.c 	ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip[0]);
ip                482 net/netfilter/ipset/ip_set_hash_netportnet.c 	ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP2], &e.ip[1]);
ip                502 net/netfilter/ipset/ip_set_hash_netportnet.c 	ip6_netmask(&e.ip[0], e.cidr[0]);
ip                503 net/netfilter/ipset/ip_set_hash_netportnet.c 	ip6_netmask(&e.ip[1], e.cidr[1]);
ip                117 net/netfilter/ipvs/ip_vs_conn.c 	return (jhash_3words((__force u32)addr->ip, (__force u32)port, proto,
ip               1110 net/netfilter/ipvs/ip_vs_conn.c 				 ntohl(cp->daddr.ip));
ip               1130 net/netfilter/ipvs/ip_vs_conn.c 				ntohl(cp->caddr.ip), ntohs(cp->cport),
ip               1131 net/netfilter/ipvs/ip_vs_conn.c 				ntohl(cp->vaddr.ip), ntohs(cp->vport),
ip               1176 net/netfilter/ipvs/ip_vs_conn.c 				 ntohl(cp->daddr.ip));
ip               1196 net/netfilter/ipvs/ip_vs_conn.c 				ntohl(cp->caddr.ip), ntohs(cp->cport),
ip               1197 net/netfilter/ipvs/ip_vs_conn.c 				ntohl(cp->vaddr.ip), ntohs(cp->vport),
ip                275 net/netfilter/ipvs/ip_vs_core.c 	const union nf_inet_addr fwmark = { .ip = htonl(svc->fwmark) };
ip                296 net/netfilter/ipvs/ip_vs_core.c 		snet.ip = src_addr->ip & svc->netmask;
ip                589 net/netfilter/ipvs/ip_vs_core.c 	return (inet_addr_type(net, addr->ip) == RTN_UNICAST);
ip                776 net/netfilter/ipvs/ip_vs_core.c 		iph->saddr = cp->vaddr.ip;
ip                778 net/netfilter/ipvs/ip_vs_core.c 		ciph->daddr = cp->vaddr.ip;
ip                781 net/netfilter/ipvs/ip_vs_core.c 		iph->daddr = cp->daddr.ip;
ip                783 net/netfilter/ipvs/ip_vs_core.c 		ciph->saddr = cp->daddr.ip;
ip               1003 net/netfilter/ipvs/ip_vs_core.c 	snet.ip = iph->saddr;
ip               1183 net/netfilter/ipvs/ip_vs_core.c 			snet.ip = caddr->ip & svc->netmask;
ip               1301 net/netfilter/ipvs/ip_vs_core.c 		ip_hdr(skb)->saddr = cp->vaddr.ip;
ip                265 net/netfilter/ipvs/ip_vs_ctl.c 	__be32 addr_fold = addr->ip;
ip                496 net/netfilter/ipvs/ip_vs_ctl.c 	__be32 addr_fold = addr->ip;
ip                974 net/netfilter/ipvs/ip_vs_ctl.c 		atype = inet_addr_type(svc->ipvs->net, udest->addr.ip);
ip               2149 net/netfilter/ipvs/ip_vs_ctl.c 					   ntohl(svc->addr.ip),
ip               2183 net/netfilter/ipvs/ip_vs_ctl.c 					   ntohl(dest->addr.ip),
ip               2383 net/netfilter/ipvs/ip_vs_ctl.c 	usvc->addr.ip		= usvc_compat->addr;
ip               2400 net/netfilter/ipvs/ip_vs_ctl.c 	udest->addr.ip		= udest_compat->addr;
ip               2480 net/netfilter/ipvs/ip_vs_ctl.c 		if (!usvc.fwmark && !usvc.addr.ip && !usvc.port) {
ip               2497 net/netfilter/ipvs/ip_vs_ctl.c 		       usvc.protocol, &usvc.addr.ip,
ip               2565 net/netfilter/ipvs/ip_vs_ctl.c 	dst->addr = src->addr.ip;
ip               2633 net/netfilter/ipvs/ip_vs_ctl.c 	union nf_inet_addr addr = { .ip = get->addr };
ip               2661 net/netfilter/ipvs/ip_vs_ctl.c 			entry.addr = dest->addr.ip;
ip               2828 net/netfilter/ipvs/ip_vs_ctl.c 		addr.ip = entry->addr;
ip               3445 net/netfilter/ipvs/ip_vs_ctl.c 				    c->mcast_group.ip))
ip               3529 net/netfilter/ipvs/ip_vs_ctl.c 		c.mcast_group.ip = nla_get_in_addr(a);
ip               3530 net/netfilter/ipvs/ip_vs_ctl.c 		if (!ipv4_is_multicast(c.mcast_group.ip))
ip                 73 net/netfilter/ipvs/ip_vs_dh.c 	__be32 addr_fold = addr->ip;
ip                162 net/netfilter/ipvs/ip_vs_ftp.c 		addr->ip = get_unaligned((__be32 *) p);
ip                289 net/netfilter/ipvs/ip_vs_ftp.c 			  &from.ip, ntohs(port), &cp->caddr.ip, 0);
ip                344 net/netfilter/ipvs/ip_vs_ftp.c 		from.ip = n_cp->vaddr.ip;
ip                347 net/netfilter/ipvs/ip_vs_ftp.c 			 ((unsigned char *)&from.ip)[0],
ip                348 net/netfilter/ipvs/ip_vs_ftp.c 			 ((unsigned char *)&from.ip)[1],
ip                349 net/netfilter/ipvs/ip_vs_ftp.c 			 ((unsigned char *)&from.ip)[2],
ip                350 net/netfilter/ipvs/ip_vs_ftp.c 			 ((unsigned char *)&from.ip)[3],
ip                499 net/netfilter/ipvs/ip_vs_ftp.c 		IP_VS_DBG(7, "PORT %pI4:%u detected\n", &to.ip, ntohs(port));
ip                504 net/netfilter/ipvs/ip_vs_ftp.c 			  &to.ip, ntohs(port), &cp->vaddr.ip,
ip                152 net/netfilter/ipvs/ip_vs_lblc.c 	__be32 addr_fold = addr->ip;
ip                315 net/netfilter/ipvs/ip_vs_lblcr.c 	__be32 addr_fold = addr->ip;
ip                 93 net/netfilter/ipvs/ip_vs_mh.c 	__be32 addr_fold = addr->ip;
ip                119 net/netfilter/ipvs/ip_vs_proto_tcp.c 		csum_fold(ip_vs_check_diff4(oldip->ip, newip->ip,
ip                140 net/netfilter/ipvs/ip_vs_proto_tcp.c 		~csum_fold(ip_vs_check_diff4(oldip->ip, newip->ip,
ip                209 net/netfilter/ipvs/ip_vs_proto_tcp.c 			tcph->check = csum_tcpudp_magic(cp->vaddr.ip,
ip                210 net/netfilter/ipvs/ip_vs_proto_tcp.c 							cp->caddr.ip,
ip                292 net/netfilter/ipvs/ip_vs_proto_tcp.c 			tcph->check = csum_tcpudp_magic(cp->caddr.ip,
ip                293 net/netfilter/ipvs/ip_vs_proto_tcp.c 							cp->daddr.ip,
ip                107 net/netfilter/ipvs/ip_vs_proto_udp.c 			csum_fold(ip_vs_check_diff4(oldip->ip, newip->ip,
ip                129 net/netfilter/ipvs/ip_vs_proto_udp.c 		~csum_fold(ip_vs_check_diff4(oldip->ip, newip->ip,
ip                202 net/netfilter/ipvs/ip_vs_proto_udp.c 			udph->check = csum_tcpudp_magic(cp->vaddr.ip,
ip                203 net/netfilter/ipvs/ip_vs_proto_udp.c 							cp->caddr.ip,
ip                286 net/netfilter/ipvs/ip_vs_proto_udp.c 			udph->check = csum_tcpudp_magic(cp->caddr.ip,
ip                287 net/netfilter/ipvs/ip_vs_proto_udp.c 							cp->daddr.ip,
ip                160 net/netfilter/ipvs/ip_vs_sched.c 			     &svc->addr.ip, ntohs(svc->port), msg);
ip                 87 net/netfilter/ipvs/ip_vs_sh.c 	__be32 addr_fold = addr->ip;
ip                601 net/netfilter/ipvs/ip_vs_sync.c 	s->caddr = cp->caddr.ip;
ip                602 net/netfilter/ipvs/ip_vs_sync.c 	s->vaddr = cp->vaddr.ip;
ip                603 net/netfilter/ipvs/ip_vs_sync.c 	s->daddr = cp->daddr.ip;
ip                747 net/netfilter/ipvs/ip_vs_sync.c 		s->v4.caddr = cp->caddr.ip;
ip                748 net/netfilter/ipvs/ip_vs_sync.c 		s->v4.vaddr = cp->vaddr.ip;
ip                749 net/netfilter/ipvs/ip_vs_sync.c 		s->v4.daddr = cp->daddr.ip;
ip               1789 net/netfilter/ipvs/ip_vs_sync.c 		c->mcast_group.ip = cpu_to_be32(IP_VS_SYNC_GROUP);
ip                330 net/netfilter/ipvs/ip_vs_xmit.c 			rt = do_output_route4(net, dest->addr.ip, rt_mode,
ip                331 net/netfilter/ipvs/ip_vs_xmit.c 					      &dest_dst->dst_saddr.ip);
ip                341 net/netfilter/ipvs/ip_vs_xmit.c 				  &dest->addr.ip, &dest_dst->dst_saddr.ip,
ip                345 net/netfilter/ipvs/ip_vs_xmit.c 			*ret_saddr = dest_dst->dst_saddr.ip;
ip                785 net/netfilter/ipvs/ip_vs_xmit.c 	local = __ip_vs_get_out_rt(cp->ipvs, cp->af, skb, cp->dest, cp->daddr.ip,
ip                811 net/netfilter/ipvs/ip_vs_xmit.c 	if (local && ipv4_is_loopback(cp->daddr.ip) && was_input) {
ip                828 net/netfilter/ipvs/ip_vs_xmit.c 	ip_hdr(skb)->daddr = cp->daddr.ip;
ip               1154 net/netfilter/ipvs/ip_vs_xmit.c 	local = __ip_vs_get_out_rt(ipvs, cp->af, skb, cp->dest, cp->daddr.ip,
ip               1239 net/netfilter/ipvs/ip_vs_xmit.c 		udp_set_csum(!check, skb, saddr, cp->daddr.ip, skb->len);
ip               1256 net/netfilter/ipvs/ip_vs_xmit.c 	iph->daddr		=	cp->daddr.ip;
ip               1442 net/netfilter/ipvs/ip_vs_xmit.c 	local = __ip_vs_get_out_rt(cp->ipvs, cp->af, skb, cp->dest, cp->daddr.ip,
ip               1541 net/netfilter/ipvs/ip_vs_xmit.c 	local = __ip_vs_get_out_rt(cp->ipvs, cp->af, skb, cp->dest, cp->daddr.ip, rt_mode,
ip               1559 net/netfilter/ipvs/ip_vs_xmit.c 				  __func__, &cp->daddr.ip);
ip               1566 net/netfilter/ipvs/ip_vs_xmit.c 	if (local && ipv4_is_loopback(cp->daddr.ip) && was_input) {
ip               1569 net/netfilter/ipvs/ip_vs_xmit.c 			  __func__, &cp->daddr.ip);
ip                 63 net/netfilter/nf_conntrack_broadcast.c 	exp->mask.src.u3.ip       = mask;
ip                274 net/netfilter/nf_conntrack_core.c 		tuple->src.u3.ip = ap[0];
ip                275 net/netfilter/nf_conntrack_core.c 		tuple->dst.u3.ip = ap[1];
ip                419 net/netfilter/nf_conntrack_core.c 		inverse->src.u3.ip = orig->dst.u3.ip;
ip                420 net/netfilter/nf_conntrack_core.c 		inverse->dst.u3.ip = orig->src.u3.ip;
ip                165 net/netfilter/nf_conntrack_ftp.c 	cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) |
ip                257 net/netfilter/nf_conntrack_ftp.c 			cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16)
ip                497 net/netfilter/nf_conntrack_ftp.c 				 &cmd.u3.ip,
ip                498 net/netfilter/nf_conntrack_ftp.c 				 &ct->tuplehash[dir].tuple.src.u3.ip);
ip                647 net/netfilter/nf_conntrack_h323_main.c 		p = data + taddr->ipAddress.ip;
ip                653 net/netfilter/nf_conntrack_h323_main.c 		p = data + taddr->ip6Address.ip;
ip                732 net/netfilter/nf_conntrack_h323_main.c 		fl1.daddr = src->ip;
ip                735 net/netfilter/nf_conntrack_h323_main.c 		fl2.daddr = dst->ip;
ip                  9 net/netfilter/nf_conntrack_h323_types.c 	 offsetof(TransportAddress_ipAddress, ip), NULL},
ip                 39 net/netfilter/nf_conntrack_h323_types.c 	 offsetof(TransportAddress_ip6Address, ip), NULL},
ip                 72 net/netfilter/nf_conntrack_irc.c static int parse_dcc(char *data, const char *data_end, __be32 *ip,
ip                 91 net/netfilter/nf_conntrack_irc.c 	*ip = cpu_to_be32(simple_strtoul(data, &data, 10));
ip                188 net/netfilter/nf_conntrack_irc.c 			if (tuple->src.u3.ip != dcc_ip &&
ip                189 net/netfilter/nf_conntrack_irc.c 			    tuple->dst.u3.ip != dcc_ip) {
ip                191 net/netfilter/nf_conntrack_irc.c 						     &tuple->src.u3.ip,
ip                 86 net/netfilter/nf_conntrack_netlink.c 	if (nla_put_in_addr(skb, CTA_IP_V4_SRC, tuple->src.u3.ip) ||
ip                 87 net/netfilter/nf_conntrack_netlink.c 	    nla_put_in_addr(skb, CTA_IP_V4_DST, tuple->dst.u3.ip))
ip               1002 net/netfilter/nf_conntrack_netlink.c 	t->src.u3.ip = nla_get_in_addr(tb[CTA_IP_V4_SRC]);
ip               1003 net/netfilter/nf_conntrack_netlink.c 	t->dst.u3.ip = nla_get_in_addr(tb[CTA_IP_V4_DST]);
ip                248 net/netfilter/nf_conntrack_proto.c 	tuple.src.u3.ip = inet->inet_rcv_saddr;
ip                250 net/netfilter/nf_conntrack_proto.c 	tuple.dst.u3.ip = inet->inet_daddr;
ip                278 net/netfilter/nf_conntrack_proto.c 			.tuple.dst.u3.ip;
ip                290 net/netfilter/nf_conntrack_proto.c 		 &tuple.src.u3.ip, ntohs(tuple.src.u.tcp.port),
ip                291 net/netfilter/nf_conntrack_proto.c 		 &tuple.dst.u3.ip, ntohs(tuple.dst.u.tcp.port));
ip                174 net/netfilter/nf_conntrack_proto_icmp.c 					       &outer_daddr->ip, &ct_daddr->ip);
ip                246 net/netfilter/nf_conntrack_proto_icmp.c 	outer_daddr.ip = ip_hdr(skb)->daddr;
ip                156 net/netfilter/nf_conntrack_sip.c 		ret = in4_pton(cp, limit - cp, (u8 *)&addr->ip, -1, &end);
ip                656 net/netfilter/nf_conntrack_sip.c 		ret = in4_pton(cp, limit - cp, (u8 *)&addr->ip, -1, &end);
ip                880 net/netfilter/nf_conntrack_sip.c 				fl.u.ip4.daddr = daddr->ip;
ip                 41 net/netfilter/nf_conntrack_standalone.c 			   &tuple->src.u3.ip, &tuple->dst.u3.ip);
ip                 65 net/netfilter/nf_nat_core.c 		fl4->daddr = t->dst.u3.ip;
ip                 77 net/netfilter/nf_nat_core.c 		fl4->saddr = t->src.u3.ip;
ip                224 net/netfilter/nf_nat_core.c 		return ntohl(t->src.u3.ip) >= ntohl(range->min_addr.ip) &&
ip                225 net/netfilter/nf_nat_core.c 		       ntohl(t->src.u3.ip) <= ntohl(range->max_addr.ip);
ip                356 net/netfilter/nf_nat_core.c 		max = sizeof(var_ipp->ip) / sizeof(u32) - 1;
ip                675 net/netfilter/nf_nat_core.c 	union nf_inet_addr ip =
ip                681 net/netfilter/nf_nat_core.c 		.min_addr	= ip,
ip                682 net/netfilter/nf_nat_core.c 		.max_addr	= ip,
ip                910 net/netfilter/nf_nat_core.c 		range->min_addr.ip = nla_get_be32(tb[CTA_NAT_V4_MINIP]);
ip                915 net/netfilter/nf_nat_core.c 		range->max_addr.ip = nla_get_be32(tb[CTA_NAT_V4_MAXIP]);
ip                917 net/netfilter/nf_nat_core.c 		range->max_addr.ip = range->min_addr.ip;
ip                 41 net/netfilter/nf_nat_ftp.c 				((unsigned char *)&addr->ip)[0],
ip                 42 net/netfilter/nf_nat_ftp.c 				((unsigned char *)&addr->ip)[1],
ip                 43 net/netfilter/nf_nat_ftp.c 				((unsigned char *)&addr->ip)[2],
ip                 44 net/netfilter/nf_nat_ftp.c 				((unsigned char *)&addr->ip)[3],
ip                 50 net/netfilter/nf_nat_ftp.c 					&addr->ip, port);
ip                 84 net/netfilter/nf_nat_irc.c 	snprintf(buffer, sizeof(buffer), "%u %u", ntohl(newaddr.ip), port);
ip                 86 net/netfilter/nf_nat_irc.c 		 buffer, &newaddr.ip, port);
ip                 37 net/netfilter/nf_nat_masquerade.c 	if (ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.ip == 0)
ip                 56 net/netfilter/nf_nat_masquerade.c 	newrange.min_addr.ip = newsrc;
ip                 57 net/netfilter/nf_nat_masquerade.c 	newrange.max_addr.ip = newsrc;
ip                106 net/netfilter/nf_nat_masquerade.c 	return ifa->ifa_address == tuple->dst.u3.ip;
ip                372 net/netfilter/nf_nat_proto.c 		csum_replace4(&iph->check, iph->saddr, target->src.u3.ip);
ip                373 net/netfilter/nf_nat_proto.c 		iph->saddr = target->src.u3.ip;
ip                375 net/netfilter/nf_nat_proto.c 		csum_replace4(&iph->check, iph->daddr, target->dst.u3.ip);
ip                376 net/netfilter/nf_nat_proto.c 		iph->daddr = target->dst.u3.ip;
ip                455 net/netfilter/nf_nat_proto.c 		newip = t->src.u3.ip;
ip                458 net/netfilter/nf_nat_proto.c 		newip = t->dst.u3.ip;
ip                566 net/netfilter/nf_nat_proto.c 		struct iphdr	ip;
ip                685 net/netfilter/nf_nat_proto.c 		if (ct->tuplehash[dir].tuple.src.u3.ip !=
ip                686 net/netfilter/nf_nat_proto.c 		     ct->tuplehash[!dir].tuple.dst.u3.ip ||
ip                716 net/netfilter/nf_nat_proto.c 		if (ct->tuplehash[dir].tuple.dst.u3.ip !=
ip                717 net/netfilter/nf_nat_proto.c 		    ct->tuplehash[!dir].tuple.src.u3.ip) {
ip                 68 net/netfilter/nf_nat_redirect.c 	newrange.min_addr.ip = newdst;
ip                 69 net/netfilter/nf_nat_redirect.c 	newrange.max_addr.ip = newdst;
ip                 74 net/netfilter/nf_nat_sip.c 		return sprintf(buffer, "%pI4", &addr->ip);
ip                 87 net/netfilter/nf_nat_sip.c 		return sprintf(buffer, "%pI4:%u", &addr->ip, port);
ip                 35 net/netfilter/nfnetlink_osf.c 	const struct iphdr *ip = ip_hdr(skb);
ip                 40 net/netfilter/nfnetlink_osf.c 		return ip->ttl == f_ttl;
ip                 43 net/netfilter/nfnetlink_osf.c 	else if (ip->ttl <= f_ttl)
ip                 47 net/netfilter/nfnetlink_osf.c 		if (inet_ifa_match(ip->saddr, ifa)) {
ip                 48 net/netfilter/nfnetlink_osf.c 			ret = (ip->ttl == f_ttl);
ip                167 net/netfilter/nfnetlink_osf.c 						const struct iphdr *ip,
ip                180 net/netfilter/nfnetlink_osf.c 	ctx->totlen = ntohs(ip->tot_len);
ip                181 net/netfilter/nfnetlink_osf.c 	ctx->df = ntohs(ip->frag_off) & IP_DF;
ip                200 net/netfilter/nfnetlink_osf.c 	const struct iphdr *ip = ip_hdr(skb);
ip                212 net/netfilter/nfnetlink_osf.c 	tcp = nf_osf_hdr_ctx_init(&ctx, skb, ip, opts, &_tcph);
ip                237 net/netfilter/nfnetlink_osf.c 				      &ip->saddr, ntohs(tcp->source),
ip                238 net/netfilter/nfnetlink_osf.c 				      &ip->daddr, ntohs(tcp->dest),
ip                239 net/netfilter/nfnetlink_osf.c 				      f->ttl - ip->ttl);
ip                249 net/netfilter/nfnetlink_osf.c 			      &ip->saddr, ntohs(tcp->source),
ip                250 net/netfilter/nfnetlink_osf.c 			      &ip->daddr, ntohs(tcp->dest));
ip                263 net/netfilter/nfnetlink_osf.c 	const struct iphdr *ip = ip_hdr(skb);
ip                273 net/netfilter/nfnetlink_osf.c 	tcp = nf_osf_hdr_ctx_init(&ctx, skb, ip, opts, &_tcph);
ip                144 net/netfilter/nft_compat.c 		entry->e4.ip.proto = proto;
ip                145 net/netfilter/nft_compat.c 		entry->e4.ip.invflags = inv ? IPT_INV_PROTO : 0;
ip                388 net/netfilter/nft_compat.c 		entry->e4.ip.proto = proto;
ip                389 net/netfilter/nft_compat.c 		entry->e4.ip.invflags = inv ? IPT_INV_PROTO : 0;
ip                207 net/netfilter/nft_ct.c 		*dest = tuple->src.u3.ip;
ip                212 net/netfilter/nft_ct.c 		*dest = tuple->dst.u3.ip;
ip                444 net/netfilter/nft_ct.c 					   src.u3.ip);
ip                460 net/netfilter/nft_ct.c 		len = FIELD_SIZEOF(struct nf_conntrack_tuple, src.u3.ip);
ip                 34 net/netfilter/nft_flow_offload.c 		fl.u.ip4.daddr = ct->tuplehash[dir].tuple.src.u3.ip;
ip                 45 net/netfilter/nft_nat.c 			range.min_addr.ip = (__force __be32)
ip                 47 net/netfilter/nft_nat.c 			range.max_addr.ip = (__force __be32)
ip                144 net/netfilter/nft_nat.c 		alen = FIELD_SIZEOF(struct nf_nat_range, min_addr.ip);
ip                 59 net/netfilter/xt_CT.c 		if (e->ip.invflags & IPT_INV_PROTO)
ip                 61 net/netfilter/xt_CT.c 		return e->ip.proto;
ip                257 net/netfilter/xt_HMARK.c 	struct iphdr *ip, _ip;
ip                260 net/netfilter/xt_HMARK.c 	ip = (struct iphdr *) (skb->data + nhoff);
ip                261 net/netfilter/xt_HMARK.c 	if (ip->protocol == IPPROTO_ICMP) {
ip                263 net/netfilter/xt_HMARK.c 		if (get_inner_hdr(skb, ip->ihl * 4, &nhoff)) {
ip                264 net/netfilter/xt_HMARK.c 			ip = skb_header_pointer(skb, nhoff, sizeof(_ip), &_ip);
ip                265 net/netfilter/xt_HMARK.c 			if (ip == NULL)
ip                270 net/netfilter/xt_HMARK.c 	t->src = ip->saddr & info->src_mask.ip;
ip                271 net/netfilter/xt_HMARK.c 	t->dst = ip->daddr & info->dst_mask.ip;
ip                276 net/netfilter/xt_HMARK.c 	t->proto = ip->protocol;
ip                283 net/netfilter/xt_HMARK.c 	if (ip->frag_off & htons(IP_MF | IP_OFFSET))
ip                286 net/netfilter/xt_HMARK.c 	hmark_set_tuple_ports(skb, (ip->ihl * 4) + nhoff, t, info);
ip                 95 net/netfilter/xt_NETMAP.c 	newrange.min_addr.ip = new_ip;
ip                 96 net/netfilter/xt_NETMAP.c 	newrange.max_addr.ip = new_ip;
ip                106 net/netfilter/xt_TPROXY.c 	return tproxy_tg4(xt_net(par), skb, tgi->laddr.ip, tgi->lport,
ip                 18 net/netfilter/xt_cluster.c 	return (__force u32)ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.ip;
ip                 27 net/netfilter/xt_cluster.c xt_cluster_hash_ipv4(u_int32_t ip, const struct xt_cluster_match_info *info)
ip                 29 net/netfilter/xt_cluster.c 	return jhash_1word(ip, info->hash_seed);
ip                 33 net/netfilter/xt_cluster.c xt_cluster_hash_ipv6(const void *ip, const struct xt_cluster_match_info *info)
ip                 35 net/netfilter/xt_cluster.c 	return jhash2(ip, NF_CT_TUPLE_L3SIZE / sizeof(__u32), info->hash_seed);
ip                 68 net/netfilter/xt_connlimit.c 		key[0] &= info->mask.ip;
ip                 31 net/netfilter/xt_conntrack.c 		return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0;
ip                 87 net/netfilter/xt_ecn.c 	const struct ipt_ip *ip = par->entryinfo;
ip                 96 net/netfilter/xt_ecn.c 	    (ip->proto != IPPROTO_TCP || ip->invflags & IPT_INV_PROTO)) {
ip                129 net/netfilter/xt_ecn.c 	const struct ip6t_ip6 *ip = par->entryinfo;
ip                138 net/netfilter/xt_ecn.c 	    (ip->proto != IPPROTO_TCP || ip->invflags & IP6T_INV_PROTO)) {
ip                 77 net/netfilter/xt_hashlimit.c 		} ip;
ip                650 net/netfilter/xt_hashlimit.c 			dst->ip.dst = maskl(ip_hdr(skb)->daddr,
ip                653 net/netfilter/xt_hashlimit.c 			dst->ip.src = maskl(ip_hdr(skb)->saddr,
ip               1101 net/netfilter/xt_hashlimit.c 			   &ent->dst.ip.src,
ip               1103 net/netfilter/xt_hashlimit.c 			   &ent->dst.ip.dst,
ip                 24 net/netfilter/xt_iprange.c 		m  = ntohl(iph->saddr) < ntohl(info->src_min.ip);
ip                 25 net/netfilter/xt_iprange.c 		m |= ntohl(iph->saddr) > ntohl(info->src_max.ip);
ip                 31 net/netfilter/xt_iprange.c 			         &info->src_min.ip,
ip                 32 net/netfilter/xt_iprange.c 			         &info->src_max.ip);
ip                 37 net/netfilter/xt_iprange.c 		m  = ntohl(iph->daddr) < ntohl(info->dst_min.ip);
ip                 38 net/netfilter/xt_iprange.c 		m |= ntohl(iph->daddr) > ntohl(info->dst_max.ip);
ip                 44 net/netfilter/xt_iprange.c 			         &info->dst_min.ip,
ip                 45 net/netfilter/xt_iprange.c 			         &info->dst_max.ip);
ip                 38 net/netfilter/xt_ipvs.c 		return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0;
ip                263 net/netfilter/xt_l2tp.c 	const struct ipt_ip *ip = &e->ip;
ip                270 net/netfilter/xt_l2tp.c 	if ((ip->proto != IPPROTO_UDP) &&
ip                271 net/netfilter/xt_l2tp.c 	    (ip->proto != IPPROTO_L2TP)) {
ip                276 net/netfilter/xt_l2tp.c 	if ((ip->proto == IPPROTO_L2TP) &&
ip                290 net/netfilter/xt_l2tp.c 	const struct ip6t_ip6 *ip = &e->ipv6;
ip                297 net/netfilter/xt_l2tp.c 	if ((ip->proto != IPPROTO_UDP) &&
ip                298 net/netfilter/xt_l2tp.c 	    (ip->proto != IPPROTO_L2TP)) {
ip                303 net/netfilter/xt_l2tp.c 	if ((ip->proto == IPPROTO_L2TP) &&
ip                127 net/netfilter/xt_multiport.c 	const struct ipt_ip *ip = par->entryinfo;
ip                130 net/netfilter/xt_multiport.c 	return check(ip->proto, ip->invflags, multiinfo->flags,
ip                136 net/netfilter/xt_multiport.c 	const struct ip6t_ip6 *ip = par->entryinfo;
ip                139 net/netfilter/xt_multiport.c 	return check(ip->proto, ip->invflags, multiinfo->flags,
ip                 45 net/netfilter/xt_nat.c 	dst->min_addr.ip = src->min_ip;
ip                 46 net/netfilter/xt_nat.c 	dst->max_addr.ip = src->max_ip;
ip                 27 net/netfilter/xt_policy.c 		return ((a1->ip ^ a2->ip) & m->ip) == 0;
ip                113 net/netfilter/xt_recent.c 	return jhash_1word((__force u32)addr->ip, hash_rnd) &
ip                248 net/netfilter/xt_recent.c 			addr.ip = iph->daddr;
ip                250 net/netfilter/xt_recent.c 			addr.ip = iph->saddr;
ip                521 net/netfilter/xt_recent.c 			   &e->addr.ip, e->ttl, e->stamps[i], e->index);
ip                481 net/openvswitch/actions.c 		flow_key->ip.tos = nh->tos;
ip                485 net/openvswitch/actions.c 		flow_key->ip.ttl = nh->ttl;
ip                521 net/openvswitch/actions.c 			set_ipv6_addr(skb, flow_key->ip.proto, saddr, masked,
ip                543 net/openvswitch/actions.c 			set_ipv6_addr(skb, flow_key->ip.proto, daddr, masked,
ip                551 net/openvswitch/actions.c 		flow_key->ip.tos = ipv6_get_dsfield(nh);
ip                562 net/openvswitch/actions.c 		flow_key->ip.ttl = nh->hop_limit;
ip                209 net/openvswitch/conntrack.c 			key->ipv4.ct_orig.src = orig->src.u3.ip;
ip                210 net/openvswitch/conntrack.c 			key->ipv4.ct_orig.dst = orig->dst.u3.ip;
ip                520 net/openvswitch/conntrack.c 		key->ip.proto = ipv6_hdr(skb)->nexthdr;
ip                533 net/openvswitch/conntrack.c 	key->ip.frag = OVS_FRAG_TYPE_NONE;
ip                830 net/openvswitch/conntrack.c 		if (key->ip.proto == IPPROTO_UDP)
ip                832 net/openvswitch/conntrack.c 		else if (key->ip.proto == IPPROTO_TCP)
ip                834 net/openvswitch/conntrack.c 		else if (key->ip.proto == IPPROTO_SCTP)
ip                852 net/openvswitch/conntrack.c 		if (key->ip.proto == IPPROTO_UDP)
ip                854 net/openvswitch/conntrack.c 		else if (key->ip.proto == IPPROTO_TCP)
ip                856 net/openvswitch/conntrack.c 		else if (key->ip.proto == IPPROTO_SCTP)
ip               1293 net/openvswitch/conntrack.c 	if (key->ip.frag != OVS_FRAG_TYPE_NONE) {
ip               1330 net/openvswitch/conntrack.c 						    key->ip.proto);
ip               1345 net/openvswitch/conntrack.c 						   key->ip.proto);
ip               1681 net/openvswitch/conntrack.c 		if (nf_ct_set_timeout(net, ct_info.ct, family, key->ip.proto,
ip               1734 net/openvswitch/conntrack.c 					    info->range.min_addr.ip) ||
ip               1735 net/openvswitch/conntrack.c 			    (info->range.max_addr.ip
ip               1736 net/openvswitch/conntrack.c 			     != info->range.min_addr.ip &&
ip               1738 net/openvswitch/conntrack.c 					      info->range.max_addr.ip))))
ip                319 net/openvswitch/datapath.c 		later_key.ip.frag = OVS_FRAG_TYPE_LATER;
ip                257 net/openvswitch/flow.c 	key->ip.proto = NEXTHDR_NONE;
ip                258 net/openvswitch/flow.c 	key->ip.tos = ipv6_get_dsfield(nh);
ip                259 net/openvswitch/flow.c 	key->ip.ttl = nh->hop_limit;
ip                267 net/openvswitch/flow.c 			key->ip.frag = OVS_FRAG_TYPE_LATER;
ip                268 net/openvswitch/flow.c 			key->ip.proto = nexthdr;
ip                271 net/openvswitch/flow.c 		key->ip.frag = OVS_FRAG_TYPE_FIRST;
ip                273 net/openvswitch/flow.c 		key->ip.frag = OVS_FRAG_TYPE_NONE;
ip                285 net/openvswitch/flow.c 	key->ip.proto = nexthdr;
ip                543 net/openvswitch/flow.c 			memset(&key->ip, 0, sizeof(key->ip));
ip                556 net/openvswitch/flow.c 		key->ip.proto = nh->protocol;
ip                557 net/openvswitch/flow.c 		key->ip.tos = nh->tos;
ip                558 net/openvswitch/flow.c 		key->ip.ttl = nh->ttl;
ip                562 net/openvswitch/flow.c 			key->ip.frag = OVS_FRAG_TYPE_LATER;
ip                568 net/openvswitch/flow.c 			key->ip.frag = OVS_FRAG_TYPE_FIRST;
ip                570 net/openvswitch/flow.c 			key->ip.frag = OVS_FRAG_TYPE_NONE;
ip                573 net/openvswitch/flow.c 		if (key->ip.proto == IPPROTO_TCP) {
ip                583 net/openvswitch/flow.c 		} else if (key->ip.proto == IPPROTO_UDP) {
ip                591 net/openvswitch/flow.c 		} else if (key->ip.proto == IPPROTO_SCTP) {
ip                599 net/openvswitch/flow.c 		} else if (key->ip.proto == IPPROTO_ICMP) {
ip                627 net/openvswitch/flow.c 				key->ip.proto = ntohs(arp->ar_op);
ip                629 net/openvswitch/flow.c 				key->ip.proto = 0;
ip                636 net/openvswitch/flow.c 			memset(&key->ip, 0, sizeof(key->ip));
ip                668 net/openvswitch/flow.c 				memset(&key->ip, 0, sizeof(key->ip));
ip                681 net/openvswitch/flow.c 		if (key->ip.frag == OVS_FRAG_TYPE_LATER) {
ip                686 net/openvswitch/flow.c 			key->ip.frag = OVS_FRAG_TYPE_FIRST;
ip                689 net/openvswitch/flow.c 		if (key->ip.proto == NEXTHDR_TCP) {
ip                698 net/openvswitch/flow.c 		} else if (key->ip.proto == NEXTHDR_UDP) {
ip                706 net/openvswitch/flow.c 		} else if (key->ip.proto == NEXTHDR_SCTP) {
ip                714 net/openvswitch/flow.c 		} else if (key->ip.proto == NEXTHDR_ICMP) {
ip                 95 net/openvswitch/flow.h 		} ip;
ip                155 net/openvswitch/flow.h 		key->ip.proto == NEXTHDR_ICMP &&
ip                199 net/openvswitch/flow_netlink.c 		if (match->key->ip.frag != OVS_FRAG_TYPE_LATER) {
ip                200 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_UDP) {
ip                202 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff))
ip                206 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_SCTP) {
ip                208 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff))
ip                212 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_TCP) {
ip                215 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff)) {
ip                221 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_ICMP) {
ip                223 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff))
ip                236 net/openvswitch/flow_netlink.c 		if (match->key->ip.frag != OVS_FRAG_TYPE_LATER) {
ip                237 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_UDP) {
ip                239 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff))
ip                243 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_SCTP) {
ip                245 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff))
ip                249 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_TCP) {
ip                252 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff)) {
ip                258 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_ICMPV6) {
ip                260 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff))
ip               1545 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_PUT(match, ip.proto,
ip               1547 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_PUT(match, ip.tos,
ip               1549 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_PUT(match, ip.ttl,
ip               1551 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_PUT(match, ip.frag,
ip               1578 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_PUT(match, ip.proto,
ip               1580 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_PUT(match, ip.tos,
ip               1582 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_PUT(match, ip.ttl,
ip               1584 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_PUT(match, ip.frag,
ip               1612 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_PUT(match, ip.proto,
ip               2079 net/openvswitch/flow_netlink.c 		ipv4_key->ipv4_proto = output->ip.proto;
ip               2080 net/openvswitch/flow_netlink.c 		ipv4_key->ipv4_tos = output->ip.tos;
ip               2081 net/openvswitch/flow_netlink.c 		ipv4_key->ipv4_ttl = output->ip.ttl;
ip               2082 net/openvswitch/flow_netlink.c 		ipv4_key->ipv4_frag = output->ip.frag;
ip               2095 net/openvswitch/flow_netlink.c 		ipv6_key->ipv6_proto = output->ip.proto;
ip               2096 net/openvswitch/flow_netlink.c 		ipv6_key->ipv6_tclass = output->ip.tos;
ip               2097 net/openvswitch/flow_netlink.c 		ipv6_key->ipv6_hlimit = output->ip.ttl;
ip               2098 net/openvswitch/flow_netlink.c 		ipv6_key->ipv6_frag = output->ip.frag;
ip               2113 net/openvswitch/flow_netlink.c 		arp_key->arp_op = htons(output->ip.proto);
ip               2128 net/openvswitch/flow_netlink.c 	     swkey->ip.frag != OVS_FRAG_TYPE_LATER) {
ip               2130 net/openvswitch/flow_netlink.c 		if (swkey->ip.proto == IPPROTO_TCP) {
ip               2142 net/openvswitch/flow_netlink.c 		} else if (swkey->ip.proto == IPPROTO_UDP) {
ip               2151 net/openvswitch/flow_netlink.c 		} else if (swkey->ip.proto == IPPROTO_SCTP) {
ip               2161 net/openvswitch/flow_netlink.c 			   swkey->ip.proto == IPPROTO_ICMP) {
ip               2171 net/openvswitch/flow_netlink.c 			   swkey->ip.proto == IPPROTO_ICMPV6) {
ip               2727 net/openvswitch/flow_netlink.c 			if (ipv4_key->ipv4_proto != flow_key->ip.proto)
ip               2730 net/openvswitch/flow_netlink.c 			if (ipv4_key->ipv4_frag != flow_key->ip.frag)
ip               2752 net/openvswitch/flow_netlink.c 			if (ipv6_key->ipv6_proto != flow_key->ip.proto)
ip               2755 net/openvswitch/flow_netlink.c 			if (ipv6_key->ipv6_frag != flow_key->ip.frag)
ip               2766 net/openvswitch/flow_netlink.c 		    flow_key->ip.proto != IPPROTO_TCP)
ip               2774 net/openvswitch/flow_netlink.c 		    flow_key->ip.proto != IPPROTO_UDP)
ip               2787 net/openvswitch/flow_netlink.c 		    flow_key->ip.proto != IPPROTO_SCTP)
ip                538 net/sched/act_ct.c 		range->min_addr.ip =
ip                541 net/sched/act_ct.c 		range->max_addr.ip = max_attr ?
ip                543 net/sched/act_ct.c 				     range->min_addr.ip;
ip                802 net/sched/act_ct.c 					    range->min_addr.ip))
ip                805 net/sched/act_ct.c 					    range->max_addr.ip))
ip                156 net/sched/cls_flow.c 		return ntohl(CTTUPLE(skb, src.u3.ip));
ip                169 net/sched/cls_flow.c 		return ntohl(CTTUPLE(skb, dst.u3.ip));
ip                 54 net/sched/cls_flower.c 	struct flow_dissector_key_ip ip;
ip               1110 net/sched/cls_flower.c 		fl_set_key_ip(tb, false, &key->ip, &mask->ip);
ip               1337 net/sched/cls_flower.c 			     FLOW_DISSECTOR_KEY_IP, ip);
ip               2285 net/sched/cls_flower.c 	    fl_dump_key_ip(skb, false, &key->ip, &mask->ip)))
ip                601 net/sched/sch_cake.c 	keys->addrs.v4addrs.src = rev ? tuple.dst.u3.ip : tuple.src.u3.ip;
ip                602 net/sched/sch_cake.c 	keys->addrs.v4addrs.dst = rev ? tuple.src.u3.ip : tuple.dst.u3.ip;
ip                 56 net/sunrpc/svc.c 	int *ip = (int *)kp->arg;
ip                 68 net/sunrpc/svc.c 		*ip = SVC_POOL_AUTO;
ip                 70 net/sunrpc/svc.c 		*ip = SVC_POOL_GLOBAL;
ip                 72 net/sunrpc/svc.c 		*ip = SVC_POOL_PERCPU;
ip                 74 net/sunrpc/svc.c 		*ip = SVC_POOL_PERNODE;
ip                 86 net/sunrpc/svc.c 	int *ip = (int *)kp->arg;
ip                 88 net/sunrpc/svc.c 	switch (*ip)
ip                 99 net/sunrpc/svc.c 		return sprintf(buf, "%d", *ip);
ip                115 net/sunrpc/svcauth_unix.c static inline int hash_ip6(const struct in6_addr *ip)
ip                117 net/sunrpc/svcauth_unix.c 	return hash_32(ipv6_addr_hash(ip), IP_HASHBITS);
ip                286 net/sunrpc/svcauth_unix.c 	struct ip_map ip;
ip                289 net/sunrpc/svcauth_unix.c 	strcpy(ip.m_class, class);
ip                290 net/sunrpc/svcauth_unix.c 	ip.m_addr = *addr;
ip                291 net/sunrpc/svcauth_unix.c 	ch = sunrpc_cache_lookup_rcu(cd, &ip.h,
ip                313 net/sunrpc/svcauth_unix.c 	struct ip_map ip;
ip                316 net/sunrpc/svcauth_unix.c 	ip.m_client = udom;
ip                317 net/sunrpc/svcauth_unix.c 	ip.h.flags = 0;
ip                319 net/sunrpc/svcauth_unix.c 		set_bit(CACHE_NEGATIVE, &ip.h.flags);
ip                320 net/sunrpc/svcauth_unix.c 	ip.h.expiry_time = expiry;
ip                321 net/sunrpc/svcauth_unix.c 	ch = sunrpc_cache_update(cd, &ip.h, &ipm->h,
ip                 50 samples/bpf/offwaketime_user.c 	__u64 ip[PERF_MAX_STACK_DEPTH] = {};
ip                 55 samples/bpf/offwaketime_user.c 	if (bpf_map_lookup_elem(map_fd[3], &key->tret, ip) != 0) {
ip                 59 samples/bpf/offwaketime_user.c 			print_ksym(ip[i]);
ip                 62 samples/bpf/offwaketime_user.c 	if (bpf_map_lookup_elem(map_fd[3], &key->wret, ip) != 0) {
ip                 66 samples/bpf/offwaketime_user.c 			print_ksym(ip[i]);
ip                 25 samples/bpf/sampleip_kern.c 	u64 ip;
ip                 28 samples/bpf/sampleip_kern.c 	ip = PT_REGS_IP(&ctx->regs);
ip                 29 samples/bpf/sampleip_kern.c 	value = bpf_map_lookup_elem(&ip_map, &ip);
ip                 34 samples/bpf/sampleip_kern.c 		bpf_map_update_elem(&ip_map, &ip, &init_val, BPF_NOEXIST);
ip                 73 samples/bpf/sampleip_user.c 	__u64 ip;
ip                 98 samples/bpf/sampleip_user.c 		counts[i].ip = next_key;
ip                107 samples/bpf/sampleip_user.c 		if (counts[i].ip > PAGE_OFFSET) {
ip                108 samples/bpf/sampleip_user.c 			sym = ksym_search(counts[i].ip);
ip                114 samples/bpf/sampleip_user.c 			printf("0x%-17llx %-32s %u\n", counts[i].ip, sym->name,
ip                117 samples/bpf/sampleip_user.c 			printf("0x%-17llx %-32s %u\n", counts[i].ip, "(user)",
ip                 20 samples/bpf/test_probe_write_user_user.c 	char *ip;
ip                 46 samples/bpf/test_probe_write_user_user.c 	ip = inet_ntoa(serv_addr_in->sin_addr);
ip                 47 samples/bpf/test_probe_write_user_user.c 	printf("Server bound to: %s:%d\n", ip, ntohs(serv_addr_in->sin_port));
ip                 58 samples/bpf/test_probe_write_user_user.c 	ip = inet_ntoa(mapped_addr_in->sin_addr);
ip                 60 samples/bpf/test_probe_write_user_user.c 	       ip, ntohs(mapped_addr_in->sin_port));
ip                 64 samples/bpf/test_probe_write_user_user.c 	ip = inet_ntoa(tmp_addr_in->sin_addr);
ip                 67 samples/bpf/test_probe_write_user_user.c 	       ip, ntohs(tmp_addr_in->sin_port));
ip                 71 samples/bpf/test_probe_write_user_user.c 	ip = inet_ntoa(tmp_addr_in->sin_addr);
ip                 73 samples/bpf/test_probe_write_user_user.c 	       ip, ntohs(tmp_addr_in->sin_port));
ip                 63 samples/bpf/trace_event_user.c 	__u64 ip[PERF_MAX_STACK_DEPTH] = {};
ip                 68 samples/bpf/trace_event_user.c 	if (bpf_map_lookup_elem(map_fd[1], &key->kernstack, ip) != 0) {
ip                 72 samples/bpf/trace_event_user.c 			print_ksym(ip[i]);
ip                 75 samples/bpf/trace_event_user.c 	if (bpf_map_lookup_elem(map_fd[1], &key->userstack, ip) != 0) {
ip                 79 samples/bpf/trace_event_user.c 			print_addr(ip[i]);
ip                 14 samples/bpf/tracex4_kern.c 	u64 ip;
ip                 40 samples/bpf/tracex4_kern.c 	long ip = 0;
ip                 43 samples/bpf/tracex4_kern.c 	BPF_KRETPROBE_READ_RET_IP(ip, ctx);
ip                 47 samples/bpf/tracex4_kern.c 		.ip = ip,
ip                 19 samples/bpf/tracex4_user.c 	__u64 ip;
ip                 46 samples/bpf/tracex4_user.c 		       next_key, (val - v.val) / 1000000000ll, v.ip);
ip                 32 samples/kprobes/kprobe_example.c 		p->symbol_name, p->addr, regs->ip, regs->flags);
ip                257 scripts/kconfig/qconf.cc 		ConfigItem** ip = (ConfigItem**)&menu->data;
ip                258 scripts/kconfig/qconf.cc 		for (; *ip; ip = &(*ip)->nextItem) {
ip                259 scripts/kconfig/qconf.cc 			if (*ip == this) {
ip                260 scripts/kconfig/qconf.cc 				*ip = nextItem;
ip                279 security/smack/smack_lsm.c static struct smack_known *smk_fetch(const char *name, struct inode *ip,
ip                286 security/smack/smack_lsm.c 	if (!(ip->i_opflags & IOP_XATTR))
ip                293 security/smack/smack_lsm.c 	rc = __vfs_getxattr(dp, ip, name, buffer, SMK_LONGLABEL);
ip               1064 security/smack/smack_lsm.c 	struct inode *ip = d_backing_inode(dentry);
ip               1074 security/smack/smack_lsm.c 	rc = smk_curacc(smk_of_inode(ip), MAY_WRITE, &ad);
ip               1075 security/smack/smack_lsm.c 	rc = smk_bu_inode(ip, MAY_WRITE, rc);
ip               1440 security/smack/smack_lsm.c 	struct inode *ip = (struct inode *)inode;
ip               1449 security/smack/smack_lsm.c 		sbp = ip->i_sb;
ip               1453 security/smack/smack_lsm.c 		sock = SOCKET_I(ip);
ip                535 security/tomoyo/common.h 	struct in6_addr ip[2]; /* Big endian. */
ip               1266 security/tomoyo/common.h 	return !memcmp(a->ip, b->ip, sizeof(a->ip)) && a->group == b->group &&
ip                202 security/tomoyo/group.c 		if (memcmp(&member->address.ip[0], address, size) > 0 ||
ip                203 security/tomoyo/group.c 		    memcmp(address, &member->address.ip[1], size) > 0)
ip                 53 security/tomoyo/network.c 	u8 * const min = ptr->ip[0].in6_u.u6_addr8;
ip                 54 security/tomoyo/network.c 	u8 * const max = ptr->ip[1].in6_u.u6_addr8;
ip                 62 security/tomoyo/network.c 			ptr->ip[1].s6_addr32[0] = ptr->ip[0].s6_addr32[0];
ip                128 security/tomoyo/network.c 		tomoyo_print_ipv6(buf, size, &ptr->ip[0], &ptr->ip[1]);
ip                130 security/tomoyo/network.c 		tomoyo_print_ipv4(buf, size, &ptr->ip[0].s6_addr32[0],
ip                131 security/tomoyo/network.c 				  &ptr->ip[1].s6_addr32[0]);
ip                435 security/tomoyo/network.c 		memcmp(&acl->address.ip[0],
ip                438 security/tomoyo/network.c 		       &acl->address.ip[1], size) <= 0;
ip               1516 sound/core/control.c 	int __user *ip = argp;
ip               1525 sound/core/control.c 		return put_user(SNDRV_CTL_VERSION, ip) ? -EFAULT : 0;
ip               1547 sound/core/control.c 		return snd_ctl_subscribe_events(ctl, ip);
ip               1567 sound/core/control.c 		return put_user(card->power_state, ip) ? -EFAULT : 0;
ip               1569 sound/core/control.c 		return put_user(SNDRV_CTL_POWER_D0, ip) ? -EFAULT : 0;
ip                415 sound/soc/sh/rcar/rsnd.h #define rsnd_mod_get(ip)	(&(ip)->mod)
ip                 19 sound/soc/sti/uniperif.h #define GET_UNIPERIF_REG(ip, offset, shift, mask) \
ip                 20 sound/soc/sti/uniperif.h 	((readl_relaxed(ip->base + offset) >> shift) & mask)
ip                 21 sound/soc/sti/uniperif.h #define SET_UNIPERIF_REG(ip, offset, shift, mask, value) \
ip                 22 sound/soc/sti/uniperif.h 	writel_relaxed(((readl_relaxed(ip->base + offset) & \
ip                 23 sound/soc/sti/uniperif.h 	~(mask << shift)) | (((value) & mask) << shift)), ip->base + offset)
ip                 24 sound/soc/sti/uniperif.h #define SET_UNIPERIF_BIT_REG(ip, offset, shift, mask, value) \
ip                 25 sound/soc/sti/uniperif.h 	writel_relaxed((((value) & mask) << shift), ip->base + offset)
ip                 31 sound/soc/sti/uniperif.h #define UNIPERIF_SOFT_RST_OFFSET(ip) 0x0000
ip                 32 sound/soc/sti/uniperif.h #define GET_UNIPERIF_SOFT_RST(ip) \
ip                 33 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \
ip                 34 sound/soc/sti/uniperif.h 		readl_relaxed(ip->base + UNIPERIF_SOFT_RST_OFFSET(ip)) : 0)
ip                 35 sound/soc/sti/uniperif.h #define SET_UNIPERIF_SOFT_RST(ip, value) \
ip                 36 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_SOFT_RST_OFFSET(ip))
ip                 39 sound/soc/sti/uniperif.h #define UNIPERIF_SOFT_RST_SOFT_RST_SHIFT(ip) 0x0
ip                 40 sound/soc/sti/uniperif.h #define UNIPERIF_SOFT_RST_SOFT_RST_MASK(ip) 0x1
ip                 41 sound/soc/sti/uniperif.h #define SET_UNIPERIF_SOFT_RST_SOFT_RST(ip) \
ip                 42 sound/soc/sti/uniperif.h 	SET_UNIPERIF_BIT_REG(ip, \
ip                 43 sound/soc/sti/uniperif.h 		UNIPERIF_SOFT_RST_OFFSET(ip), \
ip                 44 sound/soc/sti/uniperif.h 		UNIPERIF_SOFT_RST_SOFT_RST_SHIFT(ip), \
ip                 45 sound/soc/sti/uniperif.h 		UNIPERIF_SOFT_RST_SOFT_RST_MASK(ip), 1)
ip                 46 sound/soc/sti/uniperif.h #define GET_UNIPERIF_SOFT_RST_SOFT_RST(ip) \
ip                 47 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                 48 sound/soc/sti/uniperif.h 		UNIPERIF_SOFT_RST_OFFSET(ip), \
ip                 49 sound/soc/sti/uniperif.h 		UNIPERIF_SOFT_RST_SOFT_RST_SHIFT(ip), \
ip                 50 sound/soc/sti/uniperif.h 		UNIPERIF_SOFT_RST_SOFT_RST_MASK(ip))
ip                 56 sound/soc/sti/uniperif.h #define UNIPERIF_FIFO_DATA_OFFSET(ip) 0x0004
ip                 57 sound/soc/sti/uniperif.h #define SET_UNIPERIF_DATA(ip, value) \
ip                 58 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_FIFO_DATA_OFFSET(ip))
ip                 64 sound/soc/sti/uniperif.h #define UNIPERIF_CHANNEL_STA_REGN(ip, n) (0x0060 + (4 * n))
ip                 65 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CHANNEL_STA_REGN(ip) \
ip                 66 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_CHANNEL_STA_REGN(ip, n))
ip                 67 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CHANNEL_STA_REGN(ip, n, value) \
ip                 68 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + \
ip                 69 sound/soc/sti/uniperif.h 			UNIPERIF_CHANNEL_STA_REGN(ip, n))
ip                 71 sound/soc/sti/uniperif.h #define UNIPERIF_CHANNEL_STA_REG0_OFFSET(ip) 0x0060
ip                 72 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CHANNEL_STA_REG0(ip) \
ip                 73 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_CHANNEL_STA_REG0_OFFSET(ip))
ip                 74 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CHANNEL_STA_REG0(ip, value) \
ip                 75 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_CHANNEL_STA_REG0_OFFSET(ip))
ip                 77 sound/soc/sti/uniperif.h #define UNIPERIF_CHANNEL_STA_REG1_OFFSET(ip) 0x0064
ip                 78 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CHANNEL_STA_REG1(ip) \
ip                 79 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_CHANNEL_STA_REG1_OFFSET(ip))
ip                 80 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CHANNEL_STA_REG1(ip, value) \
ip                 81 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_CHANNEL_STA_REG1_OFFSET(ip))
ip                 83 sound/soc/sti/uniperif.h #define UNIPERIF_CHANNEL_STA_REG2_OFFSET(ip) 0x0068
ip                 84 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CHANNEL_STA_REG2(ip) \
ip                 85 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_CHANNEL_STA_REG2_OFFSET(ip))
ip                 86 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CHANNEL_STA_REG2(ip, value) \
ip                 87 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_CHANNEL_STA_REG2_OFFSET(ip))
ip                 89 sound/soc/sti/uniperif.h #define UNIPERIF_CHANNEL_STA_REG3_OFFSET(ip) 0x006C
ip                 90 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CHANNEL_STA_REG3(ip) \
ip                 91 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_CHANNEL_STA_REG3_OFFSET(ip))
ip                 92 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CHANNEL_STA_REG3(ip, value) \
ip                 93 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_CHANNEL_STA_REG3_OFFSET(ip))
ip                 95 sound/soc/sti/uniperif.h #define UNIPERIF_CHANNEL_STA_REG4_OFFSET(ip) 0x0070
ip                 96 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CHANNEL_STA_REG4(ip) \
ip                 97 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_CHANNEL_STA_REG4_OFFSET(ip))
ip                 98 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CHANNEL_STA_REG4(ip, value) \
ip                 99 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_CHANNEL_STA_REG4_OFFSET(ip))
ip                101 sound/soc/sti/uniperif.h #define UNIPERIF_CHANNEL_STA_REG5_OFFSET(ip) 0x0074
ip                102 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CHANNEL_STA_REG5(ip) \
ip                103 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_CHANNEL_STA_REG5_OFFSET(ip))
ip                104 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CHANNEL_STA_REG5(ip, value) \
ip                105 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_CHANNEL_STA_REG5_OFFSET(ip))
ip                111 sound/soc/sti/uniperif.h #define UNIPERIF_ITS_OFFSET(ip) 0x000C
ip                112 sound/soc/sti/uniperif.h #define GET_UNIPERIF_ITS(ip) \
ip                113 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_ITS_OFFSET(ip))
ip                116 sound/soc/sti/uniperif.h #define UNIPERIF_ITS_MEM_BLK_READ_SHIFT(ip) 5
ip                117 sound/soc/sti/uniperif.h #define UNIPERIF_ITS_MEM_BLK_READ_MASK(ip) \
ip                118 sound/soc/sti/uniperif.h 	(BIT(UNIPERIF_ITS_MEM_BLK_READ_SHIFT(ip)))
ip                121 sound/soc/sti/uniperif.h #define UNIPERIF_ITS_FIFO_ERROR_SHIFT(ip) \
ip                122 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 0 : 8)
ip                123 sound/soc/sti/uniperif.h #define UNIPERIF_ITS_FIFO_ERROR_MASK(ip) \
ip                124 sound/soc/sti/uniperif.h 	(BIT(UNIPERIF_ITS_FIFO_ERROR_SHIFT(ip)))
ip                127 sound/soc/sti/uniperif.h #define UNIPERIF_ITS_DMA_ERROR_SHIFT(ip) 9
ip                128 sound/soc/sti/uniperif.h #define UNIPERIF_ITS_DMA_ERROR_MASK(ip) \
ip                129 sound/soc/sti/uniperif.h 	(BIT(UNIPERIF_ITS_DMA_ERROR_SHIFT(ip)))
ip                132 sound/soc/sti/uniperif.h #define UNIPERIF_ITS_UNDERFLOW_REC_DONE_SHIFT(ip) \
ip                133 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 12)
ip                134 sound/soc/sti/uniperif.h #define UNIPERIF_ITS_UNDERFLOW_REC_DONE_MASK(ip) \
ip                135 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \
ip                136 sound/soc/sti/uniperif.h 		0 : (BIT(UNIPERIF_ITS_UNDERFLOW_REC_DONE_SHIFT(ip))))
ip                139 sound/soc/sti/uniperif.h #define UNIPERIF_ITS_UNDERFLOW_REC_FAILED_SHIFT(ip) \
ip                140 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 13)
ip                141 sound/soc/sti/uniperif.h #define UNIPERIF_ITS_UNDERFLOW_REC_FAILED_MASK(ip) \
ip                142 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \
ip                143 sound/soc/sti/uniperif.h 		0 : (BIT(UNIPERIF_ITS_UNDERFLOW_REC_FAILED_SHIFT(ip))))
ip                150 sound/soc/sti/uniperif.h #define UNIPERIF_ITS_BCLR_FIFO_ERROR_SHIFT(ip) \
ip                151 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 0 : 8)
ip                152 sound/soc/sti/uniperif.h #define UNIPERIF_ITS_BCLR_FIFO_ERROR_MASK(ip) \
ip                153 sound/soc/sti/uniperif.h 	(BIT(UNIPERIF_ITS_BCLR_FIFO_ERROR_SHIFT(ip)))
ip                154 sound/soc/sti/uniperif.h #define SET_UNIPERIF_ITS_BCLR_FIFO_ERROR(ip) \
ip                155 sound/soc/sti/uniperif.h 	SET_UNIPERIF_ITS_BCLR(ip, \
ip                156 sound/soc/sti/uniperif.h 		UNIPERIF_ITS_BCLR_FIFO_ERROR_MASK(ip))
ip                158 sound/soc/sti/uniperif.h #define UNIPERIF_ITS_BCLR_OFFSET(ip) 0x0010
ip                159 sound/soc/sti/uniperif.h #define SET_UNIPERIF_ITS_BCLR(ip, value) \
ip                160 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_ITS_BCLR_OFFSET(ip))
ip                166 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_OFFSET(ip) 0x0018
ip                167 sound/soc/sti/uniperif.h #define GET_UNIPERIF_ITM(ip) \
ip                168 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_ITM_OFFSET(ip))
ip                171 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_FIFO_ERROR_SHIFT(ip) \
ip                172 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 0 : 8)
ip                173 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_FIFO_ERROR_MASK(ip) \
ip                174 sound/soc/sti/uniperif.h 	(BIT(UNIPERIF_ITM_FIFO_ERROR_SHIFT(ip)))
ip                177 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_UNDERFLOW_REC_DONE_SHIFT(ip) \
ip                178 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 12)
ip                179 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_UNDERFLOW_REC_DONE_MASK(ip) \
ip                180 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \
ip                181 sound/soc/sti/uniperif.h 		0 : (BIT(UNIPERIF_ITM_UNDERFLOW_REC_DONE_SHIFT(ip))))
ip                184 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_UNDERFLOW_REC_FAILED_SHIFT(ip) \
ip                185 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 13)
ip                186 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_UNDERFLOW_REC_FAILED_MASK(ip) \
ip                187 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \
ip                188 sound/soc/sti/uniperif.h 		0 : (BIT(UNIPERIF_ITM_UNDERFLOW_REC_FAILED_SHIFT(ip))))
ip                194 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BCLR_OFFSET(ip) 0x001c
ip                195 sound/soc/sti/uniperif.h #define SET_UNIPERIF_ITM_BCLR(ip, value) \
ip                196 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_ITM_BCLR_OFFSET(ip))
ip                199 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BCLR_FIFO_ERROR_SHIFT(ip) \
ip                200 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 0 : 8)
ip                201 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BCLR_FIFO_ERROR_MASK(ip) \
ip                202 sound/soc/sti/uniperif.h 	(BIT(UNIPERIF_ITM_BCLR_FIFO_ERROR_SHIFT(ip)))
ip                203 sound/soc/sti/uniperif.h #define SET_UNIPERIF_ITM_BCLR_FIFO_ERROR(ip) \
ip                204 sound/soc/sti/uniperif.h 	SET_UNIPERIF_ITM_BCLR(ip, \
ip                205 sound/soc/sti/uniperif.h 		UNIPERIF_ITM_BCLR_FIFO_ERROR_MASK(ip))
ip                208 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BCLR_DMA_ERROR_SHIFT(ip) 9
ip                209 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BCLR_DMA_ERROR_MASK(ip) \
ip                210 sound/soc/sti/uniperif.h 	(BIT(UNIPERIF_ITM_BCLR_DMA_ERROR_SHIFT(ip)))
ip                211 sound/soc/sti/uniperif.h #define SET_UNIPERIF_ITM_BCLR_DMA_ERROR(ip) \
ip                212 sound/soc/sti/uniperif.h 	SET_UNIPERIF_ITM_BCLR(ip, \
ip                213 sound/soc/sti/uniperif.h 		UNIPERIF_ITM_BCLR_DMA_ERROR_MASK(ip))
ip                219 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BSET_OFFSET(ip) 0x0020
ip                220 sound/soc/sti/uniperif.h #define SET_UNIPERIF_ITM_BSET(ip, value) \
ip                221 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_ITM_BSET_OFFSET(ip))
ip                224 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BSET_FIFO_ERROR_SHIFT(ip) \
ip                225 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 0 : 8)
ip                226 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BSET_FIFO_ERROR_MASK(ip) \
ip                227 sound/soc/sti/uniperif.h 	(BIT(UNIPERIF_ITM_BSET_FIFO_ERROR_SHIFT(ip)))
ip                228 sound/soc/sti/uniperif.h #define SET_UNIPERIF_ITM_BSET_FIFO_ERROR(ip) \
ip                229 sound/soc/sti/uniperif.h 	SET_UNIPERIF_ITM_BSET(ip, \
ip                230 sound/soc/sti/uniperif.h 		UNIPERIF_ITM_BSET_FIFO_ERROR_MASK(ip))
ip                233 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BSET_MEM_BLK_READ_SHIFT(ip) 5
ip                234 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BSET_MEM_BLK_READ_MASK(ip) \
ip                235 sound/soc/sti/uniperif.h 	(BIT(UNIPERIF_ITM_BSET_MEM_BLK_READ_SHIFT(ip)))
ip                236 sound/soc/sti/uniperif.h #define SET_UNIPERIF_ITM_BSET_MEM_BLK_READ(ip) \
ip                237 sound/soc/sti/uniperif.h 	SET_UNIPERIF_ITM_BSET(ip, \
ip                238 sound/soc/sti/uniperif.h 		UNIPERIF_ITM_BSET_MEM_BLK_READ_MASK(ip))
ip                241 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BSET_DMA_ERROR_SHIFT(ip) 9
ip                242 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BSET_DMA_ERROR_MASK(ip) \
ip                243 sound/soc/sti/uniperif.h 	(BIT(UNIPERIF_ITM_BSET_DMA_ERROR_SHIFT(ip)))
ip                244 sound/soc/sti/uniperif.h #define SET_UNIPERIF_ITM_BSET_DMA_ERROR(ip) \
ip                245 sound/soc/sti/uniperif.h 	SET_UNIPERIF_ITM_BSET(ip, \
ip                246 sound/soc/sti/uniperif.h 		UNIPERIF_ITM_BSET_DMA_ERROR_MASK(ip))
ip                249 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BSET_UNDERFLOW_REC_DONE_SHIFT(ip) \
ip                250 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 12)
ip                251 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BSET_UNDERFLOW_REC_DONE_MASK(ip) \
ip                252 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \
ip                253 sound/soc/sti/uniperif.h 		0 : (BIT(UNIPERIF_ITM_BSET_UNDERFLOW_REC_DONE_SHIFT(ip))))
ip                254 sound/soc/sti/uniperif.h #define SET_UNIPERIF_ITM_BSET_UNDERFLOW_REC_DONE(ip) \
ip                255 sound/soc/sti/uniperif.h 	SET_UNIPERIF_ITM_BSET(ip, \
ip                256 sound/soc/sti/uniperif.h 		UNIPERIF_ITM_BSET_UNDERFLOW_REC_DONE_MASK(ip))
ip                259 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BSET_UNDERFLOW_REC_FAILED_SHIFT(ip) \
ip                260 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 13)
ip                261 sound/soc/sti/uniperif.h #define UNIPERIF_ITM_BSET_UNDERFLOW_REC_FAILED_MASK(ip) \
ip                262 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \
ip                263 sound/soc/sti/uniperif.h 		0 : (BIT(UNIPERIF_ITM_BSET_UNDERFLOW_REC_FAILED_SHIFT(ip))))
ip                264 sound/soc/sti/uniperif.h #define SET_UNIPERIF_ITM_BSET_UNDERFLOW_REC_FAILED(ip) \
ip                265 sound/soc/sti/uniperif.h 	SET_UNIPERIF_ITM_BSET(ip, \
ip                266 sound/soc/sti/uniperif.h 		UNIPERIF_ITM_BSET_UNDERFLOW_REC_FAILED_MASK(ip))
ip                272 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_OFFSET(ip) 0x0040
ip                273 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG(ip) \
ip                274 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_CONFIG_OFFSET(ip))
ip                275 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG(ip, value) \
ip                276 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_CONFIG_OFFSET(ip))
ip                279 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_PARITY_CNTR_SHIFT(ip) 0
ip                280 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_PARITY_CNTR_MASK(ip) 0x1
ip                281 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG_PARITY_CNTR(ip) \
ip                282 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                283 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                284 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_PARITY_CNTR_SHIFT(ip), \
ip                285 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_PARITY_CNTR_MASK(ip))
ip                286 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_PARITY_CNTR_BY_HW(ip) \
ip                287 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                288 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                289 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_PARITY_CNTR_SHIFT(ip), \
ip                290 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_PARITY_CNTR_MASK(ip), 0)
ip                291 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_PARITY_CNTR_BY_SW(ip) \
ip                292 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                293 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                294 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_PARITY_CNTR_SHIFT(ip), \
ip                295 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_PARITY_CNTR_MASK(ip), 1)
ip                298 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_CHANNEL_STA_CNTR_SHIFT(ip) 1
ip                299 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_CHANNEL_STA_CNTR_MASK(ip) 0x1
ip                300 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG_CHANNEL_STA_CNTR(ip) \
ip                301 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                302 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                303 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_CHANNEL_STA_CNTR_SHIFT(ip), \
ip                304 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_CHANNEL_STA_CNTR_MASK(ip))
ip                305 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_CHANNEL_STA_CNTR_BY_SW(ip) \
ip                306 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                307 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                308 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_CHANNEL_STA_CNTR_SHIFT(ip), \
ip                309 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_CHANNEL_STA_CNTR_MASK(ip), 0)
ip                310 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_CHANNEL_STA_CNTR_BY_HW(ip) \
ip                311 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                312 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip),    \
ip                313 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_CHANNEL_STA_CNTR_SHIFT(ip), \
ip                314 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_CHANNEL_STA_CNTR_MASK(ip), 1)
ip                317 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_USER_DAT_CNTR_SHIFT(ip) 2
ip                318 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_USER_DAT_CNTR_MASK(ip) 0x1
ip                319 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG_USER_DAT_CNTR(ip) \
ip                320 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                321 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                322 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_USER_DAT_CNTR_SHIFT(ip), \
ip                323 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_USER_DAT_CNTR_MASK(ip))
ip                324 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_USER_DAT_CNTR_BY_HW(ip) \
ip                325 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                326 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                327 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_USER_DAT_CNTR_SHIFT(ip), \
ip                328 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_USER_DAT_CNTR_MASK(ip), 1)
ip                329 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_USER_DAT_CNTR_BY_SW(ip) \
ip                330 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                331 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                332 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_USER_DAT_CNTR_SHIFT(ip), \
ip                333 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_USER_DAT_CNTR_MASK(ip), 0)
ip                336 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_VALIDITY_DAT_CNTR_SHIFT(ip) 3
ip                337 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_VALIDITY_DAT_CNTR_MASK(ip) 0x1
ip                338 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG_VALIDITY_DAT_CNTR(ip) \
ip                339 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                340 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                341 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_VALIDITY_DAT_CNTR_SHIFT(ip), \
ip                342 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_VALIDITY_DAT_CNTR_MASK(ip))
ip                343 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_VALIDITY_DAT_CNTR_BY_SW(ip) \
ip                344 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                345 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                346 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_VALIDITY_DAT_CNTR_SHIFT(ip), \
ip                347 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_VALIDITY_DAT_CNTR_MASK(ip), 0)
ip                348 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_VALIDITY_DAT_CNTR_BY_HW(ip) \
ip                349 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                350 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                351 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_VALIDITY_DAT_CNTR_SHIFT(ip), \
ip                352 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_VALIDITY_DAT_CNTR_MASK(ip), 1)
ip                355 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_ONE_BIT_AUD_SHIFT(ip) 4
ip                356 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_ONE_BIT_AUD_MASK(ip) 0x1
ip                357 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG_ONE_BIT_AUD(ip) \
ip                358 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                359 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                360 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_ONE_BIT_AUD_SHIFT(ip), \
ip                361 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_ONE_BIT_AUD_MASK(ip))
ip                362 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_ONE_BIT_AUD_DISABLE(ip) \
ip                363 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                364 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                365 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_ONE_BIT_AUD_SHIFT(ip), \
ip                366 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_ONE_BIT_AUD_MASK(ip), 0)
ip                367 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_ONE_BIT_AUD_ENABLE(ip) \
ip                368 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                369 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                370 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_ONE_BIT_AUD_SHIFT(ip), \
ip                371 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_ONE_BIT_AUD_MASK(ip), 1)
ip                374 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_MEM_FMT_SHIFT(ip) 5
ip                375 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_MEM_FMT_MASK(ip) 0x1
ip                376 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_CONFIG_MEM_FMT_16_0(ip) 0
ip                377 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_CONFIG_MEM_FMT_16_16(ip) 1
ip                378 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG_MEM_FMT(ip) \
ip                379 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                380 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                381 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_MEM_FMT_SHIFT(ip), \
ip                382 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_MEM_FMT_MASK(ip))
ip                383 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_MEM_FMT(ip, value)	\
ip                384 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                385 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                386 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_MEM_FMT_SHIFT(ip), \
ip                387 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_MEM_FMT_MASK(ip), value)
ip                388 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_MEM_FMT_16_0(ip)   \
ip                389 sound/soc/sti/uniperif.h 	SET_UNIPERIF_CONFIG_MEM_FMT(ip, \
ip                390 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_CONFIG_MEM_FMT_16_0(ip))
ip                391 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_MEM_FMT_16_16(ip) \
ip                392 sound/soc/sti/uniperif.h 	SET_UNIPERIF_CONFIG_MEM_FMT(ip, \
ip                393 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_CONFIG_MEM_FMT_16_16(ip))
ip                396 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_REPEAT_CHL_STS_SHIFT(ip) 6
ip                397 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_REPEAT_CHL_STS_MASK(ip) 0x1
ip                398 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG_REPEAT_CHL_STS(ip) \
ip                399 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                400 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                401 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_REPEAT_CHL_STS_SHIFT(ip), \
ip                402 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_REPEAT_CHL_STS_MASK(ip))
ip                403 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_REPEAT_CHL_STS_ENABLE(ip) \
ip                404 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                405 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                406 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_REPEAT_CHL_STS_SHIFT(ip), \
ip                407 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_REPEAT_CHL_STS_MASK(ip), 0)
ip                408 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_REPEAT_CHL_STS_DISABLE(ip) \
ip                409 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                410 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                411 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_REPEAT_CHL_STS_SHIFT(ip), \
ip                412 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_REPEAT_CHL_STS_MASK(ip), 1)
ip                415 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_BACK_STALL_REQ_SHIFT(ip) \
ip                416 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 7 : -1)
ip                417 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_BACK_STALL_REQ_MASK(ip) 0x1
ip                418 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG_BACK_STALL_REQ(ip) \
ip                419 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                420 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                421 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_BACK_STALL_REQ_SHIFT(ip), \
ip                422 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_BACK_STALL_REQ_MASK(ip))
ip                423 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_BACK_STALL_REQ_DISABLE(ip) \
ip                424 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                425 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                426 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_BACK_STALL_REQ_SHIFT(ip), \
ip                427 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_BACK_STALL_REQ_MASK(ip), 0)
ip                428 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_BACK_STALL_REQ_ENABLE(ip) \
ip                429 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                430 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                431 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_BACK_STALL_REQ_SHIFT(ip), \
ip                432 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_BACK_STALL_REQ_MASK(ip), 1)
ip                435 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_DMA_TRIG_LIMIT_SHIFT(ip) 8
ip                436 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_DMA_TRIG_LIMIT_MASK(ip) 0x7F
ip                437 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG_DMA_TRIG_LIMIT(ip) \
ip                438 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                439 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                440 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_DMA_TRIG_LIMIT_SHIFT(ip), \
ip                441 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_DMA_TRIG_LIMIT_MASK(ip))
ip                442 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_DMA_TRIG_LIMIT(ip, value) \
ip                443 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                444 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                445 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_DMA_TRIG_LIMIT_SHIFT(ip), \
ip                446 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_DMA_TRIG_LIMIT_MASK(ip), value)
ip                449 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_CHL_STS_UPDATE_SHIFT(ip) \
ip                450 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 16 : -1)
ip                451 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_CHL_STS_UPDATE_MASK(ip) 0x1
ip                452 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG_CHL_STS_UPDATE(ip) \
ip                453 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                454 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip),  \
ip                455 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_CHL_STS_UPDATE_SHIFT(ip), \
ip                456 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_CHL_STS_UPDATE_MASK(ip))
ip                457 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_CHL_STS_UPDATE(ip) \
ip                458 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                459 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                460 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_CHL_STS_UPDATE_SHIFT(ip), \
ip                461 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_CHL_STS_UPDATE_MASK(ip), 1)
ip                464 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_IDLE_MOD_SHIFT(ip) 18
ip                465 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_IDLE_MOD_MASK(ip) 0x1
ip                466 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG_IDLE_MOD(ip) \
ip                467 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                468 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                469 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_IDLE_MOD_SHIFT(ip), \
ip                470 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_IDLE_MOD_MASK(ip))
ip                471 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_IDLE_MOD_DISABLE(ip) \
ip                472 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                473 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                474 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_IDLE_MOD_SHIFT(ip), \
ip                475 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_IDLE_MOD_MASK(ip), 0)
ip                476 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_IDLE_MOD_ENABLE(ip) \
ip                477 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                478 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                479 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_IDLE_MOD_SHIFT(ip), \
ip                480 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_IDLE_MOD_MASK(ip), 1)
ip                483 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_SUBFRAME_SEL_SHIFT(ip) 19
ip                484 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_SUBFRAME_SEL_MASK(ip) 0x1
ip                485 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG_SUBFRAME_SEL(ip) \
ip                486 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                487 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                488 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_SUBFRAME_SEL_SHIFT(ip), \
ip                489 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_SUBFRAME_SEL_MASK(ip))
ip                490 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_SUBFRAME_SEL_SUBF1_SUBF0(ip) \
ip                491 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                492 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                493 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_SUBFRAME_SEL_SHIFT(ip), \
ip                494 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_SUBFRAME_SEL_MASK(ip), 1)
ip                495 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_SUBFRAME_SEL_SUBF0_SUBF1(ip) \
ip                496 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                497 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                498 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_SUBFRAME_SEL_SHIFT(ip), \
ip                499 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_SUBFRAME_SEL_MASK(ip), 0)
ip                502 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_SPDIF_SW_CTRL_SHIFT(ip) 20
ip                503 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_SPDIF_SW_CTRL_MASK(ip) 0x1
ip                504 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG_SPDIF_SW_CTRL(ip) \
ip                505 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                506 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                507 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_SPDIF_SW_CTRL_SHIFT(ip), \
ip                508 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_SPDIF_SW_CTRL_MASK(ip))
ip                509 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_SPDIF_SW_CTRL_ENABLE(ip) \
ip                510 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                511 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                512 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_SPDIF_SW_CTRL_SHIFT(ip), \
ip                513 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_SPDIF_SW_CTRL_MASK(ip), 1)
ip                514 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_SPDIF_SW_CTRL_DISABLE(ip) \
ip                515 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                516 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                517 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_SPDIF_SW_CTRL_SHIFT(ip), \
ip                518 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_SPDIF_SW_CTRL_MASK(ip), 0)
ip                521 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_MSTR_CLKEDGE_SHIFT(ip) \
ip                522 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 24 : -1)
ip                523 sound/soc/sti/uniperif.h #define UNIPERIF_CONFIG_MSTR_CLKEDGE_MASK(ip) 0x1
ip                524 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CONFIG_MSTR_CLKEDGE(ip) \
ip                525 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                526 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                527 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_MSTR_CLKEDGE_SHIFT(ip), \
ip                528 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_MSTR_CLKEDGE_MASK(ip))
ip                529 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_MSTR_CLKEDGE_FALLING(ip) \
ip                530 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                531 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                532 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_MSTR_CLKEDGE_SHIFT(ip), \
ip                533 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_MSTR_CLKEDGE_MASK(ip), 1)
ip                534 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CONFIG_MSTR_CLKEDGE_RISING(ip) \
ip                535 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                536 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_OFFSET(ip), \
ip                537 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_MSTR_CLKEDGE_SHIFT(ip), \
ip                538 sound/soc/sti/uniperif.h 		UNIPERIF_CONFIG_MSTR_CLKEDGE_MASK(ip), 0)
ip                544 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_OFFSET(ip) 0x0044
ip                545 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CTRL(ip) \
ip                546 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_CTRL_OFFSET(ip))
ip                547 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL(ip, value) \
ip                548 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_CTRL_OFFSET(ip))
ip                551 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_OPERATION_SHIFT(ip) 0
ip                552 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_OPERATION_MASK(ip) 0x7
ip                553 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CTRL_OPERATION(ip) \
ip                554 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                555 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                556 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_SHIFT(ip), \
ip                557 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_MASK(ip))
ip                558 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_CTRL_OPERATION_OFF(ip) 0
ip                559 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_OPERATION_OFF(ip) \
ip                560 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                561 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                562 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_SHIFT(ip), \
ip                563 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_MASK(ip), \
ip                564 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_CTRL_OPERATION_OFF(ip))
ip                565 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_CTRL_OPERATION_MUTE_PCM_NULL(ip) \
ip                566 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 1 : -1)
ip                567 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_OPERATION_MUTE_PCM_NULL(ip) \
ip                568 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                569 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                570 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_SHIFT(ip), \
ip                571 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_MASK(ip), \
ip                572 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_CTRL_OPERATION_MUTE_PCM_NULL(ip))
ip                573 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_CTRL_OPERATION_MUTE_PAUSE_BURST(ip) \
ip                574 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 2 : -1)
ip                575 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_OPERATION_MUTE_PAUSE_BURST(ip) \
ip                576 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                577 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                578 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_SHIFT(ip), \
ip                579 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_MASK(ip), \
ip                580 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_CTRL_OPERATION_MUTE_PAUSE_BURST(ip))
ip                581 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_CTRL_OPERATION_PCM_DATA(ip) 3
ip                582 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_OPERATION_PCM_DATA(ip) \
ip                583 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                584 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                585 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_SHIFT(ip), \
ip                586 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_MASK(ip), \
ip                587 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_CTRL_OPERATION_PCM_DATA(ip))
ip                589 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_CTRL_OPERATION_AUDIO_DATA(ip) 3
ip                590 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_OPERATION_AUDIO_DATA(ip) \
ip                591 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                592 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                593 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_SHIFT(ip), \
ip                594 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_MASK(ip), \
ip                595 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_CTRL_OPERATION_AUDIO_DATA(ip))
ip                596 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_CTRL_OPERATION_ENC_DATA(ip) 4
ip                597 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_OPERATION_ENC_DATA(ip) \
ip                598 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                599 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                600 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_SHIFT(ip), \
ip                601 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_MASK(ip), \
ip                602 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_CTRL_OPERATION_ENC_DATA(ip))
ip                603 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_CTRL_OPERATION_CD_DATA(ip) \
ip                604 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 5 : -1)
ip                605 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_OPERATION_CD_DATA(ip) \
ip                606 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                607 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                608 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_SHIFT(ip), \
ip                609 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_MASK(ip), \
ip                610 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_CTRL_OPERATION_CD_DATA(ip))
ip                611 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_CTRL_OPERATION_STANDBY(ip) \
ip                612 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 7)
ip                613 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_OPERATION_STANDBY(ip) \
ip                614 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                615 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                616 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_SHIFT(ip), \
ip                617 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OPERATION_MASK(ip), \
ip                618 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_CTRL_OPERATION_STANDBY(ip))
ip                621 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_EXIT_STBY_ON_EOBLOCK_SHIFT(ip) \
ip                622 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 3)
ip                623 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_EXIT_STBY_ON_EOBLOCK_MASK(ip) 0x1
ip                624 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CTRL_EXIT_STBY_ON_EOBLOCK(ip) \
ip                625 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                626 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                627 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_EXIT_STBY_ON_EOBLOCK_SHIFT(ip), \
ip                628 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_EXIT_STBY_ON_EOBLOCK_MASK(ip))
ip                629 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_EXIT_STBY_ON_EOBLOCK_OFF(ip) \
ip                630 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                631 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                632 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_EXIT_STBY_ON_EOBLOCK_SHIFT(ip), \
ip                633 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_EXIT_STBY_ON_EOBLOCK_MASK(ip), 0)
ip                634 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_EXIT_STBY_ON_EOBLOCK_ON(ip) \
ip                635 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                636 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                637 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_EXIT_STBY_ON_EOBLOCK_SHIFT(ip), \
ip                638 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_EXIT_STBY_ON_EOBLOCK_MASK(ip), 1)
ip                641 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_ROUNDING_SHIFT(ip) 4
ip                642 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_ROUNDING_MASK(ip) 0x1
ip                643 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CTRL_ROUNDING(ip) \
ip                644 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                645 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                646 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_ROUNDING_SHIFT(ip), \
ip                647 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_ROUNDING_MASK(ip))
ip                648 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_ROUNDING_OFF(ip) \
ip                649 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                650 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                651 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_ROUNDING_SHIFT(ip), \
ip                652 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_ROUNDING_MASK(ip), 0)
ip                653 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_ROUNDING_ON(ip) \
ip                654 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                655 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                656 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_ROUNDING_SHIFT(ip), \
ip                657 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_ROUNDING_MASK(ip), 1)
ip                660 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_DIVIDER_SHIFT(ip) 5
ip                661 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_DIVIDER_MASK(ip) 0xff
ip                662 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CTRL_DIVIDER(ip) \
ip                663 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                664 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                665 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_DIVIDER_SHIFT(ip), \
ip                666 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_DIVIDER_MASK(ip))
ip                667 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_DIVIDER(ip, value) \
ip                668 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                669 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                670 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_DIVIDER_SHIFT(ip), \
ip                671 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_DIVIDER_MASK(ip), value)
ip                674 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_BYTE_SWP_SHIFT(ip) \
ip                675 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 13 : -1)
ip                676 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_BYTE_SWP_MASK(ip) 0x1
ip                677 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CTRL_BYTE_SWP(ip) \
ip                678 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                679 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                680 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_BYTE_SWP_SHIFT(ip), \
ip                681 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_BYTE_SWP_MASK(ip))
ip                682 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_BYTE_SWP_OFF(ip) \
ip                683 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                684 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                685 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_BYTE_SWP_SHIFT(ip), \
ip                686 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_BYTE_SWP_MASK(ip), 0)
ip                687 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_BYTE_SWP_ON(ip) \
ip                688 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                689 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                690 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_BYTE_SWP_SHIFT(ip), \
ip                691 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_BYTE_SWP_MASK(ip), 1)
ip                694 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_ZERO_STUFF_SHIFT(ip) \
ip                695 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 14 : -1)
ip                696 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_ZERO_STUFF_MASK(ip) 0x1
ip                697 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CTRL_ZERO_STUFF(ip) \
ip                698 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                699 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                700 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_ZERO_STUFF_SHIFT(ip), \
ip                701 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_ZERO_STUFF_MASK(ip))
ip                702 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_ZERO_STUFF_HW(ip) \
ip                703 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                704 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                705 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_ZERO_STUFF_SHIFT(ip), \
ip                706 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_ZERO_STUFF_MASK(ip), 1)
ip                707 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_ZERO_STUFF_SW(ip) \
ip                708 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                709 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                710 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_ZERO_STUFF_SHIFT(ip), \
ip                711 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_ZERO_STUFF_MASK(ip), 0)
ip                714 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_SPDIF_LAT_SHIFT(ip) \
ip                715 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 16 : -1)
ip                716 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_SPDIF_LAT_MASK(ip) 0x1
ip                717 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CTRL_SPDIF_LAT(ip) \
ip                718 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                719 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                720 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_SPDIF_LAT_SHIFT(ip), \
ip                721 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_SPDIF_LAT_MASK(ip))
ip                722 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_SPDIF_LAT_ON(ip) \
ip                723 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                724 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                725 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_SPDIF_LAT_SHIFT(ip), \
ip                726 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_SPDIF_LAT_MASK(ip), 1)
ip                727 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_SPDIF_LAT_OFF(ip) \
ip                728 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                729 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                730 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_SPDIF_LAT_SHIFT(ip), \
ip                731 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_SPDIF_LAT_MASK(ip), 0)
ip                734 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_SPDIF_FMT_SHIFT(ip) 17
ip                735 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_SPDIF_FMT_MASK(ip) 0x1
ip                736 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CTRL_SPDIF_FMT(ip) \
ip                737 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                738 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                739 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_SPDIF_FMT_SHIFT(ip), \
ip                740 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_SPDIF_FMT_MASK(ip))
ip                741 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_SPDIF_FMT_ON(ip) \
ip                742 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                743 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                744 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_SPDIF_FMT_SHIFT(ip), \
ip                745 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_SPDIF_FMT_MASK(ip), 1)
ip                746 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_SPDIF_FMT_OFF(ip) \
ip                747 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                748 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                749 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_SPDIF_FMT_SHIFT(ip), \
ip                750 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_SPDIF_FMT_MASK(ip), 0)
ip                753 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_READER_OUT_SEL_SHIFT(ip) \
ip                754 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 18 : -1)
ip                755 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_READER_OUT_SEL_MASK(ip) 0x1
ip                756 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CTRL_READER_OUT_SEL(ip) \
ip                757 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                758 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                759 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_READER_OUT_SEL_SHIFT(ip), \
ip                760 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_READER_OUT_SEL_MASK(ip))
ip                761 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_READER_OUT_SEL_IN_MEM(ip) \
ip                762 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                763 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                764 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_READER_OUT_SEL_SHIFT(ip), \
ip                765 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_READER_OUT_SEL_MASK(ip), 0)
ip                766 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_READER_OUT_SEL_ON_I2S_LINE(ip) \
ip                767 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                768 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                769 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_READER_OUT_SEL_SHIFT(ip), \
ip                770 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_READER_OUT_SEL_MASK(ip), 1)
ip                773 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_UNDERFLOW_REC_WINDOW_SHIFT(ip) 20
ip                774 sound/soc/sti/uniperif.h #define UNIPERIF_CTRL_UNDERFLOW_REC_WINDOW_MASK(ip) 0xff
ip                775 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CTRL_UNDERFLOW_REC_WINDOW(ip) \
ip                776 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                777 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                778 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_UNDERFLOW_REC_WINDOW_SHIFT(ip), \
ip                779 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_UNDERFLOW_REC_WINDOW_MASK(ip))
ip                780 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CTRL_UNDERFLOW_REC_WINDOW(ip, value) \
ip                781 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                782 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_OFFSET(ip), \
ip                783 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_UNDERFLOW_REC_WINDOW_SHIFT(ip), \
ip                784 sound/soc/sti/uniperif.h 		UNIPERIF_CTRL_UNDERFLOW_REC_WINDOW_MASK(ip), value)
ip                790 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_OFFSET(ip) 0x0048
ip                791 sound/soc/sti/uniperif.h #define GET_UNIPERIF_I2S_FMT(ip) \
ip                792 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_I2S_FMT_OFFSET(ip))
ip                793 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT(ip, value) \
ip                794 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_I2S_FMT_OFFSET(ip))
ip                797 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_NBIT_SHIFT(ip) 0
ip                798 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_NBIT_MASK(ip) 0x1
ip                799 sound/soc/sti/uniperif.h #define GET_UNIPERIF_I2S_FMT_NBIT(ip) \
ip                800 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                801 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                802 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_NBIT_SHIFT(ip), \
ip                803 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_NBIT_MASK(ip))
ip                804 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_NBIT_32(ip) \
ip                805 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                806 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                807 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_NBIT_SHIFT(ip), \
ip                808 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_NBIT_MASK(ip), 0)
ip                809 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_NBIT_16(ip) \
ip                810 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                811 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                812 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_NBIT_SHIFT(ip), \
ip                813 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_NBIT_MASK(ip), 1)
ip                816 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_DATA_SIZE_SHIFT(ip) 1
ip                817 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_DATA_SIZE_MASK(ip) 0x7
ip                818 sound/soc/sti/uniperif.h #define GET_UNIPERIF_I2S_FMT_DATA_SIZE(ip) \
ip                819 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                820 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                821 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_DATA_SIZE_SHIFT(ip), \
ip                822 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_DATA_SIZE_MASK(ip))
ip                823 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_DATA_SIZE_16(ip) \
ip                824 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                825 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                826 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_DATA_SIZE_SHIFT(ip), \
ip                827 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_DATA_SIZE_MASK(ip), 0)
ip                828 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_DATA_SIZE_18(ip) \
ip                829 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                830 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                831 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_DATA_SIZE_SHIFT(ip), \
ip                832 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_DATA_SIZE_MASK(ip), 1)
ip                833 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_DATA_SIZE_20(ip) \
ip                834 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                835 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                836 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_DATA_SIZE_SHIFT(ip), \
ip                837 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_DATA_SIZE_MASK(ip), 2)
ip                838 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_DATA_SIZE_24(ip) \
ip                839 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                840 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                841 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_DATA_SIZE_SHIFT(ip), \
ip                842 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_DATA_SIZE_MASK(ip), 3)
ip                843 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMTL_DATA_SIZE_28(ip) \
ip                844 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                845 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                846 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_DATA_SIZE_SHIFT(ip), \
ip                847 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_DATA_SIZE_MASK(ip), 4)
ip                848 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_DATA_SIZE_32(ip) \
ip                849 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                850 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                851 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_DATA_SIZE_SHIFT(ip), \
ip                852 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_DATA_SIZE_MASK(ip), 5)
ip                855 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_LR_POL_SHIFT(ip) 4
ip                856 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_LR_POL_MASK(ip) 0x1
ip                857 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_I2S_FMT_LR_POL_LOW(ip) 0x0
ip                858 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_I2S_FMT_LR_POL_HIG(ip) 0x1
ip                859 sound/soc/sti/uniperif.h #define GET_UNIPERIF_I2S_FMT_LR_POL(ip) \
ip                860 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                861 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                862 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_LR_POL_SHIFT(ip), \
ip                863 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_LR_POL_MASK(ip))
ip                864 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_LR_POL(ip, value) \
ip                865 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                866 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                867 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_LR_POL_SHIFT(ip), \
ip                868 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_LR_POL_MASK(ip), value)
ip                869 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_LR_POL_LOW(ip) \
ip                870 sound/soc/sti/uniperif.h 	SET_UNIPERIF_I2S_FMT_LR_POL(ip, \
ip                871 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_I2S_FMT_LR_POL_LOW(ip))
ip                872 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_LR_POL_HIG(ip) \
ip                873 sound/soc/sti/uniperif.h 	SET_UNIPERIF_I2S_FMT_LR_POL(ip, \
ip                874 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_I2S_FMT_LR_POL_HIG(ip))
ip                877 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_SCLK_EDGE_SHIFT(ip) 5
ip                878 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_SCLK_EDGE_MASK(ip) 0x1
ip                879 sound/soc/sti/uniperif.h #define GET_UNIPERIF_I2S_FMT_SCLK_EDGE(ip) \
ip                880 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                881 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                882 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_SCLK_EDGE_SHIFT(ip), \
ip                883 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_SCLK_EDGE_MASK(ip))
ip                884 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_SCLK_EDGE_RISING(ip) \
ip                885 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                886 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                887 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_SCLK_EDGE_SHIFT(ip), \
ip                888 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_SCLK_EDGE_MASK(ip), 0)
ip                889 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_SCLK_EDGE_FALLING(ip) \
ip                890 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                891 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                892 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_SCLK_EDGE_SHIFT(ip), \
ip                893 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_SCLK_EDGE_MASK(ip), 1)
ip                896 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_PADDING_SHIFT(ip) 6
ip                897 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_PADDING_MASK(ip) 0x1
ip                898 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_PADDING_MASK(ip) 0x1
ip                899 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_I2S_FMT_PADDING_I2S_MODE(ip) 0x0
ip                900 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_I2S_FMT_PADDING_SONY_MODE(ip) 0x1
ip                901 sound/soc/sti/uniperif.h #define GET_UNIPERIF_I2S_FMT_PADDING(ip) \
ip                902 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                903 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                904 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_PADDING_SHIFT(ip), \
ip                905 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_PADDING_MASK(ip))
ip                906 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_PADDING(ip, value) \
ip                907 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                908 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                909 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_PADDING_SHIFT(ip), \
ip                910 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_PADDING_MASK(ip), value)
ip                911 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_PADDING_I2S_MODE(ip) \
ip                912 sound/soc/sti/uniperif.h 	SET_UNIPERIF_I2S_FMT_PADDING(ip, \
ip                913 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_I2S_FMT_PADDING_I2S_MODE(ip))
ip                914 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_PADDING_SONY_MODE(ip) \
ip                915 sound/soc/sti/uniperif.h 	SET_UNIPERIF_I2S_FMT_PADDING(ip, \
ip                916 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_I2S_FMT_PADDING_SONY_MODE(ip))
ip                919 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_ALIGN_SHIFT(ip) 7
ip                920 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_ALIGN_MASK(ip) 0x1
ip                921 sound/soc/sti/uniperif.h #define GET_UNIPERIF_I2S_FMT_ALIGN(ip) \
ip                922 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                923 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                924 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_ALIGN_SHIFT(ip), \
ip                925 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_ALIGN_MASK(ip))
ip                926 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_ALIGN_LEFT(ip) \
ip                927 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                928 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                929 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_ALIGN_SHIFT(ip), \
ip                930 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_ALIGN_MASK(ip), 0)
ip                931 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_ALIGN_RIGHT(ip) \
ip                932 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                933 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                934 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_ALIGN_SHIFT(ip), \
ip                935 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_ALIGN_MASK(ip), 1)
ip                938 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_ORDER_SHIFT(ip) 8
ip                939 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_ORDER_MASK(ip) 0x1
ip                940 sound/soc/sti/uniperif.h #define GET_UNIPERIF_I2S_FMT_ORDER(ip) \
ip                941 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                942 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                943 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_ORDER_SHIFT(ip), \
ip                944 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_ORDER_MASK(ip))
ip                945 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_ORDER_LSB(ip) \
ip                946 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                947 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                948 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_ORDER_SHIFT(ip), \
ip                949 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_ORDER_MASK(ip), 0)
ip                950 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_ORDER_MSB(ip) \
ip                951 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                952 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                953 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_ORDER_SHIFT(ip), \
ip                954 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_ORDER_MASK(ip), 1)
ip                957 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_NUM_CH_SHIFT(ip) 9
ip                958 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_NUM_CH_MASK(ip) 0x7
ip                959 sound/soc/sti/uniperif.h #define GET_UNIPERIF_I2S_FMT_NUM_CH(ip) \
ip                960 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                961 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                962 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_NUM_CH_SHIFT(ip), \
ip                963 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_NUM_CH_MASK(ip))
ip                964 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_NUM_CH(ip, value) \
ip                965 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                966 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                967 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_NUM_CH_SHIFT(ip), \
ip                968 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_NUM_CH_MASK(ip), value)
ip                971 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_NO_OF_SAMPLES_TO_READ_SHIFT(ip) 12
ip                972 sound/soc/sti/uniperif.h #define UNIPERIF_I2S_FMT_NO_OF_SAMPLES_TO_READ_MASK(ip) 0xfffff
ip                973 sound/soc/sti/uniperif.h #define GET_UNIPERIF_I2S_FMT_NO_OF_SAMPLES_TO_READ(ip) \
ip                974 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip                975 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                976 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_NO_OF_SAMPLES_TO_READ_SHIFT(ip), \
ip                977 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_NO_OF_SAMPLES_TO_READ_MASK(ip))
ip                978 sound/soc/sti/uniperif.h #define SET_UNIPERIF_I2S_FMT_NO_OF_SAMPLES_TO_READ(ip, value) \
ip                979 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip                980 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_OFFSET(ip), \
ip                981 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_NO_OF_SAMPLES_TO_READ_SHIFT(ip), \
ip                982 sound/soc/sti/uniperif.h 		UNIPERIF_I2S_FMT_NO_OF_SAMPLES_TO_READ_MASK(ip), value)
ip                988 sound/soc/sti/uniperif.h #define UNIPERIF_BIT_CONTROL_OFFSET(ip)  \
ip                989 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 0x004c)
ip                990 sound/soc/sti/uniperif.h #define GET_UNIPERIF_BIT_CONTROL(ip) \
ip                991 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_BIT_CONTROL_OFFSET(ip))
ip                992 sound/soc/sti/uniperif.h #define SET_UNIPERIF_BIT_CONTROL(ip, value) \
ip                993 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_BIT_CONTROL_OFFSET(ip))
ip                996 sound/soc/sti/uniperif.h #define UNIPERIF_BIT_CONTROL_CLR_UNDERFLOW_DURATION_SHIFT(ip) 0
ip                997 sound/soc/sti/uniperif.h #define UNIPERIF_BIT_CONTROL_CLR_UNDERFLOW_DURATION_MASK(ip) 0x1
ip                998 sound/soc/sti/uniperif.h #define GET_UNIPERIF_BIT_CONTROL_CLR_UNDERFLOW_DURATION(ip) \
ip                999 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip               1000 sound/soc/sti/uniperif.h 		UNIPERIF_BIT_CONTROL_OFFSET(ip), \
ip               1001 sound/soc/sti/uniperif.h 		UNIPERIF_BIT_CONTROL_CLR_UNDERFLOW_DURATION_SHIFT(ip), \
ip               1002 sound/soc/sti/uniperif.h 		UNIPERIF_BIT_CONTROL_CLR_UNDERFLOW_DURATION_MASK(ip))
ip               1003 sound/soc/sti/uniperif.h #define SET_UNIPERIF_BIT_CONTROL_CLR_UNDERFLOW_DURATION(ip) \
ip               1004 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip               1005 sound/soc/sti/uniperif.h 		UNIPERIF_BIT_CONTROL_OFFSET(ip), \
ip               1006 sound/soc/sti/uniperif.h 		UNIPERIF_BIT_CONTROL_CLR_UNDERFLOW_DURATION_SHIFT(ip), \
ip               1007 sound/soc/sti/uniperif.h 		UNIPERIF_BIT_CONTROL_CLR_UNDERFLOW_DURATION_MASK(ip), 1)
ip               1010 sound/soc/sti/uniperif.h #define UNIPERIF_BIT_CONTROL_CHL_STS_UPDATE_SHIFT(ip) 1
ip               1011 sound/soc/sti/uniperif.h #define UNIPERIF_BIT_CONTROL_CHL_STS_UPDATE_MASK(ip) 0x1
ip               1012 sound/soc/sti/uniperif.h #define GET_UNIPERIF_BIT_CONTROL_CHL_STS_UPDATE(ip) \
ip               1013 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip               1014 sound/soc/sti/uniperif.h 		UNIPERIF_BIT_CONTROL_OFFSET(ip), \
ip               1015 sound/soc/sti/uniperif.h 		UNIPERIF_BIT_CONTROL_CHL_STS_UPDATE_SHIFT(ip), \
ip               1016 sound/soc/sti/uniperif.h 		UNIPERIF_BIT_CONTROL_CHL_STS_UPDATE_MASK(ip))
ip               1017 sound/soc/sti/uniperif.h #define SET_UNIPERIF_BIT_CONTROL_CHL_STS_UPDATE(ip) \
ip               1018 sound/soc/sti/uniperif.h 	SET_UNIPERIF_BIT_REG(ip, \
ip               1019 sound/soc/sti/uniperif.h 		UNIPERIF_BIT_CONTROL_OFFSET(ip), \
ip               1020 sound/soc/sti/uniperif.h 		UNIPERIF_BIT_CONTROL_CHL_STS_UPDATE_SHIFT(ip), \
ip               1021 sound/soc/sti/uniperif.h 		UNIPERIF_BIT_CONTROL_CHL_STS_UPDATE_MASK(ip), 1)
ip               1027 sound/soc/sti/uniperif.h #define UNIPERIF_STATUS_1_OFFSET(ip) 0x0050
ip               1028 sound/soc/sti/uniperif.h #define GET_UNIPERIF_STATUS_1(ip) \
ip               1029 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_STATUS_1_OFFSET(ip))
ip               1030 sound/soc/sti/uniperif.h #define SET_UNIPERIF_STATUS_1(ip, value) \
ip               1031 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_STATUS_1_OFFSET(ip))
ip               1034 sound/soc/sti/uniperif.h #define UNIPERIF_STATUS_1_UNDERFLOW_DURATION_SHIFT(ip) \
ip               1035 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 0)
ip               1036 sound/soc/sti/uniperif.h #define UNIPERIF_STATUS_1_UNDERFLOW_DURATION_MASK(ip) 0xff
ip               1037 sound/soc/sti/uniperif.h #define GET_UNIPERIF_STATUS_1_UNDERFLOW_DURATION(ip) \
ip               1038 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip               1039 sound/soc/sti/uniperif.h 		UNIPERIF_STATUS_1_OFFSET(ip), \
ip               1040 sound/soc/sti/uniperif.h 		UNIPERIF_STATUS_1_UNDERFLOW_DURATION_SHIFT(ip), \
ip               1041 sound/soc/sti/uniperif.h 		UNIPERIF_STATUS_1_UNDERFLOW_DURATION_MASK(ip))
ip               1042 sound/soc/sti/uniperif.h #define SET_UNIPERIF_STATUS_1_UNDERFLOW_DURATION(ip, value) \
ip               1043 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip               1044 sound/soc/sti/uniperif.h 		UNIPERIF_STATUS_1_OFFSET(ip), \
ip               1045 sound/soc/sti/uniperif.h 		UNIPERIF_STATUS_1_UNDERFLOW_DURATION_SHIFT(ip), \
ip               1046 sound/soc/sti/uniperif.h 		UNIPERIF_STATUS_1_UNDERFLOW_DURATION_MASK(ip), value)
ip               1052 sound/soc/sti/uniperif.h #define UNIPERIF_CHANNEL_STA_REGN(ip, n) (0x0060 + (4 * n))
ip               1053 sound/soc/sti/uniperif.h #define GET_UNIPERIF_CHANNEL_STA_REGN(ip) \
ip               1054 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_CHANNEL_STA_REGN(ip, n))
ip               1055 sound/soc/sti/uniperif.h #define SET_UNIPERIF_CHANNEL_STA_REGN(ip, n, value) \
ip               1056 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + \
ip               1057 sound/soc/sti/uniperif.h 			UNIPERIF_CHANNEL_STA_REGN(ip, n))
ip               1063 sound/soc/sti/uniperif.h #define UNIPERIF_USER_VALIDITY_OFFSET(ip) 0x0090
ip               1064 sound/soc/sti/uniperif.h #define GET_UNIPERIF_USER_VALIDITY(ip) \
ip               1065 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_USER_VALIDITY_OFFSET(ip))
ip               1066 sound/soc/sti/uniperif.h #define SET_UNIPERIF_USER_VALIDITY(ip, value) \
ip               1067 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_USER_VALIDITY_OFFSET(ip))
ip               1070 sound/soc/sti/uniperif.h #define UNIPERIF_USER_VALIDITY_VALIDITY_LR_SHIFT(ip) 0
ip               1071 sound/soc/sti/uniperif.h #define UNIPERIF_USER_VALIDITY_VALIDITY_LR_MASK(ip) 0x3
ip               1072 sound/soc/sti/uniperif.h #define GET_UNIPERIF_USER_VALIDITY_VALIDITY_LR(ip) \
ip               1073 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip               1074 sound/soc/sti/uniperif.h 		UNIPERIF_USER_VALIDITY_OFFSET(ip), \
ip               1075 sound/soc/sti/uniperif.h 		UNIPERIF_USER_VALIDITY_VALIDITY_LR_SHIFT(ip), \
ip               1076 sound/soc/sti/uniperif.h 		UNIPERIF_USER_VALIDITY_VALIDITY_LR_MASK(ip))
ip               1077 sound/soc/sti/uniperif.h #define SET_UNIPERIF_USER_VALIDITY_VALIDITY_LR(ip, value) \
ip               1078 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip               1079 sound/soc/sti/uniperif.h 		UNIPERIF_USER_VALIDITY_OFFSET(ip), \
ip               1080 sound/soc/sti/uniperif.h 		UNIPERIF_USER_VALIDITY_VALIDITY_LR_SHIFT(ip), \
ip               1081 sound/soc/sti/uniperif.h 		UNIPERIF_USER_VALIDITY_VALIDITY_LR_MASK(ip), \
ip               1087 sound/soc/sti/uniperif.h #define UNIPERIF_DBG_STANDBY_LEFT_SP_OFFSET(ip) 0x0150
ip               1088 sound/soc/sti/uniperif.h #define UNIPERIF_DBG_STANDBY_LEFT_SP_SHIFT(ip) \
ip               1089 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? -1 : 0)
ip               1090 sound/soc/sti/uniperif.h #define UNIPERIF_DBG_STANDBY_LEFT_SP_MASK(ip) \
ip               1091 sound/soc/sti/uniperif.h 	((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? 0 : 0xFFFFFF)
ip               1092 sound/soc/sti/uniperif.h #define GET_UNIPERIF_DBG_STANDBY_LEFT_SP(ip) \
ip               1093 sound/soc/sti/uniperif.h 	GET_UNIPERIF_REG(ip, \
ip               1094 sound/soc/sti/uniperif.h 		UNIPERIF_DBG_STANDBY_LEFT_SP_OFFSET(ip), \
ip               1095 sound/soc/sti/uniperif.h 		UNIPERIF_DBG_STANDBY_LEFT_SP_SHIFT(ip), \
ip               1096 sound/soc/sti/uniperif.h 		UNIPERIF_DBG_STANDBY_LEFT_SP_MASK(ip))
ip               1097 sound/soc/sti/uniperif.h #define SET_UNIPERIF_DBG_STANDBY_LEFT_SP(ip, value) \
ip               1098 sound/soc/sti/uniperif.h 	SET_UNIPERIF_REG(ip, \
ip               1099 sound/soc/sti/uniperif.h 		UNIPERIF_DBG_STANDBY_LEFT_SP_OFFSET(ip), \
ip               1100 sound/soc/sti/uniperif.h 		UNIPERIF_DBG_STANDBY_LEFT_SP_SHIFT(ip), \
ip               1101 sound/soc/sti/uniperif.h 		UNIPERIF_DBG_STANDBY_LEFT_SP_MASK(ip), value)
ip               1106 sound/soc/sti/uniperif.h #define UNIPERIF_TDM_ENABLE_OFFSET(ip) 0x0118
ip               1107 sound/soc/sti/uniperif.h #define GET_UNIPERIF_TDM_ENABLE(ip) \
ip               1108 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_TDM_ENABLE_OFFSET(ip))
ip               1109 sound/soc/sti/uniperif.h #define SET_UNIPERIF_TDM_ENABLE(ip, value) \
ip               1110 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + UNIPERIF_TDM_ENABLE_OFFSET(ip))
ip               1113 sound/soc/sti/uniperif.h #define UNIPERIF_TDM_ENABLE_EN_TDM_SHIFT(ip) 0x0
ip               1114 sound/soc/sti/uniperif.h #define UNIPERIF_TDM_ENABLE_EN_TDM_MASK(ip) 0x1
ip               1115 sound/soc/sti/uniperif.h #define GET_UNIPERIF_TDM_ENABLE_EN_TDM(ip) \
ip               1116 sound/soc/sti/uniperif.h 		GET_UNIPERIF_REG(ip, \
ip               1117 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_ENABLE_OFFSET(ip), \
ip               1118 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_ENABLE_EN_TDM_SHIFT(ip), \
ip               1119 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_ENABLE_EN_TDM_MASK(ip))
ip               1120 sound/soc/sti/uniperif.h #define SET_UNIPERIF_TDM_ENABLE_TDM_ENABLE(ip) \
ip               1121 sound/soc/sti/uniperif.h 		SET_UNIPERIF_REG(ip, \
ip               1122 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_ENABLE_OFFSET(ip), \
ip               1123 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_ENABLE_EN_TDM_SHIFT(ip), \
ip               1124 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_ENABLE_EN_TDM_MASK(ip), 1)
ip               1125 sound/soc/sti/uniperif.h #define SET_UNIPERIF_TDM_ENABLE_TDM_DISABLE(ip) \
ip               1126 sound/soc/sti/uniperif.h 		SET_UNIPERIF_REG(ip, \
ip               1127 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_ENABLE_OFFSET(ip), \
ip               1128 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_ENABLE_EN_TDM_SHIFT(ip), \
ip               1129 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_ENABLE_EN_TDM_MASK(ip), 0)
ip               1134 sound/soc/sti/uniperif.h #define UNIPERIF_TDM_FS_REF_FREQ_OFFSET(ip) 0x011c
ip               1135 sound/soc/sti/uniperif.h #define GET_UNIPERIF_TDM_FS_REF_FREQ(ip) \
ip               1136 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_TDM_FS_REF_FREQ_OFFSET(ip))
ip               1137 sound/soc/sti/uniperif.h #define SET_UNIPERIF_TDM_FS_REF_FREQ(ip, value) \
ip               1138 sound/soc/sti/uniperif.h 	writel_relaxed(value, ip->base + \
ip               1139 sound/soc/sti/uniperif.h 			UNIPERIF_TDM_FS_REF_FREQ_OFFSET(ip))
ip               1142 sound/soc/sti/uniperif.h #define UNIPERIF_TDM_FS_REF_FREQ_REF_FREQ_SHIFT(ip) 0x0
ip               1143 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_TDM_FS_REF_FREQ_8KHZ(ip) 0
ip               1144 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_TDM_FS_REF_FREQ_16KHZ(ip) 1
ip               1145 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_TDM_FS_REF_FREQ_32KHZ(ip) 2
ip               1146 sound/soc/sti/uniperif.h #define VALUE_UNIPERIF_TDM_FS_REF_FREQ_48KHZ(ip) 3
ip               1147 sound/soc/sti/uniperif.h #define UNIPERIF_TDM_FS_REF_FREQ_REF_FREQ_MASK(ip) 0x3
ip               1148 sound/soc/sti/uniperif.h #define GET_UNIPERIF_TDM_FS_REF_FREQ_REF_FREQ(ip) \
ip               1149 sound/soc/sti/uniperif.h 		GET_UNIPERIF_REG(ip, \
ip               1150 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_OFFSET(ip), \
ip               1151 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_REF_FREQ_SHIFT(ip), \
ip               1152 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_REF_FREQ_MASK(ip))
ip               1153 sound/soc/sti/uniperif.h #define SET_UNIPERIF_TDM_FS_REF_FREQ_8KHZ(ip) \
ip               1154 sound/soc/sti/uniperif.h 		SET_UNIPERIF_REG(ip, \
ip               1155 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_OFFSET(ip), \
ip               1156 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_REF_FREQ_SHIFT(ip), \
ip               1157 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_REF_FREQ_MASK(ip), \
ip               1158 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_TDM_FS_REF_FREQ_8KHZ(ip))
ip               1159 sound/soc/sti/uniperif.h #define SET_UNIPERIF_TDM_FS_REF_FREQ_16KHZ(ip) \
ip               1160 sound/soc/sti/uniperif.h 		SET_UNIPERIF_REG(ip, \
ip               1161 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_OFFSET(ip), \
ip               1162 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_REF_FREQ_SHIFT(ip), \
ip               1163 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_REF_FREQ_MASK(ip), \
ip               1164 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_TDM_FS_REF_FREQ_16KHZ(ip))
ip               1165 sound/soc/sti/uniperif.h #define SET_UNIPERIF_TDM_FS_REF_FREQ_32KHZ(ip) \
ip               1166 sound/soc/sti/uniperif.h 		SET_UNIPERIF_REG(ip, \
ip               1167 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_OFFSET(ip), \
ip               1168 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_REF_FREQ_SHIFT(ip), \
ip               1169 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_REF_FREQ_MASK(ip), \
ip               1170 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_TDM_FS_REF_FREQ_32KHZ(ip))
ip               1171 sound/soc/sti/uniperif.h #define SET_UNIPERIF_TDM_FS_REF_FREQ_48KHZ(ip) \
ip               1172 sound/soc/sti/uniperif.h 		SET_UNIPERIF_REG(ip, \
ip               1173 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_OFFSET(ip), \
ip               1174 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_REF_FREQ_SHIFT(ip), \
ip               1175 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_FREQ_REF_FREQ_MASK(ip), \
ip               1176 sound/soc/sti/uniperif.h 		VALUE_UNIPERIF_TDM_FS_REF_FREQ_48KHZ(ip))
ip               1181 sound/soc/sti/uniperif.h #define UNIPERIF_TDM_FS_REF_DIV_OFFSET(ip) 0x0120
ip               1182 sound/soc/sti/uniperif.h #define GET_UNIPERIF_TDM_FS_REF_DIV(ip) \
ip               1183 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_TDM_FS_REF_DIV_OFFSET(ip))
ip               1184 sound/soc/sti/uniperif.h #define SET_UNIPERIF_TDM_FS_REF_DIV(ip, value) \
ip               1185 sound/soc/sti/uniperif.h 		writel_relaxed(value, ip->base + \
ip               1186 sound/soc/sti/uniperif.h 			UNIPERIF_TDM_FS_REF_DIV_OFFSET(ip))
ip               1189 sound/soc/sti/uniperif.h #define UNIPERIF_TDM_FS_REF_DIV_NUM_TIMESLOT_SHIFT(ip) 0x0
ip               1190 sound/soc/sti/uniperif.h #define UNIPERIF_TDM_FS_REF_DIV_NUM_TIMESLOT_MASK(ip) 0xff
ip               1191 sound/soc/sti/uniperif.h #define GET_UNIPERIF_TDM_FS_REF_DIV_NUM_TIMESLOT(ip) \
ip               1192 sound/soc/sti/uniperif.h 		GET_UNIPERIF_REG(ip, \
ip               1193 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_DIV_OFFSET(ip), \
ip               1194 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_DIV_NUM_TIMESLOT_SHIFT(ip), \
ip               1195 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_DIV_NUM_TIMESLOT_MASK(ip))
ip               1196 sound/soc/sti/uniperif.h #define SET_UNIPERIF_TDM_FS_REF_DIV_NUM_TIMESLOT(ip, value) \
ip               1197 sound/soc/sti/uniperif.h 		SET_UNIPERIF_REG(ip, \
ip               1198 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_DIV_OFFSET(ip), \
ip               1199 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_DIV_NUM_TIMESLOT_SHIFT(ip), \
ip               1200 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_FS_REF_DIV_NUM_TIMESLOT_MASK(ip), value)
ip               1206 sound/soc/sti/uniperif.h #define UNIPERIF_TDM_WORD_POS_1_2_OFFSET(ip) 0x013c
ip               1207 sound/soc/sti/uniperif.h #define UNIPERIF_TDM_WORD_POS_3_4_OFFSET(ip) 0x0140
ip               1208 sound/soc/sti/uniperif.h #define UNIPERIF_TDM_WORD_POS_5_6_OFFSET(ip) 0x0144
ip               1209 sound/soc/sti/uniperif.h #define UNIPERIF_TDM_WORD_POS_7_8_OFFSET(ip) 0x0148
ip               1210 sound/soc/sti/uniperif.h #define GET_UNIPERIF_TDM_WORD_POS(ip, words) \
ip               1211 sound/soc/sti/uniperif.h 	readl_relaxed(ip->base + UNIPERIF_TDM_WORD_POS_##words##_OFFSET(ip))
ip               1212 sound/soc/sti/uniperif.h #define SET_UNIPERIF_TDM_WORD_POS(ip, words, value) \
ip               1213 sound/soc/sti/uniperif.h 		writel_relaxed(value, ip->base + \
ip               1214 sound/soc/sti/uniperif.h 		UNIPERIF_TDM_WORD_POS_##words##_OFFSET(ip))
ip                257 sound/soc/stm/stm32_sai.h #define STM_SAI_IS_F4(ip)	((ip)->conf.version == STM_SAI_STM32F4)
ip                258 sound/soc/stm/stm32_sai.h #define STM_SAI_HAS_SPDIF_PDM(ip)\
ip                259 sound/soc/stm/stm32_sai.h 				((ip)->pdata->conf.has_spdif_pdm)
ip                 40 sound/soc/stm/stm32_sai_sub.c #define STM_SAI_IS_PLAYBACK(ip)	((ip)->dir == SNDRV_PCM_STREAM_PLAYBACK)
ip                 41 sound/soc/stm/stm32_sai_sub.c #define STM_SAI_IS_CAPTURE(ip)	((ip)->dir == SNDRV_PCM_STREAM_CAPTURE)
ip                 54 sound/soc/stm/stm32_sai_sub.c #define STM_SAI_PROTOCOL_IS_SPDIF(ip)	((ip)->spdif)
ip                 89 tools/arch/x86/include/asm/orc_types.h 	u32		ip;
ip                  6 tools/build/feature/test-libunwind-aarch64.c 					       unw_word_t ip,
ip                  6 tools/build/feature/test-libunwind-arm.c 					       unw_word_t ip,
ip                  7 tools/build/feature/test-libunwind-debug-frame-aarch64.c 				 unw_word_t ip, unw_word_t segbase,
ip                  7 tools/build/feature/test-libunwind-debug-frame-arm.c 				 unw_word_t ip, unw_word_t segbase,
ip                  7 tools/build/feature/test-libunwind-debug-frame.c 				 unw_word_t ip, unw_word_t segbase,
ip                  6 tools/build/feature/test-libunwind-x86.c 					       unw_word_t ip,
ip                  6 tools/build/feature/test-libunwind-x86_64.c 					       unw_word_t ip,
ip                  6 tools/build/feature/test-libunwind.c                                       unw_word_t ip,
ip                 23 tools/include/linux/kallsyms.h static inline void print_ip_sym(unsigned long ip)
ip                 27 tools/include/linux/kallsyms.h 	name = backtrace_symbols((void **)&ip, 1);
ip                365 tools/include/uapi/linux/bpf.h 		__u64	ip;
ip                 36 tools/lib/lockdep/include/liblockdep/common.h 	unsigned long		ip;
ip                 44 tools/lib/lockdep/include/liblockdep/common.h 			struct lockdep_map *nest_lock, unsigned long ip);
ip                 46 tools/lib/lockdep/include/liblockdep/common.h 			unsigned long ip);
ip               4294 tools/lib/traceevent/event-parse.c 	unsigned long long ip, val;
ip               4317 tools/lib/traceevent/event-parse.c 	ip = tep_read_number(tep, data + ip_field->offset, ip_field->size);
ip               4334 tools/lib/traceevent/event-parse.c 	if (asprintf(&arg->atom.atom, "%lld", ip) < 0)
ip                247 tools/perf/arch/powerpc/util/skip-callchain-idx.c 	u64 ip;
ip                253 tools/perf/arch/powerpc/util/skip-callchain-idx.c 	ip = chain->ips[1];
ip                255 tools/perf/arch/powerpc/util/skip-callchain-idx.c 	thread__find_symbol(thread, PERF_RECORD_MISC_USER, ip, &al);
ip                261 tools/perf/arch/powerpc/util/skip-callchain-idx.c 		pr_debug("%" PRIx64 " dso is NULL\n", ip);
ip                265 tools/perf/arch/powerpc/util/skip-callchain-idx.c 	rc = check_return_addr(dso, al.map->start, ip);
ip                268 tools/perf/arch/powerpc/util/skip-callchain-idx.c 				dso->long_name, al.sym->name, ip, rc);
ip                 17 tools/perf/arch/x86/util/archinsn.c 	if (!sample->ip)
ip                 19 tools/perf/arch/x86/util/archinsn.c 	len = thread__memcpy(thread, machine, sample->insn, sample->ip, sizeof(sample->insn), &is64bit);
ip                442 tools/perf/builtin-inject.c 	if (thread__find_map(thread, sample->cpumode, sample->ip, &al)) {
ip                410 tools/perf/builtin-kmem.c 		key.start = key.end = node->ip;
ip                416 tools/perf/builtin-kmem.c 				addr = map__unmap_ip(node->map, node->ip);
ip                418 tools/perf/builtin-kmem.c 				addr = node->ip;
ip                428 tools/perf/builtin-kmem.c 	pr_debug2("unknown callsite: %"PRIx64 "\n", sample->ip);
ip                429 tools/perf/builtin-kmem.c 	return sample->ip;
ip                190 tools/perf/builtin-mem.c 			sample->ip,
ip                217 tools/perf/builtin-mem.c 			sample->ip,
ip               2760 tools/perf/builtin-sched.c 		if (chain->ip >= PERF_CONTEXT_MAX)
ip                951 tools/perf/builtin-script.c static int ip__fprintf_jump(uint64_t ip, struct branch_entry *en,
ip                955 tools/perf/builtin-script.c 	int printed = fprintf(fp, "\t%016" PRIx64 "\t%-30s\t#%s%s%s%s", ip,
ip                956 tools/perf/builtin-script.c 			      dump_insn(x, ip, inbuf, len, NULL),
ip               1067 tools/perf/builtin-script.c 			uint64_t ip = start + off;
ip               1069 tools/perf/builtin-script.c 			printed += ip__fprintf_sym(ip, thread, x.cpumode, x.cpu, &lastsym, attr, fp);
ip               1070 tools/perf/builtin-script.c 			if (ip == end) {
ip               1071 tools/perf/builtin-script.c 				printed += ip__fprintf_jump(ip, &br->entries[i], &x, buffer + off, len - off, ++insn, fp,
ip               1074 tools/perf/builtin-script.c 					printed += print_srccode(thread, x.cpumode, ip);
ip               1078 tools/perf/builtin-script.c 				printed += fprintf(fp, "\t%016" PRIx64 "\t%s\n", ip,
ip               1079 tools/perf/builtin-script.c 						   dump_insn(&x, ip, buffer + off, len - off, &ilen));
ip               1083 tools/perf/builtin-script.c 					print_srccode(thread, x.cpumode, ip);
ip               1095 tools/perf/builtin-script.c 	if (br->entries[0].from == sample->ip)
ip               1109 tools/perf/builtin-script.c 	end = sample->ip;
ip               1118 tools/perf/builtin-script.c 		len = grab_bb(buffer, sample->ip, sample->ip,
ip               1122 tools/perf/builtin-script.c 		printed += fprintf(fp, "\t%016" PRIx64 "\t%s\n", sample->ip,
ip               1123 tools/perf/builtin-script.c 			dump_insn(&x, sample->ip, buffer, len, NULL));
ip               1125 tools/perf/builtin-script.c 			print_srccode(thread, x.cpumode, sample->ip);
ip               1134 tools/perf/builtin-script.c 		if (arch_is_branch(buffer + off, len - off, x.is64bit) && start + off != sample->ip) {
ip               1181 tools/perf/builtin-script.c 				      u64 *ip)
ip               1193 tools/perf/builtin-script.c 				*ip = sample->addr;
ip               1195 tools/perf/builtin-script.c 			*ip = sample->addr;
ip               1201 tools/perf/builtin-script.c 			*ip = sample->ip;
ip               1217 tools/perf/builtin-script.c 	u64 ip = 0;
ip               1226 tools/perf/builtin-script.c 	name = resolve_branch_sym(sample, evsel, thread, al, &ip);
ip               1236 tools/perf/builtin-script.c 	else if (ip)
ip               1237 tools/perf/builtin-script.c 		len = fprintf(fp, "%*s%16" PRIx64, (int)depth * 4, "", ip);
ip               1535 tools/perf/builtin-script.c 		     data->ip, le64_to_cpu(data->payload));
ip               1573 tools/perf/builtin-script.c 	len = fprintf(fp, " IP: %u ", data->ip);
ip               1782 tools/perf/builtin-script.c 		u64 ip;
ip               1784 tools/perf/builtin-script.c 				&ip);
ip                501 tools/perf/builtin-timechart.c 		u64 ip;
ip                504 tools/perf/builtin-timechart.c 			ip = chain->ips[i];
ip                506 tools/perf/builtin-timechart.c 			ip = chain->ips[chain->nr - i - 1];
ip                508 tools/perf/builtin-timechart.c 		if (ip >= PERF_CONTEXT_MAX) {
ip                509 tools/perf/builtin-timechart.c 			switch (ip) {
ip                521 tools/perf/builtin-timechart.c 					 "%"PRId64"\n", (s64) ip);
ip                534 tools/perf/builtin-timechart.c 		if (thread__find_symbol(al.thread, cpumode, ip, &tal))
ip                535 tools/perf/builtin-timechart.c 			fprintf(f, "..... %016" PRIx64 " %s\n", ip, tal.sym->name);
ip                537 tools/perf/builtin-timechart.c 			fprintf(f, "..... %016" PRIx64 "\n", ip);
ip                164 tools/perf/builtin-top.c static void ui__warn_map_erange(struct map *map, struct symbol *sym, u64 ip)
ip                179 tools/perf/builtin-top.c 		    ip, map->dso->long_name, dso__symtab_origin(map->dso),
ip                194 tools/perf/builtin-top.c 					struct evsel *evsel, u64 ip)
ip                210 tools/perf/builtin-top.c 	err = hist_entry__inc_addr_samples(he, sample, evsel, ip);
ip                222 tools/perf/builtin-top.c 			ui__warn_map_erange(he->ms.map, sym, ip);
ip               2485 tools/perf/builtin-trace.c 	thread__find_symbol(thread, sample->cpumode, sample->ip, &al);
ip                238 tools/perf/lib/include/perf/event.h 	__u64			 ip;
ip                391 tools/perf/tests/code-reading.c 	ret = read_object_code(sample.ip, READLEN, sample.cpumode, thread, state);
ip                 87 tools/perf/tests/dwarf-unwind.c 			 entry->ip);
ip                 93 tools/perf/tests/dwarf-unwind.c 		 symbol, entry->ip, funcs[idx]);
ip                 19 tools/perf/tests/hists_cumulate.c 	u64 ip;
ip                 28 tools/perf/tests/hists_cumulate.c 	{ .pid = FAKE_PID_PERF1, .ip = FAKE_IP_KERNEL_SCHEDULE, },
ip                 30 tools/perf/tests/hists_cumulate.c 	{ .pid = FAKE_PID_PERF1, .ip = FAKE_IP_PERF_MAIN, },
ip                 32 tools/perf/tests/hists_cumulate.c 	{ .pid = FAKE_PID_PERF1, .ip = FAKE_IP_PERF_CMD_RECORD, },
ip                 34 tools/perf/tests/hists_cumulate.c 	{ .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_MALLOC, },
ip                 36 tools/perf/tests/hists_cumulate.c 	{ .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_FREE, },
ip                 38 tools/perf/tests/hists_cumulate.c 	{ .pid = FAKE_PID_PERF2, .ip = FAKE_IP_PERF_MAIN, },
ip                 40 tools/perf/tests/hists_cumulate.c 	{ .pid = FAKE_PID_PERF2, .ip = FAKE_IP_KERNEL_PAGE_FAULT, },
ip                 42 tools/perf/tests/hists_cumulate.c 	{ .pid = FAKE_PID_BASH,  .ip = FAKE_IP_BASH_MAIN, },
ip                 44 tools/perf/tests/hists_cumulate.c 	{ .pid = FAKE_PID_BASH,  .ip = FAKE_IP_BASH_XMALLOC, },
ip                 46 tools/perf/tests/hists_cumulate.c 	{ .pid = FAKE_PID_BASH,  .ip = FAKE_IP_KERNEL_PAGE_FAULT, },
ip                102 tools/perf/tests/hists_cumulate.c 		sample.ip = fake_samples[i].ip;
ip                 17 tools/perf/tests/hists_filter.c 	u64 ip;
ip                 27 tools/perf/tests/hists_filter.c 	{ .pid = FAKE_PID_PERF1, .ip = FAKE_IP_KERNEL_SCHEDULE, .socket = 0 },
ip                 29 tools/perf/tests/hists_filter.c 	{ .pid = FAKE_PID_PERF1, .ip = FAKE_IP_PERF_MAIN, .socket = 0 },
ip                 31 tools/perf/tests/hists_filter.c 	{ .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_MALLOC, .socket = 0 },
ip                 33 tools/perf/tests/hists_filter.c 	{ .pid = FAKE_PID_PERF2, .ip = FAKE_IP_PERF_MAIN, .socket = 0 }, /* will be merged */
ip                 35 tools/perf/tests/hists_filter.c 	{ .pid = FAKE_PID_PERF2, .ip = FAKE_IP_PERF_CMD_RECORD, .socket = 1 },
ip                 37 tools/perf/tests/hists_filter.c 	{ .pid = FAKE_PID_PERF2, .ip = FAKE_IP_KERNEL_PAGE_FAULT, .socket = 1 },
ip                 39 tools/perf/tests/hists_filter.c 	{ .pid = FAKE_PID_BASH,  .ip = FAKE_IP_BASH_MAIN, .socket = 2 },
ip                 41 tools/perf/tests/hists_filter.c 	{ .pid = FAKE_PID_BASH,  .ip = FAKE_IP_BASH_XMALLOC, .socket = 2 },
ip                 43 tools/perf/tests/hists_filter.c 	{ .pid = FAKE_PID_BASH,  .ip = FAKE_IP_LIBC_MALLOC, .socket = 3 },
ip                 45 tools/perf/tests/hists_filter.c 	{ .pid = FAKE_PID_BASH,  .ip = FAKE_IP_KERNEL_PAGE_FAULT, .socket = 3 },
ip                 79 tools/perf/tests/hists_filter.c 			sample.ip = fake_samples[i].ip;
ip                 17 tools/perf/tests/hists_link.c 	u64 ip;
ip                 26 tools/perf/tests/hists_link.c 	{ .pid = FAKE_PID_PERF1, .ip = FAKE_IP_KERNEL_SCHEDULE, },
ip                 28 tools/perf/tests/hists_link.c 	{ .pid = FAKE_PID_PERF2, .ip = FAKE_IP_PERF_MAIN, },
ip                 30 tools/perf/tests/hists_link.c 	{ .pid = FAKE_PID_PERF2, .ip = FAKE_IP_PERF_CMD_RECORD, },
ip                 32 tools/perf/tests/hists_link.c 	{ .pid = FAKE_PID_BASH,  .ip = FAKE_IP_BASH_XMALLOC, },
ip                 34 tools/perf/tests/hists_link.c 	{ .pid = FAKE_PID_BASH,  .ip = FAKE_IP_LIBC_MALLOC, },
ip                 40 tools/perf/tests/hists_link.c 		{ .pid = FAKE_PID_PERF1, .ip = FAKE_IP_PERF_RUN_COMMAND, },
ip                 42 tools/perf/tests/hists_link.c 		{ .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_MALLOC, },
ip                 44 tools/perf/tests/hists_link.c 		{ .pid = FAKE_PID_PERF1, .ip = FAKE_IP_KERNEL_PAGE_FAULT, },
ip                 46 tools/perf/tests/hists_link.c 		{ .pid = FAKE_PID_PERF2, .ip = FAKE_IP_KERNEL_SYS_PERF_EVENT_OPEN, },
ip                 48 tools/perf/tests/hists_link.c 		{ .pid = FAKE_PID_BASH,  .ip = FAKE_IP_LIBC_FREE, },
ip                 52 tools/perf/tests/hists_link.c 		{ .pid = FAKE_PID_PERF2, .ip = FAKE_IP_LIBC_FREE, },
ip                 54 tools/perf/tests/hists_link.c 		{ .pid = FAKE_PID_BASH,  .ip = FAKE_IP_LIBC_MALLOC, }, /* will be merged */
ip                 56 tools/perf/tests/hists_link.c 		{ .pid = FAKE_PID_BASH,  .ip = FAKE_IP_BASH_XFREE, },
ip                 58 tools/perf/tests/hists_link.c 		{ .pid = FAKE_PID_BASH,  .ip = FAKE_IP_LIBC_REALLOC, },
ip                 60 tools/perf/tests/hists_link.c 		{ .pid = FAKE_PID_BASH,  .ip = FAKE_IP_KERNEL_PAGE_FAULT, },
ip                 84 tools/perf/tests/hists_link.c 			sample.ip = fake_common_samples[k].ip;
ip                104 tools/perf/tests/hists_link.c 			sample.ip = fake_samples[i][k].ip;
ip                 20 tools/perf/tests/hists_output.c 	u64 ip;
ip                 29 tools/perf/tests/hists_output.c 	{ .cpu = 0, .pid = FAKE_PID_PERF1, .ip = FAKE_IP_KERNEL_SCHEDULE, },
ip                 31 tools/perf/tests/hists_output.c 	{ .cpu = 1, .pid = FAKE_PID_PERF1, .ip = FAKE_IP_PERF_MAIN, },
ip                 33 tools/perf/tests/hists_output.c 	{ .cpu = 1, .pid = FAKE_PID_PERF1, .ip = FAKE_IP_PERF_CMD_RECORD, },
ip                 35 tools/perf/tests/hists_output.c 	{ .cpu = 1, .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_MALLOC, },
ip                 37 tools/perf/tests/hists_output.c 	{ .cpu = 2, .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_FREE, },
ip                 39 tools/perf/tests/hists_output.c 	{ .cpu = 2, .pid = FAKE_PID_PERF2, .ip = FAKE_IP_PERF_MAIN, },
ip                 41 tools/perf/tests/hists_output.c 	{ .cpu = 2, .pid = FAKE_PID_PERF2, .ip = FAKE_IP_KERNEL_PAGE_FAULT, },
ip                 43 tools/perf/tests/hists_output.c 	{ .cpu = 3, .pid = FAKE_PID_BASH,  .ip = FAKE_IP_BASH_MAIN, },
ip                 45 tools/perf/tests/hists_output.c 	{ .cpu = 0, .pid = FAKE_PID_BASH,  .ip = FAKE_IP_BASH_XMALLOC, },
ip                 47 tools/perf/tests/hists_output.c 	{ .cpu = 1, .pid = FAKE_PID_BASH,  .ip = FAKE_IP_KERNEL_PAGE_FAULT, },
ip                 69 tools/perf/tests/hists_output.c 		sample.ip = fake_samples[i].ip;
ip                 43 tools/perf/tests/sample-parsing.c 		COMP(ip);
ip                186 tools/perf/tests/sample-parsing.c 		.ip		= 101,
ip                295 tools/perf/ui/stdio/hist.c 		if (chain->ip >= PERF_CONTEXT_MAX)
ip                344 tools/perf/ui/stdio/hist.c 		if (chain->ip >= PERF_CONTEXT_MAX)
ip               1095 tools/perf/util/annotate.c 				 struct evsel *evsel, u64 ip)
ip               1097 tools/perf/util/annotate.c 	return symbol__inc_addr_samples(he->ms.sym, he->ms.map, evsel, ip, sample);
ip                865 tools/perf/util/auxtrace.c 			  int code, int cpu, pid_t pid, pid_t tid, u64 ip,
ip                879 tools/perf/util/auxtrace.c 	auxtrace_error->ip = ip;
ip               1195 tools/perf/util/auxtrace.c 		       e->cpu, e->pid, e->tid, e->ip, e->code, msg);
ip                525 tools/perf/util/auxtrace.h 			  int code, int cpu, pid_t pid, pid_t tid, u64 ip,
ip                 55 tools/perf/util/build-id.c 	if (thread__find_map(thread, sample->cpumode, sample->ip, &al))
ip                 15 tools/perf/util/call-path.c 			    struct symbol *sym, u64 ip, bool in_kernel)
ip                 19 tools/perf/util/call-path.c 	cp->ip = sym ? 0 : ip;
ip                 51 tools/perf/util/call-path.c 					struct symbol *sym, u64 ip,
ip                 72 tools/perf/util/call-path.c 	call_path__init(cp, parent, sym, ip, in_kernel);
ip                 79 tools/perf/util/call-path.c 				     struct symbol *sym, u64 ip, u64 ks)
ip                 84 tools/perf/util/call-path.c 	bool in_kernel = ip >= ks;
ip                 87 tools/perf/util/call-path.c 		ip = 0;
ip                 90 tools/perf/util/call-path.c 		return call_path__new(cpr, parent, sym, ip, in_kernel);
ip                 97 tools/perf/util/call-path.c 		if (cp->sym == sym && cp->ip == ip)
ip                100 tools/perf/util/call-path.c 		if (sym < cp->sym || (sym == cp->sym && ip < cp->ip))
ip                106 tools/perf/util/call-path.c 	cp = call_path__new(cpr, parent, sym, ip, in_kernel);
ip                 31 tools/perf/util/call-path.h 	u64 ip;
ip                 66 tools/perf/util/call-path.h 				     struct symbol *sym, u64 ip, u64 ks);
ip                584 tools/perf/util/callchain.c 		call->ip = cursor_node->ip;
ip                608 tools/perf/util/callchain.c 						  cursor_node->ip);
ip                745 tools/perf/util/callchain.c 		match = match_chain_dso_addresses(cnode->ms.map, cnode->ip, node->map, node->ip);
ip                767 tools/perf/util/callchain.c 					  node->ip);
ip               1007 tools/perf/util/callchain.c 		callchain_cursor_append(cursor, list->ip,
ip               1047 tools/perf/util/callchain.c 			    u64 ip, struct map *map, struct symbol *sym,
ip               1062 tools/perf/util/callchain.c 	node->ip = ip;
ip               1113 tools/perf/util/callchain.c 	al->addr = node->ip;
ip               1165 tools/perf/util/callchain.c 		printed = scnprintf(bf, bfsize, "%#" PRIx64, cl->ip);
ip               1574 tools/perf/util/callchain.c 		rc = callchain_cursor_append(dst, node->ip, node->map, node->sym,
ip                118 tools/perf/util/callchain.h 	u64			ip;
ip                143 tools/perf/util/callchain.h 	u64				ip;
ip                197 tools/perf/util/callchain.h int callchain_cursor_append(struct callchain_cursor *cursor, u64 ip,
ip               1103 tools/perf/util/cs-etm.c 							  sample->ip);
ip               1108 tools/perf/util/cs-etm.c 	cs_etm__mem_access(etmq, trace_chan_id, sample->ip,
ip               1119 tools/perf/util/cs-etm.c 	struct perf_sample sample = {.ip = 0,};
ip               1125 tools/perf/util/cs-etm.c 	sample.ip = addr;
ip               1171 tools/perf/util/cs-etm.c 	struct perf_sample sample = {.ip = 0,};
ip               1177 tools/perf/util/cs-etm.c 	u64 ip;
ip               1179 tools/perf/util/cs-etm.c 	ip = cs_etm__last_executed_instr(tidq->prev_packet);
ip               1182 tools/perf/util/cs-etm.c 	event->sample.header.misc = cs_etm__cpu_mode(etmq, ip);
ip               1185 tools/perf/util/cs-etm.c 	sample.ip = ip;
ip               1206 tools/perf/util/cs-etm.c 				.from = sample.ip,
ip                606 tools/perf/util/data-convert-bt.c 		ret = value_set_u64_hex(cw, event, "perf_ip", sample->ip);
ip                255 tools/perf/util/db-export.c 		al.addr = node->ip;
ip                264 tools/perf/util/db-export.c 					     al.sym, node->ip,
ip                  9 tools/perf/util/dump-insn.c 		      u64 ip __maybe_unused, u8 *inbuf __maybe_unused,
ip                 21 tools/perf/util/dump-insn.h const char *dump_insn(struct perf_insn *x, u64 ip,
ip                567 tools/perf/util/event.c 	thread__find_map(thread, sample->cpumode, sample->ip, al);
ip                118 tools/perf/util/event.h 	u64 ip;
ip                180 tools/perf/util/event.h 			u32	ip		:  1,
ip                221 tools/perf/util/event.h 			u32	ip		:  1,
ip               1975 tools/perf/util/evsel.c 		data->ip = *array;
ip                143 tools/perf/util/evsel_fprintf.c 				printed += fprintf(fp, "%c%16" PRIx64, s, node->ip);
ip                146 tools/perf/util/evsel_fprintf.c 				addr = node->map->map_ip(node->map, node->ip);
ip                212 tools/perf/util/evsel_fprintf.c 			printed += fprintf(fp, "%16" PRIx64, sample->ip);
ip                699 tools/perf/util/hist.c 		.ip	 = al->addr,
ip               1063 tools/perf/util/hist.c 		.ip = al->addr,
ip                265 tools/perf/util/intel-bts.c static inline u8 intel_bts_cpumode(struct intel_bts *bts, uint64_t ip)
ip                267 tools/perf/util/intel-bts.c 	return machine__kernel_ip(bts->machine, ip) ?
ip                278 tools/perf/util/intel-bts.c 	struct perf_sample sample = { .ip = 0, };
ip                284 tools/perf/util/intel-bts.c 	sample.ip = le64_to_cpu(branch->from);
ip                285 tools/perf/util/intel-bts.c 	sample.cpumode = intel_bts_cpumode(bts, sample.ip);
ip                318 tools/perf/util/intel-bts.c static int intel_bts_get_next_insn(struct intel_bts_queue *btsq, u64 ip)
ip                331 tools/perf/util/intel-bts.c 	len = thread__memcpy(thread, machine, buf, ip, INTEL_PT_INSN_BUF_SZ, &x86_64);
ip                345 tools/perf/util/intel-bts.c 				 pid_t tid, u64 ip)
ip                351 tools/perf/util/intel-bts.c 			     INTEL_BTS_ERR_NOINSN, cpu, pid, tid, ip,
ip                 38 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	uint64_t ip[INTEL_PT_BLK_SIZE];
ip                 95 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			 uint64_t *insn_cnt_ptr, uint64_t *ip, uint64_t to_ip,
ip                 97 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	bool (*pgd_ip)(uint64_t ip, void *data);
ip                115 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	uint64_t ip;
ip                302 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	return stack->blk->ip[--stack->pos];
ip                324 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c static int intel_pt_push(struct intel_pt_stack *stack, uint64_t ip)
ip                334 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	stack->blk->ip[stack->pos++] = ip;
ip                408 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	uint64_t ip;
ip                412 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		ip = (last_ip & (uint64_t)0xffffffffffff0000ULL) |
ip                416 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		ip = (last_ip & (uint64_t)0xffffffff00000000ULL) |
ip                420 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		ip = packet->payload;
ip                422 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		if (ip & (uint64_t)0x800000000000ULL)
ip                423 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			ip |= (uint64_t)0xffff000000000000ULL;
ip                426 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		ip = (last_ip & (uint64_t)0xffff000000000000ULL) |
ip                430 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		ip = packet->payload;
ip                436 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	return ip;
ip                448 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	decoder->ip = decoder->last_ip;
ip                496 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	decoder->ip = 0;
ip                977 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			      struct intel_pt_insn *intel_pt_insn, uint64_t ip)
ip                987 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	err = decoder->walk_insn(intel_pt_insn, &insn_cnt, &decoder->ip, ip,
ip                999 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				decoder->ip);
ip               1005 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	if (ip && decoder->ip == ip) {
ip               1015 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->state.from_ip = decoder->ip;
ip               1017 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->ip += intel_pt_insn->length;
ip               1026 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			err = intel_pt_push(&decoder->stack, decoder->ip +
ip               1038 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->state.from_ip = decoder->ip;
ip               1039 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->ip += intel_pt_insn->length +
ip               1041 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->state.to_ip = decoder->ip;
ip               1093 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->state.from_ip = decoder->ip;
ip               1102 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->state.from_ip = decoder->ip;
ip               1110 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->state.from_ip = decoder->ip;
ip               1119 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->state.from_ip = decoder->ip;
ip               1129 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->state.from_ip = decoder->ip;
ip               1137 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->state.from_ip = decoder->ip;
ip               1146 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 					  uint64_t ip, int err)
ip               1150 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	       ip == decoder->ip + intel_pt_insn->length;
ip               1156 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	uint64_t ip;
ip               1159 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	ip = decoder->last_ip;
ip               1162 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		err = intel_pt_walk_insn(decoder, &intel_pt_insn, ip);
ip               1166 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		    intel_pt_fup_with_nlip(decoder, &intel_pt_insn, ip, err)) {
ip               1177 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 					decoder->ip);
ip               1184 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 					decoder->ip);
ip               1222 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.from_ip = decoder->ip;
ip               1227 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				decoder->ip = decoder->last_ip;
ip               1232 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.from_ip = decoder->ip;
ip               1237 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				decoder->ip = decoder->last_ip;
ip               1244 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		uint64_t to_ip = decoder->ip + intel_pt_insn.length +
ip               1254 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->ip = to_ip;
ip               1255 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.from_ip = decoder->ip;
ip               1261 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				decoder->ip);
ip               1284 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 						decoder->ip);
ip               1290 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 						decoder->ip);
ip               1296 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 						decoder->ip);
ip               1306 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.from_ip = decoder->ip;
ip               1307 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->ip = decoder->ret_addr;
ip               1308 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.to_ip = decoder->ip;
ip               1320 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 						decoder->ip);
ip               1326 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.from_ip = decoder->ip;
ip               1328 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->ip = decoder->last_ip;
ip               1340 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				decoder->state.from_ip = decoder->ip;
ip               1341 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				decoder->ip += intel_pt_insn.length +
ip               1343 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				decoder->state.to_ip = decoder->ip;
ip               1350 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				decoder->state.from_ip = decoder->ip;
ip               1352 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				decoder->ip += intel_pt_insn.length;
ip               1356 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->ip += intel_pt_insn.length;
ip               1811 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.from_ip = decoder->ip;
ip               1816 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				decoder->state.to_ip = decoder->ip;
ip               1826 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				     decoder->ip);
ip               1832 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				decoder->state.to_ip = decoder->ip;
ip               1839 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.from_ip = decoder->ip;
ip               1844 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				decoder->state.to_ip = decoder->ip;
ip               1914 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.to_ip = decoder->ip;
ip               1937 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				decoder->ip = decoder->last_ip;
ip               2006 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.from_ip = decoder->ip;
ip               2069 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.from_ip = decoder->ip;
ip               2087 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.from_ip = decoder->ip;
ip               2107 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.from_ip = decoder->ip;
ip               2113 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.from_ip = decoder->ip;
ip               2128 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->state.from_ip = decoder->ip;
ip               2194 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				uint64_t current_ip = decoder->ip;
ip               2199 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 							decoder->ip);
ip               2244 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->ip)
ip               2292 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (!decoder->ip)
ip               2302 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (!decoder->ip)
ip               2311 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (!decoder->ip)
ip               2318 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->ip)
ip               2374 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->ip) {
ip               2430 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	decoder->state.to_ip = decoder->ip;
ip               2431 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	intel_pt_log_to("Setting IP", decoder->ip);
ip               2531 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	decoder->ip = 0;
ip               2545 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	if (decoder->ip) {
ip               2583 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->ip = 0;
ip               2623 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->state.from_ip = decoder->ip;
ip               2631 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 				decoder->state.from_ip = decoder->ip;
ip                179 tools/perf/util/intel-pt-decoder/intel-pt-decoder.h 				uint64_t ip;
ip                239 tools/perf/util/intel-pt-decoder/intel-pt-decoder.h 			 uint64_t *insn_cnt_ptr, uint64_t *ip, uint64_t to_ip,
ip                241 tools/perf/util/intel-pt-decoder/intel-pt-decoder.h 	bool (*pgd_ip)(uint64_t ip, void *data);
ip                182 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c const char *dump_insn(struct perf_insn *x, uint64_t ip __maybe_unused,
ip                110 tools/perf/util/intel-pt-decoder/intel-pt-log.c void __intel_pt_log_insn(struct intel_pt_insn *intel_pt_insn, uint64_t ip)
ip                120 tools/perf/util/intel-pt-decoder/intel-pt-log.c 	intel_pt_print_data(intel_pt_insn->buf, len, ip, 8);
ip                128 tools/perf/util/intel-pt-decoder/intel-pt-log.c 				 uint64_t ip)
ip                135 tools/perf/util/intel-pt-decoder/intel-pt-log.c 	intel_pt_print_no_data(ip, 8);
ip                 26 tools/perf/util/intel-pt-decoder/intel-pt-log.h void __intel_pt_log_insn(struct intel_pt_insn *intel_pt_insn, uint64_t ip);
ip                 28 tools/perf/util/intel-pt-decoder/intel-pt-log.h 				 uint64_t ip);
ip                507 tools/perf/util/intel-pt.c static inline u8 intel_pt_cpumode(struct intel_pt *pt, uint64_t ip)
ip                509 tools/perf/util/intel-pt.c 	return ip >= pt->kernel_start ?
ip                515 tools/perf/util/intel-pt.c 				   uint64_t *insn_cnt_ptr, uint64_t *ip,
ip                533 tools/perf/util/intel-pt.c 	if (to_ip && *ip == to_ip)
ip                536 tools/perf/util/intel-pt.c 	cpumode = intel_pt_cpumode(ptq->pt, *ip);
ip                546 tools/perf/util/intel-pt.c 		if (!thread__find_map(thread, cpumode, *ip, &al) || !al.map->dso)
ip                554 tools/perf/util/intel-pt.c 		offset = al.map->map_ip(al.map, *ip);
ip                563 tools/perf/util/intel-pt.c 				*ip += e->byte_cnt;
ip                570 tools/perf/util/intel-pt.c 				intel_pt_log_insn_no_data(intel_pt_insn, *ip);
ip                576 tools/perf/util/intel-pt.c 		start_ip = *ip;
ip                593 tools/perf/util/intel-pt.c 			intel_pt_log_insn(intel_pt_insn, *ip);
ip                603 tools/perf/util/intel-pt.c 			*ip += intel_pt_insn->length;
ip                605 tools/perf/util/intel-pt.c 			if (to_ip && *ip == to_ip)
ip                608 tools/perf/util/intel-pt.c 			if (*ip >= al.map->end)
ip                635 tools/perf/util/intel-pt.c 			   *ip - start_ip, intel_pt_insn);
ip                644 tools/perf/util/intel-pt.c static bool intel_pt_match_pgd_ip(struct intel_pt *pt, uint64_t ip,
ip                665 tools/perf/util/intel-pt.c 			     ip, offset, filename ? filename : "[kernel]",
ip                677 tools/perf/util/intel-pt.c 			     ip, offset, filename ? filename : "[kernel]");
ip                682 tools/perf/util/intel-pt.c static int __intel_pt_pgd_ip(uint64_t ip, void *data)
ip                690 tools/perf/util/intel-pt.c 	if (ip >= ptq->pt->kernel_start)
ip                691 tools/perf/util/intel-pt.c 		return intel_pt_match_pgd_ip(ptq->pt, ip, ip, NULL);
ip                699 tools/perf/util/intel-pt.c 	if (!thread__find_map(thread, cpumode, ip, &al) || !al.map->dso)
ip                702 tools/perf/util/intel-pt.c 	offset = al.map->map_ip(al.map, ip);
ip                704 tools/perf/util/intel-pt.c 	return intel_pt_match_pgd_ip(ptq->pt, ip, offset,
ip                708 tools/perf/util/intel-pt.c static bool intel_pt_pgd_ip(uint64_t ip, void *data)
ip                710 tools/perf/util/intel-pt.c 	return __intel_pt_pgd_ip(ip, data) > 0;
ip               1226 tools/perf/util/intel-pt.c 	sample->ip = ptq->state->from_ip;
ip               1227 tools/perf/util/intel-pt.c 	sample->cpumode = intel_pt_cpumode(pt, sample->ip);
ip               1273 tools/perf/util/intel-pt.c 	struct perf_sample sample = { .ip = 0, };
ip               1298 tools/perf/util/intel-pt.c 				.from = sample.ip,
ip               1326 tools/perf/util/intel-pt.c 				     sample->ip, pt->kernel_start);
ip               1356 tools/perf/util/intel-pt.c 	struct perf_sample sample = { .ip = 0, };
ip               1384 tools/perf/util/intel-pt.c 	struct perf_sample sample = { .ip = 0, };
ip               1409 tools/perf/util/intel-pt.c 	if (!sample->ip)
ip               1417 tools/perf/util/intel-pt.c 	struct perf_sample sample = { .ip = 0, };
ip               1429 tools/perf/util/intel-pt.c 	raw.ip = !!(ptq->state->flags & INTEL_PT_FUP_IP);
ip               1443 tools/perf/util/intel-pt.c 	struct perf_sample sample = { .ip = 0, };
ip               1473 tools/perf/util/intel-pt.c 	struct perf_sample sample = { .ip = 0, };
ip               1498 tools/perf/util/intel-pt.c 	struct perf_sample sample = { .ip = 0, };
ip               1523 tools/perf/util/intel-pt.c 	struct perf_sample sample = { .ip = 0, };
ip               1535 tools/perf/util/intel-pt.c 	raw.ip = !!(ptq->state->flags & INTEL_PT_FUP_IP);
ip               1548 tools/perf/util/intel-pt.c 	struct perf_sample sample = { .ip = 0, };
ip               1703 tools/perf/util/intel-pt.c 	struct perf_sample sample = { .ip = 0, };
ip               1724 tools/perf/util/intel-pt.c 		sample.ip = items->ip;
ip               1726 tools/perf/util/intel-pt.c 		sample.ip = items->rip;
ip               1728 tools/perf/util/intel-pt.c 		sample.ip = ptq->state->from_ip;
ip               1731 tools/perf/util/intel-pt.c 	cpumode = sample.ip < ptq->pt->kernel_start ?
ip               1753 tools/perf/util/intel-pt.c 				     pt->synth_opts.callchain_sz, sample.ip,
ip               1825 tools/perf/util/intel-pt.c 				pid_t pid, pid_t tid, u64 ip, u64 timestamp)
ip               1834 tools/perf/util/intel-pt.c 			     code, cpu, pid, tid, ip, msg, timestamp);
ip               1877 tools/perf/util/intel-pt.c static inline bool intel_pt_is_switch_ip(struct intel_pt_queue *ptq, u64 ip)
ip               1881 tools/perf/util/intel-pt.c 	return ip == pt->switch_ip &&
ip               2022 tools/perf/util/intel-pt.c 	u64 ip, switch_ip = 0;
ip               2040 tools/perf/util/intel-pt.c 			ip = map->unmap_ip(map, sym->start);
ip               2041 tools/perf/util/intel-pt.c 			if (ip >= map->start && ip < map->end) {
ip               2042 tools/perf/util/intel-pt.c 				switch_ip = ip;
ip               2058 tools/perf/util/intel-pt.c 			ip = map->unmap_ip(map, sym->start);
ip               2059 tools/perf/util/intel-pt.c 			if (ip >= map->start && ip < map->end) {
ip               2060 tools/perf/util/intel-pt.c 				*ptss_ip = ip;
ip                486 tools/perf/util/jitdump.c 	sample.ip   = addr;
ip                578 tools/perf/util/jitdump.c 	sample.ip   = jr->move.new_code_addr;
ip               1926 tools/perf/util/machine.c 			    u64 ip)
ip               1938 tools/perf/util/machine.c 	thread__find_cpumode_addr_location(thread, ip, &al);
ip               1940 tools/perf/util/machine.c 	ams->addr = ip;
ip               1972 tools/perf/util/machine.c 	ip__resolve_ams(al->thread, &mi->iaddr, sample->ip);
ip               1980 tools/perf/util/machine.c static char *callchain_srcline(struct map *map, struct symbol *sym, u64 ip)
ip               1987 tools/perf/util/machine.c 	srcline = srcline__tree_find(&map->dso->srclines, ip);
ip               1992 tools/perf/util/machine.c 		srcline = get_srcline(map->dso, map__rip_2objdump(map, ip),
ip               1993 tools/perf/util/machine.c 				      sym, show_sym, show_addr, ip);
ip               1994 tools/perf/util/machine.c 		srcline__tree_insert(&map->dso->srclines, ip, srcline);
ip               2010 tools/perf/util/machine.c 			    u64 ip,
ip               2024 tools/perf/util/machine.c 		thread__find_cpumode_addr_location(thread, ip, &al);
ip               2026 tools/perf/util/machine.c 		if (ip >= PERF_CONTEXT_MAX) {
ip               2027 tools/perf/util/machine.c 			switch (ip) {
ip               2039 tools/perf/util/machine.c 					 "%"PRId64"\n", (s64) ip);
ip               2049 tools/perf/util/machine.c 		thread__find_symbol(thread, *cpumode, ip, &al);
ip               2074 tools/perf/util/machine.c 	return callchain_cursor_append(cursor, ip, al.map, al.sym,
ip               2178 tools/perf/util/machine.c 	u64 ip, branch_from = 0;
ip               2210 tools/perf/util/machine.c 					ip = chain->ips[j];
ip               2213 tools/perf/util/machine.c 					ip = lbr_stack->entries[k].from;
ip               2217 tools/perf/util/machine.c 					ip = lbr_stack->entries[0].to;
ip               2226 tools/perf/util/machine.c 					ip = lbr_stack->entries[k].from;
ip               2231 tools/perf/util/machine.c 					ip = chain->ips[i + 1 - (j - lbr_nr)];
ip               2233 tools/perf/util/machine.c 					ip = lbr_stack->entries[0].to;
ip               2242 tools/perf/util/machine.c 					       root_al, &cpumode, ip,
ip               2263 tools/perf/util/machine.c 		u64 ip = chain->ips[ent];
ip               2265 tools/perf/util/machine.c 		if (ip >= PERF_CONTEXT_MAX) {
ip               2267 tools/perf/util/machine.c 					       root_al, cpumode, ip,
ip               2389 tools/perf/util/machine.c 		u64 ip;
ip               2400 tools/perf/util/machine.c 		ip = chain->ips[j];
ip               2401 tools/perf/util/machine.c 		if (ip < PERF_CONTEXT_MAX)
ip               2412 tools/perf/util/machine.c 				       root_al, &cpumode, ip,
ip               2423 tools/perf/util/machine.c 			  struct map *map, struct symbol *sym, u64 ip)
ip               2433 tools/perf/util/machine.c 	addr = map__map_ip(map, ip);
ip               2445 tools/perf/util/machine.c 		ret = callchain_cursor_append(cursor, ip, map,
ip               2460 tools/perf/util/machine.c 	u64 addr = entry->ip;
ip               2465 tools/perf/util/machine.c 	if (append_inlines(cursor, entry->map, entry->sym, entry->ip) == 0)
ip               2473 tools/perf/util/machine.c 		addr = map__map_ip(entry->map, entry->ip);
ip               2476 tools/perf/util/machine.c 	return callchain_cursor_append(cursor, entry->ip,
ip                 97 tools/perf/util/machine.h static inline bool machine__kernel_ip(struct machine *machine, u64 ip)
ip                101 tools/perf/util/machine.h 	return ip >= kernel_start;
ip                557 tools/perf/util/map.c u64 map__objdump_2mem(struct map *map, u64 ip)
ip                560 tools/perf/util/map.c 		return map->unmap_ip(map, ip);
ip                563 tools/perf/util/map.c 		return map->unmap_ip(map, ip + map->pgoff);
ip                570 tools/perf/util/map.c 		return map->unmap_ip(map, ip - map->dso->text_offset);
ip                572 tools/perf/util/map.c 	return ip + map->reloc;
ip                681 tools/perf/util/map.c 	u64 ip = map->unmap_ip(map, sym->start);
ip                683 tools/perf/util/map.c 	return ip >= map->start && ip < map->end;
ip                915 tools/perf/util/map.c 	const u64 ip = map->start;
ip                921 tools/perf/util/map.c 		if (ip < m->start)
ip                977 tools/perf/util/map.c struct map *maps__find(struct maps *maps, u64 ip)
ip                987 tools/perf/util/map.c 		if (ip < m->start)
ip                989 tools/perf/util/map.c 		else if (ip >= m->end)
ip                 55 tools/perf/util/map.h static inline u64 map__map_ip(struct map *map, u64 ip)
ip                 57 tools/perf/util/map.h 	return ip - map->start + map->pgoff;
ip                 60 tools/perf/util/map.h static inline u64 map__unmap_ip(struct map *map, u64 ip)
ip                 62 tools/perf/util/map.h 	return ip + map->start - map->pgoff;
ip                 65 tools/perf/util/map.h static inline u64 identity__map_ip(struct map *map __maybe_unused, u64 ip)
ip                 67 tools/perf/util/map.h 	return ip;
ip                 79 tools/perf/util/map.h u64 map__objdump_2mem(struct map *map, u64 ip);
ip                113 tools/perf/util/python.c 	sample_member_def(sample_ip, ip, T_ULONGLONG, "event type"),			 \
ip                507 tools/perf/util/s390-cpumsf.c 				.ip = basic->ia,
ip                536 tools/perf/util/s390-cpumsf.c 		 __func__, pos, sample.ip, basic->P, basic->CL, sample.pid,
ip                886 tools/perf/util/s390-cpumsf.c 				   pid_t pid, pid_t tid, u64 ip, u64 timestamp)
ip                894 tools/perf/util/s390-cpumsf.c 			     code, cpu, pid, tid, ip, msg, timestamp);
ip                292 tools/perf/util/scripting-engines/trace-event-perl.c 		if (!hv_stores(elem, "ip", newSVuv(node->ip))) {
ip                429 tools/perf/util/scripting-engines/trace-event-python.c 				PyLong_FromUnsignedLongLong(node->ip));
ip                749 tools/perf/util/scripting-engines/trace-event-python.c 			PyLong_FromUnsignedLongLong(sample->ip));
ip               1136 tools/perf/util/scripting-engines/trace-event-python.c 	tuple_set_u64(t, 8, es->sample->ip);
ip               1201 tools/perf/util/scripting-engines/trace-event-python.c 	tuple_set_u64(t, 3, cp->ip);
ip                829 tools/perf/util/session.c 	event->auxtrace_error.ip   = bswap_64(event->auxtrace_error.ip);
ip               1229 tools/perf/util/session.c 	       event->header.misc, sample->pid, sample->tid, sample->ip,
ip                266 tools/perf/util/sort.c 		return _sort__addr_cmp(left->ip, right->ip);
ip                291 tools/perf/util/sort.c 				     u64 ip, char level, char *bf, size_t size,
ip                299 tools/perf/util/sort.c 				       BITS_PER_LONG / 4 + 2, ip, o);
ip                307 tools/perf/util/sort.c 					ip - map->unmap_ip(map, sym->start));
ip                319 tools/perf/util/sort.c 				       len, ip);
ip                328 tools/perf/util/sort.c 	return _hist_entry__sym_snprintf(he->ms.map, he->ms.sym, he->ip,
ip                355 tools/perf/util/sort.c 	return map__srcline(he->ms.map, he->ip, he->ms.sym);
ip                507 tools/perf/util/sort.c 	sf = __get_srcline(map->dso, map__rip_2objdump(map, e->ip),
ip                508 tools/perf/util/sort.c 			 e->ms.sym, false, true, true, e->ip);
ip                100 tools/perf/util/sort.h 	u64			ip;
ip                521 tools/perf/util/srcline.c 		  u64 ip)
ip                561 tools/perf/util/srcline.c 					ip - sym->start) < 0)
ip                603 tools/perf/util/srcline.c 		  bool show_sym, bool show_addr, u64 ip)
ip                605 tools/perf/util/srcline.c 	return __get_srcline(dso, addr, sym, show_sym, show_addr, false, ip);
ip                 14 tools/perf/util/srcline.h 		  bool show_sym, bool show_addr, u64 ip);
ip                 17 tools/perf/util/srcline.h 		  u64 ip);
ip                322 tools/perf/util/symbol.c 	const u64 ip = sym->start;
ip                340 tools/perf/util/symbol.c 		if (ip < s->start)
ip                356 tools/perf/util/symbol.c static struct symbol *symbols__find(struct rb_root_cached *symbols, u64 ip)
ip                368 tools/perf/util/symbol.c 		if (ip < s->start)
ip                370 tools/perf/util/symbol.c 		else if (ip > s->end || (ip == s->end && ip != s->start))
ip               1253 tools/perf/util/synthetic-events.c 		*array = sample->ip;
ip                456 tools/perf/util/thread-stack.c static inline u64 callchain_context(u64 ip, u64 kernel_start)
ip                458 tools/perf/util/thread-stack.c 	return ip < kernel_start ? PERF_CONTEXT_USER : PERF_CONTEXT_KERNEL;
ip                463 tools/perf/util/thread-stack.c 			  size_t sz, u64 ip, u64 kernel_start)
ip                466 tools/perf/util/thread-stack.c 	u64 context = callchain_context(ip, kernel_start);
ip                476 tools/perf/util/thread-stack.c 	chain->ips[1] = ip;
ip                486 tools/perf/util/thread-stack.c 		ip = ts->stack[ts->cnt - j].ret_addr;
ip                487 tools/perf/util/thread-stack.c 		context = callchain_context(ip, kernel_start);
ip                494 tools/perf/util/thread-stack.c 		chain->ips[i] = ip;
ip                614 tools/perf/util/thread-stack.c 	u64 ip;
ip                616 tools/perf/util/thread-stack.c 	if (sample->ip) {
ip                617 tools/perf/util/thread-stack.c 		ip = sample->ip;
ip                620 tools/perf/util/thread-stack.c 		ip = sample->addr;
ip                626 tools/perf/util/thread-stack.c 	cp = call_path__findnew(cpr, &cpr->call_path, sym, ip,
ip                629 tools/perf/util/thread-stack.c 	return thread_stack__push_cp(ts, ip, sample->time, ref, cp,
ip                664 tools/perf/util/thread-stack.c 	u64 ip = sample->ip;
ip                667 tools/perf/util/thread-stack.c 	if (ip >= ks && addr < ks) {
ip                679 tools/perf/util/thread-stack.c 	} else if (thread_stack__in_kernel(ts) && ip < ks) {
ip                735 tools/perf/util/thread-stack.c 	cp = call_path__findnew(cpr, cp, fsym, ip, ks);
ip                737 tools/perf/util/thread-stack.c 	err = thread_stack__push_cp(ts, ip, tm, ref, cp, true, false);
ip                780 tools/perf/util/thread-stack.c 	ret_addr = sample->ip + sample->insn_len;
ip                903 tools/perf/util/thread-stack.c 		if (!sample->ip || !sample->addr)
ip                906 tools/perf/util/thread-stack.c 		ret_addr = sample->ip + sample->insn_len;
ip                937 tools/perf/util/thread-stack.c 		if (!sample->ip)
ip                 87 tools/perf/util/thread-stack.h 			  size_t sz, u64 ip, u64 kernel_start);
ip                437 tools/perf/util/thread.c 		   void *buf, u64 ip, int len, bool *is64bit)
ip                443 tools/perf/util/thread.c        if (machine__kernel_ip(machine, ip))
ip                446 tools/perf/util/thread.c        if (!thread__find_map(thread, cpumode, ip, &al) || !al.map->dso ||
ip                451 tools/perf/util/thread.c        offset = al.map->map_ip(al.map, ip);
ip                113 tools/perf/util/thread.h 		   void *buf, u64 ip, int len, bool *is64bit);
ip                 29 tools/perf/util/unwind-libdw.c static int __report_module(struct addr_location *al, u64 ip,
ip                 38 tools/perf/util/unwind-libdw.c 	thread__find_symbol(ui->thread, PERF_RECORD_MISC_USER, ip, al);
ip                 46 tools/perf/util/unwind-libdw.c 	mod = dwfl_addrmodule(ui->dwfl, ip);
ip                 60 tools/perf/util/unwind-libdw.c 	return mod && dwfl_addrmodule(ui->dwfl, ip) == mod ? 0 : -1;
ip                 63 tools/perf/util/unwind-libdw.c static int report_module(u64 ip, struct unwind_info *ui)
ip                 67 tools/perf/util/unwind-libdw.c 	return __report_module(&al, ip, ui);
ip                 74 tools/perf/util/unwind-libdw.c static int entry(u64 ip, struct unwind_info *ui)
ip                 80 tools/perf/util/unwind-libdw.c 	if (__report_module(&al, ip, ui))
ip                 83 tools/perf/util/unwind-libdw.c 	e->ip  = ip;
ip                 89 tools/perf/util/unwind-libdw.c 		 ip,
ip                 90 tools/perf/util/unwind-libdw.c 		 al.map ? al.map->map_ip(al.map, ip) : (u64) 0);
ip                207 tools/perf/util/unwind-libdw.c 	Dwarf_Word ip;
ip                223 tools/perf/util/unwind-libdw.c 	err = perf_reg_value(&ip, &data->user_regs, PERF_REG_IP);
ip                227 tools/perf/util/unwind-libdw.c 	err = report_module(ip, ui);
ip                249 tools/perf/util/unwind-libdw.c 		err = ui->entries[j].ip ? ui->cb(&ui->entries[j], ui->arg) : 0;
ip                 46 tools/perf/util/unwind-libunwind-local.c 				    unw_word_t ip,
ip                 55 tools/perf/util/unwind-libunwind-local.c 				 unw_word_t ip,
ip                367 tools/perf/util/unwind-libunwind-local.c static struct map *find_map(unw_word_t ip, struct unwind_info *ui)
ip                370 tools/perf/util/unwind-libunwind-local.c 	return thread__find_map(ui->thread, PERF_RECORD_MISC_USER, ip, &al);
ip                374 tools/perf/util/unwind-libunwind-local.c find_proc_info(unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi,
ip                383 tools/perf/util/unwind-libunwind-local.c 	map = find_map(ip, ui);
ip                400 tools/perf/util/unwind-libunwind-local.c 		ret = dwarf_search_unwind_table(as, ip, &di, pi,
ip                419 tools/perf/util/unwind-libunwind-local.c 		if (dwarf_find_debug_frame(0, &di, ip, base, symfile,
ip                421 tools/perf/util/unwind-libunwind-local.c 			return dwarf_search_unwind_table(as, ip, &di, pi,
ip                572 tools/perf/util/unwind-libunwind-local.c static int entry(u64 ip, struct thread *thread,
ip                578 tools/perf/util/unwind-libunwind-local.c 	e.sym = thread__find_symbol(thread, PERF_RECORD_MISC_USER, ip, &al);
ip                579 tools/perf/util/unwind-libunwind-local.c 	e.ip  = ip;
ip                584 tools/perf/util/unwind-libunwind-local.c 		 ip,
ip                585 tools/perf/util/unwind-libunwind-local.c 		 al.map ? al.map->map_ip(al.map, ip) : (u64) 0);
ip                 17 tools/perf/util/unwind.h 	u64		ip;
ip                206 tools/testing/selftests/bpf/bpf_helpers.h 	    void *ip, int ip_len, void *tcp, int tcp_len) =
ip                233 tools/testing/selftests/bpf/bpf_helpers.h static long long (*bpf_tcp_gen_syncookie)(struct bpf_sock *sk, void *ip,
ip                382 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_IP(x) ((x)->ip)
ip                502 tools/testing/selftests/bpf/bpf_helpers.h #define BPF_KPROBE_READ_RET_IP(ip, ctx)		({ (ip) = (ctx)->link; })
ip                505 tools/testing/selftests/bpf/bpf_helpers.h #define BPF_KPROBE_READ_RET_IP(ip, ctx)		({ (ip) = PT_REGS_RET(ctx); })
ip                508 tools/testing/selftests/bpf/bpf_helpers.h #define BPF_KPROBE_READ_RET_IP(ip, ctx)		({				\
ip                509 tools/testing/selftests/bpf/bpf_helpers.h 		bpf_probe_read(&(ip), sizeof(ip), (void *)PT_REGS_RET(ctx)); })
ip                510 tools/testing/selftests/bpf/bpf_helpers.h #define BPF_KRETPROBE_READ_RET_IP(ip, ctx)	({				\
ip                511 tools/testing/selftests/bpf/bpf_helpers.h 		bpf_probe_read(&(ip), sizeof(ip),				\
ip                512 tools/testing/selftests/bpf/bpf_helpers.h 				(void *)(PT_REGS_FP(ctx) + sizeof(ip))); })
ip                 57 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 	struct ip6_t *ip;
ip                 70 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 	ip = cursor_advance(cursor, sizeof(*ip));
ip                 71 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 	if ((void *)ip + sizeof(*ip) > data_end)
ip                 74 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 	if (ip->next_header != 43)
ip                 57 tools/testing/selftests/bpf/progs/test_seg6_loop.c 	struct ip6_t *ip;
ip                 70 tools/testing/selftests/bpf/progs/test_seg6_loop.c 	ip = cursor_advance(cursor, sizeof(*ip));
ip                 71 tools/testing/selftests/bpf/progs/test_seg6_loop.c 	if ((void *)ip + sizeof(*ip) > data_end)
ip                 74 tools/testing/selftests/bpf/progs/test_seg6_loop.c 	if (ip->next_header != 43)
ip                 46 tools/testing/selftests/bpf/progs/test_tc_tunnel.c 	struct iphdr ip;
ip                 52 tools/testing/selftests/bpf/progs/test_tc_tunnel.c 	struct ipv6hdr ip;
ip                132 tools/testing/selftests/bpf/progs/test_tc_tunnel.c 	olen = sizeof(h_outer.ip);
ip                191 tools/testing/selftests/bpf/progs/test_tc_tunnel.c 	h_outer.ip = iph_inner;
ip                192 tools/testing/selftests/bpf/progs/test_tc_tunnel.c 	h_outer.ip.tot_len = bpf_htons(olen +
ip                193 tools/testing/selftests/bpf/progs/test_tc_tunnel.c 				       bpf_ntohs(h_outer.ip.tot_len));
ip                194 tools/testing/selftests/bpf/progs/test_tc_tunnel.c 	h_outer.ip.protocol = encap_proto;
ip                196 tools/testing/selftests/bpf/progs/test_tc_tunnel.c 	set_ipv4_csum((void *)&h_outer.ip);
ip                240 tools/testing/selftests/bpf/progs/test_tc_tunnel.c 	olen = sizeof(h_outer.ip);
ip                298 tools/testing/selftests/bpf/progs/test_tc_tunnel.c 	h_outer.ip = iph_inner;
ip                299 tools/testing/selftests/bpf/progs/test_tc_tunnel.c 	h_outer.ip.payload_len = bpf_htons(olen +
ip                300 tools/testing/selftests/bpf/progs/test_tc_tunnel.c 					   bpf_ntohs(h_outer.ip.payload_len));
ip                302 tools/testing/selftests/bpf/progs/test_tc_tunnel.c 	h_outer.ip.nexthdr = encap_proto;
ip                 27 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c static int mk_dst_addr(const char *ip, const char *iface,
ip                 35 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c 	if (inet_pton(AF_INET6, ip, &dst->sin6_addr) != 1) {
ip                 36 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c 		log_err("Invalid IPv6: %s", ip);
ip                 36 tools/testing/selftests/bpf/test_sock.c 	const char *ip;
ip                355 tools/testing/selftests/bpf/test_sock.c static int bind_sock(int domain, int type, const char *ip, unsigned short port)
ip                375 tools/testing/selftests/bpf/test_sock.c 		if (inet_pton(domain, ip, (void *)&addr4->sin_addr) != 1)
ip                382 tools/testing/selftests/bpf/test_sock.c 		if (inet_pton(domain, ip, (void *)&addr6->sin6_addr) != 1)
ip                420 tools/testing/selftests/bpf/test_sock.c 	if (bind_sock(test->domain, test->type, test->ip, test->port) == -1) {
ip                603 tools/testing/selftests/bpf/test_sock_addr.c static int mk_sockaddr(int domain, const char *ip, unsigned short port,
ip                622 tools/testing/selftests/bpf/test_sock_addr.c 		if (inet_pton(domain, ip, (void *)&addr4->sin_addr) != 1) {
ip                623 tools/testing/selftests/bpf/test_sock_addr.c 			log_err("Invalid IPv4: %s", ip);
ip                632 tools/testing/selftests/bpf/test_sock_addr.c 		if (inet_pton(domain, ip, (void *)&addr6->sin6_addr) != 1) {
ip                633 tools/testing/selftests/bpf/test_sock_addr.c 			log_err("Invalid IPv6: %s", ip);
ip                101 tools/testing/selftests/net/ip_defrag.c static uint16_t udp_checksum(struct ip *iphdr, struct udphdr *udphdr)
ip                152 tools/testing/selftests/net/ip_defrag.c 			udphdr.check = udp_checksum((struct ip *)ip_frame, &udphdr);
ip                176 tools/testing/selftests/net/ip_defrag.c 		struct ip *iphdr = (struct ip *)ip_frame;
ip                206 tools/testing/selftests/net/ip_defrag.c 	struct ip *iphdr = (struct ip *)ip_frame;
ip                145 tools/testing/selftests/net/psock_tpacket.c 	struct iphdr *ip = pay + sizeof(*eth);
ip                156 tools/testing/selftests/net/psock_tpacket.c 	for (i = 0; i < sizeof(*ip); ++i)
ip                159 tools/testing/selftests/net/psock_tpacket.c 	ip->ihl = 5;
ip                160 tools/testing/selftests/net/psock_tpacket.c 	ip->version = 4;
ip                161 tools/testing/selftests/net/psock_tpacket.c 	ip->protocol = 0x11;
ip                162 tools/testing/selftests/net/psock_tpacket.c 	ip->frag_off = 0;
ip                163 tools/testing/selftests/net/psock_tpacket.c 	ip->ttl = 64;
ip                164 tools/testing/selftests/net/psock_tpacket.c 	ip->tot_len = htons((uint16_t) *len - sizeof(*eth));
ip                166 tools/testing/selftests/net/psock_tpacket.c 	ip->saddr = htonl(INADDR_LOOPBACK);
ip                167 tools/testing/selftests/net/psock_tpacket.c 	ip->daddr = htonl(INADDR_LOOPBACK);
ip                169 tools/testing/selftests/net/psock_tpacket.c 	memset(pay + sizeof(*eth) + sizeof(*ip),
ip                 25 tools/testing/selftests/powerpc/copyloops/exc_validate.c 	unsigned long *ip = &UCONTEXT_NIA(uc);
ip                 34 tools/testing/selftests/powerpc/copyloops/exc_validate.c 		if (insn == *ip) {
ip                 35 tools/testing/selftests/powerpc/copyloops/exc_validate.c 			*ip = fixup;
ip                 40 tools/testing/selftests/powerpc/copyloops/exc_validate.c 	printf("No exception table match for NIA %lx ADDR %lx\n", *ip, addr);
ip                111 tools/testing/selftests/powerpc/mm/wild_bctr.c 	unsigned long ip;
ip                116 tools/testing/selftests/powerpc/mm/wild_bctr.c 	.ip = BAD_NIP,
ip                 73 tools/testing/selftests/powerpc/primitives/load_unaligned_zeropad.c 	unsigned long *ip = &UCONTEXT_NIA(uc);
ip                 82 tools/testing/selftests/powerpc/primitives/load_unaligned_zeropad.c 		if (insn == *ip) {
ip                 83 tools/testing/selftests/powerpc/primitives/load_unaligned_zeropad.c 			*ip = fixup;
ip                 88 tools/testing/selftests/powerpc/primitives/load_unaligned_zeropad.c 	printf("No exception table match for NIA %lx ADDR %lx\n", *ip, addr);
ip                264 tools/testing/selftests/x86/protection_keys.c 	unsigned long ip;
ip                278 tools/testing/selftests/x86/protection_keys.c 	ip = uctxt->uc_mcontext.gregs[REG_IP_IDX];
ip                283 tools/testing/selftests/x86/protection_keys.c 			trapno, ip, si_code_str(si->si_code), si->si_code);
ip                 94 tools/testing/selftests/x86/syscall_arg_fault.c 	unsigned short *ip = (unsigned short *)ctx->uc_mcontext.gregs[REG_IP];
ip                 96 tools/testing/selftests/x86/syscall_arg_fault.c 	if (*ip == 0x340f || *ip == 0x050f) {
ip                111 tools/testing/selftests/x86/syscall_arg_fault.c 	unsigned short *ip = (unsigned short *)ctx->uc_mcontext.gregs[REG_IP];
ip                113 tools/testing/selftests/x86/syscall_arg_fault.c 	if (*ip == 0x0b0f) {
ip                104 tools/testing/selftests/x86/sysret_rip.c static void test_sigreturn_to(unsigned long ip)
ip                106 tools/testing/selftests/x86/sysret_rip.c 	rip = ip;
ip                107 tools/testing/selftests/x86/sysret_rip.c 	printf("[RUN]\tsigreturn to 0x%lx\n", ip);
ip                127 tools/testing/selftests/x86/sysret_rip.c static void test_syscall_fallthrough_to(unsigned long ip)
ip                129 tools/testing/selftests/x86/sysret_rip.c 	void *new_address = (void *)(ip - 4096);
ip                132 tools/testing/selftests/x86/sysret_rip.c 	printf("[RUN]\tTrying a SYSCALL that falls through to 0x%lx\n", ip);
ip                137 tools/testing/selftests/x86/sysret_rip.c 		if (ip <= (1UL << 47) - PAGE_SIZE) {
ip                150 tools/testing/selftests/x86/sysret_rip.c 	rip = ip;
ip                154 tools/testing/selftests/x86/sysret_rip.c 			      [syscall_insn] "rm" (ip - 2));
ip                514 tools/testing/selftests/x86/test_vsyscall.c 	unsigned long ip = ctx->uc_mcontext.gregs[REG_RIP];
ip                516 tools/testing/selftests/x86/test_vsyscall.c 	if (((ip ^ 0xffffffffff600000UL) & ~0xfffUL) == 0)
ip                 83 tools/testing/selftests/x86/unwind_vdso.c 	unsigned long ip;	/* trap source */
ip                 90 tools/testing/selftests/x86/unwind_vdso.c 	unsigned long ip = _Unwind_GetIP(ctx);
ip                 93 tools/testing/selftests/x86/unwind_vdso.c 		if (ip == state->ip)
ip                 98 tools/testing/selftests/x86/unwind_vdso.c 	printf("\t  0x%lx\n", ip);
ip                100 tools/testing/selftests/x86/unwind_vdso.c 	if (ip == return_address) {
ip                130 tools/testing/selftests/x86/unwind_vdso.c 	unsigned long ip = ctx->uc_mcontext.gregs[REG_EIP];
ip                132 tools/testing/selftests/x86/unwind_vdso.c 	if (!got_sysinfo && ip == sysinfo) {
ip                139 tools/testing/selftests/x86/unwind_vdso.c 		       ip, return_address);
ip                145 tools/testing/selftests/x86/unwind_vdso.c 	if (ip == return_address) {
ip                151 tools/testing/selftests/x86/unwind_vdso.c 	printf("\tSIGTRAP at 0x%lx\n", ip);
ip                153 tools/testing/selftests/x86/unwind_vdso.c 	state.ip = ip;