old               202 arch/alpha/include/asm/atomic.h #define atomic64_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new))
old               205 arch/alpha/include/asm/atomic.h #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new))
old               219 arch/alpha/include/asm/atomic.h 	int c, new, old;
old               232 arch/alpha/include/asm/atomic.h 	: [old] "=&r"(old), [new] "=&r"(new), [c] "=&r"(c)
old               236 arch/alpha/include/asm/atomic.h 	return old;
old               251 arch/alpha/include/asm/atomic.h 	s64 c, new, old;
old               264 arch/alpha/include/asm/atomic.h 	: [old] "=&r"(old), [new] "=&r"(new), [c] "=&r"(c)
old               268 arch/alpha/include/asm/atomic.h 	return old;
old               281 arch/alpha/include/asm/atomic.h 	s64 old, tmp;
old               293 arch/alpha/include/asm/atomic.h 	: [old] "=&r"(old), [tmp] "=&r"(tmp)
old               297 arch/alpha/include/asm/atomic.h 	return old - 1;
old               194 arch/alpha/include/asm/bitops.h 	int old = *m;
old               196 arch/alpha/include/asm/bitops.h 	*m = old | mask;
old               197 arch/alpha/include/asm/bitops.h 	return (old & mask) != 0;
old               238 arch/alpha/include/asm/bitops.h 	int old = *m;
old               240 arch/alpha/include/asm/bitops.h 	*m = old & ~mask;
old               241 arch/alpha/include/asm/bitops.h 	return (old & mask) != 0;
old               280 arch/alpha/include/asm/bitops.h 	int old = *m;
old               282 arch/alpha/include/asm/bitops.h 	*m = old ^ mask;
old               283 arch/alpha/include/asm/bitops.h 	return (old & mask) != 0;
old                70 arch/alpha/include/asm/local.h 	long c, old;						\
old                75 arch/alpha/include/asm/local.h 		old = local_cmpxchg((l), c, c + (a));	\
old                76 arch/alpha/include/asm/local.h 		if (likely(old == c))				\
old                78 arch/alpha/include/asm/local.h 		c = old;					\
old               129 arch/alpha/include/asm/xchg.h ____cmpxchg(_u8, volatile char *m, unsigned char old, unsigned char new)
old               149 arch/alpha/include/asm/xchg.h 	: "r" ((long)m), "Ir" (old), "1" (new) : "memory");
old               155 arch/alpha/include/asm/xchg.h ____cmpxchg(_u16, volatile short *m, unsigned short old, unsigned short new)
old               175 arch/alpha/include/asm/xchg.h 	: "r" ((long)m), "Ir" (old), "1" (new) : "memory");
old               181 arch/alpha/include/asm/xchg.h ____cmpxchg(_u32, volatile int *m, int old, int new)
old               197 arch/alpha/include/asm/xchg.h 	: "r"((long) old), "r"(new), "m"(*m) : "memory");
old               203 arch/alpha/include/asm/xchg.h ____cmpxchg(_u64, volatile long *m, unsigned long old, unsigned long new)
old               219 arch/alpha/include/asm/xchg.h 	: "r"((long) old), "r"(new), "m"(*m) : "memory");
old               229 arch/alpha/include/asm/xchg.h ____cmpxchg(, volatile void *ptr, unsigned long old, unsigned long new,
old               234 arch/alpha/include/asm/xchg.h 			return ____cmpxchg(_u8, ptr, old, new);
old               236 arch/alpha/include/asm/xchg.h 			return ____cmpxchg(_u16, ptr, old, new);
old               238 arch/alpha/include/asm/xchg.h 			return ____cmpxchg(_u32, ptr, old, new);
old               240 arch/alpha/include/asm/xchg.h 			return ____cmpxchg(_u64, ptr, old, new);
old               243 arch/alpha/include/asm/xchg.h 	return old;
old               530 arch/arc/include/asm/atomic.h 	s64 old, temp;
old               544 arch/arc/include/asm/atomic.h 	: "=&r"(old), "=&r" (temp)
old               550 arch/arc/include/asm/atomic.h 	return old;
old                62 arch/arc/include/asm/bitops.h 	unsigned long old, temp;					\
old                79 arch/arc/include/asm/bitops.h 	: "=&r"(old), "=&r"(temp)					\
old                85 arch/arc/include/asm/bitops.h 	return (old & (1 << nr)) != 0;					\
old               126 arch/arc/include/asm/bitops.h 	unsigned long old, flags;					\
old               131 arch/arc/include/asm/bitops.h 	old = *m;							\
old               132 arch/arc/include/asm/bitops.h 	*m = old c_op (1UL << (nr & 0x1f));				\
old               136 arch/arc/include/asm/bitops.h 	return (old & (1UL << (nr & 0x1f))) != 0;			\
old               162 arch/arc/include/asm/bitops.h 	unsigned long old;						\
old               166 arch/arc/include/asm/bitops.h 	nr = old = (1UL << (nr & 0x1f));				\
old               168 arch/arc/include/asm/bitops.h 		old = ~old;						\
old               178 arch/arc/include/asm/bitops.h 	: "+r"(old)							\
old               184 arch/arc/include/asm/bitops.h 	return (old & nr) != 0;					\
old               206 arch/arc/include/asm/bitops.h 	unsigned long old;						\
old               209 arch/arc/include/asm/bitops.h 	old = *m;							\
old               210 arch/arc/include/asm/bitops.h 	*m = old c_op (1UL << (nr & 0x1f));				\
old               212 arch/arc/include/asm/bitops.h 	return (old & (1UL << (nr & 0x1f))) != 0;			\
old               268 arch/arc/kernel/smp.c 	unsigned long old, new;
old               280 arch/arc/kernel/smp.c 		new = old = READ_ONCE(*ipi_data_ptr);
old               282 arch/arc/kernel/smp.c 	} while (cmpxchg(ipi_data_ptr, old, new) != old);
old               292 arch/arc/kernel/smp.c 	if (plat_smp_ops.ipi_send && !old)
old               108 arch/arm/include/asm/atomic.h static inline int atomic_cmpxchg_relaxed(atomic_t *ptr, int old, int new)
old               122 arch/arm/include/asm/atomic.h 		    : "r" (&ptr->counter), "Ir" (old), "r" (new)
old               202 arch/arm/include/asm/atomic.h static inline int atomic_cmpxchg(atomic_t *v, int old, int new)
old               209 arch/arm/include/asm/atomic.h 	if (likely(ret == old))
old               406 arch/arm/include/asm/atomic.h static inline s64 atomic64_cmpxchg_relaxed(atomic64_t *ptr, s64 old, s64 new)
old               421 arch/arm/include/asm/atomic.h 		: "r" (&ptr->counter), "r" (old), "r" (new)
old               156 arch/arm/include/asm/cmpxchg.h static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old,
old               173 arch/arm/include/asm/cmpxchg.h 				: "r" (ptr), "Ir" (old), "r" (new)
old               185 arch/arm/include/asm/cmpxchg.h 				: "r" (ptr), "Ir" (old), "r" (new)
old               198 arch/arm/include/asm/cmpxchg.h 				: "r" (ptr), "Ir" (old), "r" (new)
old               218 arch/arm/include/asm/cmpxchg.h 					    unsigned long old,
old               227 arch/arm/include/asm/cmpxchg.h 		ret = __cmpxchg_local_generic(ptr, old, new, size);
old               231 arch/arm/include/asm/cmpxchg.h 		ret = __cmpxchg(ptr, old, new, size);
old               245 arch/arm/include/asm/cmpxchg.h 					     unsigned long long old,
old               263 arch/arm/include/asm/cmpxchg.h 	: "r" (ptr), "r" (old), "r" (new)
old                11 arch/arm/include/asm/vfpmacros.h @ Macros to allow building with old toolkits (with no VFP support)
old                79 arch/arm/kernel/ftrace.c static int ftrace_modify_code(unsigned long pc, unsigned long old,
old                85 arch/arm/kernel/ftrace.c 		old = __opcode_to_mem_thumb32(old);
old                88 arch/arm/kernel/ftrace.c 		old = __opcode_to_mem_arm(old);
old                96 arch/arm/kernel/ftrace.c 		if (replaced != old)
old               133 arch/arm/kernel/ftrace.c 	unsigned long new, old;
old               136 arch/arm/kernel/ftrace.c 	old = ftrace_nop_replace(rec);
old               140 arch/arm/kernel/ftrace.c 	return ftrace_modify_code(rec->ip, old, new, true);
old               148 arch/arm/kernel/ftrace.c 	unsigned long new, old;
old               151 arch/arm/kernel/ftrace.c 	old = ftrace_call_replace(ip, adjust_address(rec, old_addr));
old               155 arch/arm/kernel/ftrace.c 	return ftrace_modify_code(rec->ip, old, new, true);
old               164 arch/arm/kernel/ftrace.c 	unsigned long old;
old               168 arch/arm/kernel/ftrace.c 	old = ftrace_call_replace(ip, adjust_address(rec, addr));
old               170 arch/arm/kernel/ftrace.c 	ret = ftrace_modify_code(ip, old, new, true);
old               186 arch/arm/kernel/ftrace.c 	unsigned long old;
old               191 arch/arm/kernel/ftrace.c 	old = *parent;
old               194 arch/arm/kernel/ftrace.c 	if (function_graph_enter(old, self_addr, frame_pointer, NULL))
old               195 arch/arm/kernel/ftrace.c 		*parent = old;
old               212 arch/arm/kernel/ftrace.c 	unsigned long old = enable ? nop : branch;
old               215 arch/arm/kernel/ftrace.c 	return ftrace_modify_code(pc, old, new, true);
old               772 arch/arm/kernel/smp.c 			per_cpu(l_p_j_ref_freq, cpu) = freq->old;
old               777 arch/arm/kernel/smp.c 			global_l_p_j_ref_freq = freq->old;
old               781 arch/arm/kernel/smp.c 	if ((val == CPUFREQ_PRECHANGE  && freq->old < freq->new) ||
old               782 arch/arm/kernel/smp.c 	    (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) {
old                48 arch/arm/lib/bitops.h 	ands	r0, r2, r3		@ save old value of bit
old               762 arch/arm/mach-omap1/board-ams-delta.c static void modem_pm(struct uart_port *port, unsigned int state, unsigned old)
old               773 arch/arm/mach-omap1/board-ams-delta.c 	if (state == old)
old               778 arch/arm/mach-omap1/board-ams-delta.c 	else if (old == 0)
old               895 arch/arm/mach-pxa/viper.c 		if (freq->old < freq->new) {
old               902 arch/arm/mach-pxa/viper.c 		if (freq->old > freq->new) {
old                55 arch/arm/mach-s3c24xx/mach-osiris-dvs.c 	bool old_dvs = is_dvs(&freqs->old);
old                63 arch/arm/mach-s3c24xx/mach-osiris-dvs.c 	       freqs->old.armclk, freqs->old.hclk,
old               209 arch/arm/mach-sa1100/assabet.c 	bool old;
old               212 arch/arm/mach-sa1100/assabet.c 	old = !codec_nreset;
old               218 arch/arm/mach-sa1100/assabet.c 	if (old != !codec_nreset) {
old                40 arch/arm/mach-u300/regulator.c 	sigset_t old, all;
old                43 arch/arm/mach-u300/regulator.c 	if (!sigprocmask(SIG_BLOCK, &all, &old)) {
old                49 arch/arm/mach-u300/regulator.c 		(void) sigprocmask(SIG_SETMASK, &old, NULL);
old                60 arch/arm/plat-samsung/include/plat/cpu-freq.h 	struct s3c_freq		old;
old               127 arch/arm/plat-samsung/pm-gpio.c 	u32 gpcon, old, new, mask;
old               140 arch/arm/plat-samsung/pm-gpio.c 		old = (old_gpcon & mask) >> nr;
old               145 arch/arm/plat-samsung/pm-gpio.c 		if (old == new)
old               150 arch/arm/plat-samsung/pm-gpio.c 		if (is_sfn(old) && is_sfn(new))
old               155 arch/arm/plat-samsung/pm-gpio.c 		if (is_in(old) && is_out(new))
old               160 arch/arm/plat-samsung/pm-gpio.c 		if (is_sfn(old) && is_out(new))
old               204 arch/arm/plat-samsung/pm-gpio.c 	u32 old, new, mask;
old               209 arch/arm/plat-samsung/pm-gpio.c 		old = (old_gpcon & mask) >> nr;
old               214 arch/arm/plat-samsung/pm-gpio.c 		if (old == new)
old               219 arch/arm/plat-samsung/pm-gpio.c 		if (is_sfn(old) && is_sfn(new))
old               224 arch/arm/plat-samsung/pm-gpio.c 		if (is_in(old) && is_out(new))
old               229 arch/arm/plat-samsung/pm-gpio.c 		if (is_sfn(old) && is_out(new))
old               156 arch/arm64/include/asm/atomic.h #define arch_atomic_cmpxchg_relaxed(v, old, new) \
old               157 arch/arm64/include/asm/atomic.h 	arch_cmpxchg_relaxed(&((v)->counter), (old), (new))
old               158 arch/arm64/include/asm/atomic.h #define arch_atomic_cmpxchg_acquire(v, old, new) \
old               159 arch/arm64/include/asm/atomic.h 	arch_cmpxchg_acquire(&((v)->counter), (old), (new))
old               160 arch/arm64/include/asm/atomic.h #define arch_atomic_cmpxchg_release(v, old, new) \
old               161 arch/arm64/include/asm/atomic.h 	arch_cmpxchg_release(&((v)->counter), (old), (new))
old               162 arch/arm64/include/asm/atomic.h #define arch_atomic_cmpxchg(v, old, new) \
old               163 arch/arm64/include/asm/atomic.h 	arch_cmpxchg(&((v)->counter), (old), (new))
old               262 arch/arm64/include/asm/atomic_ll_sc.h 					 unsigned long old,		\
old               274 arch/arm64/include/asm/atomic_ll_sc.h 		old = (u##sz)old;					\
old               288 arch/arm64/include/asm/atomic_ll_sc.h 	: [old] __stringify(constraint) "r" (old), [new] "r" (new)	\
old               343 arch/arm64/include/asm/atomic_lse.h 					      u##sz old,		\
old               347 arch/arm64/include/asm/atomic_lse.h 	register u##sz x1 asm ("x1") = old;				\
old               358 arch/arm64/include/asm/atomic_lse.h 	: [old] "r" (x1), [new] "r" (x2)				\
old               108 arch/arm64/include/asm/cmpxchg.h 					      u##sz old,		\
old               112 arch/arm64/include/asm/cmpxchg.h 				ptr, old, new);				\
old               152 arch/arm64/include/asm/cmpxchg.h 					   unsigned long old,		\
old               158 arch/arm64/include/asm/cmpxchg.h 		return __cmpxchg_case##sfx##_8(ptr, old, new);		\
old               160 arch/arm64/include/asm/cmpxchg.h 		return __cmpxchg_case##sfx##_16(ptr, old, new);		\
old               162 arch/arm64/include/asm/cmpxchg.h 		return __cmpxchg_case##sfx##_32(ptr, old, new);		\
old               164 arch/arm64/include/asm/cmpxchg.h 		return __cmpxchg_case##sfx##_64(ptr, old, new);		\
old                24 arch/arm64/kernel/ftrace.c static int ftrace_modify_code(unsigned long pc, u32 old, u32 new,
old                41 arch/arm64/kernel/ftrace.c 		if (replaced != old)
old                71 arch/arm64/kernel/ftrace.c 	u32 old, new;
old               141 arch/arm64/kernel/ftrace.c 	old = aarch64_insn_gen_nop();
old               144 arch/arm64/kernel/ftrace.c 	return ftrace_modify_code(pc, old, new, true);
old               155 arch/arm64/kernel/ftrace.c 	u32 old = 0, new;
old               196 arch/arm64/kernel/ftrace.c 		old = aarch64_insn_gen_branch_imm(pc, addr,
old               202 arch/arm64/kernel/ftrace.c 	return ftrace_modify_code(pc, old, new, validate);
old               230 arch/arm64/kernel/ftrace.c 	unsigned long old;
old               240 arch/arm64/kernel/ftrace.c 	old = *parent;
old               242 arch/arm64/kernel/ftrace.c 	if (!function_graph_enter(old, self_addr, frame_pointer, NULL))
old                65 arch/arm64/kvm/inject_fault.c 	unsigned long old, new;
old                67 arch/arm64/kvm/inject_fault.c 	old = *vcpu_cpsr(vcpu);
old                70 arch/arm64/kvm/inject_fault.c 	new |= (old & PSR_N_BIT);
old                71 arch/arm64/kvm/inject_fault.c 	new |= (old & PSR_Z_BIT);
old                72 arch/arm64/kvm/inject_fault.c 	new |= (old & PSR_C_BIT);
old                73 arch/arm64/kvm/inject_fault.c 	new |= (old & PSR_V_BIT);
old                77 arch/arm64/kvm/inject_fault.c 	new |= (old & PSR_DIT_BIT);
old                85 arch/arm64/kvm/inject_fault.c 	new |= (old & PSR_PAN_BIT);
old               117 arch/arm64/mm/mmu.c static bool pgattr_change_is_safe(u64 old, u64 new)
old               126 arch/arm64/mm/mmu.c 	if (old == 0 || new == 0)
old               130 arch/arm64/mm/mmu.c 	if ((old | new) & PTE_CONT)
old               134 arch/arm64/mm/mmu.c 	if (old & ~new & PTE_NG)
old               137 arch/arm64/mm/mmu.c 	return ((old ^ new) & ~mask) == 0;
old                38 arch/csky/include/asm/cmpxchg.h #define __cmpxchg(ptr, old, new, size)				\
old                43 arch/csky/include/asm/cmpxchg.h 	__typeof__(old) __old = (old);				\
old               143 arch/csky/kernel/ftrace.c 	unsigned long old;
old               148 arch/csky/kernel/ftrace.c 	old = *parent;
old               150 arch/csky/kernel/ftrace.c 	if (!function_graph_enter(old, self_addr,
old               173 arch/csky/kernel/ftrace.c 		if (*(unsigned long *)frame_pointer == old)
old                72 arch/h8300/include/asm/atomic.h static inline int atomic_cmpxchg(atomic_t *v, int old, int new)
old                79 arch/h8300/include/asm/atomic.h 	if (likely(ret == old))
old                66 arch/hexagon/include/asm/atomic.h static inline int atomic_cmpxchg(atomic_t *v, int old, int new)
old                78 arch/hexagon/include/asm/atomic.h 		: "r" (&v->counter), "r" (old), "r" (new)
old                54 arch/hexagon/include/asm/cmpxchg.h #define cmpxchg(ptr, old, new)					\
old                57 arch/hexagon/include/asm/cmpxchg.h 	__typeof__(*(ptr)) __old = (old);			\
old                22 arch/ia64/include/asm/acenv.h 	unsigned int old, new, val;
old                24 arch/ia64/include/asm/acenv.h 		old = *lock;
old                25 arch/ia64/include/asm/acenv.h 		new = (((old & ~0x3) + 2) + ((old >> 1) & 0x1));
old                26 arch/ia64/include/asm/acenv.h 		val = ia64_cmpxchg4_acq(lock, new, old);
old                27 arch/ia64/include/asm/acenv.h 	} while (unlikely (val != old));
old                34 arch/ia64/include/asm/acenv.h 	unsigned int old, new, val;
old                36 arch/ia64/include/asm/acenv.h 		old = *lock;
old                37 arch/ia64/include/asm/acenv.h 		new = old & ~0x3;
old                38 arch/ia64/include/asm/acenv.h 		val = ia64_cmpxchg4_acq(lock, new, old);
old                39 arch/ia64/include/asm/acenv.h 	} while (unlikely (val != old));
old                40 arch/ia64/include/asm/acenv.h 	return old & 0x1;
old                35 arch/ia64/include/asm/atomic.h 	__s32 old, new;							\
old                40 arch/ia64/include/asm/atomic.h 		old = atomic_read(v);					\
old                41 arch/ia64/include/asm/atomic.h 		new = old c_op i;					\
old                42 arch/ia64/include/asm/atomic.h 	} while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic_t)) != old); \
old                50 arch/ia64/include/asm/atomic.h 	__s32 old, new;							\
old                55 arch/ia64/include/asm/atomic.h 		old = atomic_read(v);					\
old                56 arch/ia64/include/asm/atomic.h 		new = old c_op i;					\
old                57 arch/ia64/include/asm/atomic.h 	} while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic_t)) != old); \
old                58 arch/ia64/include/asm/atomic.h 	return old;							\
old               130 arch/ia64/include/asm/atomic.h 	s64 old, new;							\
old               135 arch/ia64/include/asm/atomic.h 		old = atomic64_read(v);					\
old               136 arch/ia64/include/asm/atomic.h 		new = old c_op i;					\
old               137 arch/ia64/include/asm/atomic.h 	} while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); \
old               145 arch/ia64/include/asm/atomic.h 	s64 old, new;							\
old               150 arch/ia64/include/asm/atomic.h 		old = atomic64_read(v);					\
old               151 arch/ia64/include/asm/atomic.h 		new = old c_op i;					\
old               152 arch/ia64/include/asm/atomic.h 	} while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); \
old               153 arch/ia64/include/asm/atomic.h 	return old;							\
old               211 arch/ia64/include/asm/atomic.h #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new))
old               214 arch/ia64/include/asm/atomic.h #define atomic64_cmpxchg(v, old, new) \
old               215 arch/ia64/include/asm/atomic.h 	(cmpxchg(&((v)->counter), old, new))
old                42 arch/ia64/include/asm/bitops.h 	__u32 bit, old, new;
old                50 arch/ia64/include/asm/bitops.h 		old = *m;
old                51 arch/ia64/include/asm/bitops.h 		new = old | bit;
old                52 arch/ia64/include/asm/bitops.h 	} while (cmpxchg_acq(m, old, new) != old);
old                83 arch/ia64/include/asm/bitops.h 	__u32 mask, old, new;
old                91 arch/ia64/include/asm/bitops.h 		old = *m;
old                92 arch/ia64/include/asm/bitops.h 		new = old & mask;
old                93 arch/ia64/include/asm/bitops.h 	} while (cmpxchg_acq(m, old, new) != old);
old               107 arch/ia64/include/asm/bitops.h 	__u32 mask, old, new;
old               115 arch/ia64/include/asm/bitops.h 		old = *m;
old               116 arch/ia64/include/asm/bitops.h 		new = old & mask;
old               117 arch/ia64/include/asm/bitops.h 	} while (cmpxchg_rel(m, old, new) != old);
old               164 arch/ia64/include/asm/bitops.h 	__u32 bit, old, new;
old               172 arch/ia64/include/asm/bitops.h 		old = *m;
old               173 arch/ia64/include/asm/bitops.h 		new = old ^ bit;
old               174 arch/ia64/include/asm/bitops.h 	} while (cmpxchg_acq(m, old, new) != old);
old               203 arch/ia64/include/asm/bitops.h 	__u32 bit, old, new;
old               211 arch/ia64/include/asm/bitops.h 		old = *m;
old               212 arch/ia64/include/asm/bitops.h 		new = old | bit;
old               213 arch/ia64/include/asm/bitops.h 	} while (cmpxchg_acq(m, old, new) != old);
old               214 arch/ia64/include/asm/bitops.h 	return (old & bit) != 0;
old               257 arch/ia64/include/asm/bitops.h 	__u32 mask, old, new;
old               265 arch/ia64/include/asm/bitops.h 		old = *m;
old               266 arch/ia64/include/asm/bitops.h 		new = old & mask;
old               267 arch/ia64/include/asm/bitops.h 	} while (cmpxchg_acq(m, old, new) != old);
old               268 arch/ia64/include/asm/bitops.h 	return (old & ~mask) != 0;
old               302 arch/ia64/include/asm/bitops.h 	__u32 bit, old, new;
old               310 arch/ia64/include/asm/bitops.h 		old = *m;
old               311 arch/ia64/include/asm/bitops.h 		new = old ^ bit;
old               312 arch/ia64/include/asm/bitops.h 	} while (cmpxchg_acq(m, old, new) != old);
old               313 arch/ia64/include/asm/bitops.h 	return (old & bit) != 0;
old               326 arch/ia64/include/asm/bitops.h 	__u32 old, bit = (1 << (nr & 31));
old               329 arch/ia64/include/asm/bitops.h 	old = *m;
old               330 arch/ia64/include/asm/bitops.h 	*m = old ^ bit;
old               331 arch/ia64/include/asm/bitops.h 	return (old & bit) != 0;
old               441 arch/ia64/include/asm/pgtable.h 	unsigned long new, old;
old               444 arch/ia64/include/asm/pgtable.h 		old = pte_val(*ptep);
old               445 arch/ia64/include/asm/pgtable.h 		new = pte_val(pte_wrprotect(__pte (old)));
old               446 arch/ia64/include/asm/pgtable.h 	} while (cmpxchg((unsigned long *) ptep, old, new) != old);
old               269 arch/ia64/include/asm/spinlock.h 	} old, new;
old               270 arch/ia64/include/asm/spinlock.h 	old.lock = new.lock = *x;
old               271 arch/ia64/include/asm/spinlock.h 	old.lock.write_lock = new.lock.write_lock = 0;
old               273 arch/ia64/include/asm/spinlock.h 	return (u32)ia64_cmpxchg4_acq((__u32 *)(x), new.word, old.word) == old.word;
old                71 arch/ia64/include/uapi/asm/cmpxchg.h #define ia64_cmpxchg(sem, ptr, old, new, size)				\
old                77 arch/ia64/include/uapi/asm/cmpxchg.h 		_o_ = (__u8) (long) (old);				\
old                80 arch/ia64/include/uapi/asm/cmpxchg.h 		_o_ = (__u16) (long) (old);				\
old                83 arch/ia64/include/uapi/asm/cmpxchg.h 		_o_ = (__u32) (long) (old);				\
old                86 arch/ia64/include/uapi/asm/cmpxchg.h 		_o_ = (__u64) (long) (old);				\
old               112 arch/ia64/include/uapi/asm/cmpxchg.h 	(__typeof__(old)) _r_;						\
old               308 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg1_acq(ptr, new, old)						\
old               311 arch/ia64/include/uapi/asm/gcc_intrin.h 	asm volatile ("mov ar.ccv=%0;;" :: "rO"(old));					\
old               317 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg1_rel(ptr, new, old)						\
old               320 arch/ia64/include/uapi/asm/gcc_intrin.h 	asm volatile ("mov ar.ccv=%0;;" :: "rO"(old));					\
old               326 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg2_acq(ptr, new, old)						\
old               329 arch/ia64/include/uapi/asm/gcc_intrin.h 	asm volatile ("mov ar.ccv=%0;;" :: "rO"(old));					\
old               335 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg2_rel(ptr, new, old)						\
old               338 arch/ia64/include/uapi/asm/gcc_intrin.h 	asm volatile ("mov ar.ccv=%0;;" :: "rO"(old));					\
old               345 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg4_acq(ptr, new, old)						\
old               348 arch/ia64/include/uapi/asm/gcc_intrin.h 	asm volatile ("mov ar.ccv=%0;;" :: "rO"(old));					\
old               354 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg4_rel(ptr, new, old)						\
old               357 arch/ia64/include/uapi/asm/gcc_intrin.h 	asm volatile ("mov ar.ccv=%0;;" :: "rO"(old));					\
old               363 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg8_acq(ptr, new, old)						\
old               366 arch/ia64/include/uapi/asm/gcc_intrin.h 	asm volatile ("mov ar.ccv=%0;;" :: "rO"(old));					\
old               372 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg8_rel(ptr, new, old)						\
old               375 arch/ia64/include/uapi/asm/gcc_intrin.h 	asm volatile ("mov ar.ccv=%0;;" :: "rO"(old));					\
old               105 arch/ia64/kernel/cyclone.c 		u32 old = readl(cyclone_timer);
old               108 arch/ia64/kernel/cyclone.c 		if(readl(cyclone_timer) == old){
old               175 arch/ia64/kernel/ftrace.c 	unsigned char *old, *new;
old               177 arch/ia64/kernel/ftrace.c 	old=  ftrace_nop_replace();
old               179 arch/ia64/kernel/ftrace.c 	return ftrace_modify_code(ip, old, new, 1);
old              4109 arch/ia64/kernel/perfmon.c 	struct pfm_context_t *old;
old              4225 arch/ia64/kernel/perfmon.c 	old = ia64_cmpxchg(acq, &thread->pfm_context, NULL, ctx, sizeof(pfm_context_t *));
old              4226 arch/ia64/kernel/perfmon.c 	if (old != NULL) {
old              1059 arch/ia64/kernel/setup.c 		unsigned int old = ia64_ctx.max_ctx;
old              1060 arch/ia64/kernel/setup.c 		if (cmpxchg(&ia64_ctx.max_ctx, old, max_ctx) == old)
old                53 arch/m68k/amiga/cia.c 	unsigned char old;
old                55 arch/m68k/amiga/cia.c 	old = (base->icr_data |= base->cia->icr);
old                62 arch/m68k/amiga/cia.c 	return old & base->icr_mask;
old                71 arch/m68k/amiga/cia.c 	unsigned char old;
old                73 arch/m68k/amiga/cia.c 	old = base->icr_mask;
old                83 arch/m68k/amiga/cia.c 	return old;
old               138 arch/m68k/bvme6000/config.c         unsigned long *old = (unsigned long *)0xf8000000;
old               144 arch/m68k/bvme6000/config.c         *(new+4) = *(old+4);            /* Illegal instruction */
old               145 arch/m68k/bvme6000/config.c         *(new+9) = *(old+9);            /* Trace */
old               146 arch/m68k/bvme6000/config.c         *(new+47) = *(old+47);          /* Trap #15 */
old               147 arch/m68k/bvme6000/config.c         *(new+0x1f) = *(old+0x1f);      /* ABORT switch */
old                67 arch/m68k/fpsp040/fpsp.h |	handler	exit code will reload the new frame and discard the old.
old               170 arch/m68k/include/asm/atomic.h static inline int atomic_cmpxchg(atomic_t *v, int old, int new)
old               177 arch/m68k/include/asm/atomic.h 	if (prev == old)
old                95 arch/m68k/include/asm/cmpxchg.h static inline unsigned long __cmpxchg(volatile void *p, unsigned long old,
old               101 arch/m68k/include/asm/cmpxchg.h 				      : "=d" (old), "=m" (*(char *)p)
old               102 arch/m68k/include/asm/cmpxchg.h 				      : "d" (new), "0" (old), "m" (*(char *)p));
old               106 arch/m68k/include/asm/cmpxchg.h 				      : "=d" (old), "=m" (*(short *)p)
old               107 arch/m68k/include/asm/cmpxchg.h 				      : "d" (new), "0" (old), "m" (*(short *)p));
old               111 arch/m68k/include/asm/cmpxchg.h 				      : "=d" (old), "=m" (*(int *)p)
old               112 arch/m68k/include/asm/cmpxchg.h 				      : "d" (new), "0" (old), "m" (*(int *)p));
old               115 arch/m68k/include/asm/cmpxchg.h 		old = __invalid_cmpxchg_size(p, old, new, size);
old               118 arch/m68k/include/asm/cmpxchg.h 	return old;
old               322 arch/m68k/mvme16x/config.c 	unsigned long *old = (unsigned long *)0xffe00000;
old               336 arch/m68k/mvme16x/config.c 	*(new+4) = *(old+4);		/* Illegal instruction */
old               337 arch/m68k/mvme16x/config.c 	*(new+9) = *(old+9);		/* Trace */
old               338 arch/m68k/mvme16x/config.c 	*(new+47) = *(old+47);		/* Trap #15 */
old               341 arch/m68k/mvme16x/config.c 		*(new+0x5e) = *(old+0x5e);	/* ABORT switch */
old               343 arch/m68k/mvme16x/config.c 		*(new+0x6e) = *(old+0x6e);	/* ABORT switch */
old               400 arch/microblaze/include/asm/pgtable.h 	unsigned long flags, old, tmp;
old               408 arch/microblaze/include/asm/pgtable.h 			: "=&r" (old), "=&r" (tmp)
old               414 arch/microblaze/include/asm/pgtable.h 	return old;
old                24 arch/microblaze/kernel/ftrace.c 	unsigned long old;
old                52 arch/microblaze/kernel/ftrace.c 			: "=&r" (old), "=r" (faulted)
old                65 arch/microblaze/kernel/ftrace.c 	if (function_graph_enter(old, self_addr, 0, NULL))
old                66 arch/microblaze/kernel/ftrace.c 		*parent = old;
old               116 arch/mips/include/asm/cmpxchg.h #define __cmpxchg_asm(ld, st, m, old, new)				\
old               137 arch/mips/include/asm/cmpxchg.h 		: GCC_OFF_SMALL_ASM() (*m), "Jr" (old), "Jr" (new)	\
old               145 arch/mips/include/asm/cmpxchg.h 		if (__ret == old)					\
old               153 arch/mips/include/asm/cmpxchg.h extern unsigned long __cmpxchg_small(volatile void *ptr, unsigned long old,
old               157 arch/mips/include/asm/cmpxchg.h unsigned long __cmpxchg(volatile void *ptr, unsigned long old,
old               163 arch/mips/include/asm/cmpxchg.h 		return __cmpxchg_small(ptr, old, new, size);
old               167 arch/mips/include/asm/cmpxchg.h 				     (u32)old, new);
old               175 arch/mips/include/asm/cmpxchg.h 				     (u64)old, new);
old               182 arch/mips/include/asm/cmpxchg.h #define cmpxchg_local(ptr, old, new)					\
old               185 arch/mips/include/asm/cmpxchg.h 			  (unsigned long)(__typeof__(*(ptr)))(old),	\
old               189 arch/mips/include/asm/cmpxchg.h #define cmpxchg(ptr, old, new)						\
old               194 arch/mips/include/asm/cmpxchg.h 	__res = cmpxchg_local((ptr), (old), (new));			\
old               220 arch/mips/include/asm/cmpxchg.h 					unsigned long long old,
old               279 arch/mips/include/asm/cmpxchg.h 	  "r" (old),
old               139 arch/mips/include/asm/local.h 	long c, old;						\
old               141 arch/mips/include/asm/local.h 	while (c != (u) && (old = local_cmpxchg((l), c, c + (a))) != c) \
old               142 arch/mips/include/asm/local.h 		c = old;					\
old               633 arch/mips/include/asm/pgtable.h 	pmd_t old = *pmdp;
old               637 arch/mips/include/asm/pgtable.h 	return old;
old                50 arch/mips/kernel/cmpxchg.c unsigned long __cmpxchg_small(volatile void *ptr, unsigned long old,
old                62 arch/mips/kernel/cmpxchg.c 	old &= mask;
old                89 arch/mips/kernel/cmpxchg.c 		if (load != old)
old                98 arch/mips/kernel/cmpxchg.c 		old32 = (load32 & ~mask) | (old << shift);
old               102 arch/mips/kernel/cmpxchg.c 			return old;
old                98 arch/mips/kernel/syscall.c 	unsigned long old, tmp;
old               128 arch/mips/kernel/syscall.c 		: [old] "=&r" (old),
old               158 arch/mips/kernel/syscall.c 		: [old] "=&r" (old),
old               172 arch/mips/kernel/syscall.c 			err = __get_user(old, (unsigned int *) addr);
old               184 arch/mips/kernel/syscall.c 	regs->regs[2] = old;
old               233 arch/mips/kvm/mips.c 				   const struct kvm_memory_slot *old,
old               253 arch/mips/kvm/mips.c 	    (!(old->flags & KVM_MEM_LOG_DIRTY_PAGES) &&
old               314 arch/mips/kvm/mmu.c 	pte_t old, new;							\
old               320 arch/mips/kvm/mmu.c 		old = pte[i];						\
old               321 arch/mips/kvm/mmu.c 		new = op(old);						\
old               322 arch/mips/kvm/mmu.c 		if (pte_val(new) == pte_val(old))			\
old               213 arch/nds32/kernel/ftrace.c 	unsigned long old;
old               218 arch/nds32/kernel/ftrace.c 	old = *parent;
old               220 arch/nds32/kernel/ftrace.c 	if (!function_graph_enter(old, self_addr, frame_pointer, NULL))
old                54 arch/openrisc/include/asm/atomic.h 	int tmp, old;							\
old                62 arch/openrisc/include/asm/atomic.h 		: "=&r"(old), "=&r"(tmp)				\
old                66 arch/openrisc/include/asm/atomic.h 	return old;							\
old               105 arch/openrisc/include/asm/atomic.h 	int old, tmp;
old               116 arch/openrisc/include/asm/atomic.h 		: "=&r"(old), "=&r" (tmp)
old               120 arch/openrisc/include/asm/atomic.h 	return old;
old                67 arch/openrisc/include/asm/bitops/atomic.h 	unsigned long old;
old                76 arch/openrisc/include/asm/bitops/atomic.h 		: "=&r"(old), "=&r"(tmp)
old                80 arch/openrisc/include/asm/bitops/atomic.h 	return (old & mask) != 0;
old                87 arch/openrisc/include/asm/bitops/atomic.h 	unsigned long old;
old                96 arch/openrisc/include/asm/bitops/atomic.h 		: "=&r"(old), "=&r"(tmp)
old               100 arch/openrisc/include/asm/bitops/atomic.h 	return (old & mask) != 0;
old               107 arch/openrisc/include/asm/bitops/atomic.h 	unsigned long old;
old               116 arch/openrisc/include/asm/bitops/atomic.h 		: "=&r"(old), "=&r"(tmp)
old               120 arch/openrisc/include/asm/bitops/atomic.h 	return (old & mask) != 0;
old                26 arch/openrisc/include/asm/cmpxchg.h 		unsigned long old, unsigned long new)
old                37 arch/openrisc/include/asm/cmpxchg.h 		: "=&r"(old)
old                38 arch/openrisc/include/asm/cmpxchg.h 		: "r"(ptr), "r"(old), "r"(new)
old                41 arch/openrisc/include/asm/cmpxchg.h 	return old;
old                59 arch/openrisc/include/asm/cmpxchg.h static inline u32 cmpxchg_small(volatile void *ptr, u32 old, u32 new,
old                77 arch/openrisc/include/asm/cmpxchg.h 		if (old != ret)
old                80 arch/openrisc/include/asm/cmpxchg.h 		old32 = (load32 & ~bitmask) | (old << bitoff);
old                86 arch/openrisc/include/asm/cmpxchg.h 			return old;
old               121 arch/openrisc/include/asm/cmpxchg.h static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old,
old               127 arch/openrisc/include/asm/cmpxchg.h 		return cmpxchg_small(ptr, old, new, size);
old               129 arch/openrisc/include/asm/cmpxchg.h 		return cmpxchg_u32(ptr, old, new);
old               235 arch/openrisc/kernel/process.c struct task_struct *__switch_to(struct task_struct *old,
old               249 arch/openrisc/kernel/process.c 	old_ti = old->stack;
old                72 arch/parisc/include/asm/bitops.h 	unsigned long old;
old                78 arch/parisc/include/asm/bitops.h 	old = *addr;
old                79 arch/parisc/include/asm/bitops.h 	set = (old & mask) ? 1 : 0;
old                81 arch/parisc/include/asm/bitops.h 		*addr = old | mask;
old                90 arch/parisc/include/asm/bitops.h 	unsigned long old;
old                96 arch/parisc/include/asm/bitops.h 	old = *addr;
old                97 arch/parisc/include/asm/bitops.h 	set = (old & mask) ? 1 : 0;
old                99 arch/parisc/include/asm/bitops.h 		*addr = old & ~mask;
old                60 arch/parisc/include/asm/cmpxchg.h extern unsigned long __cmpxchg_u32(volatile unsigned int *m, unsigned int old,
old                62 arch/parisc/include/asm/cmpxchg.h extern u64 __cmpxchg_u64(volatile u64 *ptr, u64 old, u64 new_);
old                66 arch/parisc/include/asm/cmpxchg.h __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size)
old                70 arch/parisc/include/asm/cmpxchg.h 	case 8: return __cmpxchg_u64((u64 *)ptr, old, new_);
old                73 arch/parisc/include/asm/cmpxchg.h 				     (unsigned int)old, (unsigned int)new_);
old                76 arch/parisc/include/asm/cmpxchg.h 	return old;
old                90 arch/parisc/include/asm/cmpxchg.h 				      unsigned long old,
old                95 arch/parisc/include/asm/cmpxchg.h 	case 8:	return __cmpxchg_u64((u64 *)ptr, old, new_);
old                97 arch/parisc/include/asm/cmpxchg.h 	case 4:	return __cmpxchg_u32(ptr, old, new_);
old                99 arch/parisc/include/asm/cmpxchg.h 		return __cmpxchg_local_generic(ptr, old, new_, size);
old                34 arch/parisc/kernel/ftrace.c 	unsigned long old;
old                43 arch/parisc/kernel/ftrace.c 	old = *parent;
old                45 arch/parisc/kernel/ftrace.c 	if (!function_graph_enter(old, self_addr, 0, NULL))
old                59 arch/parisc/lib/bitops.c u64 __cmpxchg_u64(volatile u64 *ptr, u64 old, u64 new)
old                65 arch/parisc/lib/bitops.c 	if ((prev = *ptr) == old)
old                71 arch/parisc/lib/bitops.c unsigned long __cmpxchg_u32(volatile unsigned int *ptr, unsigned int old, unsigned int new)
old                77 arch/parisc/lib/bitops.c 	if ((prev = *ptr) == old)
old                70 arch/powerpc/include/asm/bitops.h 	unsigned long old;			\
old                79 arch/powerpc/include/asm/bitops.h 	: "=&r" (old), "+m" (*p)		\
old               116 arch/powerpc/include/asm/bitops.h 	unsigned long old, t;				\
old               126 arch/powerpc/include/asm/bitops.h 	: "=&r" (old), "=&r" (t)			\
old               129 arch/powerpc/include/asm/bitops.h 	return (old & mask);				\
old               170 arch/powerpc/include/asm/bitops.h 	unsigned long old, t;
old               181 arch/powerpc/include/asm/bitops.h 	: "=&r" (old), "=&r" (t)
old               185 arch/powerpc/include/asm/bitops.h 	return old;
old               262 arch/powerpc/include/asm/book3s/32/pgtable.h 	unsigned long old, tmp;
old               270 arch/powerpc/include/asm/book3s/32/pgtable.h 	: "=&r" (old), "=&r" (tmp), "=m" (*p)
old               274 arch/powerpc/include/asm/book3s/32/pgtable.h 	return old;
old               281 arch/powerpc/include/asm/book3s/32/pgtable.h 	unsigned long long old;
old               291 arch/powerpc/include/asm/book3s/32/pgtable.h 	: "=&r" (old), "=&r" (tmp), "=m" (*p)
old               295 arch/powerpc/include/asm/book3s/32/pgtable.h 	return old;
old               306 arch/powerpc/include/asm/book3s/32/pgtable.h 	unsigned long old;
old               307 arch/powerpc/include/asm/book3s/32/pgtable.h 	old = pte_update(ptep, _PAGE_ACCESSED, 0);
old               308 arch/powerpc/include/asm/book3s/32/pgtable.h 	if (old & _PAGE_HASHPTE) {
old               312 arch/powerpc/include/asm/book3s/32/pgtable.h 	return (old & _PAGE_ACCESSED) != 0;
old               157 arch/powerpc/include/asm/book3s/64/hash.h 	unsigned long old;
old               175 arch/powerpc/include/asm/book3s/64/hash.h 	old = be64_to_cpu(old_be);
old               176 arch/powerpc/include/asm/book3s/64/hash.h 	if (old & H_PAGE_HASHPTE)
old               177 arch/powerpc/include/asm/book3s/64/hash.h 		hpte_need_flush(mm, addr, ptep, old, huge);
old               179 arch/powerpc/include/asm/book3s/64/hash.h 	return old;
old               187 arch/powerpc/include/asm/book3s/64/hash.h 	__be64 old, tmp, val, mask;
old               201 arch/powerpc/include/asm/book3s/64/hash.h 	:"=&r" (old), "=&r" (tmp), "=m" (*ptep)
old               374 arch/powerpc/include/asm/book3s/64/pgtable.h 	unsigned long old;
old               378 arch/powerpc/include/asm/book3s/64/pgtable.h 	old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0);
old               379 arch/powerpc/include/asm/book3s/64/pgtable.h 	return (old & _PAGE_ACCESSED) != 0;
old               454 arch/powerpc/include/asm/book3s/64/pgtable.h 	unsigned long old = pte_update(mm, addr, ptep, ~0UL, 0, 0);
old               455 arch/powerpc/include/asm/book3s/64/pgtable.h 	return __pte(old);
old              1182 arch/powerpc/include/asm/book3s/64/pgtable.h 	unsigned long old;
old              1186 arch/powerpc/include/asm/book3s/64/pgtable.h 	old = pmd_hugepage_update(mm, addr, pmdp, _PAGE_ACCESSED, 0);
old              1187 arch/powerpc/include/asm/book3s/64/pgtable.h 	return ((old & _PAGE_ACCESSED) != 0);
old                44 arch/powerpc/include/asm/cmpxchg.h u32 __cmpxchg_##type##sfx(volatile void *p, u32 old, u32 new)	\
old                51 arch/powerpc/include/asm/cmpxchg.h 	old <<= bitoff;						\
old                70 arch/powerpc/include/asm/cmpxchg.h 	: "r" (p), "r" (old), "r" (new), "r" (prev_mask)	\
old               223 arch/powerpc/include/asm/cmpxchg.h __cmpxchg_u32(volatile unsigned int *p, unsigned long old, unsigned long new)
old               239 arch/powerpc/include/asm/cmpxchg.h 	: "r" (p), "r" (old), "r" (new)
old               246 arch/powerpc/include/asm/cmpxchg.h __cmpxchg_u32_local(volatile unsigned int *p, unsigned long old,
old               261 arch/powerpc/include/asm/cmpxchg.h 	: "r" (p), "r" (old), "r" (new)
old               268 arch/powerpc/include/asm/cmpxchg.h __cmpxchg_u32_relaxed(u32 *p, unsigned long old, unsigned long new)
old               281 arch/powerpc/include/asm/cmpxchg.h 	: "r" (p), "r" (old), "r" (new)
old               296 arch/powerpc/include/asm/cmpxchg.h __cmpxchg_u32_acquire(u32 *p, unsigned long old, unsigned long new)
old               311 arch/powerpc/include/asm/cmpxchg.h 	: "r" (p), "r" (old), "r" (new)
old               319 arch/powerpc/include/asm/cmpxchg.h __cmpxchg_u64(volatile unsigned long *p, unsigned long old, unsigned long new)
old               334 arch/powerpc/include/asm/cmpxchg.h 	: "r" (p), "r" (old), "r" (new)
old               341 arch/powerpc/include/asm/cmpxchg.h __cmpxchg_u64_local(volatile unsigned long *p, unsigned long old,
old               355 arch/powerpc/include/asm/cmpxchg.h 	: "r" (p), "r" (old), "r" (new)
old               362 arch/powerpc/include/asm/cmpxchg.h __cmpxchg_u64_relaxed(u64 *p, unsigned long old, unsigned long new)
old               374 arch/powerpc/include/asm/cmpxchg.h 	: "r" (p), "r" (old), "r" (new)
old               381 arch/powerpc/include/asm/cmpxchg.h __cmpxchg_u64_acquire(u64 *p, unsigned long old, unsigned long new)
old               395 arch/powerpc/include/asm/cmpxchg.h 	: "r" (p), "r" (old), "r" (new)
old               403 arch/powerpc/include/asm/cmpxchg.h __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new,
old               408 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u8(ptr, old, new);
old               410 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u16(ptr, old, new);
old               412 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u32(ptr, old, new);
old               415 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u64(ptr, old, new);
old               419 arch/powerpc/include/asm/cmpxchg.h 	return old;
old               423 arch/powerpc/include/asm/cmpxchg.h __cmpxchg_local(void *ptr, unsigned long old, unsigned long new,
old               428 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u8_local(ptr, old, new);
old               430 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u16_local(ptr, old, new);
old               432 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u32_local(ptr, old, new);
old               435 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u64_local(ptr, old, new);
old               439 arch/powerpc/include/asm/cmpxchg.h 	return old;
old               443 arch/powerpc/include/asm/cmpxchg.h __cmpxchg_relaxed(void *ptr, unsigned long old, unsigned long new,
old               448 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u8_relaxed(ptr, old, new);
old               450 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u16_relaxed(ptr, old, new);
old               452 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u32_relaxed(ptr, old, new);
old               455 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u64_relaxed(ptr, old, new);
old               459 arch/powerpc/include/asm/cmpxchg.h 	return old;
old               463 arch/powerpc/include/asm/cmpxchg.h __cmpxchg_acquire(void *ptr, unsigned long old, unsigned long new,
old               468 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u8_acquire(ptr, old, new);
old               470 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u16_acquire(ptr, old, new);
old               472 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u32_acquire(ptr, old, new);
old               475 arch/powerpc/include/asm/cmpxchg.h 		return __cmpxchg_u64_acquire(ptr, old, new);
old               479 arch/powerpc/include/asm/cmpxchg.h 	return old;
old                26 arch/powerpc/include/asm/cputime.h #define cmpxchg_cputime(ptr, old, new) cmpxchg(ptr, old, new)
old               177 arch/powerpc/include/asm/kvm_book3s_64.h 	unsigned long tmp, old;
old               196 arch/powerpc/include/asm/kvm_book3s_64.h 		     : "=&r" (tmp), "=&r" (old)
old               199 arch/powerpc/include/asm/kvm_book3s_64.h 	return old == 0;
old               214 arch/powerpc/include/asm/kvm_ppc.h 				const struct kvm_memory_slot *old,
old               286 arch/powerpc/include/asm/kvm_ppc.h 				     const struct kvm_memory_slot *old,
old               226 arch/powerpc/include/asm/nohash/32/pgtable.h 	unsigned long old, tmp;
old               235 arch/powerpc/include/asm/nohash/32/pgtable.h 	: "=&r" (old), "=&r" (tmp), "=m" (*p)
old               239 arch/powerpc/include/asm/nohash/32/pgtable.h 	unsigned long old = pte_val(*p);
old               240 arch/powerpc/include/asm/nohash/32/pgtable.h 	unsigned long new = (old & ~clr) | set;
old               250 arch/powerpc/include/asm/nohash/32/pgtable.h 	if ((old & _PAGE_USER) && (old & _PAGE_EXEC))
old               253 arch/powerpc/include/asm/nohash/32/pgtable.h 	return old;
old               261 arch/powerpc/include/asm/nohash/32/pgtable.h 	unsigned long long old;
old               272 arch/powerpc/include/asm/nohash/32/pgtable.h 	: "=&r" (old), "=&r" (tmp), "=m" (*p)
old               276 arch/powerpc/include/asm/nohash/32/pgtable.h 	unsigned long long old = pte_val(*p);
old               277 arch/powerpc/include/asm/nohash/32/pgtable.h 	*p = __pte((old & ~(unsigned long long)clr) | set);
old               281 arch/powerpc/include/asm/nohash/32/pgtable.h 	if ((old & _PAGE_USER) && (old & _PAGE_EXEC))
old               284 arch/powerpc/include/asm/nohash/32/pgtable.h 	return old;
old               291 arch/powerpc/include/asm/nohash/32/pgtable.h 	unsigned long old;
old               292 arch/powerpc/include/asm/nohash/32/pgtable.h 	old = pte_update(ptep, _PAGE_ACCESSED, 0);
old               293 arch/powerpc/include/asm/nohash/32/pgtable.h 	return (old & _PAGE_ACCESSED) != 0;
old               215 arch/powerpc/include/asm/nohash/64/pgtable.h 	unsigned long old, tmp;
old               223 arch/powerpc/include/asm/nohash/64/pgtable.h 	: "=&r" (old), "=&r" (tmp), "=m" (*ptep)
old               227 arch/powerpc/include/asm/nohash/64/pgtable.h 	unsigned long old = pte_val(*ptep);
old               228 arch/powerpc/include/asm/nohash/64/pgtable.h 	*ptep = __pte((old & ~clr) | set);
old               234 arch/powerpc/include/asm/nohash/64/pgtable.h 	return old;
old               245 arch/powerpc/include/asm/nohash/64/pgtable.h 	unsigned long old;
old               249 arch/powerpc/include/asm/nohash/64/pgtable.h 	old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0);
old               250 arch/powerpc/include/asm/nohash/64/pgtable.h 	return (old & _PAGE_ACCESSED) != 0;
old               293 arch/powerpc/include/asm/nohash/64/pgtable.h 	unsigned long old = pte_update(mm, addr, ptep, ~0UL, 0, 0);
old               294 arch/powerpc/include/asm/nohash/64/pgtable.h 	return __pte(old);
old               314 arch/powerpc/include/asm/nohash/64/pgtable.h 	unsigned long old, tmp;
old               321 arch/powerpc/include/asm/nohash/64/pgtable.h 	:"=&r" (old), "=&r" (tmp), "=m" (*ptep)
old               325 arch/powerpc/include/asm/nohash/64/pgtable.h 	unsigned long old = pte_val(*ptep);
old               326 arch/powerpc/include/asm/nohash/64/pgtable.h 	*ptep = __pte(old | bits);
old                81 arch/powerpc/include/asm/pgtable-be-types.h static inline bool pte_xchg(pte_t *ptep, pte_t old, pte_t new)
old                87 arch/powerpc/include/asm/pgtable-be-types.h 	prev = (__force __be64)__cmpxchg_u64(p, (__force unsigned long)pte_raw(old),
old                90 arch/powerpc/include/asm/pgtable-be-types.h 	return pte_raw(old) == prev;
old                93 arch/powerpc/include/asm/pgtable-be-types.h static inline bool pmd_xchg(pmd_t *pmdp, pmd_t old, pmd_t new)
old                98 arch/powerpc/include/asm/pgtable-be-types.h 	prev = (__force __be64)__cmpxchg_u64(p, (__force unsigned long)pmd_raw(old),
old               101 arch/powerpc/include/asm/pgtable-be-types.h 	return pmd_raw(old) == prev;
old                61 arch/powerpc/include/asm/pgtable-types.h static inline bool pte_xchg(pte_t *ptep, pte_t old, pte_t new)
old                66 arch/powerpc/include/asm/pgtable-types.h 	return pte_val(old) == __cmpxchg_u64(p, pte_val(old), pte_val(new));
old              2161 arch/powerpc/kernel/cputable.c 	struct cpu_spec old;
old              2164 arch/powerpc/kernel/cputable.c 	old = *t;
old              2177 arch/powerpc/kernel/cputable.c 	if (old.num_pmcs && !s->num_pmcs) {
old              2178 arch/powerpc/kernel/cputable.c 		t->num_pmcs = old.num_pmcs;
old              2179 arch/powerpc/kernel/cputable.c 		t->pmc_type = old.pmc_type;
old              2180 arch/powerpc/kernel/cputable.c 		t->oprofile_type = old.oprofile_type;
old              2181 arch/powerpc/kernel/cputable.c 		t->oprofile_mmcra_sihv = old.oprofile_mmcra_sihv;
old              2182 arch/powerpc/kernel/cputable.c 		t->oprofile_mmcra_sipr = old.oprofile_mmcra_sipr;
old              2183 arch/powerpc/kernel/cputable.c 		t->oprofile_mmcra_clear = old.oprofile_mmcra_clear;
old              2199 arch/powerpc/kernel/cputable.c 		if (old.oprofile_cpu_type != NULL) {
old              2200 arch/powerpc/kernel/cputable.c 			t->oprofile_cpu_type = old.oprofile_cpu_type;
old              2201 arch/powerpc/kernel/cputable.c 			t->oprofile_type = old.oprofile_type;
old              2202 arch/powerpc/kernel/cputable.c 			t->cpu_features |= old.cpu_features & CPU_FTR_PMAO_BUG;
old              1937 arch/powerpc/kernel/eeh.c 	u16 old, bit;
old              2009 arch/powerpc/kernel/eeh.c 	pci_read_config_word(pdev, pos, &old);
old              2017 arch/powerpc/kernel/eeh.c 	pci_write_config_word(pdev, pos, old & ~bit);
old              2019 arch/powerpc/kernel/eeh.c 	pci_write_config_word(pdev, pos, old);
old                85 arch/powerpc/kernel/eeh_driver.c static enum pci_ers_result pci_ers_merge_result(enum pci_ers_result old,
old                88 arch/powerpc/kernel/eeh_driver.c 	if (eeh_result_priority(new) > eeh_result_priority(old))
old                90 arch/powerpc/kernel/eeh_driver.c 	return old;
old               115 arch/powerpc/kernel/smp-tbsync.c 	int i, score, score2, old, min=0, max=5000, offset=1000;
old               130 arch/powerpc/kernel/smp-tbsync.c 	for (old = -1; old != offset ; offset = (min+max) / 2) {
old               139 arch/powerpc/kernel/smp-tbsync.c 		old = offset;
old                57 arch/powerpc/kernel/trace/ftrace.c ftrace_modify_code(unsigned long ip, unsigned int old, unsigned int new)
old                74 arch/powerpc/kernel/trace/ftrace.c 	if (replaced != old) {
old                76 arch/powerpc/kernel/trace/ftrace.c 		(void *)ip, replaced, old);
old               431 arch/powerpc/kernel/trace/ftrace.c 	unsigned int old, new;
old               440 arch/powerpc/kernel/trace/ftrace.c 		old = ftrace_call_replace(ip, addr, 1);
old               442 arch/powerpc/kernel/trace/ftrace.c 		return ftrace_modify_code(ip, old, new);
old               664 arch/powerpc/kernel/trace/ftrace.c 	unsigned int old, new;
old               673 arch/powerpc/kernel/trace/ftrace.c 		old = PPC_INST_NOP;
old               675 arch/powerpc/kernel/trace/ftrace.c 		return ftrace_modify_code(ip, old, new);
old               797 arch/powerpc/kernel/trace/ftrace.c 	unsigned int old, new;
old               806 arch/powerpc/kernel/trace/ftrace.c 		old = ftrace_call_replace(ip, old_addr, 1);
old               808 arch/powerpc/kernel/trace/ftrace.c 		return ftrace_modify_code(ip, old, new);
old               837 arch/powerpc/kernel/trace/ftrace.c 	unsigned int old, new;
old               840 arch/powerpc/kernel/trace/ftrace.c 	old = *(unsigned int *)&ftrace_call;
old               842 arch/powerpc/kernel/trace/ftrace.c 	ret = ftrace_modify_code(ip, old, new);
old               848 arch/powerpc/kernel/trace/ftrace.c 		old = *(unsigned int *)&ftrace_regs_call;
old               850 arch/powerpc/kernel/trace/ftrace.c 		ret = ftrace_modify_code(ip, old, new);
old               922 arch/powerpc/kernel/trace/ftrace.c 	unsigned int old, new;
old               924 arch/powerpc/kernel/trace/ftrace.c 	old = ftrace_call_replace(ip, stub, 0);
old               927 arch/powerpc/kernel/trace/ftrace.c 	return ftrace_modify_code(ip, old, new);
old               935 arch/powerpc/kernel/trace/ftrace.c 	unsigned int old, new;
old               937 arch/powerpc/kernel/trace/ftrace.c 	old = ftrace_call_replace(ip, addr, 0);
old               940 arch/powerpc/kernel/trace/ftrace.c 	return ftrace_modify_code(ip, old, new);
old               863 arch/powerpc/kvm/book3s.c 				const struct kvm_memory_slot *old,
old               867 arch/powerpc/kvm/book3s.c 	kvm->arch.kvm_ops->commit_memory_region(kvm, mem, old, new, change);
old              1244 arch/powerpc/kvm/book3s_64_mmu_hv.c 	struct kvm_hpt_info *old = &kvm->arch.hpt;
old              1246 arch/powerpc/kvm/book3s_64_mmu_hv.c 	unsigned long old_hash_mask = (1ULL << (old->order - 7)) - 1;
old              1256 arch/powerpc/kvm/book3s_64_mmu_hv.c 	hptep = (__be64 *)(old->virt + (idx << 4));
old              1281 arch/powerpc/kvm/book3s_64_mmu_hv.c 	rev = &old->rev[idx];
old              1366 arch/powerpc/kvm/book3s_64_mmu_hv.c 		BUG_ON(new->order >= old->order);
old               381 arch/powerpc/kvm/book3s_64_mmu_radix.c 	unsigned long old;
old               386 arch/powerpc/kvm/book3s_64_mmu_radix.c 	old = kvmppc_radix_update_pte(kvm, pte, ~0UL, 0, gpa, shift);
old               407 arch/powerpc/kvm/book3s_64_mmu_radix.c 	hpa = old & PTE_RPN_MASK;
old               410 arch/powerpc/kvm/book3s_64_mmu_radix.c 	if ((old & _PAGE_DIRTY) && memslot->dirty_bitmap)
old               990 arch/powerpc/kvm/book3s_64_mmu_radix.c 	unsigned long old, *rmapp;
old               994 arch/powerpc/kvm/book3s_64_mmu_radix.c 		old = kvmppc_radix_update_pte(kvm, ptep, _PAGE_ACCESSED, 0,
old              1000 arch/powerpc/kvm/book3s_64_mmu_radix.c 					       old & PTE_RPN_MASK,
old              1031 arch/powerpc/kvm/book3s_64_mmu_radix.c 	unsigned long old, *rmapp;
old              1039 arch/powerpc/kvm/book3s_64_mmu_radix.c 		old = kvmppc_radix_update_pte(kvm, ptep, _PAGE_DIRTY, 0,
old              1045 arch/powerpc/kvm/book3s_64_mmu_radix.c 					       old & PTE_RPN_MASK,
old              4486 arch/powerpc/kvm/book3s_hv.c 				const struct kvm_memory_slot *old,
old              4515 arch/powerpc/kvm/book3s_hv.c 	    ((new->flags ^ old->flags) & KVM_MEM_LOG_DIRTY_PAGES))
old              4516 arch/powerpc/kvm/book3s_hv.c 		kvmppc_radix_flush_memslot(kvm, old);
old                86 arch/powerpc/kvm/book3s_hv_rm_xics.c 	union kvmppc_rm_state old, new;
old                89 arch/powerpc/kvm/book3s_hv_rm_xics.c 		old = new = READ_ONCE(rm_core[core].rm_state);
old                91 arch/powerpc/kvm/book3s_hv_rm_xics.c 		if (!old.in_host || old.rm_action)
old                98 arch/powerpc/kvm/book3s_hv_rm_xics.c 						old.raw, new.raw) == old.raw;
old               182 arch/powerpc/kvm/book3s_hv_rm_xics.c 				     union kvmppc_icp_state old,
old               192 arch/powerpc/kvm/book3s_hv_rm_xics.c 	success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw;
old              1915 arch/powerpc/kvm/book3s_pr.c 				const struct kvm_memory_slot *old,
old               272 arch/powerpc/kvm/book3s_xics.c 				  union kvmppc_icp_state old,
old               282 arch/powerpc/kvm/book3s_xics.c 	success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw;
old               288 arch/powerpc/kvm/book3s_xics.c 		 old.cppr, old.mfrr, old.pending_pri, old.xisr,
old               289 arch/powerpc/kvm/book3s_xics.c 		 old.need_resend, old.out_ee);
old              1824 arch/powerpc/kvm/booke.c 				const struct kvm_memory_slot *old,
old               706 arch/powerpc/kvm/powerpc.c 				   const struct kvm_memory_slot *old,
old               710 arch/powerpc/kvm/powerpc.c 	kvmppc_core_commit_memory_region(kvm, mem, old, new, change);
old                46 arch/powerpc/kvm/timing.c 	u64 old;
old                53 arch/powerpc/kvm/timing.c 	old = vcpu->arch.timing_sum_duration[type];
old                55 arch/powerpc/kvm/timing.c 	if (unlikely(old > vcpu->arch.timing_sum_duration[type])) {
old                58 arch/powerpc/kvm/timing.c 			__func__, old, vcpu->arch.timing_sum_duration[type],
old                63 arch/powerpc/kvm/timing.c 	old = vcpu->arch.timing_sum_quad_duration[type];
old                65 arch/powerpc/kvm/timing.c 	if (unlikely(old > vcpu->arch.timing_sum_quad_duration[type])) {
old                68 arch/powerpc/kvm/timing.c 			__func__, old,
old               194 arch/powerpc/mm/book3s64/hash_pgtable.c 	unsigned long old;
old               214 arch/powerpc/mm/book3s64/hash_pgtable.c 	old = be64_to_cpu(old_be);
old               216 arch/powerpc/mm/book3s64/hash_pgtable.c 	trace_hugepage_update(addr, old, clr, set);
old               217 arch/powerpc/mm/book3s64/hash_pgtable.c 	if (old & H_PAGE_HASHPTE)
old               218 arch/powerpc/mm/book3s64/hash_pgtable.c 		hpte_do_hugepage_flush(mm, addr, pmdp, old);
old               219 arch/powerpc/mm/book3s64/hash_pgtable.c 	return old;
old               349 arch/powerpc/mm/book3s64/hash_pgtable.c 	unsigned long old;
old               352 arch/powerpc/mm/book3s64/hash_pgtable.c 	old = pmd_hugepage_update(mm, addr, pmdp, ~0UL, 0);
old               353 arch/powerpc/mm/book3s64/hash_pgtable.c 	old_pmd = __pmd(old);
old               230 arch/powerpc/mm/book3s64/pgtable.c 	unsigned long old = be64_to_cpu(partition_tb[lpid].patb0);
old               261 arch/powerpc/mm/book3s64/pgtable.c 		flush_partition(lpid, (old & PATB_HR));
old               927 arch/powerpc/mm/book3s64/radix_pgtable.c 	unsigned long old;
old               934 arch/powerpc/mm/book3s64/radix_pgtable.c 	old = radix__pte_update(mm, addr, (pte_t *)pmdp, clr, set, 1);
old               935 arch/powerpc/mm/book3s64/radix_pgtable.c 	trace_hugepage_update(addr, old, clr, set);
old               937 arch/powerpc/mm/book3s64/radix_pgtable.c 	return old;
old              1012 arch/powerpc/mm/book3s64/radix_pgtable.c 	unsigned long old;
old              1014 arch/powerpc/mm/book3s64/radix_pgtable.c 	old = radix__pmd_hugepage_update(mm, addr, pmdp, ~0UL, 0);
old              1015 arch/powerpc/mm/book3s64/radix_pgtable.c 	old_pmd = __pmd(old);
old              1115 arch/powerpc/oprofile/op_model_cell.c 	if ((val == CPUFREQ_PRECHANGE && frq->old < frq->new) ||
old              1116 arch/powerpc/oprofile/op_model_cell.c 	    (val == CPUFREQ_POSTCHANGE && frq->old > frq->new))
old               177 arch/powerpc/platforms/pseries/setup.c 	struct device_node *np, *old, *found = NULL;
old               202 arch/powerpc/platforms/pseries/setup.c 	for (old = of_node_get(found); old != NULL ; old = np) {
old               203 arch/powerpc/platforms/pseries/setup.c 		np = of_get_parent(old);
old               204 arch/powerpc/platforms/pseries/setup.c 		of_node_put(old);
old               166 arch/riscv/include/asm/cmpxchg.h #define __cmpxchg_relaxed(ptr, old, new, size)				\
old               169 arch/riscv/include/asm/cmpxchg.h 	__typeof__(*(ptr)) __old = (old);				\
old               210 arch/riscv/include/asm/cmpxchg.h #define __cmpxchg_acquire(ptr, old, new, size)				\
old               213 arch/riscv/include/asm/cmpxchg.h 	__typeof__(*(ptr)) __old = (old);				\
old               256 arch/riscv/include/asm/cmpxchg.h #define __cmpxchg_release(ptr, old, new, size)				\
old               259 arch/riscv/include/asm/cmpxchg.h 	__typeof__(*(ptr)) __old = (old);				\
old               302 arch/riscv/include/asm/cmpxchg.h #define __cmpxchg(ptr, old, new, size)					\
old               305 arch/riscv/include/asm/cmpxchg.h 	__typeof__(*(ptr)) __old = (old);				\
old               408 arch/riscv/include/asm/uaccess.h #define __cmpxchg_user(ptr, old, new, err, size, lrb, scb)	\
old               411 arch/riscv/include/asm/uaccess.h 	__typeof__(*(ptr)) __old = (old);			\
old               440 arch/riscv/include/asm/uaccess.h 			: [old] "rJ" (__old),			\
old               466 arch/riscv/include/asm/uaccess.h 			: [old] "rJ" (__old),			\
old               134 arch/riscv/kernel/ftrace.c 	unsigned long old;
old               143 arch/riscv/kernel/ftrace.c 	old = *parent;
old               145 arch/riscv/kernel/ftrace.c 	if (!function_graph_enter(old, self_addr, frame_pointer, parent))
old                30 arch/s390/boot/ipl_parm.c 	psw_t old = S390_lowcore.program_new_psw;
old                45 arch/s390/boot/ipl_parm.c 	S390_lowcore.program_new_psw = old;
old                73 arch/s390/boot/mem_detect.c 	psw_t old = S390_lowcore.program_new_psw;
old                90 arch/s390/boot/mem_detect.c 	S390_lowcore.program_new_psw = old;
old               117 arch/s390/boot/mem_detect.c 	psw_t old = S390_lowcore.program_new_psw;
old               132 arch/s390/boot/mem_detect.c 	S390_lowcore.program_new_psw = old;
old                80 arch/s390/include/asm/atomic.h static inline int atomic_cmpxchg(atomic_t *v, int old, int new)
old                82 arch/s390/include/asm/atomic.h 	return __atomic_cmpxchg(&v->counter, old, new);
old               127 arch/s390/include/asm/atomic.h static inline s64 atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new)
old               129 arch/s390/include/asm/atomic.h 	return __atomic64_cmpxchg((long *)&v->counter, old, new);
old                16 arch/s390/include/asm/atomic_ops.h 	op_type old;							\
old                21 arch/s390/include/asm/atomic_ops.h 		: [old] "=d" (old), [ptr] "+Q" (*ptr)			\
old                23 arch/s390/include/asm/atomic_ops.h 	return old;							\
old                67 arch/s390/include/asm/atomic_ops.h 	int old, new;							\
old                74 arch/s390/include/asm/atomic_ops.h 		: [old] "=d" (old), [new] "=&d" (new), [ptr] "+Q" (*ptr)\
old                76 arch/s390/include/asm/atomic_ops.h 	return old;							\
old                93 arch/s390/include/asm/atomic_ops.h 	long old, new;							\
old               100 arch/s390/include/asm/atomic_ops.h 		: [old] "=d" (old), [new] "=&d" (new), [ptr] "+Q" (*ptr)\
old               102 arch/s390/include/asm/atomic_ops.h 	return old;							\
old               123 arch/s390/include/asm/atomic_ops.h static inline int __atomic_cmpxchg(int *ptr, int old, int new)
old               125 arch/s390/include/asm/atomic_ops.h 	return __sync_val_compare_and_swap(ptr, old, new);
old               128 arch/s390/include/asm/atomic_ops.h static inline int __atomic_cmpxchg_bool(int *ptr, int old, int new)
old               130 arch/s390/include/asm/atomic_ops.h 	return __sync_bool_compare_and_swap(ptr, old, new);
old               133 arch/s390/include/asm/atomic_ops.h static inline long __atomic64_cmpxchg(long *ptr, long old, long new)
old               135 arch/s390/include/asm/atomic_ops.h 	return __sync_val_compare_and_swap(ptr, old, new);
old               138 arch/s390/include/asm/atomic_ops.h static inline long __atomic64_cmpxchg_bool(long *ptr, long old, long new)
old               140 arch/s390/include/asm/atomic_ops.h 	return __sync_bool_compare_and_swap(ptr, old, new);
old               127 arch/s390/include/asm/bitops.h 	unsigned long old, mask;
old               130 arch/s390/include/asm/bitops.h 	old = __atomic64_or_barrier(mask, (long *)addr);
old               131 arch/s390/include/asm/bitops.h 	return (old & mask) != 0;
old               138 arch/s390/include/asm/bitops.h 	unsigned long old, mask;
old               141 arch/s390/include/asm/bitops.h 	old = __atomic64_and_barrier(mask, (long *)addr);
old               142 arch/s390/include/asm/bitops.h 	return (old & ~mask) != 0;
old               149 arch/s390/include/asm/bitops.h 	unsigned long old, mask;
old               152 arch/s390/include/asm/bitops.h 	old = __atomic64_xor_barrier(mask, (long *)addr);
old               153 arch/s390/include/asm/bitops.h 	return (old & mask) != 0;
old                47 arch/s390/include/asm/cmpxchg.h 		: [cc] "=d" (cc), [old] "+d" (__old1), "+d" (__old2)	\
old                19 arch/s390/include/asm/cputime.h #define cmpxchg_cputime(ptr, old, new) cmpxchg64(ptr, old, new)
old               548 arch/s390/include/asm/pgtable.h static inline void csp(unsigned int *ptr, unsigned int old, unsigned int new)
old               550 arch/s390/include/asm/pgtable.h 	register unsigned long reg2 asm("2") = old;
old               561 arch/s390/include/asm/pgtable.h static inline void cspg(unsigned long *ptr, unsigned long old, unsigned long new)
old               563 arch/s390/include/asm/pgtable.h 	register unsigned long reg2 asm("2") = old;
old               580 arch/s390/include/asm/pgtable.h static inline void crdte(unsigned long old, unsigned long new,
old               584 arch/s390/include/asm/pgtable.h 	register unsigned long reg2 asm("2") = old;
old                22 arch/s390/include/asm/preempt.h 	int old, new;
old                25 arch/s390/include/asm/preempt.h 		old = READ_ONCE(S390_lowcore.preempt_count);
old                26 arch/s390/include/asm/preempt.h 		new = (old & PREEMPT_NEED_RESCHED) |
old                29 arch/s390/include/asm/preempt.h 				  old, new) != old);
old               114 arch/s390/include/asm/spinlock.h 	int old;
old               116 arch/s390/include/asm/spinlock.h 	old = __atomic_add(1, &rw->cnts);
old               117 arch/s390/include/asm/spinlock.h 	if (old & 0xffff0000)
old               140 arch/s390/include/asm/spinlock.h 	int old;
old               142 arch/s390/include/asm/spinlock.h 	old = READ_ONCE(rw->cnts);
old               143 arch/s390/include/asm/spinlock.h 	return (!(old & 0xffff0000) &&
old               144 arch/s390/include/asm/spinlock.h 		__atomic_cmpxchg_bool(&rw->cnts, old, old + 1));
old               149 arch/s390/include/asm/spinlock.h 	int old;
old               151 arch/s390/include/asm/spinlock.h 	old = READ_ONCE(rw->cnts);
old               152 arch/s390/include/asm/spinlock.h 	return !old && __atomic_cmpxchg_bool(&rw->cnts, 0, 0x30000);
old               130 arch/s390/include/asm/timex.h 	unsigned long long old;
old               132 arch/s390/include/asm/timex.h 	old = S390_lowcore.clock_comparator;
old               135 arch/s390/include/asm/timex.h 	return old;
old               109 arch/s390/kernel/ftrace.c 	struct ftrace_insn orig, new, old;
old               111 arch/s390/kernel/ftrace.c 	if (probe_kernel_read(&old, (void *) rec->ip, sizeof(old)))
old               117 arch/s390/kernel/ftrace.c 	} else if (is_kprobe_on_ftrace(&old)) {
old               133 arch/s390/kernel/ftrace.c 	if (memcmp(&orig, &old, sizeof(old)))
old               141 arch/s390/kernel/ftrace.c 	struct ftrace_insn orig, new, old;
old               143 arch/s390/kernel/ftrace.c 	if (probe_kernel_read(&old, (void *) rec->ip, sizeof(old)))
old               145 arch/s390/kernel/ftrace.c 	if (is_kprobe_on_ftrace(&old)) {
old               161 arch/s390/kernel/ftrace.c 	if (memcmp(&orig, &old, sizeof(old)))
old               201 arch/s390/kernel/irq.c 	unsigned long old, new;
old               203 arch/s390/kernel/irq.c 	old = current_stack_pointer();
old               206 arch/s390/kernel/irq.c 	if (((new - old) >> (PAGE_SHIFT + THREAD_SIZE_ORDER)) != 0) {
old                56 arch/s390/kernel/jump_label.c 	struct insn old, new;
old                59 arch/s390/kernel/jump_label.c 		jump_label_make_nop(entry, &old);
old                62 arch/s390/kernel/jump_label.c 		jump_label_make_branch(entry, &old);
old                69 arch/s390/kernel/jump_label.c 		if (memcmp(code, &old, sizeof(old)))
old                70 arch/s390/kernel/jump_label.c 			jump_label_bug(entry, &old, &new);
old                49 arch/s390/kernel/ptrace.c 	struct per_regs old, new;
old               112 arch/s390/kernel/ptrace.c 	__ctl_store(old, 9, 11);
old               113 arch/s390/kernel/ptrace.c 	if (memcmp(&new, &old, sizeof(struct per_regs)) != 0)
old               345 arch/s390/kernel/setup.c 	unsigned long old, new;
old               347 arch/s390/kernel/setup.c 	old = S390_lowcore.async_stack - STACK_INIT_OFFSET;
old               352 arch/s390/kernel/setup.c 	free_pages(old, THREAD_SIZE_ORDER);
old               279 arch/s390/kvm/gaccess.c 	union ipte_control old, new, *ic;
old               289 arch/s390/kvm/gaccess.c 		old = READ_ONCE(*ic);
old               290 arch/s390/kvm/gaccess.c 		if (old.k) {
old               295 arch/s390/kvm/gaccess.c 		new = old;
old               297 arch/s390/kvm/gaccess.c 	} while (cmpxchg(&ic->val, old.val, new.val) != old.val);
old               305 arch/s390/kvm/gaccess.c 	union ipte_control old, new, *ic;
old               314 arch/s390/kvm/gaccess.c 		old = READ_ONCE(*ic);
old               315 arch/s390/kvm/gaccess.c 		new = old;
old               317 arch/s390/kvm/gaccess.c 	} while (cmpxchg(&ic->val, old.val, new.val) != old.val);
old               326 arch/s390/kvm/gaccess.c 	union ipte_control old, new, *ic;
old               332 arch/s390/kvm/gaccess.c 		old = READ_ONCE(*ic);
old               333 arch/s390/kvm/gaccess.c 		if (old.kg) {
old               338 arch/s390/kvm/gaccess.c 		new = old;
old               341 arch/s390/kvm/gaccess.c 	} while (cmpxchg(&ic->val, old.val, new.val) != old.val);
old               347 arch/s390/kvm/gaccess.c 	union ipte_control old, new, *ic;
old               352 arch/s390/kvm/gaccess.c 		old = READ_ONCE(*ic);
old               353 arch/s390/kvm/gaccess.c 		new = old;
old               357 arch/s390/kvm/gaccess.c 	} while (cmpxchg(&ic->val, old.val, new.val) != old.val);
old               127 arch/s390/kvm/interrupt.c 		union esca_sigp_ctrl old = *sigp_ctrl;
old               129 arch/s390/kvm/interrupt.c 		expect = old.value;
old               130 arch/s390/kvm/interrupt.c 		rc = cmpxchg(&sigp_ctrl->value, old.value, 0);
old               135 arch/s390/kvm/interrupt.c 		union bsca_sigp_ctrl old = *sigp_ctrl;
old               137 arch/s390/kvm/interrupt.c 		expect = old.value;
old               138 arch/s390/kvm/interrupt.c 		rc = cmpxchg(&sigp_ctrl->value, old.value, 0);
old              4529 arch/s390/kvm/kvm-s390.c 				const struct kvm_memory_slot *old,
old              4537 arch/s390/kvm/kvm-s390.c 		rc = gmap_unmap_segment(kvm->arch.gmap, old->base_gfn * PAGE_SIZE,
old              4538 arch/s390/kvm/kvm-s390.c 					old->npages * PAGE_SIZE);
old              4541 arch/s390/kvm/kvm-s390.c 		rc = gmap_unmap_segment(kvm->arch.gmap, old->base_gfn * PAGE_SIZE,
old              4542 arch/s390/kvm/kvm-s390.c 					old->npages * PAGE_SIZE);
old                84 arch/s390/lib/spinlock.c static inline int arch_cmpxchg_niai8(int *lock, int old, int new)
old                86 arch/s390/lib/spinlock.c 	int expected = old;
old                91 arch/s390/lib/spinlock.c 		: "=d" (old), "=Q" (*lock)
old                92 arch/s390/lib/spinlock.c 		: "0" (old), "d" (new), "Q" (*lock)
old                94 arch/s390/lib/spinlock.c 	return expected == old;
old               120 arch/s390/lib/spinlock.c 	int lockval, ix, node_id, tail_id, old, new, owner, count;
old               131 arch/s390/lib/spinlock.c 		old = READ_ONCE(lp->lock);
old               132 arch/s390/lib/spinlock.c 		if ((old & _Q_LOCK_CPU_MASK) == 0 &&
old               133 arch/s390/lib/spinlock.c 		    (old & _Q_LOCK_STEAL_MASK) != _Q_LOCK_STEAL_MASK) {
old               141 arch/s390/lib/spinlock.c 			new = (old ? (old + _Q_LOCK_STEAL_ADD) : 0) | lockval;
old               142 arch/s390/lib/spinlock.c 			if (__atomic_cmpxchg_bool(&lp->lock, old, new))
old               149 arch/s390/lib/spinlock.c 		new = node_id | (old & _Q_LOCK_MASK);
old               150 arch/s390/lib/spinlock.c 		if (__atomic_cmpxchg_bool(&lp->lock, old, new))
old               154 arch/s390/lib/spinlock.c 	tail_id = old & _Q_TAIL_MASK;
old               161 arch/s390/lib/spinlock.c 	owner = arch_spin_yield_target(old, node);
old               173 arch/s390/lib/spinlock.c 			owner = arch_spin_yield_target(old, node);
old               182 arch/s390/lib/spinlock.c 		old = READ_ONCE(lp->lock);
old               183 arch/s390/lib/spinlock.c 		owner = old & _Q_LOCK_CPU_MASK;
old               185 arch/s390/lib/spinlock.c 			tail_id = old & _Q_TAIL_MASK;
old               187 arch/s390/lib/spinlock.c 			if (__atomic_cmpxchg_bool(&lp->lock, old, new))
old               213 arch/s390/lib/spinlock.c 	int lockval, old, new, owner, count;
old               224 arch/s390/lib/spinlock.c 		old = arch_load_niai4(&lp->lock);
old               225 arch/s390/lib/spinlock.c 		owner = old & _Q_LOCK_CPU_MASK;
old               228 arch/s390/lib/spinlock.c 			new = (old & _Q_TAIL_MASK) | lockval;
old               229 arch/s390/lib/spinlock.c 			if (arch_cmpxchg_niai8(&lp->lock, old, new)) {
old               293 arch/s390/lib/spinlock.c 	int old;
old               302 arch/s390/lib/spinlock.c 		old = READ_ONCE(rw->cnts);
old               303 arch/s390/lib/spinlock.c 		if ((old & 0x1ffff) == 0 &&
old               304 arch/s390/lib/spinlock.c 		    __atomic_cmpxchg_bool(&rw->cnts, old, old | 0x10000))
old               526 arch/s390/mm/gmap.c static void gmap_pmdp_xchg(struct gmap *gmap, pmd_t *old, pmd_t new,
old                57 arch/s390/mm/pageattr.c static void pgt_set(unsigned long *old, unsigned long new, unsigned long addr,
old                75 arch/s390/mm/pageattr.c 		table = (unsigned long)old & mask;
old                76 arch/s390/mm/pageattr.c 		crdte(*old, new, table, dtt, addr, S390_lowcore.kernel_asce);
old                78 arch/s390/mm/pageattr.c 		cspg(old, *old, new);
old                80 arch/s390/mm/pageattr.c 		csp((unsigned int *)old + 1, *old, new);
old               157 arch/s390/mm/pgalloc.c 	unsigned int old, new;
old               160 arch/s390/mm/pgalloc.c 		old = atomic_read(v);
old               161 arch/s390/mm/pgalloc.c 		new = old ^ bits;
old               162 arch/s390/mm/pgalloc.c 	} while (atomic_cmpxchg(v, old, new) != old);
old                73 arch/s390/mm/pgtable.c 	pte_t old;
old                75 arch/s390/mm/pgtable.c 	old = *ptep;
old                76 arch/s390/mm/pgtable.c 	if (unlikely(pte_val(old) & _PAGE_INVALID))
old                77 arch/s390/mm/pgtable.c 		return old;
old                85 arch/s390/mm/pgtable.c 	return old;
old                92 arch/s390/mm/pgtable.c 	pte_t old;
old                94 arch/s390/mm/pgtable.c 	old = *ptep;
old                95 arch/s390/mm/pgtable.c 	if (unlikely(pte_val(old) & _PAGE_INVALID))
old                96 arch/s390/mm/pgtable.c 		return old;
old               105 arch/s390/mm/pgtable.c 	return old;
old               112 arch/s390/mm/pgtable.c 	unsigned long old;
old               121 arch/s390/mm/pgtable.c 		: "=&d" (old), "=&d" (new), "=Q" (ptep[PTRS_PER_PTE])
old               251 arch/s390/mm/pgtable.c 				    pgste_t pgste, pte_t old, pte_t new)
old               254 arch/s390/mm/pgtable.c 		if (pte_val(old) & _PAGE_INVALID)
old               257 arch/s390/mm/pgtable.c 			pgste = pgste_update_all(old, pgste, mm);
old               260 arch/s390/mm/pgtable.c 				pte_val(old) |= _PAGE_UNUSED;
old               267 arch/s390/mm/pgtable.c 	return old;
old               274 arch/s390/mm/pgtable.c 	pte_t old;
old               280 arch/s390/mm/pgtable.c 	old = ptep_flush_direct(mm, addr, ptep, nodat);
old               281 arch/s390/mm/pgtable.c 	old = ptep_xchg_commit(mm, addr, ptep, pgste, old, new);
old               283 arch/s390/mm/pgtable.c 	return old;
old               291 arch/s390/mm/pgtable.c 	pte_t old;
old               297 arch/s390/mm/pgtable.c 	old = ptep_flush_lazy(mm, addr, ptep, nodat);
old               298 arch/s390/mm/pgtable.c 	old = ptep_xchg_commit(mm, addr, ptep, pgste, old, new);
old               300 arch/s390/mm/pgtable.c 	return old;
old               308 arch/s390/mm/pgtable.c 	pte_t old;
old               315 arch/s390/mm/pgtable.c 	old = ptep_flush_lazy(mm, addr, ptep, nodat);
old               317 arch/s390/mm/pgtable.c 		pgste = pgste_update_all(old, pgste, mm);
old               320 arch/s390/mm/pgtable.c 	return old;
old               376 arch/s390/mm/pgtable.c 	pmd_t old;
old               378 arch/s390/mm/pgtable.c 	old = *pmdp;
old               379 arch/s390/mm/pgtable.c 	if (pmd_val(old) & _SEGMENT_ENTRY_INVALID)
old               380 arch/s390/mm/pgtable.c 		return old;
old               388 arch/s390/mm/pgtable.c 	return old;
old               394 arch/s390/mm/pgtable.c 	pmd_t old;
old               396 arch/s390/mm/pgtable.c 	old = *pmdp;
old               397 arch/s390/mm/pgtable.c 	if (pmd_val(old) & _SEGMENT_ENTRY_INVALID)
old               398 arch/s390/mm/pgtable.c 		return old;
old               410 arch/s390/mm/pgtable.c 	return old;
old               436 arch/s390/mm/pgtable.c 	pmd_t old;
old               439 arch/s390/mm/pgtable.c 	old = pmdp_flush_direct(mm, addr, pmdp);
old               442 arch/s390/mm/pgtable.c 	return old;
old               449 arch/s390/mm/pgtable.c 	pmd_t old;
old               452 arch/s390/mm/pgtable.c 	old = pmdp_flush_lazy(mm, addr, pmdp);
old               455 arch/s390/mm/pgtable.c 	return old;
old               488 arch/s390/mm/pgtable.c 	pud_t old;
old               490 arch/s390/mm/pgtable.c 	old = *pudp;
old               491 arch/s390/mm/pgtable.c 	if (pud_val(old) & _REGION_ENTRY_INVALID)
old               492 arch/s390/mm/pgtable.c 		return old;
old               500 arch/s390/mm/pgtable.c 	return old;
old               506 arch/s390/mm/pgtable.c 	pud_t old;
old               509 arch/s390/mm/pgtable.c 	old = pudp_flush_direct(mm, addr, pudp);
old               512 arch/s390/mm/pgtable.c 	return old;
old               759 arch/s390/mm/pgtable.c 	pgste_t old, new;
old               790 arch/s390/mm/pgtable.c 	new = old = pgste_get_lock(ptep);
old               809 arch/s390/mm/pgtable.c 	if ((pgste_val(new) ^ pgste_val(old)) &
old               861 arch/s390/mm/pgtable.c 	pgste_t old, new;
old               889 arch/s390/mm/pgtable.c 	new = old = pgste_get_lock(ptep);
old               900 arch/s390/mm/pgtable.c 	cc |= (pgste_val(old) & (PGSTE_GR_BIT | PGSTE_GC_BIT)) >> 49;
old               902 arch/s390/mm/pgtable.c 	if ((pgste_val(new) ^ pgste_val(old)) & PGSTE_GR_BIT)
old                 5 arch/sh/include/asm/bitops-cas.h static inline unsigned __bo_cas(volatile unsigned *p, unsigned old, unsigned new)
old                 9 arch/sh/include/asm/bitops-cas.h 		: "r"(old), "z"(p)
old                16 arch/sh/include/asm/bitops-cas.h 	unsigned mask, old;
old                22 arch/sh/include/asm/bitops-cas.h 	do old = *a;
old                23 arch/sh/include/asm/bitops-cas.h 	while (__bo_cas(a, old, old|mask) != old);
old                28 arch/sh/include/asm/bitops-cas.h 	unsigned mask, old;
old                34 arch/sh/include/asm/bitops-cas.h 	do old = *a;
old                35 arch/sh/include/asm/bitops-cas.h 	while (__bo_cas(a, old, old&~mask) != old);
old                40 arch/sh/include/asm/bitops-cas.h 	unsigned mask, old;
old                46 arch/sh/include/asm/bitops-cas.h 	do old = *a;
old                47 arch/sh/include/asm/bitops-cas.h 	while (__bo_cas(a, old, old^mask) != old);
old                52 arch/sh/include/asm/bitops-cas.h 	unsigned mask, old;
old                58 arch/sh/include/asm/bitops-cas.h 	do old = *a;
old                59 arch/sh/include/asm/bitops-cas.h 	while (__bo_cas(a, old, old|mask) != old);
old                61 arch/sh/include/asm/bitops-cas.h 	return !!(old & mask);
old                66 arch/sh/include/asm/bitops-cas.h 	unsigned mask, old;
old                72 arch/sh/include/asm/bitops-cas.h 	do old = *a;
old                73 arch/sh/include/asm/bitops-cas.h 	while (__bo_cas(a, old, old&~mask) != old);
old                75 arch/sh/include/asm/bitops-cas.h 	return !!(old & mask);
old                80 arch/sh/include/asm/bitops-cas.h 	unsigned mask, old;
old                86 arch/sh/include/asm/bitops-cas.h 	do old = *a;
old                87 arch/sh/include/asm/bitops-cas.h 	while (__bo_cas(a, old, old^mask) != old);
old                89 arch/sh/include/asm/bitops-cas.h 	return !!(old & mask);
old                96 arch/sh/include/asm/bitops-op32.h 	unsigned long old = *p;
old                98 arch/sh/include/asm/bitops-op32.h 	*p = old | mask;
old                99 arch/sh/include/asm/bitops-op32.h 	return (old & mask) != 0;
old               115 arch/sh/include/asm/bitops-op32.h 	unsigned long old = *p;
old               117 arch/sh/include/asm/bitops-op32.h 	*p = old & ~mask;
old               118 arch/sh/include/asm/bitops-op32.h 	return (old & mask) != 0;
old               127 arch/sh/include/asm/bitops-op32.h 	unsigned long old = *p;
old               129 arch/sh/include/asm/bitops-op32.h 	*p = old ^ mask;
old               130 arch/sh/include/asm/bitops-op32.h 	return (old & mask) != 0;
old                 6 arch/sh/include/asm/cmpxchg-cas.h __cmpxchg_u32(volatile u32 *m, unsigned long old, unsigned long new)
old                10 arch/sh/include/asm/cmpxchg-cas.h 		: "r"(old), "z"(m)
old                17 arch/sh/include/asm/cmpxchg-cas.h 	unsigned long old;
old                18 arch/sh/include/asm/cmpxchg-cas.h 	do old = *m;
old                19 arch/sh/include/asm/cmpxchg-cas.h 	while (__cmpxchg_u32(m, old, val) != old);
old                20 arch/sh/include/asm/cmpxchg-cas.h 	return old;
old                71 arch/sh/include/asm/cmpxchg-grb.h static inline unsigned long __cmpxchg_u32(volatile int *m, unsigned long old,
old                88 arch/sh/include/asm/cmpxchg-grb.h 		  "+r"  (old), "+r"  (new) /* old or new can be r15 */
old                40 arch/sh/include/asm/cmpxchg-irq.h static inline unsigned long __cmpxchg_u32(volatile int *m, unsigned long old,
old                48 arch/sh/include/asm/cmpxchg-irq.h 	if (retval == old)
old                27 arch/sh/include/asm/cmpxchg-llsc.h __cmpxchg_u32(volatile u32 *m, unsigned long old, unsigned long new)
old                44 arch/sh/include/asm/cmpxchg-llsc.h 		: "r" (m), "r" (old), "r" (new)
old                55 arch/sh/include/asm/cmpxchg.h static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old,
old                60 arch/sh/include/asm/cmpxchg.h 		return __cmpxchg_u32(ptr, old, new);
old                63 arch/sh/include/asm/cmpxchg.h 	return old;
old                13 arch/sh/include/asm/spinlock-cas.h static inline unsigned __sl_cas(volatile unsigned *p, unsigned old, unsigned new)
old                17 arch/sh/include/asm/spinlock-cas.h 		: "r"(old), "z"(p)
old                54 arch/sh/include/asm/spinlock-cas.h 	unsigned old;
old                55 arch/sh/include/asm/spinlock-cas.h 	do old = rw->lock;
old                56 arch/sh/include/asm/spinlock-cas.h 	while (!old || __sl_cas(&rw->lock, old, old-1) != old);
old                61 arch/sh/include/asm/spinlock-cas.h 	unsigned old;
old                62 arch/sh/include/asm/spinlock-cas.h 	do old = rw->lock;
old                63 arch/sh/include/asm/spinlock-cas.h 	while (__sl_cas(&rw->lock, old, old+1) != old);
old                78 arch/sh/include/asm/spinlock-cas.h 	unsigned old;
old                79 arch/sh/include/asm/spinlock-cas.h 	do old = rw->lock;
old                80 arch/sh/include/asm/spinlock-cas.h 	while (old && __sl_cas(&rw->lock, old, old-1) != old);
old                81 arch/sh/include/asm/spinlock-cas.h 	return !!old;
old               111 arch/sh/kernel/cpu/sh2/smp-j2.c 	unsigned old;
old               117 arch/sh/kernel/cpu/sh2/smp-j2.c 	do old = *pmsg;
old               118 arch/sh/kernel/cpu/sh2/smp-j2.c 	while (cmpxchg(pmsg, old, old|(1U<<message)) != old);
old               102 arch/sh/kernel/ftrace.c 	int old = atomic_read(&nmi_running);
old               105 arch/sh/kernel/ftrace.c 		int new = old & ~MOD_CODE_WRITE_FLAG;
old               107 arch/sh/kernel/ftrace.c 		if (old == new)
old               110 arch/sh/kernel/ftrace.c 		old = atomic_cmpxchg(&nmi_running, old, new);
old               225 arch/sh/kernel/ftrace.c 	unsigned char old[MCOUNT_INSN_SIZE], *new;
old               227 arch/sh/kernel/ftrace.c 	memcpy(old, (unsigned char *)ip, MCOUNT_INSN_SIZE);
old               230 arch/sh/kernel/ftrace.c 	return ftrace_modify_code(ip, old, new);
old               236 arch/sh/kernel/ftrace.c 	unsigned char *new, *old;
old               239 arch/sh/kernel/ftrace.c 	old = ftrace_call_replace(ip, addr);
old               242 arch/sh/kernel/ftrace.c 	return ftrace_modify_code(rec->ip, old, new);
old               247 arch/sh/kernel/ftrace.c 	unsigned char *new, *old;
old               250 arch/sh/kernel/ftrace.c 	old = ftrace_nop_replace(ip);
old               253 arch/sh/kernel/ftrace.c 	return ftrace_modify_code(rec->ip, old, new);
old               323 arch/sh/kernel/ftrace.c 	unsigned long old;
old               357 arch/sh/kernel/ftrace.c 		: "=&r" (old), "=r" (faulted)
old               367 arch/sh/kernel/ftrace.c 	if (function_graph_enter(old, self_addr, 0, NULL))
old               368 arch/sh/kernel/ftrace.c 		__raw_writel(old, parent);
old                42 arch/sparc/include/asm/cmpxchg_32.h unsigned long __cmpxchg_u32(volatile u32 *m, u32 old, u32 new_);
old                46 arch/sparc/include/asm/cmpxchg_32.h __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size)
old                50 arch/sparc/include/asm/cmpxchg_32.h 		return __cmpxchg_u32((u32 *)ptr, (u32)old, (u32)new_);
old                55 arch/sparc/include/asm/cmpxchg_32.h 	return old;
old                66 arch/sparc/include/asm/cmpxchg_32.h u64 __cmpxchg_u64(u64 *ptr, u64 old, u64 new);
old                67 arch/sparc/include/asm/cmpxchg_32.h #define cmpxchg64(ptr, old, new)	__cmpxchg_u64(ptr, old, new)
old                11 arch/sparc/include/asm/cmpxchg_64.h __cmpxchg_u32(volatile int *m, int old, int new)
old                15 arch/sparc/include/asm/cmpxchg_64.h 			     : "0" (new), "r" (m), "r" (old)
old               115 arch/sparc/include/asm/cmpxchg_64.h __cmpxchg_u64(volatile long *m, unsigned long old, unsigned long new)
old               119 arch/sparc/include/asm/cmpxchg_64.h 			     : "0" (new), "r" (m), "r" (old)
old               131 arch/sparc/include/asm/cmpxchg_64.h __cmpxchg_u8(volatile unsigned char *m, unsigned char old, unsigned char new)
old               142 arch/sparc/include/asm/cmpxchg_64.h 		old32 = (load32 & ~mask) | (old << bit_shift);
old               145 arch/sparc/include/asm/cmpxchg_64.h 			return old;
old               147 arch/sparc/include/asm/cmpxchg_64.h 	} while (load == old);
old               157 arch/sparc/include/asm/cmpxchg_64.h __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size)
old               161 arch/sparc/include/asm/cmpxchg_64.h 			return __cmpxchg_u8(ptr, old, new);
old               163 arch/sparc/include/asm/cmpxchg_64.h 			return __cmpxchg_u32(ptr, old, new);
old               165 arch/sparc/include/asm/cmpxchg_64.h 			return __cmpxchg_u64(ptr, old, new);
old               168 arch/sparc/include/asm/cmpxchg_64.h 	return old;
old               185 arch/sparc/include/asm/cmpxchg_64.h 				      unsigned long old,
old               190 arch/sparc/include/asm/cmpxchg_64.h 	case 8:	return __cmpxchg(ptr, old, new, size);
old               192 arch/sparc/include/asm/cmpxchg_64.h 		return __cmpxchg_local_generic(ptr, old, new, size);
old               195 arch/sparc/include/asm/cmpxchg_64.h 	return old;
old                26 arch/sparc/kernel/ftrace.c static int ftrace_modify_code(unsigned long ip, u32 old, u32 new)
old                47 arch/sparc/kernel/ftrace.c 	: [new] "0" (new), [old] "r" (old), [ip] "r" (ip)
old                50 arch/sparc/kernel/ftrace.c 	if (replaced != old && replaced != new)
old                59 arch/sparc/kernel/ftrace.c 	u32 old, new;
old                61 arch/sparc/kernel/ftrace.c 	old = ftrace_call_replace(ip, addr);
old                63 arch/sparc/kernel/ftrace.c 	return ftrace_modify_code(ip, old, new);
old                69 arch/sparc/kernel/ftrace.c 	u32 old, new;
old                71 arch/sparc/kernel/ftrace.c 	old = ftrace_nop;
old                73 arch/sparc/kernel/ftrace.c 	return ftrace_modify_code(ip, old, new);
old                79 arch/sparc/kernel/ftrace.c 	u32 old, new;
old                81 arch/sparc/kernel/ftrace.c 	old = *(u32 *) &ftrace_call;
old                83 arch/sparc/kernel/ftrace.c 	return ftrace_modify_code(ip, old, new);
old               100 arch/sparc/kernel/ftrace.c 	u32 old, new;
old               102 arch/sparc/kernel/ftrace.c 	old = *(u32 *) &ftrace_graph_call;
old               104 arch/sparc/kernel/ftrace.c 	return ftrace_modify_code(ip, old, new);
old               110 arch/sparc/kernel/ftrace.c 	u32 old, new;
old               112 arch/sparc/kernel/ftrace.c 	old = *(u32 *) &ftrace_graph_call;
old               115 arch/sparc/kernel/ftrace.c 	return ftrace_modify_code(ip, old, new);
old               663 arch/sparc/kernel/time_64.c 			ft->ref_freq = freq->old;
old               667 arch/sparc/kernel/time_64.c 		if ((val == CPUFREQ_PRECHANGE  && freq->old < freq->new) ||
old               668 arch/sparc/kernel/time_64.c 		    (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) {
old                83 arch/sparc/lib/atomic32.c int atomic_cmpxchg(atomic_t *v, int old, int new)
old                90 arch/sparc/lib/atomic32.c 	if (likely(ret == old))
old               125 arch/sparc/lib/atomic32.c 	unsigned long old, flags;
old               128 arch/sparc/lib/atomic32.c 	old = *addr;
old               129 arch/sparc/lib/atomic32.c 	*addr = old | mask;
old               132 arch/sparc/lib/atomic32.c 	return old & mask;
old               138 arch/sparc/lib/atomic32.c 	unsigned long old, flags;
old               141 arch/sparc/lib/atomic32.c 	old = *addr;
old               142 arch/sparc/lib/atomic32.c 	*addr = old & ~mask;
old               145 arch/sparc/lib/atomic32.c 	return old & mask;
old               151 arch/sparc/lib/atomic32.c 	unsigned long old, flags;
old               154 arch/sparc/lib/atomic32.c 	old = *addr;
old               155 arch/sparc/lib/atomic32.c 	*addr = old ^ mask;
old               158 arch/sparc/lib/atomic32.c 	return old & mask;
old               162 arch/sparc/lib/atomic32.c unsigned long __cmpxchg_u32(volatile u32 *ptr, u32 old, u32 new)
old               168 arch/sparc/lib/atomic32.c 	if ((prev = *ptr) == old)
old               176 arch/sparc/lib/atomic32.c u64 __cmpxchg_u64(u64 *ptr, u64 old, u64 new)
old               182 arch/sparc/lib/atomic32.c 	if ((prev = *ptr) == old)
old               231 arch/sparc/mm/tlb.c 	pmd_t old;
old               234 arch/sparc/mm/tlb.c 		old = *pmdp;
old               235 arch/sparc/mm/tlb.c 	} while (cmpxchg64(&pmdp->pmd, old.pmd, pmd.pmd) != old.pmd);
old               236 arch/sparc/mm/tlb.c 	__set_pmd_acct(vma->vm_mm, address, old, pmd);
old               238 arch/sparc/mm/tlb.c 	return old;
old               247 arch/sparc/mm/tlb.c 	pmd_t old, entry;
old               250 arch/sparc/mm/tlb.c 	old = pmdp_establish(vma, address, pmdp, entry);
old               262 arch/sparc/mm/tlb.c 	return old;
old                76 arch/um/drivers/chan_user.c 	sigset_t old, no_sigio;
old                83 arch/um/drivers/chan_user.c 		if (sigprocmask(SIG_BLOCK, &no_sigio, &old))
old               107 arch/um/drivers/chan_user.c 		sigprocmask(SIG_SETMASK, &old, NULL);
old               219 arch/um/drivers/line.c void line_set_termios(struct tty_struct *tty, struct ktermios * old)
old                70 arch/um/drivers/line.h extern void line_set_termios(struct tty_struct *tty, struct ktermios * old);
old                48 arch/um/include/asm/mmu_context.h static inline void activate_mm(struct mm_struct *old, struct mm_struct *new)
old               541 arch/um/kernel/irq.c 	unsigned long mask, old;
old               555 arch/um/kernel/irq.c 		old = *mask_out;
old               557 arch/um/kernel/irq.c 			old |= mask;
old               558 arch/um/kernel/irq.c 			mask = xchg(&pending_mask, old);
old               559 arch/um/kernel/irq.c 		} while (mask != old);
old               431 arch/um/os-Linux/sigio.c 	struct sigaction old, new;
old               466 arch/um/os-Linux/sigio.c 	if (sigaction(SIGIO, NULL, &old) < 0) {
old               472 arch/um/os-Linux/sigio.c 	new = old;
old               486 arch/um/os-Linux/sigio.c 	if (sigaction(SIGIO, &old, NULL) < 0)
old               437 arch/x86/events/amd/core.c 	struct perf_event *old;
old               459 arch/x86/events/amd/core.c 			old = cmpxchg(nb->owners + idx, NULL, event);
old               462 arch/x86/events/amd/core.c 			old = event;
old               466 arch/x86/events/amd/core.c 		if (old && old != event)
old               475 arch/x86/events/amd/core.c 		if (old == event)
old               188 arch/x86/events/intel/bts.c 	unsigned long index = ds->bts_index - ds->bts_buffer_base, old, head;
old               194 arch/x86/events/intel/bts.c 	old = local_xchg(&buf->head, head);
old               197 arch/x86/events/intel/bts.c 		if (old == head)
old               208 arch/x86/events/intel/bts.c 		local_add(head - old, &buf->data_size);
old              1672 arch/x86/events/intel/ds.c 	s64 new, old;
old              1713 arch/x86/events/intel/ds.c 	old = ((s64)(prev_raw_count << shift) >> shift);
old              1714 arch/x86/events/intel/ds.c 	local64_add(new - old + count * period, &event->count);
old               803 arch/x86/events/intel/pt.c 	u64 topa_idx, base, old;
old               815 arch/x86/events/intel/pt.c 		old = (local64_xchg(&buf->head, base) &
old               817 arch/x86/events/intel/pt.c 		if (base < old)
old               820 arch/x86/events/intel/pt.c 		local_add(base - old, &buf->data_size);
old               246 arch/x86/include/asm/alternative.h 		: output : [old] "i" (oldfunc), [new] "i" (newfunc), ## input)
old               259 arch/x86/include/asm/alternative.h 		: [old] "i" (oldfunc), [new1] "i" (newfunc1),		      \
old               192 arch/x86/include/asm/atomic.h static __always_inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new)
old               194 arch/x86/include/asm/atomic.h 	return arch_cmpxchg(&v->counter, old, new);
old               198 arch/x86/include/asm/atomic.h static __always_inline bool arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new)
old               200 arch/x86/include/asm/atomic.h 	return try_cmpxchg(&v->counter, old, new);
old               269 arch/x86/include/asm/atomic64_32.h 	s64 old, c = 0;
old               271 arch/x86/include/asm/atomic64_32.h 	while ((old = arch_atomic64_cmpxchg(v, c, c & i)) != c)
old               272 arch/x86/include/asm/atomic64_32.h 		c = old;
old               277 arch/x86/include/asm/atomic64_32.h 	s64 old, c = 0;
old               279 arch/x86/include/asm/atomic64_32.h 	while ((old = arch_atomic64_cmpxchg(v, c, c & i)) != c)
old               280 arch/x86/include/asm/atomic64_32.h 		c = old;
old               282 arch/x86/include/asm/atomic64_32.h 	return old;
old               287 arch/x86/include/asm/atomic64_32.h 	s64 old, c = 0;
old               289 arch/x86/include/asm/atomic64_32.h 	while ((old = arch_atomic64_cmpxchg(v, c, c | i)) != c)
old               290 arch/x86/include/asm/atomic64_32.h 		c = old;
old               295 arch/x86/include/asm/atomic64_32.h 	s64 old, c = 0;
old               297 arch/x86/include/asm/atomic64_32.h 	while ((old = arch_atomic64_cmpxchg(v, c, c | i)) != c)
old               298 arch/x86/include/asm/atomic64_32.h 		c = old;
old               300 arch/x86/include/asm/atomic64_32.h 	return old;
old               305 arch/x86/include/asm/atomic64_32.h 	s64 old, c = 0;
old               307 arch/x86/include/asm/atomic64_32.h 	while ((old = arch_atomic64_cmpxchg(v, c, c ^ i)) != c)
old               308 arch/x86/include/asm/atomic64_32.h 		c = old;
old               313 arch/x86/include/asm/atomic64_32.h 	s64 old, c = 0;
old               315 arch/x86/include/asm/atomic64_32.h 	while ((old = arch_atomic64_cmpxchg(v, c, c ^ i)) != c)
old               316 arch/x86/include/asm/atomic64_32.h 		c = old;
old               318 arch/x86/include/asm/atomic64_32.h 	return old;
old               323 arch/x86/include/asm/atomic64_32.h 	s64 old, c = 0;
old               325 arch/x86/include/asm/atomic64_32.h 	while ((old = arch_atomic64_cmpxchg(v, c, c + i)) != c)
old               326 arch/x86/include/asm/atomic64_32.h 		c = old;
old               328 arch/x86/include/asm/atomic64_32.h 	return old;
old               178 arch/x86/include/asm/atomic64_64.h static inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new)
old               180 arch/x86/include/asm/atomic64_64.h 	return arch_cmpxchg(&v->counter, old, new);
old               184 arch/x86/include/asm/atomic64_64.h static __always_inline bool arch_atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new)
old               186 arch/x86/include/asm/atomic64_64.h 	return try_cmpxchg(&v->counter, old, new);
old                85 arch/x86/include/asm/cmpxchg.h #define __raw_cmpxchg(ptr, old, new, size, lock)			\
old                88 arch/x86/include/asm/cmpxchg.h 	__typeof__(*(ptr)) __old = (old);				\
old               133 arch/x86/include/asm/cmpxchg.h #define __cmpxchg(ptr, old, new, size)					\
old               134 arch/x86/include/asm/cmpxchg.h 	__raw_cmpxchg((ptr), (old), (new), (size), LOCK_PREFIX)
old               136 arch/x86/include/asm/cmpxchg.h #define __sync_cmpxchg(ptr, old, new, size)				\
old               137 arch/x86/include/asm/cmpxchg.h 	__raw_cmpxchg((ptr), (old), (new), (size), "lock; ")
old               139 arch/x86/include/asm/cmpxchg.h #define __cmpxchg_local(ptr, old, new, size)				\
old               140 arch/x86/include/asm/cmpxchg.h 	__raw_cmpxchg((ptr), (old), (new), (size), "")
old               148 arch/x86/include/asm/cmpxchg.h #define arch_cmpxchg(ptr, old, new)					\
old               149 arch/x86/include/asm/cmpxchg.h 	__cmpxchg(ptr, old, new, sizeof(*(ptr)))
old               151 arch/x86/include/asm/cmpxchg.h #define arch_sync_cmpxchg(ptr, old, new)				\
old               152 arch/x86/include/asm/cmpxchg.h 	__sync_cmpxchg(ptr, old, new, sizeof(*(ptr)))
old               154 arch/x86/include/asm/cmpxchg.h #define arch_cmpxchg_local(ptr, old, new)				\
old               155 arch/x86/include/asm/cmpxchg.h 	__cmpxchg_local(ptr, old, new, sizeof(*(ptr)))
old               172 arch/x86/include/asm/cmpxchg.h 			       [old] "+a" (__old)			\
old               184 arch/x86/include/asm/cmpxchg.h 			       [old] "+a" (__old)			\
old               196 arch/x86/include/asm/cmpxchg.h 			       [old] "+a" (__old)			\
old               208 arch/x86/include/asm/cmpxchg.h 			       [old] "+a" (__old)			\
old                47 arch/x86/include/asm/cmpxchg_32.h static inline u64 __cmpxchg64(volatile u64 *ptr, u64 old, u64 new)
old                55 arch/x86/include/asm/cmpxchg_32.h 		       "0" (old)
old                60 arch/x86/include/asm/cmpxchg_32.h static inline u64 __cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new)
old                68 arch/x86/include/asm/cmpxchg_32.h 		       "0" (old)
old               181 arch/x86/include/asm/kvm_emulate.h 				const void *old,
old               139 arch/x86/include/asm/local.h 	long c, old;						\
old               144 arch/x86/include/asm/local.h 		old = local_cmpxchg((l), c, c + (a));		\
old               145 arch/x86/include/asm/local.h 		if (likely(old == c))				\
old               147 arch/x86/include/asm/local.h 		c = old;					\
old               192 arch/x86/include/asm/pgtable-3level.h 	pmd_t old;
old               200 arch/x86/include/asm/pgtable-3level.h 		union split_pmd old, new, *ptr;
old               207 arch/x86/include/asm/pgtable-3level.h 		old.pmd_low = xchg(&ptr->pmd_low, new.pmd_low);
old               208 arch/x86/include/asm/pgtable-3level.h 		old.pmd_high = ptr->pmd_high;
old               210 arch/x86/include/asm/pgtable-3level.h 		return old.pmd;
old               214 arch/x86/include/asm/pgtable-3level.h 		old = *pmdp;
old               215 arch/x86/include/asm/pgtable-3level.h 	} while (cmpxchg64(&pmdp->pmd, old.pmd, pmd.pmd) != old.pmd);
old               217 arch/x86/include/asm/pgtable-3level.h 	return old;
old              1220 arch/x86/include/asm/pgtable.h 		pmd_t old = *pmdp;
old              1222 arch/x86/include/asm/pgtable.h 		return old;
old                31 arch/x86/include/asm/preempt.h 	int old, new;
old                34 arch/x86/include/asm/preempt.h 		old = raw_cpu_read_4(__preempt_count);
old                35 arch/x86/include/asm/preempt.h 		new = (old & PREEMPT_NEED_RESCHED) |
old                37 arch/x86/include/asm/preempt.h 	} while (raw_cpu_cmpxchg_4(__preempt_count, old, new) != old);
old               590 arch/x86/include/asm/uaccess.h #define __user_atomic_cmpxchg_inatomic(uval, ptr, old, new, size)	\
old               593 arch/x86/include/asm/uaccess.h 	__typeof__(*(ptr)) __old = (old);				\
old               672 arch/x86/include/asm/uaccess.h #define user_atomic_cmpxchg_inatomic(uval, ptr, old, new)		\
old               676 arch/x86/include/asm/uaccess.h 				(old), (new), sizeof(*(ptr))) :		\
old               571 arch/x86/kernel/acpi/boot.c 	unsigned int old, new;
old               574 arch/x86/kernel/acpi/boot.c 	old = inb(0x4d0) | (inb(0x4d1) << 8);
old               581 arch/x86/kernel/acpi/boot.c 	new = acpi_noirq ? old : 0;
old               596 arch/x86/kernel/acpi/boot.c 	if (old == new)
old               599 arch/x86/kernel/acpi/boot.c 	printk(PREFIX "setting ELCR to %04x (from %04x)\n", new, old);
old              1737 arch/x86/kernel/acpi/boot.c 	unsigned int old, new, val;
old              1739 arch/x86/kernel/acpi/boot.c 		old = *lock;
old              1740 arch/x86/kernel/acpi/boot.c 		new = (((old & ~0x3) + 2) + ((old >> 1) & 0x1));
old              1741 arch/x86/kernel/acpi/boot.c 		val = cmpxchg(lock, old, new);
old              1742 arch/x86/kernel/acpi/boot.c 	} while (unlikely (val != old));
old              1748 arch/x86/kernel/acpi/boot.c 	unsigned int old, new, val;
old              1750 arch/x86/kernel/acpi/boot.c 		old = *lock;
old              1751 arch/x86/kernel/acpi/boot.c 		new = old & ~0x3;
old              1752 arch/x86/kernel/acpi/boot.c 		val = cmpxchg(lock, old, new);
old              1753 arch/x86/kernel/acpi/boot.c 	} while (unlikely (val != old));
old              1754 arch/x86/kernel/acpi/boot.c 	return old & 0x1;
old               353 arch/x86/kernel/apb_timer.c 	u64 old, new;
old               362 arch/x86/kernel/apb_timer.c 	old = dw_apb_clocksource_read(clocksource_apbt);
old               365 arch/x86/kernel/apb_timer.c 		if (old != dw_apb_clocksource_read(clocksource_apbt))
old               377 arch/x86/kernel/apb_timer.c 	old = dw_apb_clocksource_read(clocksource_apbt);
old               378 arch/x86/kernel/apb_timer.c 	old += loop;
old               384 arch/x86/kernel/apb_timer.c 	} while (new < old);
old               392 arch/x86/kernel/apic/apic.c static inline int eilvt_entry_is_changeable(unsigned int old, unsigned int new)
old               394 arch/x86/kernel/apic/apic.c 	return (old & APIC_EILVT_MASKED)
old               396 arch/x86/kernel/apic/apic.c 		|| ((new & ~APIC_EILVT_MASKED) == old);
old               432 arch/x86/kernel/apic/apic.c 	unsigned int new, old, reserved;
old               435 arch/x86/kernel/apic/apic.c 	old = apic_read(reg);
old               446 arch/x86/kernel/apic/apic.c 	if (!eilvt_entry_is_changeable(old, new)) {
old               450 arch/x86/kernel/apic/apic.c 		       smp_processor_id(), reg, offset, new, old);
old               155 arch/x86/kernel/ftrace.c 	unsigned const char *new, *old;
old               158 arch/x86/kernel/ftrace.c 	old = ftrace_call_replace(ip, addr);
old               170 arch/x86/kernel/ftrace.c 		return ftrace_modify_code_direct(rec->ip, old, new);
old               181 arch/x86/kernel/ftrace.c 	unsigned const char *new, *old;
old               184 arch/x86/kernel/ftrace.c 	old = ftrace_nop_replace();
old               188 arch/x86/kernel/ftrace.c 	return ftrace_modify_code_direct(rec->ip, old, new);
old               249 arch/x86/kernel/ftrace.c 	unsigned char old[MCOUNT_INSN_SIZE];
old               252 arch/x86/kernel/ftrace.c 	memcpy(old, (void *)ip, MCOUNT_INSN_SIZE);
old               261 arch/x86/kernel/ftrace.c 	ret = ftrace_modify_code(ip, old, new);
old               339 arch/x86/kernel/ftrace.c static int add_break(unsigned long ip, const char *old)
old               347 arch/x86/kernel/ftrace.c 	ftrace_expected = old;
old               350 arch/x86/kernel/ftrace.c 	if (memcmp(replaced, old, MCOUNT_INSN_SIZE) != 0)
old               358 arch/x86/kernel/ftrace.c 	unsigned const char *old;
old               361 arch/x86/kernel/ftrace.c 	old = ftrace_call_replace(ip, addr);
old               363 arch/x86/kernel/ftrace.c 	return add_break(rec->ip, old);
old               369 arch/x86/kernel/ftrace.c 	unsigned const char *old;
old               371 arch/x86/kernel/ftrace.c 	old = ftrace_nop_replace();
old               373 arch/x86/kernel/ftrace.c 	return add_break(rec->ip, old);
old              1022 arch/x86/kernel/ftrace.c 	unsigned long old;
old              1064 arch/x86/kernel/ftrace.c 		: [old] "=&r" (old), [faulted] "=r" (faulted)
old              1075 arch/x86/kernel/ftrace.c 	if (function_graph_enter(old, self_addr, frame_pointer, parent))
old              1076 arch/x86/kernel/ftrace.c 		*parent = old;
old               686 arch/x86/kernel/hpet.c 	union hpet_lock old, new;
old               699 arch/x86/kernel/hpet.c 	old.lockval = READ_ONCE(hpet.lockval);
old               701 arch/x86/kernel/hpet.c 	if (arch_spin_is_locked(&old.lock))
old               733 arch/x86/kernel/hpet.c 	} while ((new.value == old.value) && arch_spin_is_locked(&new.lock));
old               125 arch/x86/kernel/ioport.c 	unsigned int old = t->iopl >> X86_EFLAGS_IOPL_BIT;
old               130 arch/x86/kernel/ioport.c 	if (level > old) {
old               903 arch/x86/kernel/mpparse.c 		unsigned char old, new;
old               906 arch/x86/kernel/mpparse.c 		old = mpf_checksum((unsigned char *)mpc, mpc->length);
old               909 arch/x86/kernel/mpparse.c 		if (old == new) {
old               986 arch/x86/kernel/tsc.c 		ref_freq = freq->old;
old               991 arch/x86/kernel/tsc.c 	if ((val == CPUFREQ_PRECHANGE  && freq->old < freq->new) ||
old               992 arch/x86/kernel/tsc.c 	    (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) {
old              2266 arch/x86/kvm/emulate.c 	u64 old = ctxt->dst.orig_val64;
old              2271 arch/x86/kvm/emulate.c 	if (((u32) (old >> 0) != (u32) reg_read(ctxt, VCPU_REGS_RAX)) ||
old              2272 arch/x86/kvm/emulate.c 	    ((u32) (old >> 32) != (u32) reg_read(ctxt, VCPU_REGS_RDX))) {
old              2273 arch/x86/kvm/emulate.c 		*reg_write(ctxt, VCPU_REGS_RAX) = (u32) (old >> 0);
old              2274 arch/x86/kvm/emulate.c 		*reg_write(ctxt, VCPU_REGS_RDX) = (u32) (old >> 32);
old               172 arch/x86/kvm/lapic.c 	struct kvm_apic_map *new, *old = NULL;
old               239 arch/x86/kvm/lapic.c 	old = rcu_dereference_protected(kvm->arch.apic_map,
old               244 arch/x86/kvm/lapic.c 	if (old)
old               245 arch/x86/kvm/lapic.c 		call_rcu(&old->rcu, kvm_apic_map_free);
old              5316 arch/x86/kvm/mmu.c static bool need_remote_flush(u64 old, u64 new)
old              5318 arch/x86/kvm/mmu.c 	if (!is_shadow_present_pte(old))
old              5322 arch/x86/kvm/mmu.c 	if ((old ^ new) & PT64_BASE_ADDR_MASK)
old              5324 arch/x86/kvm/mmu.c 	old ^= shadow_nx_mask;
old              5326 arch/x86/kvm/mmu.c 	return (old & ~new & PT64_PERM_MASK) != 0;
old              1268 arch/x86/kvm/svm.c 	int old = control->pause_filter_count;
old              1270 arch/x86/kvm/svm.c 	control->pause_filter_count = __grow_ple_window(old,
old              1275 arch/x86/kvm/svm.c 	if (control->pause_filter_count != old) {
old              1278 arch/x86/kvm/svm.c 					    control->pause_filter_count, old);
old              1286 arch/x86/kvm/svm.c 	int old = control->pause_filter_count;
old              1289 arch/x86/kvm/svm.c 				__shrink_ple_window(old,
old              1293 arch/x86/kvm/svm.c 	if (control->pause_filter_count != old) {
old              1296 arch/x86/kvm/svm.c 					    control->pause_filter_count, old);
old              4664 arch/x86/kvm/svm.c 	u64 *old, *new;
old              4671 arch/x86/kvm/svm.c 	old = avic_get_physical_id_entry(vcpu, vcpu->vcpu_id);
old              4673 arch/x86/kvm/svm.c 	if (!new || !old)
old              4677 arch/x86/kvm/svm.c 	*new = *old;
old              4678 arch/x86/kvm/svm.c 	*old = 0ULL;
old               894 arch/x86/kvm/trace.h 	TP_PROTO(unsigned int vcpu_id, unsigned int new, unsigned int old),
old               895 arch/x86/kvm/trace.h 	TP_ARGS(vcpu_id, new, old),
old               900 arch/x86/kvm/trace.h 		__field(        unsigned int,       old         )
old               906 arch/x86/kvm/trace.h 		__entry->old            = old;
old               910 arch/x86/kvm/trace.h 	          __entry->vcpu_id, __entry->old, __entry->new,
old               911 arch/x86/kvm/trace.h 		  __entry->old < __entry->new ? "growed" : "shrinked")
old              1236 arch/x86/kvm/vmx/vmx.c 	struct pi_desc old, new;
old              1262 arch/x86/kvm/vmx/vmx.c 		old.control = new.control = pi_desc->control;
old              1272 arch/x86/kvm/vmx/vmx.c 	} while (cmpxchg64(&pi_desc->control, old.control,
old              1273 arch/x86/kvm/vmx/vmx.c 			   new.control) != old.control);
old              2227 arch/x86/kvm/vmx/vmx.c 	u64 old, test_bits;
old              2240 arch/x86/kvm/vmx/vmx.c 	rdmsrl(MSR_IA32_FEATURE_CONTROL, old);
old              2247 arch/x86/kvm/vmx/vmx.c 	if ((old & test_bits) != test_bits) {
old              2249 arch/x86/kvm/vmx/vmx.c 		wrmsrl(MSR_IA32_FEATURE_CONTROL, old | test_bits);
old              5276 arch/x86/kvm/vmx/vmx.c 	unsigned int old = vmx->ple_window;
old              5278 arch/x86/kvm/vmx/vmx.c 	vmx->ple_window = __grow_ple_window(old, ple_window,
old              5282 arch/x86/kvm/vmx/vmx.c 	if (vmx->ple_window != old) {
old              5285 arch/x86/kvm/vmx/vmx.c 					    vmx->ple_window, old);
old              5292 arch/x86/kvm/vmx/vmx.c 	unsigned int old = vmx->ple_window;
old              5294 arch/x86/kvm/vmx/vmx.c 	vmx->ple_window = __shrink_ple_window(old, ple_window,
old              5298 arch/x86/kvm/vmx/vmx.c 	if (vmx->ple_window != old) {
old              5301 arch/x86/kvm/vmx/vmx.c 					    vmx->ple_window, old);
old              6088 arch/x86/kvm/vmx/vmx.c 	u8 old;
old              6094 arch/x86/kvm/vmx/vmx.c 	old = status >> 8;
old              6095 arch/x86/kvm/vmx/vmx.c 	if (max_isr != old) {
old              6105 arch/x86/kvm/vmx/vmx.c 	u8 old;
old              6111 arch/x86/kvm/vmx/vmx.c 	old = (u8)status & 0xff;
old              6112 arch/x86/kvm/vmx/vmx.c 	if ((u8)vector != old) {
old              7321 arch/x86/kvm/vmx/vmx.c 	struct pi_desc old, new;
old              7325 arch/x86/kvm/vmx/vmx.c 		old.control = new.control = pi_desc->control;
old              7326 arch/x86/kvm/vmx/vmx.c 		WARN(old.nv != POSTED_INTR_WAKEUP_VECTOR,
old              7338 arch/x86/kvm/vmx/vmx.c 	} while (cmpxchg64(&pi_desc->control, old.control,
old              7339 arch/x86/kvm/vmx/vmx.c 			   new.control) != old.control);
old              7365 arch/x86/kvm/vmx/vmx.c 	struct pi_desc old, new;
old              7385 arch/x86/kvm/vmx/vmx.c 		old.control = new.control = pi_desc->control;
old              7408 arch/x86/kvm/vmx/vmx.c 	} while (cmpxchg64(&pi_desc->control, old.control,
old              7409 arch/x86/kvm/vmx/vmx.c 			   new.control) != old.control);
old              5819 arch/x86/kvm/x86.c #define CMPXCHG_TYPE(t, ptr, old, new) \
old              5820 arch/x86/kvm/x86.c 	(cmpxchg((t *)(ptr), *(t *)(old), *(t *)(new)) == *(t *)(old))
old              5823 arch/x86/kvm/x86.c #  define CMPXCHG64(ptr, old, new) CMPXCHG_TYPE(u64, ptr, old, new)
old              5825 arch/x86/kvm/x86.c #  define CMPXCHG64(ptr, old, new) \
old              5826 arch/x86/kvm/x86.c 	(cmpxchg64((u64 *)(ptr), *(u64 *)(old), *(u64 *)(new)) == *(u64 *)(old))
old              5831 arch/x86/kvm/x86.c 				     const void *old,
old              5862 arch/x86/kvm/x86.c 		exchanged = CMPXCHG_TYPE(u8, kaddr, old, new);
old              5865 arch/x86/kvm/x86.c 		exchanged = CMPXCHG_TYPE(u16, kaddr, old, new);
old              5868 arch/x86/kvm/x86.c 		exchanged = CMPXCHG_TYPE(u32, kaddr, old, new);
old              5871 arch/x86/kvm/x86.c 		exchanged = CMPXCHG64(kaddr, old, new);
old              7085 arch/x86/kvm/x86.c 	if (freq->old < freq->new && send_ipi) {
old              7108 arch/x86/kvm/x86.c 	if (val == CPUFREQ_PRECHANGE && freq->old > freq->new)
old              7110 arch/x86/kvm/x86.c 	if (val == CPUFREQ_POSTCHANGE && freq->old < freq->new)
old              9627 arch/x86/kvm/x86.c 	struct kvm_memory_slot *slot, old;
old              9653 arch/x86/kvm/x86.c 	old = *slot;
old              9668 arch/x86/kvm/x86.c 		vm_munmap(old.userspace_addr, old.npages * PAGE_SIZE);
old              9890 arch/x86/kvm/x86.c 				const struct kvm_memory_slot *old,
old              9916 arch/x86/kvm/x86.c 		(old->flags & KVM_MEM_LOG_DIRTY_PAGES) &&
old               127 arch/x86/mm/kmmio.c static void clear_pmd_presence(pmd_t *pmd, bool clear, pmdval_t *old)
old               132 arch/x86/mm/kmmio.c 		*old = v;
old               136 arch/x86/mm/kmmio.c 		new_pmd = __pmd(*old);
old               141 arch/x86/mm/kmmio.c static void clear_pte_presence(pte_t *pte, bool clear, pteval_t *old)
old               145 arch/x86/mm/kmmio.c 		*old = v;
old               150 arch/x86/mm/kmmio.c 		set_pte_atomic(pte, __pte(*old));
old               268 arch/x86/power/hibernate.c 		enum cpuhp_smt_control old = cpu_smt_control;
old               273 arch/x86/power/hibernate.c 		ret = cpuhp_smt_disable(old);
old                24 arch/x86/um/bugs_32.c 	struct sigaction old, new;
old                32 arch/x86/um/bugs_32.c 	sigaction(SIGILL, &new, &old);
old                41 arch/x86/um/bugs_32.c 	sigaction(SIGILL, &old, &new);
old                70 arch/x86/um/os-Linux/task_size.c 	struct sigaction sa, old;
old                93 arch/x86/um/os-Linux/task_size.c 	if (sigaction(SIGSEGV, &sa, &old)) {
old               133 arch/x86/um/os-Linux/task_size.c 	if (sigaction(SIGSEGV, &old, NULL)) {
old                24 arch/xtensa/include/asm/cmpxchg.h __cmpxchg_u32(volatile int *p, int old, int new)
old                38 arch/xtensa/include/asm/cmpxchg.h 			: "a" (new), "a" (p), "a" (old)
old                48 arch/xtensa/include/asm/cmpxchg.h 			: "a" (p), "a" (old)
old                62 arch/xtensa/include/asm/cmpxchg.h 			: "=&a" (old)
old                63 arch/xtensa/include/asm/cmpxchg.h 			: "a" (p), "a" (old), "r" (new)
old                65 arch/xtensa/include/asm/cmpxchg.h 	return old;
old                74 arch/xtensa/include/asm/cmpxchg.h __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size)
old                77 arch/xtensa/include/asm/cmpxchg.h 	case 4:  return __cmpxchg_u32(ptr, old, new);
old                79 arch/xtensa/include/asm/cmpxchg.h 		 return old;
old                93 arch/xtensa/include/asm/cmpxchg.h 				      unsigned long old,
old                98 arch/xtensa/include/asm/cmpxchg.h 		return __cmpxchg_u32(ptr, old, new);
old               100 arch/xtensa/include/asm/cmpxchg.h 		return __cmpxchg_local_generic(ptr, old, new, size);
old               103 arch/xtensa/include/asm/cmpxchg.h 	return old;
old                20 arch/xtensa/include/asm/futex.h #define __futex_atomic_op(insn, ret, old, uaddr, arg)	\
old                39 arch/xtensa/include/asm/futex.h 	: [oldval] "=&r" (old), [newval] "=&r" (ret)	\
old                44 arch/xtensa/include/asm/futex.h #define __futex_atomic_op(insn, ret, old, uaddr, arg)	\
old                63 arch/xtensa/include/asm/futex.h 	: [oldval] "=&r" (old), [newval] "=&r" (ret)	\
old              1641 block/blk-cgroup.c 	u64 old = atomic64_read(&blkg->delay_start);
old              1656 block/blk-cgroup.c 	if (time_before64(old + NSEC_PER_SEC, now) &&
old              1657 block/blk-cgroup.c 	    atomic64_cmpxchg(&blkg->delay_start, old, now) == old) {
old              1659 block/blk-cgroup.c 		u64 sub = min_t(u64, blkg->last_delay, now - old);
old               329 block/blk-iolatency.c 	unsigned long old = atomic_read(&lat_info->scale_cookie);
old               333 block/blk-iolatency.c 	if (old < DEFAULT_SCALE_COOKIE)
old               334 block/blk-iolatency.c 		diff = DEFAULT_SCALE_COOKIE - old;
old               337 block/blk-iolatency.c 		if (scale + old > DEFAULT_SCALE_COOKIE)
old               369 block/blk-iolatency.c 	unsigned long old = iolat->rq_depth.max_depth;
old               371 block/blk-iolatency.c 	if (old > qd)
old               372 block/blk-iolatency.c 		old = qd;
old               375 block/blk-iolatency.c 		if (old == 1 && blkcg_unuse_delay(lat_to_blkg(iolat)))
old               378 block/blk-iolatency.c 		if (old < qd) {
old               379 block/blk-iolatency.c 			old += scale;
old               380 block/blk-iolatency.c 			old = min(old, qd);
old               381 block/blk-iolatency.c 			iolat->rq_depth.max_depth = old;
old               385 block/blk-iolatency.c 		old >>= 1;
old               386 block/blk-iolatency.c 		iolat->rq_depth.max_depth = max(old, 1UL);
old               398 block/blk-iolatency.c 	unsigned int old;
old               419 block/blk-iolatency.c 	old = atomic_cmpxchg(&iolat->scale_cookie, our_cookie, cur_cookie);
old               422 block/blk-iolatency.c 	if (old != our_cookie)
old                14 block/blk-rq-qos.c 		unsigned int old;
old                18 block/blk-rq-qos.c 		old = atomic_cmpxchg(v, cur, cur + 1);
old                19 block/blk-rq-qos.c 		if (old == cur)
old                21 block/blk-rq-qos.c 		cur = old;
old              1254 drivers/acpi/battery.c 	struct power_supply *old;
old              1258 drivers/acpi/battery.c 	old = battery->bat;
old              1275 drivers/acpi/battery.c 	if (old && battery->bat)
old               101 drivers/amba/bus.c 	char *driver_override, *old, *cp;
old               116 drivers/amba/bus.c 	old = dev->driver_override;
old               125 drivers/amba/bus.c 	kfree(old);
old               962 drivers/ata/sata_mv.c static inline void mv_write_cached_reg(void __iomem *addr, u32 *old, u32 new)
old               964 drivers/ata/sata_mv.c 	if (new != *old) {
old               966 drivers/ata/sata_mv.c 		*old = new;
old              1510 drivers/ata/sata_mv.c 	u32 old, new;
old              1513 drivers/ata/sata_mv.c 	old = readl(hpriv->base + GPIO_PORT_CTL);
old              1515 drivers/ata/sata_mv.c 		new = old | (1 << 22);
old              1517 drivers/ata/sata_mv.c 		new = old & ~(1 << 22);
old              1518 drivers/ata/sata_mv.c 	if (new != old)
old              1537 drivers/ata/sata_mv.c 	u32 new, *old = &pp->cached.unknown_rsvd;
old              1540 drivers/ata/sata_mv.c 		new = *old | 1;
old              1542 drivers/ata/sata_mv.c 		new = *old & ~1;
old              1543 drivers/ata/sata_mv.c 	mv_write_cached_reg(mv_ap_base(ap) + EDMA_UNKNOWN_RSVD, old, new);
old              3594 drivers/ata/sata_mv.c 		int old = reg & 0xf;
old              3596 drivers/ata/sata_mv.c 		if (old != pmp) {
old               974 drivers/base/platform.c 	char *driver_override, *old, *cp;
old               989 drivers/base/platform.c 	old = pdev->driver_override;
old               998 drivers/base/platform.c 	kfree(old);
old              2040 drivers/block/drbd/drbd_worker.c 	unsigned long old, new;
old              2042 drivers/block/drbd/drbd_worker.c 		old = *flags;
old              2043 drivers/block/drbd/drbd_worker.c 		new = old & ~DRBD_DEVICE_WORK_MASK;
old              2044 drivers/block/drbd/drbd_worker.c 	} while (cmpxchg(flags, old, new) != old);
old              2045 drivers/block/drbd/drbd_worker.c 	return old & DRBD_DEVICE_WORK_MASK;
old              1060 drivers/block/nbd.c 	struct socket *sock, *old;
old              1091 drivers/block/nbd.c 		old = nsock->sock;
old              1100 drivers/block/nbd.c 		sockfd_put(old);
old               429 drivers/block/xen-blkfront.c 		unsigned long *bitmap, *old;
old               438 drivers/block/xen-blkfront.c 			old = minors;
old               444 drivers/block/xen-blkfront.c 			old = bitmap;
old               446 drivers/block/xen-blkfront.c 		kfree(old);
old               319 drivers/clocksource/arm_arch_timer.c 	u64 old, new;
old               321 drivers/clocksource/arm_arch_timer.c 	old = read_sysreg(cntpct_el0);
old               323 drivers/clocksource/arm_arch_timer.c 	return (((old ^ new) >> 32) & 1) ? old : new;
old               328 drivers/clocksource/arm_arch_timer.c 	u64 old, new;
old               330 drivers/clocksource/arm_arch_timer.c 	old = read_sysreg(cntvct_el0);
old               332 drivers/clocksource/arm_arch_timer.c 	return (((old ^ new) >> 32) & 1) ? old : new;
old                52 drivers/clocksource/timer-sun4i.c 	u32 old = readl(base + TIMER_CNTVAL_REG(1));
old                54 drivers/clocksource/timer-sun4i.c 	while ((old - readl(base + TIMER_CNTVAL_REG(1))) < TIMER_SYNC_TICKS)
old                75 drivers/clocksource/timer-sun5i.c 	u32 old = readl(ce->timer.base + TIMER_CNTVAL_LO_REG(1));
old                77 drivers/clocksource/timer-sun5i.c 	while ((old - readl(ce->timer.base + TIMER_CNTVAL_LO_REG(1))) < TIMER_SYNC_TICKS)
old               206 drivers/cpufreq/cppc_cpufreq.c 	freqs.old = policy->cur;
old               262 drivers/cpufreq/cpufreq-nforce2.c 	freqs.old = nforce2_get(policy->cpu);
old               265 drivers/cpufreq/cpufreq-nforce2.c 	if (freqs.old == freqs.new)
old               269 drivers/cpufreq/cpufreq-nforce2.c 	       freqs.old, freqs.new);
old               315 drivers/cpufreq/cpufreq.c 		l_p_j_ref_freq = ci->old;
old               319 drivers/cpufreq/cpufreq.c 	if (val == CPUFREQ_POSTCHANGE && ci->old != ci->new) {
old               361 drivers/cpufreq/cpufreq.c 		if (policy->cur && policy->cur != freqs->old) {
old               363 drivers/cpufreq/cpufreq.c 				 freqs->old, policy->cur);
old               364 drivers/cpufreq/cpufreq.c 			freqs->old = policy->cur;
old               397 drivers/cpufreq/cpufreq.c 	swap(freqs->old, freqs->new);
old              1647 drivers/cpufreq/cpufreq.c 	freqs.old = policy->cur;
old              2043 drivers/cpufreq/cpufreq.c 		 __func__, policy->cpu, freqs->old, freqs->new);
old              2058 drivers/cpufreq/cpufreq.c 	struct cpufreq_freqs freqs = {.old = policy->cur, .flags = 0};
old              2078 drivers/cpufreq/cpufreq.c 				freqs.old = freqs.new;
old              2083 drivers/cpufreq/cpufreq.c 			 __func__, policy->cpu, freqs.old, freqs.new);
old              2103 drivers/cpufreq/cpufreq.c 			freqs.old = intermediate_freq;
old               257 drivers/cpufreq/gx-suspmod.c 	freqs.old = gx_get_cpuspeed(0);
old              2330 drivers/cpufreq/intel_pstate.c 	freqs.old = policy->cur;
old               271 drivers/cpufreq/longhaul.c 	freqs.old = calc_speed(longhaul_get_cpu_mult());
old               963 drivers/cpufreq/longhaul.c 			freqs.old = policy->cur;
old               215 drivers/cpufreq/pcc-cpufreq.c 	freqs.old = policy->cur;
old               230 drivers/cpufreq/powernow-k6.c 			freqs.old = policy->cur;
old               265 drivers/cpufreq/powernow-k7.c 	freqs.old = fsb * fid_codes[cfid] / 10;
old               274 drivers/cpufreq/powernow-k7.c 	if (freqs.old > freqs.new) {
old               912 drivers/cpufreq/powernow-k8.c 	freqs.old = find_khz_freq_from_fid(data->currfid);
old               198 drivers/cpufreq/s3c24xx-cpufreq.c 	freqs.old = cpu_cur.freq;
old               201 drivers/cpufreq/s3c24xx-cpufreq.c 	freqs.freqs.old = cpu_cur.freq.armclk / 1000;
old                66 drivers/cpufreq/sh-cpufreq.c 	freqs.old	= sh_cpufreq_get(cpu);
old                41 drivers/cpufreq/unicore2-cpufreq.c 	freqs.old = policy->cur;
old               301 drivers/devfreq/devfreq.c 	freqs.old = cur_freq;
old               150 drivers/dma-buf/dma-resv.c 	struct dma_resv_list *old, *new;
old               155 drivers/dma-buf/dma-resv.c 	old = dma_resv_get_list(obj);
old               157 drivers/dma-buf/dma-resv.c 	if (old && old->shared_max) {
old               158 drivers/dma-buf/dma-resv.c 		if ((old->shared_count + num_fences) <= old->shared_max)
old               161 drivers/dma-buf/dma-resv.c 			max = max(old->shared_count + num_fences,
old               162 drivers/dma-buf/dma-resv.c 				  old->shared_max * 2);
old               177 drivers/dma-buf/dma-resv.c 	for (i = 0, j = 0, k = max; i < (old ? old->shared_count : 0); ++i) {
old               180 drivers/dma-buf/dma-resv.c 		fence = rcu_dereference_protected(old->shared[i],
old               199 drivers/dma-buf/dma-resv.c 	if (!old)
old               210 drivers/dma-buf/dma-resv.c 	kfree_rcu(old, rcu);
old               227 drivers/dma-buf/dma-resv.c 	struct dma_fence *old;
old               242 drivers/dma-buf/dma-resv.c 		old = rcu_dereference_protected(fobj->shared[i],
old               244 drivers/dma-buf/dma-resv.c 		if (old->context == fence->context ||
old               245 drivers/dma-buf/dma-resv.c 		    dma_fence_is_signaled(old))
old               250 drivers/dma-buf/dma-resv.c 	old = NULL;
old               260 drivers/dma-buf/dma-resv.c 	dma_fence_put(old);
old               274 drivers/dma-buf/dma-resv.c 	struct dma_resv_list *old;
old               279 drivers/dma-buf/dma-resv.c 	old = dma_resv_get_list(obj);
old               280 drivers/dma-buf/dma-resv.c 	if (old)
old               281 drivers/dma-buf/dma-resv.c 		i = old->shared_count;
old               290 drivers/dma-buf/dma-resv.c 	if (old)
old               291 drivers/dma-buf/dma-resv.c 		old->shared_count = 0;
old               297 drivers/dma-buf/dma-resv.c 		dma_fence_put(rcu_dereference_protected(old->shared[i],
old               314 drivers/dma-buf/dma-resv.c 	struct dma_fence *old, *new;
old               369 drivers/dma-buf/dma-resv.c 	old = dma_resv_get_excl(dst);
old               380 drivers/dma-buf/dma-resv.c 	dma_fence_put(old);
old               879 drivers/firewire/core-device.c 	struct fw_device *old = fw_device(dev);
old               890 drivers/firewire/core-device.c 	if (memcmp(old->config_rom, new->config_rom, 6 * 4) == 0 &&
old               891 drivers/firewire/core-device.c 	    atomic_cmpxchg(&old->state,
old               895 drivers/firewire/core-device.c 		struct fw_node *obsolete_node = old->node;
old               899 drivers/firewire/core-device.c 		old->node = current_node;
old               900 drivers/firewire/core-device.c 		old->node->data = old;
old               902 drivers/firewire/core-device.c 		old->max_speed = new->max_speed;
old               903 drivers/firewire/core-device.c 		old->node_id = current_node->node_id;
old               905 drivers/firewire/core-device.c 		old->generation = card->generation;
old               906 drivers/firewire/core-device.c 		old->config_rom_retries = 0;
old               909 drivers/firewire/core-device.c 		old->workfn = fw_device_update;
old               910 drivers/firewire/core-device.c 		fw_schedule_device_work(old, 0);
old               214 drivers/firewire/core-iso.c 	int try, new, old = allocate ? BANDWIDTH_AVAILABLE_INITIAL : 0;
old               223 drivers/firewire/core-iso.c 		new = allocate ? old - bandwidth : old + bandwidth;
old               227 drivers/firewire/core-iso.c 		data[0] = cpu_to_be32(old);
old               238 drivers/firewire/core-iso.c 			if (be32_to_cpup(data) == old)
old               241 drivers/firewire/core-iso.c 			old = be32_to_cpup(data);
old               252 drivers/firewire/core-iso.c 	__be32 bit, all, old;
old               256 drivers/firewire/core-iso.c 	old = all = allocate ? cpu_to_be32(~0) : 0;
old               265 drivers/firewire/core-iso.c 		if ((old & bit) != (all & bit))
old               268 drivers/firewire/core-iso.c 		data[0] = old;
old               269 drivers/firewire/core-iso.c 		data[1] = old ^ bit;
old               278 drivers/firewire/core-iso.c 			if (data[0] == old)
old               281 drivers/firewire/core-iso.c 			old = data[0];
old               411 drivers/firewire/net.c static void fwnet_pd_delete(struct fwnet_partial_datagram *old)
old               415 drivers/firewire/net.c 	list_for_each_entry_safe(fi, n, &old->fi_list, fi_link)
old               418 drivers/firewire/net.c 	list_del(&old->pd_link);
old               419 drivers/firewire/net.c 	dev_kfree_skb_any(old->skb);
old               420 drivers/firewire/net.c 	kfree(old);
old               263 drivers/firmware/efi/memmap.c 	void *old, *new;
old               281 drivers/firmware/efi/memmap.c 	for (old = old_memmap->map, new = buf;
old               282 drivers/firmware/efi/memmap.c 	     old < old_memmap->map_end;
old               283 drivers/firmware/efi/memmap.c 	     old += old_memmap->desc_size, new += old_memmap->desc_size) {
old               286 drivers/firmware/efi/memmap.c 		memcpy(new, old, old_memmap->desc_size);
old               302 drivers/firmware/efi/memmap.c 			memcpy(new, old, old_memmap->desc_size);
old               315 drivers/firmware/efi/memmap.c 			memcpy(new, old, old_memmap->desc_size);
old               323 drivers/firmware/efi/memmap.c 			memcpy(new, old, old_memmap->desc_size);
old               337 drivers/firmware/efi/memmap.c 			memcpy(new, old, old_memmap->desc_size);
old               211 drivers/gpio/gpio-stmpe.c 			u8 old = stmpe_gpio->oldregs[i][j];
old               214 drivers/gpio/gpio-stmpe.c 			if (new == old)
old               205 drivers/gpio/gpio-tc3589x.c 			u8 old = tc3589x_gpio->oldregs[i][j];
old               208 drivers/gpio/gpio-tc3589x.c 			if (new == old)
old               590 drivers/gpio/gpiolib-acpi.c 	enum gpiod_flags old = *flags;
old               593 drivers/gpio/gpiolib-acpi.c 	ret = __acpi_gpio_update_gpiod_flags(&old, info->flags);
old               600 drivers/gpio/gpiolib-acpi.c 		*flags = old;
old               222 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 	struct dma_resv_list *old, *new;
old               228 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 	old = dma_resv_get_list(resv);
old               229 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 	if (!old)
old               232 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 	new = kmalloc(offsetof(typeof(*new), shared[old->shared_max]),
old               240 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 	for (i = 0, j = old->shared_count, k = 0; i < old->shared_count; ++i) {
old               243 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 		f = rcu_dereference_protected(old->shared[i],
old               251 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 	new->shared_max = old->shared_max;
old               262 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 	for (i = j, k = 0; i < old->shared_count; ++i) {
old               269 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 	kfree_rcu(old, rcu);
old               273 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c 	struct amdgpu_bo_list *list, *old;
old               309 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c 		old = idr_replace(&fpriv->bo_list_handles, list, handle);
old               312 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c 		if (IS_ERR(old)) {
old               313 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c 			r = PTR_ERR(old);
old               317 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c 		amdgpu_bo_list_put(old);
old              1053 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 			struct dma_fence *old = fence;
old              1057 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 			dma_fence_put(old);
old               160 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c 		struct dma_fence *old;
old               163 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c 		old = dma_fence_get_rcu_safe(ptr);
old               166 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c 		if (old) {
old               167 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c 			r = dma_fence_wait(old, false);
old               168 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c 			dma_fence_put(old);
old               182 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 	unsigned int old;
old               190 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 	old = test_and_clear_bit(q->doorbell_id, qpd->doorbell_bitmap);
old               191 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 	WARN_ON(!old);
old              2244 drivers/gpu/drm/amd/display/dc/core/dc.c 		struct dc_state *old = dc->current_state;
old              2247 drivers/gpu/drm/amd/display/dc/core/dc.c 		dc_release_state(old);
old               218 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 		     struct drm_crtc_state *old)
old               234 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 		komeda_pipeline_update(master, old->state);
old               237 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 		komeda_pipeline_update(slave, old->state);
old               249 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 			  struct drm_crtc_state *old)
old               254 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	komeda_crtc_do_flush(crtc, old);
old               259 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 			   struct drm_crtc_state *old)
old               262 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	struct komeda_crtc_state *old_st = to_kcrtc_st(old);
old               275 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 		komeda_pipeline_disable(slave, old->state);
old               278 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 		komeda_pipeline_disable(master, old->state);
old               300 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 		pipe_st = komeda_pipeline_get_old_state(master, old->state);
old               330 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 			 struct drm_crtc_state *old)
old               336 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	komeda_crtc_do_flush(crtc, old);
old               452 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	struct komeda_crtc_state *old = to_kcrtc_st(crtc->state);
old               461 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	new->affected_pipes = old->active_pipes;
old               462 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	new->clock_ratio = old->clock_ratio;
old               463 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	new->max_slave_zorder = old->max_slave_zorder;
old                15 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c static inline bool is_switching_user(void *old, void *new)
old                17 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c 	if (!old || !new)
old                20 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c 	return old != new;
old              1179 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c 	struct komeda_pipeline_state *old = priv_to_pipe_st(pipe->obj.state);
old              1184 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c 	WARN_ON(!old);
old              1186 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c 	disabling_comps = (~new->active_comps) & old->active_comps;
old              1224 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c 	struct komeda_pipeline_state *old;
old              1229 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c 	old = komeda_pipeline_get_old_state(pipe, old_state);
old              1231 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c 	disabling_comps = old->active_comps;
old              1257 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c 	struct komeda_pipeline_state *old;
old              1261 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c 	old = komeda_pipeline_get_old_state(pipe, old_state);
old              1263 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c 	changed_comps = new->active_comps | old->active_comps;
old               276 drivers/gpu/drm/drm_context.c static int drm_context_switch(struct drm_device * dev, int old, int new)
old               283 drivers/gpu/drm/drm_context.c 	DRM_DEBUG("Context switch from %d to %d\n", old, new);
old                62 drivers/gpu/drm/drm_lock.c 	unsigned int old, new, prev;
old                67 drivers/gpu/drm/drm_lock.c 		old = *lock;
old                68 drivers/gpu/drm/drm_lock.c 		if (old & _DRM_LOCK_HELD)
old                69 drivers/gpu/drm/drm_lock.c 			new = old | _DRM_LOCK_CONT;
old                75 drivers/gpu/drm/drm_lock.c 		prev = cmpxchg(lock, old, new);
old                76 drivers/gpu/drm/drm_lock.c 	} while (prev != old);
old                79 drivers/gpu/drm/drm_lock.c 	if (_DRM_LOCKING_CONTEXT(old) == context) {
old                80 drivers/gpu/drm/drm_lock.c 		if (old & _DRM_LOCK_HELD) {
old               111 drivers/gpu/drm/drm_lock.c 	unsigned int old, new, prev;
old               116 drivers/gpu/drm/drm_lock.c 		old = *lock;
old               118 drivers/gpu/drm/drm_lock.c 		prev = cmpxchg(lock, old, new);
old               119 drivers/gpu/drm/drm_lock.c 	} while (prev != old);
old               126 drivers/gpu/drm/drm_lock.c 	unsigned int old, new, prev;
old               139 drivers/gpu/drm/drm_lock.c 		old = *lock;
old               140 drivers/gpu/drm/drm_lock.c 		new = _DRM_LOCKING_CONTEXT(old);
old               141 drivers/gpu/drm/drm_lock.c 		prev = cmpxchg(lock, old, new);
old               142 drivers/gpu/drm/drm_lock.c 	} while (prev != old);
old               144 drivers/gpu/drm/drm_lock.c 	if (_DRM_LOCK_IS_HELD(old) && _DRM_LOCKING_CONTEXT(old) != context) {
old               146 drivers/gpu/drm/drm_lock.c 			  context, _DRM_LOCKING_CONTEXT(old));
old               312 drivers/gpu/drm/drm_lock.c 	unsigned int old, prev;
old               319 drivers/gpu/drm/drm_lock.c 				old = *lock;
old               320 drivers/gpu/drm/drm_lock.c 				prev = cmpxchg(lock, old, DRM_KERNEL_CONTEXT);
old               321 drivers/gpu/drm/drm_lock.c 			} while (prev != old);
old               604 drivers/gpu/drm/drm_mm.c void drm_mm_replace_node(struct drm_mm_node *old, struct drm_mm_node *new)
old               606 drivers/gpu/drm/drm_mm.c 	struct drm_mm *mm = old->mm;
old               608 drivers/gpu/drm/drm_mm.c 	DRM_MM_BUG_ON(!old->allocated);
old               610 drivers/gpu/drm/drm_mm.c 	*new = *old;
old               612 drivers/gpu/drm/drm_mm.c 	list_replace(&old->node_list, &new->node_list);
old               613 drivers/gpu/drm/drm_mm.c 	rb_replace_node_cached(&old->rb, &new->rb, &mm->interval_tree);
old               615 drivers/gpu/drm/drm_mm.c 	if (drm_mm_hole_follows(old)) {
old               616 drivers/gpu/drm/drm_mm.c 		list_replace(&old->hole_stack, &new->hole_stack);
old               617 drivers/gpu/drm/drm_mm.c 		rb_replace_node_cached(&old->rb_hole_size,
old               620 drivers/gpu/drm/drm_mm.c 		rb_replace_node(&old->rb_hole_addr,
old               625 drivers/gpu/drm/drm_mm.c 	old->allocated = false;
old               622 drivers/gpu/drm/drm_probe_helper.c 			const char *old, *new;
old               642 drivers/gpu/drm/drm_probe_helper.c 			old = drm_get_connector_status_name(old_status);
old               649 drivers/gpu/drm/drm_probe_helper.c 				      old, new);
old               706 drivers/gpu/drm/exynos/exynos_hdmi.c 	u32 old;
old               709 drivers/gpu/drm/exynos/exynos_hdmi.c 	old = readl(hdata->regs + reg_id);
old               710 drivers/gpu/drm/exynos/exynos_hdmi.c 	value = (value & mask) | (old & ~mask);
old               196 drivers/gpu/drm/exynos/exynos_mixer.c 	u32 old = vp_reg_read(ctx, reg_id);
old               198 drivers/gpu/drm/exynos/exynos_mixer.c 	val = (val & mask) | (old & ~mask);
old               216 drivers/gpu/drm/exynos/exynos_mixer.c 	u32 old = mixer_reg_read(ctx, reg_id);
old               218 drivers/gpu/drm/exynos/exynos_mixer.c 	val = (val & mask) | (old & ~mask);
old              11088 drivers/gpu/drm/i915/display/intel_display.c 			       struct intel_load_detect_pipe *old,
old              11109 drivers/gpu/drm/i915/display/intel_display.c 	old->restore_state = NULL;
old              11221 drivers/gpu/drm/i915/display/intel_display.c 	old->restore_state = restore_state;
old              11245 drivers/gpu/drm/i915/display/intel_display.c 				    struct intel_load_detect_pipe *old,
old              11251 drivers/gpu/drm/i915/display/intel_display.c 	struct drm_atomic_state *state = old->restore_state;
old               468 drivers/gpu/drm/i915/display/intel_display.h 			       struct intel_load_detect_pipe *old,
old               471 drivers/gpu/drm/i915/display/intel_display.h 				    struct intel_load_detect_pipe *old,
old               111 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 					     bool enable, bool old)
old               124 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 		if (old && I915_READ(reg) & PIPE_FIFO_UNDERRUN_STATUS)
old               162 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 						  bool enable, bool old)
old               175 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 		if (old &&
old               229 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 					    bool enable, bool old)
old               244 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 		if (old && I915_READ(SERR_INT) &
old               257 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 	bool old;
old               261 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 	old = !crtc->cpu_fifo_underrun_disabled;
old               265 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 		i9xx_set_fifo_underrun_reporting(dev, pipe, enable, old);
old               269 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 		ivybridge_set_fifo_underrun_reporting(dev, pipe, enable, old);
old               273 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 	return old;
old               327 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 	bool old;
old               340 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 	old = !crtc->pch_fifo_underrun_disabled;
old               350 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 						enable, old);
old               353 drivers/gpu/drm/i915/display/intel_fifo_underrun.c 	return old;
old               285 drivers/gpu/drm/i915/display/intel_frontbuffer.c void intel_frontbuffer_track(struct intel_frontbuffer *old,
old               299 drivers/gpu/drm/i915/display/intel_frontbuffer.c 	if (old) {
old               300 drivers/gpu/drm/i915/display/intel_frontbuffer.c 		WARN_ON(!(atomic_read(&old->bits) & frontbuffer_bits));
old               301 drivers/gpu/drm/i915/display/intel_frontbuffer.c 		atomic_andnot(frontbuffer_bits, &old->bits);
old               118 drivers/gpu/drm/i915/display/intel_frontbuffer.h void intel_frontbuffer_track(struct intel_frontbuffer *old,
old               478 drivers/gpu/drm/i915/gem/i915_gem_context.c 	struct i915_address_space *old = ctx->vm;
old               480 drivers/gpu/drm/i915/gem/i915_gem_context.c 	GEM_BUG_ON(old && i915_vm_is_4lvl(vm) != i915_vm_is_4lvl(old));
old               485 drivers/gpu/drm/i915/gem/i915_gem_context.c 	return old;
old               502 drivers/gpu/drm/i915/gem/i915_gem_context.c 	struct intel_timeline *old = *dst;
old               506 drivers/gpu/drm/i915/gem/i915_gem_context.c 	if (old)
old               507 drivers/gpu/drm/i915/gem/i915_gem_context.c 		intel_timeline_put(old);
old               976 drivers/gpu/drm/i915/gem/i915_gem_context.c 	struct i915_address_space *old = data;
old               978 drivers/gpu/drm/i915/gem/i915_gem_context.c 	if (INTEL_GEN(old->i915) < 8)
old               979 drivers/gpu/drm/i915/gem/i915_gem_context.c 		gen6_ppgtt_unpin_all(i915_vm_to_ppgtt(old));
old               981 drivers/gpu/drm/i915/gem/i915_gem_context.c 	i915_vm_put(old);
old              1047 drivers/gpu/drm/i915/gem/i915_gem_context.c 	struct i915_address_space *vm, *old;
old              1082 drivers/gpu/drm/i915/gem/i915_gem_context.c 	old = __set_ppgtt(ctx, vm);
old              1093 drivers/gpu/drm/i915/gem/i915_gem_context.c 				   old);
old              1095 drivers/gpu/drm/i915/gem/i915_gem_context.c 		i915_vm_put(__set_ppgtt(ctx, old));
old              1096 drivers/gpu/drm/i915/gem/i915_gem_context.c 		i915_vm_put(old);
old               209 drivers/gpu/drm/i915/gt/intel_engine_user.c 		char old[sizeof(engine->name)];
old               218 drivers/gpu/drm/i915/gt/intel_engine_user.c 		memcpy(old, engine->name, sizeof(engine->name));
old               222 drivers/gpu/drm/i915/gt/intel_engine_user.c 		DRM_DEBUG_DRIVER("renamed %s to %s\n", old, engine->name);
old               577 drivers/gpu/drm/i915/gt/intel_lrc.c 	struct intel_engine_cs *old;
old               582 drivers/gpu/drm/i915/gt/intel_lrc.c 	old = READ_ONCE(ce->inflight);
old               584 drivers/gpu/drm/i915/gt/intel_lrc.c 		if (!old) {
old               588 drivers/gpu/drm/i915/gt/intel_lrc.c 	} while (!try_cmpxchg(&ce->inflight, &old, ptr_inc(old)));
old               632 drivers/gpu/drm/i915/gt/intel_lrc.c 	struct intel_engine_cs *cur, *old;
old               636 drivers/gpu/drm/i915/gt/intel_lrc.c 	old = READ_ONCE(ce->inflight);
old               638 drivers/gpu/drm/i915/gt/intel_lrc.c 		cur = ptr_unmask_bits(old, 2) ? ptr_dec(old) : NULL;
old               639 drivers/gpu/drm/i915/gt/intel_lrc.c 	while (!try_cmpxchg(&ce->inflight, &old, cur));
old               641 drivers/gpu/drm/i915/gt/intel_lrc.c 		__execlists_schedule_out(rq, old);
old               912 drivers/gpu/drm/i915/gt/intel_lrc.c 	struct intel_engine_cs *old = ve->siblings[0];
old               916 drivers/gpu/drm/i915/gt/intel_lrc.c 	spin_lock(&old->breadcrumbs.irq_lock);
old               922 drivers/gpu/drm/i915/gt/intel_lrc.c 	spin_unlock(&old->breadcrumbs.irq_lock);
old              3633 drivers/gpu/drm/i915/gt/intel_lrc.c 	struct i915_request *old;
old              3645 drivers/gpu/drm/i915/gt/intel_lrc.c 	old = ve->request;
old              3646 drivers/gpu/drm/i915/gt/intel_lrc.c 	if (old) { /* background completion event from preempt-to-busy */
old              3647 drivers/gpu/drm/i915/gt/intel_lrc.c 		GEM_BUG_ON(!i915_request_completed(old));
old              3648 drivers/gpu/drm/i915/gt/intel_lrc.c 		__i915_request_submit(old);
old              3649 drivers/gpu/drm/i915/gt/intel_lrc.c 		i915_request_put(old);
old               741 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		struct i915_request *old = rq[idx];
old               760 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		err = active_request_put(old);
old               382 drivers/gpu/drm/i915/gt/selftest_workarounds.c static u32 reg_write(u32 old, u32 new, u32 rsvd)
old               385 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		old &= ~(new >> 16);
old               386 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		old |= new & (new >> 16);
old               388 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		old &= ~rsvd;
old               389 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		old |= new & rsvd;
old               392 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	return old;
old                72 drivers/gpu/drm/i915/gvt/cfg_space.c 	u8 mask, new, old;
old                77 drivers/gpu/drm/i915/gvt/cfg_space.c 		old = cfg_base[off + i];
old                86 drivers/gpu/drm/i915/gvt/cfg_space.c 			new = (~new & old) & mask;
old                88 drivers/gpu/drm/i915/gvt/cfg_space.c 		cfg_base[off + i] = (old & ~mask) | new;
old               178 drivers/gpu/drm/i915/gvt/cfg_space.c 	u8 old = vgpu_cfg_space(vgpu)[offset];
old               180 drivers/gpu/drm/i915/gvt/cfg_space.c 	u8 changed = old ^ new;
old               187 drivers/gpu/drm/i915/gvt/cfg_space.c 	if (old & PCI_COMMAND_MEMORY) {
old              1428 drivers/gpu/drm/i915/gvt/gtt.c 	struct intel_gvt_gtt_entry old, new;
old              1435 drivers/gpu/drm/i915/gvt/gtt.c 	old.type = new.type = get_entry_type(spt->guest_page.type);
old              1436 drivers/gpu/drm/i915/gvt/gtt.c 	old.val64 = new.val64 = 0;
old              1440 drivers/gpu/drm/i915/gvt/gtt.c 		ops->get_entry(oos_page->mem, &old, index, false, 0, vgpu);
old              1444 drivers/gpu/drm/i915/gvt/gtt.c 		if (old.val64 == new.val64
old               272 drivers/gpu/drm/i915/gvt/handlers.c #define CALC_MODE_MASK_REG(old, new) \
old               274 drivers/gpu/drm/i915/gvt/handlers.c 	 | ((((old) & GENMASK(15, 0)) & ~((new) >> 16)) \
old               280 drivers/gpu/drm/i915/gvt/handlers.c 	u32 old, new;
old               283 drivers/gpu/drm/i915/gvt/handlers.c 	old = vgpu_vreg(vgpu, offset);
old               284 drivers/gpu/drm/i915/gvt/handlers.c 	new = CALC_MODE_MASK_REG(old, *(u32 *)p_data);
old               219 drivers/gpu/drm/i915/i915_gem_fence_reg.c 	struct i915_vma *old;
old               238 drivers/gpu/drm/i915/i915_gem_fence_reg.c 	old = xchg(&fence->vma, NULL);
old               239 drivers/gpu/drm/i915/i915_gem_fence_reg.c 	if (old) {
old               240 drivers/gpu/drm/i915/i915_gem_fence_reg.c 		ret = i915_active_wait(&old->active);
old               242 drivers/gpu/drm/i915/i915_gem_fence_reg.c 			fence->vma = old;
old               246 drivers/gpu/drm/i915/i915_gem_fence_reg.c 		i915_vma_flush_writes(old);
old               252 drivers/gpu/drm/i915/i915_gem_fence_reg.c 		if (old != vma) {
old               253 drivers/gpu/drm/i915/i915_gem_fence_reg.c 			GEM_BUG_ON(old->fence != fence);
old               254 drivers/gpu/drm/i915/i915_gem_fence_reg.c 			i915_vma_revoke_mmap(old);
old               255 drivers/gpu/drm/i915/i915_gem_fence_reg.c 			old->fence = NULL;
old                52 drivers/gpu/drm/i915/i915_sw_fence.c 					 int old, int new)
old                54 drivers/gpu/drm/i915/i915_sw_fence.c 	debug_object_active_state(fence, &i915_sw_fence_debug_descr, old, new);
old                93 drivers/gpu/drm/i915/i915_sw_fence.c 					 int old, int new)
old               146 drivers/gpu/drm/i915/i915_trace.h 	    TP_PROTO(struct drm_i915_private *dev_priv, bool old, bool new),
old               147 drivers/gpu/drm/i915/i915_trace.h 	    TP_ARGS(dev_priv, old, new),
old               152 drivers/gpu/drm/i915/i915_trace.h 			     __field(bool, old)
old               162 drivers/gpu/drm/i915/i915_trace.h 			   __entry->old = old;
old               167 drivers/gpu/drm/i915/i915_trace.h 		      onoff(__entry->old), onoff(__entry->new),
old               808 drivers/gpu/drm/i915/intel_pm.c static bool is_disabling(int old, int new, int threshold)
old               810 drivers/gpu/drm/i915/intel_pm.c 	return old >= threshold && new < threshold;
old               813 drivers/gpu/drm/i915/intel_pm.c static bool is_enabling(int old, int new, int threshold)
old               815 drivers/gpu/drm/i915/intel_pm.c 	return old < threshold && new >= threshold;
old              3464 drivers/gpu/drm/i915/intel_pm.c 					 const struct ilk_wm_values *old,
old              3472 drivers/gpu/drm/i915/intel_pm.c 		if (old->wm_linetime[pipe] != new->wm_linetime[pipe]) {
old              3478 drivers/gpu/drm/i915/intel_pm.c 		if (old->wm_pipe[pipe] != new->wm_pipe[pipe]) {
old              3485 drivers/gpu/drm/i915/intel_pm.c 	if (old->enable_fbc_wm != new->enable_fbc_wm) {
old              3491 drivers/gpu/drm/i915/intel_pm.c 	if (old->partitioning != new->partitioning) {
old              3503 drivers/gpu/drm/i915/intel_pm.c 		if (old->wm_lp[wm_lp - 1] != new->wm_lp[wm_lp - 1] ||
old              3504 drivers/gpu/drm/i915/intel_pm.c 		    old->wm_lp_spr[wm_lp - 1] != new->wm_lp_spr[wm_lp - 1])
old              5362 drivers/gpu/drm/i915/intel_pm.c 			const struct skl_ddb_entry *old, *new;
old              5364 drivers/gpu/drm/i915/intel_pm.c 			old = &old_crtc_state->wm.skl.plane_ddb_y[plane_id];
old              5367 drivers/gpu/drm/i915/intel_pm.c 			if (skl_ddb_entry_equal(old, new))
old              5372 drivers/gpu/drm/i915/intel_pm.c 				      old->start, old->end, new->start, new->end,
old              5373 drivers/gpu/drm/i915/intel_pm.c 				      skl_ddb_entry_size(old), skl_ddb_entry_size(new));
old                13 drivers/gpu/drm/msm/adreno/a5xx_preempt.c 		enum preempt_state old, enum preempt_state new)
old                16 drivers/gpu/drm/msm/adreno/a5xx_preempt.c 		old, new);
old                18 drivers/gpu/drm/msm/adreno/a5xx_preempt.c 	return (cur == old);
old               285 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 	struct dpu_core_perf_params *new, *old;
old               312 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 	old = &dpu_crtc->cur_perf;
old               323 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 		if ((params_changed && ((new->bw_ctl > old->bw_ctl) ||
old               324 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 			(new->max_per_pipe_ib > old->max_per_pipe_ib)))	||
old               325 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 			(!params_changed && ((new->bw_ctl < old->bw_ctl) ||
old               326 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 			(new->max_per_pipe_ib < old->max_per_pipe_ib)))) {
old               329 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 				new->bw_ctl, old->bw_ctl);
old               330 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 			old->bw_ctl = new->bw_ctl;
old               331 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 			old->max_per_pipe_ib = new->max_per_pipe_ib;
old               336 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 			(new->core_clk_rate > old->core_clk_rate)) ||
old               338 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 			(new->core_clk_rate < old->core_clk_rate))) {
old               339 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 			old->core_clk_rate = new->core_clk_rate;
old               344 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 		memset(old, 0, sizeof(*old));
old               389 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 		u32 old = cur_pll.base.pl;
old               398 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 		if ((old & new) == 0) {
old               399 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 			cur_pll.base.pl = min(old | BIT(ffs(new) - 1),
old               400 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 					      new | BIT(ffs(old) - 1));
old               840 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 	int old;
old               843 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 	old = atomic_cmpxchg(&ddata->do_update, 1, 0);
old               845 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 	if (old) {
old               235 drivers/gpu/drm/tegra/hub.c 	struct tegra_dc *old = plane->dc, *dc = new ? new : old;
old               236 drivers/gpu/drm/tegra/hub.c 	struct device *dev = new ? new->dev : old->dev;
old               253 drivers/gpu/drm/tegra/hub.c 	if (old && owner == OWNER_MASK)
old               255 drivers/gpu/drm/tegra/hub.c 			old->pipe, owner);
old               625 drivers/gpu/drm/tegra/hub.c 	struct drm_crtc_state *old, *new;
old               644 drivers/gpu/drm/tegra/hub.c 	for_each_oldnew_crtc_in_state(state, crtc, old, new, i) {
old               339 drivers/gpu/drm/tegra/plane.c 	struct drm_plane_state *old, *plane_state;
old               342 drivers/gpu/drm/tegra/plane.c 	old = drm_atomic_get_old_plane_state(state->base.state, &tegra->base);
old               345 drivers/gpu/drm/tegra/plane.c 	if (old->normalized_zpos == state->base.normalized_zpos &&
old               346 drivers/gpu/drm/tegra/plane.c 	    to_tegra_plane_state(old)->opaque == state->opaque)
old               418 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	dma_addr_t old;
old               470 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	old = ~((dma_addr_t) 0);
old               475 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 		if (cur != old + PAGE_SIZE)
old               477 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 		old = cur;
old                56 drivers/gpu/host1x/hw/syncpt_hw.c 	u32 old, live;
old                60 drivers/gpu/host1x/hw/syncpt_hw.c 		old = host1x_syncpt_read_min(sp);
old                62 drivers/gpu/host1x/hw/syncpt_hw.c 	} while ((u32)atomic_cmpxchg(&sp->min_val, old, live) != old);
old              1845 drivers/hid/hid-logitech-hidpp.c static int hidpp_ff_upload_effect(struct input_dev *dev, struct ff_effect *effect, struct ff_effect *old)
old               262 drivers/hid/usbhid/hid-pidff.c 				    struct ff_envelope *old)
old               264 drivers/hid/usbhid/hid-pidff.c 	return envelope->attack_level != old->attack_level ||
old               265 drivers/hid/usbhid/hid-pidff.c 	       envelope->fade_level != old->fade_level ||
old               266 drivers/hid/usbhid/hid-pidff.c 	       envelope->attack_length != old->attack_length ||
old               267 drivers/hid/usbhid/hid-pidff.c 	       envelope->fade_length != old->fade_length;
old               289 drivers/hid/usbhid/hid-pidff.c 				    struct ff_effect *old)
old               291 drivers/hid/usbhid/hid-pidff.c 	return effect->u.constant.level != old->u.constant.level;
old               324 drivers/hid/usbhid/hid-pidff.c 				  struct ff_effect *old)
old               326 drivers/hid/usbhid/hid-pidff.c 	return effect->replay.length != old->replay.length ||
old               327 drivers/hid/usbhid/hid-pidff.c 	       effect->trigger.interval != old->trigger.interval ||
old               328 drivers/hid/usbhid/hid-pidff.c 	       effect->trigger.button != old->trigger.button ||
old               329 drivers/hid/usbhid/hid-pidff.c 	       effect->direction != old->direction ||
old               330 drivers/hid/usbhid/hid-pidff.c 	       effect->replay.delay != old->replay.delay;
old               357 drivers/hid/usbhid/hid-pidff.c 				    struct ff_effect *old)
old               359 drivers/hid/usbhid/hid-pidff.c 	return effect->u.periodic.magnitude != old->u.periodic.magnitude ||
old               360 drivers/hid/usbhid/hid-pidff.c 	       effect->u.periodic.offset != old->u.periodic.offset ||
old               361 drivers/hid/usbhid/hid-pidff.c 	       effect->u.periodic.phase != old->u.periodic.phase ||
old               362 drivers/hid/usbhid/hid-pidff.c 	       effect->u.periodic.period != old->u.periodic.period;
old               399 drivers/hid/usbhid/hid-pidff.c 				     struct ff_effect *old)
old               406 drivers/hid/usbhid/hid-pidff.c 		struct ff_condition_effect *old_cond = &old->u.condition[i];
old               438 drivers/hid/usbhid/hid-pidff.c static int pidff_needs_set_ramp(struct ff_effect *effect, struct ff_effect *old)
old               440 drivers/hid/usbhid/hid-pidff.c 	return effect->u.ramp.start_level != old->u.ramp.start_level ||
old               441 drivers/hid/usbhid/hid-pidff.c 	       effect->u.ramp.end_level != old->u.ramp.end_level;
old               553 drivers/hid/usbhid/hid-pidff.c 			       struct ff_effect *old)
old               560 drivers/hid/usbhid/hid-pidff.c 	if (old) {
old               567 drivers/hid/usbhid/hid-pidff.c 		if (!old) {
old               573 drivers/hid/usbhid/hid-pidff.c 		if (!old || pidff_needs_set_effect(effect, old))
old               575 drivers/hid/usbhid/hid-pidff.c 		if (!old || pidff_needs_set_constant(effect, old))
old               577 drivers/hid/usbhid/hid-pidff.c 		if (!old ||
old               579 drivers/hid/usbhid/hid-pidff.c 					&old->u.constant.envelope))
old               585 drivers/hid/usbhid/hid-pidff.c 		if (!old) {
old               612 drivers/hid/usbhid/hid-pidff.c 		if (!old || pidff_needs_set_effect(effect, old))
old               614 drivers/hid/usbhid/hid-pidff.c 		if (!old || pidff_needs_set_periodic(effect, old))
old               616 drivers/hid/usbhid/hid-pidff.c 		if (!old ||
old               618 drivers/hid/usbhid/hid-pidff.c 					&old->u.periodic.envelope))
old               624 drivers/hid/usbhid/hid-pidff.c 		if (!old) {
old               630 drivers/hid/usbhid/hid-pidff.c 		if (!old || pidff_needs_set_effect(effect, old))
old               632 drivers/hid/usbhid/hid-pidff.c 		if (!old || pidff_needs_set_ramp(effect, old))
old               634 drivers/hid/usbhid/hid-pidff.c 		if (!old ||
old               636 drivers/hid/usbhid/hid-pidff.c 					&old->u.ramp.envelope))
old               642 drivers/hid/usbhid/hid-pidff.c 		if (!old) {
old               648 drivers/hid/usbhid/hid-pidff.c 		if (!old || pidff_needs_set_effect(effect, old))
old               650 drivers/hid/usbhid/hid-pidff.c 		if (!old || pidff_needs_set_condition(effect, old))
old               655 drivers/hid/usbhid/hid-pidff.c 		if (!old) {
old               661 drivers/hid/usbhid/hid-pidff.c 		if (!old || pidff_needs_set_effect(effect, old))
old               663 drivers/hid/usbhid/hid-pidff.c 		if (!old || pidff_needs_set_condition(effect, old))
old               668 drivers/hid/usbhid/hid-pidff.c 		if (!old) {
old               674 drivers/hid/usbhid/hid-pidff.c 		if (!old || pidff_needs_set_effect(effect, old))
old               676 drivers/hid/usbhid/hid-pidff.c 		if (!old || pidff_needs_set_condition(effect, old))
old               681 drivers/hid/usbhid/hid-pidff.c 		if (!old) {
old               687 drivers/hid/usbhid/hid-pidff.c 		if (!old || pidff_needs_set_effect(effect, old))
old               689 drivers/hid/usbhid/hid-pidff.c 		if (!old || pidff_needs_set_condition(effect, old))
old               698 drivers/hid/usbhid/hid-pidff.c 	if (!old)
old                83 drivers/hid/usbhid/usbkbd.c 	unsigned char old[8];
old               122 drivers/hid/usbhid/usbkbd.c 		if (kbd->old[i] > 3 && memscan(kbd->new + 2, kbd->old[i], 6) == kbd->new + 8) {
old               123 drivers/hid/usbhid/usbkbd.c 			if (usb_kbd_keycode[kbd->old[i]])
old               124 drivers/hid/usbhid/usbkbd.c 				input_report_key(kbd->dev, usb_kbd_keycode[kbd->old[i]], 0);
old               128 drivers/hid/usbhid/usbkbd.c 					 kbd->old[i]);
old               131 drivers/hid/usbhid/usbkbd.c 		if (kbd->new[i] > 3 && memscan(kbd->old + 2, kbd->new[i], 6) == kbd->old + 8) {
old               143 drivers/hid/usbhid/usbkbd.c 	memcpy(kbd->old, kbd->new, 8);
old               575 drivers/hv/vmbus_drv.c 	char *driver_override, *old, *cp;
old               590 drivers/hv/vmbus_drv.c 	old = hv_dev->driver_override;
old               599 drivers/hv/vmbus_drv.c 	kfree(old);
old               149 drivers/hwmon/adm9240.c 	u8 reg, old, shift = (nr + 2) * 2;
old               152 drivers/hwmon/adm9240.c 	old = (reg >> shift) & 3;
old               158 drivers/hwmon/adm9240.c 		nr + 1, 1 << old, 1 << fan_div);
old               158 drivers/hwmon/ina209.c static int ina209_to_reg(u8 reg, u16 old, long val)
old               177 drivers/hwmon/ina209.c 		  | (old & 0x7);
old               187 drivers/hwmon/ina209.c 		return (clamp_val(-val, 0, 255) << 8) | (old & 0xff);
old               196 drivers/hwmon/ina209.c 		return (clamp_val(val, 0, 255) << 8) | (old & 0xff);
old              1228 drivers/hwmon/it87.c 	u8 old;
old              1234 drivers/hwmon/it87.c 	old = it87_read_value(data, IT87_REG_FAN_DIV);
old              1250 drivers/hwmon/it87.c 	val = old & 0x80;
old               484 drivers/hwmon/lm93.c static u8 LM93_TEMP_AUTO_OFFSET_TO_REG(u8 old, int off, int nr, int mode)
old               490 drivers/hwmon/lm93.c 		return (old & 0xf0) | (new & 0x0f);
old               494 drivers/hwmon/lm93.c 		return (new << 4 & 0xf0) | (old & 0x0f);
old               544 drivers/hwmon/via686a.c 	int old;
old               553 drivers/hwmon/via686a.c 	old = via686a_read_value(data, VIA686A_REG_FANDIV);
old               555 drivers/hwmon/via686a.c 	old = (old & 0x0f) | (data->fan_div[1] << 6) | (data->fan_div[0] << 4);
old               556 drivers/hwmon/via686a.c 	via686a_write_value(data, VIA686A_REG_FANDIV, old);
old               551 drivers/hwmon/vt8231.c 	int old = vt8231_read_value(data, VT8231_REG_FANDIV);
old               586 drivers/hwmon/vt8231.c 	old = (old & 0x0f) | (data->fan_div[1] << 6) | (data->fan_div[0] << 4);
old               587 drivers/hwmon/vt8231.c 	vt8231_write_value(data, VT8231_REG_FANDIV, old);
old               709 drivers/hwtracing/intel_th/msu.c 	enum lockout_state old;
old               717 drivers/hwtracing/intel_th/msu.c 	old = win->lockout;
old               719 drivers/hwtracing/intel_th/msu.c 	if (old != expect) {
old               726 drivers/hwtracing/intel_th/msu.c 	if (old == expect && new == WIN_LOCKED)
old               728 drivers/hwtracing/intel_th/msu.c 	else if (old == expect && old == WIN_LOCKED)
old               735 drivers/hwtracing/intel_th/msu.c 		if (expect == WIN_READY && old == WIN_LOCKED)
old               739 drivers/hwtracing/intel_th/msu.c 		if (expect == WIN_LOCKED && old == new)
old               744 drivers/hwtracing/intel_th/msu.c 				     expect, old);
old               127 drivers/ide/ns87415.c 	unsigned int bit, other, new, *old = (unsigned int *) hwif->select_data;
old               131 drivers/ide/ns87415.c 	new = *old;
old               146 drivers/ide/ns87415.c 	if (new != *old) {
old               159 drivers/ide/ns87415.c 		*old = new;
old               281 drivers/ide/trm290.c 		u16 new, old, compat = hwif->channel ? 0x374 : 0x3f4;
old               286 drivers/ide/trm290.c 		old = inw(hwif->config_data);
old               287 drivers/ide/trm290.c 		old &= ~1;
old               288 drivers/ide/trm290.c 		old_mask = inb(old + 2);
old               289 drivers/ide/trm290.c 		if (old != compat && old_mask == 0xff) {
old               297 drivers/ide/trm290.c 				hwif->name, old, new & ~1);
old               333 drivers/iio/adc/ti-ads1015.c 	unsigned int old, mask, cfg;
old               338 drivers/iio/adc/ti-ads1015.c 	ret = regmap_read(data->regmap, ADS1015_CFG_REG, &old);
old               357 drivers/iio/adc/ti-ads1015.c 	cfg = (old & ~mask) | (cfg & mask);
old               358 drivers/iio/adc/ti-ads1015.c 	if (old != cfg) {
old               365 drivers/iio/adc/ti-ads1015.c 		dr_old = (old & ADS1015_CFG_DR_MASK) >> ADS1015_CFG_DR_SHIFT;
old               450 drivers/infiniband/core/cma.c 	enum rdma_cm_state old;
old               453 drivers/infiniband/core/cma.c 	old = id_priv->state;
old               456 drivers/infiniband/core/cma.c 	return old;
old               577 drivers/infiniband/core/rdma_core.c 	void *old;
old               586 drivers/infiniband/core/rdma_core.c 	old = xa_store(&ufile->idr, uobj->id, uobj, GFP_KERNEL);
old               587 drivers/infiniband/core/rdma_core.c 	WARN_ON(old != NULL);
old               322 drivers/infiniband/core/restrack.c 	struct rdma_restrack_entry *old;
old               335 drivers/infiniband/core/restrack.c 	old = xa_erase(&rt->xa, res->id);
old               336 drivers/infiniband/core/restrack.c 	WARN_ON(old != res);
old               375 drivers/infiniband/core/verbs.c void rdma_replace_ah_attr(struct rdma_ah_attr *old,
old               378 drivers/infiniband/core/verbs.c 	rdma_destroy_ah_attr(old);
old               379 drivers/infiniband/core/verbs.c 	*old = *new;
old               380 drivers/infiniband/core/verbs.c 	if (old->grh.sgid_attr)
old               381 drivers/infiniband/core/verbs.c 		rdma_hold_gid_attr(old->grh.sgid_attr);
old              2126 drivers/infiniband/hw/cxgb3/iwch_cm.c int iwch_ep_redirect(void *ctx, struct dst_entry *old, struct dst_entry *new,
old              2131 drivers/infiniband/hw/cxgb3/iwch_cm.c 	if (ep->dst != old)
old              2139 drivers/infiniband/hw/cxgb3/iwch_cm.c 	dst_release(old);
old               227 drivers/infiniband/hw/cxgb3/iwch_cm.h int iwch_ep_redirect(void *ctx, struct dst_entry *old, struct dst_entry *new, struct l2t_entry *l2t);
old               945 drivers/infiniband/hw/cxgb4/iw_cxgb4.h int c4iw_ep_redirect(void *ctx, struct dst_entry *old, struct dst_entry *new,
old              1150 drivers/infiniband/hw/hfi1/mad.c static int logical_transition_allowed(int old, int new)
old              1152 drivers/infiniband/hw/hfi1/mad.c 	if (old < IB_PORT_NOP || old > IB_PORT_ACTIVE_DEFER ||
old              1155 drivers/infiniband/hw/hfi1/mad.c 			old, new);
old              1163 drivers/infiniband/hw/hfi1/mad.c 	old -= IB_PORT_DOWN;
old              1166 drivers/infiniband/hw/hfi1/mad.c 	if (old < 0 || new < 0)
old              1168 drivers/infiniband/hw/hfi1/mad.c 	return logical_state_transitions.allowed[old][new];
old              1171 drivers/infiniband/hw/hfi1/mad.c static int physical_transition_allowed(int old, int new)
old              1173 drivers/infiniband/hw/hfi1/mad.c 	if (old < IB_PORTPHYSSTATE_NOP || old > OPA_PORTPHYSSTATE_MAX ||
old              1176 drivers/infiniband/hw/hfi1/mad.c 			old, new);
old              1184 drivers/infiniband/hw/hfi1/mad.c 	old -= IB_PORTPHYSSTATE_POLLING;
old              1187 drivers/infiniband/hw/hfi1/mad.c 	if (old < 0 || new < 0)
old              1189 drivers/infiniband/hw/hfi1/mad.c 	return physical_state_transitions.allowed[old][new];
old               217 drivers/infiniband/hw/hfi1/tid_rdma.c 	struct tid_rdma_params *remote, *old;
old               220 drivers/infiniband/hw/hfi1/tid_rdma.c 	old = rcu_dereference_protected(priv->tid_rdma.remote,
old               264 drivers/infiniband/hw/hfi1/tid_rdma.c 	if (old)
old               265 drivers/infiniband/hw/hfi1/tid_rdma.c 		kfree_rcu(old, rcu_head);
old               288 drivers/infiniband/hw/hfi1/tid_rdma.c 	struct tid_rdma_params *old;
old               290 drivers/infiniband/hw/hfi1/tid_rdma.c 	old = rcu_dereference_protected(priv->tid_rdma.remote,
old               293 drivers/infiniband/hw/hfi1/tid_rdma.c 	if (old)
old               294 drivers/infiniband/hw/hfi1/tid_rdma.c 		kfree_rcu(old, rcu_head);
old              1220 drivers/infiniband/hw/mlx5/mlx5_ib.h void mlx5_ib_copy_pas(u64 *old, u64 *new, int step, int num);
old               799 drivers/infiniband/ulp/srpt/ib_srpt.c 					enum srpt_command_state old,
old               805 drivers/infiniband/ulp/srpt/ib_srpt.c 	WARN_ON(old == SRPT_STATE_DONE);
old               809 drivers/infiniband/ulp/srpt/ib_srpt.c 	if (previous == old)
old               812 drivers/infiniband/ulp/srpt/ib_srpt.c 	return previous == old;
old                96 drivers/input/ff-core.c 	struct ff_effect *old;
old               136 drivers/input/ff-core.c 		old = NULL;
old               145 drivers/input/ff-core.c 		old = &ff->effects[id];
old               147 drivers/input/ff-core.c 		if (!check_effects_compatible(effect, old)) {
old               153 drivers/input/ff-core.c 	ret = ff->upload(dev, effect, old);
old               466 drivers/input/ff-memless.c 			struct ff_effect *effect, struct ff_effect *old)
old               182 drivers/input/joystick/iforce/iforce-ff.c 				   struct ff_effect *old,
old               195 drivers/input/joystick/iforce/iforce-ff.c 		ret |= old->u.condition[i].right_saturation != new->u.condition[i].right_saturation
old               196 drivers/input/joystick/iforce/iforce-ff.c 			|| old->u.condition[i].left_saturation != new->u.condition[i].left_saturation
old               197 drivers/input/joystick/iforce/iforce-ff.c 			|| old->u.condition[i].right_coeff != new->u.condition[i].right_coeff
old               198 drivers/input/joystick/iforce/iforce-ff.c 			|| old->u.condition[i].left_coeff != new->u.condition[i].left_coeff
old               199 drivers/input/joystick/iforce/iforce-ff.c 			|| old->u.condition[i].deadband != new->u.condition[i].deadband
old               200 drivers/input/joystick/iforce/iforce-ff.c 			|| old->u.condition[i].center != new->u.condition[i].center;
old               210 drivers/input/joystick/iforce/iforce-ff.c 				   struct ff_effect *old,
old               219 drivers/input/joystick/iforce/iforce-ff.c 	return old->u.constant.level != effect->u.constant.level;
old               226 drivers/input/joystick/iforce/iforce-ff.c static int need_envelope_modifier(struct iforce *iforce, struct ff_effect *old,
old               231 drivers/input/joystick/iforce/iforce-ff.c 		if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length
old               232 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level
old               233 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length
old               234 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.constant.envelope.fade_level != effect->u.constant.envelope.fade_level)
old               239 drivers/input/joystick/iforce/iforce-ff.c 		if (old->u.periodic.envelope.attack_length != effect->u.periodic.envelope.attack_length
old               240 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.periodic.envelope.attack_level != effect->u.periodic.envelope.attack_level
old               241 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.periodic.envelope.fade_length != effect->u.periodic.envelope.fade_length
old               242 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.periodic.envelope.fade_level != effect->u.periodic.envelope.fade_level)
old               258 drivers/input/joystick/iforce/iforce-ff.c static int need_period_modifier(struct iforce *iforce, struct ff_effect *old,
old               266 drivers/input/joystick/iforce/iforce-ff.c 	return (old->u.periodic.period != new->u.periodic.period
old               267 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.periodic.magnitude != new->u.periodic.magnitude
old               268 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.periodic.offset != new->u.periodic.offset
old               269 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.periodic.phase != new->u.periodic.phase);
old               276 drivers/input/joystick/iforce/iforce-ff.c static int need_core(struct ff_effect *old, struct ff_effect *new)
old               278 drivers/input/joystick/iforce/iforce-ff.c 	if (old->direction != new->direction
old               279 drivers/input/joystick/iforce/iforce-ff.c 		|| old->trigger.button != new->trigger.button
old               280 drivers/input/joystick/iforce/iforce-ff.c 		|| old->trigger.interval != new->trigger.interval
old               281 drivers/input/joystick/iforce/iforce-ff.c 		|| old->replay.length != new->replay.length
old               282 drivers/input/joystick/iforce/iforce-ff.c 		|| old->replay.delay != new->replay.delay)
old               338 drivers/input/joystick/iforce/iforce-ff.c int iforce_upload_periodic(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old)
old               349 drivers/input/joystick/iforce/iforce-ff.c 	if (!old || need_period_modifier(iforce, old, effect)) {
old               351 drivers/input/joystick/iforce/iforce-ff.c 			old != NULL,
old               359 drivers/input/joystick/iforce/iforce-ff.c 	if (!old || need_envelope_modifier(iforce, old, effect)) {
old               361 drivers/input/joystick/iforce/iforce-ff.c 			old !=NULL,
old               380 drivers/input/joystick/iforce/iforce-ff.c 	if (!old || need_core(old, effect)) {
old               409 drivers/input/joystick/iforce/iforce-ff.c int iforce_upload_constant(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old)
old               419 drivers/input/joystick/iforce/iforce-ff.c 	if (!old || need_magnitude_modifier(iforce, old, effect)) {
old               421 drivers/input/joystick/iforce/iforce-ff.c 			old != NULL,
old               428 drivers/input/joystick/iforce/iforce-ff.c 	if (!old || need_envelope_modifier(iforce, old, effect)) {
old               430 drivers/input/joystick/iforce/iforce-ff.c 			old != NULL,
old               440 drivers/input/joystick/iforce/iforce-ff.c 	if (!old || need_core(old, effect)) {
old               465 drivers/input/joystick/iforce/iforce-ff.c int iforce_upload_condition(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old)
old               481 drivers/input/joystick/iforce/iforce-ff.c 	if (!old || need_condition_modifier(iforce, old, effect)) {
old               483 drivers/input/joystick/iforce/iforce-ff.c 			old != NULL,
old               495 drivers/input/joystick/iforce/iforce-ff.c 			old != NULL,
old               508 drivers/input/joystick/iforce/iforce-ff.c 	if (!old || need_core(old, effect)) {
old               106 drivers/input/joystick/iforce/iforce-main.c static int iforce_upload_effect(struct input_dev *dev, struct ff_effect *effect, struct ff_effect *old)
old               123 drivers/input/joystick/iforce/iforce-main.c 		ret = iforce_upload_periodic(iforce, effect, old);
old               127 drivers/input/joystick/iforce/iforce-main.c 		ret = iforce_upload_constant(iforce, effect, old);
old               132 drivers/input/joystick/iforce/iforce-main.c 		ret = iforce_upload_condition(iforce, effect, old);
old                83 drivers/input/keyboard/jornada680_kbd.c 		unsigned char old = jornadakbd->old_scan[i];
old                84 drivers/input/keyboard/jornada680_kbd.c 		unsigned int xor = new ^ old;
old                30 drivers/input/keyboard/maple_keyb.c 	unsigned char old[8];
old                96 drivers/input/keyboard/maple_keyb.c 		ptr = memchr(kbd->new + 2, kbd->old[i], 6);
old                97 drivers/input/keyboard/maple_keyb.c 		code = kbd->old[i];
old               108 drivers/input/keyboard/maple_keyb.c 		ptr = memchr(kbd->old + 2, kbd->new[i], 6);
old               122 drivers/input/keyboard/maple_keyb.c 	memcpy(kbd->old, kbd->new, 8);
old                50 drivers/input/misc/uinput.c 			struct ff_effect *old;
old               236 drivers/input/misc/uinput.c 				    struct ff_effect *old)
old               254 drivers/input/misc/uinput.c 	request.u.upload.old = old;
old               720 drivers/input/misc/uinput.c 	struct ff_effect_compat	old;
old               739 drivers/input/misc/uinput.c 		memcpy(&ff_up_compat.old, &ff_up->old,
old               768 drivers/input/misc/uinput.c 		memcpy(&ff_up->old, &ff_up_compat.old,
old               952 drivers/input/misc/uinput.c 		if (req->u.upload.old)
old               953 drivers/input/misc/uinput.c 			ff_up.old = *req->u.upload.old;
old               955 drivers/input/misc/uinput.c 			memset(&ff_up.old, 0, sizeof(struct ff_effect));
old              1324 drivers/iommu/arm-smmu-v3.c 		u64 old;
old              1337 drivers/iommu/arm-smmu-v3.c 		old = cmpxchg_relaxed(&cmdq->q.llq.val, llq.val, head.val);
old              1338 drivers/iommu/arm-smmu-v3.c 		if (old == llq.val)
old              1341 drivers/iommu/arm-smmu-v3.c 		llq.val = old;
old               287 drivers/iommu/intel-pasid.c 	u64 old;
old               289 drivers/iommu/intel-pasid.c 	old = READ_ONCE(*ptr);
old               290 drivers/iommu/intel-pasid.c 	WRITE_ONCE(*ptr, (old & ~mask) | bits);
old               454 drivers/iommu/io-pgtable-arm-v7s.c 	arm_v7s_iopte old, new;
old               467 drivers/iommu/io-pgtable-arm-v7s.c 	old = cmpxchg_relaxed(ptep, curr, new);
old               470 drivers/iommu/io-pgtable-arm-v7s.c 	return old;
old               356 drivers/iommu/io-pgtable-arm.c 	arm_lpae_iopte old, new;
old               369 drivers/iommu/io-pgtable-arm.c 	old = cmpxchg64_relaxed(ptep, curr, new);
old               371 drivers/iommu/io-pgtable-arm.c 	if (cfg->coherent_walk || (old & ARM_LPAE_PTE_SW_SYNC))
old               372 drivers/iommu/io-pgtable-arm.c 		return old;
old               376 drivers/iommu/io-pgtable-arm.c 	if (old == curr)
old               379 drivers/iommu/io-pgtable-arm.c 	return old;
old              1536 drivers/irqchip/irq-gic-v3-its.c 	struct lpi_range *new, *old;
old              1544 drivers/irqchip/irq-gic-v3-its.c 	list_for_each_entry_reverse(old, &lpi_range_list, entry) {
old              1545 drivers/irqchip/irq-gic-v3-its.c 		if (old->base_id < base)
old              1555 drivers/irqchip/irq-gic-v3-its.c 	list_add(&new->entry, &old->entry);
old              1560 drivers/irqchip/irq-gic-v3-its.c 	merge_lpi_ranges(old, new);
old              1166 drivers/isdn/capi/capi.c static void capinc_tty_set_termios(struct tty_struct *tty, struct ktermios *old)
old               320 drivers/isdn/mISDN/core.c 	struct Bprotocol	*old;
old               325 drivers/isdn/mISDN/core.c 	old = get_Bprotocol4mask(bp->Bprotocols);
old               326 drivers/isdn/mISDN/core.c 	if (old) {
old               329 drivers/isdn/mISDN/core.c 		       old->name, old->Bprotocols, bp->name, bp->Bprotocols);
old               889 drivers/md/bcache/btree.c 	struct task_struct *old;
old               891 drivers/md/bcache/btree.c 	old = cmpxchg(&c->btree_cache_alloc_lock, NULL, current);
old               892 drivers/md/bcache/btree.c 	if (old && old != current) {
old                96 drivers/md/bcache/io.c 			unsigned int old = count;
old               104 drivers/md/bcache/io.c 			count = atomic_cmpxchg(&ca->io_count, old, new);
old               106 drivers/md/bcache/io.c 			if (count == old) {
old               111 drivers/md/bcache/io.c 					old = errors;
old               114 drivers/md/bcache/io.c 								old, new);
old               115 drivers/md/bcache/io.c 				} while (old != errors);
old               180 drivers/md/dm-cache-policy-smq.c 			 struct entry *old, struct entry *e)
old               182 drivers/md/dm-cache-policy-smq.c 	struct entry *prev = l_prev(es, old);
old               188 drivers/md/dm-cache-policy-smq.c 		e->prev = old->prev;
old               189 drivers/md/dm-cache-policy-smq.c 		e->next = to_index(es, old);
old               190 drivers/md/dm-cache-policy-smq.c 		prev->next = old->prev = to_index(es, e);
old               315 drivers/md/dm-cache-policy-smq.c static void q_push_before(struct queue *q, struct entry *old, struct entry *e)
old               322 drivers/md/dm-cache-policy-smq.c 	l_add_before(q->es, q->qs + e->level, old, e);
old               112 drivers/md/dm-era-target.c 	dm_block_t old = m->root;
old               124 drivers/md/dm-era-target.c 	BUG_ON(m->root != old);
old                60 drivers/md/dm-exception-store.h 					      chunk_t old, chunk_t new),
old               450 drivers/md/dm-snap-persistent.c 					     chunk_t old, chunk_t new),
old               494 drivers/md/dm-snap-persistent.c 			   int (*callback)(void *callback_context, chunk_t old,
old               613 drivers/md/dm-snap-persistent.c 						    chunk_t old, chunk_t new),
old                33 drivers/md/dm-snap-transient.c 						   chunk_t old, chunk_t new),
old               815 drivers/md/dm-snap.c static int dm_add_exception(void *context, chunk_t old, chunk_t new)
old               825 drivers/md/dm-snap.c 	e->old_chunk = old;
old               836 drivers/md/dm-snap.c 	dm_exception_table_lock_init(s, old, &lock);
old               971 drivers/md/dm-writecache.c 			struct wc_entry *old;
old               973 drivers/md/dm-writecache.c 			old = writecache_find_entry(wc, read_original_sector(wc, e), 0);
old               974 drivers/md/dm-writecache.c 			if (!old) {
old               977 drivers/md/dm-writecache.c 				if (read_seq_count(wc, old) == read_seq_count(wc, e)) {
old               983 drivers/md/dm-writecache.c 				if (read_seq_count(wc, old) > read_seq_count(wc, e)) {
old               986 drivers/md/dm-writecache.c 					writecache_free_entry(wc, old);
old               411 drivers/md/persistent-data/dm-space-map-common.c 			int (*mutator)(void *context, uint32_t old, uint32_t *new),
old               415 drivers/md/persistent-data/dm-space-map-common.c 	uint32_t bit, old, ref_count;
old               436 drivers/md/persistent-data/dm-space-map-common.c 	old = sm_lookup_bitmap(bm_le, bit);
old               438 drivers/md/persistent-data/dm-space-map-common.c 	if (old > 2) {
old               439 drivers/md/persistent-data/dm-space-map-common.c 		r = sm_ll_lookup_big_ref_count(ll, b, &old);
old               446 drivers/md/persistent-data/dm-space-map-common.c 	r = mutator(context, old, &ref_count);
old               457 drivers/md/persistent-data/dm-space-map-common.c 		if (old > 2) {
old               480 drivers/md/persistent-data/dm-space-map-common.c 	if (ref_count && !old) {
old               487 drivers/md/persistent-data/dm-space-map-common.c 	} else if (old && !ref_count) {
old               498 drivers/md/persistent-data/dm-space-map-common.c static int set_ref_count(void *context, uint32_t old, uint32_t *new)
old               510 drivers/md/persistent-data/dm-space-map-common.c static int inc_ref_count(void *context, uint32_t old, uint32_t *new)
old               512 drivers/md/persistent-data/dm-space-map-common.c 	*new = old + 1;
old               521 drivers/md/persistent-data/dm-space-map-common.c static int dec_ref_count(void *context, uint32_t old, uint32_t *new)
old               523 drivers/md/persistent-data/dm-space-map-common.c 	if (!old) {
old               528 drivers/md/persistent-data/dm-space-map-common.c 	*new = old - 1;
old               112 drivers/md/persistent-data/dm-space-map-metadata.c static unsigned brb_next(struct bop_ring_buffer *brb, unsigned old)
old               114 drivers/md/persistent-data/dm-space-map-metadata.c 	unsigned r = old + 1;
old              1025 drivers/media/common/cx2341x.c 		   const struct cx2341x_mpeg_params *old,
old              1040 drivers/media/common/cx2341x.c 	if (!old ||
old              1041 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, is_50hz)) {
old              1048 drivers/media/common/cx2341x.c 	if (!old ||
old              1049 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, width) ||
old              1050 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, height) ||
old              1051 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_encoding)) {
old              1064 drivers/media/common/cx2341x.c 	if (!old ||
old              1065 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, stream_type)) {
old              1071 drivers/media/common/cx2341x.c 	if (!old ||
old              1072 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_aspect)) {
old              1078 drivers/media/common/cx2341x.c 	if (!old ||
old              1079 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_b_frames) ||
old              1080 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_gop_size)) {
old              1086 drivers/media/common/cx2341x.c 	if (!old ||
old              1087 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_gop_closure)) {
old              1093 drivers/media/common/cx2341x.c 	if (!old ||
old              1094 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, audio_properties)) {
old              1100 drivers/media/common/cx2341x.c 	if (!old ||
old              1101 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, audio_mute)) {
old              1107 drivers/media/common/cx2341x.c 	if (!old ||
old              1108 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_bitrate_mode) ||
old              1109 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_bitrate) ||
old              1110 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_bitrate_peak)) {
old              1117 drivers/media/common/cx2341x.c 	if (!old ||
old              1118 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_spatial_filter_mode) ||
old              1119 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_temporal_filter_mode) ||
old              1120 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_median_filter_type)) {
old              1129 drivers/media/common/cx2341x.c 	if (!old ||
old              1130 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_luma_median_filter_bottom) ||
old              1131 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_luma_median_filter_top) ||
old              1132 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_chroma_median_filter_bottom) ||
old              1133 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_chroma_median_filter_top)) {
old              1142 drivers/media/common/cx2341x.c 	if (!old ||
old              1143 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_luma_spatial_filter_type) ||
old              1144 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_chroma_spatial_filter_type)) {
old              1152 drivers/media/common/cx2341x.c 	if (!old ||
old              1153 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_spatial_filter) ||
old              1154 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_temporal_filter)) {
old              1161 drivers/media/common/cx2341x.c 	if (!old ||
old              1162 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_temporal_decimation)) {
old              1168 drivers/media/common/cx2341x.c 	if (!old ||
old              1169 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, video_mute) ||
old              1170 drivers/media/common/cx2341x.c 	    (new->video_mute && CMP_FIELD(old, new, video_mute_yuv))) {
old              1176 drivers/media/common/cx2341x.c 	if (!old ||
old              1177 drivers/media/common/cx2341x.c 	    CMP_FIELD(old, new, stream_insert_nav_packets)) {
old               201 drivers/media/dvb-frontends/stv0910.c 	u8 shift, mask, old, new;
old               203 drivers/media/dvb-frontends/stv0910.c 	status = read_reg(state, field >> 16, &old);
old               208 drivers/media/dvb-frontends/stv0910.c 	new = ((val << shift) & mask) | (old & ~mask);
old               209 drivers/media/dvb-frontends/stv0910.c 	if (new == old)
old              1501 drivers/media/pci/bt8xx/bttv-driver.c 	struct bttv_buffer *old;
old              1508 drivers/media/pci/bt8xx/bttv-driver.c 	old = btv->screen;
old              1513 drivers/media/pci/bt8xx/bttv-driver.c 	if (NULL != old) {
old              1515 drivers/media/pci/bt8xx/bttv-driver.c 			old, old->vb.state);
old              1516 drivers/media/pci/bt8xx/bttv-driver.c 		bttv_dma_free(&fh->cap,btv, old);
old              1517 drivers/media/pci/bt8xx/bttv-driver.c 		kfree(old);
old              3600 drivers/media/pci/bt8xx/bttv-driver.c 	struct bttv_buffer_set old,new;
old              3617 drivers/media/pci/bt8xx/bttv-driver.c 	old  = btv->curr;
old              3627 drivers/media/pci/bt8xx/bttv-driver.c 	bttv_irq_wakeup_video(btv, &old, &new, VIDEOBUF_ERROR);
old              3681 drivers/media/pci/bt8xx/bttv-driver.c 	struct bttv_buffer_set old;
old              3699 drivers/media/pci/bt8xx/bttv-driver.c 	old = btv->curr;
old              3712 drivers/media/pci/bt8xx/bttv-driver.c 	bttv_irq_wakeup_video(btv, &old, &new, VIDEOBUF_DONE);
old              3720 drivers/media/pci/bt8xx/bttv-driver.c 	struct bttv_buffer *old;
old              3727 drivers/media/pci/bt8xx/bttv-driver.c 	old = btv->cvbi;
old              3730 drivers/media/pci/bt8xx/bttv-driver.c 	if (NULL != old && (is_active(&old->top,    rc) ||
old              3731 drivers/media/pci/bt8xx/bttv-driver.c 			    is_active(&old->bottom, rc))) {
old              3745 drivers/media/pci/bt8xx/bttv-driver.c 	bttv_irq_wakeup_vbi(btv, old, VIDEOBUF_DONE);
old               674 drivers/media/pci/cx88/cx88-alsa.c 	u32 old;
old               690 drivers/media/pci/cx88/cx88-alsa.c 	old = cx_read(AUD_VOL_CTL);
old               691 drivers/media/pci/cx88/cx88-alsa.c 	if (v != (old & 0x3f)) {
old               692 drivers/media/pci/cx88/cx88-alsa.c 		cx_swrite(SHADOW_AUD_VOL_CTL, AUD_VOL_CTL, (old & ~0x3f) | v);
old               361 drivers/media/pci/saa7134/saa7134-input.c 	if (ir->old == parity)
old               364 drivers/media/pci/saa7134/saa7134-input.c 	ir->old = parity;
old               120 drivers/media/platform/sh_vou.c 	u32 old = __raw_readl(vou_dev->base + reg);
old               122 drivers/media/platform/sh_vou.c 	value = (value & mask) | (old & ~mask);
old               604 drivers/media/platform/vicodec/codec-fwht.c static int var_inter(const s16 *old, const s16 *new)
old               609 drivers/media/platform/vicodec/codec-fwht.c 	for (i = 0; i < 8 * 8; i++, old++, new++)
old               610 drivers/media/platform/vicodec/codec-fwht.c 		ret += (*old - *new) < 0 ? -(*old - *new) : (*old - *new);
old               619 drivers/media/platform/vicodec/codec-fwht.c 	s16 old[64];
old               626 drivers/media/platform/vicodec/codec-fwht.c 	fill_encoder_block(reference, old, 8, 1);
old               638 drivers/media/platform/vicodec/codec-fwht.c 	vard = var_inter(old, tmp);
old              3970 drivers/media/usb/gspca/topro.c 		s32 old = gspca_dev->gain->cur.val ?
old              3973 drivers/media/usb/gspca/topro.c 		sd->blue->val = sd->blue->val * val / old;
old              3976 drivers/media/usb/gspca/topro.c 		sd->red->val = sd->red->val * val / old;
old              2786 drivers/media/v4l2-core/v4l2-ctrls.c 	bool old;
old              2793 drivers/media/v4l2-core/v4l2-ctrls.c 		old = test_and_set_bit(4, &ctrl->flags);
old              2796 drivers/media/v4l2-core/v4l2-ctrls.c 		old = test_and_clear_bit(4, &ctrl->flags);
old              2797 drivers/media/v4l2-core/v4l2-ctrls.c 	if (old != inactive)
old              2804 drivers/media/v4l2-core/v4l2-ctrls.c 	bool old;
old              2813 drivers/media/v4l2-core/v4l2-ctrls.c 		old = test_and_set_bit(1, &ctrl->flags);
old              2816 drivers/media/v4l2-core/v4l2-ctrls.c 		old = test_and_clear_bit(1, &ctrl->flags);
old              2817 drivers/media/v4l2-core/v4l2-ctrls.c 	if (old != grabbed)
old              4360 drivers/media/v4l2-core/v4l2-ctrls.c void v4l2_ctrl_replace(struct v4l2_event *old, const struct v4l2_event *new)
old              4362 drivers/media/v4l2-core/v4l2-ctrls.c 	u32 old_changes = old->u.ctrl.changes;
old              4364 drivers/media/v4l2-core/v4l2-ctrls.c 	old->u.ctrl = new->u.ctrl;
old              4365 drivers/media/v4l2-core/v4l2-ctrls.c 	old->u.ctrl.changes |= old_changes;
old              4369 drivers/media/v4l2-core/v4l2-ctrls.c void v4l2_ctrl_merge(const struct v4l2_event *old, struct v4l2_event *new)
old              4371 drivers/media/v4l2-core/v4l2-ctrls.c 	new->u.ctrl.changes |= old->u.ctrl.changes;
old               319 drivers/media/v4l2-core/v4l2-event.c static void v4l2_event_src_replace(struct v4l2_event *old,
old               322 drivers/media/v4l2-core/v4l2-event.c 	u32 old_changes = old->u.src_change.changes;
old               324 drivers/media/v4l2-core/v4l2-event.c 	old->u.src_change = new->u.src_change;
old               325 drivers/media/v4l2-core/v4l2-event.c 	old->u.src_change.changes |= old_changes;
old               328 drivers/media/v4l2-core/v4l2-event.c static void v4l2_event_src_merge(const struct v4l2_event *old,
old               331 drivers/media/v4l2-core/v4l2-event.c 	new->u.src_change.changes |= old->u.src_change.changes;
old               685 drivers/message/fusion/mptfc.c 	char	*old, *new;
old               697 drivers/message/fusion/mptfc.c 		old = old_speed == MPI_FCPORTPAGE0_CURRENT_SPEED_1GBIT ? "1 Gbps" :
old               712 drivers/message/fusion/mptfc.c 				ioc->name, old, new);
old               357 drivers/mfd/ab8500-core.c 		u8 old = ab8500->oldmask[i];
old               361 drivers/mfd/ab8500-core.c 		if (new == old)
old                31 drivers/mfd/ab8500-sysctrl.c 	sigset_t old;
old                85 drivers/mfd/ab8500-sysctrl.c 	if (!sigprocmask(SIG_BLOCK, &all, &old)) {
old                89 drivers/mfd/ab8500-sysctrl.c 		(void)sigprocmask(SIG_SETMASK, &old, NULL);
old              1150 drivers/mfd/stmpe.c 		u8 old = stmpe->oldier[i];
old              1152 drivers/mfd/stmpe.c 		if (new == old)
old               156 drivers/mfd/ucb1x00-core.c 	unsigned old, mask = 1 << offset;
old               159 drivers/mfd/ucb1x00-core.c 	old = ucb->io_out;
old               166 drivers/mfd/ucb1x00-core.c 	if (old != ucb->io_out)
old               328 drivers/misc/echo/echo.c 		int new, old;
old               334 drivers/misc/echo/echo.c 		old = (int)ec->fir_state.history[ec->fir_state.curr_pos] *
old               337 drivers/misc/echo/echo.c 		    ((new - old) + (1 << (ec->log2taps - 1))) >> ec->log2taps;
old               271 drivers/misc/genwqe/card_ddcb.c 	__be32 old, new, icrc_hsi_shi;
old               292 drivers/misc/genwqe/card_ddcb.c 		old = prev_ddcb->icrc_hsi_shi_32; /* read SHI/HSI in BE32 */
old               295 drivers/misc/genwqe/card_ddcb.c 		if ((old & DDCB_COMPLETED_BE32) != 0x00000000)
old               298 drivers/misc/genwqe/card_ddcb.c 		new = (old | DDCB_NEXT_BE32);
old               301 drivers/misc/genwqe/card_ddcb.c 		icrc_hsi_shi = cmpxchg(&prev_ddcb->icrc_hsi_shi_32, old, new);
old               303 drivers/misc/genwqe/card_ddcb.c 		if (icrc_hsi_shi == old)
old               624 drivers/misc/genwqe/card_ddcb.c 	__be32 old, new;
old               644 drivers/misc/genwqe/card_ddcb.c 		old = pddcb->icrc_hsi_shi_32;	/* read SHI/HSI in BE32 */
old               645 drivers/misc/genwqe/card_ddcb.c 		if ((old & DDCB_FETCHED_BE32) == 0x00000000) {
old               647 drivers/misc/genwqe/card_ddcb.c 			new = (old | DDCB_PURGE_BE32);
old               649 drivers/misc/genwqe/card_ddcb.c 					       old, new);
old               650 drivers/misc/genwqe/card_ddcb.c 			if (icrc_hsi_shi == old)
old               235 drivers/mmc/core/sdio_uart.c 	unsigned int old;
old               237 drivers/mmc/core/sdio_uart.c 	old = port->mctrl;
old               238 drivers/mmc/core/sdio_uart.c 	port->mctrl = (old & ~clear) | set;
old               239 drivers/mmc/core/sdio_uart.c 	if (old != port->mctrl)
old               248 drivers/mmc/core/sdio_uart.c 				   struct ktermios *old)
old               287 drivers/mmc/core/sdio_uart.c 		if (old) {
old               288 drivers/mmc/core/sdio_uart.c 			termios->c_cflag |= old->c_cflag & CBAUD;
old               289 drivers/mmc/core/sdio_uart.c 			old = NULL;
old               478 drivers/mtd/mtd_blkdevs.c int del_mtd_blktrans_dev(struct mtd_blktrans_dev *old)
old               487 drivers/mtd/mtd_blkdevs.c 	if (old->disk_attributes)
old               488 drivers/mtd/mtd_blkdevs.c 		sysfs_remove_group(&disk_to_dev(old->disk)->kobj,
old               489 drivers/mtd/mtd_blkdevs.c 						old->disk_attributes);
old               492 drivers/mtd/mtd_blkdevs.c 	del_gendisk(old->disk);
old               495 drivers/mtd/mtd_blkdevs.c 	spin_lock_irqsave(&old->queue_lock, flags);
old               496 drivers/mtd/mtd_blkdevs.c 	old->rq->queuedata = NULL;
old               497 drivers/mtd/mtd_blkdevs.c 	spin_unlock_irqrestore(&old->queue_lock, flags);
old               500 drivers/mtd/mtd_blkdevs.c 	blk_mq_freeze_queue(old->rq);
old               501 drivers/mtd/mtd_blkdevs.c 	blk_mq_quiesce_queue(old->rq);
old               502 drivers/mtd/mtd_blkdevs.c 	blk_mq_unquiesce_queue(old->rq);
old               503 drivers/mtd/mtd_blkdevs.c 	blk_mq_unfreeze_queue(old->rq);
old               507 drivers/mtd/mtd_blkdevs.c 	mutex_lock(&old->lock);
old               508 drivers/mtd/mtd_blkdevs.c 	if (old->open) {
old               509 drivers/mtd/mtd_blkdevs.c 		if (old->tr->release)
old               510 drivers/mtd/mtd_blkdevs.c 			old->tr->release(old);
old               511 drivers/mtd/mtd_blkdevs.c 		__put_mtd_device(old->mtd);
old               514 drivers/mtd/mtd_blkdevs.c 	old->mtd = NULL;
old               516 drivers/mtd/mtd_blkdevs.c 	mutex_unlock(&old->lock);
old               517 drivers/mtd/mtd_blkdevs.c 	blktrans_dev_put(old);
old               921 drivers/mtd/mtdcore.c int unregister_mtd_user (struct mtd_notifier *old)
old               930 drivers/mtd/mtdcore.c 		old->remove(mtd);
old               932 drivers/mtd/mtdcore.c 	list_del(&old->list);
old              3564 drivers/mtd/nand/onenand/onenand_base.c 	int ret, density, blksperdie, old, new, thisboundary;
old              3586 drivers/mtd/nand/onenand/onenand_base.c 	old = this->boundary[die] + (die * this->density_mask);
old              3588 drivers/mtd/nand/onenand/onenand_base.c 	ret = flexonenand_check_blocks_erased(mtd, min(old, new) + 1, max(old, new));
old               293 drivers/mtd/parsers/redboot.c 		struct fis_list *old = fl;
old               295 drivers/mtd/parsers/redboot.c 		kfree(old);
old               822 drivers/mtd/ubi/fastmap.c 				      struct ubi_ainf_peb *old)
old               826 drivers/mtd/ubi/fastmap.c 	new = ubi_alloc_aeb(ai, old->pnum, old->ec);
old               830 drivers/mtd/ubi/fastmap.c 	new->vol_id = old->vol_id;
old               831 drivers/mtd/ubi/fastmap.c 	new->sqnum = old->sqnum;
old               832 drivers/mtd/ubi/fastmap.c 	new->lnum = old->lnum;
old               833 drivers/mtd/ubi/fastmap.c 	new->scrub = old->scrub;
old               834 drivers/mtd/ubi/fastmap.c 	new->copy_flag = old->copy_flag;
old              3418 drivers/net/bonding/bond_main.c 	const u64 *old = (const u64 *)_old;
old              3424 drivers/net/bonding/bond_main.c 		u64 ov = old[i];
old               356 drivers/net/can/grcan.c 	u32 old = grcan_read_reg(reg);
old               358 drivers/net/can/grcan.c 	grcan_write_reg(reg, (old & ~mask) | (value & mask));
old               986 drivers/net/ethernet/3com/3c509.c 		static int old;
old               987 drivers/net/ethernet/3com/3c509.c 		if (old != mc_count) {
old               988 drivers/net/ethernet/3com/3c509.c 			old = mc_count;
old              1731 drivers/net/ethernet/alacritech/slicoss.c 	u16 old;
old              1734 drivers/net/ethernet/alacritech/slicoss.c 	pci_read_config_word(pdev, PCI_COMMAND, &old);
old              1736 drivers/net/ethernet/alacritech/slicoss.c 	cmd = old | PCI_COMMAND_PARITY | PCI_COMMAND_SERR;
old              1737 drivers/net/ethernet/alacritech/slicoss.c 	if (old != cmd)
old              1425 drivers/net/ethernet/amd/nmclan_cs.c     static int old;
old              1426 drivers/net/ethernet/amd/nmclan_cs.c     if (netdev_mc_count(dev) != old) {
old              1427 drivers/net/ethernet/amd/nmclan_cs.c       old = netdev_mc_count(dev);
old              1429 drivers/net/ethernet/amd/nmclan_cs.c 	    dev->name, old);
old              1480 drivers/net/ethernet/amd/nmclan_cs.c     static int old;
old              1481 drivers/net/ethernet/amd/nmclan_cs.c     if (netdev_mc_count(dev) != old) {
old              1482 drivers/net/ethernet/amd/nmclan_cs.c       old = netdev_mc_count(dev);
old              1484 drivers/net/ethernet/amd/nmclan_cs.c 	    dev->name, old);
old                63 drivers/net/ethernet/aurora/nb8800.c 	u32 old = nb8800_readb(priv, reg);
old                64 drivers/net/ethernet/aurora/nb8800.c 	u32 new = (old & ~mask) | (val & mask);
old                66 drivers/net/ethernet/aurora/nb8800.c 	if (new != old)
old                73 drivers/net/ethernet/aurora/nb8800.c 	u32 old = nb8800_readl(priv, reg);
old                74 drivers/net/ethernet/aurora/nb8800.c 	u32 new = (old & ~mask) | (val & mask);
old                76 drivers/net/ethernet/aurora/nb8800.c 	if (new != old)
old              4164 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 	int c, old;
old              4171 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		old = atomic_cmpxchg((v), c, c + a);
old              4172 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		if (likely(old == c))
old              4174 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		c = old;
old              4192 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 	int c, old;
old              4199 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		old = atomic_cmpxchg((v), c, c - a);
old              4200 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		if (likely(old == c))
old              4202 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		c = old;
old               805 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 	struct nig_stats *old = &(bp->port.old_nig_stats);
old               837 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 		      new->brb_discard - old->brb_discard);
old               839 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 		      new->brb_truncate - old->brb_truncate);
old               848 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 	memcpy(old, new, sizeof(struct nig_stats));
old               400 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		DIFF_64(diff.hi, new->s##_hi, old->s##_hi, \
old               401 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 			diff.lo, new->s##_lo, old->s##_lo); \
old               269 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c 	struct bpf_prog *old;
old               295 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c 	old = xchg(&bp->xdp_prog, prog);
old               296 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c 	if (old)
old               297 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c 		bpf_prog_put(old);
old               666 drivers/net/ethernet/cadence/macb.h #define MACB_BFINS(name,value,old)			\
old               667 drivers/net/ethernet/cadence/macb.h 	(((old) & ~(((1 << MACB_##name##_SIZE) - 1)	\
old               679 drivers/net/ethernet/cadence/macb.h #define GEM_BFINS(name, value, old)			\
old               680 drivers/net/ethernet/cadence/macb.h 	(((old) & ~(((1 << GEM_##name##_SIZE) - 1)	\
old               378 drivers/net/ethernet/cavium/liquidio/request_manager.c 	u32 old = iq->flush_index;
old               384 drivers/net/ethernet/cavium/liquidio/request_manager.c 	while (old != iq->octeon_read_index) {
old               385 drivers/net/ethernet/cavium/liquidio/request_manager.c 		reqtype = iq->request_list[old].reqtype;
old               386 drivers/net/ethernet/cavium/liquidio/request_manager.c 		buf     = iq->request_list[old].buf;
old               422 drivers/net/ethernet/cavium/liquidio/request_manager.c 				__func__, reqtype, buf, old);
old               425 drivers/net/ethernet/cavium/liquidio/request_manager.c 		iq->request_list[old].buf = NULL;
old               426 drivers/net/ethernet/cavium/liquidio/request_manager.c 		iq->request_list[old].reqtype = 0;
old               430 drivers/net/ethernet/cavium/liquidio/request_manager.c 		old = incr_index(old, 1, iq->max_count);
old               438 drivers/net/ethernet/cavium/liquidio/request_manager.c 	iq->flush_index = old;
old                67 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c static void cxgb_redirect(struct dst_entry *old, struct dst_entry *new,
old               972 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		cxgb_redirect(nr->old, nr->new, nr->neigh,
old              1110 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c static void cxgb_redirect(struct dst_entry *old, struct dst_entry *new,
old              1142 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 			update_tcb = te->client->redirect(te->ctx, old, new, e);
old                87 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.h 	int (*redirect)(void *ctx, struct dst_entry *old,
old              2118 drivers/net/ethernet/chelsio/cxgb4/sge.c 			unsigned long old = q->q.stops;
old              2121 drivers/net/ethernet/chelsio/cxgb4/sge.c 			if (q->q.stops != old) {          /* suspended anew */
old              1768 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	struct bpf_prog *old;
old              1801 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	old = xchg(&priv->xdp_prog, prog);
old              1802 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	if (old)
old              1803 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 		bpf_prog_put(old);
old              1807 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 		old = xchg(&ch->xdp.prog, prog);
old              1808 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 		if (old)
old              1809 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 			bpf_prog_put(old);
old               543 drivers/net/ethernet/freescale/enetc/enetc.c 			     struct enetc_rx_swbd *old)
old               553 drivers/net/ethernet/freescale/enetc/enetc.c 	*new = *old;
old                64 drivers/net/ethernet/intel/i40e/i40e_ddp.c 				      struct i40e_profile_info *old)
old                66 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	unsigned int group_id_old = (u8)((old->track_id & 0x00FF0000) >> 16);
old              3966 drivers/net/ethernet/intel/i40e/i40e_ethtool.c static void i40e_print_input_set(struct i40e_vsi *vsi, u64 old, u64 new)
old              3972 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	old_value = !!(old & I40E_L3_SRC_MASK);
old              3979 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	old_value = !!(old & I40E_L3_DST_MASK);
old              3986 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	old_value = !!(old & I40E_L4_SRC_MASK);
old              3993 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	old_value = !!(old & I40E_L4_DST_MASK);
old              4000 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	old_value = !!(old & I40E_VERIFY_TAG_MASK);
old              4011 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		old_value = !!(old & flex_mask);
old              4021 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		   old);
old               374 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	u32 advertised, old;
old               400 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		old = hw->phy.autoneg_advertised;
old               414 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		if (old == advertised)
old               424 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 			hw->mac.ops.setup_link(hw, old, true);
old               569 drivers/net/ethernet/marvell/skge.c 	struct ethtool_pauseparam old;
old               572 drivers/net/ethernet/marvell/skge.c 	skge_get_pauseparam(dev, &old);
old               574 drivers/net/ethernet/marvell/skge.c 	if (ecmd->autoneg != old.autoneg)
old              4807 drivers/net/ethernet/micrel/ksz884x.c static inline void copy_old_skb(struct sk_buff *old, struct sk_buff *skb)
old              4809 drivers/net/ethernet/micrel/ksz884x.c 	skb->dev = old->dev;
old              4810 drivers/net/ethernet/micrel/ksz884x.c 	skb->protocol = old->protocol;
old              4811 drivers/net/ethernet/micrel/ksz884x.c 	skb->ip_summed = old->ip_summed;
old              4812 drivers/net/ethernet/micrel/ksz884x.c 	skb->csum = old->csum;
old              4815 drivers/net/ethernet/micrel/ksz884x.c 	dev_consume_skb_any(old);
old               460 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 			struct nfp_alink_stats *old,
old               464 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 	_bstats_update(bstats, new->tx_bytes - old->tx_bytes,
old               465 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 		       new->tx_pkts - old->tx_pkts);
old               466 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 	qstats->qlen += new->backlog_pkts - old->backlog_pkts;
old               467 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 	qstats->backlog += new->backlog_bytes - old->backlog_bytes;
old               468 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 	qstats->overlimits += new->overlimits - old->overlimits;
old               469 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 	qstats->drops += new->drops - old->drops;
old               474 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 			    struct nfp_alink_xstats *old,
old               477 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 	stats->forced_mark += new->ecn_marked - old->ecn_marked;
old               478 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 	stats->pdrop += new->pdrop - old->pdrop;
old               131 drivers/net/ethernet/netronome/nfp/nfp_app.c 	struct nfp_reprs *old;
old               133 drivers/net/ethernet/netronome/nfp/nfp_app.c 	old = nfp_reprs_get_locked(app, type);
old               138 drivers/net/ethernet/netronome/nfp/nfp_app.c 	return old;
old              2068 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		struct sk_buff *skb, bool old)
old              2090 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		if (!old)
old                40 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	struct ionic_rxq_desc *old = desc_info->desc;
old                43 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	new->addr = old->addr;
old                44 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	new->len = old->len;
old              1095 drivers/net/ethernet/qlogic/qede/qede_filter.c 	struct bpf_prog *old;
old              1097 drivers/net/ethernet/qlogic/qede/qede_filter.c 	old = xchg(&edev->xdp_prog, args->u.new_prog);
old              1098 drivers/net/ethernet/qlogic/qede/qede_filter.c 	if (old)
old              1099 drivers/net/ethernet/qlogic/qede/qede_filter.c 		bpf_prog_put(old);
old               343 drivers/net/fddi/skfp/smtdef.c 	u_long	old ;
old               344 drivers/net/fddi/skfp/smtdef.c 	old = *oper ;
old               349 drivers/net/fddi/skfp/smtdef.c 	return old != *oper;
old               161 drivers/net/net_failover.c 	const u64 *old = (const u64 *)_old;
old               167 drivers/net/net_failover.c 		u64 ov = old[i];
old              2280 drivers/net/tun.c 	struct tun_prog *old, *new = NULL;
old              2290 drivers/net/tun.c 	old = rcu_dereference_protected(*prog_p,
old              2295 drivers/net/tun.c 	if (old)
old              2296 drivers/net/tun.c 		call_rcu(&old->rcu, tun_prog_free);
old              1086 drivers/net/usb/hso.c 				    struct ktermios *old)
old              1386 drivers/net/usb/hso.c static void hso_serial_set_termios(struct tty_struct *tty, struct ktermios *old)
old              1391 drivers/net/usb/hso.c 	if (old)
old              1393 drivers/net/usb/hso.c 			tty->termios.c_cflag, old->c_cflag);
old              1398 drivers/net/usb/hso.c 		_hso_serial_set_termios(tty, old);
old              1400 drivers/net/usb/hso.c 		tty->termios = *old;
old              3340 drivers/net/vxlan.c 				 struct vxlan_dev *old,
old              3477 drivers/net/vxlan.c 		if (tmp == old)
old               225 drivers/net/wan/lmc/lmc_media.c   int old;
old               226 drivers/net/wan/lmc/lmc_media.c   old = sc->ictl.clock_source;
old               232 drivers/net/wan/lmc/lmc_media.c       if(old != ie)
old               240 drivers/net/wan/lmc/lmc_media.c       if(old != ie)
old               613 drivers/net/wan/lmc/lmc_media.c   int old;
old               614 drivers/net/wan/lmc/lmc_media.c   old = ie;
old               620 drivers/net/wan/lmc/lmc_media.c       if(ie != old)
old               628 drivers/net/wan/lmc/lmc_media.c       if(ie != old)
old              1180 drivers/net/wan/lmc/lmc_media.c   int old;
old              1181 drivers/net/wan/lmc/lmc_media.c   old = ie;
old              1187 drivers/net/wan/lmc/lmc_media.c       if(old != ie)
old              1195 drivers/net/wan/lmc/lmc_media.c       if(old != ie)
old              1433 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		ath10k_wmi_pull_peer_stats(&src->old, dst);
old              3027 drivers/net/wireless/ath/ath10k/wmi.c 		ath10k_wmi_pull_peer_stats(&src->old, dst);
old              3103 drivers/net/wireless/ath/ath10k/wmi.c 		ath10k_wmi_pull_peer_stats(&src->old, dst);
old              3186 drivers/net/wireless/ath/ath10k/wmi.c 		ath10k_wmi_pull_peer_stats(&src->common.old, dst);
old              4730 drivers/net/wireless/ath/ath10k/wmi.h 	struct wmi_peer_stats old;
old              4735 drivers/net/wireless/ath/ath10k/wmi.h 	struct wmi_peer_stats old;
old                81 drivers/net/wireless/ath/ath10k/wow.c 					     const struct cfg80211_pkt_pattern *old)
old                88 drivers/net/wireless/ath/ath10k/wow.c 	int total_len = old->pkt_offset + old->pattern_len;
old               105 drivers/net/wireless/ath/ath10k/wow.c 	memcpy(hdr_8023_pattern + old->pkt_offset,
old               106 drivers/net/wireless/ath/ath10k/wow.c 	       old->pattern, ETH_HLEN - old->pkt_offset);
old               107 drivers/net/wireless/ath/ath10k/wow.c 	memcpy(hdr_8023_bit_mask + old->pkt_offset,
old               108 drivers/net/wireless/ath/ath10k/wow.c 	       old->mask, ETH_HLEN - old->pkt_offset);
old               127 drivers/net/wireless/ath/ath10k/wow.c 	if (old->pkt_offset < ETH_ALEN)
old               128 drivers/net/wireless/ath/ath10k/wow.c 		new->pkt_offset = old->pkt_offset +
old               130 drivers/net/wireless/ath/ath10k/wow.c 	else if (old->pkt_offset < offsetof(struct ethhdr, h_proto))
old               131 drivers/net/wireless/ath/ath10k/wow.c 		new->pkt_offset = old->pkt_offset +
old               135 drivers/net/wireless/ath/ath10k/wow.c 		new->pkt_offset = old->pkt_offset + hdr_len + rfc_len - ETH_HLEN;
old               161 drivers/net/wireless/ath/ath10k/wow.c 		       (void *)old->pattern + ETH_HLEN - old->pkt_offset,
old               164 drivers/net/wireless/ath/ath10k/wow.c 		       (void *)old->mask + ETH_HLEN - old->pkt_offset,
old               236 drivers/net/wireless/ath/ath9k/channel.c 	struct timespec64 ts, *old;
old               239 drivers/net/wireless/ath/ath9k/channel.c 	old = &sc->last_event_time;
old               241 drivers/net/wireless/ath/ath9k/channel.c 	ms -= old->tv_sec * 1000 + old->tv_nsec / 1000000;
old                51 drivers/net/wireless/ath/ath9k/dynack.c static inline int ath_dynack_ewma(int old, int new)
old                53 drivers/net/wireless/ath/ath9k/dynack.c 	if (old > 0)
old                55 drivers/net/wireless/ath/ath9k/dynack.c 			old * EWMA_LEVEL) / EWMA_DIV;
old              1615 drivers/net/wireless/ath/carl9170/tx.c 	__le32 *data, *old = NULL;
old              1636 drivers/net/wireless/ath/carl9170/tx.c 		old = (__le32 *)cvif->beacon->data;
old              1677 drivers/net/wireless/ath/carl9170/tx.c 		if (old && (data[i] == old[i]))
old              3272 drivers/net/wireless/atmel/atmel.c 	u8 old = priv->wstats.qual.level;
old              3284 drivers/net/wireless/atmel/atmel.c 	if ((rssi + old) % 2)
old              3285 drivers/net/wireless/atmel/atmel.c 		priv->wstats.qual.level = (rssi + old) / 2 + 1;
old              3287 drivers/net/wireless/atmel/atmel.c 		priv->wstats.qual.level = (rssi + old) / 2;
old              4491 drivers/net/wireless/broadcom/b43/phy_n.c 	struct b43_phy_n_iq_comp old;
old              4498 drivers/net/wireless/broadcom/b43/phy_n.c 	b43_nphy_rx_iq_coeffs(dev, false, &old);
old              4501 drivers/net/wireless/broadcom/b43/phy_n.c 	new = old;
old              4572 drivers/net/wireless/broadcom/b43/phy_n.c 		new = old;
old              1303 drivers/net/wireless/cisco/airo.c static void age_mic_context(miccntx *cur, miccntx *old, u8 *key, int key_len,
old              1313 drivers/net/wireless/cisco/airo.c 	memcpy(old, cur, sizeof(*cur));
old              2848 drivers/net/wireless/intersil/hostap/hostap_ap.c 		int old, rate;
old              2849 drivers/net/wireless/intersil/hostap/hostap_ap.c 		old = rate = sta->tx_rate_idx;
old              2857 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (old != sta->tx_rate_idx) {
old               150 drivers/net/wireless/intersil/p54/eeprom.c 	struct ieee80211_supported_band *tmp, *old;
old               214 drivers/net/wireless/intersil/p54/eeprom.c 	old = priv->band_table[band];
old               216 drivers/net/wireless/intersil/p54/eeprom.c 	if (old) {
old               217 drivers/net/wireless/intersil/p54/eeprom.c 		kfree(old->channels);
old               218 drivers/net/wireless/intersil/p54/eeprom.c 		kfree(old);
old              1176 drivers/net/wireless/mediatek/mt7601u/phy.c 	u32 val, old;
old              1187 drivers/net/wireless/mediatek/mt7601u/phy.c 	old = mt7601u_rr(dev, MT_MAC_SYS_CTRL);
old              1188 drivers/net/wireless/mediatek/mt7601u/phy.c 	val = old & ~(MT_MAC_SYS_CTRL_ENABLE_TX | MT_MAC_SYS_CTRL_ENABLE_RX);
old              1195 drivers/net/wireless/mediatek/mt7601u/phy.c 	mt7601u_wr(dev, MT_MAC_SYS_CTRL, old);
old               730 drivers/net/wireless/wl3501_cs.c 	u8 old = inb(this->base_addr + WL3501_NIC_GCR);
old               731 drivers/net/wireless/wl3501_cs.c 	u8 new = old & (~(WL3501_GCR_ECINT | WL3501_GCR_INT2EC |
old               735 drivers/net/wireless/wl3501_cs.c 	return old & WL3501_GCR_ENECINT;
old               747 drivers/net/wireless/wl3501_cs.c 	u8 old = inb(this->base_addr + WL3501_NIC_GCR);
old               748 drivers/net/wireless/wl3501_cs.c 	u8 new = (old & ~(WL3501_GCR_ECINT | WL3501_GCR_INT2EC)) |
old               752 drivers/net/wireless/wl3501_cs.c 	return old & WL3501_GCR_ENECINT;
old               405 drivers/nfc/s3fwrn5/firmware.c 	struct s3fwrn5_fw_version *old = (void *) &version;
old               407 drivers/nfc/s3fwrn5/firmware.c 	if (new->major > old->major)
old               409 drivers/nfc/s3fwrn5/firmware.c 	if (new->build1 > old->build1)
old               411 drivers/nfc/s3fwrn5/firmware.c 	if (new->build2 > old->build2)
old               492 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 	int old = sndev->link_is_up;
old               507 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 	if (link_sta != old) {
old               289 drivers/nvdimm/btt.c 	int old;
old               308 drivers/nvdimm/btt.c 			old = 0;
old               310 drivers/nvdimm/btt.c 			old = 1;
old               313 drivers/nvdimm/btt.c 			old = 1;
old               315 drivers/nvdimm/btt.c 			old = 0;
old               318 drivers/nvdimm/btt.c 	return old;
old              1958 drivers/nvme/host/core.c static int nvme_pr_register(struct block_device *bdev, u64 old,
old              1966 drivers/nvme/host/core.c 	cdw10 = old ? 2 : 0;
old              1969 drivers/nvme/host/core.c 	return nvme_pr_command(bdev, cdw10, old, new, nvme_cmd_resv_register);
old              1985 drivers/nvme/host/core.c static int nvme_pr_preempt(struct block_device *bdev, u64 old, u64 new,
old              1989 drivers/nvme/host/core.c 	return nvme_pr_command(bdev, cdw10, old, new, nvme_cmd_resv_acquire);
old               227 drivers/nvme/host/multipath.c 		int node, struct nvme_ns *old)
old               232 drivers/nvme/host/multipath.c 		if (nvme_path_is_disabled(old))
old               234 drivers/nvme/host/multipath.c 		return old;
old               237 drivers/nvme/host/multipath.c 	for (ns = nvme_next_ns(head, old);
old               238 drivers/nvme/host/multipath.c 	     ns != old;
old               301 drivers/nvme/host/pci.c static inline int nvme_dbbuf_need_event(u16 event_idx, u16 new_idx, u16 old)
old               303 drivers/nvme/host/pci.c 	return (u16)(new_idx - event_idx - 1) < (u16)(new_idx - old);
old               556 drivers/nvme/target/core.c 		struct nvmet_ns *old;
old               558 drivers/nvme/target/core.c 		list_for_each_entry_rcu(old, &subsys->namespaces, dev_link,
old               560 drivers/nvme/target/core.c 			BUG_ON(ns->nsid == old->nsid);
old               561 drivers/nvme/target/core.c 			if (ns->nsid < old->nsid)
old               565 drivers/nvme/target/core.c 		list_add_tail_rcu(&ns->dev_link, &old->dev_link);
old              1059 drivers/nvme/target/core.c 	u32 old;
old              1062 drivers/nvme/target/core.c 	old = ctrl->cc;
old              1065 drivers/nvme/target/core.c 	if (nvmet_cc_en(new) && !nvmet_cc_en(old))
old              1067 drivers/nvme/target/core.c 	if (!nvmet_cc_en(new) && nvmet_cc_en(old))
old              1069 drivers/nvme/target/core.c 	if (nvmet_cc_shn(new) && !nvmet_cc_shn(old)) {
old              1073 drivers/nvme/target/core.c 	if (!nvmet_cc_shn(new) && nvmet_cc_shn(old))
old               107 drivers/nvme/target/fabrics-cmd.c 	struct nvmet_ctrl *old;
old               110 drivers/nvme/target/fabrics-cmd.c 	old = cmpxchg(&req->sq->ctrl, NULL, ctrl);
old               111 drivers/nvme/target/fabrics-cmd.c 	if (old) {
old                95 drivers/of/irq.c 	struct device_node *ipar, *tnode, *old = NULL, *newpar = NULL;
old               132 drivers/of/irq.c 	old = of_node_get(ipar);
old               134 drivers/of/irq.c 		tmp = of_get_property(old, "#address-cells", NULL);
old               135 drivers/of/irq.c 		tnode = of_get_parent(old);
old               136 drivers/of/irq.c 		of_node_put(old);
old               137 drivers/of/irq.c 		old = tnode;
old               138 drivers/of/irq.c 	} while (old && tmp == NULL);
old               139 drivers/of/irq.c 	of_node_put(old);
old               140 drivers/of/irq.c 	old = NULL;
old               793 drivers/parport/ieee1284.c 	long int old = dev->timeout;
old               800 drivers/parport/ieee1284.c 	return old;
old                74 drivers/parport/parport_amiga.c 	unsigned char old;
old                77 drivers/parport/parport_amiga.c 	old = amiga_read_control(p);
old                78 drivers/parport/parport_amiga.c 	amiga_write_control(p, (old & ~mask) ^ val);
old                79 drivers/parport/parport_amiga.c 	return old;
old                80 drivers/parport/parport_atari.c 	unsigned char old = parport_atari_read_control(p);
old                81 drivers/parport/parport_atari.c 	parport_atari_write_control(p, (old & ~mask) ^ val);
old                82 drivers/parport/parport_atari.c 	return old;
old               148 drivers/parport/parport_ax88796.c 	unsigned char old = parport_ax88796_read_control(p);
old               151 drivers/parport/parport_ax88796.c 		mask, val, old);
old               153 drivers/parport/parport_ax88796.c 	parport_ax88796_write_control(p, (old & ~mask) | val);
old               154 drivers/parport/parport_ax88796.c 	return old;
old               143 drivers/parport/parport_mfc3.c 	unsigned char old;
old               146 drivers/parport/parport_mfc3.c 	old = mfc3_read_control(p);
old               147 drivers/parport/parport_mfc3.c 	mfc3_write_control(p, (old & ~mask) ^ val);
old               148 drivers/parport/parport_mfc3.c 	return old;
old               466 drivers/pci/controller/pci-aardvark.c 				     int reg, u32 old, u32 new, u32 mask)
old               474 drivers/pci/controller/pci-mvebu.c 				      int reg, u32 old, u32 new, u32 mask)
old               485 drivers/pci/controller/pci-mvebu.c 		if ((old ^ new) & PCI_COMMAND_IO)
old               487 drivers/pci/controller/pci-mvebu.c 		if ((old ^ new) & PCI_COMMAND_MEMORY)
old               523 drivers/pci/controller/pci-mvebu.c 				      int reg, u32 old, u32 new, u32 mask)
old               985 drivers/pci/hotplug/ibmphp_hpc.c static int process_changeinlatch(u8 old, u8 new, struct controller *ctrl)
old               992 drivers/pci/hotplug/ibmphp_hpc.c 	debug("%s - Entry old[%x], new[%x]\n", __func__, old, new);
old               997 drivers/pci/hotplug/ibmphp_hpc.c 		if ((mask & old) != (mask & new)) {
old               387 drivers/pci/pci-bridge-emul.c 	int mask, ret, old, new, shift;
old               389 drivers/pci/pci-bridge-emul.c 			 u32 old, u32 new, u32 mask);
old               410 drivers/pci/pci-bridge-emul.c 	ret = pci_bridge_emul_conf_read(bridge, reg, 4, &old);
old               426 drivers/pci/pci-bridge-emul.c 	new = old & (~mask | ~behavior[reg / 4].rw);
old               437 drivers/pci/pci-bridge-emul.c 		write_op(bridge, reg, old, new, mask);
old               100 drivers/pci/pci-bridge-emul.h 			   u32 old, u32 new, u32 mask);
old               107 drivers/pci/pci-bridge-emul.h 			   u32 old, u32 new, u32 mask);
old               558 drivers/pci/pci-sysfs.c 	char *driver_override, *old, *cp;
old               573 drivers/pci/pci-sysfs.c 	old = pdev->driver_override;
old               582 drivers/pci/pci-sysfs.c 	kfree(old);
old               412 drivers/pci/setup-res.c 	int old, ret;
old               431 drivers/pci/setup-res.c 	old = pci_rebar_get_current_size(dev, resno);
old               432 drivers/pci/setup-res.c 	if (old < 0)
old               433 drivers/pci/setup-res.c 		return old;
old               449 drivers/pci/setup-res.c 	pci_rebar_set_size(dev, resno, old);
old               450 drivers/pci/setup-res.c 	res->end = res->start + pci_rebar_size_to_bytes(old) - 1;
old               193 drivers/pcmcia/pxa2xx_base.c 		if (freqs->new > freqs->old) {
old               197 drivers/pcmcia/pxa2xx_base.c 			       freqs->old / 1000, (freqs->old / 100) % 10);
old               203 drivers/pcmcia/pxa2xx_base.c 		if (freqs->new < freqs->old) {
old               207 drivers/pcmcia/pxa2xx_base.c 			       freqs->old / 1000, (freqs->old / 100) % 10);
old               120 drivers/pcmcia/sa11xx_base.c 		if (freqs->new > freqs->old)
old               125 drivers/pcmcia/sa11xx_base.c 		if (freqs->new < freqs->old)
old               885 drivers/pcmcia/ti113x.h 	u8 old, diag;
old               887 drivers/pcmcia/ti113x.h 	old = config_readb(socket, TI1250_DIAGNOSTIC);
old               888 drivers/pcmcia/ti113x.h 	diag = old & ~(TI1250_DIAG_PCI_CSC | TI1250_DIAG_PCI_IREQ);
old               892 drivers/pcmcia/ti113x.h 	if (diag != old) {
old               895 drivers/pcmcia/ti113x.h 			 old, diag);
old               252 drivers/pcmcia/yenta_socket.c 		u8 reg, old;
old               253 drivers/pcmcia/yenta_socket.c 		reg = old = exca_readb(socket, I365_POWER);
old               298 drivers/pcmcia/yenta_socket.c 		if (reg != old)
old               420 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(old-replacement,			0x1d),
old               424 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(old-r-replacement,			0x21),
old               425 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(old-nr-replacement,		0x22),
old               354 drivers/pinctrl/mediatek/pinctrl-moore.c 	unsigned int i, npins, old = 0;
old               366 drivers/pinctrl/mediatek/pinctrl-moore.c 		if (i && old != *config)
old               369 drivers/pinctrl/mediatek/pinctrl-moore.c 		old = *config;
old              1859 drivers/pinctrl/pinctrl-ingenic.c 	unsigned int i, npins, old = 0;
old              1871 drivers/pinctrl/pinctrl-ingenic.c 		if (i && (old != *config))
old              1874 drivers/pinctrl/pinctrl-ingenic.c 		old = *config;
old               625 drivers/pinctrl/pinctrl-rzn1.c 	unsigned long old = 0;
old               635 drivers/pinctrl/pinctrl-rzn1.c 		if (i && (old != *config))
old               638 drivers/pinctrl/pinctrl-rzn1.c 		old = *config;
old               589 drivers/pinctrl/pinctrl-single.c 	unsigned npins, old = 0;
old               599 drivers/pinctrl/pinctrl-single.c 		if (i && (old != *config))
old               601 drivers/pinctrl/pinctrl-single.c 		old = *config;
old               797 drivers/platform/x86/asus-laptop.c 	int old = bd->props.brightness;
old               801 drivers/platform/x86/asus-laptop.c 	return old;
old              1829 drivers/platform/x86/asus-wmi.c 	int old = bd->props.brightness;
old              1830 drivers/platform/x86/asus-wmi.c 	int new = old;
old              1841 drivers/platform/x86/asus-wmi.c 	return old;
old              1341 drivers/platform/x86/dell-laptop.c static int kbd_set_state_safe(struct kbd_state *state, struct kbd_state *old)
old              1355 drivers/platform/x86/dell-laptop.c 	if (kbd_set_state(old))
old              1117 drivers/platform/x86/eeepc-laptop.c 	int old = bd->props.brightness;
old              1121 drivers/platform/x86/eeepc-laptop.c 	return old;
old               230 drivers/power/supply/88pm860x_battery.c 			       int *old)
old               234 drivers/power/supply/88pm860x_battery.c 	if (data < 50 || data > 1600 || !old)
old               238 drivers/power/supply/88pm860x_battery.c 	*old = pm860x_reg_read(info->i2c, PM8607_CHG_CTRL2);
old               239 drivers/power/supply/88pm860x_battery.c 	*old = (*old & 0x1f) * 50 + 50;
old               152 drivers/power/supply/collie_battery.c 	int old;
old               157 drivers/power/supply/collie_battery.c 	old = bat->status;
old               170 drivers/power/supply/collie_battery.c 			if (old == POWER_SUPPLY_STATUS_CHARGING ||
old               185 drivers/power/supply/collie_battery.c 	if (old != bat->status)
old               156 drivers/power/supply/tosa_battery.c 	int old;
old               161 drivers/power/supply/tosa_battery.c 	old = bat->status;
old               174 drivers/power/supply/tosa_battery.c 			if (old == POWER_SUPPLY_STATUS_CHARGING ||
old               189 drivers/power/supply/tosa_battery.c 	if (old != bat->status)
old               274 drivers/rapidio/rio_cm.c 	enum rio_cm_state old;
old               277 drivers/rapidio/rio_cm.c 	old = ch->state;
old               280 drivers/rapidio/rio_cm.c 	return old;
old               335 drivers/rpmsg/rpmsg_core.c 	char *new, *old;						\
old               343 drivers/rpmsg/rpmsg_core.c 	old = rpdev->member;						\
old               352 drivers/rpmsg/rpmsg_core.c 	kfree(old);							\
old               315 drivers/rtc/sysfs.c 	const struct attribute_group **groups, **old;
old               338 drivers/rtc/sysfs.c 	old = rtc->dev.groups;
old               340 drivers/rtc/sysfs.c 	if (old && old != rtc_attr_groups)
old               341 drivers/rtc/sysfs.c 		devm_kfree(&rtc->dev, old);
old              1779 drivers/s390/char/tty3270.c tty3270_set_termios(struct tty_struct *tty, struct ktermios *old)
old               337 drivers/s390/cio/css.c 	char *driver_override, *old, *cp;
old               352 drivers/s390/cio/css.c 	old = sch->driver_override;
old               361 drivers/s390/cio/css.c 	kfree(old);
old               534 drivers/s390/scsi/zfcp_scsi.c 					   struct fsf_qtcb_bottom_port *old)
old               537 drivers/s390/scsi/zfcp_scsi.c 		data->seconds_since_last_reset - old->seconds_since_last_reset;
old               538 drivers/s390/scsi/zfcp_scsi.c 	fc_stats->tx_frames = data->tx_frames - old->tx_frames;
old               539 drivers/s390/scsi/zfcp_scsi.c 	fc_stats->tx_words = data->tx_words - old->tx_words;
old               540 drivers/s390/scsi/zfcp_scsi.c 	fc_stats->rx_frames = data->rx_frames - old->rx_frames;
old               541 drivers/s390/scsi/zfcp_scsi.c 	fc_stats->rx_words = data->rx_words - old->rx_words;
old               542 drivers/s390/scsi/zfcp_scsi.c 	fc_stats->lip_count = data->lip - old->lip;
old               543 drivers/s390/scsi/zfcp_scsi.c 	fc_stats->nos_count = data->nos - old->nos;
old               544 drivers/s390/scsi/zfcp_scsi.c 	fc_stats->error_frames = data->error_frames - old->error_frames;
old               545 drivers/s390/scsi/zfcp_scsi.c 	fc_stats->dumped_frames = data->dumped_frames - old->dumped_frames;
old               546 drivers/s390/scsi/zfcp_scsi.c 	fc_stats->link_failure_count = data->link_failure - old->link_failure;
old               547 drivers/s390/scsi/zfcp_scsi.c 	fc_stats->loss_of_sync_count = data->loss_of_sync - old->loss_of_sync;
old               549 drivers/s390/scsi/zfcp_scsi.c 		data->loss_of_signal - old->loss_of_signal;
old               551 drivers/s390/scsi/zfcp_scsi.c 		data->psp_error_counts - old->psp_error_counts;
old               553 drivers/s390/scsi/zfcp_scsi.c 		data->invalid_tx_words - old->invalid_tx_words;
old               554 drivers/s390/scsi/zfcp_scsi.c 	fc_stats->invalid_crc_count = data->invalid_crcs - old->invalid_crcs;
old               556 drivers/s390/scsi/zfcp_scsi.c 		data->input_requests - old->input_requests;
old               558 drivers/s390/scsi/zfcp_scsi.c 		data->output_requests - old->output_requests;
old               560 drivers/s390/scsi/zfcp_scsi.c 		data->control_requests - old->control_requests;
old               561 drivers/s390/scsi/zfcp_scsi.c 	fc_stats->fcp_input_megabytes = data->input_mb - old->input_mb;
old               562 drivers/s390/scsi/zfcp_scsi.c 	fc_stats->fcp_output_megabytes = data->output_mb - old->output_mb;
old               833 drivers/scsi/dpt_i2o.c 	struct adpt_i2o_post_wait_data *p1, *old;
old               852 drivers/scsi/dpt_i2o.c 		old = p1;
old               854 drivers/scsi/dpt_i2o.c 		kfree(old);
old               772 drivers/scsi/fcoe/fcoe_sysfs.c 				 struct fcoe_fcf_device *old)
old               774 drivers/scsi/fcoe/fcoe_sysfs.c 	if (new->switch_name == old->switch_name &&
old               775 drivers/scsi/fcoe/fcoe_sysfs.c 	    new->fabric_name == old->fabric_name &&
old               776 drivers/scsi/fcoe/fcoe_sysfs.c 	    new->fc_map == old->fc_map &&
old               777 drivers/scsi/fcoe/fcoe_sysfs.c 	    ether_addr_equal(new->mac, old->mac))
old              1979 drivers/scsi/libsas/sas_expander.c static bool dev_type_flutter(enum sas_device_type new, enum sas_device_type old)
old              1981 drivers/scsi/libsas/sas_expander.c 	if (old == new)
old              1987 drivers/scsi/libsas/sas_expander.c 	if ((old == SAS_SATA_PENDING && new == SAS_END_DEVICE) ||
old              1988 drivers/scsi/libsas/sas_expander.c 	    (old == SAS_END_DEVICE && new == SAS_SATA_PENDING))
old               357 drivers/scsi/myrb.c 		struct myrb_error_entry *new, *old;
old               367 drivers/scsi/myrb.c 			old = &old_table[err_table_offset];
old               368 drivers/scsi/myrb.c 			if (new->parity_err == old->parity_err &&
old               369 drivers/scsi/myrb.c 			    new->soft_err == old->soft_err &&
old               370 drivers/scsi/myrb.c 			    new->hard_err == old->hard_err &&
old               371 drivers/scsi/myrb.c 			    new->misc_err == old->misc_err)
old               400 drivers/scsi/myrb.c 		struct myrb_ldev_info *old = NULL;
old               416 drivers/scsi/myrb.c 		old = sdev->hostdata;
old               417 drivers/scsi/myrb.c 		if (new->state != old->state)
old               421 drivers/scsi/myrb.c 		if (new->wb_enabled != old->wb_enabled)
old               425 drivers/scsi/myrb.c 		memcpy(old, new, sizeof(*new));
old               673 drivers/scsi/myrb.c 	struct myrb_enquiry old, *new;
old               676 drivers/scsi/myrb.c 	memcpy(&old, cb->enquiry, sizeof(struct myrb_enquiry));
old               683 drivers/scsi/myrb.c 	if (new->ldev_count > old.ldev_count) {
old               684 drivers/scsi/myrb.c 		int ldev_num = old.ldev_count - 1;
old               691 drivers/scsi/myrb.c 	if (new->ldev_count < old.ldev_count) {
old               694 drivers/scsi/myrb.c 		while (++ldev_num < old.ldev_count)
old               699 drivers/scsi/myrb.c 	if (new->status.deferred != old.status.deferred)
old               703 drivers/scsi/myrb.c 	if (new->ev_seq != old.ev_seq) {
old               709 drivers/scsi/myrb.c 			     old.ev_seq, new->ev_seq);
old               712 drivers/scsi/myrb.c 	     new->ldev_critical != old.ldev_critical) ||
old               714 drivers/scsi/myrb.c 	     new->ldev_offline != old.ldev_offline) ||
old               715 drivers/scsi/myrb.c 	    (new->ldev_count != old.ldev_count)) {
old               724 drivers/scsi/myrb.c 	    new->pdev_dead != old.pdev_dead ||
old               732 drivers/scsi/myrb.c 	    old.rbld == MYRB_STDBY_RBLD_IN_PROGRESS ||
old               733 drivers/scsi/myrb.c 	    old.rbld == MYRB_BG_RBLD_IN_PROGRESS) {
old               735 drivers/scsi/myrb.c 		cb->rbld_first = (new->ldev_critical < old.ldev_critical);
old               737 drivers/scsi/myrb.c 	if (old.rbld == MYRB_BG_CHECK_IN_PROGRESS)
old               259 drivers/scsi/myrs.c 		struct myrs_ldev_info *old = &ldev_info_orig;
old               262 drivers/scsi/myrs.c 		if (new->dev_state != old->dev_state) {
old               270 drivers/scsi/myrs.c 		if ((new->soft_errs != old->soft_errs) ||
old               271 drivers/scsi/myrs.c 		    (new->cmds_failed != old->cmds_failed) ||
old               272 drivers/scsi/myrs.c 		    (new->deferred_write_errs != old->deferred_write_errs))
old               294 drivers/scsi/myrs.c 		if (old->bg_init_active && !new->bg_init_active)
old              3514 drivers/scsi/ncr53c8xx.c 	ncrcmd  opcode, new, old, tmp1, tmp2;
old              3611 drivers/scsi/ncr53c8xx.c 				old = *src++;
old              3613 drivers/scsi/ncr53c8xx.c 				switch (old & RELOC_MASK) {
old              3615 drivers/scsi/ncr53c8xx.c 					new = (old & ~RELOC_MASK) + np->paddr;
old              3618 drivers/scsi/ncr53c8xx.c 					new = (old & ~RELOC_MASK) + np->p_script;
old              3621 drivers/scsi/ncr53c8xx.c 					new = (old & ~RELOC_MASK) + np->p_scripth;
old              3624 drivers/scsi/ncr53c8xx.c 					new = (old & ~RELOC_MASK) + np->p_ncb;
old              3628 drivers/scsi/ncr53c8xx.c 					if (((old & ~RELOC_MASK) <
old              3630 drivers/scsi/ncr53c8xx.c 					    ((old & ~RELOC_MASK) >
old              3633 drivers/scsi/ncr53c8xx.c 					new = vtophys(script_kvars[old &
old              3639 drivers/scsi/ncr53c8xx.c 					if (old == 0) {
old              3640 drivers/scsi/ncr53c8xx.c 						new = old;
old              3645 drivers/scsi/ncr53c8xx.c 					panic("ncr_script_copy_and_bind: weird relocation %x\n", old);
old               350 drivers/scsi/sym53c8xx_2/sym_fw.c 	u32 opcode, new, old, tmp1, tmp2;
old               501 drivers/scsi/sym53c8xx_2/sym_fw.c 			old = *cur;
old               503 drivers/scsi/sym53c8xx_2/sym_fw.c 			switch (old & RELOC_MASK) {
old               505 drivers/scsi/sym53c8xx_2/sym_fw.c 				new = (old & ~RELOC_MASK) + np->mmio_ba;
old               508 drivers/scsi/sym53c8xx_2/sym_fw.c 				new = (old & ~RELOC_MASK) + np->scripta_ba;
old               511 drivers/scsi/sym53c8xx_2/sym_fw.c 				new = (old & ~RELOC_MASK) + np->scriptb_ba;
old               514 drivers/scsi/sym53c8xx_2/sym_fw.c 				new = (old & ~RELOC_MASK) + np->hcb_ba;
old               522 drivers/scsi/sym53c8xx_2/sym_fw.c 				if (old == 0) {
old               523 drivers/scsi/sym53c8xx_2/sym_fw.c 					new = old;
old               530 drivers/scsi/sym53c8xx_2/sym_fw.c 				      "weird relocation %x\n", old);
old               202 drivers/soc/ti/knav_qmss_acc.c 	u32 old, new;
old               214 drivers/soc/ti/knav_qmss_acc.c 	old = acc->open_mask;
old               216 drivers/soc/ti/knav_qmss_acc.c 		new = old | BIT(queue);
old               218 drivers/soc/ti/knav_qmss_acc.c 		new = old & ~BIT(queue);
old               223 drivers/soc/ti/knav_qmss_acc.c 		old, new, acc->name);
old               225 drivers/soc/ti/knav_qmss_acc.c 	if (likely(new == old))
old               228 drivers/soc/ti/knav_qmss_acc.c 	if (new && !old) {
old               244 drivers/soc/ti/knav_qmss_acc.c 	if (old && !new) {
old               220 drivers/spi/spi-atmel.c #define SPI_BFINS(name, value, old) \
old               221 drivers/spi/spi-atmel.c 	(((old) & ~(((1 << SPI_##name##_SIZE) - 1) << SPI_##name##_OFFSET)) \
old                80 drivers/spi/spi.c 	const char *driver_override, *old;
old                91 drivers/spi/spi.c 	old = spi->driver_override;
old               100 drivers/spi/spi.c 	kfree(old);
old               246 drivers/staging/comedi/drivers/amplc_pci224.c #define COMBINE(old, new, mask)	(((old) & ~(mask)) | ((new) & (mask)))
old               432 drivers/staging/comedi/drivers/amplc_pci230.c #define COMBINE(old, new, mask)	(((old) & ~(mask)) | ((new) & (mask)))
old               445 drivers/staging/fwserial/fwserial.c 	unsigned int old;
old               453 drivers/staging/fwserial/fwserial.c 	old = port->mctrl;
old               457 drivers/staging/fwserial/fwserial.c 	if (~old & OOB_RX_THROTTLE)
old              1272 drivers/staging/fwserial/fwserial.c static void fwtty_set_termios(struct tty_struct *tty, struct ktermios *old)
old              1280 drivers/staging/fwserial/fwserial.c 	if ((baud == 0) && (old->c_cflag & CBAUD)) {
old              1282 drivers/staging/fwserial/fwserial.c 	} else if ((baud != 0) && !(old->c_cflag & CBAUD)) {
old              1291 drivers/staging/fwserial/fwserial.c 	if (old->c_cflag & CRTSCTS) {
old               666 drivers/staging/greybus/uart.c 	struct async_icount old;
old               674 drivers/staging/greybus/uart.c 		old = gb_tty->oldcount;
old               679 drivers/staging/greybus/uart.c 		if ((arg & TIOCM_DSR) && (old.dsr != new.dsr))
old               681 drivers/staging/greybus/uart.c 		if ((arg & TIOCM_CD) && (old.dcd != new.dcd))
old               683 drivers/staging/greybus/uart.c 		if ((arg & TIOCM_RI) && (old.rng != new.rng))
old               407 drivers/staging/isdn/gigaset/interface.c static void if_set_termios(struct tty_struct *tty, struct ktermios *old)
old               426 drivers/staging/isdn/gigaset/interface.c 	old_cflag = old ? old->c_cflag : cflag;
old               522 drivers/staging/media/soc_camera/mt9t031.c 			u32 old;
old               524 drivers/staging/media/soc_camera/mt9t031.c 			get_shutter(client, &old);
old               526 drivers/staging/media/soc_camera/mt9t031.c 				old, shutter);
old               165 drivers/staging/speakup/serialio.c 	int old = inb(speakup_info.port_tts + UART_MCR);
old               167 drivers/staging/speakup/serialio.c 	outb((old & ~clear) | set, speakup_info.port_tts + UART_MCR);
old                40 drivers/target/target_core_hba.c 	struct target_backend *tb, *old;
old                48 drivers/target/target_core_hba.c 	list_for_each_entry(old, &backend_list, list) {
old                49 drivers/target/target_core_hba.c 		if (!strcmp(old->ops->name, ops->name)) {
old               203 drivers/thermal/rcar_thermal.c 	u32 ctemp, old, new;
old               215 drivers/thermal/rcar_thermal.c 	old = ~0;
old               225 drivers/thermal/rcar_thermal.c 		if (new == old) {
old               229 drivers/thermal/rcar_thermal.c 		old = new;
old                62 drivers/thunderbolt/nhi.c 	u32 old, new;
old                94 drivers/thunderbolt/nhi.c 	old = ioread32(ring->nhi->iobase + reg);
old                96 drivers/thunderbolt/nhi.c 		new = old | mask;
old                98 drivers/thunderbolt/nhi.c 		new = old & ~mask;
old               102 drivers/thunderbolt/nhi.c 		active ? "enabling" : "disabling", reg, bit, old, new);
old               104 drivers/thunderbolt/nhi.c 	if (new == old)
old               123 drivers/tty/amiserial.c 		struct ktermios *old);
old              3135 drivers/tty/n_gsm.c static void gsmtty_set_termios(struct tty_struct *tty, struct ktermios *old)
old              3145 drivers/tty/n_gsm.c 	tty_termios_copy_hw(&tty->termios, old);
old               141 drivers/tty/n_r3964.c static void r3964_set_termios(struct tty_struct *tty, struct ktermios *old);
old              1235 drivers/tty/n_r3964.c static void r3964_set_termios(struct tty_struct *tty, struct ktermios *old)
old               775 drivers/tty/n_tty.c 	size_t nr, old, echoed;
old               781 drivers/tty/n_tty.c 	old = ldata->echo_commit - ldata->echo_tail;
old               788 drivers/tty/n_tty.c 	    (nr % ECHO_BLOCK > old % ECHO_BLOCK)) {
old              1794 drivers/tty/n_tty.c static void n_tty_set_termios(struct tty_struct *tty, struct ktermios *old)
old              1798 drivers/tty/n_tty.c 	if (!old || (old->c_lflag ^ tty->termios.c_lflag) & (ICANON | EXTPROC)) {
old              1868 drivers/tty/n_tty.c 	if (!I_IXON(tty) && old && (old->c_iflag & IXON) && !tty->flow_stopped) {
old               211 drivers/tty/serial/21285.c 			struct ktermios *old)
old               230 drivers/tty/serial/21285.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); 
old               264 drivers/tty/serial/8250/8250_dw.c dw8250_do_pm(struct uart_port *port, unsigned int state, unsigned int old)
old               269 drivers/tty/serial/8250/8250_dw.c 	serial8250_do_pm(port, state, old);
old               276 drivers/tty/serial/8250/8250_dw.c 			       struct ktermios *old)
old               304 drivers/tty/serial/8250/8250_dw.c 	serial8250_do_set_termios(p, termios, old);
old               141 drivers/tty/serial/8250/8250_exar.c static void exar_pm(struct uart_port *port, unsigned int state, unsigned int old)
old               308 drivers/tty/serial/8250/8250_fintek.c 				    struct ktermios *old)
old               362 drivers/tty/serial/8250/8250_fintek.c 		baud = tty_termios_baud_rate(old);
old               367 drivers/tty/serial/8250/8250_fintek.c 	serial8250_do_set_termios(port, termios, old);
old                73 drivers/tty/serial/8250/8250_lpss.c 			    struct ktermios *old)
old               107 drivers/tty/serial/8250/8250_lpss.c 	serial8250_do_set_termios(p, termios, old);
old               201 drivers/tty/serial/8250/8250_mid.c 				struct ktermios *old)
old               232 drivers/tty/serial/8250/8250_mid.c 	serial8250_do_set_termios(p, termios, old);
old               284 drivers/tty/serial/8250/8250_mtk.c 			struct ktermios *old)
old               308 drivers/tty/serial/8250/8250_mtk.c 	serial8250_do_set_termios(port, termios, old);
old               323 drivers/tty/serial/8250/8250_mtk.c 	baud = uart_get_baud_rate(port, termios, old,
old               419 drivers/tty/serial/8250/8250_mtk.c mtk8250_do_pm(struct uart_port *port, unsigned int state, unsigned int old)
old               424 drivers/tty/serial/8250/8250_mtk.c 	serial8250_do_pm(port, state, old);
old               334 drivers/tty/serial/8250/8250_omap.c 				  struct ktermios *old)
old               369 drivers/tty/serial/8250/8250_omap.c 	baud = uart_get_baud_rate(port, termios, old,
old              2540 drivers/tty/serial/8250/8250_port.c 					     struct ktermios *old)
old              2548 drivers/tty/serial/8250/8250_port.c 	return uart_get_baud_rate(port, termios, old,
old              2555 drivers/tty/serial/8250/8250_port.c 			  struct ktermios *old)
old              2570 drivers/tty/serial/8250/8250_port.c 	baud = serial8250_get_baud_rate(port, termios, old);
old              2693 drivers/tty/serial/8250/8250_port.c 		       struct ktermios *old)
old              2696 drivers/tty/serial/8250/8250_port.c 		port->set_termios(port, termios, old);
old              2698 drivers/tty/serial/8250/8250_port.c 		serial8250_do_set_termios(port, termios, old);
old               110 drivers/tty/serial/altera_jtaguart.c 					struct ktermios *old)
old               113 drivers/tty/serial/altera_jtaguart.c 	if (old)
old               114 drivers/tty/serial/altera_jtaguart.c 		tty_termios_copy_hw(termios, old);
old               178 drivers/tty/serial/altera_uart.c 				    struct ktermios *old)
old               183 drivers/tty/serial/altera_uart.c 	baud = uart_get_baud_rate(port, termios, old, 0, 4000000);
old               186 drivers/tty/serial/altera_uart.c 	if (old)
old               187 drivers/tty/serial/altera_uart.c 		tty_termios_copy_hw(termios, old);
old               382 drivers/tty/serial/amba-pl010.c 		     struct ktermios *old)
old               393 drivers/tty/serial/amba-pl010.c 	baud = uart_get_baud_rate(port, termios, old, 0, uap->port.uartclk/16); 
old              1947 drivers/tty/serial/amba-pl011.c 		     struct ktermios *old)
old              1963 drivers/tty/serial/amba-pl011.c 	baud = uart_get_baud_rate(port, termios, old, 0,
old              2068 drivers/tty/serial/amba-pl011.c 		      struct ktermios *old)
old               237 drivers/tty/serial/apbuart.c 				struct ktermios *termios, struct ktermios *old)
old               244 drivers/tty/serial/apbuart.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16);
old               229 drivers/tty/serial/ar933x_uart.c 				    struct ktermios *old)
old               257 drivers/tty/serial/ar933x_uart.c 	baud = uart_get_baud_rate(port, new, old, up->min_baud, up->max_baud);
old               360 drivers/tty/serial/arc_uart.c 		       struct ktermios *old)
old               373 drivers/tty/serial/arc_uart.c 	baud = uart_get_baud_rate(port, new, old, 0, 460800);
old               395 drivers/tty/serial/arc_uart.c 	if (old)
old               396 drivers/tty/serial/arc_uart.c 		tty_termios_copy_hw(new, old);
old              2133 drivers/tty/serial/atmel_serial.c 			      struct ktermios *old)
old              2146 drivers/tty/serial/atmel_serial.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16);
old               503 drivers/tty/serial/bcm63xx_uart.c 				 struct ktermios *old)
old               553 drivers/tty/serial/bcm63xx_uart.c 	baud = uart_get_baud_rate(port, new, old, 0, port->uartclk / 16);
old               258 drivers/tty/serial/clps711x.c 				      struct ktermios *old)
old               268 drivers/tty/serial/clps711x.c 	baud = uart_get_baud_rate(port, termios, old, port->uartclk / 4096,
old               494 drivers/tty/serial/cpm_uart/cpm_uart_core.c                                  struct ktermios *old)
old               508 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16);
old               290 drivers/tty/serial/digicolor-usart.c 				       struct ktermios *old)
old               301 drivers/tty/serial/digicolor-usart.c 	baud = uart_get_baud_rate(port, termios, old,
old               348 drivers/tty/serial/efm32-uart.c 		struct ktermios *new, struct ktermios *old)
old               359 drivers/tty/serial/efm32-uart.c 	baud = uart_get_baud_rate(port, new, old,
old               424 drivers/tty/serial/fsl_linflexuart.c 		    struct ktermios *old)
old               428 drivers/tty/serial/fsl_linflexuart.c 	unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8;
old              1629 drivers/tty/serial/fsl_lpuart.c 		   struct ktermios *old)
old              1635 drivers/tty/serial/fsl_lpuart.c 	unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8;
old              1710 drivers/tty/serial/fsl_lpuart.c 	baud = uart_get_baud_rate(port, termios, old, 50, port->uartclk / 16);
old              1719 drivers/tty/serial/fsl_lpuart.c 	if (old && sport->lpuart_dma_rx_use) {
old              1772 drivers/tty/serial/fsl_lpuart.c 	if (old && sport->lpuart_dma_rx_use) {
old              1856 drivers/tty/serial/fsl_lpuart.c 		   struct ktermios *old)
old              1862 drivers/tty/serial/fsl_lpuart.c 	unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8;
old              1925 drivers/tty/serial/fsl_lpuart.c 	baud = uart_get_baud_rate(port, termios, old, 50, port->uartclk / 4);
old              1934 drivers/tty/serial/fsl_lpuart.c 	if (old && sport->lpuart_dma_rx_use) {
old              1976 drivers/tty/serial/fsl_lpuart.c 	if (old && sport->lpuart_dma_rx_use) {
old              1565 drivers/tty/serial/imx.c 		     struct ktermios *old)
old              1571 drivers/tty/serial/imx.c 	unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8;
old              1591 drivers/tty/serial/imx.c 	baud = uart_get_baud_rate(port, termios, old, 50, port->uartclk / 16);
old               880 drivers/tty/serial/ip22zilog.c 		      struct ktermios *old)
old               887 drivers/tty/serial/ip22zilog.c 	baud = uart_get_baud_rate(port, termios, old, 1200, 76800);
old               411 drivers/tty/serial/lantiq.c 	struct ktermios *new, struct ktermios *old)
old               479 drivers/tty/serial/lantiq.c 	baud = uart_get_baud_rate(port, new, old, 0, port->uartclk / 16);
old               502 drivers/tty/serial/lpc32xx_hs.c 				       struct ktermios *old)
old               514 drivers/tty/serial/lpc32xx_hs.c 	baud = uart_get_baud_rate(port, termios, old, 0,
old               421 drivers/tty/serial/max3100.c 		    struct ktermios *old)
old               899 drivers/tty/serial/max310x.c 				struct ktermios *old)
old               996 drivers/tty/serial/max310x.c 	baud = uart_get_baud_rate(port, termios, old,
old               195 drivers/tty/serial/mcf.c 	struct ktermios *old)
old               204 drivers/tty/serial/mcf.c 	baud = uart_get_baud_rate(port, termios, old, 0, 230400);
old               481 drivers/tty/serial/men_z135_uart.c 	u32 old;
old               484 drivers/tty/serial/men_z135_uart.c 	conf_reg = old = ioread32(port->membase + MEN_Z135_CONF_REG);
old               510 drivers/tty/serial/men_z135_uart.c 	if (conf_reg != old)
old               650 drivers/tty/serial/men_z135_uart.c 				struct ktermios *old)
old               712 drivers/tty/serial/men_z135_uart.c 	baud = uart_get_baud_rate(port, termios, old, 0, uart_freq / 16);
old               316 drivers/tty/serial/meson_uart.c 				   struct ktermios *old)
old               368 drivers/tty/serial/meson_uart.c 	baud = uart_get_baud_rate(port, termios, old, 50, 4000000);
old               305 drivers/tty/serial/milbeaut_usio.c 			struct ktermios *termios, struct ktermios *old)
old               339 drivers/tty/serial/milbeaut_usio.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk);
old               106 drivers/tty/serial/mpc52xx_uart.c 					struct ktermios *old);
old               292 drivers/tty/serial/mpc52xx_uart.c 					     struct ktermios *old)
old               298 drivers/tty/serial/mpc52xx_uart.c 	baud = uart_get_baud_rate(port, new, old,
old               310 drivers/tty/serial/mpc52xx_uart.c 					      struct ktermios *old)
old               318 drivers/tty/serial/mpc52xx_uart.c 	baud = uart_get_baud_rate(port, new, old,
old               538 drivers/tty/serial/mpc52xx_uart.c 					     struct ktermios *old)
old               557 drivers/tty/serial/mpc52xx_uart.c 	baud = uart_get_baud_rate(port, new, old,
old               888 drivers/tty/serial/mpc52xx_uart.c 					     struct ktermios *old)
old               898 drivers/tty/serial/mpc52xx_uart.c 	baud = uart_get_baud_rate(port, new, old,
old              1175 drivers/tty/serial/mpc52xx_uart.c 			 struct ktermios *old)
old              1245 drivers/tty/serial/mpc52xx_uart.c 	baud = psc_ops->set_baudrate(port, new, old);
old               361 drivers/tty/serial/mps2-uart.c 		      struct ktermios *old)
old               372 drivers/tty/serial/mps2-uart.c 	baud = uart_get_baud_rate(port, termios, old,
old              1037 drivers/tty/serial/msm_serial.c 	unsigned long target, old, best_rate = 0, diff, best_diff = ULONG_MAX;
old              1079 drivers/tty/serial/msm_serial.c 			old = target;
old              1080 drivers/tty/serial/msm_serial.c 			target = clk_round_rate(msm_port->clk, old + 1);
old              1085 drivers/tty/serial/msm_serial.c 			if (target == old)
old              1240 drivers/tty/serial/msm_serial.c 			    struct ktermios *old)
old              1253 drivers/tty/serial/msm_serial.c 	baud = uart_get_baud_rate(port, termios, old, 300, 4000000);
old               296 drivers/tty/serial/mux.c 	        struct ktermios *old)
old               482 drivers/tty/serial/mvebu-uart.c 				   struct ktermios *old)
old               509 drivers/tty/serial/mvebu-uart.c 	baud = uart_get_baud_rate(port, termios, old, 0, 230400);
old               512 drivers/tty/serial/mvebu-uart.c 		if (old)
old               513 drivers/tty/serial/mvebu-uart.c 			baud = uart_get_baud_rate(port, old, NULL, 0, 230400);
old               520 drivers/tty/serial/mvebu-uart.c 	if (old) {
old               522 drivers/tty/serial/mvebu-uart.c 		termios->c_iflag |= old->c_iflag & ~(INPCK | IGNPAR);
old               524 drivers/tty/serial/mvebu-uart.c 		termios->c_cflag |= old->c_cflag & ~(CREAD | CBAUD);
old               976 drivers/tty/serial/mxs-auart.c 				 struct ktermios *old)
old              1076 drivers/tty/serial/mxs-auart.c 		baud = uart_get_baud_rate(u, termios, old,
old              1084 drivers/tty/serial/mxs-auart.c 		baud = uart_get_baud_rate(u, termios, old, baud_min, baud_max);
old               840 drivers/tty/serial/omap-serial.c 			struct ktermios *old)
old               876 drivers/tty/serial/omap-serial.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/13);
old               329 drivers/tty/serial/owl-uart.c 				 struct ktermios *old)
old               383 drivers/tty/serial/owl-uart.c 	baud = uart_get_baud_rate(port, termios, old, 9600, 3200000);
old              1369 drivers/tty/serial/pch_uart.c 				 struct ktermios *termios, struct ktermios *old)
old              1413 drivers/tty/serial/pch_uart.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16);
old               529 drivers/tty/serial/pic32_uart.c 				   struct ktermios *old)
old               593 drivers/tty/serial/pic32_uart.c 	baud = uart_get_baud_rate(port, new, old, 0, port->uartclk / 16);
old              1234 drivers/tty/serial/pmac_zilog.c 			      struct ktermios *old)
old              1252 drivers/tty/serial/pmac_zilog.c 		baud = uart_get_baud_rate(port, termios, old, 1200, 4000000);
old              1261 drivers/tty/serial/pmac_zilog.c 		baud = uart_get_baud_rate(port, termios, old, 1200, 230400);
old              1282 drivers/tty/serial/pmac_zilog.c 			    struct ktermios *old)
old              1293 drivers/tty/serial/pmac_zilog.c 	__pmz_set_termios(port, termios, old);
old               440 drivers/tty/serial/pnx8xxx_uart.c 		   struct ktermios *old)
old               446 drivers/tty/serial/pnx8xxx_uart.c 	unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8;
old               474 drivers/tty/serial/pnx8xxx_uart.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16);
old               429 drivers/tty/serial/pxa.c 		       struct ktermios *old)
old               463 drivers/tty/serial/pxa.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16);
old               950 drivers/tty/serial/qcom_geni_serial.c 				struct ktermios *termios, struct ktermios *old)
old               967 drivers/tty/serial/qcom_geni_serial.c 	baud = uart_get_baud_rate(uport, termios, old, 300, 4000000);
old               241 drivers/tty/serial/rda-uart.c 				 struct ktermios *old)
old               251 drivers/tty/serial/rda-uart.c 	baud = uart_get_baud_rate(port, termios, old, 9600, port->uartclk / 4);
old               376 drivers/tty/serial/rp2.c 				 struct ktermios *old)
old               382 drivers/tty/serial/rp2.c 	baud = uart_get_baud_rate(port, new, old, 0, port->uartclk / 16);
old               420 drivers/tty/serial/sa1100.c 		   struct ktermios *old)
old               426 drivers/tty/serial/sa1100.c 	unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8;
old               454 drivers/tty/serial/sa1100.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); 
old              1107 drivers/tty/serial/samsung.c 			      unsigned int old)
old              1269 drivers/tty/serial/samsung.c 				       struct ktermios *old)
old              1290 drivers/tty/serial/samsung.c 	baud = uart_get_baud_rate(port, termios, old, 0, 3000000);
old               868 drivers/tty/serial/sc16is7xx.c 				  struct ktermios *old)
old               951 drivers/tty/serial/sc16is7xx.c 	baud = uart_get_baud_rate(port, termios, old,
old               643 drivers/tty/serial/sccnxp.c 			       struct ktermios *termios, struct ktermios *old)
old               711 drivers/tty/serial/sccnxp.c 	baud = uart_get_baud_rate(port, termios, old, 50,
old               143 drivers/tty/serial/serial_core.c 	unsigned int old;
old               146 drivers/tty/serial/serial_core.c 	old = port->mctrl;
old               147 drivers/tty/serial/serial_core.c 	port->mctrl = (old & ~clear) | set;
old               148 drivers/tty/serial/serial_core.c 	if (old != port->mctrl)
old               393 drivers/tty/serial/serial_core.c 		   struct ktermios *old, unsigned int min, unsigned int max)
old               445 drivers/tty/serial/serial_core.c 		if (old) {
old               446 drivers/tty/serial/serial_core.c 			baud = tty_termios_baud_rate(old);
old               450 drivers/tty/serial/serial_core.c 			old = NULL;
old               626 drivers/tty/serial/serial_txx9.c 		       struct ktermios *old)
old               668 drivers/tty/serial/serial_txx9.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16/2);
old              2373 drivers/tty/serial/sh-sci.c 			    struct ktermios *old)
old              2403 drivers/tty/serial/sh-sci.c 		baud = uart_get_baud_rate(port, termios, old, 0, 115200);
old              2410 drivers/tty/serial/sh-sci.c 	baud = uart_get_baud_rate(port, termios, old, 0, max_freq / min_sr(s));
old               642 drivers/tty/serial/sifive.c 				      struct ktermios *old)
old               662 drivers/tty/serial/sifive.c 	rate = uart_get_baud_rate(port, termios, old, 0, ssp->clkin_rate / 16);
old               695 drivers/tty/serial/sirfsoc_uart.c 				       struct ktermios *old)
old               794 drivers/tty/serial/sirfsoc_uart.c 	baud_rate = uart_get_baud_rate(port, termios, old, 0, 4000000);
old               780 drivers/tty/serial/sprd_serial.c 			     struct ktermios *old)
old               787 drivers/tty/serial/sprd_serial.c 	baud = uart_get_baud_rate(port, termios, old, 0, SPRD_BAUD_IO_LIMIT);
old               508 drivers/tty/serial/st-asc.c 			    struct ktermios *old)
old               524 drivers/tty/serial/st-asc.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16);
old               682 drivers/tty/serial/stm32-usart.c 			    struct ktermios *old)
old               697 drivers/tty/serial/stm32-usart.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 8);
old               330 drivers/tty/serial/sunhv.c 			      struct ktermios *old)
old               332 drivers/tty/serial/sunhv.c 	unsigned int baud = uart_get_baud_rate(port, termios, old, 0, 4000000);
old               783 drivers/tty/serial/sunsab.c 			       struct ktermios *old)
old               788 drivers/tty/serial/sunsab.c 	unsigned int baud = uart_get_baud_rate(port, termios, old, 0, 4000000);
old               909 drivers/tty/serial/sunsu.c 		  struct ktermios *old)
old               916 drivers/tty/serial/sunsu.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); 
old               945 drivers/tty/serial/sunzilog.c 		     struct ktermios *old)
old               952 drivers/tty/serial/sunzilog.c 	baud = uart_get_baud_rate(port, termios, old, 1200, 76800);
old               129 drivers/tty/serial/tegra-tcu.c 				       struct ktermios *old)
old               281 drivers/tty/serial/timbuart.c 	struct ktermios *old)
old               287 drivers/tty/serial/timbuart.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16);
old               297 drivers/tty/serial/timbuart.c 	if (old)
old               298 drivers/tty/serial/timbuart.c 		tty_termios_copy_hw(termios, old);
old               306 drivers/tty/serial/uartlite.c 			      struct ktermios *old)
old               332 drivers/tty/serial/uartlite.c 	baud = uart_get_baud_rate(port, termios, old, 0, 460800);
old               852 drivers/tty/serial/ucc_uart.c 				struct ktermios *termios, struct ktermios *old)
old               951 drivers/tty/serial/ucc_uart.c 	baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16);
old               503 drivers/tty/serial/vr41xx_siu.c                             struct ktermios *old)
old               535 drivers/tty/serial/vr41xx_siu.c 	baud = uart_get_baud_rate(port, new, old, 0, port->uartclk/16);
old               364 drivers/tty/serial/vt8500_serial.c 			       struct ktermios *old)
old               375 drivers/tty/serial/vt8500_serial.c 	baud = uart_get_baud_rate(port, termios, old, 900, 921600);
old               685 drivers/tty/serial/xilinx_uartps.c 				struct ktermios *termios, struct ktermios *old)
old               719 drivers/tty/serial/xilinx_uartps.c 	baud = uart_get_baud_rate(port, termios, old, minbaud, maxbaud);
old               243 drivers/tty/tty_ioctl.c static void unset_locked_termios(struct tty_struct *tty, struct ktermios *old)
old               251 drivers/tty/tty_ioctl.c 	NOSET_MASK(termios->c_iflag, old->c_iflag, locked->c_iflag);
old               252 drivers/tty/tty_ioctl.c 	NOSET_MASK(termios->c_oflag, old->c_oflag, locked->c_oflag);
old               253 drivers/tty/tty_ioctl.c 	NOSET_MASK(termios->c_cflag, old->c_cflag, locked->c_cflag);
old               254 drivers/tty/tty_ioctl.c 	NOSET_MASK(termios->c_lflag, old->c_lflag, locked->c_lflag);
old               255 drivers/tty/tty_ioctl.c 	termios->c_line = locked->c_line ? old->c_line : termios->c_line;
old               258 drivers/tty/tty_ioctl.c 			old->c_cc[i] : termios->c_cc[i];
old               273 drivers/tty/tty_ioctl.c void tty_termios_copy_hw(struct ktermios *new, struct ktermios *old)
old               278 drivers/tty/tty_ioctl.c 	new->c_cflag |= old->c_cflag & ~(HUPCL | CREAD | CLOCAL);
old               279 drivers/tty/tty_ioctl.c 	new->c_ispeed = old->c_ispeed;
old               280 drivers/tty/tty_ioctl.c 	new->c_ospeed = old->c_ospeed;
old               682 drivers/tty/tty_ioctl.c 	struct ktermios old;
old               685 drivers/tty/tty_ioctl.c 	old = tty->termios;
old               689 drivers/tty/tty_ioctl.c 		tty->ops->set_termios(tty, &old);
old               531 drivers/tty/tty_ldisc.c static void tty_ldisc_restore(struct tty_struct *tty, struct tty_ldisc *old)
old               534 drivers/tty/tty_ldisc.c 	if (tty_ldisc_failto(tty, old->ops->num) < 0) {
old               808 drivers/tty/vt/vt.c 	static unsigned short old;
old               815 drivers/tty/vt/vt.c 		scr_writew(old, screenpos(vc, old_offset, 1));
old               817 drivers/tty/vt/vt.c 			vc->vc_sw->con_putc(vc, old, oldy, oldx);
old               828 drivers/tty/vt/vt.c 		old = scr_readw(p);
old               829 drivers/tty/vt/vt.c 		new = old ^ vc->vc_complement_mask;
old               111 drivers/tty/vt/vt_ioctl.c void vt_event_post(unsigned int event, unsigned int old, unsigned int new)
old               128 drivers/tty/vt/vt_ioctl.c 		ve->event.oldev = old + 1;
old              1264 drivers/tty/vt/vt_ioctl.c 	int old = fg_console;
old              1328 drivers/tty/vt/vt_ioctl.c 	vt_event_post(VT_EVENT_SWITCH, old, vc->vc_num);
old               967 drivers/usb/class/cdc-acm.c 	struct async_icount old, new;
old               971 drivers/usb/class/cdc-acm.c 		old = acm->oldcount;
old               977 drivers/usb/class/cdc-acm.c 			old.dsr != new.dsr)
old               980 drivers/usb/class/cdc-acm.c 			old.dcd != new.dcd)
old               983 drivers/usb/class/cdc-acm.c 			old.rng != new.rng)
old              2062 drivers/usb/gadget/composite.c 		const struct usb_device_descriptor *old)
old              2082 drivers/usb/gadget/composite.c 	*new = *old;
old               182 drivers/usb/gadget/udc/atmel_usba_udc.h #define USBA_BFINS(name, value, old)				\
old               183 drivers/usb/gadget/udc/atmel_usba_udc.h 	(((old) & ~(((1 << USBA_##name##_SIZE) - 1)		\
old                47 drivers/usb/misc/trancevibrator.c 	int temp, retval, old;
old                56 drivers/usb/misc/trancevibrator.c 	old = tv->speed;
old                68 drivers/usb/misc/trancevibrator.c 		tv->speed = old;
old                79 drivers/usb/musb/davinci.c 	u32	tmp, old, val;
old                85 drivers/usb/musb/davinci.c 	old = tmp;
old                89 drivers/usb/musb/davinci.c 	tmp |= old;
old               329 drivers/usb/musb/musb_cppi41.c static u32 update_ep_mode(unsigned ep, unsigned mode, u32 old)
old               334 drivers/usb/musb/musb_cppi41.c 	old &= ~(3 << shift);
old               335 drivers/usb/musb/musb_cppi41.c 	old |= mode << shift;
old               336 drivers/usb/musb/musb_cppi41.c 	return old;
old                47 drivers/usb/serial/belkin_sa.c 			struct usb_serial_port *port, struct ktermios * old);
old               126 drivers/usb/serial/cypress_m8.c 			struct usb_serial_port *port, struct ktermios *old);
old              1073 drivers/usb/serial/ftdi_sio.c 			struct usb_serial_port *port, struct ktermios *old);
old                59 drivers/usb/serial/keyspan.c 				struct ktermios *old);
old                59 drivers/usb/serial/kl5kusb105.c 			struct usb_serial_port *port, struct ktermios *old);
old                65 drivers/usb/serial/kobil_sct.c 			struct usb_serial_port *port, struct ktermios *old);
old               479 drivers/usb/serial/kobil_sct.c 			struct usb_serial_port *port, struct ktermios *old)
old               491 drivers/usb/serial/kobil_sct.c 		tty_termios_copy_hw(&tty->termios, old);
old                48 drivers/usb/serial/mct_u232.c 			struct usb_serial_port *port, struct ktermios *old);
old               122 drivers/usb/serial/oti6858.c 			struct usb_serial_port *port, struct ktermios *old);
old               438 drivers/usb/serial/usb-serial.c static void serial_set_termios(struct tty_struct *tty, struct ktermios *old)
old               445 drivers/usb/serial/usb-serial.c 		port->serial->type->set_termios(tty, port, old);
old               447 drivers/usb/serial/usb-serial.c 		tty_termios_copy_hw(&tty->termios, old);
old                89 drivers/usb/serial/whiteheat.c 			struct usb_serial_port *port, struct ktermios *old);
old               172 drivers/vfio/vfio_iommu_type1.c static void vfio_unlink_dma(struct vfio_iommu *iommu, struct vfio_dma *old)
old               174 drivers/vfio/vfio_iommu_type1.c 	rb_erase(&old->node, &iommu->dma_list);
old               219 drivers/vfio/vfio_iommu_type1.c static void vfio_unlink_pfn(struct vfio_dma *dma, struct vfio_pfn *old)
old               221 drivers/vfio/vfio_iommu_type1.c 	rb_erase(&old->node, &dma->pfn_list);
old              1419 drivers/vfio/vfio_iommu_type1.c 	struct device **old = data, *new;
old              1422 drivers/vfio/vfio_iommu_type1.c 	if (!new || (*old && *old != new))
old              1425 drivers/vfio/vfio_iommu_type1.c 	*old = new;
old              2374 drivers/vhost/vhost.c 	u16 old, new;
old              2390 drivers/vhost/vhost.c 	old = vq->last_used_idx;
old              2396 drivers/vhost/vhost.c 	if (unlikely((u16)(new - vq->signalled_used) < (u16)(new - old)))
old              2440 drivers/vhost/vhost.c 	__u16 old, new;
old              2460 drivers/vhost/vhost.c 	old = vq->signalled_used;
old              2472 drivers/vhost/vhost.c 	return vring_need_event(vhost16_to_cpu(vq, event), new, old);
old              2051 drivers/video/fbdev/atafb.c 	register unsigned char old, new;
old              2067 drivers/video/fbdev/atafb.c 		old = new;
old              2069 drivers/video/fbdev/atafb.c 	} while (old != new);
old              1091 drivers/video/fbdev/cyber2000fb.c 		int old;
old              1093 drivers/video/fbdev/cyber2000fb.c 		old = cyber2000_grphr(EXT_FUNC_CTL, cfb);
old              1094 drivers/video/fbdev/cyber2000fb.c 		old |= EXT_FUNC_CTL_EXTREGENBL;
old              1095 drivers/video/fbdev/cyber2000fb.c 		cyber2000_grphw(EXT_FUNC_CTL, old, cfb);
old              1106 drivers/video/fbdev/cyber2000fb.c 		int old;
old              1108 drivers/video/fbdev/cyber2000fb.c 		old = cyber2000_grphr(EXT_FUNC_CTL, cfb);
old              1109 drivers/video/fbdev/cyber2000fb.c 		old &= ~EXT_FUNC_CTL_EXTREGENBL;
old              1110 drivers/video/fbdev/cyber2000fb.c 		cyber2000_grphw(EXT_FUNC_CTL, old, cfb);
old               828 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 	int old;
old               831 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 	old = atomic_cmpxchg(&ddata->do_update, 1, 0);
old               833 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 	if (old) {
old              2195 drivers/video/fbdev/sis/sis_main.c     unsigned short old;
old              2198 drivers/video/fbdev/sis/sis_main.c     old = SiS_ReadDDC1Bit(&ivideo->SiS_Pr);
old              2200 drivers/video/fbdev/sis/sis_main.c 	if(old != SiS_ReadDDC1Bit(&ivideo->SiS_Pr)) break;
old               592 drivers/virtio/virtio_ring.c 	u16 new, old;
old               600 drivers/virtio/virtio_ring.c 	old = vq->split.avail_idx_shadow - vq->num_added;
old               610 drivers/virtio/virtio_ring.c 					      new, old);
old              1235 drivers/virtio/virtio_ring.c 	u16 new, old, off_wrap, flags, wrap_counter, event_idx;
old              1253 drivers/virtio/virtio_ring.c 	old = vq->packed.next_avail_idx - vq->num_added;
old              1275 drivers/virtio/virtio_ring.c 	needs_kick = vring_need_event(event_idx, new, old);
old               215 drivers/watchdog/smsc37b787_wdt.c 	unsigned char old;
old               235 drivers/watchdog/smsc37b787_wdt.c 	old = read_io_cr(0xF1) & 0x7F;
old               237 drivers/watchdog/smsc37b787_wdt.c 		old |= 0x80;	/* set to seconds */
old               240 drivers/watchdog/smsc37b787_wdt.c 	wdt_timer_units(old);
old               234 drivers/xen/events/events_fifo.c 	event_word_t new, old, w;
old               239 drivers/xen/events/events_fifo.c 		old = w & ~(1 << EVTCHN_FIFO_BUSY);
old               240 drivers/xen/events/events_fifo.c 		new = old & ~(1 << EVTCHN_FIFO_MASKED);
old               241 drivers/xen/events/events_fifo.c 		w = sync_cmpxchg(word, old, new);
old               242 drivers/xen/events/events_fifo.c 	} while (w != old);
old               260 drivers/xen/events/events_fifo.c 	event_word_t new, old, w;
old               265 drivers/xen/events/events_fifo.c 		old = w;
old               268 drivers/xen/events/events_fifo.c 	} while ((w = sync_cmpxchg(word, old, new)) != old);
old               177 fs/9p/cache.c  	struct fscache_cookie *old;
old               182 fs/9p/cache.c  	old = v9inode->fscache;
old               198 fs/9p/cache.c  		 inode, old, v9inode->fscache);
old                49 fs/adfs/dir_f.h 	} old;
old               321 fs/affs/bitmap.c 		u32 old, new;
old               324 fs/affs/bitmap.c 		old = be32_to_cpu(((__be32 *)bh->b_data)[offset]);
old               325 fs/affs/bitmap.c 		new = old & mask;
old                93 fs/afs/callback.c 	struct afs_cb_interest *cbi, *vcbi, *new, *old;
old               117 fs/afs/callback.c 			old = rcu_dereference_protected(vnode->cb_interest,
old               121 fs/afs/callback.c 			afs_put_cb_interest(afs_v2net(vnode), old);
old               164 fs/afs/callback.c 	old = rcu_dereference_protected(vnode->cb_interest,
old               172 fs/afs/callback.c 	afs_put_cb_interest(afs_v2net(vnode), old);
old               383 fs/afs/cell.c  	struct afs_vlserver_list *vllist, *old = NULL, *p;
old               460 fs/afs/cell.c  		old = p;
old               463 fs/afs/cell.c  	afs_put_vlserverlist(cell->net, old);
old                19 fs/afs/dir_silly.c 			       struct dentry *old, struct dentry *new,
old                27 fs/afs/dir_silly.c 	_enter("%pd,%pd", old, new);
old                39 fs/afs/dir_silly.c 			afs_fs_rename(&fc, old->d_name.name,
old                50 fs/afs/dir_silly.c 		spin_lock(&old->d_lock);
old                51 fs/afs/dir_silly.c 		old->d_flags |= DCACHE_NFSFS_RENAMED;
old                52 fs/afs/dir_silly.c 		spin_unlock(&old->d_lock);
old                61 fs/afs/dir_silly.c 			afs_edit_dir_remove(dvnode, &old->d_name,
old               252 fs/afs/inode.c 	struct afs_cb_interest *old;
old               257 fs/afs/inode.c 		old = rcu_dereference_protected(vnode->cb_interest,
old               259 fs/afs/inode.c 		if (old != fc->cbi) {
old               261 fs/afs/inode.c 			afs_put_cb_interest(afs_v2net(vnode), old);
old               102 fs/afs/server_list.c 			      struct afs_server_list *old)
old               107 fs/afs/server_list.c 	if (old->nr_servers != new->nr_servers)
old               110 fs/afs/server_list.c 	for (i = 0; i < old->nr_servers; i++)
old               111 fs/afs/server_list.c 		if (old->servers[i].server != new->servers[i].server)
old               118 fs/afs/server_list.c 	cur = old->servers[old->preferred].server;
old               131 fs/afs/server_list.c 	while (i < old->nr_servers && j < new->nr_servers) {
old               132 fs/afs/server_list.c 		if (new->servers[j].server == old->servers[i].server) {
old               133 fs/afs/server_list.c 			struct afs_cb_interest *cbi = old->servers[i].cb_interest;
old               143 fs/afs/server_list.c 		if (new->servers[j].server < old->servers[i].server) {
old               279 fs/afs/vl_list.c 			struct afs_addr_list *old = addrs;
old               282 fs/afs/vl_list.c 			rcu_swap_protected(server->addresses, old,
old               285 fs/afs/vl_list.c 			afs_put_addrlist(old);
old               222 fs/afs/volume.c 	struct afs_server_list *new, *old, *discard;
old               259 fs/afs/volume.c 	old = volume->servers;
old               260 fs/afs/volume.c 	if (afs_annotate_server_list(new, old)) {
old               265 fs/afs/volume.c 		discard = old;
old               378 fs/aio.c       			struct page *old, enum migrate_mode mode)
old               412 fs/aio.c       	idx = old->index;
old               415 fs/aio.c       		if (ctx->ring_pages[idx] != old)
old               424 fs/aio.c       	BUG_ON(PageWriteback(old));
old               427 fs/aio.c       	rc = migrate_page_move_mapping(mapping, new, old, 1);
old               438 fs/aio.c       	migrate_page_copy(new, old);
old               439 fs/aio.c       	BUG_ON(ctx->ring_pages[idx] != old);
old               444 fs/aio.c       	put_page(old);
old               637 fs/aio.c       	struct kioctx_table *table, *old;
old               672 fs/aio.c       		old = rcu_dereference_raw(mm->ioctx_table);
old               674 fs/aio.c       		if (!old) {
old               676 fs/aio.c       		} else if (table->nr > old->nr) {
old               677 fs/aio.c       			memcpy(table->table, old->table,
old               678 fs/aio.c       			       old->nr * sizeof(struct kioctx *));
old               681 fs/aio.c       			kfree_rcu(old, rcu);
old               684 fs/aio.c       			table = old;
old               929 fs/aio.c       		int old, avail = atomic_read(&ctx->reqs_available);
old               935 fs/aio.c       			old = avail;
old               938 fs/aio.c       		} while (avail != old);
old               147 fs/bfs/dir.c   static int bfs_link(struct dentry *old, struct inode *dir,
old               150 fs/bfs/dir.c   	struct inode *inode = d_inode(old);
old               423 fs/btrfs/backref.c 	struct extent_inode_elem *eie = NULL, *old = NULL;
old               463 fs/btrfs/backref.c 			old = NULL;
old               475 fs/btrfs/backref.c 						  eie, (void **)&old, GFP_NOFS);
old               479 fs/btrfs/backref.c 				while (old->next)
old               480 fs/btrfs/backref.c 					old = old->next;
old               481 fs/btrfs/backref.c 				old->next = eie;
old              1365 fs/btrfs/ctree.c 	struct extent_buffer *old;
old              1390 fs/btrfs/ctree.c 		old = read_tree_block(fs_info, logical, 0, level, NULL);
old              1391 fs/btrfs/ctree.c 		if (WARN_ON(IS_ERR(old) || !extent_buffer_uptodate(old))) {
old              1392 fs/btrfs/ctree.c 			if (!IS_ERR(old))
old              1393 fs/btrfs/ctree.c 				free_extent_buffer(old);
old              1398 fs/btrfs/ctree.c 			eb = btrfs_clone_extent_buffer(old);
old              1399 fs/btrfs/ctree.c 			free_extent_buffer(old);
old              3393 fs/btrfs/ctree.c 	struct extent_buffer *old;
old              3423 fs/btrfs/ctree.c 	old = root->node;
old              3429 fs/btrfs/ctree.c 	free_extent_buffer(old);
old              5321 fs/btrfs/extent_io.c 	int old;
old              5331 fs/btrfs/extent_io.c 		old = atomic_cmpxchg(&eb->refs, refs, refs - 1);
old              5332 fs/btrfs/extent_io.c 		if (old == refs)
old              2448 fs/btrfs/inode.c 	struct old_sa_defrag_extent *old;
old              2543 fs/btrfs/inode.c 	struct old_sa_defrag_extent *old = ctx;
old              2544 fs/btrfs/inode.c 	struct new_sa_defrag_extent *new = old->new;
old              2617 fs/btrfs/inode.c 		if (btrfs_file_extent_disk_bytenr(leaf, extent) != old->bytenr)
old              2631 fs/btrfs/inode.c 		if (extent_offset >= old->extent_offset + old->offset +
old              2632 fs/btrfs/inode.c 		    old->len || extent_offset + num_bytes <=
old              2633 fs/btrfs/inode.c 		    old->extent_offset + old->offset)
old              2650 fs/btrfs/inode.c 	backref->old = old;
old              2652 fs/btrfs/inode.c 	old->count++;
old              2663 fs/btrfs/inode.c 	struct old_sa_defrag_extent *old, *tmp;
old              2668 fs/btrfs/inode.c 	list_for_each_entry_safe(old, tmp, &new->head, list) {
old              2669 fs/btrfs/inode.c 		ret = iterate_inodes_from_logical(old->bytenr +
old              2670 fs/btrfs/inode.c 						  old->extent_offset, fs_info,
old              2672 fs/btrfs/inode.c 						  old, false);
old              2677 fs/btrfs/inode.c 		if (!old->count) {
old              2678 fs/btrfs/inode.c 			list_del(&old->list);
old              2679 fs/btrfs/inode.c 			kfree(old);
old              2724 fs/btrfs/inode.c 	struct old_sa_defrag_extent *old = backref->old;
old              2725 fs/btrfs/inode.c 	struct new_sa_defrag_extent *new = old->new;
old              2815 fs/btrfs/inode.c 	if (backref->extent_offset < old->extent_offset + old->offset)
old              2816 fs/btrfs/inode.c 		start += old->extent_offset + old->offset -
old              2820 fs/btrfs/inode.c 		  old->extent_offset + old->offset + old->len);
old              2821 fs/btrfs/inode.c 	len -= max(backref->extent_offset, old->extent_offset + old->offset);
old              2915 fs/btrfs/inode.c 	struct old_sa_defrag_extent *old, *tmp;
old              2920 fs/btrfs/inode.c 	list_for_each_entry_safe(old, tmp, &new->head, list) {
old              2921 fs/btrfs/inode.c 		kfree(old);
old              2982 fs/btrfs/inode.c 	struct old_sa_defrag_extent *old;
old              3057 fs/btrfs/inode.c 		old = kmalloc(sizeof(*old), GFP_NOFS);
old              3058 fs/btrfs/inode.c 		if (!old)
old              3064 fs/btrfs/inode.c 		old->bytenr = disk_bytenr;
old              3065 fs/btrfs/inode.c 		old->extent_offset = extent_offset;
old              3066 fs/btrfs/inode.c 		old->offset = offset - key.offset;
old              3067 fs/btrfs/inode.c 		old->len = end - offset;
old              3068 fs/btrfs/inode.c 		old->new = new;
old              3069 fs/btrfs/inode.c 		old->count = 0;
old              3070 fs/btrfs/inode.c 		list_add_tail(&old->list, &new->head);
old              1420 fs/btrfs/transaction.c 	struct extent_buffer *old;
old              1536 fs/btrfs/transaction.c 	old = btrfs_lock_root_node(root);
old              1537 fs/btrfs/transaction.c 	ret = btrfs_cow_block(trans, root, old, NULL, 0, &old);
old              1539 fs/btrfs/transaction.c 		btrfs_tree_unlock(old);
old              1540 fs/btrfs/transaction.c 		free_extent_buffer(old);
old              1545 fs/btrfs/transaction.c 	btrfs_set_lock_blocking_write(old);
old              1547 fs/btrfs/transaction.c 	ret = btrfs_copy_root(trans, root, old, &tmp, objectid);
old              1549 fs/btrfs/transaction.c 	btrfs_tree_unlock(old);
old              1550 fs/btrfs/transaction.c 	free_extent_buffer(old);
old              5890 fs/btrfs/volumes.c 				struct btrfs_bio_stripe *old =
old              5893 fs/btrfs/volumes.c 				new->physical = old->physical;
old              5894 fs/btrfs/volumes.c 				new->length = old->length;
old               267 fs/ceph/quota.c bool ceph_quota_is_same_realm(struct inode *old, struct inode *new)
old               269 fs/ceph/quota.c 	struct ceph_mds_client *mdsc = ceph_inode_to_client(old)->mdsc;
old               281 fs/ceph/quota.c 	old_realm = get_quota_realm(mdsc, old, true);
old              1173 fs/ceph/super.h extern bool ceph_quota_is_same_realm(struct inode *old, struct inode *new);
old              3616 fs/cifs/connect.c 	struct cifs_sb_info *old = CIFS_SB(sb);
old              3618 fs/cifs/connect.c 	unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK;
old              3624 fs/cifs/connect.c 	if (old->mnt_cifs_serverino_autodisabled)
old              3634 fs/cifs/connect.c 	if (new->wsize && new->wsize < old->wsize)
old              3637 fs/cifs/connect.c 	if (new->rsize && new->rsize < old->rsize)
old              3640 fs/cifs/connect.c 	if (!uid_eq(old->mnt_uid, new->mnt_uid) || !gid_eq(old->mnt_gid, new->mnt_gid))
old              3643 fs/cifs/connect.c 	if (old->mnt_file_mode != new->mnt_file_mode ||
old              3644 fs/cifs/connect.c 	    old->mnt_dir_mode != new->mnt_dir_mode)
old              3647 fs/cifs/connect.c 	if (strcmp(old->local_nls->charset, new->local_nls->charset))
old              3650 fs/cifs/connect.c 	if (old->actimeo != new->actimeo)
old              3659 fs/cifs/connect.c 	struct cifs_sb_info *old = CIFS_SB(sb);
old              3661 fs/cifs/connect.c 	bool old_set = (old->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) &&
old              3662 fs/cifs/connect.c 		old->prepath;
old              3666 fs/cifs/connect.c 	if (old_set && new_set && !strcmp(new->prepath, old->prepath))
old               207 fs/cifs/fscache.c 	struct fscache_cookie *old = cifsi->fscache;
old               215 fs/cifs/fscache.c 			 __func__, cifsi->fscache, old);
old               616 fs/coda/upcall.c static void coda_block_signals(sigset_t *old)
old               619 fs/coda/upcall.c 	*old = current->blocked;
old               630 fs/coda/upcall.c static void coda_unblock_signals(sigset_t *old)
old               633 fs/coda/upcall.c 	current->blocked = *old;
old               656 fs/coda/upcall.c 	sigset_t old;
old               659 fs/coda/upcall.c 	coda_block_signals(&old);
old               676 fs/coda/upcall.c 			coda_unblock_signals(&old);
old               693 fs/coda/upcall.c 		coda_unblock_signals(&old);
old               281 fs/dax.c       	void *old;
old               286 fs/dax.c       	old = xas_store(xas, entry);
old               288 fs/dax.c       	BUG_ON(!dax_is_locked(old));
old               738 fs/dax.c       		void *old;
old               750 fs/dax.c       		old = dax_lock_entry(xas, new_entry);
old               751 fs/dax.c       		WARN_ON_ONCE(old != xa_mk_value(xa_to_value(entry) |
old               614 fs/direct-io.c 	struct workqueue_struct *old;
old               623 fs/direct-io.c 	old = cmpxchg(&sb->s_dio_done_wq, NULL, wq);
old               625 fs/direct-io.c 	if (old)
old              1319 fs/exec.c      		struct user_namespace *old, *user_ns;
old              1323 fs/exec.c      		user_ns = old = bprm->mm->user_ns;
old              1328 fs/exec.c      		if (old != user_ns) {
old              1330 fs/exec.c      			put_user_ns(old);
old               409 fs/ext4/dir.c  			struct fname *old = fname;
old               411 fs/ext4/dir.c  			kfree(old);
old              1262 fs/ext4/namei.c 	struct dx_entry *old = frame->at, *new = old + 1;
old              1266 fs/ext4/namei.c 	assert(old < entries + count);
old              3646 fs/ext4/namei.c 	struct ext4_renament old = {
old              3673 fs/ext4/namei.c 	retval = dquot_initialize(old.dir);
old              3688 fs/ext4/namei.c 	old.bh = ext4_find_entry(old.dir, &old.dentry->d_name, &old.de, NULL);
old              3689 fs/ext4/namei.c 	if (IS_ERR(old.bh))
old              3690 fs/ext4/namei.c 		return PTR_ERR(old.bh);
old              3698 fs/ext4/namei.c 	if (!old.bh || le32_to_cpu(old.de->inode) != old.inode->i_ino)
old              3715 fs/ext4/namei.c 		ext4_alloc_da_blocks(old.inode);
old              3717 fs/ext4/namei.c 	credits = (2 * EXT4_DATA_TRANS_BLOCKS(old.dir->i_sb) +
old              3720 fs/ext4/namei.c 		handle = ext4_journal_start(old.dir, EXT4_HT_DIR, credits);
old              3727 fs/ext4/namei.c 		whiteout = ext4_whiteout_for_rename(&old, credits, &handle);
old              3735 fs/ext4/namei.c 	if (IS_DIRSYNC(old.dir) || IS_DIRSYNC(new.dir))
old              3738 fs/ext4/namei.c 	if (S_ISDIR(old.inode->i_mode)) {
old              3745 fs/ext4/namei.c 			if (new.dir != old.dir && EXT4_DIR_LINK_MAX(new.dir))
old              3748 fs/ext4/namei.c 		retval = ext4_rename_dir_prepare(handle, &old);
old              3759 fs/ext4/namei.c 	force_reread = (new.dir->i_ino == old.dir->i_ino &&
old              3762 fs/ext4/namei.c 	old_file_type = old.de->file_type;
old              3768 fs/ext4/namei.c 		retval = ext4_setent(handle, &old, whiteout->i_ino,
old              3775 fs/ext4/namei.c 		retval = ext4_add_entry(handle, new.dentry, old.inode);
old              3780 fs/ext4/namei.c 				     old.inode->i_ino, old_file_type);
old              3792 fs/ext4/namei.c 	old.inode->i_ctime = current_time(old.inode);
old              3793 fs/ext4/namei.c 	ext4_mark_inode_dirty(handle, old.inode);
old              3799 fs/ext4/namei.c 		ext4_rename_delete(handle, &old, force_reread);
old              3806 fs/ext4/namei.c 	old.dir->i_ctime = old.dir->i_mtime = current_time(old.dir);
old              3807 fs/ext4/namei.c 	ext4_update_dx_flag(old.dir);
old              3808 fs/ext4/namei.c 	if (old.dir_bh) {
old              3809 fs/ext4/namei.c 		retval = ext4_rename_dir_finish(handle, &old, new.dir->i_ino);
old              3813 fs/ext4/namei.c 		ext4_dec_count(handle, old.dir);
old              3825 fs/ext4/namei.c 	ext4_mark_inode_dirty(handle, old.dir);
old              3834 fs/ext4/namei.c 	brelse(old.dir_bh);
old              3835 fs/ext4/namei.c 	brelse(old.bh);
old              3852 fs/ext4/namei.c 	struct ext4_renament old = {
old              3874 fs/ext4/namei.c 	retval = dquot_initialize(old.dir);
old              3881 fs/ext4/namei.c 	old.bh = ext4_find_entry(old.dir, &old.dentry->d_name,
old              3882 fs/ext4/namei.c 				 &old.de, &old.inlined);
old              3883 fs/ext4/namei.c 	if (IS_ERR(old.bh))
old              3884 fs/ext4/namei.c 		return PTR_ERR(old.bh);
old              3892 fs/ext4/namei.c 	if (!old.bh || le32_to_cpu(old.de->inode) != old.inode->i_ino)
old              3907 fs/ext4/namei.c 	handle = ext4_journal_start(old.dir, EXT4_HT_DIR,
old              3908 fs/ext4/namei.c 		(2 * EXT4_DATA_TRANS_BLOCKS(old.dir->i_sb) +
old              3916 fs/ext4/namei.c 	if (IS_DIRSYNC(old.dir) || IS_DIRSYNC(new.dir))
old              3919 fs/ext4/namei.c 	if (S_ISDIR(old.inode->i_mode)) {
old              3920 fs/ext4/namei.c 		old.is_dir = true;
old              3921 fs/ext4/namei.c 		retval = ext4_rename_dir_prepare(handle, &old);
old              3936 fs/ext4/namei.c 	if (old.dir != new.dir && old.is_dir != new.is_dir) {
old              3937 fs/ext4/namei.c 		old.dir_nlink_delta = old.is_dir ? -1 : 1;
old              3938 fs/ext4/namei.c 		new.dir_nlink_delta = -old.dir_nlink_delta;
old              3940 fs/ext4/namei.c 		if ((old.dir_nlink_delta > 0 && EXT4_DIR_LINK_MAX(old.dir)) ||
old              3946 fs/ext4/namei.c 	retval = ext4_setent(handle, &new, old.inode->i_ino, old.de->file_type);
old              3950 fs/ext4/namei.c 	retval = ext4_setent(handle, &old, new.inode->i_ino, new_file_type);
old              3958 fs/ext4/namei.c 	ctime = current_time(old.inode);
old              3959 fs/ext4/namei.c 	old.inode->i_ctime = ctime;
old              3961 fs/ext4/namei.c 	ext4_mark_inode_dirty(handle, old.inode);
old              3964 fs/ext4/namei.c 	if (old.dir_bh) {
old              3965 fs/ext4/namei.c 		retval = ext4_rename_dir_finish(handle, &old, new.dir->i_ino);
old              3970 fs/ext4/namei.c 		retval = ext4_rename_dir_finish(handle, &new, old.dir->i_ino);
old              3974 fs/ext4/namei.c 	ext4_update_dir_count(handle, &old);
old              3979 fs/ext4/namei.c 	brelse(old.dir_bh);
old              3981 fs/ext4/namei.c 	brelse(old.bh);
old               428 fs/file.c      	struct files_struct *old;
old               430 fs/file.c      	old = tsk->files;
old               434 fs/file.c      	put_files_struct(old);
old                50 fs/fs_struct.c static inline int replace_path(struct path *p, const struct path *old, const struct path *new)
old                52 fs/fs_struct.c 	if (likely(p->dentry != old->dentry || p->mnt != old->mnt))
old               112 fs/fs_struct.c struct fs_struct *copy_fs_struct(struct fs_struct *old)
old               121 fs/fs_struct.c 		fs->umask = old->umask;
old               123 fs/fs_struct.c 		spin_lock(&old->lock);
old               124 fs/fs_struct.c 		fs->root = old->root;
old               126 fs/fs_struct.c 		fs->pwd = old->pwd;
old               128 fs/fs_struct.c 		spin_unlock(&old->lock);
old              2227 fs/fuse/dev.c  			struct file *old = fget(oldfd);
old              2230 fs/fuse/dev.c  			if (old) {
old              2237 fs/fuse/dev.c  				if (old->f_op == file->f_op &&
old              2238 fs/fuse/dev.c  				    old->f_cred->user_ns == file->f_cred->user_ns)
old              2239 fs/fuse/dev.c  					fud = fuse_get_dev(old);
old              2246 fs/fuse/dev.c  				fput(old);
old               884 fs/gfs2/log.c  static void gfs2_merge_trans(struct gfs2_trans *old, struct gfs2_trans *new)
old               886 fs/gfs2/log.c  	WARN_ON_ONCE(!test_bit(TR_ATTACHED, &old->tr_flags));
old               888 fs/gfs2/log.c  	old->tr_num_buf_new	+= new->tr_num_buf_new;
old               889 fs/gfs2/log.c  	old->tr_num_databuf_new	+= new->tr_num_databuf_new;
old               890 fs/gfs2/log.c  	old->tr_num_buf_rm	+= new->tr_num_buf_rm;
old               891 fs/gfs2/log.c  	old->tr_num_databuf_rm	+= new->tr_num_databuf_rm;
old               892 fs/gfs2/log.c  	old->tr_num_revoke	+= new->tr_num_revoke;
old               894 fs/gfs2/log.c  	list_splice_tail_init(&new->tr_databuf, &old->tr_databuf);
old               895 fs/gfs2/log.c  	list_splice_tail_init(&new->tr_buf, &old->tr_buf);
old              1076 fs/inode.c     	struct inode *old;
old              1081 fs/inode.c     	old = find_inode(inode->i_sb, head, test, data);
old              1082 fs/inode.c     	if (unlikely(old)) {
old              1088 fs/inode.c     		if (IS_ERR(old))
old              1090 fs/inode.c     		wait_on_inode(old);
old              1091 fs/inode.c     		if (unlikely(inode_unhashed(old))) {
old              1092 fs/inode.c     			iput(old);
old              1095 fs/inode.c     		return old;
old              1194 fs/inode.c     		struct inode *old;
old              1198 fs/inode.c     		old = find_inode_fast(sb, head, ino);
old              1199 fs/inode.c     		if (!old) {
old              1221 fs/inode.c     		if (IS_ERR(old))
old              1223 fs/inode.c     		inode = old;
old              1465 fs/inode.c     		struct inode *old = NULL;
old              1467 fs/inode.c     		hlist_for_each_entry(old, head, i_hash) {
old              1468 fs/inode.c     			if (old->i_ino != ino)
old              1470 fs/inode.c     			if (old->i_sb != sb)
old              1472 fs/inode.c     			spin_lock(&old->i_lock);
old              1473 fs/inode.c     			if (old->i_state & (I_FREEING|I_WILL_FREE)) {
old              1474 fs/inode.c     				spin_unlock(&old->i_lock);
old              1479 fs/inode.c     		if (likely(!old)) {
old              1487 fs/inode.c     		if (unlikely(old->i_state & I_CREATING)) {
old              1488 fs/inode.c     			spin_unlock(&old->i_lock);
old              1492 fs/inode.c     		__iget(old);
old              1493 fs/inode.c     		spin_unlock(&old->i_lock);
old              1495 fs/inode.c     		wait_on_inode(old);
old              1496 fs/inode.c     		if (unlikely(!inode_unhashed(old))) {
old              1497 fs/inode.c     			iput(old);
old              1500 fs/inode.c     		iput(old);
old              1508 fs/inode.c     	struct inode *old;
old              1511 fs/inode.c     	old = inode_insert5(inode, hashval, test, NULL, data);
old              1513 fs/inode.c     	if (old != inode) {
old              1514 fs/inode.c     		iput(old);
old                19 fs/isofs/dir.c 	char * old = de->name;
old                24 fs/isofs/dir.c 		unsigned char c = old[i];
old                32 fs/isofs/dir.c 		if (c == '.' && i == len - 3 && old[i + 1] == ';' && old[i + 2] == '1')
old                36 fs/isofs/dir.c 		if (c == ';' && i == len - 2 && old[i + 1] == '1')
old               457 fs/jffs2/nodelist.c void jffs2_del_ino_cache(struct jffs2_sb_info *c, struct jffs2_inode_cache *old)
old               462 fs/jffs2/nodelist.c 	BUG_ON(old->xref);
old               464 fs/jffs2/nodelist.c 	dbg_inocache("del %p (ino #%u)\n", old, old->ino);
old               467 fs/jffs2/nodelist.c 	prev = &c->inocache_list[old->ino % c->inocache_hashsize];
old               469 fs/jffs2/nodelist.c 	while ((*prev) && (*prev)->ino < old->ino) {
old               472 fs/jffs2/nodelist.c 	if ((*prev) == old) {
old               473 fs/jffs2/nodelist.c 		*prev = old->next;
old               481 fs/jffs2/nodelist.c 	if (old->state != INO_STATE_READING && old->state != INO_STATE_CLEARING)
old               482 fs/jffs2/nodelist.c 		jffs2_free_inode_cache(old);
old               368 fs/jffs2/nodelist.h void jffs2_del_ino_cache(struct jffs2_sb_info *c, struct jffs2_inode_cache *old);
old               513 fs/namei.c     	struct nameidata *old = current->nameidata;
old               517 fs/namei.c     	p->total_link_count = old ? old->total_link_count : 0;
old               518 fs/namei.c     	p->saved = old;
old               524 fs/namei.c     	struct nameidata *now = current->nameidata, *old = now->saved;
old               526 fs/namei.c     	current->nameidata = old;
old               527 fs/namei.c     	if (old)
old               528 fs/namei.c     		old->total_link_count = now->total_link_count;
old              1352 fs/namei.c     			struct dentry *old = nd->path.dentry;
old              1353 fs/namei.c     			struct dentry *parent = old->d_parent;
old              1358 fs/namei.c     			if (unlikely(read_seqcount_retry(&old->d_seq, nd->seq)))
old              1465 fs/namei.c     	struct dentry *old = path->dentry;
old              1468 fs/namei.c     	dput(old);
old              1525 fs/namei.c     	struct dentry *old;
old              1539 fs/namei.c     	old = dir->i_op->lookup(dir, dentry, flags);
old              1540 fs/namei.c     	if (unlikely(old)) {
old              1542 fs/namei.c     		dentry = old;
old              1639 fs/namei.c     	struct dentry *dentry, *old;
old              1664 fs/namei.c     		old = inode->i_op->lookup(inode, dentry, flags);
old              1666 fs/namei.c     		if (unlikely(old)) {
old              1668 fs/namei.c     			dentry = old;
old              1016 fs/namespace.c static struct mount *clone_mnt(struct mount *old, struct dentry *root,
old              1019 fs/namespace.c 	struct super_block *sb = old->mnt.mnt_sb;
old              1023 fs/namespace.c 	mnt = alloc_vfsmnt(old->mnt_devname);
old              1030 fs/namespace.c 		mnt->mnt_group_id = old->mnt_group_id;
old              1038 fs/namespace.c 	mnt->mnt.mnt_flags = old->mnt.mnt_flags;
old              1051 fs/namespace.c 	    ((flag & CL_SHARED_TO_SLAVE) && IS_MNT_SHARED(old))) {
old              1052 fs/namespace.c 		list_add(&mnt->mnt_slave, &old->mnt_slave_list);
old              1053 fs/namespace.c 		mnt->mnt_master = old;
old              1056 fs/namespace.c 		if ((flag & CL_MAKE_SHARED) || IS_MNT_SHARED(old))
old              1057 fs/namespace.c 			list_add(&mnt->mnt_share, &old->mnt_share);
old              1058 fs/namespace.c 		if (IS_MNT_SLAVE(old))
old              1059 fs/namespace.c 			list_add(&mnt->mnt_slave, &old->mnt_slave);
old              1060 fs/namespace.c 		mnt->mnt_master = old->mnt_master;
old              1070 fs/namespace.c 		if (!list_empty(&old->mnt_expire))
old              1071 fs/namespace.c 			list_add(&mnt->mnt_expire, &old->mnt_expire);
old              1958 fs/namespace.c 	unsigned int mounts = 0, old, pending, sum;
old              1964 fs/namespace.c 	old = ns->mounts;
old              1966 fs/namespace.c 	sum = old + pending;
old              1967 fs/namespace.c 	if ((old > sum) ||
old              2249 fs/namespace.c 	struct mount *mnt = ERR_PTR(-EINVAL), *old = real_mount(old_path->mnt);
old              2251 fs/namespace.c 	if (IS_MNT_UNBINDABLE(old))
old              2254 fs/namespace.c 	if (!check_mnt(old) && old_path->dentry->d_op != &ns_dentry_operations)
old              2257 fs/namespace.c 	if (!recurse && has_locked_children(old, old_path->dentry))
old              2261 fs/namespace.c 		mnt = copy_tree(old, old_path->dentry, CL_COPY_MNT_NS_FILE);
old              2263 fs/namespace.c 		mnt = clone_mnt(old, old_path->dentry, 0);
old              2602 fs/namespace.c 	struct mount *old;
old              2612 fs/namespace.c 	old = real_mount(old_path->mnt);
old              2614 fs/namespace.c 	parent = old->mnt_parent;
old              2615 fs/namespace.c 	attached = mnt_has_parent(old);
old              2616 fs/namespace.c 	old_mp = old->mnt_mp;
old              2617 fs/namespace.c 	ns = old->mnt_ns;
old              2625 fs/namespace.c 	if (!is_mounted(&old->mnt))
old              2629 fs/namespace.c 	if (!(attached ? check_mnt(old) : is_anon_ns(ns)))
old              2632 fs/namespace.c 	if (old->mnt.mnt_flags & MNT_LOCKED)
old              2650 fs/namespace.c 	if (IS_MNT_SHARED(p) && tree_contains_unbindable(old))
old              2653 fs/namespace.c 	if (!check_for_nsfs_mounts(old))
old              2656 fs/namespace.c 		if (p == old)
old              2659 fs/namespace.c 	err = attach_recursive_mnt(old, real_mount(new_path->mnt), mp,
old              2666 fs/namespace.c 	list_del_init(&old->mnt_expire);
old              3218 fs/namespace.c 	struct mount *old;
old              3229 fs/namespace.c 	old = ns->root;
old              3240 fs/namespace.c 	new = copy_tree(old, old->mnt.mnt_root, copy_flags);
old              3259 fs/namespace.c 	p = old;
old              3274 fs/namespace.c 		p = next_mnt(p, old);
old              3279 fs/namespace.c 			p = next_mnt(p, old);
old              3619 fs/namespace.c 	struct path new, old, root;
old              3633 fs/namespace.c 			     LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &old);
old              3637 fs/namespace.c 	error = security_sb_pivotroot(&old, &new);
old              3642 fs/namespace.c 	old_mp = lock_mount(&old);
old              3650 fs/namespace.c 	old_mnt = real_mount(old.mnt);
old              3677 fs/namespace.c 	if (!is_path_reachable(old_mnt, old.dentry, &new))
old              3708 fs/namespace.c 	path_put(&old);
old               310 fs/nfs/flexfilelayout/flexfilelayout.c 		struct pnfs_layout_segment *old)
old               314 fs/nfs/flexfilelayout/flexfilelayout.c 	if (test_bit(NFS_LSEG_LAYOUTRETURN, &old->pls_flags))
old               316 fs/nfs/flexfilelayout/flexfilelayout.c 	if (new->pls_range.iomode != old->pls_range.iomode)
old               318 fs/nfs/flexfilelayout/flexfilelayout.c 	old_end = pnfs_calc_offset_end(old->pls_range.offset,
old               319 fs/nfs/flexfilelayout/flexfilelayout.c 			old->pls_range.length);
old               324 fs/nfs/flexfilelayout/flexfilelayout.c 	if (new_end < old->pls_range.offset)
old               330 fs/nfs/flexfilelayout/flexfilelayout.c 	if (new->pls_range.offset < old->pls_range.offset)
old               331 fs/nfs/flexfilelayout/flexfilelayout.c 		new->pls_range.offset = old->pls_range.offset;
old               334 fs/nfs/flexfilelayout/flexfilelayout.c 	if (test_bit(NFS_LSEG_ROC, &old->pls_flags))
old               721 fs/nfs/nfs2xdr.c 	const struct qstr *old = args->old_name;
old               724 fs/nfs/nfs2xdr.c 	encode_diropargs(xdr, args->old_dir, old->name, old->len);
old              1191 fs/nfs/nfs3xdr.c 	const struct qstr *old = args->old_name;
old              1194 fs/nfs/nfs3xdr.c 	encode_diropargs3(xdr, args->old_dir, old->name, old->len);
old              1970 fs/nfs/nfs3xdr.c 	struct nfs_entry old = *entry;
old              2037 fs/nfs/nfs3xdr.c 	*entry = old;
old               377 fs/nfs/nfs4client.c 	struct nfs_client *old;
old               425 fs/nfs/nfs4client.c 	error = nfs4_discover_server_trunking(clp, &old);
old               429 fs/nfs/nfs4client.c 	if (clp != old) {
old               440 fs/nfs/nfs4client.c 	return old;
old              1578 fs/nfs/pnfs.c  		struct pnfs_layout_segment *old)
old               318 fs/nfs/pnfs.h  			   const struct pnfs_layout_range *old),
old               320 fs/nfs/pnfs.h  			   struct pnfs_layout_segment *old),
old              2529 fs/nfs/super.c static int nfs_compare_userns(const struct nfs_server *old,
old              2535 fs/nfs/super.c 	if (old->client && old->client->cl_cred)
old              2536 fs/nfs/super.c 		oldns = old->client->cl_cred->user_ns;
old              2547 fs/nfs/super.c 	struct nfs_server *server = sb_mntdata->server, *old = NFS_SB(sb);
old              2550 fs/nfs/super.c 	if (!nfs_compare_super_address(old, server))
old              2553 fs/nfs/super.c 	if (old->flags & NFS_MOUNT_UNSHARED)
old              2555 fs/nfs/super.c 	if (memcmp(&old->fsid, &server->fsid, sizeof(old->fsid)) != 0)
old              2557 fs/nfs/super.c 	if (!nfs_compare_userns(old, server))
old               100 fs/nfs/sysfs.c 	const char *old;
old               110 fs/nfs/sysfs.c 	old = xchg(&c->identifier, p);
old               111 fs/nfs/sysfs.c 	if (old) {
old               113 fs/nfs/sysfs.c 		kfree(old);
old                69 fs/nfsd/export.c 					    struct svc_expkey *old);
old               290 fs/nfsd/export.c 		  struct svc_expkey *old)
old               295 fs/nfsd/export.c 	ch = sunrpc_cache_update(cd, &new->h, &old->h, hash);
old               353 fs/nfsd/export.c 					    struct svc_export *old);
old               804 fs/nfsd/export.c svc_export_update(struct svc_export *new, struct svc_export *old)
old               807 fs/nfsd/export.c 	int hash = svc_export_hash(old);
old               809 fs/nfsd/export.c 	ch = sunrpc_cache_update(old->cd, &new->h, &old->h, hash);
old               277 fs/nfsd/nfs4idmap.c idtoname_update(struct cache_detail *cd, struct ent *new, struct ent *old)
old               279 fs/nfsd/nfs4idmap.c 	struct cache_head *ch = sunrpc_cache_update(cd, &new->h, &old->h,
old               435 fs/nfsd/nfs4idmap.c nametoid_update(struct cache_detail *cd, struct ent *new, struct ent *old)
old               437 fs/nfsd/nfs4idmap.c 	struct cache_head *ch = sunrpc_cache_update(cd, &new->h, &old->h,
old                60 fs/nfsd/nfs4layouts.c 	struct nfsd4_deviceid_map *map, *old;
old                75 fs/nfsd/nfs4layouts.c 		list_for_each_entry(old, &nfsd_devid_hash[i], hash) {
old                76 fs/nfsd/nfs4layouts.c 			if (old->fsid_type != fh->fh_fsid_type)
old                78 fs/nfsd/nfs4layouts.c 			if (memcmp(old->fsid, fh->fh_fsid,
old                79 fs/nfsd/nfs4layouts.c 					key_len(old->fsid_type)))
old                82 fs/nfsd/nfs4layouts.c 			fhp->fh_export->ex_devid_map = old;
old              3261 fs/nfsd/nfs4state.c 	struct nfs4_client *old = NULL;
old              3319 fs/nfsd/nfs4state.c 		old = find_confirmed_client_by_name(&unconf->cl_name, nn);
old              3320 fs/nfsd/nfs4state.c 		if (old) {
old              3321 fs/nfsd/nfs4state.c 			status = mark_client_expired_locked(old);
old              3323 fs/nfsd/nfs4state.c 				old = NULL;
old              3353 fs/nfsd/nfs4state.c 	if (old)
old              3354 fs/nfsd/nfs4state.c 		expire_client(old);
old              3359 fs/nfsd/nfs4state.c 	if (old)
old              3360 fs/nfsd/nfs4state.c 		expire_client(old);
old              3868 fs/nfsd/nfs4state.c 	struct nfs4_client *old = NULL;
old              3903 fs/nfsd/nfs4state.c 		old = unconf;
old              3904 fs/nfsd/nfs4state.c 		unhash_client_locked(old);
old              3907 fs/nfsd/nfs4state.c 		old = find_confirmed_client_by_name(&unconf->cl_name, nn);
old              3908 fs/nfsd/nfs4state.c 		if (old) {
old              3910 fs/nfsd/nfs4state.c 			if (client_has_state(old)
old              3912 fs/nfsd/nfs4state.c 							&old->cl_cred))
old              3914 fs/nfsd/nfs4state.c 			status = mark_client_expired_locked(old);
old              3916 fs/nfsd/nfs4state.c 				old = NULL;
old              3930 fs/nfsd/nfs4state.c 	if (old)
old              3931 fs/nfsd/nfs4state.c 		expire_client(old);
old               174 fs/nfsd/xdr4.h 		} old;
old               190 fs/nfsd/xdr4.h #define lk_old_lock_stateid     v.old.lock_stateid
old               191 fs/nfsd/xdr4.h #define lk_old_lock_seqid       v.old.lock_seqid
old                23 fs/notify/fanotify/fanotify.c 	struct fanotify_event *old, *new;
old                26 fs/notify/fanotify/fanotify.c 	old = FANOTIFY_E(old_fsn);
old                29 fs/notify/fanotify/fanotify.c 	if (old_fsn->objectid != new_fsn->objectid || old->pid != new->pid ||
old                30 fs/notify/fanotify/fanotify.c 	    old->fh_type != new->fh_type || old->fh_len != new->fh_len)
old                33 fs/notify/fanotify/fanotify.c 	if (fanotify_event_has_path(old)) {
old                34 fs/notify/fanotify/fanotify.c 		return old->path.mnt == new->path.mnt &&
old                35 fs/notify/fanotify/fanotify.c 			old->path.dentry == new->path.dentry;
old                36 fs/notify/fanotify/fanotify.c 	} else if (fanotify_event_has_fid(old)) {
old                45 fs/notify/fanotify/fanotify.c 		return (old->mask & FS_ISDIR) == (new->mask & FS_ISDIR) &&
old                46 fs/notify/fanotify/fanotify.c 			fanotify_fid_equal(&old->fid, &new->fid, old->fh_len);
old                35 fs/notify/inotify/inotify_fsnotify.c 	struct inotify_event_info *old, *new;
old                37 fs/notify/inotify/inotify_fsnotify.c 	old = INOTIFY_E(old_fsn);
old                39 fs/notify/inotify/inotify_fsnotify.c 	if (old->mask & FS_IN_IGNORED)
old                41 fs/notify/inotify/inotify_fsnotify.c 	if ((old->mask == new->mask) &&
old                43 fs/notify/inotify/inotify_fsnotify.c 	    (old->name_len == new->name_len) &&
old                44 fs/notify/inotify/inotify_fsnotify.c 	    (!old->name_len || !strcmp(old->name, new->name)))
old              1069 fs/ocfs2/ocfs2_trace.h 		 unsigned int old, unsigned int new, unsigned int len,
old              1071 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(ino, cpos, old, new, len, ext_flags),
old              1075 fs/ocfs2/ocfs2_trace.h 		__field(unsigned int, old)
old              1083 fs/ocfs2/ocfs2_trace.h 		__entry->old = old;
old              1089 fs/ocfs2/ocfs2_trace.h 		  __entry->ino, __entry->cpos, __entry->old, __entry->new,
old              3113 fs/ocfs2/refcounttree.c 				  u32 cpos, u32 old,
old              3122 fs/ocfs2/refcounttree.c 				     cpos, old, new, len, ext_flags);
old              3127 fs/ocfs2/refcounttree.c 						      cpos, old, new, len);
old                39 fs/overlayfs/copy_up.c int ovl_copy_xattr(struct dentry *old, struct dentry *new)
old                46 fs/overlayfs/copy_up.c 	if (!(old->d_inode->i_opflags & IOP_XATTR) ||
old                50 fs/overlayfs/copy_up.c 	list_size = vfs_listxattr(old, NULL, 0);
old                61 fs/overlayfs/copy_up.c 	list_size = vfs_listxattr(old, buf, list_size);
old                80 fs/overlayfs/copy_up.c 		size = vfs_getxattr(old, name, value, value_size);
old                82 fs/overlayfs/copy_up.c 			size = vfs_getxattr(old, name, NULL, 0);
old               119 fs/overlayfs/copy_up.c static int ovl_copy_up_data(struct path *old, struct path *new, loff_t len)
old               131 fs/overlayfs/copy_up.c 	old_file = ovl_path_open(old, O_LARGEFILE | O_RDONLY);
old               496 fs/overlayfs/copy_up.c 	const struct cred *old;
old               504 fs/overlayfs/copy_up.c 	cc->old = cc->new = NULL;
old               510 fs/overlayfs/copy_up.c 		cc->old = override_creds(cc->new);
old               518 fs/overlayfs/copy_up.c 		revert_creds(cc->old);
old               663 fs/overlayfs/dir.c static int ovl_link(struct dentry *old, struct inode *newdir,
old               669 fs/overlayfs/dir.c 	err = ovl_want_write(old);
old               673 fs/overlayfs/dir.c 	err = ovl_copy_up(old);
old               681 fs/overlayfs/dir.c 	if (ovl_is_metacopy_dentry(old)) {
old               682 fs/overlayfs/dir.c 		err = ovl_set_link_redirect(old);
old               687 fs/overlayfs/dir.c 	err = ovl_nlink_start(old);
old               691 fs/overlayfs/dir.c 	inode = d_inode(old);
old               695 fs/overlayfs/dir.c 			&(struct ovl_cattr) {.hardlink = ovl_dentry_upper(old)},
old               696 fs/overlayfs/dir.c 			ovl_type_origin(old));
old               700 fs/overlayfs/dir.c 	ovl_nlink_end(old);
old               702 fs/overlayfs/dir.c 	ovl_drop_write(old);
old              1020 fs/overlayfs/dir.c static int ovl_rename(struct inode *olddir, struct dentry *old,
old              1035 fs/overlayfs/dir.c 	bool is_dir = d_is_dir(old);
old              1050 fs/overlayfs/dir.c 	if (!ovl_can_move(old))
old              1062 fs/overlayfs/dir.c 		if (ovl_lower_positive(old)) {
old              1076 fs/overlayfs/dir.c 	err = ovl_want_write(old);
old              1080 fs/overlayfs/dir.c 	err = ovl_copy_up(old);
old              1099 fs/overlayfs/dir.c 	old_cred = ovl_override_creds(old->d_sb);
old              1110 fs/overlayfs/dir.c 	old_upperdir = ovl_dentry_upper(old->d_parent);
old              1120 fs/overlayfs/dir.c 		if (ovl_type_origin(old)) {
old              1126 fs/overlayfs/dir.c 			err = ovl_set_impure(old->d_parent, old_upperdir);
old              1134 fs/overlayfs/dir.c 	olddentry = lookup_one_len(old->d_name.name, old_upperdir,
old              1135 fs/overlayfs/dir.c 				   old->d_name.len);
old              1141 fs/overlayfs/dir.c 	if (!ovl_matches_upper(old, olddentry))
old              1150 fs/overlayfs/dir.c 	old_opaque = ovl_dentry_is_opaque(old);
old              1177 fs/overlayfs/dir.c 	if (ovl_type_merge_or_lower(old))
old              1178 fs/overlayfs/dir.c 		err = ovl_set_redirect(old, samedir);
old              1180 fs/overlayfs/dir.c 		err = ovl_set_opaque_xerr(old, olddentry, -EXDEV);
old              1187 fs/overlayfs/dir.c 		 ovl_type_merge(old->d_parent))
old              1207 fs/overlayfs/dir.c 	ovl_dir_modified(old->d_parent, ovl_type_origin(old) ||
old              1209 fs/overlayfs/dir.c 	ovl_dir_modified(new->d_parent, ovl_type_origin(old) ||
old              1213 fs/overlayfs/dir.c 	ovl_copyattr(d_inode(olddentry), d_inode(old));
old              1228 fs/overlayfs/dir.c 	ovl_drop_write(old);
old               425 fs/overlayfs/overlayfs.h int ovl_copy_xattr(struct dentry *old, struct dentry *new);
old               627 fs/pipe.c                                       unsigned long old, unsigned long new)
old               629 fs/pipe.c      	return atomic_long_add_return(new - old, &user->pipe_bufs);
old                66 fs/posix_acl.c 	struct posix_acl *old;
old                68 fs/posix_acl.c 	old = xchg(p, posix_acl_dup(acl));
old                69 fs/posix_acl.c 	if (!is_uncached_acl(old))
old                70 fs/posix_acl.c 		posix_acl_release(old);
old                76 fs/posix_acl.c 	struct posix_acl *old;
old                78 fs/posix_acl.c 	old = xchg(p, ACL_NOT_CACHED);
old                79 fs/posix_acl.c 	if (!is_uncached_acl(old))
old                80 fs/posix_acl.c 		posix_acl_release(old);
old              1022 fs/proc/task_mmu.c 	pmd_t old, pmd = *pmdp;
old              1026 fs/proc/task_mmu.c 		old = pmdp_invalidate(vma, addr, pmdp);
old              1027 fs/proc/task_mmu.c 		if (pmd_dirty(old))
old              1029 fs/proc/task_mmu.c 		if (pmd_young(old))
old                55 fs/pstore/ram_core.c 	int old;
old                62 fs/pstore/ram_core.c 	old = atomic_read(&prz->buffer->start);
old                63 fs/pstore/ram_core.c 	new = old + a;
old                71 fs/pstore/ram_core.c 	return old;
old                77 fs/pstore/ram_core.c 	size_t old;
old                84 fs/pstore/ram_core.c 	old = atomic_read(&prz->buffer->size);
old                85 fs/pstore/ram_core.c 	if (old == prz->buffer_size)
old                88 fs/pstore/ram_core.c 	new = old + a;
old               146 fs/select.c    		struct poll_table_page *old;
old               153 fs/select.c    		old = p;
old               155 fs/select.c    		free_page((unsigned long) old);
old               516 fs/super.c     	struct super_block *old;
old               523 fs/super.c     		hlist_for_each_entry(old, &fc->fs_type->fs_supers, s_instances) {
old               524 fs/super.c     			if (test(old, fc))
old               556 fs/super.c     	if (user_ns != old->s_user_ns) {
old               561 fs/super.c     	if (!grab_super(old))
old               564 fs/super.c     	return old;
old               584 fs/super.c     	struct super_block *old;
old               597 fs/super.c     		hlist_for_each_entry(old, &type->fs_supers, s_instances) {
old               598 fs/super.c     			if (!test(old, data))
old               600 fs/super.c     			if (user_ns != old->s_user_ns) {
old               605 fs/super.c     			if (!grab_super(old))
old               608 fs/super.c     			return old;
old               167 fs/sysfs/symlink.c 			 const char *old, const char *new, const void *new_ns)
old               182 fs/sysfs/symlink.c 	kn = kernfs_find_and_get_ns(parent, old, old_ns);
old               437 fs/timerfd.c   		struct itimerspec64 *old)
old               494 fs/timerfd.c   	old->it_value = ktime_to_timespec64(timerfd_get_remaining(ctx));
old               495 fs/timerfd.c   	old->it_interval = ktime_to_timespec64(ctx->tintv);
old               543 fs/timerfd.c   	struct itimerspec64 new, old;
old               548 fs/timerfd.c   	ret = do_timerfd_settime(ufd, flags, &new, &old);
old               551 fs/timerfd.c   	if (otmr && put_itimerspec64(&old, otmr))
old               571 fs/timerfd.c   	struct itimerspec64 new, old;
old               576 fs/timerfd.c   	ret = do_timerfd_settime(ufd, flags, &new, &old);
old               579 fs/timerfd.c   	if (otmr && put_old_itimerspec32(&old, otmr))
old                98 fs/xfs/kmem.c  kmem_realloc(const void *old, size_t newsize, xfs_km_flags_t flags)
old               107 fs/xfs/kmem.c  		ptr = krealloc(old, newsize, lflags);
old              1548 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_bmbt_irec	old;
old              1675 fs/xfs/libxfs/xfs_bmap.c 		old = LEFT;
old              1686 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmbt_lookup_eq(bma->cur, &old, &i);
old              1757 fs/xfs/libxfs/xfs_bmap.c 		old = LEFT;
old              1776 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmbt_lookup_eq(bma->cur, &old, &i);
old              1833 fs/xfs/libxfs/xfs_bmap.c 		old = RIGHT;
old              1842 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmbt_lookup_eq(bma->cur, &old, &i);
old              1924 fs/xfs/libxfs/xfs_bmap.c 		old = PREV;
old              2054 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_bmbt_irec	old;
old              2271 fs/xfs/libxfs/xfs_bmap.c 		old = PREV;
old              2284 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmbt_lookup_eq(cur, &old, &i);
old              2305 fs/xfs/libxfs/xfs_bmap.c 		old = PREV;
old              2318 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmbt_lookup_eq(cur, &old, &i);
old              2337 fs/xfs/libxfs/xfs_bmap.c 		old = PREV;
old              2352 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmbt_lookup_eq(cur, &old, &i);
old              2373 fs/xfs/libxfs/xfs_bmap.c 		old = PREV;
old              2386 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmbt_lookup_eq(cur, &old, &i);
old              2409 fs/xfs/libxfs/xfs_bmap.c 		old = PREV;
old              2415 fs/xfs/libxfs/xfs_bmap.c 			old.br_startoff + old.br_blockcount - new_endoff;
old              2430 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmbt_lookup_eq(cur, &old, &i);
old              2665 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_bmbt_irec	old;
old              2759 fs/xfs/libxfs/xfs_bmap.c 		old = left;
old              2769 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmbt_lookup_eq(cur, &old, &i);
old              2785 fs/xfs/libxfs/xfs_bmap.c 		old = right;
old              2796 fs/xfs/libxfs/xfs_bmap.c 			error = xfs_bmbt_lookup_eq(cur, &old, &i);
old              4955 fs/xfs/libxfs/xfs_bmap.c 	struct xfs_bmbt_irec	old;
old              5076 fs/xfs/libxfs/xfs_bmap.c 		old = got;
old              5116 fs/xfs/libxfs/xfs_bmap.c 				error = xfs_bmbt_update(cur, &old);
old              5123 fs/xfs/libxfs/xfs_bmap.c 				xfs_iext_update_extent(ip, state, icur, &old);
old               989 fs/xfs/libxfs/xfs_iext_tree.c 		struct xfs_bmbt_irec	old;
old               991 fs/xfs/libxfs/xfs_iext_tree.c 		xfs_iext_get(&old, cur_rec(cur));
old               992 fs/xfs/libxfs/xfs_iext_tree.c 		if (new->br_startoff != old.br_startoff) {
old               993 fs/xfs/libxfs/xfs_iext_tree.c 			xfs_iext_update_node(ifp, old.br_startoff,
old               123 fs/xfs/xfs_log.c 	int64_t new, old;
old               136 fs/xfs/xfs_log.c 		old = head_val;
old               138 fs/xfs/xfs_log.c 		head_val = atomic64_cmpxchg(head, old, new);
old               139 fs/xfs/xfs_log.c 	} while (head_val != old);
old               149 fs/xfs/xfs_log.c 	int64_t new, old;
old               165 fs/xfs/xfs_log.c 		old = head_val;
old               167 fs/xfs/xfs_log.c 		head_val = atomic64_cmpxchg(head, old, new);
old               168 fs/xfs/xfs_log.c 	} while (head_val != old);
old               140 fs/xfs/xfs_quota.h #define xfs_qm_vop_chown(tp, ip, old, new)				(NULL)
old               651 include/asm-generic/atomic-instrumented.h atomic_cmpxchg(atomic_t *v, int old, int new)
old               654 include/asm-generic/atomic-instrumented.h 	return arch_atomic_cmpxchg(v, old, new);
old               661 include/asm-generic/atomic-instrumented.h atomic_cmpxchg_acquire(atomic_t *v, int old, int new)
old               664 include/asm-generic/atomic-instrumented.h 	return arch_atomic_cmpxchg_acquire(v, old, new);
old               671 include/asm-generic/atomic-instrumented.h atomic_cmpxchg_release(atomic_t *v, int old, int new)
old               674 include/asm-generic/atomic-instrumented.h 	return arch_atomic_cmpxchg_release(v, old, new);
old               681 include/asm-generic/atomic-instrumented.h atomic_cmpxchg_relaxed(atomic_t *v, int old, int new)
old               684 include/asm-generic/atomic-instrumented.h 	return arch_atomic_cmpxchg_relaxed(v, old, new);
old               691 include/asm-generic/atomic-instrumented.h atomic_try_cmpxchg(atomic_t *v, int *old, int new)
old               694 include/asm-generic/atomic-instrumented.h 	kasan_check_write(old, sizeof(*old));
old               695 include/asm-generic/atomic-instrumented.h 	return arch_atomic_try_cmpxchg(v, old, new);
old               702 include/asm-generic/atomic-instrumented.h atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new)
old               705 include/asm-generic/atomic-instrumented.h 	kasan_check_write(old, sizeof(*old));
old               706 include/asm-generic/atomic-instrumented.h 	return arch_atomic_try_cmpxchg_acquire(v, old, new);
old               713 include/asm-generic/atomic-instrumented.h atomic_try_cmpxchg_release(atomic_t *v, int *old, int new)
old               716 include/asm-generic/atomic-instrumented.h 	kasan_check_write(old, sizeof(*old));
old               717 include/asm-generic/atomic-instrumented.h 	return arch_atomic_try_cmpxchg_release(v, old, new);
old               724 include/asm-generic/atomic-instrumented.h atomic_try_cmpxchg_relaxed(atomic_t *v, int *old, int new)
old               727 include/asm-generic/atomic-instrumented.h 	kasan_check_write(old, sizeof(*old));
old               728 include/asm-generic/atomic-instrumented.h 	return arch_atomic_try_cmpxchg_relaxed(v, old, new);
old              1461 include/asm-generic/atomic-instrumented.h atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new)
old              1464 include/asm-generic/atomic-instrumented.h 	return arch_atomic64_cmpxchg(v, old, new);
old              1471 include/asm-generic/atomic-instrumented.h atomic64_cmpxchg_acquire(atomic64_t *v, s64 old, s64 new)
old              1474 include/asm-generic/atomic-instrumented.h 	return arch_atomic64_cmpxchg_acquire(v, old, new);
old              1481 include/asm-generic/atomic-instrumented.h atomic64_cmpxchg_release(atomic64_t *v, s64 old, s64 new)
old              1484 include/asm-generic/atomic-instrumented.h 	return arch_atomic64_cmpxchg_release(v, old, new);
old              1491 include/asm-generic/atomic-instrumented.h atomic64_cmpxchg_relaxed(atomic64_t *v, s64 old, s64 new)
old              1494 include/asm-generic/atomic-instrumented.h 	return arch_atomic64_cmpxchg_relaxed(v, old, new);
old              1501 include/asm-generic/atomic-instrumented.h atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new)
old              1504 include/asm-generic/atomic-instrumented.h 	kasan_check_write(old, sizeof(*old));
old              1505 include/asm-generic/atomic-instrumented.h 	return arch_atomic64_try_cmpxchg(v, old, new);
old              1512 include/asm-generic/atomic-instrumented.h atomic64_try_cmpxchg_acquire(atomic64_t *v, s64 *old, s64 new)
old              1515 include/asm-generic/atomic-instrumented.h 	kasan_check_write(old, sizeof(*old));
old              1516 include/asm-generic/atomic-instrumented.h 	return arch_atomic64_try_cmpxchg_acquire(v, old, new);
old              1523 include/asm-generic/atomic-instrumented.h atomic64_try_cmpxchg_release(atomic64_t *v, s64 *old, s64 new)
old              1526 include/asm-generic/atomic-instrumented.h 	kasan_check_write(old, sizeof(*old));
old              1527 include/asm-generic/atomic-instrumented.h 	return arch_atomic64_try_cmpxchg_release(v, old, new);
old              1534 include/asm-generic/atomic-instrumented.h atomic64_try_cmpxchg_relaxed(atomic64_t *v, s64 *old, s64 new)
old              1537 include/asm-generic/atomic-instrumented.h 	kasan_check_write(old, sizeof(*old));
old              1538 include/asm-generic/atomic-instrumented.h 	return arch_atomic64_try_cmpxchg_relaxed(v, old, new);
old               410 include/asm-generic/atomic-long.h atomic_long_cmpxchg(atomic_long_t *v, long old, long new)
old               412 include/asm-generic/atomic-long.h 	return atomic64_cmpxchg(v, old, new);
old               416 include/asm-generic/atomic-long.h atomic_long_cmpxchg_acquire(atomic_long_t *v, long old, long new)
old               418 include/asm-generic/atomic-long.h 	return atomic64_cmpxchg_acquire(v, old, new);
old               422 include/asm-generic/atomic-long.h atomic_long_cmpxchg_release(atomic_long_t *v, long old, long new)
old               424 include/asm-generic/atomic-long.h 	return atomic64_cmpxchg_release(v, old, new);
old               428 include/asm-generic/atomic-long.h atomic_long_cmpxchg_relaxed(atomic_long_t *v, long old, long new)
old               430 include/asm-generic/atomic-long.h 	return atomic64_cmpxchg_relaxed(v, old, new);
old               434 include/asm-generic/atomic-long.h atomic_long_try_cmpxchg(atomic_long_t *v, long *old, long new)
old               436 include/asm-generic/atomic-long.h 	return atomic64_try_cmpxchg(v, (s64 *)old, new);
old               440 include/asm-generic/atomic-long.h atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new)
old               442 include/asm-generic/atomic-long.h 	return atomic64_try_cmpxchg_acquire(v, (s64 *)old, new);
old               446 include/asm-generic/atomic-long.h atomic_long_try_cmpxchg_release(atomic_long_t *v, long *old, long new)
old               448 include/asm-generic/atomic-long.h 	return atomic64_try_cmpxchg_release(v, (s64 *)old, new);
old               452 include/asm-generic/atomic-long.h atomic_long_try_cmpxchg_relaxed(atomic_long_t *v, long *old, long new)
old               454 include/asm-generic/atomic-long.h 	return atomic64_try_cmpxchg_relaxed(v, (s64 *)old, new);
old               904 include/asm-generic/atomic-long.h atomic_long_cmpxchg(atomic_long_t *v, long old, long new)
old               906 include/asm-generic/atomic-long.h 	return atomic_cmpxchg(v, old, new);
old               910 include/asm-generic/atomic-long.h atomic_long_cmpxchg_acquire(atomic_long_t *v, long old, long new)
old               912 include/asm-generic/atomic-long.h 	return atomic_cmpxchg_acquire(v, old, new);
old               916 include/asm-generic/atomic-long.h atomic_long_cmpxchg_release(atomic_long_t *v, long old, long new)
old               918 include/asm-generic/atomic-long.h 	return atomic_cmpxchg_release(v, old, new);
old               922 include/asm-generic/atomic-long.h atomic_long_cmpxchg_relaxed(atomic_long_t *v, long old, long new)
old               924 include/asm-generic/atomic-long.h 	return atomic_cmpxchg_relaxed(v, old, new);
old               928 include/asm-generic/atomic-long.h atomic_long_try_cmpxchg(atomic_long_t *v, long *old, long new)
old               930 include/asm-generic/atomic-long.h 	return atomic_try_cmpxchg(v, (int *)old, new);
old               934 include/asm-generic/atomic-long.h atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new)
old               936 include/asm-generic/atomic-long.h 	return atomic_try_cmpxchg_acquire(v, (int *)old, new);
old               940 include/asm-generic/atomic-long.h atomic_long_try_cmpxchg_release(atomic_long_t *v, long *old, long new)
old               942 include/asm-generic/atomic-long.h 	return atomic_try_cmpxchg_release(v, (int *)old, new);
old               946 include/asm-generic/atomic-long.h atomic_long_try_cmpxchg_relaxed(atomic_long_t *v, long *old, long new)
old               948 include/asm-generic/atomic-long.h 	return atomic_try_cmpxchg_relaxed(v, (int *)old, new);
old                39 include/asm-generic/atomic.h 	int c, old;							\
old                42 include/asm-generic/atomic.h 	while ((old = cmpxchg(&v->counter, c, c c_op i)) != c)		\
old                43 include/asm-generic/atomic.h 		c = old;						\
old                49 include/asm-generic/atomic.h 	int c, old;							\
old                52 include/asm-generic/atomic.h 	while ((old = cmpxchg(&v->counter, c, c c_op i)) != c)		\
old                53 include/asm-generic/atomic.h 		c = old;						\
old                61 include/asm-generic/atomic.h 	int c, old;							\
old                64 include/asm-generic/atomic.h 	while ((old = cmpxchg(&v->counter, c, c c_op i)) != c)		\
old                65 include/asm-generic/atomic.h 		c = old;						\
old               196 include/asm-generic/atomic.h #define atomic_cmpxchg(v, old, new)	(cmpxchg(&((v)->counter), (old), (new)))
old                34 include/asm-generic/bitops/atomic.h 	long old;
old                41 include/asm-generic/bitops/atomic.h 	old = atomic_long_fetch_or(mask, (atomic_long_t *)p);
old                42 include/asm-generic/bitops/atomic.h 	return !!(old & mask);
old                47 include/asm-generic/bitops/atomic.h 	long old;
old                54 include/asm-generic/bitops/atomic.h 	old = atomic_long_fetch_andnot(mask, (atomic_long_t *)p);
old                55 include/asm-generic/bitops/atomic.h 	return !!(old & mask);
old                60 include/asm-generic/bitops/atomic.h 	long old;
old                64 include/asm-generic/bitops/atomic.h 	old = atomic_long_fetch_xor(mask, (atomic_long_t *)p);
old                65 include/asm-generic/bitops/atomic.h 	return !!(old & mask);
old                21 include/asm-generic/bitops/lock.h 	long old;
old                28 include/asm-generic/bitops/lock.h 	old = atomic_long_fetch_or_acquire(mask, (atomic_long_t *)p);
old                29 include/asm-generic/bitops/lock.h 	return !!(old & mask);
old                60 include/asm-generic/bitops/lock.h 	unsigned long old;
old                63 include/asm-generic/bitops/lock.h 	old = READ_ONCE(*p);
old                64 include/asm-generic/bitops/lock.h 	old &= ~BIT_MASK(nr);
old                65 include/asm-generic/bitops/lock.h 	atomic_long_set_release((atomic_long_t *)p, old);
old                81 include/asm-generic/bitops/lock.h 	long old;
old                85 include/asm-generic/bitops/lock.h 	old = atomic_long_fetch_andnot_release(mask, (atomic_long_t *)p);
old                86 include/asm-generic/bitops/lock.h 	return !!(old & BIT(7));
old                62 include/asm-generic/bitops/non-atomic.h 	unsigned long old = *p;
old                64 include/asm-generic/bitops/non-atomic.h 	*p = old | mask;
old                65 include/asm-generic/bitops/non-atomic.h 	return (old & mask) != 0;
old                81 include/asm-generic/bitops/non-atomic.h 	unsigned long old = *p;
old                83 include/asm-generic/bitops/non-atomic.h 	*p = old & ~mask;
old                84 include/asm-generic/bitops/non-atomic.h 	return (old & mask) != 0;
old                93 include/asm-generic/bitops/non-atomic.h 	unsigned long old = *p;
old                95 include/asm-generic/bitops/non-atomic.h 	*p = old ^ mask;
old                96 include/asm-generic/bitops/non-atomic.h 	return (old & mask) != 0;
old                16 include/asm-generic/cmpxchg-local.h 		unsigned long old, unsigned long new, int size)
old                29 include/asm-generic/cmpxchg-local.h 		if (prev == old)
old                33 include/asm-generic/cmpxchg-local.h 		if (prev == old)
old                37 include/asm-generic/cmpxchg-local.h 		if (prev == old)
old                41 include/asm-generic/cmpxchg-local.h 		if (prev == old)
old                55 include/asm-generic/cmpxchg-local.h 		u64 old, u64 new)
old                62 include/asm-generic/cmpxchg-local.h 	if (prev == old)
old               462 include/drm/drm_mm.h void drm_mm_replace_node(struct drm_mm_node *old, struct drm_mm_node *new);
old               540 include/drm/ttm/ttm_bo_driver.h ttm_flag_masked(uint32_t *old, uint32_t new, uint32_t mask)
old               542 include/drm/ttm/ttm_bo_driver.h 	*old ^= (*old ^ new) & mask;
old               543 include/drm/ttm/ttm_bo_driver.h 	return *old;
old               327 include/linux/atmel-ssc.h #define SSC_BFINS(name, value, old)			\
old               328 include/linux/atmel-ssc.h 	(((old) & ~(((1 << SSC_##name##_SIZE) - 1)	\
old               872 include/linux/atomic-fallback.h atomic_cmpxchg_acquire(atomic_t *v, int old, int new)
old               874 include/linux/atomic-fallback.h 	int ret = atomic_cmpxchg_relaxed(v, old, new);
old               883 include/linux/atomic-fallback.h atomic_cmpxchg_release(atomic_t *v, int old, int new)
old               886 include/linux/atomic-fallback.h 	return atomic_cmpxchg_relaxed(v, old, new);
old               893 include/linux/atomic-fallback.h atomic_cmpxchg(atomic_t *v, int old, int new)
old               897 include/linux/atomic-fallback.h 	ret = atomic_cmpxchg_relaxed(v, old, new);
old               915 include/linux/atomic-fallback.h atomic_try_cmpxchg(atomic_t *v, int *old, int new)
old               917 include/linux/atomic-fallback.h 	int r, o = *old;
old               920 include/linux/atomic-fallback.h 		*old = r;
old               928 include/linux/atomic-fallback.h atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new)
old               930 include/linux/atomic-fallback.h 	int r, o = *old;
old               933 include/linux/atomic-fallback.h 		*old = r;
old               941 include/linux/atomic-fallback.h atomic_try_cmpxchg_release(atomic_t *v, int *old, int new)
old               943 include/linux/atomic-fallback.h 	int r, o = *old;
old               946 include/linux/atomic-fallback.h 		*old = r;
old               954 include/linux/atomic-fallback.h atomic_try_cmpxchg_relaxed(atomic_t *v, int *old, int new)
old               956 include/linux/atomic-fallback.h 	int r, o = *old;
old               959 include/linux/atomic-fallback.h 		*old = r;
old               969 include/linux/atomic-fallback.h atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new)
old               971 include/linux/atomic-fallback.h 	bool ret = atomic_try_cmpxchg_relaxed(v, old, new);
old               980 include/linux/atomic-fallback.h atomic_try_cmpxchg_release(atomic_t *v, int *old, int new)
old               983 include/linux/atomic-fallback.h 	return atomic_try_cmpxchg_relaxed(v, old, new);
old               990 include/linux/atomic-fallback.h atomic_try_cmpxchg(atomic_t *v, int *old, int new)
old               994 include/linux/atomic-fallback.h 	ret = atomic_try_cmpxchg_relaxed(v, old, new);
old              1982 include/linux/atomic-fallback.h atomic64_cmpxchg_acquire(atomic64_t *v, s64 old, s64 new)
old              1984 include/linux/atomic-fallback.h 	s64 ret = atomic64_cmpxchg_relaxed(v, old, new);
old              1993 include/linux/atomic-fallback.h atomic64_cmpxchg_release(atomic64_t *v, s64 old, s64 new)
old              1996 include/linux/atomic-fallback.h 	return atomic64_cmpxchg_relaxed(v, old, new);
old              2003 include/linux/atomic-fallback.h atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new)
old              2007 include/linux/atomic-fallback.h 	ret = atomic64_cmpxchg_relaxed(v, old, new);
old              2025 include/linux/atomic-fallback.h atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new)
old              2027 include/linux/atomic-fallback.h 	s64 r, o = *old;
old              2030 include/linux/atomic-fallback.h 		*old = r;
old              2038 include/linux/atomic-fallback.h atomic64_try_cmpxchg_acquire(atomic64_t *v, s64 *old, s64 new)
old              2040 include/linux/atomic-fallback.h 	s64 r, o = *old;
old              2043 include/linux/atomic-fallback.h 		*old = r;
old              2051 include/linux/atomic-fallback.h atomic64_try_cmpxchg_release(atomic64_t *v, s64 *old, s64 new)
old              2053 include/linux/atomic-fallback.h 	s64 r, o = *old;
old              2056 include/linux/atomic-fallback.h 		*old = r;
old              2064 include/linux/atomic-fallback.h atomic64_try_cmpxchg_relaxed(atomic64_t *v, s64 *old, s64 new)
old              2066 include/linux/atomic-fallback.h 	s64 r, o = *old;
old              2069 include/linux/atomic-fallback.h 		*old = r;
old              2079 include/linux/atomic-fallback.h atomic64_try_cmpxchg_acquire(atomic64_t *v, s64 *old, s64 new)
old              2081 include/linux/atomic-fallback.h 	bool ret = atomic64_try_cmpxchg_relaxed(v, old, new);
old              2090 include/linux/atomic-fallback.h atomic64_try_cmpxchg_release(atomic64_t *v, s64 *old, s64 new)
old              2093 include/linux/atomic-fallback.h 	return atomic64_try_cmpxchg_relaxed(v, old, new);
old              2100 include/linux/atomic-fallback.h atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new)
old              2104 include/linux/atomic-fallback.h 	ret = atomic64_try_cmpxchg_relaxed(v, old, new);
old               374 include/linux/audit.h 				  const struct cred *old);
old               375 include/linux/audit.h extern void __audit_log_capset(const struct cred *new, const struct cred *old);
old               451 include/linux/audit.h 				       const struct cred *old)
old               454 include/linux/audit.h 		return __audit_log_bprm_fcaps(bprm, new, old);
old               459 include/linux/audit.h 				   const struct cred *old)
old               462 include/linux/audit.h 		__audit_log_capset(new, old);
old               612 include/linux/audit.h 				       const struct cred *old)
old               617 include/linux/audit.h 				    const struct cred *old)
old               120 include/linux/bitfield.h static __always_inline __##type type##_replace_bits(__##type old,	\
old               123 include/linux/bitfield.h 	return (old & ~to(field)) | type##_encode_bits(val, field);	\
old               188 include/linux/bitmap.h 		const unsigned long *old, const unsigned long *new, unsigned int nbits);
old               190 include/linux/bitmap.h 		const unsigned long *old, const unsigned long *new, int bits);
old               773 include/linux/blk-cgroup.h 	int old = atomic_read(&blkg->use_delay);
old               775 include/linux/blk-cgroup.h 	if (old == 0)
old               785 include/linux/blk-cgroup.h 	while (old) {
old               786 include/linux/blk-cgroup.h 		int cur = atomic_cmpxchg(&blkg->use_delay, old, old - 1);
old               787 include/linux/blk-cgroup.h 		if (cur == old)
old               789 include/linux/blk-cgroup.h 		old = cur;
old               792 include/linux/blk-cgroup.h 	if (old == 0)
old               794 include/linux/blk-cgroup.h 	if (old == 1)
old               801 include/linux/blk-cgroup.h 	int old = atomic_read(&blkg->use_delay);
old               802 include/linux/blk-cgroup.h 	if (!old)
old               805 include/linux/blk-cgroup.h 	while (old) {
old               806 include/linux/blk-cgroup.h 		int cur = atomic_cmpxchg(&blkg->use_delay, old, 0);
old               807 include/linux/blk-cgroup.h 		if (cur == old) {
old               811 include/linux/blk-cgroup.h 		old = cur;
old               167 include/linux/cpufreq.h 	unsigned int old;
old               510 include/linux/cpufreq.h static inline unsigned long cpufreq_scale(unsigned long old, u_int div,
old               514 include/linux/cpufreq.h 	u64 result = ((u64) old) * ((u64) mult);
old               519 include/linux/cpufreq.h 	unsigned long result = old * ((u64) mult);
old               184 include/linux/devfreq.h 	unsigned long old;
old               195 include/linux/hugetlb.h #define move_hugetlb_state(old, new, reason)	do {} while (0)
old               535 include/linux/input.h 		      struct ff_effect *old);
old               191 include/linux/ioport.h extern int remove_resource(struct resource *old);
old               126 include/linux/iversion.h 	u64 cur, old;
old               132 include/linux/iversion.h 		old = atomic64_cmpxchg(&inode->i_version, cur, val);
old               133 include/linux/iversion.h 		if (likely(old == cur))
old               135 include/linux/iversion.h 		cur = old;
old               200 include/linux/iversion.h 	u64 cur, old, new;
old               222 include/linux/iversion.h 		old = atomic64_cmpxchg(&inode->i_version, cur, new);
old               223 include/linux/iversion.h 		if (likely(old == cur))
old               225 include/linux/iversion.h 		cur = old;
old               307 include/linux/iversion.h 	u64 cur, old, new;
old               323 include/linux/iversion.h 		old = atomic64_cmpxchg(&inode->i_version, cur, new);
old               324 include/linux/iversion.h 		if (likely(old == cur))
old               326 include/linux/iversion.h 		cur = old;
old               340 include/linux/iversion.h inode_eq_iversion_raw(const struct inode *inode, u64 old)
old               342 include/linux/iversion.h 	return inode_peek_iversion_raw(inode) == old;
old               357 include/linux/iversion.h inode_eq_iversion(const struct inode *inode, u64 old)
old               359 include/linux/iversion.h 	return inode_peek_iversion(inode) == old;
old               691 include/linux/kvm_host.h 				const struct kvm_memory_slot *old,
old               151 include/linux/list.h static inline void list_replace(struct list_head *old,
old               154 include/linux/list.h 	new->next = old->next;
old               156 include/linux/list.h 	new->prev = old->prev;
old               160 include/linux/list.h static inline void list_replace_init(struct list_head *old,
old               163 include/linux/list.h 	list_replace(old, new);
old               164 include/linux/list.h 	INIT_LIST_HEAD(old);
old               838 include/linux/list.h static inline void hlist_move_list(struct hlist_head *old,
old               841 include/linux/list.h 	new->first = old->first;
old               844 include/linux/list.h 	old->first = NULL;
old              1473 include/linux/lsm_hooks.h 	int (*capset)(struct cred *new, const struct cred *old,
old              1523 include/linux/lsm_hooks.h 					const struct cred *old,
old              1623 include/linux/lsm_hooks.h 	int (*cred_prepare)(struct cred *new, const struct cred *old,
old              1625 include/linux/lsm_hooks.h 	void (*cred_transfer)(struct cred *new, const struct cred *old);
old              1634 include/linux/lsm_hooks.h 	int (*task_fix_setuid)(struct cred *new, const struct cred *old,
old               901 include/linux/memcontrol.h static inline void mem_cgroup_migrate(struct page *old, struct page *new)
old               582 include/linux/mtd/mtd.h extern int unregister_mtd_user (struct mtd_notifier *old);
old               345 include/linux/nodemask.h #define node_remap(oldbit, old, new) \
old               346 include/linux/nodemask.h 		__node_remap((oldbit), &(old), &(new), MAX_NUMNODES)
old               353 include/linux/nodemask.h #define nodes_remap(dst, src, old, new) \
old               354 include/linux/nodemask.h 		__nodes_remap(&(dst), &(src), &(old), &(new), MAX_NUMNODES)
old               613 include/linux/pagemap.h int replace_page_cache_page(struct page *old, struct page *new, gfp_t gfp_mask);
old                99 include/linux/pid.h extern void transfer_pid(struct task_struct *old, struct task_struct *new,
old               562 include/linux/ptr_ring.h 	void **old;
old               577 include/linux/ptr_ring.h 	old = r->queue;
old               580 include/linux/ptr_ring.h 	return old;
old               594 include/linux/ptr_ring.h 	void **old;
old               602 include/linux/ptr_ring.h 	old = __ptr_ring_swap_queue(r, queue, size, gfp, destroy);
old               607 include/linux/ptr_ring.h 	kvfree(old);
old                29 include/linux/rbtree_augmented.h 	void (*copy)(struct rb_node *old, struct rb_node *new);
old                30 include/linux/rbtree_augmented.h 	void (*rotate)(struct rb_node *old, struct rb_node *new);
old                34 include/linux/rbtree_augmented.h 	void (*augment_rotate)(struct rb_node *old, struct rb_node *new));
old                89 include/linux/rbtree_augmented.h 	RBSTRUCT *old = rb_entry(rb_old, RBSTRUCT, RBFIELD);		\
old                91 include/linux/rbtree_augmented.h 	new->RBAUGMENTED = old->RBAUGMENTED;				\
old                96 include/linux/rbtree_augmented.h 	RBSTRUCT *old = rb_entry(rb_old, RBSTRUCT, RBFIELD);		\
old                98 include/linux/rbtree_augmented.h 	new->RBAUGMENTED = old->RBAUGMENTED;				\
old                99 include/linux/rbtree_augmented.h 	RBCOMPUTE(old, false);						\
old               169 include/linux/rbtree_augmented.h __rb_change_child(struct rb_node *old, struct rb_node *new,
old               173 include/linux/rbtree_augmented.h 		if (parent->rb_left == old)
old               182 include/linux/rbtree_augmented.h __rb_change_child_rcu(struct rb_node *old, struct rb_node *new,
old               186 include/linux/rbtree_augmented.h 		if (parent->rb_left == old)
old               195 include/linux/rbtree_augmented.h 	void (*augment_rotate)(struct rb_node *old, struct rb_node *new));
old               188 include/linux/rculist.h static inline void list_replace_rcu(struct list_head *old,
old               191 include/linux/rculist.h 	new->next = old->next;
old               192 include/linux/rculist.h 	new->prev = old->prev;
old               195 include/linux/rculist.h 	old->prev = LIST_POISON2;
old               486 include/linux/rculist.h static inline void hlist_replace_rcu(struct hlist_node *old,
old               489 include/linux/rculist.h 	struct hlist_node *next = old->next;
old               492 include/linux/rculist.h 	new->pprev = old->pprev;
old               496 include/linux/rculist.h 	old->pprev = LIST_POISON2;
old               244 include/linux/rmap.h void remove_migration_ptes(struct page *old, struct page *new, bool locked);
old               506 include/linux/sbitmap.h 	int old = atomic_read(index);
old               507 include/linux/sbitmap.h 	int new = sbq_index_inc(old);
old               508 include/linux/sbitmap.h 	atomic_cmpxchg(index, old, new);
old                24 include/linux/sched/task_stack.h #define setup_thread_stack(new,old)	do { } while(0)
old               138 include/linux/security.h extern int cap_capset(struct cred *new, const struct cred *old,
old               153 include/linux/security.h extern int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags);
old               265 include/linux/security.h int security_capset(struct cred *new, const struct cred *old,
old               312 include/linux/security.h 					const struct cred *old,
old               379 include/linux/security.h int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp);
old               380 include/linux/security.h void security_transfer_creds(struct cred *new, const struct cred *old);
old               389 include/linux/security.h int security_task_fix_setuid(struct cred *new, const struct cred *old,
old               528 include/linux/security.h 				   const struct cred *old,
old               533 include/linux/security.h 	return cap_capset(new, old, effective, inheritable, permitted);
old               707 include/linux/security.h 						  const struct cred *old,
old               977 include/linux/security.h 					 const struct cred *old,
old               984 include/linux/security.h 					   const struct cred *old)
old              1023 include/linux/security.h 					   const struct cred *old,
old              1026 include/linux/security.h 	return cap_task_fix_setuid(new, old, flags);
old              1600 include/linux/security.h static inline int security_xfrm_policy_clone(struct xfrm_sec_ctx *old, struct xfrm_sec_ctx **new_ctxp)
old                34 include/linux/serial_8250.h 			               struct ktermios *old);
old                40 include/linux/serial_8250.h 			      unsigned old);
old               155 include/linux/serial_8250.h 		struct ktermios *termios, struct ktermios *old);
old                53 include/linux/serial_core.h 				       struct ktermios *old);
old               113 include/linux/serial_core.h 				               struct ktermios *old);
old               131 include/linux/serial_core.h 				      unsigned int old);
old               328 include/linux/serial_core.h 				struct ktermios *old, unsigned int min,
old              1108 include/linux/skbuff.h void skb_copy_header(struct sk_buff *new, const struct sk_buff *old);
old              1971 include/linux/skbuff.h void skb_append(struct sk_buff *old, struct sk_buff *newsk,
old               178 include/linux/string.h char *strreplace(char *s, char old, char new);
old               174 include/linux/sunrpc/cache.h 		    struct cache_head *new, struct cache_head *old, int hash);
old                10 include/linux/swap_cgroup.h 					unsigned short old, unsigned short new);
old               634 include/linux/syscalls.h 					 struct old_itimerspec32 __user *old);
old              1050 include/linux/syscalls.h asmlinkage long sys_symlink(const char __user *old, const char __user *new);
old              1397 include/linux/syscalls.h 	unsigned int old = current->personality;
old              1402 include/linux/syscalls.h 	return old;
old               539 include/linux/tty.h extern void tty_termios_copy_hw(struct ktermios *new, struct ktermios *old);
old               273 include/linux/tty_driver.h 	void (*set_termios)(struct tty_struct *tty, struct ktermios * old);
old               195 include/linux/tty_ldisc.h 	void	(*set_termios)(struct tty_struct *tty, struct ktermios *old);
old               231 include/linux/uio.h const void *dup_iter(struct iov_iter *new, struct iov_iter *old, gfp_t flags);
old               285 include/linux/usb/serial.h 			struct usb_serial_port *port, struct ktermios *old);
old               204 include/linux/via-core.h 	u8 old;
old               207 include/linux/via-core.h 	old = inb(port + 1);
old               208 include/linux/via-core.h 	outb((data & mask) | (old & ~mask), port + 1);
old               216 include/linux/via-core.h 	u8 old = inb(VIA_MISC_REG_READ);
old               217 include/linux/via-core.h 	outb((data & mask) | (old & ~mask), VIA_MISC_REG_WRITE);
old               359 include/linux/virtio_config.h 	u32 old, gen = vdev->config->generation ?
old               365 include/linux/virtio_config.h 		old = gen;
old               373 include/linux/virtio_config.h 	} while (gen != old);
old               130 include/linux/vt_kern.h void vt_event_post(unsigned int event, unsigned int old, unsigned int new);
old               521 include/linux/xarray.h void *__xa_cmpxchg(struct xarray *, unsigned long index, void *old,
old               648 include/linux/xarray.h 			void *old, void *entry, gfp_t gfp)
old               653 include/linux/xarray.h 	curr = __xa_cmpxchg(xa, index, old, entry, gfp);
old               675 include/linux/xarray.h 			void *old, void *entry, gfp_t gfp)
old               680 include/linux/xarray.h 	curr = __xa_cmpxchg(xa, index, old, entry, gfp);
old               702 include/linux/xarray.h 			void *old, void *entry, gfp_t gfp)
old               707 include/linux/xarray.h 	curr = __xa_cmpxchg(xa, index, old, entry, gfp);
old                82 include/media/drv-intf/cx2341x.h 		const struct cx2341x_mpeg_params *old,
old                17 include/media/i2c/ir-kbd-i2c.h 	unsigned char          old;
old              1080 include/media/v4l2-ctrls.h void v4l2_ctrl_replace(struct v4l2_event *old, const struct v4l2_event *new);
old              1091 include/media/v4l2-ctrls.h void v4l2_ctrl_merge(const struct v4l2_event *old, struct v4l2_event *new);
old                49 include/media/v4l2-event.h 	void (*replace)(struct v4l2_event *old, const struct v4l2_event *new);
old                50 include/media/v4l2-event.h 	void (*merge)(const struct v4l2_event *old, struct v4l2_event *new);
old               137 include/net/checksum.h static inline void csum_replace2(__sum16 *sum, __be16 old, __be16 new)
old               139 include/net/checksum.h 	*sum = ~csum16_add(csum16_sub(~(*sum), old), new);
old                88 include/net/dst.h u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old);
old               102 include/net/dst.h void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old);
old              1545 include/net/ip_vs.h static inline __wsum ip_vs_check_diff4(__be32 old, __be32 new, __wsum oldsum)
old              1547 include/net/ip_vs.h 	__be32 diff[2] = { ~old, new };
old              1553 include/net/ip_vs.h static inline __wsum ip_vs_check_diff16(const __be32 *old, const __be32 *new,
old              1556 include/net/ip_vs.h 	__be32 diff[8] = { ~old[3], ~old[2], ~old[1], ~old[0],
old              1563 include/net/ip_vs.h static inline __wsum ip_vs_check_diff2(__be16 old, __be16 new, __wsum oldsum)
old              1565 include/net/ip_vs.h 	__be16 diff[2] = { ~old, new };
old                19 include/net/netevent.h 	struct dst_entry *old;
old               648 include/net/sch_generic.h 				struct Qdisc *new, struct Qdisc *old,
old               662 include/net/sch_generic.h 			   struct Qdisc *new, struct Qdisc *old,
old              1155 include/net/sch_generic.h 	struct Qdisc *old;
old              1158 include/net/sch_generic.h 	old = *pold;
old              1160 include/net/sch_generic.h 	if (old != NULL)
old              1161 include/net/sch_generic.h 		qdisc_tree_flush_backlog(old);
old              1164 include/net/sch_generic.h 	return old;
old                55 include/net/sctp/checksum.h 	__le32 old = sh->checksum;
old                61 include/net/sctp/checksum.h 	sh->checksum = old;
old              2130 include/net/sctp/structs.h int sctp_assoc_update(struct sctp_association *old,
old              1870 include/net/tcp.h 					    struct sk_buff *old,
old              1873 include/net/tcp.h 	if (old == tcp_highest_sack(sk))
old              4519 include/rdma/ib_verbs.h void rdma_replace_ah_attr(struct rdma_ah_attr *old,
old               154 include/sound/pcm_params.h 	struct snd_mask old;
old               155 include/sound/pcm_params.h 	snd_mask_copy(&old, mask);
old               159 include/sound/pcm_params.h 	return !snd_mask_eq(mask, &old);
old              2098 include/trace/events/btrfs.h 		 struct btrfs_space_info *sinfo, u64 old, s64 diff),
old              2100 include/trace/events/btrfs.h 	TP_ARGS(fs_info, sinfo, old, diff),
old              2104 include/trace/events/btrfs.h 		__field(	u64,	old		)
old              2110 include/trace/events/btrfs.h 		__entry->old	= old;
old              2115 include/trace/events/btrfs.h 		__entry->old, __entry->diff)
old              2121 include/trace/events/btrfs.h 		 struct btrfs_space_info *sinfo, u64 old, s64 diff),
old              2123 include/trace/events/btrfs.h 	TP_ARGS(fs_info, sinfo, old, diff)
old              2129 include/trace/events/btrfs.h 		 struct btrfs_space_info *sinfo, u64 old, s64 diff),
old              2131 include/trace/events/btrfs.h 	TP_ARGS(fs_info, sinfo, old, diff)
old                83 include/trace/events/filemap.h 		TP_PROTO(struct file *file, errseq_t old),
old                85 include/trace/events/filemap.h 		TP_ARGS(file, old),
old                91 include/trace/events/filemap.h 			__field(errseq_t, old)
old               104 include/trace/events/filemap.h 			__entry->old = old;
old               110 include/trace/events/filemap.h 			MINOR(__entry->s_dev), __entry->i_ino, __entry->old,
old               373 include/trace/events/kvm.h 		 unsigned int old),
old               374 include/trace/events/kvm.h 	TP_ARGS(grow, vcpu_id, new, old),
old               380 include/trace/events/kvm.h 		__field(unsigned int, old)
old               387 include/trace/events/kvm.h 		__entry->old            = old;
old               394 include/trace/events/kvm.h 			__entry->old)
old               397 include/trace/events/kvm.h #define trace_kvm_halt_poll_ns_grow(vcpu_id, new, old) \
old               398 include/trace/events/kvm.h 	trace_kvm_halt_poll_ns(true, vcpu_id, new, old)
old               399 include/trace/events/kvm.h #define trace_kvm_halt_poll_ns_shrink(vcpu_id, new, old) \
old               400 include/trace/events/kvm.h 	trace_kvm_halt_poll_ns(false, vcpu_id, new, old)
old                53 include/uapi/linux/uinput.h 	struct ff_effect	old;
old               188 include/uapi/linux/virtio_ring.h static inline int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old)
old               195 include/uapi/linux/virtio_ring.h 	return (__u16)(new_idx - event_idx - 1) < (__u16)(new_idx - old);
old               309 init/initramfs.c 		char *old = find_link(major, minor, ino, mode, collected);
old               310 init/initramfs.c 		if (old) {
old               312 init/initramfs.c 			return (ksys_link(old, collected) < 0) ? -1 : 1;
old              1368 ipc/mqueue.c   static int do_mq_getsetattr(int mqdes, struct mq_attr *new, struct mq_attr *old)
old              1391 ipc/mqueue.c   	if (old) {
old              1392 ipc/mqueue.c   		*old = info->attr;
old              1393 ipc/mqueue.c   		old->mq_flags = f.file->f_flags & O_NONBLOCK;
old              1418 ipc/mqueue.c   	struct mq_attr *new = NULL, *old = NULL;
old              1426 ipc/mqueue.c   		old = &omqstat;
old              1428 ipc/mqueue.c   	ret = do_mq_getsetattr(mqdes, new, old);
old              1429 ipc/mqueue.c   	if (ret || !old)
old              1432 ipc/mqueue.c   	if (copy_to_user(u_omqstat, old, sizeof(struct mq_attr)))
old              1511 ipc/mqueue.c   	struct mq_attr *new = NULL, *old = NULL;
old              1519 ipc/mqueue.c   		old = &omqstat;
old              1521 ipc/mqueue.c   	ret = do_mq_getsetattr(mqdes, new, old);
old              1522 ipc/mqueue.c   	if (ret || !old)
old              1525 ipc/mqueue.c   	if (put_compat_mq_attr(old, u_omqstat))
old               185 ipc/util.h     	struct pid *old = *pos;
old               186 ipc/util.h     	if (old != pid) {
old               188 ipc/util.h     		put_pid(old);
old               199 kernel/acct.c  	struct fs_pin *old;
old               252 kernel/acct.c  	old = xchg(&ns->bacct, &acct->pin);
old               254 kernel/acct.c  	pin_kill(old);
old               380 kernel/audit.c static int audit_log_config_change(char *function_name, u32 new, u32 old,
old               389 kernel/audit.c 	audit_log_format(ab, "op=set %s=%u old=%u ", function_name, new, old);
old               402 kernel/audit.c 	u32 old = *to_change;
old               411 kernel/audit.c 		rc = audit_log_config_change(function_name, new, old, allow_changes);
old              1388 kernel/audit.c 		char *old, *new;
old              1396 kernel/audit.c 		old = audit_unpack_string(&bufp, &msglen, sizes[0]);
old              1397 kernel/audit.c 		if (IS_ERR(old)) {
old              1398 kernel/audit.c 			err = PTR_ERR(old);
old              1404 kernel/audit.c 			kfree(old);
old              1408 kernel/audit.c 		err = audit_tag_tree(old, new);
old              1413 kernel/audit.c 		audit_log_untrustedstring(ab, old);
old              1418 kernel/audit.c 		kfree(old);
old              1457 kernel/audit.c 		struct audit_tty_status s, old;
old              1475 kernel/audit.c 		old.enabled = t & AUDIT_TTY_ENABLE;
old              1476 kernel/audit.c 		old.log_passwd = !!(t & AUDIT_TTY_LOG_PASSWD);
old              1482 kernel/audit.c 				 old.enabled, s.enabled, old.log_passwd,
old               241 kernel/audit.h extern struct audit_entry *audit_dupe_rule(struct audit_krule *old);
old               272 kernel/audit.h extern int audit_dupe_exe(struct audit_krule *new, struct audit_krule *old);
old               284 kernel/audit.h extern int audit_tag_tree(char *old, char *new);
old               316 kernel/audit.h #define audit_tag_tree(old, new) -EINVAL
old               284 kernel/audit_tree.c 	struct audit_chunk *old;
old               287 kernel/audit_tree.c 	old = mark_chunk(mark);
old               291 kernel/audit_tree.c 	if (old)
old               292 kernel/audit_tree.c 		old->mark = NULL;
old               295 kernel/audit_tree.c static void replace_chunk(struct audit_chunk *new, struct audit_chunk *old)
old               300 kernel/audit_tree.c 	new->key = old->key;
old               301 kernel/audit_tree.c 	list_splice_init(&old->trees, &new->trees);
old               304 kernel/audit_tree.c 	for (i = j = 0; j < old->count; i++, j++) {
old               305 kernel/audit_tree.c 		if (!old->owners[j].owner) {
old               309 kernel/audit_tree.c 		owner = old->owners[j].owner;
old               311 kernel/audit_tree.c 		new->owners[i].index = old->owners[j].index - j + i;
old               315 kernel/audit_tree.c 		list_replace_init(&old->owners[j].list, &new->owners[i].list);
old               317 kernel/audit_tree.c 	replace_mark_chunk(old->mark, new);
old               324 kernel/audit_tree.c 	list_replace_rcu(&old->hash, &new->hash);
old               463 kernel/audit_tree.c 	struct audit_chunk *chunk, *old;
old               479 kernel/audit_tree.c 	old = mark_chunk(mark);
old               480 kernel/audit_tree.c 	for (n = 0; n < old->count; n++) {
old               481 kernel/audit_tree.c 		if (old->owners[n].owner == tree) {
old               490 kernel/audit_tree.c 	chunk = alloc_chunk(old->count + 1);
old               518 kernel/audit_tree.c 	replace_chunk(chunk, old);
old               522 kernel/audit_tree.c 	audit_mark_put_chunk(old);
old               872 kernel/audit_tree.c int audit_tag_tree(char *old, char *new)
old               888 kernel/audit_tree.c 	err = kern_path(old, 0, &path1);
old               202 kernel/audit_watch.c static struct audit_watch *audit_dupe_watch(struct audit_watch *old)
old               207 kernel/audit_watch.c 	path = kstrdup(old->path, GFP_KERNEL);
old               217 kernel/audit_watch.c 	new->dev = old->dev;
old               218 kernel/audit_watch.c 	new->ino = old->ino;
old               219 kernel/audit_watch.c 	audit_get_parent(old->parent);
old               220 kernel/audit_watch.c 	new->parent = old->parent;
old               522 kernel/audit_watch.c int audit_dupe_exe(struct audit_krule *new, struct audit_krule *old)
old               527 kernel/audit_watch.c 	pathname = kstrdup(audit_mark_path(old->exe), GFP_KERNEL);
old               811 kernel/auditfilter.c struct audit_entry *audit_dupe_rule(struct audit_krule *old)
old               813 kernel/auditfilter.c 	u32 fcount = old->field_count;
old               824 kernel/auditfilter.c 	new->flags = old->flags;
old               825 kernel/auditfilter.c 	new->pflags = old->pflags;
old               826 kernel/auditfilter.c 	new->listnr = old->listnr;
old               827 kernel/auditfilter.c 	new->action = old->action;
old               829 kernel/auditfilter.c 		new->mask[i] = old->mask[i];
old               830 kernel/auditfilter.c 	new->prio = old->prio;
old               831 kernel/auditfilter.c 	new->buflen = old->buflen;
old               832 kernel/auditfilter.c 	new->inode_f = old->inode_f;
old               833 kernel/auditfilter.c 	new->field_count = old->field_count;
old               842 kernel/auditfilter.c 	new->tree = old->tree;
old               843 kernel/auditfilter.c 	memcpy(new->fields, old->fields, sizeof(struct audit_field) * fcount);
old               860 kernel/auditfilter.c 						       &old->fields[i]);
old               863 kernel/auditfilter.c 			fk = kstrdup(old->filterkey, GFP_KERNEL);
old               870 kernel/auditfilter.c 			err = audit_dupe_exe(new, old);
old               881 kernel/auditfilter.c 	if (old->watch) {
old               882 kernel/auditfilter.c 		audit_get_watch(old->watch);
old               883 kernel/auditfilter.c 		new->watch = old->watch;
old              2442 kernel/auditsc.c 			   const struct cred *new, const struct cred *old)
old              2464 kernel/auditsc.c 	ax->old_pcap.permitted   = old->cap_permitted;
old              2465 kernel/auditsc.c 	ax->old_pcap.inheritable = old->cap_inheritable;
old              2466 kernel/auditsc.c 	ax->old_pcap.effective   = old->cap_effective;
old              2467 kernel/auditsc.c 	ax->old_pcap.ambient     = old->cap_ambient;
old              2484 kernel/auditsc.c void __audit_log_capset(const struct cred *new, const struct cred *old)
old              6753 kernel/bpf/verifier.c static bool range_within(struct bpf_reg_state *old,
old              6756 kernel/bpf/verifier.c 	return old->umin_value <= cur->umin_value &&
old              6757 kernel/bpf/verifier.c 	       old->umax_value >= cur->umax_value &&
old              6758 kernel/bpf/verifier.c 	       old->smin_value <= cur->smin_value &&
old              6759 kernel/bpf/verifier.c 	       old->smax_value >= cur->smax_value;
old              6765 kernel/bpf/verifier.c 	u32 old;
old              6784 kernel/bpf/verifier.c 		if (!idmap[i].old) {
old              6786 kernel/bpf/verifier.c 			idmap[i].old = old_id;
old              6790 kernel/bpf/verifier.c 		if (idmap[i].old == old_id)
old              7011 kernel/bpf/verifier.c static bool stacksafe(struct bpf_func_state *old,
old              7021 kernel/bpf/verifier.c 	for (i = 0; i < old->allocated_stack; i++) {
old              7024 kernel/bpf/verifier.c 		if (!(old->stack[spi].spilled_ptr.live & REG_LIVE_READ)) {
old              7030 kernel/bpf/verifier.c 		if (old->stack[spi].slot_type[i % BPF_REG_SIZE] == STACK_INVALID)
old              7043 kernel/bpf/verifier.c 		if (old->stack[spi].slot_type[i % BPF_REG_SIZE] == STACK_MISC &&
old              7046 kernel/bpf/verifier.c 		if (old->stack[spi].slot_type[i % BPF_REG_SIZE] !=
old              7056 kernel/bpf/verifier.c 		if (old->stack[spi].slot_type[0] != STACK_SPILL)
old              7058 kernel/bpf/verifier.c 		if (!regsafe(&old->stack[spi].spilled_ptr,
old              7076 kernel/bpf/verifier.c static bool refsafe(struct bpf_func_state *old, struct bpf_func_state *cur)
old              7078 kernel/bpf/verifier.c 	if (old->acquired_refs != cur->acquired_refs)
old              7080 kernel/bpf/verifier.c 	return !memcmp(old->refs, cur->refs,
old              7081 kernel/bpf/verifier.c 		       sizeof(*old->refs) * old->acquired_refs);
old              7110 kernel/bpf/verifier.c static bool func_states_equal(struct bpf_func_state *old,
old              7123 kernel/bpf/verifier.c 		if (!regsafe(&old->regs[i], &cur->regs[i], idmap))
old              7127 kernel/bpf/verifier.c 	if (!stacksafe(old, cur, idmap))
old              7130 kernel/bpf/verifier.c 	if (!refsafe(old, cur))
old              7139 kernel/bpf/verifier.c 			 struct bpf_verifier_state *old,
old              7144 kernel/bpf/verifier.c 	if (old->curframe != cur->curframe)
old              7150 kernel/bpf/verifier.c 	if (old->speculative && !cur->speculative)
old              7153 kernel/bpf/verifier.c 	if (old->active_spin_lock != cur->active_spin_lock)
old              7159 kernel/bpf/verifier.c 	for (i = 0; i <= old->curframe; i++) {
old              7160 kernel/bpf/verifier.c 		if (old->frame[i]->callsite != cur->frame[i]->callsite)
old              7162 kernel/bpf/verifier.c 		if (!func_states_equal(old->frame[i], cur->frame[i]))
old              7252 kernel/bpf/verifier.c 			       const struct bpf_verifier_state *old)
old              7258 kernel/bpf/verifier.c 	state = old->frame[old->curframe];
old              7288 kernel/bpf/verifier.c static bool states_maybe_looping(struct bpf_verifier_state *old,
old              7294 kernel/bpf/verifier.c 	if (old->curframe != fr)
old              7297 kernel/bpf/verifier.c 	fold = old->frame[fr];
old               253 kernel/cred.c  	const struct cred *old;
old               264 kernel/cred.c  	old = task->cred;
old               265 kernel/cred.c  	memcpy(new, old, sizeof(struct cred));
old               285 kernel/cred.c  	if (security_prepare_creds(new, old, GFP_KERNEL_ACCOUNT) < 0)
old               437 kernel/cred.c  	const struct cred *old = task->real_cred;
old               443 kernel/cred.c  	BUG_ON(task->cred != old);
old               445 kernel/cred.c  	BUG_ON(read_cred_subscribers(old) < 2);
old               446 kernel/cred.c  	validate_creds(old);
old               454 kernel/cred.c  	if (!uid_eq(old->euid, new->euid) ||
old               455 kernel/cred.c  	    !gid_eq(old->egid, new->egid) ||
old               456 kernel/cred.c  	    !uid_eq(old->fsuid, new->fsuid) ||
old               457 kernel/cred.c  	    !gid_eq(old->fsgid, new->fsgid) ||
old               458 kernel/cred.c  	    !cred_cap_issubset(old, new)) {
old               475 kernel/cred.c  	if (!uid_eq(new->fsuid, old->fsuid))
old               477 kernel/cred.c  	if (!gid_eq(new->fsgid, old->fsgid))
old               485 kernel/cred.c  	if (new->user != old->user)
old               489 kernel/cred.c  	if (new->user != old->user)
old               490 kernel/cred.c  		atomic_dec(&old->user->processes);
old               491 kernel/cred.c  	alter_cred_subscribers(old, -2);
old               494 kernel/cred.c  	if (!uid_eq(new->uid,   old->uid)  ||
old               495 kernel/cred.c  	    !uid_eq(new->euid,  old->euid) ||
old               496 kernel/cred.c  	    !uid_eq(new->suid,  old->suid) ||
old               497 kernel/cred.c  	    !uid_eq(new->fsuid, old->fsuid))
old               500 kernel/cred.c  	if (!gid_eq(new->gid,   old->gid)  ||
old               501 kernel/cred.c  	    !gid_eq(new->egid,  old->egid) ||
old               502 kernel/cred.c  	    !gid_eq(new->sgid,  old->sgid) ||
old               503 kernel/cred.c  	    !gid_eq(new->fsgid, old->fsgid))
old               507 kernel/cred.c  	put_cred(old);
old               508 kernel/cred.c  	put_cred(old);
old               543 kernel/cred.c  	const struct cred *old = current->cred;
old               549 kernel/cred.c  	validate_creds(old);
old               566 kernel/cred.c  	alter_cred_subscribers(old, -1);
old               568 kernel/cred.c  	kdebug("override_creds() = %p{%d,%d}", old,
old               569 kernel/cred.c  	       atomic_read(&old->usage),
old               570 kernel/cred.c  	       read_cred_subscribers(old));
old               571 kernel/cred.c  	return old;
old               582 kernel/cred.c  void revert_creds(const struct cred *old)
old               586 kernel/cred.c  	kdebug("revert_creds(%p{%d,%d})", old,
old               587 kernel/cred.c  	       atomic_read(&old->usage),
old               588 kernel/cred.c  	       read_cred_subscribers(old));
old               590 kernel/cred.c  	validate_creds(old);
old               592 kernel/cred.c  	alter_cred_subscribers(old, 1);
old               593 kernel/cred.c  	rcu_assign_pointer(current->cred, old);
old               683 kernel/cred.c  	const struct cred *old;
old               693 kernel/cred.c  		old = get_task_cred(daemon);
old               695 kernel/cred.c  		old = get_cred(&init_cred);
old               697 kernel/cred.c  	validate_creds(old);
old               699 kernel/cred.c  	*new = *old;
old               718 kernel/cred.c  	if (security_prepare_creds(new, old, GFP_KERNEL_ACCOUNT) < 0)
old               721 kernel/cred.c  	put_cred(old);
old               727 kernel/cred.c  	put_cred(old);
old              8255 kernel/events/core.c 	s64 old, val;
old              8260 kernel/events/core.c 	old = val = local64_read(&hwc->period_left);
old              8267 kernel/events/core.c 	if (local64_cmpxchg(&hwc->period_left, old, val) != old)
old                40 kernel/exec_domain.c 	unsigned int old = current->personality;
old                45 kernel/exec_domain.c 	return old;
old               528 kernel/futex.c 	u64 old;
old               531 kernel/futex.c 	old = atomic64_read(&inode->i_sequence);
old               532 kernel/futex.c 	if (likely(old))
old               533 kernel/futex.c 		return old;
old               540 kernel/futex.c 		old = atomic64_cmpxchg_relaxed(&inode->i_sequence, 0, new);
old               541 kernel/futex.c 		if (old)
old               542 kernel/futex.c 			return old;
old              1282 kernel/irq/manage.c 	struct irqaction *old, **old_ptr;
old              1389 kernel/irq/manage.c 	old = *old_ptr;
old              1390 kernel/irq/manage.c 	if (old) {
old              1419 kernel/irq/manage.c 		if (!((old->flags & new->flags) & IRQF_SHARED) ||
old              1421 kernel/irq/manage.c 		    ((old->flags ^ new->flags) & IRQF_ONESHOT))
old              1425 kernel/irq/manage.c 		if ((old->flags & IRQF_PERCPU) !=
old              1436 kernel/irq/manage.c 			thread_mask |= old->thread_mask;
old              1437 kernel/irq/manage.c 			old_ptr = &old->next;
old              1438 kernel/irq/manage.c 			old = *old_ptr;
old              1439 kernel/irq/manage.c 		} while (old);
old              1611 kernel/irq/manage.c 		       irq, new->flags, new->name, old->flags, old->name);
old               716 kernel/kexec_core.c 		kimage_entry_t *old;
old               744 kernel/kexec_core.c 		old = kimage_dst_used(image, addr);
old               745 kernel/kexec_core.c 		if (old) {
old               750 kernel/kexec_core.c 			old_addr = *old & PAGE_MASK;
old               753 kernel/kexec_core.c 			*old = addr | (*old & ~PAGE_MASK);
old               113 kernel/locking/mutex.c 		unsigned long old, flags = __owner_flags(owner);
old               137 kernel/locking/mutex.c 		old = atomic_long_cmpxchg_acquire(&lock->owner, owner, curr | flags);
old               138 kernel/locking/mutex.c 		if (old == owner)
old               141 kernel/locking/mutex.c 		owner = old;
old               229 kernel/locking/mutex.c 		unsigned long old, new;
old               241 kernel/locking/mutex.c 		old = atomic_long_cmpxchg_release(&lock->owner, owner, new);
old               242 kernel/locking/mutex.c 		if (old == owner)
old               245 kernel/locking/mutex.c 		owner = old;
old              1239 kernel/locking/mutex.c 		unsigned long old;
old              1249 kernel/locking/mutex.c 		old = atomic_long_cmpxchg_release(&lock->owner, owner,
old              1251 kernel/locking/mutex.c 		if (old == owner) {
old              1258 kernel/locking/mutex.c 		owner = old;
old                48 kernel/locking/osq_lock.c 	int old;
old                55 kernel/locking/osq_lock.c 	old = prev ? prev->cpu : OSQ_UNLOCKED_VAL;
old                59 kernel/locking/osq_lock.c 		    atomic_cmpxchg_acquire(&lock->tail, curr, old) == curr) {
old                95 kernel/locking/osq_lock.c 	int old;
old               107 kernel/locking/osq_lock.c 	old = atomic_xchg(&lock->tail, curr);
old               108 kernel/locking/osq_lock.c 	if (old == OSQ_UNLOCKED_VAL)
old               111 kernel/locking/osq_lock.c 	prev = decode_cpu(old);
old               221 kernel/locking/qspinlock.c 	u32 old, new, val = atomic_read(&lock->val);
old               230 kernel/locking/qspinlock.c 		old = atomic_cmpxchg_relaxed(&lock->val, val, new);
old               231 kernel/locking/qspinlock.c 		if (old == val)
old               234 kernel/locking/qspinlock.c 		val = old;
old               236 kernel/locking/qspinlock.c 	return old;
old               317 kernel/locking/qspinlock.c 	u32 old, tail;
old               459 kernel/locking/qspinlock.c 	old = xchg_tail(lock, tail);
old               466 kernel/locking/qspinlock.c 	if (old & _Q_TAIL_MASK) {
old               467 kernel/locking/qspinlock.c 		prev = decode_tail(old);
old               136 kernel/locking/qspinlock_paravirt.h 		int old, new;
old               144 kernel/locking/qspinlock_paravirt.h 		old = val;
old               146 kernel/locking/qspinlock_paravirt.h 		val = atomic_cmpxchg_acquire(&lock->val, old, new);
old               148 kernel/locking/qspinlock_paravirt.h 		if (val == old)
old              3690 kernel/module.c 	struct module *old;
old              3696 kernel/module.c 	old = find_module_all(mod->name, strlen(mod->name), true);
old              3697 kernel/module.c 	if (old != NULL) {
old              3698 kernel/module.c 		if (old->state != MODULE_STATE_LIVE) {
old               321 kernel/pid.c   void transfer_pid(struct task_struct *old, struct task_struct *new,
old               325 kernel/pid.c   		new->thread_pid = old->thread_pid;
old               326 kernel/pid.c   	hlist_replace_rcu(&old->pid_links[type], &new->pid_links[type]);
old               179 kernel/printk/printk.c 	unsigned int old;
old               186 kernel/printk/printk.c 		old = devkmsg_log;
old               204 kernel/printk/printk.c 			devkmsg_log = old;
old               123 kernel/rcu/rcu.h static inline bool rcu_seq_completed_gp(unsigned long old, unsigned long new)
old               125 kernel/rcu/rcu.h 	return ULONG_CMP_LT(old, new & ~RCU_SEQ_STATE_MASK);
old               131 kernel/rcu/rcu.h static inline bool rcu_seq_new_gp(unsigned long old, unsigned long new)
old               133 kernel/rcu/rcu.h 	return ULONG_CMP_LT((old + RCU_SEQ_STATE_MASK) & ~RCU_SEQ_STATE_MASK,
old               141 kernel/rcu/rcu.h static inline unsigned long rcu_seq_diff(unsigned long new, unsigned long old)
old               145 kernel/rcu/rcu.h 	if (old == new)
old               152 kernel/rcu/rcu.h 		   ((old + RCU_SEQ_STATE_MASK) & ~RCU_SEQ_STATE_MASK) +
old               153 kernel/rcu/rcu.h 		   ((new & RCU_SEQ_STATE_MASK) || (old & RCU_SEQ_STATE_MASK));
old               135 kernel/rcu/rcuperf.c 	unsigned long (*gp_diff)(unsigned long new, unsigned long old);
old               298 kernel/rcu/rcuperf.c static unsigned long rcuperf_seq_diff(unsigned long new, unsigned long old)
old               301 kernel/rcu/rcuperf.c 		return new - old;
old               302 kernel/rcu/rcuperf.c 	return cur_ops->gp_diff(new, old);
old               298 kernel/rcu/rcutorture.c 	unsigned long (*gp_diff)(unsigned long new, unsigned long old);
old               726 kernel/rcu/rcutorture.c static unsigned long rcutorture_seq_diff(unsigned long new, unsigned long old)
old               729 kernel/rcu/rcutorture.c 		return new - old;
old               730 kernel/rcu/rcutorture.c 	return cur_ops->gp_diff(new, old);
old               343 kernel/rcu/tree.c 	int old;
old               348 kernel/rcu/tree.c 		old = atomic_read(&rdp->dynticks);
old               349 kernel/rcu/tree.c 		if (old & RCU_DYNTICK_CTRL_CTR)
old               351 kernel/rcu/tree.c 		new = old | RCU_DYNTICK_CTRL_MASK;
old               352 kernel/rcu/tree.c 	} while (atomic_cmpxchg(&rdp->dynticks, old, new) != old);
old               748 kernel/relay.c 	void *old, *new;
old               778 kernel/relay.c 	old = buf->data;
old               782 kernel/relay.c 	if (!buf->chan->cb->subbuf_start(buf, new, old, buf->prev_padding)) {
old               213 kernel/resource.c static int __release_resource(struct resource *old, bool release_child)
old               217 kernel/resource.c 	p = &old->parent->child;
old               222 kernel/resource.c 		if (tmp == old) {
old               234 kernel/resource.c 			old->parent = NULL;
old               310 kernel/resource.c int release_resource(struct resource *old)
old               315 kernel/resource.c 	retval = __release_resource(old, true);
old               592 kernel/resource.c static int __find_resource(struct resource *root, struct resource *old,
old               606 kernel/resource.c 		tmp.start = (this == old) ? old->start : this->end + 1;
old               611 kernel/resource.c 			tmp.end = (this == old) ?  this->end : this->start - 1;
old               641 kernel/resource.c 		if (this != old)
old               668 kernel/resource.c static int reallocate_resource(struct resource *root, struct resource *old,
old               673 kernel/resource.c 	struct resource new = *old;
old               678 kernel/resource.c 	if ((err = __find_resource(root, old, &new, newsize, constraint)))
old               681 kernel/resource.c 	if (resource_contains(&new, old)) {
old               682 kernel/resource.c 		old->start = new.start;
old               683 kernel/resource.c 		old->end = new.end;
old               687 kernel/resource.c 	if (old->child) {
old               692 kernel/resource.c 	if (resource_contains(old, &new)) {
old               693 kernel/resource.c 		old->start = new.start;
old               694 kernel/resource.c 		old->end = new.end;
old               696 kernel/resource.c 		__release_resource(old, true);
old               697 kernel/resource.c 		*old = new;
old               698 kernel/resource.c 		conflict = __request_resource(root, old);
old               924 kernel/resource.c int remove_resource(struct resource *old)
old               929 kernel/resource.c 	retval = __release_resource(old, false);
old               383 kernel/sched/core.c 	typeof(ti->flags) old, val = READ_ONCE(ti->flags);
old               390 kernel/sched/core.c 		old = cmpxchg(&ti->flags, val, val | _TIF_NEED_RESCHED);
old               391 kernel/sched/core.c 		if (old == val)
old               393 kernel/sched/core.c 		val = old;
old                81 kernel/sched/deadline.c 	u64 old = dl_rq->running_bw;
old                85 kernel/sched/deadline.c 	SCHED_WARN_ON(dl_rq->running_bw < old); /* overflow */
old                94 kernel/sched/deadline.c 	u64 old = dl_rq->running_bw;
old                98 kernel/sched/deadline.c 	SCHED_WARN_ON(dl_rq->running_bw > old); /* underflow */
old                99 kernel/sched/deadline.c 	if (dl_rq->running_bw > old)
old               108 kernel/sched/deadline.c 	u64 old = dl_rq->this_bw;
old               112 kernel/sched/deadline.c 	SCHED_WARN_ON(dl_rq->this_bw < old); /* overflow */
old               118 kernel/sched/deadline.c 	u64 old = dl_rq->this_bw;
old               122 kernel/sched/deadline.c 	SCHED_WARN_ON(dl_rq->this_bw > old); /* underflow */
old               123 kernel/sched/deadline.c 	if (dl_rq->this_bw > old)
old              4946 kernel/sched/fair.c 			u64 new, old = ktime_to_ns(cfs_b->period);
old              4953 kernel/sched/fair.c 			new = old * 2;
old              4967 kernel/sched/fair.c 					div_u64(old, NSEC_PER_USEC),
old              1151 kernel/sched/psi.c 	struct psi_trigger *old = *trigger_ptr;
old              1157 kernel/sched/psi.c 	if (old)
old              1158 kernel/sched/psi.c 		kref_put(&old->refcount, psi_trigger_destroy);
old              1732 kernel/seccomp.c 	const char *old = old_names;
old              1749 kernel/seccomp.c 		old = "(none)";
old              1753 kernel/seccomp.c 		old = "?";
old              1755 kernel/seccomp.c 	return audit_seccomp_actions_logged(new, old, !ret);
old              4048 kernel/signal.c 	stack_t new, old;
old              4052 kernel/signal.c 	err = do_sigaltstack(uss ? &new : NULL, uoss ? &old : NULL,
old              4055 kernel/signal.c 	if (!err && uoss && copy_to_user(uoss, &old, sizeof(stack_t)))
old              4103 kernel/signal.c 		compat_stack_t old;
old              4104 kernel/signal.c 		memset(&old, 0, sizeof(old));
old              4105 kernel/signal.c 		old.ss_sp = ptr_to_compat(uoss.ss_sp);
old              4106 kernel/signal.c 		old.ss_flags = uoss.ss_flags;
old              4107 kernel/signal.c 		old.ss_size = uoss.ss_size;
old              4108 kernel/signal.c 		if (copy_to_user(uoss_ptr, &old, sizeof(compat_stack_t)))
old              4399 kernel/signal.c 	int old = current->blocked.sig[0];
old              4405 kernel/signal.c 	return old;
old               353 kernel/sys.c   	const struct cred *old;
old               369 kernel/sys.c   	old = current_cred();
old               373 kernel/sys.c   		if (gid_eq(old->gid, krgid) ||
old               374 kernel/sys.c   		    gid_eq(old->egid, krgid) ||
old               375 kernel/sys.c   		    ns_capable(old->user_ns, CAP_SETGID))
old               381 kernel/sys.c   		if (gid_eq(old->gid, kegid) ||
old               382 kernel/sys.c   		    gid_eq(old->egid, kegid) ||
old               383 kernel/sys.c   		    gid_eq(old->sgid, kegid) ||
old               384 kernel/sys.c   		    ns_capable(old->user_ns, CAP_SETGID))
old               391 kernel/sys.c   	    (egid != (gid_t) -1 && !gid_eq(kegid, old->gid)))
old               415 kernel/sys.c   	const struct cred *old;
old               427 kernel/sys.c   	old = current_cred();
old               430 kernel/sys.c   	if (ns_capable(old->user_ns, CAP_SETGID))
old               432 kernel/sys.c   	else if (gid_eq(kgid, old->gid) || gid_eq(kgid, old->sgid))
old               496 kernel/sys.c   	const struct cred *old;
old               512 kernel/sys.c   	old = current_cred();
old               517 kernel/sys.c   		if (!uid_eq(old->uid, kruid) &&
old               518 kernel/sys.c   		    !uid_eq(old->euid, kruid) &&
old               519 kernel/sys.c   		    !ns_capable_setid(old->user_ns, CAP_SETUID))
old               525 kernel/sys.c   		if (!uid_eq(old->uid, keuid) &&
old               526 kernel/sys.c   		    !uid_eq(old->euid, keuid) &&
old               527 kernel/sys.c   		    !uid_eq(old->suid, keuid) &&
old               528 kernel/sys.c   		    !ns_capable_setid(old->user_ns, CAP_SETUID))
old               532 kernel/sys.c   	if (!uid_eq(new->uid, old->uid)) {
old               538 kernel/sys.c   	    (euid != (uid_t) -1 && !uid_eq(keuid, old->uid)))
old               542 kernel/sys.c   	retval = security_task_fix_setuid(new, old, LSM_SETID_RE);
old               572 kernel/sys.c   	const struct cred *old;
old               584 kernel/sys.c   	old = current_cred();
old               587 kernel/sys.c   	if (ns_capable_setid(old->user_ns, CAP_SETUID)) {
old               589 kernel/sys.c   		if (!uid_eq(kuid, old->uid)) {
old               594 kernel/sys.c   	} else if (!uid_eq(kuid, old->uid) && !uid_eq(kuid, new->suid)) {
old               600 kernel/sys.c   	retval = security_task_fix_setuid(new, old, LSM_SETID_ID);
old               624 kernel/sys.c   	const struct cred *old;
old               646 kernel/sys.c   	old = current_cred();
old               649 kernel/sys.c   	if (!ns_capable_setid(old->user_ns, CAP_SETUID)) {
old               650 kernel/sys.c   		if (ruid != (uid_t) -1        && !uid_eq(kruid, old->uid) &&
old               651 kernel/sys.c   		    !uid_eq(kruid, old->euid) && !uid_eq(kruid, old->suid))
old               653 kernel/sys.c   		if (euid != (uid_t) -1        && !uid_eq(keuid, old->uid) &&
old               654 kernel/sys.c   		    !uid_eq(keuid, old->euid) && !uid_eq(keuid, old->suid))
old               656 kernel/sys.c   		if (suid != (uid_t) -1        && !uid_eq(ksuid, old->uid) &&
old               657 kernel/sys.c   		    !uid_eq(ksuid, old->euid) && !uid_eq(ksuid, old->suid))
old               663 kernel/sys.c   		if (!uid_eq(kruid, old->uid)) {
old               675 kernel/sys.c   	retval = security_task_fix_setuid(new, old, LSM_SETID_RES);
old               716 kernel/sys.c   	const struct cred *old;
old               735 kernel/sys.c   	old = current_cred();
old               738 kernel/sys.c   	if (!ns_capable(old->user_ns, CAP_SETGID)) {
old               739 kernel/sys.c   		if (rgid != (gid_t) -1        && !gid_eq(krgid, old->gid) &&
old               740 kernel/sys.c   		    !gid_eq(krgid, old->egid) && !gid_eq(krgid, old->sgid))
old               742 kernel/sys.c   		if (egid != (gid_t) -1        && !gid_eq(kegid, old->gid) &&
old               743 kernel/sys.c   		    !gid_eq(kegid, old->egid) && !gid_eq(kegid, old->sgid))
old               745 kernel/sys.c   		if (sgid != (gid_t) -1        && !gid_eq(ksgid, old->gid) &&
old               746 kernel/sys.c   		    !gid_eq(ksgid, old->egid) && !gid_eq(ksgid, old->sgid))
old               799 kernel/sys.c   	const struct cred *old;
old               804 kernel/sys.c   	old = current_cred();
old               805 kernel/sys.c   	old_fsuid = from_kuid_munged(old->user_ns, old->fsuid);
old               807 kernel/sys.c   	kuid = make_kuid(old->user_ns, uid);
old               815 kernel/sys.c   	if (uid_eq(kuid, old->uid)  || uid_eq(kuid, old->euid)  ||
old               816 kernel/sys.c   	    uid_eq(kuid, old->suid) || uid_eq(kuid, old->fsuid) ||
old               817 kernel/sys.c   	    ns_capable_setid(old->user_ns, CAP_SETUID)) {
old               818 kernel/sys.c   		if (!uid_eq(kuid, old->fsuid)) {
old               820 kernel/sys.c   			if (security_task_fix_setuid(new, old, LSM_SETID_FS) == 0)
old               843 kernel/sys.c   	const struct cred *old;
old               848 kernel/sys.c   	old = current_cred();
old               849 kernel/sys.c   	old_fsgid = from_kgid_munged(old->user_ns, old->fsgid);
old               851 kernel/sys.c   	kgid = make_kgid(old->user_ns, gid);
old               859 kernel/sys.c   	if (gid_eq(kgid, old->gid)  || gid_eq(kgid, old->egid)  ||
old               860 kernel/sys.c   	    gid_eq(kgid, old->sgid) || gid_eq(kgid, old->fsgid) ||
old               861 kernel/sys.c   	    ns_capable(old->user_ns, CAP_SETGID)) {
old               862 kernel/sys.c   		if (!gid_eq(kgid, old->fsgid)) {
old              1611 kernel/sys.c   	struct rlimit old, new;
old              1641 kernel/sys.c   			old_rlim ? &old : NULL);
old              1644 kernel/sys.c   		rlim_to_rlim64(&old, &old64);
old               569 kernel/time/clockevents.c void clockevents_exchange_device(struct clock_event_device *old,
old               576 kernel/time/clockevents.c 	if (old) {
old               577 kernel/time/clockevents.c 		module_put(old->owner);
old               578 kernel/time/clockevents.c 		clockevents_switch_state(old, CLOCK_EVT_STATE_DETACHED);
old               579 kernel/time/clockevents.c 		list_del(&old->list);
old               580 kernel/time/clockevents.c 		list_add(&old->list, &clockevents_released);
old               562 kernel/time/posix-cpu-timers.c 			       struct itimerspec64 *new, struct itimerspec64 *old)
old               619 kernel/time/posix-cpu-timers.c 	if (old) {
old               621 kernel/time/posix-cpu-timers.c 			old->it_value.tv_sec = 0;
old               622 kernel/time/posix-cpu-timers.c 			old->it_value.tv_nsec = 0;
old               635 kernel/time/posix-cpu-timers.c 				old->it_value = ns_to_timespec64(old_expires);
old               637 kernel/time/posix-cpu-timers.c 				old->it_value.tv_nsec = 1;
old               638 kernel/time/posix-cpu-timers.c 				old->it_value.tv_sec = 0;
old               696 kernel/time/posix-cpu-timers.c 	if (old)
old               697 kernel/time/posix-cpu-timers.c 		old->it_interval = ns_to_timespec64(old_incr);
old               941 kernel/time/posix-timers.c 		struct old_itimerspec32 __user *, old)
old               944 kernel/time/posix-timers.c 	struct itimerspec64 *rtn = old ? &old_spec : NULL;
old               953 kernel/time/posix-timers.c 	if (!error && old) {
old               954 kernel/time/posix-timers.c 		if (put_old_itimerspec32(&old_spec, old))
old                52 kernel/time/tick-internal.h extern void clockevents_exchange_device(struct clock_event_device *old,
old              1363 kernel/time/timekeeping.c 	struct clocksource *new, *old;
old              1378 kernel/time/timekeeping.c 			old = tk->tkr_mono.clock;
old              1380 kernel/time/timekeeping.c 			if (old->disable)
old              1381 kernel/time/timekeeping.c 				old->disable(old);
old              1382 kernel/time/timekeeping.c 			module_put(old->owner);
old              1548 kernel/trace/blktrace.c 	struct blk_io_trace old = {
old              1553 kernel/trace/blktrace.c 	trace_seq_putmem(s, &old, offset);
old              1555 kernel/trace/blktrace.c 			 sizeof(old) - offset + t->pdu_len);
old              1044 kernel/trace/ring_buffer.c static int rb_head_page_replace(struct buffer_page *old,
old              1047 kernel/trace/ring_buffer.c 	unsigned long *ptr = (unsigned long *)&old->list.prev->next;
old                91 kernel/tracepoint.c static inline void release_probes(struct tracepoint_func *old)
old                93 kernel/tracepoint.c 	if (old) {
old                94 kernel/tracepoint.c 		struct tp_probes *tp_probes = container_of(old,
old               132 kernel/tracepoint.c 	struct tracepoint_func *old, *new;
old               140 kernel/tracepoint.c 	old = *funcs;
old               141 kernel/tracepoint.c 	if (old) {
old               143 kernel/tracepoint.c 		for (nr_probes = 0; old[nr_probes].func; nr_probes++) {
old               145 kernel/tracepoint.c 			if (pos < 0 && old[nr_probes].prio < prio)
old               147 kernel/tracepoint.c 			if (old[nr_probes].func == tp_func->func &&
old               148 kernel/tracepoint.c 			    old[nr_probes].data == tp_func->data)
old               156 kernel/tracepoint.c 	if (old) {
old               159 kernel/tracepoint.c 			memcpy(new, old, nr_probes * sizeof(struct tracepoint_func));
old               162 kernel/tracepoint.c 			memcpy(new, old, pos * sizeof(struct tracepoint_func));
old               164 kernel/tracepoint.c 			memcpy(new + pos + 1, old + pos,
old               173 kernel/tracepoint.c 	return old;
old               180 kernel/tracepoint.c 	struct tracepoint_func *old, *new;
old               182 kernel/tracepoint.c 	old = *funcs;
old               184 kernel/tracepoint.c 	if (!old)
old               190 kernel/tracepoint.c 		for (nr_probes = 0; old[nr_probes].func; nr_probes++) {
old               191 kernel/tracepoint.c 			if (old[nr_probes].func == tp_func->func &&
old               192 kernel/tracepoint.c 			     old[nr_probes].data == tp_func->data)
old               205 kernel/tracepoint.c 		return old;
old               213 kernel/tracepoint.c 		for (i = 0; old[i].func; i++)
old               214 kernel/tracepoint.c 			if (old[i].func != tp_func->func
old               215 kernel/tracepoint.c 					|| old[i].data != tp_func->data)
old               216 kernel/tracepoint.c 				new[j++] = old[i];
old               221 kernel/tracepoint.c 	return old;
old               230 kernel/tracepoint.c 	struct tracepoint_func *old, *tp_funcs;
old               241 kernel/tracepoint.c 	old = func_add(&tp_funcs, func, prio);
old               242 kernel/tracepoint.c 	if (IS_ERR(old)) {
old               243 kernel/tracepoint.c 		WARN_ON_ONCE(PTR_ERR(old) != -ENOMEM);
old               244 kernel/tracepoint.c 		return PTR_ERR(old);
old               256 kernel/tracepoint.c 	release_probes(old);
old               269 kernel/tracepoint.c 	struct tracepoint_func *old, *tp_funcs;
old               273 kernel/tracepoint.c 	old = func_remove(&tp_funcs, func);
old               274 kernel/tracepoint.c 	if (IS_ERR(old)) {
old               275 kernel/tracepoint.c 		WARN_ON_ONCE(PTR_ERR(old) != -ENOMEM);
old               276 kernel/tracepoint.c 		return PTR_ERR(old);
old               288 kernel/tracepoint.c 	release_probes(old);
old               177 kernel/ucount.c 	int c, old;
old               182 kernel/ucount.c 		old = atomic_cmpxchg(v, c, c+1);
old               183 kernel/ucount.c 		if (likely(old == c))
old               185 kernel/ucount.c 		c = old;
old               685 kernel/watchdog.c 	int err, old, *param = table->data;
old               697 kernel/watchdog.c 		old = READ_ONCE(*param);
old               699 kernel/watchdog.c 		if (!err && old != READ_ONCE(*param))
old               744 kernel/watchdog.c 	int err, old;
old               748 kernel/watchdog.c 	old = READ_ONCE(watchdog_thresh);
old               751 kernel/watchdog.c 	if (!err && write && old != READ_ONCE(watchdog_thresh))
old               792 lib/bitmap.c   		const unsigned long *old, const unsigned long *new,
old               803 lib/bitmap.c   		int n = bitmap_pos_to_ord(old, oldbit, nbits);
old               838 lib/bitmap.c   int bitmap_bitremap(int oldbit, const unsigned long *old,
old               842 lib/bitmap.c   	int n = bitmap_pos_to_ord(old, oldbit, bits);
old                26 lib/crc-t10dif.c 	struct crypto_shash *new, *old;
old                34 lib/crc-t10dif.c 	old = rcu_dereference_protected(crct10dif_tfm,
old                36 lib/crc-t10dif.c 	if (!old) {
old                49 lib/crc-t10dif.c 	crypto_free_shash(old);
old                92 lib/dump_stack.c 	int old;
old               102 lib/dump_stack.c 	old = atomic_cmpxchg(&dump_lock, -1, cpu);
old               103 lib/dump_stack.c 	if (old == -1) {
old               105 lib/dump_stack.c 	} else if (old == cpu) {
old                60 lib/errseq.c   	errseq_t cur, old;
old                71 lib/errseq.c   	old = READ_ONCE(*eseq);
old                75 lib/errseq.c   		return old;
old                81 lib/errseq.c   		new = (old & ~(MAX_ERRNO|ERRSEQ_SEEN)) | -err;
old                84 lib/errseq.c   		if (old & ERRSEQ_SEEN)
old                88 lib/errseq.c   		if (new == old) {
old                94 lib/errseq.c   		cur = cmpxchg(eseq, old, new);
old               100 lib/errseq.c   		if (likely(cur == old || cur == new))
old               104 lib/errseq.c   		old = cur;
old               124 lib/errseq.c   	errseq_t old = READ_ONCE(*eseq);
old               127 lib/errseq.c   	if (!(old & ERRSEQ_SEEN))
old               128 lib/errseq.c   		old = 0;
old               129 lib/errseq.c   	return old;
old               177 lib/errseq.c   	errseq_t old, new;
old               184 lib/errseq.c   	old = READ_ONCE(*eseq);
old               185 lib/errseq.c   	if (old != *since) {
old               198 lib/errseq.c   		new = old | ERRSEQ_SEEN;
old               199 lib/errseq.c   		if (new != old)
old               200 lib/errseq.c   			cmpxchg(eseq, old, new);
old              1596 lib/iov_iter.c const void *dup_iter(struct iov_iter *new, struct iov_iter *old, gfp_t flags)
old              1598 lib/iov_iter.c 	*new = *old;
old                13 lib/lockref.c  	struct lockref old;							\
old                14 lib/lockref.c  	BUILD_BUG_ON(sizeof(old) != 8);						\
old                15 lib/lockref.c  	old.lock_count = READ_ONCE(lockref->lock_count);			\
old                16 lib/lockref.c  	while (likely(arch_spin_value_unlocked(old.lock.rlock.raw_lock))) {  	\
old                17 lib/lockref.c  		struct lockref new = old, prev = old;				\
old                19 lib/lockref.c  		old.lock_count = cmpxchg64_relaxed(&lockref->lock_count,	\
old                20 lib/lockref.c  						   old.lock_count,		\
old                22 lib/lockref.c  		if (likely(old.lock_count == prev.lock_count)) {		\
old                69 lib/lockref.c  		if (old.count <= 0)
old                97 lib/lockref.c  		if (old.count <= 1)
old               124 lib/lockref.c  		if (old.count <= 0)
old               150 lib/lockref.c  		if (old.count <= 0)
old               168 lib/lockref.c  		if (old.count <= 1)
old               205 lib/lockref.c  		if (old.count < 0)
old                66 lib/lru_cache.c 	unsigned long old, new, val;
old                68 lib/lru_cache.c 		old = lc->flags & LC_PARANOIA;
old                69 lib/lru_cache.c 		new = old | LC_LOCKED;
old                70 lib/lru_cache.c 		val = cmpxchg(&lc->flags, old, new);
old                71 lib/lru_cache.c 	} while (unlikely (val == (old ^ LC_PARANOIA)));
old                72 lib/lru_cache.c 	return old == val;
old               679 lib/radix-tree.c 			struct radix_tree_node *old = child;
old               682 lib/radix-tree.c 			WARN_ON_ONCE(!list_empty(&old->private_list));
old               683 lib/radix-tree.c 			radix_tree_node_free(old);
old               684 lib/radix-tree.c 			if (old == entry_to_node(node))
old               861 lib/radix-tree.c 				void *item, void *old)
old               868 lib/radix-tree.c 		if (!old)
old               871 lib/radix-tree.c 	return !!item - !!old;
old               888 lib/radix-tree.c 	void *old = rcu_dereference_raw(*slot);
old               889 lib/radix-tree.c 	int values = !!xa_is_value(item) - !!xa_is_value(old);
old               890 lib/radix-tree.c 	int count = calculate_count(root, node, slot, item, old);
old              1376 lib/radix-tree.c 	void *old = rcu_dereference_raw(*slot);
old              1377 lib/radix-tree.c 	int values = xa_is_value(old) ? -1 : 0;
old                75 lib/rbtree.c   __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new,
old                78 lib/rbtree.c   	struct rb_node *parent = rb_parent(old);
old                79 lib/rbtree.c   	new->__rb_parent_color = old->__rb_parent_color;
old                80 lib/rbtree.c   	rb_set_parent_color(old, new, color);
old                81 lib/rbtree.c   	__rb_change_child(old, new, parent, root);
old                86 lib/rbtree.c   	    void (*augment_rotate)(struct rb_node *old, struct rb_node *new))
old               228 lib/rbtree.c   	void (*augment_rotate)(struct rb_node *old, struct rb_node *new))
old               411 lib/rbtree.c   	void (*augment_rotate)(struct rb_node *old, struct rb_node *new))
old               425 lib/rbtree.c   static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {}
old               426 lib/rbtree.c   static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {}
old               457 lib/rbtree.c   	void (*augment_rotate)(struct rb_node *old, struct rb_node *new))
old              1084 lib/string.c   char *strreplace(char *s, char old, char new)
old              1087 lib/string.c   		if (*s == old)
old              1423 lib/test_xarray.c 			void *old = xas_store(&xas, xa_mk_index(base + i));
old              1425 lib/test_xarray.c 				XA_BUG_ON(xa, old != xa_mk_index(base + i));
old              1427 lib/test_xarray.c 				XA_BUG_ON(xa, old != NULL);
old              1448 lib/xarray.c   			void *old, void *entry, gfp_t gfp)
old              1458 lib/xarray.c   		if (curr == old) {
old               735 mm/filemap.c   	errseq_t old = READ_ONCE(file->f_wb_err);
old               739 mm/filemap.c   	if (errseq_check(&mapping->wb_err, old)) {
old               742 mm/filemap.c   		old = file->f_wb_err;
old               745 mm/filemap.c   		trace_file_check_and_advance_wb_err(file, old);
old               811 mm/filemap.c   int replace_page_cache_page(struct page *old, struct page *new, gfp_t gfp_mask)
old               813 mm/filemap.c   	struct address_space *mapping = old->mapping;
old               815 mm/filemap.c   	pgoff_t offset = old->index;
old               819 mm/filemap.c   	VM_BUG_ON_PAGE(!PageLocked(old), old);
old               830 mm/filemap.c   	old->mapping = NULL;
old               832 mm/filemap.c   	if (!PageHuge(old))
old               836 mm/filemap.c   	if (PageSwapBacked(old))
old               841 mm/filemap.c   	mem_cgroup_migrate(old, new);
old               843 mm/filemap.c   		freepage(old);
old               844 mm/filemap.c   	put_page(old);
old               859 mm/filemap.c   	void *old;
old               878 mm/filemap.c   		old = xas_load(&xas);
old               879 mm/filemap.c   		if (old && !xa_is_value(old))
old               885 mm/filemap.c   		if (xa_is_value(old)) {
old               888 mm/filemap.c   				*shadowp = old;
old               389 mm/internal.h  static inline void mlock_migrate_page(struct page *new, struct page *old) { }
old               404 mm/list_lru.c  	struct list_lru_memcg *old, *new;
old               408 mm/list_lru.c  	old = rcu_dereference_protected(nlru->memcg_lrus,
old               419 mm/list_lru.c  	memcpy(&new->lru, &old->lru, old_size * sizeof(void *));
old               432 mm/list_lru.c  	call_rcu(&old->rcu, kvfree_rcu);
old               334 mm/memcontrol.c 	struct memcg_shrinker_map *new, *old;
old               340 mm/memcontrol.c 		old = rcu_dereference_protected(
old               343 mm/memcontrol.c 		if (!old)
old               355 mm/memcontrol.c 		call_rcu(&old->rcu, memcg_free_shrinker_map_rcu);
old              2210 mm/memcontrol.c 	struct mem_cgroup *old = stock->cached;
old              2213 mm/memcontrol.c 		page_counter_uncharge(&old->memory, stock->nr_pages);
old              2215 mm/memcontrol.c 			page_counter_uncharge(&old->memsw, stock->nr_pages);
old              2216 mm/memcontrol.c 		css_put_many(&old->css, stock->nr_pages);
old               702 mm/mempolicy.c 	struct mempolicy *old;
old               720 mm/mempolicy.c 	old = vma->vm_policy;
old               722 mm/mempolicy.c 	mpol_put(old);
old               795 mm/mempolicy.c 	struct mempolicy *new, *old;
old               815 mm/mempolicy.c 	old = current->mempolicy;
old               820 mm/mempolicy.c 	mpol_put(old);
old              1467 mm/mempolicy.c 	nodemask_t *old;
old              1474 mm/mempolicy.c 	old = &scratch->mask1;
old              1477 mm/mempolicy.c 	err = get_nodes(old, old_nodes, maxnode);
old              1532 mm/mempolicy.c 	err = do_migrate_pages(mm, old, new,
old              1672 mm/mempolicy.c 	unsigned long __user *old = NULL;
old              1683 mm/mempolicy.c 		old = compat_alloc_user_space(new_nodes ? size * 2 : size);
old              1685 mm/mempolicy.c 			new = old + size / sizeof(unsigned long);
old              1686 mm/mempolicy.c 		if (copy_to_user(old, nodes_addr(tmp_mask), size))
old              1697 mm/mempolicy.c 	return kernel_migrate_pages(pid, nr_bits + 1, old, new);
old              2222 mm/mempolicy.c struct mempolicy *__mpol_dup(struct mempolicy *old)
old              2230 mm/mempolicy.c 	if (old == current->mempolicy) {
old              2232 mm/mempolicy.c 		*new = *old;
old              2235 mm/mempolicy.c 		*new = *old;
old               205 mm/migrate.c   				 unsigned long addr, void *old)
old               208 mm/migrate.c   		.page = old,
old               289 mm/migrate.c   void remove_migration_ptes(struct page *old, struct page *new, bool locked)
old               293 mm/migrate.c   		.arg = old,
old              1272 mm/mmap.c      static struct anon_vma *reusable_anon_vma(struct vm_area_struct *old, struct vm_area_struct *a, struct vm_area_struct *b)
old              1275 mm/mmap.c      		struct anon_vma *anon_vma = READ_ONCE(old->anon_vma);
old              1277 mm/mmap.c      		if (anon_vma && list_is_singular(&old->anon_vma_chain))
old              1089 mm/page-writeback.c 	unsigned long old = wb->write_bandwidth;
old              1115 mm/page-writeback.c 	if (avg > old && old >= (unsigned long)bw)
old              1116 mm/page-writeback.c 		avg -= (avg - old) >> 3;
old              1118 mm/page-writeback.c 	if (avg < old && old <= (unsigned long)bw)
old              1119 mm/page-writeback.c 		avg += (old - avg) >> 3;
old               176 mm/page_counter.c 		unsigned long old;
old               195 mm/page_counter.c 		old = xchg(&counter->max, nr_pages);
old               200 mm/page_counter.c 		counter->max = old;
old               188 mm/pgtable-generic.c 	pmd_t old = pmdp_establish(vma, address, pmdp, pmd_mknotpresent(*pmdp));
old               190 mm/pgtable-generic.c 	return old;
old               686 mm/shmem.c     	void *old;
old               688 mm/shmem.c     	old = xa_cmpxchg_irq(&mapping->i_pages, index, radswap, NULL, 0);
old               689 mm/shmem.c     	if (old != radswap)
old               192 mm/slab_common.c 	struct memcg_cache_array *old;
old               194 mm/slab_common.c 	old = container_of(rcu, struct memcg_cache_array, rcu);
old               195 mm/slab_common.c 	kvfree(old);
old               200 mm/slab_common.c 	struct memcg_cache_array *old, *new;
old               207 mm/slab_common.c 	old = rcu_dereference_protected(s->memcg_params.memcg_caches,
old               209 mm/slab_common.c 	if (old)
old               210 mm/slab_common.c 		memcpy(new->entries, old->entries,
old               214 mm/slab_common.c 	if (old)
old               215 mm/slab_common.c 		call_rcu(&old->rcu, free_memcg_params);
old              2046 mm/slub.c      	struct page old;
old              2097 mm/slub.c      	old.freelist = page->freelist;
old              2098 mm/slub.c      	old.counters = page->counters;
old              2099 mm/slub.c      	VM_BUG_ON(!old.frozen);
old              2102 mm/slub.c      	new.counters = old.counters;
old              2105 mm/slub.c      		set_freepointer(s, freelist, old.freelist);
old              2108 mm/slub.c      		new.freelist = old.freelist;
old              2152 mm/slub.c      				old.freelist, old.counters,
old              2190 mm/slub.c      		struct page old;
old              2205 mm/slub.c      			old.freelist = page->freelist;
old              2206 mm/slub.c      			old.counters = page->counters;
old              2207 mm/slub.c      			VM_BUG_ON(!old.frozen);
old              2209 mm/slub.c      			new.counters = old.counters;
old              2210 mm/slub.c      			new.freelist = old.freelist;
old              2215 mm/slub.c      				old.freelist, old.counters,
old                98 mm/swap_cgroup.c 					unsigned short old, unsigned short new)
old               109 mm/swap_cgroup.c 	if (retval == old)
old               131 mm/swap_cgroup.c 	unsigned short old;
old               139 mm/swap_cgroup.c 	old = sc->id;
old               141 mm/swap_cgroup.c 		VM_BUG_ON(sc->id != old);
old               153 mm/swap_cgroup.c 	return old;
old               249 net/atm/clip.c 	int old;
old               259 net/atm/clip.c 		old = xchg(&clip_vcc->xoff, 0);
old               260 net/atm/clip.c 		if (old)
old               338 net/atm/clip.c 	int old;
old               388 net/atm/clip.c 	old = xchg(&entry->vccs->xoff, 1);	/* assume XOFF ... */
old               389 net/atm/clip.c 	if (old) {
old               856 net/bluetooth/rfcomm/tty.c static void rfcomm_tty_set_termios(struct tty_struct *tty, struct ktermios *old)
old               859 net/bluetooth/rfcomm/tty.c 	int old_baud_rate = tty_termios_baud_rate(old);
old               867 net/bluetooth/rfcomm/tty.c 	BT_DBG("tty %p termios %p", tty, old);
old               873 net/bluetooth/rfcomm/tty.c 	if ((old->c_cflag & CRTSCTS) && !(new->c_cflag & CRTSCTS))
old               877 net/bluetooth/rfcomm/tty.c 	if (((old->c_cflag & PARENB) != (new->c_cflag & PARENB)) ||
old               878 net/bluetooth/rfcomm/tty.c 			((old->c_cflag & PARODD) != (new->c_cflag & PARODD))) {
old               898 net/bluetooth/rfcomm/tty.c 	if (old->c_cc[VSTOP] != new->c_cc[VSTOP]) {
old               907 net/bluetooth/rfcomm/tty.c 	if (old->c_cc[VSTART] != new->c_cc[VSTART]) {
old               917 net/bluetooth/rfcomm/tty.c 	if ((old->c_cflag & CSTOPB) != (new->c_cflag & CSTOPB))
old               929 net/bluetooth/rfcomm/tty.c 	if ((old->c_cflag & CSIZE) != (new->c_cflag & CSIZE))
old                35 net/bridge/br_nf_core.c static u32 *fake_cow_metrics(struct dst_entry *dst, unsigned long old)
old                89 net/caif/cfmuxl.c 	struct cflayer *old;
old                94 net/caif/cfmuxl.c 	old = get_from_id(&muxl->srvl_list, linkid);
old                95 net/caif/cfmuxl.c 	if (old != NULL)
old                96 net/caif/cfmuxl.c 		list_del_rcu(&old->node);
old               470 net/ceph/mon_client.c 	struct ceph_monmap *monmap = NULL, *old = monc->monmap;
old               493 net/ceph/mon_client.c 	kfree(old);
old              5074 net/core/dev.c 	struct bpf_prog *old = rtnl_dereference(dev->xdp_prog);
old              5081 net/core/dev.c 		if (old)
old              5082 net/core/dev.c 			bpf_prog_put(old);
old              5084 net/core/dev.c 		if (old && !new) {
old              5086 net/core/dev.c 		} else if (new && !old) {
old              5094 net/core/dev.c 		xdp->prog_id = old ? old->aux->id : 0;
old               199 net/core/dst.c u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old)
old               204 net/core/dst.c 		struct dst_metrics *old_p = (struct dst_metrics *)__DST_METRICS_PTR(old);
old               211 net/core/dst.c 		prev = cmpxchg(&dst->_metrics, old, new);
old               213 net/core/dst.c 		if (prev != old) {
old               229 net/core/dst.c void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old)
old               234 net/core/dst.c 	prev = cmpxchg(&dst->_metrics, old, new);
old               235 net/core/dst.c 	if (prev == old)
old               236 net/core/dst.c 		kfree(__DST_METRICS_PTR(old));
old               132 net/core/gen_estimator.c 	struct net_rate_estimator *old, *est;
old               169 net/core/gen_estimator.c 	old = rcu_dereference_protected(*rate_est, 1);
old               170 net/core/gen_estimator.c 	if (old) {
old               171 net/core/gen_estimator.c 		del_timer_sync(&old->timer);
old               172 net/core/gen_estimator.c 		est->avbps = old->avbps;
old               173 net/core/gen_estimator.c 		est->avpps = old->avpps;
old               183 net/core/gen_estimator.c 	if (old)
old               184 net/core/gen_estimator.c 		kfree_rcu(old, rcu);
old              1231 net/core/neighbour.c 	u8 old;
old              1242 net/core/neighbour.c 	old    = neigh->nud_state;
old              1246 net/core/neighbour.c 	    (old & (NUD_NOARP | NUD_PERMANENT)))
old              1257 net/core/neighbour.c 		if (old & NUD_CONNECTED)
old              1261 net/core/neighbour.c 		notify = old & NUD_VALID;
old              1262 net/core/neighbour.c 		if ((old & (NUD_INCOMPLETE | NUD_PROBE)) &&
old              1280 net/core/neighbour.c 		if ((old & NUD_VALID) &&
old              1288 net/core/neighbour.c 		if (!(old & NUD_VALID)) {
old              1306 net/core/neighbour.c 	if (old & NUD_VALID) {
old              1310 net/core/neighbour.c 			    (old & NUD_CONNECTED)) {
old              1318 net/core/neighbour.c 				new = old;
old              1326 net/core/neighbour.c 	if (new != old || lladdr != neigh->ha)
old              1329 net/core/neighbour.c 	if (new != old) {
old              1352 net/core/neighbour.c 	if (new == old)
old              1358 net/core/neighbour.c 	if (!(old & NUD_VALID)) {
old              1399 net/core/neighbour.c 	if (((new ^ old) & NUD_PERMANENT) || ext_learn_change)
old                43 net/core/netprio_cgroup.c 	struct netprio_map *old, *new;
old                47 net/core/netprio_cgroup.c 	old = rtnl_dereference(dev->priomap);
old                48 net/core/netprio_cgroup.c 	if (old && old->priomap_len > target_idx)
old                73 net/core/netprio_cgroup.c 	if (old)
old                74 net/core/netprio_cgroup.c 		memcpy(new->priomap, old->priomap,
old                75 net/core/netprio_cgroup.c 		       old->priomap_len * sizeof(old->priomap[0]));
old                81 net/core/netprio_cgroup.c 	if (old)
old                82 net/core/netprio_cgroup.c 		kfree_rcu(old, rcu);
old               275 net/core/netprio_cgroup.c 	struct netprio_map *old;
old               284 net/core/netprio_cgroup.c 		old = rtnl_dereference(dev->priomap);
old               286 net/core/netprio_cgroup.c 		if (old)
old               287 net/core/netprio_cgroup.c 			kfree_rcu(old, rcu);
old               177 net/core/rtnetlink.c 	struct rtnl_link *link, *old;
old               196 net/core/rtnetlink.c 	old = rtnl_dereference(tab[msgindex]);
old               197 net/core/rtnetlink.c 	if (old) {
old               198 net/core/rtnetlink.c 		link = kmemdup(old, sizeof(*old), GFP_KERNEL);
old               222 net/core/rtnetlink.c 	if (old)
old               223 net/core/rtnetlink.c 		kfree_rcu(old, rcu);
old               929 net/core/skbuff.c static void __copy_skb_header(struct sk_buff *new, const struct sk_buff *old)
old               931 net/core/skbuff.c 	new->tstamp		= old->tstamp;
old               933 net/core/skbuff.c 	new->dev		= old->dev;
old               934 net/core/skbuff.c 	memcpy(new->cb, old->cb, sizeof(old->cb));
old               935 net/core/skbuff.c 	skb_dst_copy(new, old);
old               936 net/core/skbuff.c 	__skb_ext_copy(new, old);
old               937 net/core/skbuff.c 	__nf_copy(new, old, false);
old               942 net/core/skbuff.c 	new->queue_mapping = old->queue_mapping;
old               944 net/core/skbuff.c 	memcpy(&new->headers_start, &old->headers_start,
old              1475 net/core/skbuff.c void skb_copy_header(struct sk_buff *new, const struct sk_buff *old)
old              1477 net/core/skbuff.c 	__copy_skb_header(new, old);
old              1479 net/core/skbuff.c 	skb_shinfo(new)->gso_size = skb_shinfo(old)->gso_size;
old              1480 net/core/skbuff.c 	skb_shinfo(new)->gso_segs = skb_shinfo(old)->gso_segs;
old              1481 net/core/skbuff.c 	skb_shinfo(new)->gso_type = skb_shinfo(old)->gso_type;
old              3180 net/core/skbuff.c void skb_append(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)
old              3185 net/core/skbuff.c 	__skb_queue_after(list, old, newsk);
old              5991 net/core/skbuff.c static struct skb_ext *skb_ext_maybe_cow(struct skb_ext *old,
old              5996 net/core/skbuff.c 	if (refcount_read(&old->refcnt) == 1)
old              5997 net/core/skbuff.c 		return old;
old              6003 net/core/skbuff.c 	memcpy(new, old, old->chunks * SKB_EXT_ALIGN_VALUE);
old              6008 net/core/skbuff.c 		struct sec_path *sp = skb_ext_get_ptr(old, SKB_EXT_SEC_PATH);
old              6015 net/core/skbuff.c 	__skb_ext_put(old);
old              6035 net/core/skbuff.c 	struct skb_ext *new, *old = NULL;
old              6039 net/core/skbuff.c 		old = skb->extensions;
old              6041 net/core/skbuff.c 		new = skb_ext_maybe_cow(old, skb->active_extensions);
old               640 net/core/sock_map.c 						  struct bpf_htab_elem *old)
old               645 net/core/sock_map.c 		if (!old) {
old               200 net/core/sysctl_net_core.c 	unsigned int old, *ptr;
old               206 net/core/sysctl_net_core.c 	old = *ptr;
old               209 net/core/sysctl_net_core.c 		*ptr = old;
old               255 net/decnet/dn_dev.c 	int tmp, old;
old               261 net/decnet/dn_dev.c 	old = dn_db->parms.forwarding;
old               277 net/decnet/dn_dev.c 		dn_db->parms.forwarding = old;
old               514 net/decnet/dn_dev.c 	struct net_device *old = NULL;
old               521 net/decnet/dn_dev.c 		old = decnet_default_device;
old               527 net/decnet/dn_dev.c 	if (old)
old               528 net/decnet/dn_dev.c 		dev_put(old);
old              1844 net/ipv4/cipso_ipv4.c 	struct ip_options_rcu *old, *opt = NULL;
old              1888 net/ipv4/cipso_ipv4.c 	old = rcu_dereference_protected(sk_inet->inet_opt,
old              1892 net/ipv4/cipso_ipv4.c 		if (old)
old              1893 net/ipv4/cipso_ipv4.c 			sk_conn->icsk_ext_hdr_len -= old->opt.optlen;
old              1898 net/ipv4/cipso_ipv4.c 	if (old)
old              1899 net/ipv4/cipso_ipv4.c 		kfree_rcu(old, rcu);
old              1485 net/ipv4/devinet.c 		char old[IFNAMSIZ], *dot;
old              1487 net/ipv4/devinet.c 		memcpy(old, ifa->ifa_label, IFNAMSIZ);
old              1491 net/ipv4/devinet.c 		dot = strchr(old, ':');
old              1493 net/ipv4/devinet.c 			sprintf(old, ":%d", named);
old              1494 net/ipv4/devinet.c 			dot = old;
old               141 net/ipv4/fib_frontend.c static void fib_replace_table(struct net *net, struct fib_table *old,
old               158 net/ipv4/fib_frontend.c 	hlist_replace_rcu(&old->tb_hlist, &new->tb_hlist);
old               163 net/ipv4/fib_frontend.c 	struct fib_table *old, *new, *main_table;
old               166 net/ipv4/fib_frontend.c 	old = fib_get_table(net, RT_TABLE_LOCAL);
old               167 net/ipv4/fib_frontend.c 	if (!old)
old               170 net/ipv4/fib_frontend.c 	new = fib_trie_unmerge(old);
old               175 net/ipv4/fib_frontend.c 	if (new == old)
old               179 net/ipv4/fib_frontend.c 	fib_replace_table(net, old, new);
old               180 net/ipv4/fib_frontend.c 	fib_free_table(old);
old              1516 net/ipv4/fib_trie.c 			     struct key_vector *l, struct fib_alias *old)
old              1519 net/ipv4/fib_trie.c 	struct hlist_node **pprev = old->fa_list.pprev;
old              1523 net/ipv4/fib_trie.c 	hlist_del_rcu(&old->fa_list);
old               650 net/ipv4/ip_sockglue.c 		struct ip_options_rcu *old, *opt = NULL;
old               658 net/ipv4/ip_sockglue.c 		old = rcu_dereference_protected(inet->inet_opt,
old               668 net/ipv4/ip_sockglue.c 				if (old)
old               669 net/ipv4/ip_sockglue.c 					icsk->icsk_ext_hdr_len -= old->opt.optlen;
old               678 net/ipv4/ip_sockglue.c 		if (old)
old               679 net/ipv4/ip_sockglue.c 			kfree_rcu(old, rcu);
old               607 net/ipv4/nexthop.c static int fib6_check_nh_list(struct nexthop *old, struct nexthop *new,
old               612 net/ipv4/nexthop.c 	if (list_empty(&old->f6i_list))
old               615 net/ipv4/nexthop.c 	list_for_each_entry(f6i, &old->f6i_list, nh_list) {
old               671 net/ipv4/nexthop.c static int fib_check_nh_list(struct nexthop *old, struct nexthop *new,
old               676 net/ipv4/nexthop.c 	list_for_each_entry(fi, &old->fi_list, nh_list) {
old               853 net/ipv4/nexthop.c static int replace_nexthop_grp(struct net *net, struct nexthop *old,
old               865 net/ipv4/nexthop.c 	oldg = rtnl_dereference(old->nh_grp);
old               870 net/ipv4/nexthop.c 		newg->nh_entries[i].nh_parent = old;
old               872 net/ipv4/nexthop.c 	rcu_assign_pointer(old->nh_grp, newg);
old               882 net/ipv4/nexthop.c static int replace_nexthop_single(struct net *net, struct nexthop *old,
old               893 net/ipv4/nexthop.c 	oldi = rtnl_dereference(old->nh_info);
old               896 net/ipv4/nexthop.c 	newi->nh_parent = old;
old               899 net/ipv4/nexthop.c 	old->protocol = new->protocol;
old               900 net/ipv4/nexthop.c 	old->nh_flags = new->nh_flags;
old               902 net/ipv4/nexthop.c 	rcu_assign_pointer(old->nh_info, newi);
old               948 net/ipv4/nexthop.c static int replace_nexthop(struct net *net, struct nexthop *old,
old               958 net/ipv4/nexthop.c 	err = fib_check_nh_list(old, new, extack);
old               962 net/ipv4/nexthop.c 	err = fib6_check_nh_list(old, new, extack);
old               972 net/ipv4/nexthop.c 	list_for_each_entry(nhge, &old->grp_list, nh_list) {
old               991 net/ipv4/nexthop.c 	if (old->is_group)
old               992 net/ipv4/nexthop.c 		err = replace_nexthop_grp(net, old, new, extack);
old               994 net/ipv4/nexthop.c 		err = replace_nexthop_single(net, old, new, extack);
old               997 net/ipv4/nexthop.c 		nh_rt_cache_flush(net, old);
old               148 net/ipv4/route.c static u32 *ipv4_cow_metrics(struct dst_entry *dst, unsigned long old)
old               491 net/ipv4/route.c 	u32 old = READ_ONCE(*p_tstamp);
old               495 net/ipv4/route.c 	if (old != now && cmpxchg(p_tstamp, old, now) == old)
old               496 net/ipv4/route.c 		delta = prandom_u32_max(now - old);
old              2662 net/ipv4/route.c 					  unsigned long old)
old              2312 net/ipv4/tcp_output.c 	enum tcp_chrono old = tp->chrono_type;
old              2314 net/ipv4/tcp_output.c 	if (old > TCP_CHRONO_UNSPEC)
old              2315 net/ipv4/tcp_output.c 		tp->chrono_stat[old - 1] += now - tp->chrono_start;
old              2127 net/ipv4/udp.c 	struct dst_entry *old;
old              2130 net/ipv4/udp.c 		old = xchg(&sk->sk_rx_dst, dst);
old              2131 net/ipv4/udp.c 		dst_release(old);
old              2132 net/ipv4/udp.c 		return old != dst;
old               843 net/ipv6/addrconf.c 	int old;
old               849 net/ipv6/addrconf.c 	old = *p;
old               853 net/ipv6/addrconf.c 		if ((!newf) ^ (!old))
old               873 net/ipv6/addrconf.c 		if ((!newf) ^ (!old))
old               878 net/ipv6/addrconf.c 	} else if ((!newf) ^ (!old))
old               911 net/ipv6/addrconf.c 	int old;
old               917 net/ipv6/addrconf.c 	old = *p;
old               921 net/ipv6/addrconf.c 		if ((!newf) ^ (!old))
old               934 net/ipv6/addrconf.c 		if ((!newf) ^ (!old))
old              6131 net/ipv6/addrconf.c 	int old;
old              6137 net/ipv6/addrconf.c 	old = *p;
old              6148 net/ipv6/addrconf.c 	} else if ((!newf) ^ (!old))
old              6187 net/ipv6/addrconf.c 	int old, new;
old              6189 net/ipv6/addrconf.c 	old = *valp;
old              6193 net/ipv6/addrconf.c 	if (write && old != new) {
old               786 net/ipv6/calipso.c 	struct ipv6_txoptions *old = txopt_get(inet6_sk(sk)), *txopts;
old               788 net/ipv6/calipso.c 	txopts = ipv6_renew_options(sk, old, IPV6_HOPOPTS, hop);
old               789 net/ipv6/calipso.c 	txopt_put(old);
old              1134 net/ipv6/calipso.c 	struct ipv6_opt_hdr *old, *new;
old              1137 net/ipv6/calipso.c 	old = NULL;
old              1139 net/ipv6/calipso.c 		old = txopts->hopopt;
old              1141 net/ipv6/calipso.c 	new = calipso_opt_insert(old, doi_def, secattr);
old              1199 net/ipv6/calipso.c 	struct ipv6_opt_hdr *old, *new;
old              1203 net/ipv6/calipso.c 		old = req_inet->ipv6_opt->hopopt;
old              1205 net/ipv6/calipso.c 		old = NULL;
old              1207 net/ipv6/calipso.c 	new = calipso_opt_insert(old, doi_def, secattr);
old              1016 net/ipv6/exthdrs.c 			      struct ipv6_opt_hdr *old,
old              1022 net/ipv6/exthdrs.c 	src = (renewtype == newtype ? new : old);
old                92 net/ipv6/ip6_fib.c 	int new, old;
old                95 net/ipv6/ip6_fib.c 		old = atomic_read(&net->ipv6.fib6_sernum);
old                96 net/ipv6/ip6_fib.c 		new = old < INT_MAX ? old + 1 : 1;
old                98 net/ipv6/ip6_fib.c 				old, new) != old);
old              4107 net/ipv6/route.c 	netevent.old = &rt->dst;
old               803 net/mac80211/cfg.c 	struct probe_resp *new, *old;
old               808 net/mac80211/cfg.c 	old = sdata_dereference(sdata->u.ap.probe_resp, sdata);
old               823 net/mac80211/cfg.c 	if (old)
old               824 net/mac80211/cfg.c 		kfree_rcu(old, rcu_head);
old               834 net/mac80211/cfg.c 	struct ieee80211_ftm_responder_params *new, *old;
old               843 net/mac80211/cfg.c 	old = bss_conf->ftmr_params;
old               866 net/mac80211/cfg.c 	kfree(old);
old               875 net/mac80211/cfg.c 	struct beacon_data *new, *old;
old               880 net/mac80211/cfg.c 	old = sdata_dereference(sdata->u.ap.beacon, sdata);
old               884 net/mac80211/cfg.c 	if (!params->head && !old)
old               891 net/mac80211/cfg.c 		new_head_len = old->head_len;
old               894 net/mac80211/cfg.c 	if (params->tail || !old)
old               898 net/mac80211/cfg.c 		new_tail_len = old->tail_len;
old               928 net/mac80211/cfg.c 		memcpy(new->head, old->head, new_head_len);
old               934 net/mac80211/cfg.c 		if (old)
old               935 net/mac80211/cfg.c 			memcpy(new->tail, old->tail, new_tail_len);
old               964 net/mac80211/cfg.c 	if (old)
old               965 net/mac80211/cfg.c 		kfree_rcu(old, rcu_head);
old               975 net/mac80211/cfg.c 	struct beacon_data *old;
old               988 net/mac80211/cfg.c 	old = sdata_dereference(sdata->u.ap.beacon, sdata);
old               989 net/mac80211/cfg.c 	if (old)
old              1082 net/mac80211/cfg.c 		old = sdata_dereference(sdata->u.ap.beacon, sdata);
old              1084 net/mac80211/cfg.c 		if (old)
old              1085 net/mac80211/cfg.c 			kfree_rcu(old, rcu_head);
old              1105 net/mac80211/cfg.c 	struct beacon_data *old;
old              1117 net/mac80211/cfg.c 	old = sdata_dereference(sdata->u.ap.beacon, sdata);
old              1118 net/mac80211/cfg.c 	if (!old)
old               288 net/mac80211/key.c static void ieee80211_pairwise_rekey(struct ieee80211_key *old,
old               318 net/mac80211/key.c 	} else if (old) {
old               324 net/mac80211/key.c 		if (!(old->flags & KEY_FLAG_UPLOADED_TO_HARDWARE))
old               328 net/mac80211/key.c 		old->flags |= KEY_FLAG_TAINTED;
old               342 net/mac80211/key.c 			ieee80211_flush_queues(local, old->sdata, false);
old               405 net/mac80211/key.c 				  struct ieee80211_key *old,
old               413 net/mac80211/key.c 	if (WARN_ON(!new && !old))
old               419 net/mac80211/key.c 	WARN_ON(new && old && new->conf.keyidx != old->conf.keyidx);
old               425 net/mac80211/key.c 		ieee80211_pairwise_rekey(old, new);
old               428 net/mac80211/key.c 	if (old) {
old               429 net/mac80211/key.c 		idx = old->conf.keyidx;
old               431 net/mac80211/key.c 		if (old->flags & KEY_FLAG_UPLOADED_TO_HARDWARE) {
old               432 net/mac80211/key.c 			ieee80211_key_disable_hw_accel(old);
old               460 net/mac80211/key.c 		if (new && !old)
old               463 net/mac80211/key.c 		defunikey = old &&
old               464 net/mac80211/key.c 			old == key_mtx_dereference(sdata->local,
old               466 net/mac80211/key.c 		defmultikey = old &&
old               467 net/mac80211/key.c 			old == key_mtx_dereference(sdata->local,
old               469 net/mac80211/key.c 		defmgmtkey = old &&
old               470 net/mac80211/key.c 			old == key_mtx_dereference(sdata->local,
old               492 net/mac80211/key.c 	if (old)
old               493 net/mac80211/key.c 		list_del_rcu(&old->list);
old               731 net/mac80211/key.c 				    struct ieee80211_key *old,
old               737 net/mac80211/key.c 	if (!old || new->conf.keylen != old->conf.keylen)
old               740 net/mac80211/key.c 	tk_old = old->conf.key;
old               919 net/mac80211/rate.c 	struct ieee80211_sta_rates *old;
old               932 net/mac80211/rate.c 	old = rcu_dereference_protected(pubsta->rates, true);
old               934 net/mac80211/rate.c 	if (old)
old               935 net/mac80211/rate.c 		kfree_rcu(old, rcu_head);
old                25 net/mac80211/rc80211_minstrel.h minstrel_ewma(int old, int new, int weight)
old                29 net/mac80211/rc80211_minstrel.h 	diff = new - old;
old                32 net/mac80211/rc80211_minstrel.h 	return old + incr;
old              3973 net/mac80211/rx.c 	}, *old, *new = NULL;
old              4087 net/mac80211/rx.c 	old = rcu_dereference_protected(sta->fast_rx, true);
old              4091 net/mac80211/rx.c 	if (old)
old              4092 net/mac80211/rx.c 		kfree_rcu(old, rcu_head);
old              4097 net/mac80211/rx.c 	struct ieee80211_fast_rx *old;
old              4100 net/mac80211/rx.c 	old = rcu_dereference_protected(sta->fast_rx, true);
old              4104 net/mac80211/rx.c 	if (old)
old              4105 net/mac80211/rx.c 		kfree_rcu(old, rcu_head);
old               523 net/mac80211/tx.c 			struct sk_buff *old = skb_dequeue(&sta->ps_tx_buf[ac]);
old               527 net/mac80211/tx.c 			ieee80211_free_txskb(&local->hw, old);
old              2878 net/mac80211/tx.c 	struct ieee80211_fast_tx build = {}, *fast_tx = NULL, *old;
old              3096 net/mac80211/tx.c 	old = rcu_dereference_protected(sta->fast_tx,
old              3099 net/mac80211/tx.c 	if (old)
old              3100 net/mac80211/tx.c 		kfree_rcu(old, rcu_head);
old               537 net/mpls/af_mpls.c 			      struct mpls_route *old, struct mpls_route *new,
old               543 net/mpls/af_mpls.c 	struct mpls_route *rt = new ? new : old;
old               544 net/mpls/af_mpls.c 	unsigned nlm_flags = (old && new) ? NLM_F_REPLACE : 0;
old               965 net/mpls/af_mpls.c 	struct mpls_route *rt, *old;
old               992 net/mpls/af_mpls.c 	old = rtnl_dereference(platform_label[index]);
old               993 net/mpls/af_mpls.c 	if ((cfg->rc_nlflags & NLM_F_EXCL) && old)
old               997 net/mpls/af_mpls.c 	if (!(cfg->rc_nlflags & NLM_F_REPLACE) && old)
old              1001 net/mpls/af_mpls.c 	if (!(cfg->rc_nlflags & NLM_F_CREATE) && !old)
old              2504 net/mpls/af_mpls.c 	struct mpls_route __rcu **labels = NULL, **old;
old              2546 net/mpls/af_mpls.c 	old = rtnl_dereference(net->mpls.platform_label);
old              2558 net/mpls/af_mpls.c 	memcpy(labels, old, cp_size);
old              2582 net/mpls/af_mpls.c 	if (old) {
old              2584 net/mpls/af_mpls.c 		kvfree(old);
old               104 net/netfilter/core.c nf_hook_entries_grow(const struct nf_hook_entries *old,
old               114 net/netfilter/core.c 	old_entries = old ? old->num_hook_entries : 0;
old               116 net/netfilter/core.c 	if (old) {
old               117 net/netfilter/core.c 		orig_ops = nf_hook_entries_get_hook_ops(old);
old               144 net/netfilter/core.c 			new->hooks[nhooks] = old->hooks[i];
old               222 net/netfilter/core.c static void *__nf_hook_entries_try_shrink(struct nf_hook_entries *old,
old               230 net/netfilter/core.c 	if (WARN_ON_ONCE(!old))
old               233 net/netfilter/core.c 	orig_ops = nf_hook_entries_get_hook_ops(old);
old               234 net/netfilter/core.c 	for (i = 0; i < old->num_hook_entries; i++) {
old               240 net/netfilter/core.c 	hook_entries = old->num_hook_entries;
old               253 net/netfilter/core.c 	for (i = 0, j = 0; i < old->num_hook_entries; i++) {
old               256 net/netfilter/core.c 		new->hooks[j] = old->hooks[i];
old               263 net/netfilter/core.c 	return old;
old               368 net/netfilter/core.c static bool nf_remove_net_hook(struct nf_hook_entries *old,
old               374 net/netfilter/core.c 	orig_ops = nf_hook_entries_get_hook_ops(old);
old               375 net/netfilter/core.c 	for (i = 0; i < old->num_hook_entries; i++) {
old               378 net/netfilter/core.c 		WRITE_ONCE(old->hooks[i].hook, accept_all);
old               862 net/netfilter/ipset/ip_set_hash_gen.h 	struct hbucket *n, *old = ERR_PTR(-ENOENT);
old               896 net/netfilter/ipset/ip_set_hash_gen.h 		old = NULL;
old               960 net/netfilter/ipset/ip_set_hash_gen.h 		old = n;
old               962 net/netfilter/ipset/ip_set_hash_gen.h 			    (old->size + AHASH_INIT_SIZE) * set->dsize,
old               968 net/netfilter/ipset/ip_set_hash_gen.h 		memcpy(n, old, sizeof(struct hbucket) +
old               969 net/netfilter/ipset/ip_set_hash_gen.h 		       old->size * set->dsize);
old               970 net/netfilter/ipset/ip_set_hash_gen.h 		n->size = old->size + AHASH_INIT_SIZE;
old              1000 net/netfilter/ipset/ip_set_hash_gen.h 	if (old != ERR_PTR(-ENOENT)) {
old              1002 net/netfilter/ipset/ip_set_hash_gen.h 		if (old)
old              1003 net/netfilter/ipset/ip_set_hash_gen.h 			kfree_rcu(old, rcu);
old               164 net/netfilter/ipset/ip_set_list_set.c list_set_replace(struct ip_set *set, struct set_elem *e, struct set_elem *old)
old               168 net/netfilter/ipset/ip_set_list_set.c 	list_replace_rcu(&old->list, &e->list);
old               169 net/netfilter/ipset/ip_set_list_set.c 	ip_set_put_byindex(map->net, old->id);
old               170 net/netfilter/ipset/ip_set_list_set.c 	call_rcu(&old->rcu, __list_set_del_rcu);
old               711 net/netfilter/ipvs/ip_vs_ctl.c 	struct ip_vs_dest_dst *old;
old               713 net/netfilter/ipvs/ip_vs_ctl.c 	old = rcu_dereference_protected(dest->dest_dst, 1);
old               714 net/netfilter/ipvs/ip_vs_ctl.c 	if (old) {
old               716 net/netfilter/ipvs/ip_vs_ctl.c 		call_rcu(&old->rcu_head, ip_vs_dest_dst_rcu_free);
old                76 net/netfilter/ipvs/ip_vs_xmit.c 	struct ip_vs_dest_dst *old;
old                78 net/netfilter/ipvs/ip_vs_xmit.c 	old = rcu_dereference_protected(dest->dest_dst,
old                87 net/netfilter/ipvs/ip_vs_xmit.c 	if (old)
old                88 net/netfilter/ipvs/ip_vs_xmit.c 		call_rcu(&old->rcu_head, ip_vs_dest_dst_rcu_free);
old                43 net/netfilter/nf_conntrack_extend.c 	struct nf_ct_ext *old, *new;
old                49 net/netfilter/nf_conntrack_extend.c 	old = ct->ext;
old                51 net/netfilter/nf_conntrack_extend.c 	if (old) {
old                52 net/netfilter/nf_conntrack_extend.c 		if (__nf_ct_ext_exist(old, id))
old                54 net/netfilter/nf_conntrack_extend.c 		oldlen = old->len;
old                71 net/netfilter/nf_conntrack_extend.c 	kmemleak_not_leak(old);
old                72 net/netfilter/nf_conntrack_extend.c 	new = __krealloc(old, alloc, gfp);
old                76 net/netfilter/nf_conntrack_extend.c 	if (!old) {
old                79 net/netfilter/nf_conntrack_extend.c 	} else if (new != old) {
old                80 net/netfilter/nf_conntrack_extend.c 		kfree_rcu(old, rcu);
old                18 net/netfilter/nf_conntrack_labels.c 	u32 old, tmp;
old                21 net/netfilter/nf_conntrack_labels.c 		old = *address;
old                22 net/netfilter/nf_conntrack_labels.c 		tmp = (old & mask) ^ new;
old                23 net/netfilter/nf_conntrack_labels.c 		if (old == tmp)
old                25 net/netfilter/nf_conntrack_labels.c 	} while (cmpxchg(address, old, tmp) != old);
old               186 net/netfilter/nf_synproxy_core.c 	__be32 *ptr, old;
old               215 net/netfilter/nf_synproxy_core.c 					old = *ptr;
old               220 net/netfilter/nf_synproxy_core.c 					old = *ptr;
old               225 net/netfilter/nf_synproxy_core.c 							 old, *ptr, false);
old              6664 net/netfilter/nf_tables_api.c 	struct nft_rules_old *old;
old              6670 net/netfilter/nf_tables_api.c 	old = (void *) r;
old              6671 net/netfilter/nf_tables_api.c 	old->start = rules;
old              6673 net/netfilter/nf_tables_api.c 	call_rcu(&old->h, __nf_tables_commit_chain_free_rules_old);
old               243 net/netfilter/nft_exthdr.c 		} old, new;
old               267 net/netfilter/nft_exthdr.c 			old.v16 = get_unaligned((u16 *)(opt + offset));
old               273 net/netfilter/nft_exthdr.c 				if (ntohs(old.v16) <= ntohs(new.v16))
old               278 net/netfilter/nft_exthdr.c 			if (old.v16 == new.v16)
old               283 net/netfilter/nft_exthdr.c 						 old.v16, new.v16, false);
old               287 net/netfilter/nft_exthdr.c 			old.v32 = get_unaligned((u32 *)(opt + offset));
old               289 net/netfilter/nft_exthdr.c 			if (old.v32 == new.v32)
old               294 net/netfilter/nft_exthdr.c 						 old.v32, new.v32, false);
old               784 net/netlink/af_netlink.c 			struct listeners *old;
old               786 net/netlink/af_netlink.c 			old = nl_deref_protected(nl_table[sk->sk_protocol].listeners);
old               788 net/netlink/af_netlink.c 			kfree_rcu(old, rcu);
old              1610 net/netlink/af_netlink.c 	int old, new = !!is_new, subscriptions;
old              1612 net/netlink/af_netlink.c 	old = test_bit(group - 1, nlk->groups);
old              1613 net/netlink/af_netlink.c 	subscriptions = nlk->subscriptions - old + new;
old              2112 net/netlink/af_netlink.c 	struct listeners *new, *old;
old              2122 net/netlink/af_netlink.c 		old = nl_deref_protected(tbl->listeners);
old              2123 net/netlink/af_netlink.c 		memcpy(new->masks, old->masks, NLGRPSZ(tbl->groups));
old              2126 net/netlink/af_netlink.c 		kfree_rcu(old, rcu);
old               407 net/openvswitch/actions.c static void mask_ipv6_addr(const __be32 old[4], const __be32 addr[4],
old               410 net/openvswitch/actions.c 	masked[0] = OVS_MASKED(old[0], addr[0], mask[0]);
old               411 net/openvswitch/actions.c 	masked[1] = OVS_MASKED(old[1], addr[1], mask[1]);
old               412 net/openvswitch/actions.c 	masked[2] = OVS_MASKED(old[2], addr[2], mask[2]);
old               413 net/openvswitch/actions.c 	masked[3] = OVS_MASKED(old[3], addr[3], mask[3]);
old               300 net/openvswitch/flow_table.c static void flow_table_copy_flows(struct table_instance *old,
old               306 net/openvswitch/flow_table.c 	old_ver = old->node_ver;
old               310 net/openvswitch/flow_table.c 	for (i = 0; i < old->n_buckets; i++) {
old               312 net/openvswitch/flow_table.c 		struct hlist_head *head = &old->buckets[i];
old               324 net/openvswitch/flow_table.c 	old->keep_flows = true;
old               336 net/openvswitch/vport.c 	struct vport_portids *old, *vport_portids;
old               341 net/openvswitch/vport.c 	old = ovsl_dereference(vport->upcall_portids);
old               354 net/openvswitch/vport.c 	if (old)
old               355 net/openvswitch/vport.c 		kfree_rcu(old, rcu);
old              1525 net/packet/af_packet.c 	struct bpf_prog *old;
old              1528 net/packet/af_packet.c 	old = rcu_dereference_protected(f->bpf_prog, lockdep_is_held(&f->lock));
old              1532 net/packet/af_packet.c 	if (old) {
old              1534 net/packet/af_packet.c 		bpf_prog_destroy(old);
old               481 net/rds/ib_recv.c 	struct list_head *old, *chpfirst;
old               504 net/rds/ib_recv.c 		old = xchg(&cache->xfer, NULL);
old               505 net/rds/ib_recv.c 		if (old)
old               506 net/rds/ib_recv.c 			list_splice_entire_tail(old, chpfirst);
old               507 net/rds/ib_recv.c 		old = cmpxchg(&cache->xfer, NULL, chpfirst);
old               508 net/rds/ib_recv.c 	} while (old);
old               799 net/rds/rds.h  rds_conn_path_transition(struct rds_conn_path *cp, int old, int new)
old               801 net/rds/rds.h  	return atomic_cmpxchg(&cp->cp_state, old, new) == old;
old               805 net/rds/rds.h  rds_conn_transition(struct rds_connection *conn, int old, int new)
old               808 net/rds/rds.h  	return rds_conn_path_transition(&conn->c_path[0], old, new);
old               213 net/rxrpc/af_rxrpc.c 	unsigned int max, old;
old               233 net/rxrpc/af_rxrpc.c 		old = sk->sk_max_ack_backlog;
old               239 net/rxrpc/af_rxrpc.c 			sk->sk_max_ack_backlog = old;
old                44 net/sched/act_api.c 	struct tc_cookie *old;
old                46 net/sched/act_api.c 	old = xchg((__force struct tc_cookie **)old_cookie, new_cookie);
old                47 net/sched/act_api.c 	if (old)
old                48 net/sched/act_api.c 		call_rcu(&old->rcu, tcf_free_cookie_rcu);
old               283 net/sched/act_bpf.c 	struct tcf_bpf_cfg cfg, old;
old               349 net/sched/act_bpf.c 		tcf_bpf_prog_fill_cfg(prog, &old);
old               369 net/sched/act_bpf.c 		tcf_bpf_cfg_cleanup(&old);
old              3056 net/sched/cls_api.c 	struct tcf_exts old = *dst;
old              3059 net/sched/cls_api.c 	tcf_exts_destroy(&old);
old               824 net/sched/sch_api.c 				struct Qdisc *new, struct Qdisc *old,
old               845 net/sched/sch_api.c 	any_qdisc_is_offloaded |= old && old->flags & TCQ_F_OFFLOADED;
old               853 net/sched/sch_api.c 				     struct Qdisc *new, struct Qdisc *old,
old               860 net/sched/sch_api.c 				  (old && old->flags & TCQ_F_INGRESS),
old               863 net/sched/sch_api.c 	qdisc_offload_graft_helper(dev, NULL, new, old,
old               958 net/sched/sch_api.c 			struct Qdisc *old, struct Qdisc *new)
old               967 net/sched/sch_api.c 	if (old && !tc_qdisc_dump_ignore(old, false)) {
old               968 net/sched/sch_api.c 		if (tc_fill_qdisc(skb, old, clid, portid, n->nlmsg_seq,
old               974 net/sched/sch_api.c 				  old ? NLM_F_REPLACE : 0, RTM_NEWQDISC) < 0)
old               989 net/sched/sch_api.c 			       struct Qdisc *old, struct Qdisc *new)
old               991 net/sched/sch_api.c 	if (new || old)
old               992 net/sched/sch_api.c 		qdisc_notify(net, skb, n, clid, old, new);
old               994 net/sched/sch_api.c 	if (old)
old               995 net/sched/sch_api.c 		qdisc_put(old);
old              1022 net/sched/sch_api.c 		       struct Qdisc *new, struct Qdisc *old,
old              1025 net/sched/sch_api.c 	struct Qdisc *q = old;
old              1046 net/sched/sch_api.c 		qdisc_offload_graft_root(dev, new, old, extack);
old              1057 net/sched/sch_api.c 			old = dev_graft_qdisc(dev_queue, new);
old              1062 net/sched/sch_api.c 				qdisc_put(old);
old              1076 net/sched/sch_api.c 			notify_and_destroy(net, skb, n, classid, old, new);
old              1100 net/sched/sch_api.c 		err = cops->graft(parent, cl, new, &old, extack);
old              1103 net/sched/sch_api.c 		notify_and_destroy(net, skb, n, classid, old, new);
old                86 net/sched/sch_atm.c 			struct Qdisc *new, struct Qdisc **old,
old                93 net/sched/sch_atm.c 		sch, p, flow, new, old);
old                98 net/sched/sch_atm.c 	*old = flow->q;
old               100 net/sched/sch_atm.c 	if (*old)
old               101 net/sched/sch_atm.c 		qdisc_reset(*old);
old              1397 net/sched/sch_cbq.c 		     struct Qdisc **old, struct netlink_ext_ack *extack)
old              1408 net/sched/sch_cbq.c 	*old = qdisc_replace(sch, new, &cl->q);
old               492 net/sched/sch_cbs.c 		     struct Qdisc **old, struct netlink_ext_ack *extack)
old               503 net/sched/sch_cbs.c 	*old = qdisc_replace(sch, new, &q->qdisc);
old               351 net/sched/sch_choke.c 	struct sk_buff **old = NULL;
old               386 net/sched/sch_choke.c 		old = q->tab;
old               387 net/sched/sch_choke.c 		if (old) {
old               429 net/sched/sch_choke.c 	choke_free(old);
old               205 net/sched/sch_drr.c 			   struct Qdisc *new, struct Qdisc **old,
old               217 net/sched/sch_drr.c 	*old = qdisc_replace(sch, new, &cl->qdisc);
old                65 net/sched/sch_dsmark.c 			struct Qdisc *new, struct Qdisc **old,
old                71 net/sched/sch_dsmark.c 		 __func__, sch, p, new, old);
old                80 net/sched/sch_dsmark.c 	*old = qdisc_replace(sch, new, &p->q);
old              1171 net/sched/sch_hfsc.c 		 struct Qdisc **old, struct netlink_ext_ack *extack)
old              1184 net/sched/sch_hfsc.c 	*old = qdisc_replace(sch, new, &cl->qdisc);
old              1148 net/sched/sch_htb.c 		     struct Qdisc **old, struct netlink_ext_ack *extack)
old              1159 net/sched/sch_htb.c 	*old = qdisc_replace(sch, new, &cl->leaf.q);
old               110 net/sched/sch_mq.c 	struct Qdisc *qdisc, *old;
old               115 net/sched/sch_mq.c 		old = dev_graft_qdisc(qdisc->dev_queue, qdisc);
old               116 net/sched/sch_mq.c 		if (old)
old               117 net/sched/sch_mq.c 			qdisc_put(old);
old               191 net/sched/sch_mq.c 		    struct Qdisc **old, struct netlink_ext_ack *extack)
old               200 net/sched/sch_mq.c 	*old = dev_graft_qdisc(dev_queue, new);
old               211 net/sched/sch_mq.c 	qdisc_offload_graft_helper(qdisc_dev(sch), sch, new, *old,
old               293 net/sched/sch_mqprio.c 	struct Qdisc *qdisc, *old;
old               299 net/sched/sch_mqprio.c 		old = dev_graft_qdisc(qdisc->dev_queue, qdisc);
old               300 net/sched/sch_mqprio.c 		if (old)
old               301 net/sched/sch_mqprio.c 			qdisc_put(old);
old               321 net/sched/sch_mqprio.c 			struct Qdisc **old, struct netlink_ext_ack *extack)
old               332 net/sched/sch_mqprio.c 	*old = dev_graft_qdisc(dev_queue, new);
old               214 net/sched/sch_multiq.c 			struct Qdisc *child, *old;
old               221 net/sched/sch_multiq.c 				old = q->queues[i];
old               226 net/sched/sch_multiq.c 				if (old != &noop_qdisc)
old               227 net/sched/sch_multiq.c 					qdisc_purge_queue(old);
old               229 net/sched/sch_multiq.c 				qdisc_put(old);
old               282 net/sched/sch_multiq.c 			struct Qdisc **old, struct netlink_ext_ack *extack)
old               290 net/sched/sch_multiq.c 	*old = qdisc_replace(sch, new, &q->queues[band]);
old              1228 net/sched/sch_netem.c 		     struct Qdisc **old, struct netlink_ext_ack *extack)
old              1232 net/sched/sch_netem.c 	*old = qdisc_replace(sch, new, &q->qdisc);
old               289 net/sched/sch_prio.c 		      struct Qdisc **old, struct netlink_ext_ack *extack)
old               304 net/sched/sch_prio.c 	*old = qdisc_replace(sch, new, &q->queues[band]);
old               312 net/sched/sch_prio.c 	qdisc_offload_graft_helper(qdisc_dev(sch), sch, new, *old,
old               586 net/sched/sch_qfq.c 			   struct Qdisc *new, struct Qdisc **old,
old               598 net/sched/sch_qfq.c 	*old = qdisc_replace(sch, new, &cl->qdisc);
old               368 net/sched/sch_red.c 			      struct Qdisc *new, struct Qdisc *old,
old               378 net/sched/sch_red.c 	qdisc_offload_graft_helper(qdisc_dev(sch), sch, new, old,
old               383 net/sched/sch_red.c 		     struct Qdisc **old, struct netlink_ext_ack *extack)
old               390 net/sched/sch_red.c 	*old = qdisc_replace(sch, new, &q->qdisc);
old               392 net/sched/sch_red.c 	red_graft_offload(sch, new, *old, extack);
old               492 net/sched/sch_sfb.c 	struct Qdisc *child, *old;
old               523 net/sched/sch_sfb.c 	old = q->qdisc;
old               546 net/sched/sch_sfb.c 	qdisc_put(old);
old               618 net/sched/sch_sfb.c 		     struct Qdisc **old, struct netlink_ext_ack *extack)
old               625 net/sched/sch_sfb.c 	*old = qdisc_replace(sch, new, &q->qdisc);
old              1385 net/sched/sch_taprio.c static int taprio_new_flags(const struct nlattr *attr, u32 old,
old              1393 net/sched/sch_taprio.c 	if (old != TAPRIO_FLAGS_INVALID && old != new) {
old              1686 net/sched/sch_taprio.c 			struct Qdisc *new, struct Qdisc **old,
old              1699 net/sched/sch_taprio.c 	*old = q->qdiscs[cl - 1];
old               490 net/sched/sch_tbf.c 		     struct Qdisc **old, struct netlink_ext_ack *extack)
old               497 net/sched/sch_tbf.c 	*old = qdisc_replace(sch, new, &q->qdisc);
old              1132 net/sctp/socket.c 	struct sctp_association *old;
old              1140 net/sctp/socket.c 	old = sctp_endpoint_lookup_assoc(ep, daddr, &t);
old              1141 net/sctp/socket.c 	if (old && old != asoc)
old              1142 net/sctp/socket.c 		return old->state >= SCTP_STATE_ESTABLISHED ? -EISCONN
old               133 net/sctp/stream_sched.c 	struct sctp_sched_ops *old = asoc->outqueue.sched;
old               138 net/sctp/stream_sched.c 	if (old == n)
old               144 net/sctp/stream_sched.c 	if (old) {
old               145 net/sctp/stream_sched.c 		old->free(&asoc->stream);
old               155 net/sctp/stream_sched_prio.c 	struct sctp_stream_priorities *prio_head, *old;
old               164 net/sctp/stream_sched_prio.c 	old = soute->prio_head;
old               169 net/sctp/stream_sched_prio.c 	if (!old)
old               175 net/sctp/stream_sched_prio.c 		if (soute && soute->prio_head == old)
old               181 net/sctp/stream_sched_prio.c 	kfree(old);
old               167 net/smc/smc_cdc.h 				union smc_host_cursor *old,
old               170 net/smc/smc_cdc.h 	if (old->wrap != new->wrap)
old               172 net/smc/smc_cdc.h 			     ((size - old->count) + new->count));
old               174 net/smc/smc_cdc.h 	return max_t(int, 0, (new->count - old->count));
old               181 net/smc/smc_cdc.h 				union smc_host_cursor *old,
old               184 net/smc/smc_cdc.h 	if (old->wrap > new->wrap ||
old               185 net/smc/smc_cdc.h 	    (old->wrap == new->wrap && old->count > new->count))
old               186 net/smc/smc_cdc.h 		return -smc_curs_diff(size, new, old);
old               187 net/smc/smc_cdc.h 	return smc_curs_diff(size, old, new);
old               194 net/smc/smc_cdc.h 				      union smc_host_cursor *old,
old               197 net/smc/smc_cdc.h 	if (old->wrap < new->wrap)
old               199 net/smc/smc_cdc.h 			     (size - old->count) + new->count +
old               200 net/smc/smc_cdc.h 			     (new->wrap - old->wrap - 1) * size,
old               203 net/smc/smc_cdc.h 	if (old->wrap > new->wrap) /* wrap has switched from 0xffff to 0x0000 */
old               205 net/smc/smc_cdc.h 			     (size - old->count) + new->count +
old               206 net/smc/smc_cdc.h 			     (new->wrap + 0xffff - old->wrap) * size,
old               209 net/smc/smc_cdc.h 	return max_t(int, 0, (new->count - old->count));
old               243 net/smc/smc_cdc.h 	union smc_host_cursor temp, old;
old               246 net/smc/smc_cdc.h 	smc_curs_copy(&old, local, conn);
old               250 net/smc/smc_cdc.h 	if ((old.wrap > temp.wrap) && temp.wrap)
old               252 net/smc/smc_cdc.h 	if ((old.wrap == temp.wrap) &&
old               253 net/smc/smc_cdc.h 	    (old.count > temp.count))
old               111 net/sunrpc/auth.c 	const struct rpc_authops *old;
old               116 net/sunrpc/auth.c 	old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], NULL, ops);
old               117 net/sunrpc/auth.c 	if (old == NULL || old == ops)
old               126 net/sunrpc/auth.c 	const struct rpc_authops *old;
old               132 net/sunrpc/auth.c 	old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], ops, NULL);
old               133 net/sunrpc/auth.c 	if (old == ops || old == NULL)
old               348 net/sunrpc/auth_gss/auth_gss.c 	struct gss_upcall_msg *old;
old               351 net/sunrpc/auth_gss/auth_gss.c 	old = __gss_find_upcall(pipe, gss_msg->uid, gss_msg->auth);
old               352 net/sunrpc/auth_gss/auth_gss.c 	if (old == NULL) {
old               356 net/sunrpc/auth_gss/auth_gss.c 		gss_msg = old;
old              2075 net/sunrpc/auth_gss/auth_gss.c gss_seq_is_newer(u32 new, u32 old)
old              2077 net/sunrpc/auth_gss/auth_gss.c 	return (s32)(new - old) > 0;
old                83 net/sunrpc/auth_gss/svcauth_gss.c static struct rsi *rsi_update(struct cache_detail *cd, struct rsi *new, struct rsi *old);
old               302 net/sunrpc/auth_gss/svcauth_gss.c static struct rsi *rsi_update(struct cache_detail *cd, struct rsi *new, struct rsi *old)
old               308 net/sunrpc/auth_gss/svcauth_gss.c 				 &old->h, hash);
old               346 net/sunrpc/auth_gss/svcauth_gss.c static struct rsc *rsc_update(struct cache_detail *cd, struct rsc *new, struct rsc *old);
old               573 net/sunrpc/auth_gss/svcauth_gss.c static struct rsc *rsc_update(struct cache_detail *cd, struct rsc *new, struct rsc *old)
old               579 net/sunrpc/auth_gss/svcauth_gss.c 				 &old->h, hash);
old               165 net/sunrpc/cache.c 				       struct cache_head *new, struct cache_head *old, int hash)
old               173 net/sunrpc/cache.c 	if (!test_bit(CACHE_VALID, &old->flags)) {
old               175 net/sunrpc/cache.c 		if (!test_bit(CACHE_VALID, &old->flags)) {
old               177 net/sunrpc/cache.c 				set_bit(CACHE_NEGATIVE, &old->flags);
old               179 net/sunrpc/cache.c 				detail->update(old, new);
old               180 net/sunrpc/cache.c 			cache_fresh_locked(old, new->expiry_time, detail);
old               182 net/sunrpc/cache.c 			cache_fresh_unlocked(old, detail);
old               183 net/sunrpc/cache.c 			return old;
old               190 net/sunrpc/cache.c 		cache_put(old, detail);
old               194 net/sunrpc/cache.c 	detail->init(tmp, old);
old               205 net/sunrpc/cache.c 	cache_fresh_locked(old, 0, detail);
old               208 net/sunrpc/cache.c 	cache_fresh_unlocked(old, detail);
old               209 net/sunrpc/cache.c 	cache_put(old, detail);
old               271 net/sunrpc/clnt.c 	struct rpc_xprt *old;
old               274 net/sunrpc/clnt.c 	old = rcu_dereference_protected(clnt->cl_xprt,
old               284 net/sunrpc/clnt.c 	return old;
old               718 net/sunrpc/clnt.c 	struct rpc_xprt *xprt, *old;
old               738 net/sunrpc/clnt.c 	old = rpc_clnt_set_transport(clnt, xprt, timeout);
old               766 net/sunrpc/clnt.c 	xprt_put(old);
old               772 net/sunrpc/clnt.c 	rpc_clnt_set_transport(clnt, old, old_timeo);
old               954 net/sunrpc/clnt.c struct rpc_clnt *rpc_bind_new_program(struct rpc_clnt *old,
old               962 net/sunrpc/clnt.c 		.authflavor	= old->cl_auth->au_flavor,
old               963 net/sunrpc/clnt.c 		.cred		= old->cl_cred,
old               968 net/sunrpc/clnt.c 	clnt = __rpc_clone_client(&args, old);
old               111 net/sunrpc/svcauth.c 	struct auth_ops *old;
old               115 net/sunrpc/svcauth.c 		old = cmpxchg((struct auth_ops ** __force)&authtab[flavor], NULL, aops);
old               116 net/sunrpc/svcauth.c 		if (old == NULL || old == aops)
old               298 net/sunrpc/xprtmultipath.c 	struct rpc_xprt *pos, *old;
old               300 net/sunrpc/xprtmultipath.c 	old = smp_load_acquire(cursor);
old               301 net/sunrpc/xprtmultipath.c 	pos = find_next(xps, old);
old               649 net/sunrpc/xprtrdma/verbs.c 	struct rdma_cm_id *id, *old;
old               669 net/sunrpc/xprtrdma/verbs.c 	old = id;
old               682 net/sunrpc/xprtrdma/verbs.c 	old = ia->ri_id;
old               684 net/sunrpc/xprtrdma/verbs.c 	rdma_destroy_qp(old);
old               687 net/sunrpc/xprtrdma/verbs.c 	rdma_destroy_id(old);
old              1422 net/unix/af_unix.c static void unix_sock_inherit_flags(const struct socket *old,
old              1425 net/unix/af_unix.c 	if (test_bit(SOCK_PASSCRED, &old->flags))
old              1427 net/unix/af_unix.c 	if (test_bit(SOCK_PASSSEC, &old->flags))
old              1104 net/wireless/scan.c 		const struct cfg80211_bss_ies *old;
old              1106 net/wireless/scan.c 		old = rcu_access_pointer(known->pub.proberesp_ies);
old              1113 net/wireless/scan.c 		if (old)
old              1114 net/wireless/scan.c 			kfree_rcu((struct cfg80211_bss_ies *)old, rcu_head);
old              1116 net/wireless/scan.c 		const struct cfg80211_bss_ies *old;
old              1137 net/wireless/scan.c 		old = rcu_access_pointer(known->pub.beacon_ies);
old              1142 net/wireless/scan.c 		if (old == rcu_access_pointer(known->pub.ies))
old              1150 net/wireless/scan.c 			WARN_ON(ies != old);
old              1156 net/wireless/scan.c 		if (old)
old              1157 net/wireless/scan.c 			kfree_rcu((struct cfg80211_bss_ies *)old, rcu_head);
old              1714 net/wireless/scan.c 	const struct cfg80211_bss_ies *old;
old              1774 net/wireless/scan.c 		old = rcu_access_pointer(nontrans_bss->proberesp_ies);
old              1777 net/wireless/scan.c 		if (old)
old              1778 net/wireless/scan.c 			kfree_rcu((struct cfg80211_bss_ies *)old, rcu_head);
old              1780 net/wireless/scan.c 		old = rcu_access_pointer(nontrans_bss->beacon_ies);
old              1783 net/wireless/scan.c 		if (old)
old              1784 net/wireless/scan.c 			kfree_rcu((struct cfg80211_bss_ies *)old, rcu_head);
old              1406 net/xfrm/xfrm_policy.c static void xfrm_policy_requeue(struct xfrm_policy *old,
old              1409 net/xfrm/xfrm_policy.c 	struct xfrm_policy_queue *pq = &old->polq;
old              1420 net/xfrm/xfrm_policy.c 		xfrm_pol_put(old);
old              2287 net/xfrm/xfrm_policy.c static struct xfrm_policy *clone_policy(const struct xfrm_policy *old, int dir)
old              2289 net/xfrm/xfrm_policy.c 	struct xfrm_policy *newp = xfrm_policy_alloc(xp_net(old), GFP_ATOMIC);
old              2290 net/xfrm/xfrm_policy.c 	struct net *net = xp_net(old);
old              2293 net/xfrm/xfrm_policy.c 		newp->selector = old->selector;
old              2294 net/xfrm/xfrm_policy.c 		if (security_xfrm_policy_clone(old->security,
old              2299 net/xfrm/xfrm_policy.c 		newp->lft = old->lft;
old              2300 net/xfrm/xfrm_policy.c 		newp->curlft = old->curlft;
old              2301 net/xfrm/xfrm_policy.c 		newp->mark = old->mark;
old              2302 net/xfrm/xfrm_policy.c 		newp->if_id = old->if_id;
old              2303 net/xfrm/xfrm_policy.c 		newp->action = old->action;
old              2304 net/xfrm/xfrm_policy.c 		newp->flags = old->flags;
old              2305 net/xfrm/xfrm_policy.c 		newp->xfrm_nr = old->xfrm_nr;
old              2306 net/xfrm/xfrm_policy.c 		newp->index = old->index;
old              2307 net/xfrm/xfrm_policy.c 		newp->type = old->type;
old              2308 net/xfrm/xfrm_policy.c 		newp->family = old->family;
old              2309 net/xfrm/xfrm_policy.c 		memcpy(newp->xfrm_vec, old->xfrm_vec,
old               378 scripts/dtc/libfdt/fdt_rw.c static void fdt_packblocks_(const char *old, char *new,
old               387 scripts/dtc/libfdt/fdt_rw.c 	memmove(new + mem_rsv_off, old + fdt_off_mem_rsvmap(old), mem_rsv_size);
old               390 scripts/dtc/libfdt/fdt_rw.c 	memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size);
old               394 scripts/dtc/libfdt/fdt_rw.c 	memmove(new + strings_off, old + fdt_off_dt_strings(old),
old               395 scripts/dtc/libfdt/fdt_rw.c 		fdt_size_dt_strings(old));
old               397 scripts/dtc/libfdt/fdt_rw.c 	fdt_set_size_dt_strings(new, fdt_size_dt_strings(old));
old               847 security/apparmor/apparmorfs.c 	struct multi_transaction *old;
old               853 security/apparmor/apparmorfs.c 	old = (struct multi_transaction *) file->private_data;
old               856 security/apparmor/apparmorfs.c 	put_multi_transaction(old);
old              1444 security/apparmor/apparmorfs.c void __aafs_profile_migrate_dents(struct aa_profile *old,
old              1449 security/apparmor/apparmorfs.c 	AA_BUG(!old);
old              1451 security/apparmor/apparmorfs.c 	AA_BUG(!mutex_is_locked(&profiles_ns(old)->lock));
old              1454 security/apparmor/apparmorfs.c 		new->dents[i] = old->dents[i];
old              1457 security/apparmor/apparmorfs.c 		old->dents[i] = NULL;
old               192 security/apparmor/file.c static u32 map_old_perms(u32 old)
old               194 security/apparmor/file.c 	u32 new = old & 0xf;
old               195 security/apparmor/file.c 	if (old & MAY_READ)
old               197 security/apparmor/file.c 	if (old & MAY_WRITE)
old               200 security/apparmor/file.c 	if (old & 0x10)
old               205 security/apparmor/file.c 	if (old & 0x20)
old               207 security/apparmor/file.c 	if (old & 0x40)	/* AA_EXEC_MMAP */
old               490 security/apparmor/file.c 	struct aa_label *l, *old;
old               494 security/apparmor/file.c 	old = rcu_dereference_protected(fctx->label,
old               496 security/apparmor/file.c 	l = aa_label_merge(old, label, GFP_ATOMIC);
old               498 security/apparmor/file.c 		if (l != old) {
old               500 security/apparmor/file.c 			aa_put_label(old);
old               109 security/apparmor/include/apparmorfs.h void __aafs_profile_migrate_dents(struct aa_profile *old,
old               289 security/apparmor/include/label.h bool aa_label_replace(struct aa_label *old, struct aa_label *new);
old               290 security/apparmor/include/label.h bool aa_label_make_newest(struct aa_labelset *ls, struct aa_label *old,
old                22 security/apparmor/include/policy_unpack.h 	struct aa_profile *old;
old                39 security/apparmor/include/resource.h void __aa_transition_rlimits(struct aa_label *old, struct aa_label *new);
old                57 security/apparmor/include/task.h 				   const struct aa_task_ctx *old)
old                59 security/apparmor/include/task.h 	*new = *old;
old                88 security/apparmor/label.c static void __proxy_share(struct aa_label *old, struct aa_label *new)
old                92 security/apparmor/label.c 	new->proxy = aa_get_proxy(old->proxy);
old                93 security/apparmor/label.c 	__aa_proxy_redirect(old, new);
old               599 security/apparmor/label.c static bool __label_replace(struct aa_label *old, struct aa_label *new)
old               601 security/apparmor/label.c 	struct aa_labelset *ls = labels_set(old);
old               604 security/apparmor/label.c 	AA_BUG(!old);
old               609 security/apparmor/label.c 	if (!label_is_stale(old))
old               610 security/apparmor/label.c 		__label_make_stale(old);
old               612 security/apparmor/label.c 	if (old->flags & FLAG_IN_TREE) {
old               613 security/apparmor/label.c 		rb_replace_node(&old->node, &new->node, &ls->root);
old               614 security/apparmor/label.c 		old->flags &= ~FLAG_IN_TREE;
old               765 security/apparmor/label.c bool aa_label_replace(struct aa_label *old, struct aa_label *new)
old               770 security/apparmor/label.c 	if (name_is_shared(old, new) && labels_ns(old) == labels_ns(new)) {
old               771 security/apparmor/label.c 		write_lock_irqsave(&labels_set(old)->lock, flags);
old               772 security/apparmor/label.c 		if (old->proxy != new->proxy)
old               773 security/apparmor/label.c 			__proxy_share(old, new);
old               775 security/apparmor/label.c 			__aa_proxy_redirect(old, new);
old               776 security/apparmor/label.c 		res = __label_replace(old, new);
old               777 security/apparmor/label.c 		write_unlock_irqrestore(&labels_set(old)->lock, flags);
old               780 security/apparmor/label.c 		struct aa_labelset *ls = labels_set(old);
old               783 security/apparmor/label.c 		res = __label_remove(old, new);
old               784 security/apparmor/label.c 		if (labels_ns(old) != labels_ns(new)) {
old                74 security/apparmor/lsm.c static int apparmor_cred_prepare(struct cred *new, const struct cred *old,
old                77 security/apparmor/lsm.c 	set_cred_label(new, aa_get_newest_label(cred_label(old)));
old                84 security/apparmor/lsm.c static void apparmor_cred_transfer(struct cred *new, const struct cred *old)
old                86 security/apparmor/lsm.c 	set_cred_label(new, aa_get_newest_label(cred_label(old)));
old               740 security/apparmor/policy.c static void __replace_profile(struct aa_profile *old, struct aa_profile *new)
old               744 security/apparmor/policy.c 	if (!list_empty(&old->base.profiles)) {
old               746 security/apparmor/policy.c 		list_splice_init_rcu(&old->base.profiles, &lh, synchronize_rcu);
old               770 security/apparmor/policy.c 		struct aa_profile *parent = aa_deref_parent(old);
old               773 security/apparmor/policy.c 	aa_label_replace(&old->label, &new->label);
old               775 security/apparmor/policy.c 	__aafs_profile_migrate_dents(old, new);
old               779 security/apparmor/policy.c 		list_replace_rcu(&old->base.list, &new->base.list);
old               781 security/apparmor/policy.c 		aa_put_profile(old);
old               783 security/apparmor/policy.c 		__list_remove_profile(old);
old               812 security/apparmor/policy.c static void share_name(struct aa_profile *old, struct aa_profile *new)
old               815 security/apparmor/policy.c 	aa_get_str(old->base.hname);
old               816 security/apparmor/policy.c 	new->base.hname = old->base.hname;
old               817 security/apparmor/policy.c 	new->base.name = old->base.name;
old               818 security/apparmor/policy.c 	new->label.hname = old->label.hname;
old               934 security/apparmor/policy.c 					 &ent->old, &info);
old               949 security/apparmor/policy.c 		if (ent->old || ent->rename)
old               980 security/apparmor/policy.c 		if (!ent->old) {
old              1002 security/apparmor/policy.c 		op = (!ent->old && !ent->rename) ? OP_PROF_LOAD : OP_PROF_REPL;
old              1004 security/apparmor/policy.c 		if (ent->old && ent->old->rawdata == ent->new->rawdata) {
old              1022 security/apparmor/policy.c 		if (ent->old) {
old              1023 security/apparmor/policy.c 			share_name(ent->old, ent->new);
old              1024 security/apparmor/policy.c 			__replace_profile(ent->old, ent->new);
old              1055 security/apparmor/policy.c 	op = (ent && !ent->old) ? OP_PROF_LOAD : OP_PROF_REPL;
old              1067 security/apparmor/policy.c 		op = (!tmp->old) ? OP_PROF_LOAD : OP_PROF_REPL;
old              1027 security/apparmor/policy_unpack.c 		aa_put_profile(ent->old);
old               145 security/apparmor/resource.c 	struct aa_profile *old, *new;
old               148 security/apparmor/resource.c 	old = labels_profile(old_l);
old               154 security/apparmor/resource.c 	label_for_each_confined(i, old_l, old) {
old               155 security/apparmor/resource.c 		if (old->rlimits.mask) {
old               160 security/apparmor/resource.c 				if (old->rlimits.mask & mask) {
old                43 security/apparmor/task.c 	struct aa_label *old = aa_current_raw_label();
old                49 security/apparmor/task.c 	if (old == label)
old                65 security/apparmor/task.c 	if (unconfined(label) || (labels_ns(old) != labels_ns(label)))
old               242 security/commoncap.c 	       const struct cred *old,
old               249 security/commoncap.c 			  cap_combine(old->cap_inheritable,
old               250 security/commoncap.c 				      old->cap_permitted)))
old               255 security/commoncap.c 			  cap_combine(old->cap_inheritable,
old               256 security/commoncap.c 				      old->cap_bset)))
old               261 security/commoncap.c 	if (!cap_issubset(*permitted, old->cap_permitted))
old               716 security/commoncap.c 	const struct cred *old = current_cred();
old               737 security/commoncap.c 		new->cap_permitted = cap_combine(old->cap_bset,
old               738 security/commoncap.c 						 old->cap_inheritable);
old               754 security/commoncap.c static inline bool __is_setuid(struct cred *new, const struct cred *old)
old               755 security/commoncap.c { return !uid_eq(new->euid, old->uid); }
old               757 security/commoncap.c static inline bool __is_setgid(struct cred *new, const struct cred *old)
old               758 security/commoncap.c { return !gid_eq(new->egid, old->gid); }
old               777 security/commoncap.c static inline bool nonroot_raised_pE(struct cred *new, const struct cred *old,
old               789 security/commoncap.c 	    (!__is_setuid(new, old) &&
old               791 security/commoncap.c 	       __cap_gained(permitted, new, old)) ||
old               792 security/commoncap.c 	      __cap_gained(ambient, new, old))))
old               809 security/commoncap.c 	const struct cred *old = current_cred();
old               815 security/commoncap.c 	new->cap_ambient = old->cap_ambient;
old               816 security/commoncap.c 	if (WARN_ON(!cap_ambient_invariant_ok(old)))
old               828 security/commoncap.c 	if (__cap_gained(permitted, new, old))
old               836 security/commoncap.c 	is_setid = __is_setuid(new, old) || __is_setgid(new, old);
old               838 security/commoncap.c 	if ((is_setid || __cap_gained(permitted, new, old)) &&
old               848 security/commoncap.c 						   old->cap_permitted);
old               876 security/commoncap.c 	if (nonroot_raised_pE(new, old, root_uid, has_fcap)) {
old               877 security/commoncap.c 		ret = audit_log_bprm_fcaps(bprm, new, old);
old               998 security/commoncap.c static inline void cap_emulate_setxuid(struct cred *new, const struct cred *old)
old              1000 security/commoncap.c 	kuid_t root_uid = make_kuid(old->user_ns, 0);
old              1002 security/commoncap.c 	if ((uid_eq(old->uid, root_uid) ||
old              1003 security/commoncap.c 	     uid_eq(old->euid, root_uid) ||
old              1004 security/commoncap.c 	     uid_eq(old->suid, root_uid)) &&
old              1020 security/commoncap.c 	if (uid_eq(old->euid, root_uid) && !uid_eq(new->euid, root_uid))
old              1022 security/commoncap.c 	if (!uid_eq(old->euid, root_uid) && uid_eq(new->euid, root_uid))
old              1035 security/commoncap.c int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags)
old              1044 security/commoncap.c 			cap_emulate_setxuid(new, old);
old              1055 security/commoncap.c 			kuid_t root_uid = make_kuid(old->user_ns, 0);
old              1056 security/commoncap.c 			if (uid_eq(old->fsuid, root_uid) && !uid_eq(new->fsuid, root_uid))
old              1060 security/commoncap.c 			if (!uid_eq(old->fsuid, root_uid) && uid_eq(new->fsuid, root_uid))
old              1171 security/commoncap.c 	const struct cred *old = current_cred();
old              1178 security/commoncap.c 		return !!cap_raised(old->cap_bset, arg2);
old              1203 security/commoncap.c 		if ((((old->securebits & SECURE_ALL_LOCKS) >> 1)
old              1204 security/commoncap.c 		     & (old->securebits ^ arg2))			/*[1]*/
old              1205 security/commoncap.c 		    || ((old->securebits & SECURE_ALL_LOCKS & ~arg2))	/*[2]*/
old              1229 security/commoncap.c 		return old->securebits;
old               320 security/keys/process_keys.c 	struct key *old;
old               340 security/keys/process_keys.c 	old = cred->session_keyring;
old               343 security/keys/process_keys.c 	if (old)
old               344 security/keys/process_keys.c 		key_put(old);
old               840 security/keys/process_keys.c 	const struct cred *old;
old               848 security/keys/process_keys.c 	old = current_cred();
old               871 security/keys/process_keys.c 			name, old->uid, old->gid, old,
old               914 security/keys/process_keys.c 	const struct cred *old = current_cred();
old               922 security/keys/process_keys.c 	new->  uid	= old->  uid;
old               923 security/keys/process_keys.c 	new-> euid	= old-> euid;
old               924 security/keys/process_keys.c 	new-> suid	= old-> suid;
old               925 security/keys/process_keys.c 	new->fsuid	= old->fsuid;
old               926 security/keys/process_keys.c 	new->  gid	= old->  gid;
old               927 security/keys/process_keys.c 	new-> egid	= old-> egid;
old               928 security/keys/process_keys.c 	new-> sgid	= old-> sgid;
old               929 security/keys/process_keys.c 	new->fsgid	= old->fsgid;
old               930 security/keys/process_keys.c 	new->user	= get_uid(old->user);
old               931 security/keys/process_keys.c 	new->user_ns	= get_user_ns(old->user_ns);
old               932 security/keys/process_keys.c 	new->group_info	= get_group_info(old->group_info);
old               934 security/keys/process_keys.c 	new->securebits	= old->securebits;
old               935 security/keys/process_keys.c 	new->cap_inheritable	= old->cap_inheritable;
old               936 security/keys/process_keys.c 	new->cap_permitted	= old->cap_permitted;
old               937 security/keys/process_keys.c 	new->cap_effective	= old->cap_effective;
old               938 security/keys/process_keys.c 	new->cap_ambient	= old->cap_ambient;
old               939 security/keys/process_keys.c 	new->cap_bset		= old->cap_bset;
old               941 security/keys/process_keys.c 	new->jit_keyring	= old->jit_keyring;
old               942 security/keys/process_keys.c 	new->thread_keyring	= key_get(old->thread_keyring);
old               943 security/keys/process_keys.c 	new->process_keyring	= key_get(old->process_keyring);
old               945 security/keys/process_keys.c 	security_transfer_creds(new, old);
old               100 security/safesetid/lsm.c static bool uid_permitted_for_cred(const struct cred *old, kuid_t new_uid)
old               105 security/safesetid/lsm.c 	if (uid_eq(new_uid, old->uid) || uid_eq(new_uid, old->euid) ||
old               106 security/safesetid/lsm.c 	    uid_eq(new_uid, old->suid))
old               114 security/safesetid/lsm.c 	    setuid_policy_lookup(old->uid, new_uid) != SIDPOL_CONSTRAINED;
old               117 security/safesetid/lsm.c 			__kuid_val(old->uid), __kuid_val(old->euid),
old               118 security/safesetid/lsm.c 			__kuid_val(old->suid), __kuid_val(new_uid));
old               129 security/safesetid/lsm.c 				     const struct cred *old,
old               134 security/safesetid/lsm.c 	if (setuid_policy_lookup(old->uid, INVALID_UID) == SIDPOL_DEFAULT)
old               137 security/safesetid/lsm.c 	if (uid_permitted_for_cred(old, new->uid) &&
old               138 security/safesetid/lsm.c 	    uid_permitted_for_cred(old, new->euid) &&
old               139 security/safesetid/lsm.c 	    uid_permitted_for_cred(old, new->suid) &&
old               140 security/safesetid/lsm.c 	    uid_permitted_for_cred(old, new->fsuid))
old               715 security/security.c int security_capset(struct cred *new, const struct cred *old,
old               720 security/security.c 	return call_int_hook(capset, 0, new, old,
old               962 security/security.c 				    const struct cred *old, struct cred *new)
old               965 security/security.c 				name, old, new);
old              1552 security/security.c int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp)
old              1559 security/security.c 	rc = call_int_hook(cred_prepare, 0, new, old, gfp);
old              1565 security/security.c void security_transfer_creds(struct cred *new, const struct cred *old)
old              1567 security/security.c 	call_void_hook(cred_transfer, new, old);
old              1631 security/security.c int security_task_fix_setuid(struct cred *new, const struct cred *old,
old              1634 security/security.c 	return call_int_hook(task_fix_setuid, 0, new, old, flags);
old               454 security/selinux/avc.c 			     struct avc_node *new, struct avc_node *old)
old               456 security/selinux/avc.c 	hlist_replace_rcu(&old->list, &new->list);
old               457 security/selinux/avc.c 	call_rcu(&old->rhead, avc_node_free);
old               887 security/selinux/hooks.c 	struct superblock_security_struct *old = oldsb->s_security;
old               889 security/selinux/hooks.c 	char oldflags = old->flags & SE_MNTMASK;
old               894 security/selinux/hooks.c 	if ((oldflags & FSCONTEXT_MNT) && old->sid != new->sid)
old               896 security/selinux/hooks.c 	if ((oldflags & CONTEXT_MNT) && old->mntpoint_sid != new->mntpoint_sid)
old               898 security/selinux/hooks.c 	if ((oldflags & DEFCONTEXT_MNT) && old->def_sid != new->def_sid)
old              2155 security/selinux/hooks.c static int selinux_capset(struct cred *new, const struct cred *old,
old              2161 security/selinux/hooks.c 			    cred_sid(old), cred_sid(new), SECCLASS_PROCESS,
old              2887 security/selinux/hooks.c 					  const struct cred *old,
old              2894 security/selinux/hooks.c 	rc = selinux_determine_inode_label(selinux_cred(old),
old              3895 security/selinux/hooks.c static int selinux_cred_prepare(struct cred *new, const struct cred *old,
old              3898 security/selinux/hooks.c 	const struct task_security_struct *old_tsec = selinux_cred(old);
old              3908 security/selinux/hooks.c static void selinux_cred_transfer(struct cred *new, const struct cred *old)
old              3910 security/selinux/hooks.c 	const struct task_security_struct *old_tsec = selinux_cred(old);
old              1943 security/smack/smack_lsm.c static int smack_cred_prepare(struct cred *new, const struct cred *old,
old              1946 security/smack/smack_lsm.c 	struct task_smack *old_tsp = smack_cred(old);
old              1968 security/smack/smack_lsm.c static void smack_cred_transfer(struct cred *new, const struct cred *old)
old              1970 security/smack/smack_lsm.c 	struct task_smack *old_tsp = smack_cred(old);
old              4538 security/smack/smack_lsm.c 					const struct cred *old,
old              4541 security/smack/smack_lsm.c 	struct task_smack *otsp = smack_cred(old);
old                36 security/tomoyo/tomoyo.c static int tomoyo_cred_prepare(struct cred *new, const struct cred *old,
old               504 security/tomoyo/tomoyo.c 	struct tomoyo_task *old = tomoyo_task(current);
old               507 security/tomoyo/tomoyo.c 	new->domain_info = old->domain_info;
old               316 sound/aoa/core/gpio-feature.c 	notify_func_t old;
old               346 sound/aoa/core/gpio-feature.c 	old = notif->notify;
old               348 sound/aoa/core/gpio-feature.c 	if (!old && !notify) {
old               353 sound/aoa/core/gpio-feature.c 	if (old && notify) {
old               354 sound/aoa/core/gpio-feature.c 		if (old == notify && notif->data == data)
old               359 sound/aoa/core/gpio-feature.c 	if (old && !notify)
old               362 sound/aoa/core/gpio-feature.c 	if (!old && notify) {
old               135 sound/aoa/core/gpio-pmf.c 	notify_func_t old;
old               159 sound/aoa/core/gpio-pmf.c 	old = notif->notify;
old               161 sound/aoa/core/gpio-pmf.c 	if (!old && !notify) {
old               166 sound/aoa/core/gpio-pmf.c 	if (old && notify) {
old               167 sound/aoa/core/gpio-pmf.c 		if (old == notify && notif->data == data)
old               172 sound/aoa/core/gpio-pmf.c 	if (old && !notify) {
old               178 sound/aoa/core/gpio-pmf.c 	if (!old && notify) {
old               344 sound/core/control.c 	struct snd_kcontrol *old;
old               351 sound/core/control.c 	old = snd_ctl_find_id(card, &id);
old               352 sound/core/control.c 	if (!old) {
old               364 sound/core/control.c 		err = snd_ctl_remove(card, old);
old               425 sound/core/oss/mixer_oss.c static long snd_mixer_oss_conv1(long val, long min, long max, int *old)
old               427 sound/core/oss/mixer_oss.c 	if (val == snd_mixer_oss_conv(*old, 0, 100, min, max))
old               428 sound/core/oss/mixer_oss.c 		return *old;
old                74 sound/firewire/cmp.c 		      __be32 (*modify)(struct cmp_connection *c, __be32 old),
old               112 sound/i2c/other/ak4113.c 	unsigned char old = chip->regmap[AK4113_REG_PWRDN], reg;
old               115 sound/i2c/other/ak4113.c 	reg_write(chip, AK4113_REG_PWRDN, old & ~(AK4113_RST|AK4113_PWN));
old               118 sound/i2c/other/ak4113.c 	reg_write(chip, AK4113_REG_PWRDN, (old | AK4113_RST) & ~AK4113_PWN);
old               123 sound/i2c/other/ak4113.c 	reg_write(chip, AK4113_REG_PWRDN, old | AK4113_RST | AK4113_PWN);
old               125 sound/i2c/other/ak4114.c 	unsigned char old = chip->regmap[AK4114_REG_PWRDN], reg;
old               128 sound/i2c/other/ak4114.c 	reg_write(chip, AK4114_REG_PWRDN, old & ~(AK4114_RST|AK4114_PWN));
old               131 sound/i2c/other/ak4114.c 	reg_write(chip, AK4114_REG_PWRDN, (old | AK4114_RST) & ~AK4114_PWN);
old               138 sound/i2c/other/ak4114.c 	reg_write(chip, AK4114_REG_PWRDN, old | AK4114_RST | AK4114_PWN);
old               110 sound/i2c/other/ak4117.c 	unsigned char old = chip->regmap[AK4117_REG_PWRDN], reg;
old               118 sound/i2c/other/ak4117.c 	reg_write(chip, AK4117_REG_PWRDN, (old | AK4117_RST) & ~AK4117_PWN);
old               123 sound/i2c/other/ak4117.c 	reg_write(chip, AK4117_REG_PWRDN, old | AK4117_RST | AK4117_PWN);
old               234 sound/isa/es18xx.c 	unsigned char old, new, oval;
old               247 sound/isa/es18xx.c 	old = ret;
old               248 sound/isa/es18xx.c 	oval = old & mask;
old               253 sound/isa/es18xx.c 		new = (old & ~mask) | (val & mask);
old               259 sound/isa/es18xx.c 			   reg, old, new, ret);
old               299 sound/isa/es18xx.c 	unsigned char old, new, oval;
old               303 sound/isa/es18xx.c 	old = inb(chip->port + 0x05);
old               304 sound/isa/es18xx.c 	oval = old & mask;
old               306 sound/isa/es18xx.c 		new = (old & ~mask) | (val & mask);
old               310 sound/isa/es18xx.c 			   reg, old, new);
old               320 sound/isa/es18xx.c 	int old, expected, new;
old               324 sound/isa/es18xx.c 	old = inb(chip->port + 0x05);
old               325 sound/isa/es18xx.c 	expected = old ^ mask;
old               331 sound/isa/es18xx.c 		   reg, old, expected, new);
old               386 sound/isa/sc6000.c 	int old = 0;
old               417 sound/isa/sc6000.c 		old = 1;
old               419 sound/isa/sc6000.c 	if (!old) {
old               436 sound/isa/sc6000.c 	if (!old) {
old               222 sound/mips/hal2.c 	u32 old, new;
old               230 sound/mips/hal2.c 		old = hal2_i_read32(hal2, H2I_DAC_C2);
old               231 sound/mips/hal2.c 		new = old & ~(H2I_C2_L_ATT_M | H2I_C2_R_ATT_M | H2I_C2_MUTE);
old               242 sound/mips/hal2.c 		old = hal2_i_read32(hal2, H2I_ADC_C2);
old               243 sound/mips/hal2.c 		new = old & ~(H2I_C2_L_GAIN_M | H2I_C2_R_GAIN_M);
old               251 sound/mips/hal2.c 	return old != new;
old               402 sound/pci/ac97/ac97_codec.c 	unsigned short old, new;
old               404 sound/pci/ac97/ac97_codec.c 	old = snd_ac97_read_cache(ac97, reg);
old               405 sound/pci/ac97/ac97_codec.c 	new = (old & ~mask) | (value & mask);
old               406 sound/pci/ac97/ac97_codec.c 	change = old != new;
old               418 sound/pci/ac97/ac97_codec.c 	unsigned short old, new, cfg;
old               421 sound/pci/ac97/ac97_codec.c 	old = ac97->spec.ad18xx.pcmreg[codec];
old               422 sound/pci/ac97/ac97_codec.c 	new = (old & ~mask) | (value & mask);
old               423 sound/pci/ac97/ac97_codec.c 	change = old != new;
old               810 sound/pci/ac97/ac97_codec.c 	unsigned short value, old, new;
old               818 sound/pci/ac97/ac97_codec.c 	old = snd_ac97_read_cache(ac97, reg);
old               819 sound/pci/ac97/ac97_codec.c 	new = (old & ~mask) | value;
old               820 sound/pci/ac97/ac97_codec.c 	change = old != new;
old               161 sound/pci/ac97/ac97_pcm.c 	unsigned short old, bits, reg, mask;
old               196 sound/pci/ac97/ac97_pcm.c 	old = snd_ac97_read(ac97, reg) & mask;
old               197 sound/pci/ac97/ac97_pcm.c 	if (old != bits) {
old               837 sound/pci/ali5451/ali5451.c 	unsigned int old, mask;
old               842 sound/pci/ali5451/ali5451.c 	old  = pchregs->data.aint;
old               845 sound/pci/ali5451/ali5451.c 	if (!(old & mask))
old               878 sound/pci/ali5451/ali5451.c 	pchregs->data.aint = old & (~mask);
old               835 sound/pci/asihpi/hpi_internal.h 		} old;
old               863 sound/pci/asihpi/hpi_internal.h 	} old;
old              1916 sound/pci/cs46xx/cs46xx_lib.c 	unsigned int old = snd_cs46xx_peek(chip, reg);
old              1917 sound/pci/cs46xx/cs46xx_lib.c 	int change = (old != val);
old              3443 sound/pci/cs46xx/cs46xx_lib.c 	int old = chip->amplifier;
old              3467 sound/pci/cs46xx/cs46xx_lib.c 	if (chip->amplifier && !old) {
old              3486 sound/pci/cs46xx/cs46xx_lib.c 	int old = chip->amplifier;
old              3491 sound/pci/cs46xx/cs46xx_lib.c 	if (chip->amplifier && !old) {
old              3498 sound/pci/cs46xx/cs46xx_lib.c 	} else if (old && !chip->amplifier) {
old               276 sound/pci/es1938.c 	unsigned char old, new, oval;
old               279 sound/pci/es1938.c 	old = inb(SLSB_REG(chip, MIXERDATA));
old               280 sound/pci/es1938.c 	oval = old & mask;
old               282 sound/pci/es1938.c 		new = (old & ~mask) | (val & mask);
old               286 sound/pci/es1938.c 			   reg, old, new);
old               359 sound/pci/es1938.c 	unsigned char old, new, oval;
old               363 sound/pci/es1938.c 	old = snd_es1938_get_byte(chip);
old               364 sound/pci/es1938.c 	oval = old & mask;
old               367 sound/pci/es1938.c 		new = (old & ~mask) | (val & mask);
old               370 sound/pci/es1938.c 			   reg, old, new);
old               760 sound/pci/es1938.c 	size_t old, new;
old               762 sound/pci/es1938.c 	old = inw(SLDM_REG(chip, DMACOUNT));
old               763 sound/pci/es1938.c 	while ((new = inw(SLDM_REG(chip, DMACOUNT))) != old)
old               764 sound/pci/es1938.c 		old = new;
old               801 sound/pci/es1938.c 	size_t old, new;
old               804 sound/pci/es1938.c 	old = inw(SLDM_REG(chip, DMACOUNT));
old               805 sound/pci/es1938.c 	while ((new = inw(SLDM_REG(chip, DMACOUNT))) != old)
old               806 sound/pci/es1938.c 		old = new;
old               260 sound/pci/fm801.c 	unsigned short old, new;
old               263 sound/pci/fm801.c 	old = fm801_ioread16(chip, reg);
old               264 sound/pci/fm801.c 	new = (old & ~mask) | value;
old               265 sound/pci/fm801.c 	change = old != new;
old               999 sound/pci/ice1712/aureon.c 	unsigned short new, old;
old              1004 sound/pci/ice1712/aureon.c 		old = wm_get(ice, WM_ADC_GAIN + i);
old              1005 sound/pci/ice1712/aureon.c 		new = (~ucontrol->value.integer.value[i]<<5&0x20) | (old&~0x20);
old              1006 sound/pci/ice1712/aureon.c 		if (new != old) {
old               939 sound/pci/ice1712/ice1712.c 		unsigned int old;
old               945 sound/pci/ice1712/ice1712.c 		old = inl(ICEMT(ice, PLAYBACK_CONTROL));
old               947 sound/pci/ice1712/ice1712.c 			old |= what;
old               949 sound/pci/ice1712/ice1712.c 			old &= ~what;
old               950 sound/pci/ice1712/ice1712.c 		outl(old, ICEMT(ice, PLAYBACK_CONTROL));
old               958 sound/pci/ice1712/ice1712.c 		unsigned int old;
old               971 sound/pci/ice1712/ice1712.c 		old = inl(ICEMT(ice, PLAYBACK_CONTROL));
old               973 sound/pci/ice1712/ice1712.c 			old |= what;
old               975 sound/pci/ice1712/ice1712.c 			old &= ~what;
old               976 sound/pci/ice1712/ice1712.c 		outl(old, ICEMT(ice, PLAYBACK_CONTROL));
old               991 sound/pci/ice1712/ice1712.c 	unsigned char val, old;
old              1026 sound/pci/ice1712/ice1712.c 	old = inb(ICEMT(ice, RATE));
old              1027 sound/pci/ice1712/ice1712.c 	if (!force && old == val)
old               545 sound/pci/ice1712/ice1724.c 	unsigned char old;
old               562 sound/pci/ice1712/ice1724.c 		old = inb(ICEMT1724(ice, DMA_PAUSE));
old               564 sound/pci/ice1712/ice1724.c 			old |= what;
old               566 sound/pci/ice1712/ice1724.c 			old &= ~what;
old               567 sound/pci/ice1712/ice1724.c 		outb(old, ICEMT1724(ice, DMA_PAUSE));
old               575 sound/pci/ice1712/ice1724.c 		old = inb(ICEMT1724(ice, DMA_CONTROL));
old               577 sound/pci/ice1712/ice1724.c 			old |= what;
old               579 sound/pci/ice1712/ice1724.c 			old &= ~what;
old               580 sound/pci/ice1712/ice1724.c 		outb(old, ICEMT1724(ice, DMA_CONTROL));
old               626 sound/pci/ice1712/ice1724.c 	unsigned char val, old;
old               629 sound/pci/ice1712/ice1724.c 		val = old = inb(ICEMT1724(ice, I2S_FORMAT));
old               634 sound/pci/ice1712/ice1724.c 		if (val != old) {
old              1689 sound/pci/ice1712/ice1724.c 	unsigned int val, old;
old              1693 sound/pci/ice1712/ice1724.c 	old = inw(ICEMT1724(ice, SPDIF_CTRL));
old              1694 sound/pci/ice1712/ice1724.c 	if (val != old)
old              1697 sound/pci/ice1712/ice1724.c 	return val != old;
old              1765 sound/pci/ice1712/ice1724.c 	unsigned char old, val;
old              1768 sound/pci/ice1712/ice1724.c 	old = val = inb(ICEREG1724(ice, SPDIF_CFG));
old              1772 sound/pci/ice1712/ice1724.c 	if (old != val)
old              1775 sound/pci/ice1712/ice1724.c 	return old != val;
old               210 sound/pci/ice1712/juli.c 	unsigned char old, tmp, ak4358_dfs;
old               238 sound/pci/ice1712/juli.c 	old = inb(ICEMT1724(ice, AC97_CMD));
old               239 sound/pci/ice1712/juli.c 	outb(old | VT1724_AC97_COLD, ICEMT1724(ice, AC97_CMD));
old               241 sound/pci/ice1712/juli.c 	outb(old & ~VT1724_AC97_COLD, ICEMT1724(ice, AC97_CMD));
old               518 sound/pci/ice1712/juli.c 	unsigned int old, new;
old               521 sound/pci/ice1712/juli.c 	old = ice->gpio.get_data(ice);
old               522 sound/pci/ice1712/juli.c 	new =  (old & ~GPIO_RATE_MASK) | get_gpio_val(rate);
old               543 sound/pci/ice1712/juli.c 	unsigned int old;
old               544 sound/pci/ice1712/juli.c 	old = ice->gpio.get_data(ice);
old               546 sound/pci/ice1712/juli.c 	ice->gpio.set_data(ice, (old & ~GPIO_RATE_MASK) | GPIO_MULTI_1X |
old                81 sound/pci/ice1712/prodigy192.c 	unsigned char new, old;
old                83 sound/pci/ice1712/prodigy192.c 	old = stac9460_get(ice, idx);
old                84 sound/pci/ice1712/prodigy192.c 	new = (~mute << 7 & 0x80) | (old & ~0x80);
old                85 sound/pci/ice1712/prodigy192.c 	change = (new != old);
old               206 sound/pci/ice1712/prodigy192.c 	unsigned char new, old;
old               212 sound/pci/ice1712/prodigy192.c 		old = stac9460_get(ice, reg);
old               213 sound/pci/ice1712/prodigy192.c 		new = (~ucontrol->value.integer.value[i]<<7&0x80) | (old&~0x80);
old               214 sound/pci/ice1712/prodigy192.c 		change = (new != old);
old               292 sound/pci/ice1712/prodigy192.c 	unsigned char new, old;
old               294 sound/pci/ice1712/prodigy192.c 	old = stac9460_get(ice, STAC946X_GENERAL_PURPOSE);
old               295 sound/pci/ice1712/prodigy192.c 	new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80);
old               296 sound/pci/ice1712/prodigy192.c 	change = (new != old);
old               306 sound/pci/ice1712/prodigy192.c 	unsigned char old, new;
old               319 sound/pci/ice1712/prodigy192.c 	old = stac9460_get(ice, STAC946X_MASTER_CLOCKING);
old               320 sound/pci/ice1712/prodigy192.c 	if (old == new)
old               566 sound/pci/ice1712/prodigy192.c 	unsigned char new, old, itemvalue;
old               569 sound/pci/ice1712/prodigy192.c 	old = prodigy192_ak4114_read(ice, AK4114_REG_IO1);
old               573 sound/pci/ice1712/prodigy192.c 	new = (itemvalue & AK4114_IPS0) | (old & ~AK4114_IPS0);
old               574 sound/pci/ice1712/prodigy192.c 	change = (new != old);
old               507 sound/pci/ice1712/quartet.c 	unsigned int old, new, smute;
old               508 sound/pci/ice1712/quartet.c 	old = get_scr(ice) & SCR_MUTE;
old               520 sound/pci/ice1712/quartet.c 	if (old != new) {
old               568 sound/pci/ice1712/quartet.c 	unsigned int old, new, tmp, masked_old;
old               569 sound/pci/ice1712/quartet.c 	old = new = get_scr(ice);
old               570 sound/pci/ice1712/quartet.c 	masked_old = old & (SCR_AIN12_SEL1 | SCR_AIN12_SEL0);
old               579 sound/pci/ice1712/quartet.c 			new = old & ~(SCR_AIN12_SEL1 | SCR_AIN12_SEL0);
old               587 sound/pci/ice1712/quartet.c 			new = old | SCR_RELAY;
old               594 sound/pci/ice1712/quartet.c 			new = old | SCR_RELAY;
old               623 sound/pci/ice1712/quartet.c 	unsigned int old, new;
old               624 sound/pci/ice1712/quartet.c 	old = new = get_scr(ice);
old               626 sound/pci/ice1712/quartet.c 			&& (~old & SCR_PHP_V)) /* 0 = voltage 5V */ {
old               629 sound/pci/ice1712/quartet.c 		new = old | SCR_PHP_V;
old               634 sound/pci/ice1712/quartet.c 	} else if (!ucontrol->value.integer.value[0] && (old & SCR_PHP_V)) {
old               638 sound/pci/ice1712/quartet.c 		new = old & ~SCR_PHP_V;
old               644 sound/pci/ice1712/quartet.c 	if (old != new)
old               699 sound/pci/ice1712/quartet.c 	unsigned int old, new;
old               700 sound/pci/ice1712/quartet.c 	old = private.get_register(ice);
old               702 sound/pci/ice1712/quartet.c 		new = old | private.bit;
old               704 sound/pci/ice1712/quartet.c 		new = old & ~private.bit;
old               705 sound/pci/ice1712/quartet.c 	if (old != new) {
old               872 sound/pci/ice1712/quartet.c 	unsigned int old, new;
old               874 sound/pci/ice1712/quartet.c 	old = new = get_cpld(ice);
old               889 sound/pci/ice1712/quartet.c 	if (old != new) {
old                41 sound/pci/ice1712/revo.c 	unsigned char old, tmp, dfs;
old                63 sound/pci/ice1712/revo.c 	old = (tmp >> shift) & 0x03;
old                64 sound/pci/ice1712/revo.c 	if (old == dfs)
old                67 sound/pci/ice1712/wtm.c 	unsigned char new, old;
old                77 sound/pci/ice1712/wtm.c 			old = stac9460_get(ice, idx);
old                78 sound/pci/ice1712/wtm.c 			new = (~mute << 7 & 0x80) | (old & ~0x80);
old                79 sound/pci/ice1712/wtm.c 			change = (new != old);
old                96 sound/pci/ice1712/wtm.c 			old = stac9460_2_get(ice, idx);
old                97 sound/pci/ice1712/wtm.c 			new = (~mute << 7 & 0x80) | (old & ~0x80);
old                98 sound/pci/ice1712/wtm.c 			change = (new != old);
old               144 sound/pci/ice1712/wtm.c 	unsigned char new, old;
old               150 sound/pci/ice1712/wtm.c 		old = stac9460_get(ice, idx);
old               152 sound/pci/ice1712/wtm.c 							(old & ~0x80);
old               153 sound/pci/ice1712/wtm.c 		change = (new != old);
old               162 sound/pci/ice1712/wtm.c 			old = stac9460_get(ice, idx);
old               164 sound/pci/ice1712/wtm.c 			old = stac9460_2_get(ice, idx - 6);
old               166 sound/pci/ice1712/wtm.c 							(old & ~0x80);
old               167 sound/pci/ice1712/wtm.c 		change = (new != old);
old               284 sound/pci/ice1712/wtm.c 	unsigned char new, old;
old               292 sound/pci/ice1712/wtm.c 			old = stac9460_get(ice, reg);
old               294 sound/pci/ice1712/wtm.c 								(old&~0x80);
old               295 sound/pci/ice1712/wtm.c 			change = (new != old);
old               302 sound/pci/ice1712/wtm.c 			old = stac9460_2_get(ice, reg);
old               304 sound/pci/ice1712/wtm.c 								(old&~0x80);
old               305 sound/pci/ice1712/wtm.c 			change = (new != old);
old               415 sound/pci/ice1712/wtm.c 	unsigned char new, old;
old               420 sound/pci/ice1712/wtm.c 		old = stac9460_get(ice, STAC946X_GENERAL_PURPOSE);
old               422 sound/pci/ice1712/wtm.c 		old = stac9460_2_get(ice, STAC946X_GENERAL_PURPOSE);
old               423 sound/pci/ice1712/wtm.c 	new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80);
old               424 sound/pci/ice1712/wtm.c 	change = (new != old);
old               440 sound/pci/ice1712/wtm.c 	unsigned char old, new;
old               453 sound/pci/ice1712/wtm.c 	old = stac9460_get(ice, STAC946X_MASTER_CLOCKING);
old               454 sound/pci/ice1712/wtm.c 	if (old == new)
old               156 sound/soc/codecs/cx20442.c 	int vls, vsp, old, len;
old               167 sound/soc/codecs/cx20442.c 	old = cx20442->reg_cache;
old               179 sound/soc/codecs/cx20442.c 			(vls == cx20442_pm_to_v253_vls(old))) {
old               180 sound/soc/codecs/cx20442.c 		if (vsp == cx20442_pm_to_v253_vsp(old))
old               183 sound/soc/codecs/cx20442.c 	} else if (vsp == cx20442_pm_to_v253_vsp(old))
old              1563 sound/soc/codecs/wm8962.c 	int old = wm8962->dsp2_ena;
old              1575 sound/soc/codecs/wm8962.c 	if (wm8962->dsp2_ena == old)
old              1819 sound/soc/codecs/wm8996.c 	int old;
old              1825 sound/soc/codecs/wm8996.c 	old = snd_soc_component_read32(component, WM8996_AIF_CLOCKING_1) & WM8996_SYSCLK_ENA;
old              1883 sound/soc/codecs/wm8996.c 			    WM8996_SYSCLK_ENA, old);
old               224 sound/soc/codecs/wm9712.c 	unsigned int mixer, mask, shift, old;
old               233 sound/soc/codecs/wm9712.c 	old = wm9712->hp_mixer[mixer];
old               239 sound/soc/codecs/wm9712.c 	change = old != wm9712->hp_mixer[mixer];
old               233 sound/soc/codecs/wm9713.c 	unsigned int mixer, mask, shift, old;
old               242 sound/soc/codecs/wm9713.c 	old = wm9713->hp_mixer[mixer];
old               248 sound/soc/codecs/wm9713.c 	change = old != wm9713->hp_mixer[mixer];
old               157 sound/soc/intel/common/sst-dsp.c 	unsigned int old, new;
old               162 sound/soc/intel/common/sst-dsp.c 	old = ret;
old               163 sound/soc/intel/common/sst-dsp.c 	new = (old & (~mask)) | (value & mask);
old               165 sound/soc/intel/common/sst-dsp.c 	change = (old != new);
old               177 sound/soc/intel/common/sst-dsp.c 	u64 old, new;
old               179 sound/soc/intel/common/sst-dsp.c 	old = sst_dsp_shim_read64_unlocked(sst, offset);
old               181 sound/soc/intel/common/sst-dsp.c 	new = (old & (~mask)) | (value & mask);
old               183 sound/soc/intel/common/sst-dsp.c 	change = (old != new);
old               195 sound/soc/intel/common/sst-dsp.c 	unsigned int old, new;
old               200 sound/soc/intel/common/sst-dsp.c 	old = ret;
old               201 sound/soc/intel/common/sst-dsp.c 	new = (old & (~mask)) | (value & mask);
old                79 sound/soc/soc-io.c 	unsigned int old, new;
old                84 sound/soc/soc-io.c 	ret = snd_soc_component_read(component, reg, &old);
old                88 sound/soc/soc-io.c 	new = (old & ~mask) | (val & mask);
old                89 sound/soc/soc-io.c 	*change = old != new;
old               193 sound/soc/soc-io.c 	unsigned int old, new;
old               196 sound/soc/soc-io.c 	ret = snd_soc_component_read(component, reg, &old);
old               199 sound/soc/soc-io.c 	new = (old & ~mask) | value;
old               200 sound/soc/soc-io.c 	return old != new;
old                19 sound/soc/sof/ops.c 	unsigned int old, new;
old                23 sound/soc/sof/ops.c 	old = ret;
old                24 sound/soc/sof/ops.c 	dev_dbg(sdev->dev, "Debug PCIR: %8.8x at  %8.8x\n", old & mask, offset);
old                26 sound/soc/sof/ops.c 	new = (old & ~mask) | (value & mask);
old                28 sound/soc/sof/ops.c 	if (old == new)
old                54 sound/soc/sof/ops.c 	unsigned int old, new;
old                59 sound/soc/sof/ops.c 	old = ret;
old                60 sound/soc/sof/ops.c 	new = (old & ~mask) | (value & mask);
old                62 sound/soc/sof/ops.c 	if (old == new)
old                74 sound/soc/sof/ops.c 	u64 old, new;
old                76 sound/soc/sof/ops.c 	old = snd_sof_dsp_read64(sdev, bar, offset);
old                78 sound/soc/sof/ops.c 	new = (old & ~mask) | (value & mask);
old                80 sound/soc/sof/ops.c 	if (old == new)
old               122 sound/soc/sof/ops.c 	unsigned int old, new;
old               127 sound/soc/sof/ops.c 	old = ret;
old               128 sound/soc/sof/ops.c 	new = (old & ~mask) | (value & mask);
old               237 sound/usb/6fire/control.c 	u8 old = rt->output_mute;
old               253 sound/usb/6fire/control.c 	if (rt->output_mute != old)
old               256 sound/usb/6fire/control.c 	return rt->output_mute != old;
old                68 tools/arch/x86/include/asm/atomic.h static __always_inline int atomic_cmpxchg(atomic_t *v, int old, int new)
old                70 tools/arch/x86/include/asm/atomic.h 	return cmpxchg(&v->counter, old, new);
old                35 tools/arch/x86/include/asm/cmpxchg.h #define __raw_cmpxchg(ptr, old, new, size, lock)			\
old                38 tools/arch/x86/include/asm/cmpxchg.h 	__typeof__(*(ptr)) __old = (old);				\
old                83 tools/arch/x86/include/asm/cmpxchg.h #define __cmpxchg(ptr, old, new, size)					\
old                84 tools/arch/x86/include/asm/cmpxchg.h 	__raw_cmpxchg((ptr), (old), (new), (size), LOCK_PREFIX)
old                86 tools/arch/x86/include/asm/cmpxchg.h #define cmpxchg(ptr, old, new)						\
old                87 tools/arch/x86/include/asm/cmpxchg.h 	__cmpxchg(ptr, old, new, sizeof(*(ptr)))
old                 8 tools/build/feature/test-sync-compare-and-swap.c 	uint64_t old, new = argc;
old                12 tools/build/feature/test-sync-compare-and-swap.c 		old = __sync_val_compare_and_swap(&x, 0, 0);
old                13 tools/build/feature/test-sync-compare-and-swap.c 	} while (!__sync_bool_compare_and_swap(&x, old, new));
old                14 tools/build/feature/test-sync-compare-and-swap.c 	return old == new;
old                62 tools/include/asm-generic/bitops/non-atomic.h 	unsigned long old = *p;
old                64 tools/include/asm-generic/bitops/non-atomic.h 	*p = old | mask;
old                65 tools/include/asm-generic/bitops/non-atomic.h 	return (old & mask) != 0;
old                81 tools/include/asm-generic/bitops/non-atomic.h 	unsigned long old = *p;
old                83 tools/include/asm-generic/bitops/non-atomic.h 	*p = old & ~mask;
old                84 tools/include/asm-generic/bitops/non-atomic.h 	return (old & mask) != 0;
old                93 tools/include/asm-generic/bitops/non-atomic.h 	unsigned long old = *p;
old                95 tools/include/asm-generic/bitops/non-atomic.h 	*p = old ^ mask;
old                96 tools/include/asm-generic/bitops/non-atomic.h 	return (old & mask) != 0;
old                92 tools/include/linux/bitmap.h 	unsigned long old;
old                94 tools/include/linux/bitmap.h 	old = *p;
old                95 tools/include/linux/bitmap.h 	*p = old | mask;
old                97 tools/include/linux/bitmap.h 	return (old & mask) != 0;
old               109 tools/include/linux/bitmap.h 	unsigned long old;
old               111 tools/include/linux/bitmap.h 	old = *p;
old               112 tools/include/linux/bitmap.h 	*p = old & ~mask;
old               114 tools/include/linux/bitmap.h 	return (old & mask) != 0;
old               123 tools/include/linux/list.h static inline void list_replace(struct list_head *old,
old               126 tools/include/linux/list.h 	new->next = old->next;
old               128 tools/include/linux/list.h 	new->prev = old->prev;
old               132 tools/include/linux/list.h static inline void list_replace_init(struct list_head *old,
old               135 tools/include/linux/list.h 	list_replace(old, new);
old               136 tools/include/linux/list.h 	INIT_LIST_HEAD(old);
old               685 tools/include/linux/list.h static inline void hlist_move_list(struct hlist_head *old,
old               688 tools/include/linux/list.h 	new->first = old->first;
old               691 tools/include/linux/list.h 	old->first = NULL;
old                31 tools/include/linux/rbtree_augmented.h 	void (*copy)(struct rb_node *old, struct rb_node *new);
old                32 tools/include/linux/rbtree_augmented.h 	void (*rotate)(struct rb_node *old, struct rb_node *new);
old                36 tools/include/linux/rbtree_augmented.h 	void (*augment_rotate)(struct rb_node *old, struct rb_node *new));
old                91 tools/include/linux/rbtree_augmented.h 	RBSTRUCT *old = rb_entry(rb_old, RBSTRUCT, RBFIELD);		\
old                93 tools/include/linux/rbtree_augmented.h 	new->RBAUGMENTED = old->RBAUGMENTED;				\
old                98 tools/include/linux/rbtree_augmented.h 	RBSTRUCT *old = rb_entry(rb_old, RBSTRUCT, RBFIELD);		\
old               100 tools/include/linux/rbtree_augmented.h 	new->RBAUGMENTED = old->RBAUGMENTED;				\
old               101 tools/include/linux/rbtree_augmented.h 	RBCOMPUTE(old, false);						\
old               171 tools/include/linux/rbtree_augmented.h __rb_change_child(struct rb_node *old, struct rb_node *new,
old               175 tools/include/linux/rbtree_augmented.h 		if (parent->rb_left == old)
old               184 tools/include/linux/rbtree_augmented.h 	void (*augment_rotate)(struct rb_node *old, struct rb_node *new));
old                78 tools/include/linux/refcount.h 	unsigned int old, new, val = atomic_read(&r->refs);
old                89 tools/include/linux/refcount.h 		old = atomic_cmpxchg_relaxed(&r->refs, val, new);
old                90 tools/include/linux/refcount.h 		if (old == val)
old                93 tools/include/linux/refcount.h 		val = old;
old               123 tools/include/linux/refcount.h 	unsigned int old, new, val = atomic_read(&r->refs);
old               135 tools/include/linux/refcount.h 		old = atomic_cmpxchg_release(&r->refs, val, new);
old               136 tools/include/linux/refcount.h 		if (old == val)
old               139 tools/include/linux/refcount.h 		val = old;
old                33 tools/include/linux/string.h char *strreplace(char *s, char old, char new);
old              1506 tools/include/nolibc/nolibc.h int sys_dup2(int old, int new)
old              1508 tools/include/nolibc/nolibc.h 	return my_syscall2(__NR_dup2, old, new);
old              1566 tools/include/nolibc/nolibc.h int sys_link(const char *old, const char *new)
old              1569 tools/include/nolibc/nolibc.h 	return my_syscall5(__NR_linkat, AT_FDCWD, old, AT_FDCWD, new, 0);
old              1571 tools/include/nolibc/nolibc.h 	return my_syscall2(__NR_link, old, new);
old              1619 tools/include/nolibc/nolibc.h int sys_pivot_root(const char *new, const char *old)
old              1621 tools/include/nolibc/nolibc.h 	return my_syscall2(__NR_pivot_root, new, old);
old              1716 tools/include/nolibc/nolibc.h int sys_symlink(const char *old, const char *new)
old              1719 tools/include/nolibc/nolibc.h 	return my_syscall3(__NR_symlinkat, old, AT_FDCWD, new);
old              1721 tools/include/nolibc/nolibc.h 	return my_syscall2(__NR_symlink, old, new);
old              1856 tools/include/nolibc/nolibc.h int dup2(int old, int new)
old              1858 tools/include/nolibc/nolibc.h 	int ret = sys_dup2(old, new);
old              1976 tools/include/nolibc/nolibc.h int link(const char *old, const char *new)
old              1978 tools/include/nolibc/nolibc.h 	int ret = sys_link(old, new);
old              2050 tools/include/nolibc/nolibc.h int pivot_root(const char *new, const char *old)
old              2052 tools/include/nolibc/nolibc.h 	int ret = sys_pivot_root(new, old);
old              2182 tools/include/nolibc/nolibc.h int symlink(const char *old, const char *new)
old              2184 tools/include/nolibc/nolibc.h 	int ret = sys_symlink(old, new);
old                75 tools/lib/rbtree.c __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new,
old                78 tools/lib/rbtree.c 	struct rb_node *parent = rb_parent(old);
old                79 tools/lib/rbtree.c 	new->__rb_parent_color = old->__rb_parent_color;
old                80 tools/lib/rbtree.c 	rb_set_parent_color(old, new, color);
old                81 tools/lib/rbtree.c 	__rb_change_child(old, new, parent, root);
old                86 tools/lib/rbtree.c 	    void (*augment_rotate)(struct rb_node *old, struct rb_node *new))
old               228 tools/lib/rbtree.c 	void (*augment_rotate)(struct rb_node *old, struct rb_node *new))
old               411 tools/lib/rbtree.c 	void (*augment_rotate)(struct rb_node *old, struct rb_node *new))
old               424 tools/lib/rbtree.c static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {}
old               425 tools/lib/rbtree.c static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {}
old               454 tools/lib/rbtree.c 	void (*augment_rotate)(struct rb_node *old, struct rb_node *new))
old               164 tools/lib/string.c char *strreplace(char *s, char old, char new)
old               167 tools/lib/string.c 		if (*s == old)
old                 9 tools/lib/subcmd/sigchain.c 	sigchain_fun *old;
old                26 tools/lib/subcmd/sigchain.c 	ALLOC_GROW(s->old, s->n + 1, s->alloc);
old                27 tools/lib/subcmd/sigchain.c 	s->old[s->n] = signal(sig, f);
old                28 tools/lib/subcmd/sigchain.c 	if (s->old[s->n] == SIG_ERR)
old                41 tools/lib/subcmd/sigchain.c 	if (signal(sig, s->old[s->n - 1]) == SIG_ERR)
old               770 tools/perf/arch/arm/util/cs-etm.c 				u64 *head, u64 *old)
old               800 tools/perf/arch/arm/util/cs-etm.c 		  __func__, idx, (size_t)*old, (size_t)*head, mm->len);
old               811 tools/perf/arch/arm/util/cs-etm.c 		*old = *head - mm->len;
old               814 tools/perf/arch/arm/util/cs-etm.c 		*old = *head - mm->len;
old               361 tools/perf/arch/x86/util/intel-bts.c 				   u64 *head, u64 *old)
old               369 tools/perf/arch/x86/util/intel-bts.c 		  __func__, idx, (size_t)*old, (size_t)*head);
old               390 tools/perf/arch/x86/util/intel-bts.c 		*old = *head;
old               394 tools/perf/arch/x86/util/intel-bts.c 			*old &= mm->mask;
old               396 tools/perf/arch/x86/util/intel-bts.c 			*old %= mm->len;
old               397 tools/perf/arch/x86/util/intel-bts.c 		if (*old > *head)
old               402 tools/perf/arch/x86/util/intel-bts.c 		  __func__, wrapped ? "" : "not ", (size_t)*old, (size_t)*head);
old              1027 tools/perf/arch/x86/util/intel-pt.c 				  u64 *head, u64 *old)
old              1035 tools/perf/arch/x86/util/intel-pt.c 		  __func__, idx, (size_t)*old, (size_t)*head);
old              1069 tools/perf/arch/x86/util/intel-pt.c 		*old = *head;
old              1073 tools/perf/arch/x86/util/intel-pt.c 			*old &= mm->mask;
old              1075 tools/perf/arch/x86/util/intel-pt.c 			*old %= mm->len;
old              1076 tools/perf/arch/x86/util/intel-pt.c 		if (*old > *head)
old              1081 tools/perf/arch/x86/util/intel-pt.c 		  __func__, wrapped ? "" : "not ", (size_t)*old, (size_t)*head);
old               554 tools/perf/util/auxtrace.c 				   unsigned char *data, u64 *head, u64 *old)
old               557 tools/perf/util/auxtrace.c 		return itr->find_snapshot(itr, idx, mm, data, head, old);
old              1237 tools/perf/util/auxtrace.c 	u64 head, old = mm->prev, offset, ref;
old              1246 tools/perf/util/auxtrace.c 						   &head, &old))
old              1252 tools/perf/util/auxtrace.c 	if (old == head)
old              1256 tools/perf/util/auxtrace.c 		  mm->idx, old, head, head - old);
old              1260 tools/perf/util/auxtrace.c 		old_off = old & mm->mask;
old              1263 tools/perf/util/auxtrace.c 		old_off = old % mm->len;
old              1276 tools/perf/util/auxtrace.c 	if (head > old || size <= head || mm->mask) {
old               332 tools/perf/util/auxtrace.h 			     u64 *head, u64 *old);
old               514 tools/perf/util/auxtrace.h 				   unsigned char *data, u64 *head, u64 *old);
old                20 tools/perf/util/block-range.c 	u64 old = 0; /* NULL isn't executable */
old                25 tools/perf/util/block-range.c 		assert(old < entry->start);
old                28 tools/perf/util/block-range.c 		old = entry->end;
old               129 tools/perf/util/comm.c 	struct comm_str *new, *old = comm->comm_str;
old               135 tools/perf/util/comm.c 	comm_str__put(old);
old               872 tools/perf/util/dso.c 	struct dso_cache *old;
old               888 tools/perf/util/dso.c 		old = dso_cache__insert(dso, cache);
old               889 tools/perf/util/dso.c 		if (old) {
old               892 tools/perf/util/dso.c 			cache = old;
old                32 tools/perf/util/help-unknown-cmd.c static int add_cmd_list(struct cmdnames *cmds, struct cmdnames *old)
old                34 tools/perf/util/help-unknown-cmd.c 	unsigned int i, nr = cmds->cnt + old->cnt;
old                48 tools/perf/util/help-unknown-cmd.c 	for (i = 0; i < old->cnt; i++)
old                49 tools/perf/util/help-unknown-cmd.c 		cmds->names[cmds->cnt++] = old->names[i];
old                50 tools/perf/util/help-unknown-cmd.c 	zfree(&old->names);
old                51 tools/perf/util/help-unknown-cmd.c 	old->cnt = 0;
old               129 tools/perf/util/mmap.c 		u64 old = map->core.prev;
old               131 tools/perf/util/mmap.c 		perf_mmap__write_tail(map, old);
old               447 tools/perf/util/mmap.c 	u64 old = md->core.prev;
old               451 tools/perf/util/mmap.c 	md->core.start = md->core.overwrite ? head : old;
old               452 tools/perf/util/mmap.c 	md->core.end = md->core.overwrite ? old : head;
old              2759 tools/perf/util/parse-events.c int parse_events_copy_term_list(struct list_head *old,
old              2765 tools/perf/util/parse-events.c 	if (!old) {
old              2775 tools/perf/util/parse-events.c 	list_for_each_entry (term, old, list) {
old               185 tools/perf/util/parse-events.h int parse_events_copy_term_list(struct list_head *old,
old               256 tools/perf/util/pmu.c static void perf_pmu_update_alias(struct perf_pmu_alias *old,
old               259 tools/perf/util/pmu.c 	perf_pmu_assign_str(old->name, "desc", &old->desc, &newalias->desc);
old               260 tools/perf/util/pmu.c 	perf_pmu_assign_str(old->name, "long_desc", &old->long_desc,
old               262 tools/perf/util/pmu.c 	perf_pmu_assign_str(old->name, "topic", &old->topic, &newalias->topic);
old               263 tools/perf/util/pmu.c 	perf_pmu_assign_str(old->name, "metric_expr", &old->metric_expr,
old               265 tools/perf/util/pmu.c 	perf_pmu_assign_str(old->name, "metric_name", &old->metric_name,
old               267 tools/perf/util/pmu.c 	perf_pmu_assign_str(old->name, "value", &old->str, &newalias->str);
old               268 tools/perf/util/pmu.c 	old->scale = newalias->scale;
old               269 tools/perf/util/pmu.c 	old->per_pkg = newalias->per_pkg;
old               270 tools/perf/util/pmu.c 	old->snapshot = newalias->snapshot;
old               271 tools/perf/util/pmu.c 	memcpy(old->unit, newalias->unit, sizeof(old->unit));
old                30 tools/perf/util/term.c void set_term_quiet_input(struct termios *old)
old                34 tools/perf/util/term.c 	tcgetattr(0, old);
old                35 tools/perf/util/term.c 	tc = *old;
old                 9 tools/perf/util/term.h void set_term_quiet_input(struct termios *old);
old              1212 tools/power/x86/turbostat/turbostat.c #define DELTA_WRAP32(new, old)			\
old              1213 tools/power/x86/turbostat/turbostat.c 	if (new > old) {			\
old              1214 tools/power/x86/turbostat/turbostat.c 		old = new - old;		\
old              1216 tools/power/x86/turbostat/turbostat.c 		old = 0x100000000 + new - old;	\
old              1220 tools/power/x86/turbostat/turbostat.c delta_package(struct pkg_data *new, struct pkg_data *old)
old              1227 tools/power/x86/turbostat/turbostat.c 		old->pkg_wtd_core_c0 = new->pkg_wtd_core_c0 - old->pkg_wtd_core_c0;
old              1229 tools/power/x86/turbostat/turbostat.c 		old->pkg_any_core_c0 = new->pkg_any_core_c0 - old->pkg_any_core_c0;
old              1231 tools/power/x86/turbostat/turbostat.c 		old->pkg_any_gfxe_c0 = new->pkg_any_gfxe_c0 - old->pkg_any_gfxe_c0;
old              1233 tools/power/x86/turbostat/turbostat.c 		old->pkg_both_core_gfxe_c0 = new->pkg_both_core_gfxe_c0 - old->pkg_both_core_gfxe_c0;
old              1235 tools/power/x86/turbostat/turbostat.c 	old->pc2 = new->pc2 - old->pc2;
old              1237 tools/power/x86/turbostat/turbostat.c 		old->pc3 = new->pc3 - old->pc3;
old              1239 tools/power/x86/turbostat/turbostat.c 		old->pc6 = new->pc6 - old->pc6;
old              1241 tools/power/x86/turbostat/turbostat.c 		old->pc7 = new->pc7 - old->pc7;
old              1242 tools/power/x86/turbostat/turbostat.c 	old->pc8 = new->pc8 - old->pc8;
old              1243 tools/power/x86/turbostat/turbostat.c 	old->pc9 = new->pc9 - old->pc9;
old              1244 tools/power/x86/turbostat/turbostat.c 	old->pc10 = new->pc10 - old->pc10;
old              1245 tools/power/x86/turbostat/turbostat.c 	old->cpu_lpi = new->cpu_lpi - old->cpu_lpi;
old              1246 tools/power/x86/turbostat/turbostat.c 	old->sys_lpi = new->sys_lpi - old->sys_lpi;
old              1247 tools/power/x86/turbostat/turbostat.c 	old->pkg_temp_c = new->pkg_temp_c;
old              1250 tools/power/x86/turbostat/turbostat.c 	if (old->gfx_rc6_ms >  new->gfx_rc6_ms)
old              1251 tools/power/x86/turbostat/turbostat.c 		old->gfx_rc6_ms = -1;
old              1253 tools/power/x86/turbostat/turbostat.c 		old->gfx_rc6_ms = new->gfx_rc6_ms - old->gfx_rc6_ms;
old              1255 tools/power/x86/turbostat/turbostat.c 	old->gfx_mhz = new->gfx_mhz;
old              1257 tools/power/x86/turbostat/turbostat.c 	DELTA_WRAP32(new->energy_pkg, old->energy_pkg);
old              1258 tools/power/x86/turbostat/turbostat.c 	DELTA_WRAP32(new->energy_cores, old->energy_cores);
old              1259 tools/power/x86/turbostat/turbostat.c 	DELTA_WRAP32(new->energy_gfx, old->energy_gfx);
old              1260 tools/power/x86/turbostat/turbostat.c 	DELTA_WRAP32(new->energy_dram, old->energy_dram);
old              1261 tools/power/x86/turbostat/turbostat.c 	DELTA_WRAP32(new->rapl_pkg_perf_status, old->rapl_pkg_perf_status);
old              1262 tools/power/x86/turbostat/turbostat.c 	DELTA_WRAP32(new->rapl_dram_perf_status, old->rapl_dram_perf_status);
old              1266 tools/power/x86/turbostat/turbostat.c 			old->counter[i] = new->counter[i];
old              1268 tools/power/x86/turbostat/turbostat.c 			old->counter[i] = new->counter[i] - old->counter[i];
old              1275 tools/power/x86/turbostat/turbostat.c delta_core(struct core_data *new, struct core_data *old)
old              1280 tools/power/x86/turbostat/turbostat.c 	old->c3 = new->c3 - old->c3;
old              1281 tools/power/x86/turbostat/turbostat.c 	old->c6 = new->c6 - old->c6;
old              1282 tools/power/x86/turbostat/turbostat.c 	old->c7 = new->c7 - old->c7;
old              1283 tools/power/x86/turbostat/turbostat.c 	old->core_temp_c = new->core_temp_c;
old              1284 tools/power/x86/turbostat/turbostat.c 	old->mc6_us = new->mc6_us - old->mc6_us;
old              1286 tools/power/x86/turbostat/turbostat.c 	DELTA_WRAP32(new->core_energy, old->core_energy);
old              1290 tools/power/x86/turbostat/turbostat.c 			old->counter[i] = new->counter[i];
old              1292 tools/power/x86/turbostat/turbostat.c 			old->counter[i] = new->counter[i] - old->counter[i];
old              1308 tools/power/x86/turbostat/turbostat.c delta_thread(struct thread_data *new, struct thread_data *old,
old              1316 tools/power/x86/turbostat/turbostat.c 		new->apic_id = old->apic_id;
old              1318 tools/power/x86/turbostat/turbostat.c 		new->x2apic_id = old->x2apic_id;
old              1326 tools/power/x86/turbostat/turbostat.c 	timersub(&new->tv_begin, &old->tv_begin, &old->tv_delta);
old              1327 tools/power/x86/turbostat/turbostat.c 	old->tv_begin = new->tv_begin;
old              1328 tools/power/x86/turbostat/turbostat.c 	old->tv_end = new->tv_end;
old              1330 tools/power/x86/turbostat/turbostat.c 	old->tsc = new->tsc - old->tsc;
old              1333 tools/power/x86/turbostat/turbostat.c 	if (old->tsc < (1000 * 1000))
old              1338 tools/power/x86/turbostat/turbostat.c 	old->c1 = new->c1 - old->c1;
old              1342 tools/power/x86/turbostat/turbostat.c 		if ((new->aperf > old->aperf) && (new->mperf > old->mperf)) {
old              1343 tools/power/x86/turbostat/turbostat.c 			old->aperf = new->aperf - old->aperf;
old              1344 tools/power/x86/turbostat/turbostat.c 			old->mperf = new->mperf - old->mperf;
old              1362 tools/power/x86/turbostat/turbostat.c 		if ((old->mperf + core_delta->c3 + core_delta->c6 + core_delta->c7) > (old->tsc * tsc_tweak))
old              1363 tools/power/x86/turbostat/turbostat.c 			old->c1 = 0;
old              1366 tools/power/x86/turbostat/turbostat.c 			old->c1 = (old->tsc * tsc_tweak) - old->mperf - core_delta->c3
old              1371 tools/power/x86/turbostat/turbostat.c 	if (old->mperf == 0) {
old              1373 tools/power/x86/turbostat/turbostat.c 			fprintf(outf, "cpu%d MPERF 0!\n", old->cpu_id);
old              1374 tools/power/x86/turbostat/turbostat.c 		old->mperf = 1;	/* divide by 0 protection */
old              1378 tools/power/x86/turbostat/turbostat.c 		old->irq_count = new->irq_count - old->irq_count;
old              1381 tools/power/x86/turbostat/turbostat.c 		old->smi_count = new->smi_count - old->smi_count;
old              1385 tools/power/x86/turbostat/turbostat.c 			old->counter[i] = new->counter[i];
old              1387 tools/power/x86/turbostat/turbostat.c 			old->counter[i] = new->counter[i] - old->counter[i];
old                 9 tools/testing/radix-tree/linux/percpu.h #define this_cpu_cmpxchg(var, old, new)	uatomic_cmpxchg(&var, old, new)
old                77 virt/kvm/arm/aarch32.c 	unsigned long old, new;
old                79 virt/kvm/arm/aarch32.c 	old = *vcpu_cpsr(vcpu);
old                82 virt/kvm/arm/aarch32.c 	new |= (old & PSR_AA32_N_BIT);
old                83 virt/kvm/arm/aarch32.c 	new |= (old & PSR_AA32_Z_BIT);
old                84 virt/kvm/arm/aarch32.c 	new |= (old & PSR_AA32_C_BIT);
old                85 virt/kvm/arm/aarch32.c 	new |= (old & PSR_AA32_V_BIT);
old                86 virt/kvm/arm/aarch32.c 	new |= (old & PSR_AA32_Q_BIT);
old                92 virt/kvm/arm/aarch32.c 	new |= (old & PSR_AA32_DIT_BIT);
old               102 virt/kvm/arm/aarch32.c 	new |= (old & PSR_AA32_PAN_BIT);
old               111 virt/kvm/arm/aarch32.c 	new |= (old & PSR_AA32_GE_MASK);
old               126 virt/kvm/arm/aarch32.c 	new |= (old & PSR_AA32_A_BIT);
old               139 virt/kvm/arm/aarch32.c 	new |= (old & PSR_AA32_F_BIT);
old              2263 virt/kvm/arm/mmu.c 				   const struct kvm_memory_slot *old,
old               174 virt/kvm/irqchip.c 	struct kvm_irq_routing_table *new, *old;
old               220 virt/kvm/irqchip.c 	old = rcu_dereference_protected(kvm->irq_routing, 1);
old               230 virt/kvm/irqchip.c 	new = old;
old               998 virt/kvm/kvm_main.c 	struct kvm_memory_slot old, new;
old              1034 virt/kvm/kvm_main.c 	new = old = *slot;
old              1042 virt/kvm/kvm_main.c 		if (!old.npages)
old              1045 virt/kvm/kvm_main.c 			if ((mem->userspace_addr != old.userspace_addr) ||
old              1046 virt/kvm/kvm_main.c 			    (npages != old.npages) ||
old              1047 virt/kvm/kvm_main.c 			    ((new.flags ^ old.flags) & KVM_MEM_READONLY))
old              1050 virt/kvm/kvm_main.c 			if (base_gfn != old.base_gfn)
old              1052 virt/kvm/kvm_main.c 			else if (new.flags != old.flags)
old              1060 virt/kvm/kvm_main.c 		if (!old.npages)
old              1139 virt/kvm/kvm_main.c 	kvm_arch_commit_memory_region(kvm, mem, &old, &new, change);
old              1141 virt/kvm/kvm_main.c 	kvm_free_memslot(kvm, &old, &new);
old              1148 virt/kvm/kvm_main.c 	kvm_free_memslot(kvm, &new, &old);
old              2411 virt/kvm/kvm_main.c 	unsigned int old, val, grow, grow_start;
old              2413 virt/kvm/kvm_main.c 	old = val = vcpu->halt_poll_ns;
old              2428 virt/kvm/kvm_main.c 	trace_kvm_halt_poll_ns_grow(vcpu->vcpu_id, val, old);
old              2433 virt/kvm/kvm_main.c 	unsigned int old, val, shrink;
old              2435 virt/kvm/kvm_main.c 	old = val = vcpu->halt_poll_ns;
old              2443 virt/kvm/kvm_main.c 	trace_kvm_halt_poll_ns_shrink(vcpu->vcpu_id, val, old);