diff              394 arch/alpha/kernel/time.c 	long diff;
diff              424 arch/alpha/kernel/time.c 		diff = cycle_freq - est_cycle_freq;
diff              425 arch/alpha/kernel/time.c 		if (diff < 0)
diff              426 arch/alpha/kernel/time.c 			diff = -diff;
diff              427 arch/alpha/kernel/time.c 		if ((unsigned long)diff > tolerance) {
diff              193 arch/arm/mm/pmsa-v7.c 	phys_addr_t diff = size;
diff              196 arch/arm/mm/pmsa-v7.c 	while (diff) {
diff              201 arch/arm/mm/pmsa-v7.c 			diff -= size;
diff              202 arch/arm/mm/pmsa-v7.c 			size = diff;
diff              213 arch/arm/mm/pmsa-v7.c 			phys_addr_t p2size = (1 <<  __fls(diff)) - 1;
diff              284 arch/ia64/kernel/smpboot.c 		long diff;	/* difference between midpoint and master's timestamp */
diff              328 arch/ia64/kernel/smpboot.c 			t[i].diff = delta;
diff              338 arch/ia64/kernel/smpboot.c 		       t[i].rt, t[i].master, t[i].diff, t[i].lat);
diff               63 arch/m68k/math-emu/fp_arith.c 	int diff;
diff               95 arch/m68k/math-emu/fp_arith.c 	if ((diff = dest->exp - src->exp) > 0)
diff               96 arch/m68k/math-emu/fp_arith.c 		fp_denormalize(src, diff);
diff               97 arch/m68k/math-emu/fp_arith.c 	else if ((diff = -diff) > 0)
diff               98 arch/m68k/math-emu/fp_arith.c 		fp_denormalize(dest, diff);
diff              399 arch/mips/alchemy/common/clock.c 	long tdv, tpr, pr, nr, br, bpr, diff, lastdiff;
diff              432 arch/mips/alchemy/common/clock.c 		diff = req->rate - nr;
diff              436 arch/mips/alchemy/common/clock.c 		if (diff < lastdiff) {
diff              437 arch/mips/alchemy/common/clock.c 			lastdiff = diff;
diff              442 arch/mips/alchemy/common/clock.c 		if (diff == 0)
diff              460 arch/mips/alchemy/common/clock.c 			diff = req->rate - nr;
diff              463 arch/mips/alchemy/common/clock.c 			if (diff < lastdiff) {
diff              464 arch/mips/alchemy/common/clock.c 				lastdiff = diff;
diff              469 arch/mips/alchemy/common/clock.c 			if (diff == 0)
diff               48 arch/powerpc/boot/cuboot-acadia.c 	unsigned short diff;		/* smallest diff */
diff              129 arch/powerpc/boot/cuboot-acadia.c 	diff = 256;			/* highest possible */
diff              142 arch/powerpc/boot/cuboot-acadia.c 		} else if (idiff < diff) {
diff              144 arch/powerpc/boot/cuboot-acadia.c 			diff = idiff;   /* update lowest diff*/
diff              448 arch/powerpc/kernel/time.c 	int diff;
diff              455 arch/powerpc/kernel/time.c 			diff = get_rtcl() - start;
diff              456 arch/powerpc/kernel/time.c 			if (diff < 0)
diff              457 arch/powerpc/kernel/time.c 				diff += 1000000000;
diff              459 arch/powerpc/kernel/time.c 		} while (diff < loops);
diff               89 arch/powerpc/platforms/powermac/backlight.c 			int diff = abs(info->bl_curve[i] - value);
diff               90 arch/powerpc/platforms/powermac/backlight.c 			if (diff < max) {
diff               91 arch/powerpc/platforms/powermac/backlight.c 				max = diff;
diff              252 arch/sparc/kernel/ldc.c 	unsigned long limit, tail, new_tail, diff;
diff              262 arch/sparc/kernel/ldc.c 		diff = limit - new_tail;
diff              264 arch/sparc/kernel/ldc.c 		diff = (limit +
diff              266 arch/sparc/kernel/ldc.c 	diff /= LDC_PACKET_SIZE;
diff              269 arch/sparc/kernel/ldc.c 	if (diff * mss < size)
diff              644 arch/sparc/kernel/prom_irqtrans.c 	unsigned long diff = SYSIO_ICLR_UNUSED0 - SYSIO_IMAP_SLOT0;
diff              645 arch/sparc/kernel/prom_irqtrans.c 	return imap + diff;
diff              206 arch/sparc/kernel/sbus.c 	unsigned long diff = SYSIO_ICLR_UNUSED0 - SYSIO_IMAP_SLOT0;
diff              207 arch/sparc/kernel/sbus.c 	return imap + diff;
diff              211 arch/sparc/kernel/smp_64.c 		long diff;	/* difference between midpoint and master's timestamp */
diff              240 arch/sparc/kernel/smp_64.c 			t[i].diff = delta;
diff              250 arch/sparc/kernel/smp_64.c 		       t[i].rt, t[i].master, t[i].diff, t[i].lat);
diff              284 arch/um/drivers/mconsole_kern.c 	unsigned long long diff;
diff              305 arch/um/drivers/mconsole_kern.c 	diff = memparse(str, &ret);
diff              311 arch/um/drivers/mconsole_kern.c 	diff /= PAGE_SIZE;
diff              314 arch/um/drivers/mconsole_kern.c 	for (i = 0; i < diff; i++) {
diff              252 arch/um/kernel/um_arch.c 	unsigned long avail, diff;
diff              287 arch/um/kernel/um_arch.c 	diff = UML_ROUND_UP(brk_start) - UML_ROUND_UP(&_end);
diff              288 arch/um/kernel/um_arch.c 	if (diff > 1024 * 1024) {
diff              290 arch/um/kernel/um_arch.c 			"exec-shield gap\n", diff);
diff              178 arch/x86/boot/boot.h 	bool diff;
diff              180 arch/x86/boot/boot.h 		     : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len));
diff              181 arch/x86/boot/boot.h 	return diff;
diff              185 arch/x86/boot/boot.h 	bool diff;
diff              187 arch/x86/boot/boot.h 		     : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len));
diff              188 arch/x86/boot/boot.h 	return diff;
diff               34 arch/x86/boot/string.c 	bool diff;
diff               36 arch/x86/boot/string.c 	    : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len));
diff               37 arch/x86/boot/string.c 	return diff;
diff               30 arch/x86/hyperv/mmu.c 	unsigned long cur = start, diff;
diff               33 arch/x86/hyperv/mmu.c 		diff = end > cur ? end - cur : 0;
diff               40 arch/x86/hyperv/mmu.c 		if (diff >= HV_TLB_FLUSH_UNIT) {
diff               43 arch/x86/hyperv/mmu.c 		}  else if (diff) {
diff               44 arch/x86/hyperv/mmu.c 			gva_list[gva_n] |= (diff - 1) >> PAGE_SHIFT;
diff               59 arch/x86/kvm/vmx/pmu_intel.c 	u64 diff = pmu->global_ctrl ^ data;
diff               63 arch/x86/kvm/vmx/pmu_intel.c 	for_each_set_bit(bit, (unsigned long *)&diff, X86_PMC_IDX_MAX)
diff               45 arch/x86/math-emu/reg_add_sub.c 	int diff, tag, expa, expb;
diff               59 arch/x86/math-emu/reg_add_sub.c 			diff = expa - expb;
diff               60 arch/x86/math-emu/reg_add_sub.c 			if (!diff) {
diff               61 arch/x86/math-emu/reg_add_sub.c 				diff = a->sigh - b->sigh;	/* This works only if the ms bits
diff               63 arch/x86/math-emu/reg_add_sub.c 				if (!diff) {
diff               64 arch/x86/math-emu/reg_add_sub.c 					diff = a->sigl > b->sigl;
diff               65 arch/x86/math-emu/reg_add_sub.c 					if (!diff)
diff               66 arch/x86/math-emu/reg_add_sub.c 						diff = -(a->sigl < b->sigl);
diff               70 arch/x86/math-emu/reg_add_sub.c 			if (diff > 0) {
diff               74 arch/x86/math-emu/reg_add_sub.c 			} else if (diff < 0) {
diff              134 arch/x86/math-emu/reg_add_sub.c 	int diff, tag = 0, expa, expb, deststnr;
diff              169 arch/x86/math-emu/reg_add_sub.c 		diff = expa - expb;
diff              171 arch/x86/math-emu/reg_add_sub.c 		if (!diff) {
diff              172 arch/x86/math-emu/reg_add_sub.c 			diff = a->sigh - b->sigh;	/* Works only if ms bits are identical */
diff              173 arch/x86/math-emu/reg_add_sub.c 			if (!diff) {
diff              174 arch/x86/math-emu/reg_add_sub.c 				diff = a->sigl > b->sigl;
diff              175 arch/x86/math-emu/reg_add_sub.c 				if (!diff)
diff              176 arch/x86/math-emu/reg_add_sub.c 					diff = -(a->sigl < b->sigl);
diff              183 arch/x86/math-emu/reg_add_sub.c 			if (diff > 0) {
diff              188 arch/x86/math-emu/reg_add_sub.c 			} else if (diff == 0) {
diff               26 arch/x86/math-emu/reg_compare.c 	int diff, exp0, expb;
diff              141 arch/x86/math-emu/reg_compare.c 	diff = exp0 - expb;
diff              142 arch/x86/math-emu/reg_compare.c 	if (diff == 0) {
diff              143 arch/x86/math-emu/reg_compare.c 		diff = st0_ptr->sigh - b->sigh;	/* Works only if ms bits are
diff              145 arch/x86/math-emu/reg_compare.c 		if (diff == 0) {
diff              146 arch/x86/math-emu/reg_compare.c 			diff = st0_ptr->sigl > b->sigl;
diff              147 arch/x86/math-emu/reg_compare.c 			if (diff == 0)
diff              148 arch/x86/math-emu/reg_compare.c 				diff = -(st0_ptr->sigl < b->sigl);
diff              152 arch/x86/math-emu/reg_compare.c 	if (diff > 0) {
diff              157 arch/x86/math-emu/reg_compare.c 	if (diff < 0) {
diff              331 block/blk-iolatency.c 	unsigned long diff = 0;
diff              334 block/blk-iolatency.c 		diff = DEFAULT_SCALE_COOKIE - old;
diff              340 block/blk-iolatency.c 		else if (diff > qd)
diff              351 block/blk-iolatency.c 		if (diff > qd) {
diff              352 block/blk-iolatency.c 			if (diff < max_scale)
diff              138 block/blk-timeout.c 		unsigned long diff = q->timeout.expires - expiry;
diff              147 block/blk-timeout.c 		if (!timer_pending(&q->timeout) || (diff >= HZ / 2))
diff              162 block/blk-wbt.c 		int diff = limit - inflight;
diff              164 block/blk-wbt.c 		if (!inflight || diff >= rwb->wb_background / 2)
diff              192 crypto/blkcipher.c 	unsigned long diff;
diff              202 crypto/blkcipher.c 	diff = walk->src.phys.offset - walk->dst.phys.offset;
diff              203 crypto/blkcipher.c 	diff |= walk->src.virt.page - walk->dst.virt.page;
diff              208 crypto/blkcipher.c 	if (diff) {
diff              303 crypto/ecc.c   		u64 diff;
diff              305 crypto/ecc.c   		diff = left[i] - right[i] - borrow;
diff              306 crypto/ecc.c   		if (diff != left[i])
diff              307 crypto/ecc.c   			borrow = (diff > left[i]);
diff              309 crypto/ecc.c   		result[i] = diff;
diff              324 crypto/ecc.c   		u64 diff;
diff              326 crypto/ecc.c   		diff = left[i] - borrow;
diff              327 crypto/ecc.c   		if (diff != left[i])
diff              328 crypto/ecc.c   			borrow = (diff > left[i]);
diff              330 crypto/ecc.c   		result[i] = diff;
diff              626 crypto/ecc.c   			u64 diff = v[i][j] - mod_m[j] - borrow;
diff              628 crypto/ecc.c   			if (diff != v[i][j])
diff              629 crypto/ecc.c   				borrow = (diff > v[i][j]);
diff              630 crypto/ecc.c   			v[1 - i][j] = diff;
diff              319 crypto/skcipher.c 	unsigned long diff;
diff              329 crypto/skcipher.c 	diff = walk->src.phys.offset - walk->dst.phys.offset;
diff              330 crypto/skcipher.c 	diff |= walk->src.virt.page - walk->dst.virt.page;
diff              335 crypto/skcipher.c 	if (diff) {
diff             5142 crypto/testmgr.c 		int diff = strcmp(alg_test_descs[i - 1].alg,
diff             5145 crypto/testmgr.c 		if (WARN_ON(diff > 0)) {
diff             5151 crypto/testmgr.c 		if (WARN_ON(diff == 0)) {
diff             5188 crypto/testmgr.c 		int diff = strcmp(alg_test_descs[i].alg, alg);
diff             5190 crypto/testmgr.c 		if (diff > 0) {
diff             5195 crypto/testmgr.c 		if (diff < 0) {
diff              215 drivers/bluetooth/hci_qca.c 	unsigned int diff;
diff              222 drivers/bluetooth/hci_qca.c 		diff = jiffies_to_msecs(jiffies - qca->vote_last_jif);
diff              225 drivers/bluetooth/hci_qca.c 			qca->vote_off_ms += diff;
diff              227 drivers/bluetooth/hci_qca.c 			qca->vote_on_ms += diff;
diff              268 drivers/bluetooth/hci_qca.c 		diff = jiffies_to_msecs(jiffies - qca->vote_last_jif);
diff              272 drivers/bluetooth/hci_qca.c 			qca->vote_off_ms += diff;
diff              275 drivers/bluetooth/hci_qca.c 			qca->vote_on_ms += diff;
diff              513 drivers/clk/bcm/clk-iproc-pll.c 	unsigned long  diff, best_diff;
diff              537 drivers/clk/bcm/clk-iproc-pll.c 		diff = abs(req->rate - pll->vco_param[i].rate);
diff              538 drivers/clk/bcm/clk-iproc-pll.c 		if (diff <= best_diff) {
diff              539 drivers/clk/bcm/clk-iproc-pll.c 			best_diff = diff;
diff              543 drivers/clk/bcm/clk-iproc-pll.c 		if (diff == 0)
diff              316 drivers/clk/clk-cdce706.c 			unsigned long diff;
diff              331 drivers/clk/clk-cdce706.c 			diff = max(div_rate, rate) - min(div_rate, rate);
diff              333 drivers/clk/clk-cdce706.c 			if (diff < best_diff) {
diff              334 drivers/clk/clk-cdce706.c 				best_diff = diff;
diff              119 drivers/clk/imx/clk-sccg-pll.c 	int diff = temp_setup->fout_error;
diff              121 drivers/clk/imx/clk-sccg-pll.c 	if (abs(diff) > abs(new_diff)) {
diff              316 drivers/clk/renesas/rcar-gen3-cpg.c 	unsigned long calc_rate, diff, diff_min = ULONG_MAX;
diff              322 drivers/clk/renesas/rcar-gen3-cpg.c 		diff = calc_rate > rate ? calc_rate - rate : rate - calc_rate;
diff              323 drivers/clk/renesas/rcar-gen3-cpg.c 		if (diff < diff_min) {
diff              325 drivers/clk/renesas/rcar-gen3-cpg.c 			diff_min = diff;
diff              171 drivers/cpufreq/cpufreq-nforce2.c 	int diff;
diff              200 drivers/cpufreq/cpufreq-nforce2.c 	diff = tfsb - fsb;
diff              202 drivers/cpufreq/cpufreq-nforce2.c 	if (!diff)
diff              206 drivers/cpufreq/cpufreq-nforce2.c 		if (diff < 0)
diff              126 drivers/cpufreq/freq_table.c 	unsigned int freq, diff, i = 0;
diff              179 drivers/cpufreq/freq_table.c 			diff = abs(freq - target_freq);
diff              180 drivers/cpufreq/freq_table.c 			if (diff < optimal.frequency ||
diff              181 drivers/cpufreq/freq_table.c 			    (diff == optimal.frequency &&
diff              183 drivers/cpufreq/freq_table.c 				optimal.frequency = diff;
diff               41 drivers/cpufreq/s3c2440-cpufreq.c 	long diff = a - b;
diff               43 drivers/cpufreq/s3c2440-cpufreq.c 	return (diff >= -1000 && diff <= 1000);
diff              250 drivers/cpuidle/cpuidle.c 		s64 diff, delay = drv->states[entered_state].exit_latency;
diff              258 drivers/cpuidle/cpuidle.c 		diff = ktime_us_delta(time_end, time_start);
diff              259 drivers/cpuidle/cpuidle.c 		if (diff > INT_MAX)
diff              260 drivers/cpuidle/cpuidle.c 			diff = INT_MAX;
diff              262 drivers/cpuidle/cpuidle.c 		dev->last_residency = (int)diff;
diff              266 drivers/cpuidle/cpuidle.c 		if (diff < drv->states[entered_state].target_residency) {
diff              276 drivers/cpuidle/cpuidle.c 		} else if (diff > delay) {
diff              286 drivers/cpuidle/cpuidle.c 				if (diff - delay >= drv->states[i].target_residency)
diff              225 drivers/cpuidle/governors/menu.c 			int64_t diff = (int64_t)value - avg;
diff              226 drivers/cpuidle/governors/menu.c 			variance += diff * diff;
diff             1002 drivers/crypto/axis/artpec6_crypto.c 	unsigned int mod, target, diff, pad_bytes, size_bytes;
diff             1022 drivers/crypto/axis/artpec6_crypto.c 	diff = dgstlen & (mod - 1);
diff             1023 drivers/crypto/axis/artpec6_crypto.c 	pad_bytes = diff > target ? target + mod - diff : target - diff;
diff             1440 drivers/crypto/hifn_795x.c 	unsigned int nbytes = req->nbytes, offset, copy, diff;
diff             1469 drivers/crypto/hifn_795x.c 			diff = slen & (HIFN_D_DST_DALIGN - 1);
diff             1482 drivers/crypto/hifn_795x.c 				nbytes += diff;
diff             1497 drivers/crypto/hifn_795x.c 				copy += diff + nbytes;
diff              179 drivers/crypto/n2_core.c 	unsigned long diff;
diff              182 drivers/crypto/n2_core.c 		diff = head - tail;
diff              184 drivers/crypto/n2_core.c 		diff = (end - tail) + head;
diff              186 drivers/crypto/n2_core.c 	return (diff / CWQ_ENTRY_SIZE) - 1;
diff              363 drivers/dma/dmatest.c 	u8		diff = actual ^ pattern;
diff              371 drivers/dma/dmatest.c 			&& (diff & (PATTERN_COPY | PATTERN_OVERWRITE)))
diff              374 drivers/dma/dmatest.c 	else if (diff & PATTERN_SRC)
diff              572 drivers/dma/dmatest.c 	ktime_t			ktime, start, diff;
diff              713 drivers/dma/dmatest.c 			diff = ktime_sub(ktime_get(), start);
diff              714 drivers/dma/dmatest.c 			filltime = ktime_add(filltime, diff);
diff              863 drivers/dma/dmatest.c 		diff = ktime_sub(ktime_get(), start);
diff              864 drivers/dma/dmatest.c 		comparetime = ktime_add(comparetime, diff);
diff             1356 drivers/edac/amd64_edac.c 		unsigned diff;
diff             1383 drivers/edac/amd64_edac.c 		diff = cs_mode/3 + (unsigned)(cs_mode > 5);
diff             1385 drivers/edac/amd64_edac.c 		return 32 << (cs_mode - diff);
diff              569 drivers/gpio/gpiolib-acpi.c 		enum gpiod_flags diff = *flags ^ update;
diff              578 drivers/gpio/gpiolib-acpi.c 		if (((*flags & GPIOD_FLAGS_BIT_DIR_SET) && (diff & GPIOD_FLAGS_BIT_DIR_OUT)) ||
diff              579 drivers/gpio/gpiolib-acpi.c 		    ((*flags & GPIOD_FLAGS_BIT_DIR_OUT) && (diff & GPIOD_FLAGS_BIT_DIR_VAL)))
diff              200 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c 		unsigned diff;
diff              203 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c 		diff = abs(target_clock - (pll->reference_freq * fb_div) /
diff              206 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c 		if (diff < diff_best || (diff == diff_best &&
diff              210 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c 			diff_best = diff;
diff             4386 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	unsigned int i, diff;
diff             4391 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	diff = voltage_table->count - max_voltage_steps;
diff             4394 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		voltage_table->entries[i] = voltage_table->entries[i + diff];
diff              330 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	unsigned int i, diff;
diff              335 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	diff = vol_table->count - max_vol_steps;
diff              338 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 		vol_table->entries[i] = vol_table->entries[i + diff];
diff             1134 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	unsigned int i, diff;
diff             1139 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	diff = vol_table->count - max_vol_steps;
diff             1142 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		vol_table->entries[i] = vol_table->entries[i + diff];
diff               65 drivers/gpu/drm/arc/arcpgu_crtc.c 	long diff = clk_rate / 200; /* +-0.5% allowed by HDMI spec */
diff               68 drivers/gpu/drm/arc/arcpgu_crtc.c 	if ((max(rate, clk_rate) - min(rate, clk_rate) < diff) && (rate > 0))
diff              720 drivers/gpu/drm/ast/ast_post.c 	u32 reg_mcr18, reg_mcr0c, passcnt[2], diff;
diff              778 drivers/gpu/drm/ast/ast_post.c 			diff = pass[dqidly][dqsip][1] - pass[dqidly][dqsip][0];
diff              779 drivers/gpu/drm/ast/ast_post.c 			if ((diff+2) < g_margin)
diff              789 drivers/gpu/drm/ast/ast_post.c 			if (diff > (g_margin+1) && (passcnt[1] > 0 || passcnt[0] > 8)) {
diff              790 drivers/gpu/drm/ast/ast_post.c 				g_margin = diff;
diff              795 drivers/gpu/drm/ast/ast_post.c 				if (diff > g_margin)
diff              796 drivers/gpu/drm/ast/ast_post.c 					g_margin = diff;
diff             1326 drivers/gpu/drm/drm_modes.c 	int diff;
diff             1328 drivers/gpu/drm/drm_modes.c 	diff = ((b->type & DRM_MODE_TYPE_PREFERRED) != 0) -
diff             1330 drivers/gpu/drm/drm_modes.c 	if (diff)
diff             1331 drivers/gpu/drm/drm_modes.c 		return diff;
diff             1332 drivers/gpu/drm/drm_modes.c 	diff = b->hdisplay * b->vdisplay - a->hdisplay * a->vdisplay;
diff             1333 drivers/gpu/drm/drm_modes.c 	if (diff)
diff             1334 drivers/gpu/drm/drm_modes.c 		return diff;
diff             1336 drivers/gpu/drm/drm_modes.c 	diff = b->vrefresh - a->vrefresh;
diff             1337 drivers/gpu/drm/drm_modes.c 	if (diff)
diff             1338 drivers/gpu/drm/drm_modes.c 		return diff;
diff             1340 drivers/gpu/drm/drm_modes.c 	diff = b->clock - a->clock;
diff             1341 drivers/gpu/drm/drm_modes.c 	return diff;
diff               90 drivers/gpu/drm/drm_rect.c 	int diff;
diff               92 drivers/gpu/drm/drm_rect.c 	diff = clip->x1 - dst->x1;
diff               93 drivers/gpu/drm/drm_rect.c 	if (diff > 0) {
diff               95 drivers/gpu/drm/drm_rect.c 					    drm_rect_width(dst), diff);
diff              100 drivers/gpu/drm/drm_rect.c 	diff = clip->y1 - dst->y1;
diff              101 drivers/gpu/drm/drm_rect.c 	if (diff > 0) {
diff              103 drivers/gpu/drm/drm_rect.c 					    drm_rect_height(dst), diff);
diff              108 drivers/gpu/drm/drm_rect.c 	diff = dst->x2 - clip->x2;
diff              109 drivers/gpu/drm/drm_rect.c 	if (diff > 0) {
diff              111 drivers/gpu/drm/drm_rect.c 					    drm_rect_width(dst), diff);
diff              116 drivers/gpu/drm/drm_rect.c 	diff = dst->y2 - clip->y2;
diff              117 drivers/gpu/drm/drm_rect.c 	if (diff > 0) {
diff              119 drivers/gpu/drm/drm_rect.c 					    drm_rect_height(dst), diff);
diff              208 drivers/gpu/drm/drm_vblank.c 	u32 cur_vblank, diff;
diff              234 drivers/gpu/drm/drm_vblank.c 		diff = (cur_vblank - vblank->last) & max_vblank_count;
diff              248 drivers/gpu/drm/drm_vblank.c 		diff = DIV_ROUND_CLOSEST_ULL(diff_ns, framedur_ns);
diff              250 drivers/gpu/drm/drm_vblank.c 		if (diff == 0 && in_vblank_irq)
diff              255 drivers/gpu/drm/drm_vblank.c 		diff = in_vblank_irq ? 1 : 0;
diff              267 drivers/gpu/drm/drm_vblank.c 	if (diff > 1 && (vblank->inmodeset & 0x2)) {
diff              269 drivers/gpu/drm/drm_vblank.c 			      " due to pre-modeset.\n", pipe, diff);
diff              270 drivers/gpu/drm/drm_vblank.c 		diff = 1;
diff              275 drivers/gpu/drm/drm_vblank.c 		      pipe, vblank->count, diff, cur_vblank, vblank->last);
diff              277 drivers/gpu/drm/drm_vblank.c 	if (diff == 0) {
diff              291 drivers/gpu/drm/drm_vblank.c 	store_vblank(dev, pipe, diff, t_vblank, cur_vblank);
diff             1316 drivers/gpu/drm/drm_vblank.c 	u32 cur_vblank, diff = 1;
diff             1337 drivers/gpu/drm/drm_vblank.c 		diff = DIV_ROUND_CLOSEST_ULL(diff_ns, framedur_ns);
diff             1341 drivers/gpu/drm/drm_vblank.c 		      diff, diff_ns, framedur_ns, cur_vblank - vblank->last);
diff             1342 drivers/gpu/drm/drm_vblank.c 	store_vblank(dev, pipe, diff, t_vblank, cur_vblank);
diff             12412 drivers/gpu/drm/i915/display/intel_display.c 	int diff;
diff             12420 drivers/gpu/drm/i915/display/intel_display.c 	diff = abs(clock1 - clock2);
diff             12422 drivers/gpu/drm/i915/display/intel_display.c 	if (((((diff + clock1 + clock2) * 100)) / (clock1 + clock2)) < 105)
diff              692 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	u64 a, b, c, d, diff, diff_best;
diff              718 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	diff = abs_diff(freq2k * p * r2, LC_FREQ_2K * n2);
diff              721 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	c = 1000000 * diff;
diff              726 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 		if (best->p * best->r2 * diff < p * r2 * diff_best) {
diff               31 drivers/gpu/drm/i915/gvt/debugfs.c 	int diff;
diff               78 drivers/gpu/drm/i915/gvt/debugfs.c 		param->diff++;
diff               92 drivers/gpu/drm/i915/gvt/debugfs.c 		.diff = 0,
diff              114 drivers/gpu/drm/i915/gvt/debugfs.c 		u32 diff = node->preg ^ node->vreg;
diff              118 drivers/gpu/drm/i915/gvt/debugfs.c 			   32, &diff);
diff              122 drivers/gpu/drm/i915/gvt/debugfs.c 	seq_printf(s, "Total: %d, Diff: %d\n", param.total, param.diff);
diff             7521 drivers/gpu/drm/i915/intel_pm.c 		const int diff = max_gpu_freq - gpu_freq;
diff             7548 drivers/gpu/drm/i915/intel_pm.c 				ia_freq = max_ia_freq - ((diff * scaling_factor) / 2);
diff             8107 drivers/gpu/drm/i915/intel_pm.c 	u64 total_count, diff, ret;
diff             8132 drivers/gpu/drm/i915/intel_pm.c 		diff = ~0UL - dev_priv->ips.last_count1;
diff             8133 drivers/gpu/drm/i915/intel_pm.c 		diff += total_count;
diff             8135 drivers/gpu/drm/i915/intel_pm.c 		diff = total_count - dev_priv->ips.last_count1;
diff             8147 drivers/gpu/drm/i915/intel_pm.c 	diff = div_u64(diff, diff1);
diff             8148 drivers/gpu/drm/i915/intel_pm.c 	ret = ((m * diff) + c);
diff             8215 drivers/gpu/drm/i915/intel_pm.c 	u64 now, diff, diffms;
diff             8231 drivers/gpu/drm/i915/intel_pm.c 		diff = ~0UL - dev_priv->ips.last_count2;
diff             8232 drivers/gpu/drm/i915/intel_pm.c 		diff += count;
diff             8234 drivers/gpu/drm/i915/intel_pm.c 		diff = count - dev_priv->ips.last_count2;
diff             8241 drivers/gpu/drm/i915/intel_pm.c 	diff = diff * 1181;
diff             8242 drivers/gpu/drm/i915/intel_pm.c 	diff = div_u64(diff, diffms * 10);
diff             8243 drivers/gpu/drm/i915/intel_pm.c 	dev_priv->ips.gfx_power = diff;
diff             1168 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c 		ktime_t diff = ktime_sub(ktime_get(), dpu_crtc->vblank_cb_time);
diff             1169 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c 		s64 diff_ms = ktime_to_ms(diff);
diff             1176 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c 				ktime_to_ms(diff), dpu_crtc->play_count);
diff             2049 drivers/gpu/drm/msm/dsi/dsi_host.c 	int short_response, diff, pkt_size, ret = 0;
diff             2121 drivers/gpu/drm/msm/dsi/dsi_host.c 			diff = data_byte - rlen;
diff             2124 drivers/gpu/drm/msm/dsi/dsi_host.c 			diff = 0;
diff             2130 drivers/gpu/drm/msm/dsi/dsi_host.c 			dlen -= diff;
diff             2137 drivers/gpu/drm/msm/dsi/dsi_host.c 			DBG("buf=%p dlen=%d diff=%d", buf, dlen, diff);
diff              380 drivers/gpu/drm/nouveau/dispnv04/dfp.c 		uint32_t diff, scale;
diff              393 drivers/gpu/drm/nouveau/dispnv04/dfp.c 			diff = output_mode->hdisplay -
diff              395 drivers/gpu/drm/nouveau/dispnv04/dfp.c 			regp->fp_horiz_regs[FP_VALID_START] += diff / 2;
diff              396 drivers/gpu/drm/nouveau/dispnv04/dfp.c 			regp->fp_horiz_regs[FP_VALID_END] -= diff / 2;
diff              409 drivers/gpu/drm/nouveau/dispnv04/dfp.c 			diff = output_mode->vdisplay -
diff              411 drivers/gpu/drm/nouveau/dispnv04/dfp.c 			regp->fp_vert_regs[FP_VALID_START] += diff / 2;
diff              412 drivers/gpu/drm/nouveau/dispnv04/dfp.c 			regp->fp_vert_regs[FP_VALID_END] -= diff / 2;
diff              361 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 		u32 calc, diff;
diff              366 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 		diff = tu_valid - calc;
diff              367 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 		if (diff) {
diff              368 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 			if (diff >= (symbol / 2)) {
diff              369 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 				VTUf = symbol / (symbol - diff);
diff              370 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 				if (symbol - (VTUf * diff))
diff              383 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 				VTUf  = min((int)(symbol / diff), 15);
diff              387 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 			diff = calc - tu_valid;
diff              398 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 		if (diff < best_diff) {
diff              399 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 			best_diff = diff;
diff              404 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 			if (diff == 0)
diff              192 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	s32 diff;
diff              210 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 		diff = ((khz + 3000) - oclk);
diff              214 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 		if (diff < 0) {
diff              241 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	int P, N, M, diff;
diff              249 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	diff = khz - ret;
diff              250 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	if (!pll || (diff >= -2000 && diff < 3000)) {
diff              130 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvbios_ramcfg diff;
diff              474 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (ram->diff.ramcfg_11_08_20) {
diff              482 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (ram->diff.ramcfg_11_02_03) {
diff              486 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (ram->diff.ramcfg_11_01_10) {
diff              494 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (ram->diff.timing_20_30_07) {
diff              498 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (ram->diff.ramcfg_11_01_01) {
diff              506 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (ram->diff.timing_20_30_07) {
diff              510 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (ram->diff.ramcfg_11_01_02) {
diff              544 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (ram->diff.ramcfg_11_02_03) {
diff              548 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (ram->diff.ramcfg_11_01_10) {
diff             1171 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (mask = 0, data = 0, ram->diff.rammap_11_0a_03fe) {
diff             1175 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (ram->diff.rammap_11_09_01ff) {
diff             1181 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (mask = 0, data = 0, ram->diff.rammap_11_0a_0400) {
diff             1187 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (mask = 0, data = 0, ram->diff.rammap_11_0a_0800) {
diff             1193 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (mask = 0, data = 0, ram->diff.rammap_11_0b_01f0) {
diff             1199 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (mask = 0, data = 0, ram->diff.rammap_11_0b_0200) {
diff             1205 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (mask = 0, data = 0, ram->diff.rammap_11_0d) {
diff             1209 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (ram->diff.rammap_11_0f) {
diff             1215 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (mask = 0, data = 0, ram->diff.rammap_11_0e) {
diff             1219 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (ram->diff.rammap_11_0b_0800) {
diff             1223 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (ram->diff.rammap_11_0b_0400) {
diff             1443 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvbios_ramcfg *d = &ram->diff;
diff              457 drivers/gpu/drm/pl111/pl111_display.c 		unsigned long this_prate, div_rate, diff;
diff              464 drivers/gpu/drm/pl111/pl111_display.c 		diff = abs(rate - div_rate);
diff              466 drivers/gpu/drm/pl111/pl111_display.c 		if (diff < best_diff) {
diff              468 drivers/gpu/drm/pl111/pl111_display.c 			best_diff = diff;
diff             1471 drivers/gpu/drm/radeon/cypress_dpm.c 	unsigned int i, diff;
diff             1476 drivers/gpu/drm/radeon/cypress_dpm.c 	diff = voltage_table->count - MAX_NO_VREG_STEPS;
diff             1479 drivers/gpu/drm/radeon/cypress_dpm.c 		voltage_table->entries[i] = voltage_table->entries[i + diff];
diff             1044 drivers/gpu/drm/radeon/radeon_display.c 		unsigned diff;
diff             1047 drivers/gpu/drm/radeon/radeon_display.c 		diff = abs(target_clock - (pll->reference_freq * fb_div) /
diff             1050 drivers/gpu/drm/radeon/radeon_display.c 		if (diff < diff_best || (diff == diff_best &&
diff             1054 drivers/gpu/drm/radeon/radeon_display.c 			diff_best = diff;
diff             3924 drivers/gpu/drm/radeon/si_dpm.c 	unsigned int i, diff;
diff             3929 drivers/gpu/drm/radeon/si_dpm.c 	diff = voltage_table->count - max_voltage_steps;
diff             3932 drivers/gpu/drm/radeon/si_dpm.c 		voltage_table->entries[i] = voltage_table->entries[i + diff];
diff               88 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 	unsigned long diff;
diff              144 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 				diff = abs((long)output - (long)target);
diff              145 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 				if (best_diff > diff) {
diff              146 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 					best_diff = diff;
diff              153 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 				if (diff == 0)
diff              168 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 	unsigned long diff;
diff              176 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 	unsigned long diff;
diff              183 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 	if (params->diff == 0)
diff              192 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 	diff = abs(rate / (div + 1) - target);
diff              198 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 	if (diff < params->diff) {
diff              201 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 		params->diff = diff;
diff              271 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 		struct du_clk_params params = { .diff = (unsigned long)-1 };
diff              182 drivers/gpu/drm/rcar-du/rcar_lvds.c 	unsigned long diff;
diff              282 drivers/gpu/drm/rcar-du/rcar_lvds.c 				unsigned long diff;
diff              292 drivers/gpu/drm/rcar-du/rcar_lvds.c 				diff = abs(fout / div - target);
diff              294 drivers/gpu/drm/rcar-du/rcar_lvds.c 				if (diff < pll->diff) {
diff              295 drivers/gpu/drm/rcar-du/rcar_lvds.c 					pll->diff = diff;
diff              302 drivers/gpu/drm/rcar-du/rcar_lvds.c 					if (diff == 0)
diff              324 drivers/gpu/drm/rcar-du/rcar_lvds.c 	struct pll_info pll = { .diff = (unsigned long)-1 };
diff              185 drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c 	unsigned long diff = rate / 200; /* +-0.5% allowed by HDMI spec */
diff              194 drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c 	    min_t(unsigned long, rounded_rate, rate) < diff)
diff               24 drivers/gpu/drm/vboxvideo/vbva_base.c 	s32 diff = vbva->data_offset - vbva->free_offset;
diff               26 drivers/gpu/drm/vboxvideo/vbva_base.c 	return diff > 0 ? diff : vbva->data_len + diff;
diff               35 drivers/gpu/drm/vboxvideo/vbva_base.c 	s32 diff = len - bytes_till_boundary;
diff               37 drivers/gpu/drm/vboxvideo/vbva_base.c 	if (diff <= 0) {
diff               43 drivers/gpu/drm/vboxvideo/vbva_base.c 		memcpy(&vbva->data[0], (u8 *)p + bytes_till_boundary, diff);
diff              414 drivers/gpu/drm/via/via_dma.c 	uint32_t diff;
diff              437 drivers/gpu/drm/via/via_dma.c 	diff = (uint32_t) (ptr - reader) - dev_priv->dma_diff;
diff              439 drivers/gpu/drm/via/via_dma.c 	while (diff == 0 && count--) {
diff              444 drivers/gpu/drm/via/via_dma.c 		diff = (uint32_t) (ptr - reader) - dev_priv->dma_diff;
diff              451 drivers/gpu/drm/via/via_dma.c 		diff = (uint32_t) (ptr - reader) - dev_priv->dma_diff;
diff              452 drivers/gpu/drm/via/via_dma.c 		diff &= (dev_priv->dma_high - 1);
diff              453 drivers/gpu/drm/via/via_dma.c 		if (diff != 0 && diff < (dev_priv->dma_high >> 1)) {
diff              457 drivers/gpu/drm/via/via_dma.c 		} else if (diff == 0) {
diff              245 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c void vmw_memcpy(struct vmw_diff_cpy *diff, u8 *dest, const u8 *src, size_t n)
diff              258 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c static void vmw_adjust_rect(struct vmw_diff_cpy *diff, size_t diff_offs)
diff              260 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	size_t offs = (diff_offs + diff->line_offset) / diff->cpp;
diff              261 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	struct drm_rect *rect = &diff->rect;
diff              265 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	rect->y1 = min_t(int, rect->y1, diff->line);
diff              266 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	rect->y2 = max_t(int, rect->y2, diff->line + 1);
diff              287 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c void vmw_diff_memcpy(struct vmw_diff_cpy *diff, u8 *dest, const u8 *src,
diff              292 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	if (WARN_ON_ONCE(round_down(n, diff->cpp) != n))
diff              296 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	csize = vmw_find_first_diff(dest, src, n, diff->cpp);
diff              298 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 		vmw_adjust_rect(diff, csize);
diff              299 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 		byte_len = diff->cpp;
diff              305 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 		diff->line_offset += csize;
diff              309 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 		csize = vmw_find_last_diff(dest, src, n, diff->cpp);
diff              312 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 			vmw_adjust_rect(diff, csize);
diff              316 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	diff->line_offset += n;
diff              345 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	struct vmw_diff_cpy *diff;
diff              361 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	struct vmw_diff_cpy *diff = d->diff;
diff              411 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 		diff->do_cpy(diff, d->dst_addr + dst_page_offset,
diff              450 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 		    struct vmw_diff_cpy *diff)
diff              488 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	d.diff = diff;
diff              491 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 		diff->line = j + initial_line;
diff              492 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 		diff->line_offset = dst_offset % dst_stride;
diff             1355 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h 	void (*do_cpy)(struct vmw_diff_cpy *diff, u8 *dest, const u8 *src,
diff             1375 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h void vmw_diff_memcpy(struct vmw_diff_cpy *diff, u8 *dest, const u8 *src,
diff             1378 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h void vmw_memcpy(struct vmw_diff_cpy *diff, u8 *dest, const u8 *src, size_t n);
diff             1385 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h 		    struct vmw_diff_cpy *diff);
diff              581 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	struct vmw_diff_cpy diff = VMW_CPU_BLIT_DIFF_INITIALIZER(stdu->cpp);
diff              610 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 			       width * stdu->cpp, height, &diff);
diff              613 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	    drm_rect_visible(&diff.rect)) {
diff              620 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 		region.x1 = diff.rect.x1;
diff              621 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 		region.x2 = diff.rect.x2;
diff              622 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 		region.y1 = diff.rect.y1;
diff              623 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 		region.y2 = diff.rect.y2;
diff             1293 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	struct vmw_diff_cpy diff = VMW_CPU_BLIT_DIFF_INITIALIZER(0);
diff             1308 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	diff.cpp = stdu->cpp;
diff             1321 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 			       &diff);
diff             1323 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	if (drm_rect_visible(&diff.rect)) {
diff             1332 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 		box->x = diff.rect.x1;
diff             1333 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 		box->y = diff.rect.y1;
diff             1335 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 		box->w = drm_rect_width(&diff.rect);
diff             1336 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 		box->h = drm_rect_height(&diff.rect);
diff             1341 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 					 diff.rect.x1, diff.rect.x2,
diff             1342 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 					 diff.rect.y1, diff.rect.y2);
diff              511 drivers/gpu/ipu-v3/ipu-di.c 	u32 diff;
diff              516 drivers/gpu/ipu-v3/ipu-di.c 	diff = 2 - mode->vfront_porch;
diff              518 drivers/gpu/ipu-v3/ipu-di.c 	if (mode->vback_porch >= diff) {
diff              520 drivers/gpu/ipu-v3/ipu-di.c 		mode->vback_porch -= diff;
diff              521 drivers/gpu/ipu-v3/ipu-di.c 	} else if (mode->vsync_len > diff) {
diff              523 drivers/gpu/ipu-v3/ipu-di.c 		mode->vsync_len = mode->vsync_len - diff;
diff              320 drivers/hwmon/jc42.c 	int diff, hyst;
diff              349 drivers/hwmon/jc42.c 		diff = jc42_temp_from_reg(data->temp[t_crit]) - val;
diff              351 drivers/hwmon/jc42.c 		if (diff > 0) {
diff              352 drivers/hwmon/jc42.c 			if (diff < 2250)
diff              354 drivers/hwmon/jc42.c 			else if (diff < 4500)
diff              421 drivers/i2c/busses/i2c-ocores.c 	int diff;
diff              431 drivers/i2c/busses/i2c-ocores.c 	diff = i2c->ip_clock_khz / (5 * (prescale + 1)) - i2c->bus_clock_khz;
diff              432 drivers/i2c/busses/i2c-ocores.c 	if (abs(diff) > i2c->bus_clock_khz / 10) {
diff              660 drivers/i2c/busses/i2c-octeon-core.c 	int tclk, thp_base, inc, thp_idx, mdiv_idx, ndiv_idx, foscl, diff;
diff              685 drivers/i2c/busses/i2c-octeon-core.c 				diff = abs(foscl - i2c->twsi_freq);
diff              686 drivers/i2c/busses/i2c-octeon-core.c 				if (diff < delta_hz) {
diff              687 drivers/i2c/busses/i2c-octeon-core.c 					delta_hz = diff;
diff             1661 drivers/iio/adc/stm32-adc.c 	struct stm32_adc_diff_channel diff[STM32_ADC_CH_MAX];
diff             1677 drivers/iio/adc/stm32-adc.c 					      sizeof(*diff));
diff             1682 drivers/iio/adc/stm32-adc.c 		int size = ret * sizeof(*diff) / sizeof(u32);
diff             1687 drivers/iio/adc/stm32-adc.c 						 (u32 *)diff, size);
diff             1717 drivers/iio/adc/stm32-adc.c 			if (val == diff[i].vinp) {
diff             1729 drivers/iio/adc/stm32-adc.c 		if (diff[i].vinp >= adc_info->max_channels ||
diff             1730 drivers/iio/adc/stm32-adc.c 		    diff[i].vinn >= adc_info->max_channels) {
diff             1732 drivers/iio/adc/stm32-adc.c 				diff[i].vinp, diff[i].vinn);
diff             1736 drivers/iio/adc/stm32-adc.c 					diff[i].vinp, diff[i].vinn, scan_index,
diff               27 drivers/iio/adc/stx104.c #define STX104_IN_CHAN(chan, diff) {					\
diff               35 drivers/iio/adc/stx104.c 	.differential = diff						\
diff              559 drivers/iio/imu/adis16480.c 	unsigned int diff, best_diff;
diff              579 drivers/iio/imu/adis16480.c 				diff = st->chip_info->filter_freqs[i] - freq;
diff              580 drivers/iio/imu/adis16480.c 				if (diff < best_diff) {
diff              581 drivers/iio/imu/adis16480.c 					best_diff = diff;
diff              103 drivers/infiniband/hw/hfi1/affinity.c static int cpu_mask_set_get_first(struct cpu_mask_set *set, cpumask_var_t diff)
diff              107 drivers/infiniband/hw/hfi1/affinity.c 	if (!diff || !set)
diff              113 drivers/infiniband/hw/hfi1/affinity.c 	cpumask_andnot(diff, &set->mask, &set->used);
diff              115 drivers/infiniband/hw/hfi1/affinity.c 	cpu = cpumask_first(diff);
diff              888 drivers/infiniband/hw/hfi1/affinity.c 	cpumask_var_t diff;
diff              929 drivers/infiniband/hw/hfi1/affinity.c 		if (!zalloc_cpumask_var(&diff, GFP_KERNEL))
diff              932 drivers/infiniband/hw/hfi1/affinity.c 		cpu = cpu_mask_set_get_first(set, diff);
diff              934 drivers/infiniband/hw/hfi1/affinity.c 			free_cpumask_var(diff);
diff              939 drivers/infiniband/hw/hfi1/affinity.c 		free_cpumask_var(diff);
diff             1041 drivers/infiniband/hw/hfi1/affinity.c 	cpumask_var_t diff, hw_thread_mask, available_mask, intrs_mask;
diff             1090 drivers/infiniband/hw/hfi1/affinity.c 	ret = zalloc_cpumask_var(&diff, GFP_KERNEL);
diff             1145 drivers/infiniband/hw/hfi1/affinity.c 			cpumask_andnot(diff, hw_thread_mask, &set->used);
diff             1146 drivers/infiniband/hw/hfi1/affinity.c 			if (!cpumask_empty(diff))
diff             1179 drivers/infiniband/hw/hfi1/affinity.c 	cpumask_andnot(diff, available_mask, intrs_mask);
diff             1180 drivers/infiniband/hw/hfi1/affinity.c 	if (!cpumask_empty(diff))
diff             1181 drivers/infiniband/hw/hfi1/affinity.c 		cpumask_copy(available_mask, diff);
diff             1196 drivers/infiniband/hw/hfi1/affinity.c 		cpumask_andnot(diff, available_mask, intrs_mask);
diff             1197 drivers/infiniband/hw/hfi1/affinity.c 		if (!cpumask_empty(diff))
diff             1198 drivers/infiniband/hw/hfi1/affinity.c 			cpumask_copy(available_mask, diff);
diff             1218 drivers/infiniband/hw/hfi1/affinity.c 	free_cpumask_var(diff);
diff              116 drivers/infiniband/hw/hfi1/driver.c 		cap_mask = *cap_mask_ptr, value, diff,
diff              126 drivers/infiniband/hw/hfi1/driver.c 	diff = value ^ (cap_mask & ~HFI1_CAP_LOCKED_SMASK);
diff              129 drivers/infiniband/hw/hfi1/driver.c 	if (HFI1_CAP_LOCKED() && (diff & ~write_mask)) {
diff              131 drivers/infiniband/hw/hfi1/driver.c 			diff & ~write_mask);
diff              132 drivers/infiniband/hw/hfi1/driver.c 		diff &= write_mask;
diff              136 drivers/infiniband/hw/hfi1/driver.c 	diff &= ~HFI1_CAP_RESERVED_MASK;
diff              138 drivers/infiniband/hw/hfi1/driver.c 	cap_mask &= ~diff;
diff              140 drivers/infiniband/hw/hfi1/driver.c 	cap_mask |= (value & diff);
diff              142 drivers/infiniband/hw/hfi1/driver.c 	diff = (cap_mask & (HFI1_CAP_MUST_HAVE_KERN << HFI1_CAP_USER_SHIFT)) ^
diff              144 drivers/infiniband/hw/hfi1/driver.c 	cap_mask &= ~diff;
diff             1526 drivers/infiniband/hw/hfi1/rc.c 		int diff;
diff             1533 drivers/infiniband/hw/hfi1/rc.c 		diff = cmp_psn(psn, wqe->psn);
diff             1534 drivers/infiniband/hw/hfi1/rc.c 		if (diff < 0) {
diff             1544 drivers/infiniband/hw/hfi1/rc.c 		if (diff == 0) {
diff             2016 drivers/infiniband/hw/hfi1/rc.c 	int diff;
diff             2036 drivers/infiniband/hw/hfi1/rc.c 	while ((diff = delta_psn(ack_psn, wqe->lpsn)) >= 0) {
diff             2045 drivers/infiniband/hw/hfi1/rc.c 		    diff == 0) {
diff             2059 drivers/infiniband/hw/hfi1/rc.c 		     (opcode != OP(RDMA_READ_RESPONSE_LAST) || diff != 0)) ||
diff             2061 drivers/infiniband/hw/hfi1/rc.c 		     (opcode != TID_OP(READ_RESP) || diff != 0)) ||
diff             2064 drivers/infiniband/hw/hfi1/rc.c 		     (opcode != OP(ATOMIC_ACKNOWLEDGE) || diff != 0)) ||
diff             2356 drivers/infiniband/hw/hfi1/rc.c 	int diff;
diff             2374 drivers/infiniband/hw/hfi1/rc.c 	diff = cmp_psn(psn, qp->s_last_psn);
diff             2375 drivers/infiniband/hw/hfi1/rc.c 	if (unlikely(diff <= 0)) {
diff             2377 drivers/infiniband/hw/hfi1/rc.c 		if (diff == 0 && opcode == OP(ACKNOWLEDGE)) {
diff             2554 drivers/infiniband/hw/hfi1/rc.c 				 int diff, struct hfi1_ctxtdata *rcd)
diff             2564 drivers/infiniband/hw/hfi1/rc.c 	if (diff > 0) {
diff             2820 drivers/infiniband/hw/hfi1/rc.c 	int diff;
diff             2849 drivers/infiniband/hw/hfi1/rc.c 	diff = delta_psn(psn, qp->r_psn);
diff             2850 drivers/infiniband/hw/hfi1/rc.c 	if (unlikely(diff)) {
diff             2851 drivers/infiniband/hw/hfi1/rc.c 		if (rc_rcv_error(ohdr, data, qp, opcode, psn, diff, rcd))
diff             3257 drivers/infiniband/hw/hfi1/rc.c 	int diff;
diff             3269 drivers/infiniband/hw/hfi1/rc.c 		diff = delta_psn(psn, qp->r_psn);
diff             3270 drivers/infiniband/hw/hfi1/rc.c 		if (!qp->r_nak_state && diff >= 0) {
diff              130 drivers/infiniband/hw/hfi1/tid_rdma.c 			     struct rvt_qp *qp, u32 psn, int diff, bool fecn);
diff             1980 drivers/infiniband/hw/hfi1/tid_rdma.c 			      struct rvt_qp *qp, u32 psn, int diff)
diff             1993 drivers/infiniband/hw/hfi1/tid_rdma.c 	trace_hfi1_tid_rdma_rcv_err(qp, 0, psn, diff);
diff             1994 drivers/infiniband/hw/hfi1/tid_rdma.c 	if (diff > 0) {
diff             2235 drivers/infiniband/hw/hfi1/tid_rdma.c 	int diff;
diff             2259 drivers/infiniband/hw/hfi1/tid_rdma.c 	diff = delta_psn(psn, qp->r_psn);
diff             2260 drivers/infiniband/hw/hfi1/tid_rdma.c 	if (unlikely(diff)) {
diff             2261 drivers/infiniband/hw/hfi1/tid_rdma.c 		tid_rdma_rcv_err(packet, ohdr, qp, psn, diff, fecn);
diff             2663 drivers/infiniband/hw/hfi1/tid_rdma.c 	int diff = 0;
diff             2754 drivers/infiniband/hw/hfi1/tid_rdma.c 				diff = cmp_psn(psn,
diff             2756 drivers/infiniband/hw/hfi1/tid_rdma.c 				if (diff > 0) {
diff             2759 drivers/infiniband/hw/hfi1/tid_rdma.c 				} else if (diff < 0) {
diff             2859 drivers/infiniband/hw/hfi1/tid_rdma.c 	int diff = 0;
diff             2966 drivers/infiniband/hw/hfi1/tid_rdma.c 				diff = cmp_psn(psn,
diff             2968 drivers/infiniband/hw/hfi1/tid_rdma.c 				if (diff > 0)
diff             2970 drivers/infiniband/hw/hfi1/tid_rdma.c 				else if (diff < 0)
diff             3043 drivers/infiniband/hw/hfi1/tid_rdma.c 	int diff, delta_pkts;
diff             3073 drivers/infiniband/hw/hfi1/tid_rdma.c 	diff = delta_pkts + flow->resync_npkts;
diff             3079 drivers/infiniband/hw/hfi1/tid_rdma.c 	if (diff) {
diff             3087 drivers/infiniband/hw/hfi1/tid_rdma.c 			npkts = min_t(u32, diff, tidnpkts);
diff             3092 drivers/infiniband/hw/hfi1/tid_rdma.c 			diff -= npkts;
diff             3093 drivers/infiniband/hw/hfi1/tid_rdma.c 			if (!diff)
diff             3659 drivers/infiniband/hw/hfi1/tid_rdma.c 	int diff;
diff             3680 drivers/infiniband/hw/hfi1/tid_rdma.c 	diff = delta_psn(psn, qp->r_psn);
diff             3681 drivers/infiniband/hw/hfi1/tid_rdma.c 	if (unlikely(diff)) {
diff             3682 drivers/infiniband/hw/hfi1/tid_rdma.c 		tid_rdma_rcv_err(packet, ohdr, qp, psn, diff, fecn);
diff             5487 drivers/infiniband/hw/hfi1/tid_rdma.c 			     struct rvt_qp *qp, u32 psn, int diff, bool fecn)
diff             5491 drivers/infiniband/hw/hfi1/tid_rdma.c 	tid_rdma_rcv_error(packet, ohdr, qp, psn, diff);
diff             1272 drivers/infiniband/hw/hfi1/trace_tid.h 	TP_PROTO(struct rvt_qp *qp, u32 opcode, u32 psn, int diff),
diff             1273 drivers/infiniband/hw/hfi1/trace_tid.h 	TP_ARGS(qp, opcode, psn, diff),
diff             1285 drivers/infiniband/hw/hfi1/trace_tid.h 		__field(int, diff)
diff             1298 drivers/infiniband/hw/hfi1/trace_tid.h 		__entry->diff = diff;
diff             1312 drivers/infiniband/hw/hfi1/trace_tid.h 		__entry->diff
diff             1318 drivers/infiniband/hw/hfi1/trace_tid.h 	TP_PROTO(struct rvt_qp *qp, u32 opcode, u32 psn, int diff),
diff             1319 drivers/infiniband/hw/hfi1/trace_tid.h 	TP_ARGS(qp, opcode, psn, diff)
diff              313 drivers/infiniband/hw/qib/qib_driver.c 		int diff;
diff              384 drivers/infiniband/hw/qib/qib_driver.c 					diff = qib_cmp24(psn, qp->r_psn);
diff              385 drivers/infiniband/hw/qib/qib_driver.c 					if (!qp->r_nak_state && diff >= 0) {
diff              755 drivers/infiniband/hw/qib/qib_rc.c 		int diff;
diff              762 drivers/infiniband/hw/qib/qib_rc.c 		diff = qib_cmp24(psn, wqe->psn);
diff              763 drivers/infiniband/hw/qib/qib_rc.c 		if (diff < 0)
diff              770 drivers/infiniband/hw/qib/qib_rc.c 		if (diff == 0) {
diff             1014 drivers/infiniband/hw/qib/qib_rc.c 	int diff;
diff             1032 drivers/infiniband/hw/qib/qib_rc.c 	while ((diff = qib_cmp24(ack_psn, wqe->lpsn)) >= 0) {
diff             1041 drivers/infiniband/hw/qib/qib_rc.c 		    diff == 0) {
diff             1055 drivers/infiniband/hw/qib/qib_rc.c 		     (opcode != OP(RDMA_READ_RESPONSE_LAST) || diff != 0)) ||
diff             1058 drivers/infiniband/hw/qib/qib_rc.c 		     (opcode != OP(ATOMIC_ACKNOWLEDGE) || diff != 0))) {
diff             1279 drivers/infiniband/hw/qib/qib_rc.c 	int diff;
diff             1316 drivers/infiniband/hw/qib/qib_rc.c 	diff = qib_cmp24(psn, qp->s_last_psn);
diff             1317 drivers/infiniband/hw/qib/qib_rc.c 	if (unlikely(diff <= 0)) {
diff             1319 drivers/infiniband/hw/qib/qib_rc.c 		if (diff == 0 && opcode == OP(ACKNOWLEDGE)) {
diff             1495 drivers/infiniband/hw/qib/qib_rc.c 			    int diff,
diff             1504 drivers/infiniband/hw/qib/qib_rc.c 	if (diff > 0) {
diff             1722 drivers/infiniband/hw/qib/qib_rc.c 	int diff;
diff             1757 drivers/infiniband/hw/qib/qib_rc.c 	diff = qib_cmp24(psn, qp->r_psn);
diff             1758 drivers/infiniband/hw/qib/qib_rc.c 	if (unlikely(diff)) {
diff             1759 drivers/infiniband/hw/qib/qib_rc.c 		if (qib_rc_rcv_error(ohdr, data, qp, opcode, psn, diff, rcd))
diff              201 drivers/infiniband/sw/rxe/rxe_comp.c 	s32 diff;
diff              206 drivers/infiniband/sw/rxe/rxe_comp.c 	diff = psn_compare(pkt->psn, wqe->last_psn);
diff              207 drivers/infiniband/sw/rxe/rxe_comp.c 	if (diff > 0) {
diff              220 drivers/infiniband/sw/rxe/rxe_comp.c 	diff = psn_compare(pkt->psn, qp->comp.psn);
diff              221 drivers/infiniband/sw/rxe/rxe_comp.c 	if (diff < 0) {
diff              229 drivers/infiniband/sw/rxe/rxe_comp.c 	} else if ((diff > 0) && (wqe->mask & WR_ATOMIC_OR_READ_MASK)) {
diff              147 drivers/infiniband/sw/rxe/rxe_resp.c 	int diff = psn_compare(pkt->psn, qp->resp.psn);
diff              152 drivers/infiniband/sw/rxe/rxe_resp.c 		if (diff > 0) {
diff              160 drivers/infiniband/sw/rxe/rxe_resp.c 		} else if (diff < 0) {
diff              171 drivers/infiniband/sw/rxe/rxe_resp.c 		if (qp->resp.drop_msg || diff != 0) {
diff               57 drivers/infiniband/sw/rxe/rxe_verbs.h 	s32 diff;
diff               59 drivers/infiniband/sw/rxe/rxe_verbs.h 	diff = (psn_a - psn_b) << 8;
diff               60 drivers/infiniband/sw/rxe/rxe_verbs.h 	return diff;
diff               37 drivers/input/keyboard/adc-keys.c 	u32 diff, closest = 0xffffffff;
diff               46 drivers/input/keyboard/adc-keys.c 			diff = abs(st->map[i].voltage - value);
diff               47 drivers/input/keyboard/adc-keys.c 			if (diff < closest) {
diff               48 drivers/input/keyboard/adc-keys.c 				closest = diff;
diff              390 drivers/input/keyboard/hil_kbd.c 			int diff = input_abs_get_max(input_dev, ABS_X + i) / 10;
diff              392 drivers/input/keyboard/hil_kbd.c 				input_abs_get_min(input_dev, ABS_X + i) + diff);
diff              394 drivers/input/keyboard/hil_kbd.c 				input_abs_get_max(input_dev, ABS_X + i) - diff);
diff               97 drivers/input/keyboard/sun4i-lradc-keys.c 	u32 i, ints, val, voltage, diff, keycode = 0, closest = 0xffffffff;
diff              116 drivers/input/keyboard/sun4i-lradc-keys.c 			diff = abs(lradc->chan0_map[i].voltage - voltage);
diff              117 drivers/input/keyboard/sun4i-lradc-keys.c 			if (diff < closest) {
diff              118 drivers/input/keyboard/sun4i-lradc-keys.c 				closest = diff;
diff              222 drivers/leds/leds-tca6507.c 	int diff = 65536;
diff              242 drivers/leds/leds-tca6507.c 			if (d >= diff)
diff              247 drivers/leds/leds-tca6507.c 			diff = d;
diff              252 drivers/leds/leds-tca6507.c 	if (diff < 65536) {
diff              415 drivers/leds/leds-tca6507.c 		int diff = 15-level;
diff              430 drivers/leds/leds-tca6507.c 			if (d < diff) {
diff              431 drivers/leds/leds-tca6507.c 				diff = d;
diff               49 drivers/macintosh/via-pmu-backlight.c 		int diff = abs(bl_curve[i] - value);
diff               50 drivers/macintosh/via-pmu-backlight.c 		if (diff < max) {
diff               51 drivers/macintosh/via-pmu-backlight.c 			max = diff;
diff              297 drivers/md/dm-bufio.c 	long diff;
diff              306 drivers/md/dm-bufio.c 	diff = (long)b->c->block_size;
diff              308 drivers/md/dm-bufio.c 		diff = -diff;
diff              312 drivers/md/dm-bufio.c 	*class_ptr[data_mode] += diff;
diff              314 drivers/md/dm-bufio.c 	dm_bufio_current_allocated += diff;
diff             3777 drivers/md/raid10.c 		long long diff;
diff             3796 drivers/md/raid10.c 		diff = (rdev->new_data_offset - rdev->data_offset);
diff             3798 drivers/md/raid10.c 			diff = -diff;
diff             3799 drivers/md/raid10.c 		if (diff < 0)
diff             3800 drivers/md/raid10.c 			diff = 0;
diff             3801 drivers/md/raid10.c 		if (first || diff < min_offset_diff)
diff             3802 drivers/md/raid10.c 			min_offset_diff = diff;
diff             4212 drivers/md/raid10.c 			long long diff = (rdev->new_data_offset
diff             4215 drivers/md/raid10.c 				diff = -diff;
diff             4216 drivers/md/raid10.c 			if (diff < 0)
diff             4217 drivers/md/raid10.c 				diff = 0;
diff             4218 drivers/md/raid10.c 			if (first || diff < min_offset_diff)
diff             4219 drivers/md/raid10.c 				min_offset_diff = diff;
diff             7169 drivers/md/raid5.c 		long long diff;
diff             7177 drivers/md/raid5.c 		diff = (rdev->new_data_offset - rdev->data_offset);
diff             7179 drivers/md/raid5.c 			min_offset_diff = diff;
diff             7182 drivers/md/raid5.c 			 diff < min_offset_diff)
diff             7183 drivers/md/raid5.c 			min_offset_diff = diff;
diff             7185 drivers/md/raid5.c 			 diff > min_offset_diff)
diff             7186 drivers/md/raid5.c 			min_offset_diff = diff;
diff              459 drivers/media/i2c/mt9v111.c 	unsigned int diff;
diff              469 drivers/media/i2c/mt9v111.c 		diff = abs(fps - mt9v111_frame_intervals[i]);
diff              470 drivers/media/i2c/mt9v111.c 		if (diff < best_diff) {
diff              472 drivers/media/i2c/mt9v111.c 			best_diff = diff;
diff              506 drivers/media/i2c/mt9v111.c 			diff = abs(fps - t_fps);
diff              507 drivers/media/i2c/mt9v111.c 			if (diff < best_diff) {
diff              508 drivers/media/i2c/mt9v111.c 				best_diff = diff;
diff              511 drivers/media/i2c/mt9v111.c 				if (diff == 0)
diff              516 drivers/media/i2c/mt9v111.c 		if (diff == 0)
diff              608 drivers/media/i2c/ov772x.c 	unsigned int diff;
diff              615 drivers/media/i2c/ov772x.c 		diff = abs(fps - ov772x_frame_intervals[i]);
diff              616 drivers/media/i2c/ov772x.c 		if (diff < best_diff) {
diff              618 drivers/media/i2c/ov772x.c 			best_diff = diff;
diff              634 drivers/media/i2c/ov772x.c 	unsigned int diff;
diff              687 drivers/media/i2c/ov772x.c 		diff = abs(pclk - t_pclk);
diff              688 drivers/media/i2c/ov772x.c 		if (diff < best_diff) {
diff              689 drivers/media/i2c/ov772x.c 			best_diff = diff;
diff              944 drivers/media/i2c/ov772x.c 		u32 diff = abs(width - ov772x_win_sizes[i].rect.width)
diff              946 drivers/media/i2c/ov772x.c 		if (diff < best_diff) {
diff              947 drivers/media/i2c/ov772x.c 			best_diff = diff;
diff              433 drivers/media/i2c/tw9910.c 	__u32 diff = 0xffffffff, tmp;
diff              449 drivers/media/i2c/tw9910.c 		if (tmp < diff) {
diff              450 drivers/media/i2c/tw9910.c 			diff = tmp;
diff              582 drivers/media/pci/ddbridge/ddbridge-core.c 	s32 diff;
diff              593 drivers/media/pci/ddbridge/ddbridge-core.c 	diff = off - output->dma->coff;
diff              594 drivers/media/pci/ddbridge/ddbridge-core.c 	if (diff <= 0 || diff > (2 * 188))
diff               54 drivers/media/pci/solo6x10/solo6x10-core.c 	long diff;
diff               69 drivers/media/pci/solo6x10/solo6x10-core.c 	diff = (s32)ts.tv_sec - (s32)sec;
diff               70 drivers/media/pci/solo6x10/solo6x10-core.c 	diff = (diff * 1000000)
diff               73 drivers/media/pci/solo6x10/solo6x10-core.c 	if (diff > 1000 || diff < -1000) {
diff               75 drivers/media/pci/solo6x10/solo6x10-core.c 	} else if (diff) {
diff               78 drivers/media/pci/solo6x10/solo6x10-core.c 		usec_lsb -= diff / 4;
diff              370 drivers/media/platform/atmel/atmel-isc-base.c 			int diff;
diff              373 drivers/media/platform/atmel/atmel-isc-base.c 			diff = abs(req->rate - rate);
diff              375 drivers/media/platform/atmel/atmel-isc-base.c 			if (best_diff < 0 || best_diff > diff) {
diff              377 drivers/media/platform/atmel/atmel-isc-base.c 				best_diff = diff;
diff               69 drivers/media/platform/coda/coda-h264.c 	int diff;
diff               71 drivers/media/platform/coda/coda-h264.c 	diff = size - (size & ~0x7);
diff               72 drivers/media/platform/coda/coda-h264.c 	if (diff == 0)
diff               75 drivers/media/platform/coda/coda-h264.c 	nal_size = coda_filler_size[diff];
diff              137 drivers/media/tuners/mt2060.c 	int dia,diamin,diff;
diff              141 drivers/media/tuners/mt2060.c 		diff = I*(int)lo1-J*(int)lo2;
diff              142 drivers/media/tuners/mt2060.c 		if (diff < 0) diff=-diff;
diff              143 drivers/media/tuners/mt2060.c 		dia = (diff-(int)if2);
diff              413 drivers/mfd/sm501.c 	long diff;
diff              422 drivers/mfd/sm501.c 			diff = DIV_ROUND_CLOSEST(mclk, divider << shift) - freq;
diff              423 drivers/mfd/sm501.c 			if (diff < 0)
diff              424 drivers/mfd/sm501.c 				diff = -diff;
diff              427 drivers/mfd/sm501.c 			if (diff < *best_diff) {
diff              428 drivers/mfd/sm501.c 				*best_diff = diff;
diff              655 drivers/mmc/host/alcor.c 	int i, diff = 0x7fffffff, tmp_clock = 0;
diff              675 drivers/mmc/host/alcor.c 		if (tmp_diff < diff) {
diff              676 drivers/mmc/host/alcor.c 			diff = tmp_diff;
diff              126 drivers/mmc/host/renesas_sdhi_core.c 	unsigned int freq, diff, best_freq = 0, diff_min = ~0;
diff              149 drivers/mmc/host/renesas_sdhi_core.c 		diff = new_clock - (freq >> i);
diff              150 drivers/mmc/host/renesas_sdhi_core.c 		if (diff <= diff_min) {
diff              152 drivers/mmc/host/renesas_sdhi_core.c 			diff_min = diff;
diff              489 drivers/mmc/host/sh_mmcif.c 		unsigned int freq, best_freq, myclk, div, diff_min, diff;
diff              507 drivers/mmc/host/sh_mmcif.c 			diff = (myclk > clk) ? myclk - clk : clk - myclk;
diff              509 drivers/mmc/host/sh_mmcif.c 			if (diff <= diff_min) {
diff              512 drivers/mmc/host/sh_mmcif.c 				diff_min = diff;
diff              507 drivers/mtd/nand/raw/atmel/pmecc.c 	int diff;
diff              584 drivers/mtd/nand/raw/atmel/pmecc.c 			diff = (mu[i] - mu[ro]);
diff              587 drivers/mtd/nand/raw/atmel/pmecc.c 			if ((lmu[i] >> 1) > ((lmu[ro] >> 1) + diff))
diff              590 drivers/mtd/nand/raw/atmel/pmecc.c 				lmu[i + 1] = ((lmu[ro] >> 1) + diff) * 2;
diff              608 drivers/mtd/nand/raw/atmel/pmecc.c 				smu[(i + 1) * num + (k + diff)] = a;
diff              181 drivers/mtd/nand/raw/davinci_nand.c 	uint32_t diff = eccCalc ^ eccNand;
diff              183 drivers/mtd/nand/raw/davinci_nand.c 	if (diff) {
diff              184 drivers/mtd/nand/raw/davinci_nand.c 		if ((((diff >> 12) ^ diff) & 0xfff) == 0xfff) {
diff              186 drivers/mtd/nand/raw/davinci_nand.c 			if ((diff >> (12 + 3)) < chip->ecc.size) {
diff              187 drivers/mtd/nand/raw/davinci_nand.c 				dat[diff >> (12 + 3)] ^= BIT((diff >> 12) & 7);
diff              192 drivers/mtd/nand/raw/davinci_nand.c 		} else if (!(diff & (diff - 1))) {
diff              421 drivers/mtd/tests/torturetest.c 	char *diff;
diff              426 drivers/mtd/tests/torturetest.c 		diff = "   ";
diff              430 drivers/mtd/tests/torturetest.c 				diff = "***";
diff              438 drivers/mtd/tests/torturetest.c 		printk("  %s ", diff);
diff              319 drivers/mtd/ubi/wl.c 					  struct rb_root *root, int diff)
diff              326 drivers/mtd/ubi/wl.c 	max = e->ec + diff;
diff              204 drivers/net/dsa/mv88e6xxx/ptp.c 	u32 diff, mult;
diff              215 drivers/net/dsa/mv88e6xxx/ptp.c 	diff = div_u64(adj, ptp_ops->cc_mult_dem);
diff              220 drivers/net/dsa/mv88e6xxx/ptp.c 	chip->tstamp_cc.mult = neg_adj ? mult - diff : mult + diff;
diff              144 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c 	u32 addend, diff;
diff              154 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c 	diff = div_u64(adjust, 1000000000UL);
diff              156 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c 	addend = (neg_adjust) ? pdata->tstamp_addend - diff :
diff              157 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c 				pdata->tstamp_addend + diff;
diff              255 drivers/net/ethernet/broadcom/bnx2.c 	u32 diff;
diff              260 drivers/net/ethernet/broadcom/bnx2.c 	diff = READ_ONCE(txr->tx_prod) - READ_ONCE(txr->tx_cons);
diff              261 drivers/net/ethernet/broadcom/bnx2.c 	if (unlikely(diff >= BNX2_TX_DESC_CNT)) {
diff              262 drivers/net/ethernet/broadcom/bnx2.c 		diff &= 0xffff;
diff              263 drivers/net/ethernet/broadcom/bnx2.c 		if (diff == BNX2_TX_DESC_CNT)
diff              264 drivers/net/ethernet/broadcom/bnx2.c 			diff = BNX2_MAX_TX_DESC_CNT;
diff              266 drivers/net/ethernet/broadcom/bnx2.c 	return bp->tx_ring_size - diff;
diff             1718 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		int diff = msix_vec - rc;
diff             1725 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		bp->num_ethernet_queues -= diff;
diff              556 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 	} diff;
diff              811 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 	} diff;
diff              956 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 		u32 diff;
diff              390 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \
diff              391 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 			diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \
diff              394 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \
diff              395 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		       pstats->mac_stx[1].t##_lo, diff.lo); \
diff              400 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		DIFF_64(diff.hi, new->s##_hi, old->s##_hi, \
diff              401 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 			diff.lo, new->s##_lo, old->s##_lo); \
diff              402 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		ADD_64(estats->t##_hi, diff.hi, \
diff              403 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		       estats->t##_lo, diff.lo); \
diff              413 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h #define ADD_STAT64(diff, t) \
diff              415 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \
diff              416 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		       pstats->mac_stx[1].t##_lo, new->diff##_lo); \
diff              428 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		diff = le##size##_to_cpu(tclient->s) - \
diff              431 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \
diff              439 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		ADD_EXTEND_64(estats->t##_hi, estats->t##_lo, diff); \
diff              444 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		diff = le32_to_cpu(uclient->s) - le32_to_cpu(old_uclient->s); \
diff              446 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \
diff              452 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		ADD_EXTEND_64(estats->t##_hi, estats->t##_lo, diff); \
diff              457 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		diff = le32_to_cpu(xclient->s) - le32_to_cpu(old_xclient->s); \
diff              459 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \
diff              537 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		diff = le32_to_cpu(uclient->s) - le32_to_cpu(old_uclient->s); \
diff              538 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 		SUB_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \
diff             8458 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	u16 diff;
diff             8557 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	diff = link_info->support_auto_speeds ^ link_info->advertising;
diff             8558 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	if ((link_info->support_auto_speeds | diff) !=
diff              105 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	u64 adj, freq, diff;
diff              115 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	diff = div_u64(freq, 1000000000ULL);
diff              118 drivers/net/ethernet/intel/i40e/i40e_ptp.c 		adj = I40E_PTP_40GB_INCVAL - diff;
diff              120 drivers/net/ethernet/intel/i40e/i40e_ptp.c 		adj = I40E_PTP_40GB_INCVAL + diff;
diff              450 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 	u32 diff;
diff              463 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 	diff = div_u64(freq, 1000000000ULL);
diff              465 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 	incval = neg_adj ? (incval - diff) : (incval + diff);
diff              124 drivers/net/ethernet/mellanox/mlx4/en_clock.c 	u32 diff, mult;
diff              137 drivers/net/ethernet/mellanox/mlx4/en_clock.c 	diff = div_u64(adj, 1000000000ULL);
diff              141 drivers/net/ethernet/mellanox/mlx4/en_clock.c 	mdev->cycles.mult = neg_adj ? mult - diff : mult + diff;
diff              196 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 	u32 diff;
diff              209 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 	diff = div_u64(adj, 1000000000ULL);
diff              213 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 	clock->cycles.mult = neg_adj ? clock->nominal_c_mult - diff :
diff              214 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 				       clock->nominal_c_mult + diff;
diff              389 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 				    char *storage, char *output, int diff)
diff              394 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 	__mlxsw_item_set32(output, output_item, 0, value + diff);
diff              156 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	u32 diff;
diff              169 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	diff = div_u64(adj, NSEC_PER_SEC);
diff              173 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	clock->cycles.mult = neg_adj ? clock->nominal_c_mult - diff :
diff              174 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 				       clock->nominal_c_mult + diff;
diff               97 drivers/net/ethernet/renesas/ravb_ptp.c 	u32 diff, addend;
diff              106 drivers/net/ethernet/renesas/ravb_ptp.c 	diff = div_u64((u64)addend * ppb, NSEC_PER_SEC);
diff              108 drivers/net/ethernet/renesas/ravb_ptp.c 	addend = neg_adj ? addend - diff : addend + diff;
diff              447 drivers/net/ethernet/sfc/falcon/nic.h static inline void ef4_update_diff_stat(u64 *stat, u64 diff)
diff              449 drivers/net/ethernet/sfc/falcon/nic.h 	if ((s64)(diff - *stat) > 0)
diff              450 drivers/net/ethernet/sfc/falcon/nic.h 		*stat = diff;
diff              622 drivers/net/ethernet/sfc/nic.h static inline void efx_update_diff_stat(u64 *stat, u64 diff)
diff              624 drivers/net/ethernet/sfc/nic.h 	if ((s64)(diff - *stat) > 0)
diff              625 drivers/net/ethernet/sfc/nic.h 		*stat = diff;
diff             2010 drivers/net/ethernet/sfc/ptp.c 	u32 diff, carry;
diff             2021 drivers/net/ethernet/sfc/ptp.c 	diff = pkt_timestamp_minor - channel->sync_timestamp_minor;
diff             2023 drivers/net/ethernet/sfc/ptp.c 		diff += ptp->nic_time.minor_max;
diff             2026 drivers/net/ethernet/sfc/ptp.c 	carry = (channel->sync_timestamp_minor >= ptp->nic_time.minor_max - diff) ?
diff             2029 drivers/net/ethernet/sfc/ptp.c 	if (diff <= ptp->nic_time.sync_event_diff_max) {
diff             2034 drivers/net/ethernet/sfc/ptp.c 	} else if (diff >= ptp->nic_time.sync_event_diff_min) {
diff               26 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 	u32 diff, addend;
diff               38 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 	diff = div_u64(adj, 1000000000ULL);
diff               39 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 	addend = neg_adj ? (addend - diff) : (addend + diff);
diff              219 drivers/net/ethernet/ti/cpts.c 	u32 diff, mult;
diff              231 drivers/net/ethernet/ti/cpts.c 	diff = div_u64(adj, 1000000000ULL);
diff              237 drivers/net/ethernet/ti/cpts.c 	cpts->cc.mult = neg_adj ? mult - diff : mult + diff;
diff              225 drivers/net/fddi/skfp/hwt.c 	long	diff ;
diff              240 drivers/net/fddi/skfp/hwt.c 			diff = (long)(start - hwt_quick_read(smc)) ;
diff              241 drivers/net/fddi/skfp/hwt.c 			if (diff < 0) {
diff              242 drivers/net/fddi/skfp/hwt.c 				diff += interval ;
diff              244 drivers/net/fddi/skfp/hwt.c 		} while (diff <= duration) ;
diff              247 drivers/net/fddi/skfp/hwt.c 		diff = interval ;
diff              252 drivers/net/fddi/skfp/hwt.c 					diff += interval ;
diff              261 drivers/net/fddi/skfp/hwt.c 		} while (diff <= duration) ;
diff              621 drivers/net/phy/dp83640.c 	s64 now, diff;
diff              712 drivers/net/phy/dp83640.c 		diff = now - (s64) phy2txts(&event_ts);
diff              714 drivers/net/phy/dp83640.c 			    diff);
diff              715 drivers/net/phy/dp83640.c 		diff += ADJTIME_FIX;
diff              716 drivers/net/phy/dp83640.c 		ts = ns_to_timespec64(diff);
diff             2107 drivers/net/vxlan.c 		bool diff;
diff             2109 drivers/net/vxlan.c 		diff = !ether_addr_equal(eth_hdr(skb)->h_dest, n->ha);
diff             2110 drivers/net/vxlan.c 		if (diff) {
diff             2116 drivers/net/vxlan.c 		return diff;
diff             1206 drivers/net/wan/ixp4xx_hss.c 	u32 a, b, diff = 0xFFFFFFFF;
diff             1211 drivers/net/wan/ixp4xx_hss.c 		check_clock(rate, 0x3FF, 1, 1, best, &diff, reg);
diff             1220 drivers/net/wan/ixp4xx_hss.c 		check_clock(rate, a - 1, 1, 1, best, &diff, reg);
diff             1230 drivers/net/wan/ixp4xx_hss.c 			    !check_clock(rate, a - 1, 1, 1, best, &diff, reg))
diff             1232 drivers/net/wan/ixp4xx_hss.c 			check_clock(rate, a, b, 0xFFF, best, &diff, reg);
diff             1235 drivers/net/wan/ixp4xx_hss.c 		if (!check_clock(rate, a, b, c, best, &diff, reg))
diff             1237 drivers/net/wan/ixp4xx_hss.c 		if (!check_clock(rate, a, b, c + 1, best, &diff, reg))
diff              366 drivers/net/wireless/ath/ath9k/eeprom_9287.c 	int16_t diff = 0;
diff              462 drivers/net/wireless/ath/ath9k/eeprom_9287.c 				diff = (u16)(pEepData->baseEepHeader.pwrTableOffset -
diff              464 drivers/net/wireless/ath/ath9k/eeprom_9287.c 				diff *= 2;
diff              466 drivers/net/wireless/ath/ath9k/eeprom_9287.c 				for (j = 0; j < ((u16)AR5416_NUM_PDADC_VALUES-diff); j++)
diff              467 drivers/net/wireless/ath/ath9k/eeprom_9287.c 					pdadcValues[j] = pdadcValues[j+diff];
diff              469 drivers/net/wireless/ath/ath9k/eeprom_9287.c 				for (j = (u16)(AR5416_NUM_PDADC_VALUES-diff);
diff              472 drivers/net/wireless/ath/ath9k/eeprom_9287.c 					  pdadcValues[AR5416_NUM_PDADC_VALUES-diff];
diff              696 drivers/net/wireless/ath/ath9k/eeprom_def.c 				int16_t *diff)
diff              711 drivers/net/wireless/ath/ath9k/eeprom_def.c 			*diff = (u16)(pwr_table_offset - AR5416_PWR_TABLE_OFFSET_DB);
diff              713 drivers/net/wireless/ath/ath9k/eeprom_def.c 			*diff *= 2;
diff              718 drivers/net/wireless/ath/ath9k/eeprom_def.c 				gb[k] = (u16)(gb[k] - *diff);
diff              729 drivers/net/wireless/ath/ath9k/eeprom_def.c 	return *diff;
diff              734 drivers/net/wireless/ath/ath9k/eeprom_def.c 				      int16_t diff,
diff              737 drivers/net/wireless/ath/ath9k/eeprom_def.c #define NUM_PDADC(diff) (AR5416_NUM_PDADC_VALUES - diff)
diff              748 drivers/net/wireless/ath/ath9k/eeprom_def.c 			for (k = 0; k < (u16)NUM_PDADC(diff); k++ ) {
diff              749 drivers/net/wireless/ath/ath9k/eeprom_def.c 				pdadcValues[k] = pdadcValues[k + diff];
diff              753 drivers/net/wireless/ath/ath9k/eeprom_def.c 			for (k = (u16)NUM_PDADC(diff); k < NUM_PDADC(0); k++) {
diff              754 drivers/net/wireless/ath/ath9k/eeprom_def.c 				pdadcValues[k] = pdadcValues[NUM_PDADC(diff)];
diff              775 drivers/net/wireless/ath/ath9k/eeprom_def.c 	int16_t diff = 0;
diff              863 drivers/net/wireless/ath/ath9k/eeprom_def.c 			diff = ath9k_change_gain_boundary_setting(ah,
diff              868 drivers/net/wireless/ath/ath9k/eeprom_def.c 							   &diff);
diff              891 drivers/net/wireless/ath/ath9k/eeprom_def.c 						  diff, pdadcValues);
diff              137 drivers/net/wireless/ath/carl9170/fw.c 	unsigned long fin, diff;
diff              166 drivers/net/wireless/ath/carl9170/fw.c 	diff = fin - (unsigned long) otus_desc;
diff              168 drivers/net/wireless/ath/carl9170/fw.c 	if (diff < len)
diff              169 drivers/net/wireless/ath/carl9170/fw.c 		len -= diff;
diff               25 drivers/net/wireless/broadcom/b43/ppr.c void b43_ppr_add(struct b43_wldev *dev, struct b43_ppr *ppr, int diff)
diff               31 drivers/net/wireless/broadcom/b43/ppr.c 		*rate = clamp_val(*rate + diff, 0, 127);
diff               38 drivers/net/wireless/broadcom/b43/ppr.h void b43_ppr_add(struct b43_wldev *dev, struct b43_ppr *ppr, int diff);
diff              512 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	s64 diff;
diff              519 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	diff = curr_os - curr_gp2;
diff              520 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	pos += scnprintf(buf + pos, bufsz - pos, "diff=%lld\n", diff);
diff              420 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c 	u32 curr_gp2, diff;
diff              426 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c 		diff = curr_gp2 - gp2_ts;
diff              428 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c 		diff = curr_gp2 + (U32_MAX - gp2_ts + 1);
diff              430 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c 	return now_from_boot_ns - (u64)diff * 1000;
diff             2808 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	u32 i, j, diff, simubitmap, bound = 0;
diff             2820 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		diff = (result[c1][i] > result[c2][i]) ?
diff             2823 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		if (diff > MAX_TOLERANCE) {
diff             2862 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	u32 i, j, diff, simubitmap, bound = 0;
diff             2890 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1);
diff             2892 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		if (diff > MAX_TOLERANCE) {
diff             1635 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 	u32 i, j, diff, simularity_bitmap, bound;
diff             1649 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		diff = (result[c1][i] > result[c2][i]) ?
diff             1653 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		if (diff > MAX_TOLERANCE) {
diff             1150 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c 	u32 i, j, diff, simularity_bitmap, bound;
diff             1164 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c 		diff = (result[c1][i] > result[c2][i]) ?
diff             1168 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c 		if (diff > MAX_TOLERANCE) {
diff             1544 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 	u8 tempval[2], i, pwr, diff;
diff             1642 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 			diff = pwrinfo.ht40_2sindexdiff[rfpath][group];
diff             1644 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 				    (pwr > diff) ? (pwr - diff) : 0;
diff             2076 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c 	u32 i, j, diff, sim_bitmap, bound;
diff             2087 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c 		diff = (result[c1][i] > result[c2][i]) ? (result[c1][i] -
diff             2089 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c 		if (diff > MAX_TOLERANCE_92D) {
diff             1170 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 	s8 diff = 0;
diff             1224 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 	diff = (u8)(rtlphy->tx_power_by_rate_offset[band][rf][tx_num][sec] >>
diff             1227 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 	return	diff;
diff             1238 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 	u8 diff = 0;
diff             1270 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 		diff = _rtl92ee_get_txpower_by_rate(hw, BAND_ON_2_4G,
diff             1273 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 	tx_power += diff;
diff             2417 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 	u32 i, j, diff, simularity_bitmap, bound;
diff             2443 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 		diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1);
diff             2445 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 		if (diff > MAX_TOLERANCE) {
diff             1086 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c 	u32 i, j, diff, simularity_bitmap, bound;
diff             1096 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c 		diff = (result[c1][i] > result[c2][i]) ?
diff             1100 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c 		if (diff > MAX_TOLERANCE) {
diff             1929 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c 	u32 i, j, diff, simularity_bitmap, bound = 0;
diff             1955 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c 		diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1);
diff             1957 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c 		if (diff > MAX_TOLERANCE) {
diff              253 drivers/net/wireless/realtek/rtw88/phy.c 	u8 diff;
diff              260 drivers/net/wireless/realtek/rtw88/phy.c 		diff = min_rssi > damping_rssi ? min_rssi - damping_rssi :
diff              262 drivers/net/wireless/realtek/rtw88/phy.c 		if (diff > 3 || dm_info->damping_cnt++ > 20) {
diff              422 drivers/net/wireless/ti/wlcore/main.c 		u8 diff;
diff              426 drivers/net/wireless/ti/wlcore/main.c 		diff = (status->counters.tx_lnk_free_pkts[i] -
diff              429 drivers/net/wireless/ti/wlcore/main.c 		if (diff == 0)
diff              432 drivers/net/wireless/ti/wlcore/main.c 		lnk->allocated_pkts -= diff;
diff              436 drivers/net/wireless/ti/wlcore/main.c 		lnk->total_freed_pkts += diff;
diff              117 drivers/phy/rockchip/phy-rockchip-emmc.c 		unsigned long diff;
diff              137 drivers/phy/rockchip/phy-rockchip-emmc.c 		diff = (rate > ideal_rate) ?
diff              146 drivers/phy/rockchip/phy-rockchip-emmc.c 		if ((rate > 50000000 && diff > 15000000) || (rate > 200000000))
diff             1295 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pinctrl_get_debounce_div(struct clk *clk, int freq, int *diff)
diff             1313 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	*diff = best_diff;
diff              198 drivers/platform/x86/msi-wmi.c 			ktime_t diff = ktime_sub(cur, last_pressed);
diff              201 drivers/platform/x86/msi-wmi.c 			if (ktime_to_us(diff) < 1000 * 50) {
diff              204 drivers/platform/x86/msi-wmi.c 					 key->code, ktime_to_us(diff));
diff              519 drivers/power/supply/charger-manager.c 	int batt_uV, err, diff;
diff              533 drivers/power/supply/charger-manager.c 	diff = desc->fullbatt_uV - batt_uV;
diff              534 drivers/power/supply/charger-manager.c 	if (diff < 0)
diff              537 drivers/power/supply/charger-manager.c 	dev_info(cm->dev, "VBATT dropped %duV after full-batt\n", diff);
diff              539 drivers/power/supply/charger-manager.c 	if (diff > desc->fullbatt_vchkdrop_uV) {
diff              126 drivers/ptp/ptp_ixp46x.c 	u32 diff, addend;
diff              138 drivers/ptp/ptp_ixp46x.c 	diff = div_u64(adj, 1000000000ULL);
diff              140 drivers/ptp/ptp_ixp46x.c 	addend = neg_adj ? addend - diff : addend + diff;
diff              403 drivers/ptp/ptp_pch.c 	u32 diff, addend;
diff              415 drivers/ptp/ptp_pch.c 	diff = div_u64(adj, 1000000000ULL);
diff              417 drivers/ptp/ptp_pch.c 	addend = neg_adj ? addend - diff : addend + diff;
diff              197 drivers/ptp/ptp_qoriq.c 	u64 adj, diff;
diff              214 drivers/ptp/ptp_qoriq.c 	diff = div_u64(adj, 8000000);
diff              215 drivers/ptp/ptp_qoriq.c 	diff = (diff >> 13) + ((diff >> 12) & 1);
diff              217 drivers/ptp/ptp_qoriq.c 	tmr_add = neg_adj ? tmr_add - diff : tmr_add + diff;
diff             3119 drivers/regulator/core.c 	int diff, old_sel, curr_sel, ret;
diff             3132 drivers/regulator/core.c 	diff = new_selector - old_sel;
diff             3133 drivers/regulator/core.c 	if (diff == 0)
diff             3136 drivers/regulator/core.c 	if (diff > 0) {
diff              582 drivers/regulator/max8997-regulator.c 			int diff;
diff              588 drivers/regulator/max8997-regulator.c 			diff = (buckx_val[others])[i] -
diff              590 drivers/regulator/max8997-regulator.c 			if (diff > 0)
diff              591 drivers/regulator/max8997-regulator.c 				side_effect[i] += diff;
diff              592 drivers/regulator/max8997-regulator.c 			else if (diff < 0)
diff              593 drivers/regulator/max8997-regulator.c 				side_effect[i] -= diff;
diff              260 drivers/rtc/rtc-sunxi.c 	time64_t diff;
diff              273 drivers/rtc/rtc-sunxi.c 	diff = rtc_tm_sub(alrm_tm, &tm_now);
diff              274 drivers/rtc/rtc-sunxi.c 	if (diff <= 0) {
diff              279 drivers/rtc/rtc-sunxi.c 	if (diff > 255 * SEC_IN_DAY) {
diff              284 drivers/rtc/rtc-sunxi.c 	time_gap = diff;
diff               80 drivers/s390/cio/blacklist.c 	int diff;
diff               82 drivers/s390/cio/blacklist.c 	diff = 0;
diff               85 drivers/s390/cio/blacklist.c 	while (diff <= max_digit) {
diff               92 drivers/s390/cio/blacklist.c 		diff++;
diff               95 drivers/s390/cio/blacklist.c 	if ((diff < min_digit) || (diff > max_digit) || (*val > max_val))
diff             1480 drivers/s390/cio/qdio_main.c 	int diff;
diff             1496 drivers/s390/cio/qdio_main.c 			diff = add_buf(bufnr, count);
diff             1497 drivers/s390/cio/qdio_main.c 			diff = sub_buf(diff, q->u.in.ack_start);
diff             1498 drivers/s390/cio/qdio_main.c 			q->u.in.ack_count -= diff;
diff             1504 drivers/s390/cio/qdio_main.c 			q->u.in.ack_start = add_buf(q->u.in.ack_start, diff);
diff             1418 drivers/s390/virtio/virtio_ccw.c 	int diff;
diff             1420 drivers/s390/virtio/virtio_ccw.c 	diff = 0;
diff             1423 drivers/s390/virtio/virtio_ccw.c 	while (diff <= max_digit) {
diff             1430 drivers/s390/virtio/virtio_ccw.c 		diff++;
diff             1433 drivers/s390/virtio/virtio_ccw.c 	if ((diff < min_digit) || (diff > max_digit) || (*val > max_val))
diff             5817 drivers/scsi/aic7xxx/aic7xxx_core.c 	uint8_t diff;
diff             5824 drivers/scsi/aic7xxx/aic7xxx_core.c 	diff = ahc->qinfifonext - qinpos;
diff             5825 drivers/scsi/aic7xxx/aic7xxx_core.c 	return (diff);
diff              792 drivers/scsi/arcmsr/arcmsr_hba.c 	char diff, temp;
diff              838 drivers/scsi/arcmsr/arcmsr_hba.c 		diff = (*acb_dev_map) ^ temp;
diff              839 drivers/scsi/arcmsr/arcmsr_hba.c 		if (diff != 0) {
diff              843 drivers/scsi/arcmsr/arcmsr_hba.c 				if ((diff & 0x01) == 1 &&
diff              847 drivers/scsi/arcmsr/arcmsr_hba.c 				} else if ((diff & 0x01) == 1
diff              857 drivers/scsi/arcmsr/arcmsr_hba.c 				diff >>= 1;
diff             2041 drivers/scsi/dc395x.c 			const int diff =
diff             2046 drivers/scsi/dc395x.c 			     diff && scsi_sg_count(srb->cmd))
diff             2048 drivers/scsi/dc395x.c 				(PAGE_SIZE - diff))
diff             2051 drivers/scsi/dc395x.c 					"Work around chip bug (%i)?\n", diff);
diff             2053 drivers/scsi/dc395x.c 				    srb->total_xfer_length - diff;
diff              383 drivers/scsi/megaraid/megaraid_sas_fp.c 			if (le32_to_cpu(quad->diff) == 0)
diff              387 drivers/scsi/megaraid/megaraid_sas_fp.c 				le32_to_cpu(quad->diff))) == 0) {
diff              390 drivers/scsi/megaraid/megaraid_sas_fp.c 					blk =  mega_div64_32((row-le64_to_cpu(quad->logStart)), le32_to_cpu(quad->diff));
diff              446 drivers/scsi/megaraid/megaraid_sas_fp.c 				if (le32_to_cpu(quad->diff) == 0)
diff              451 drivers/scsi/megaraid/megaraid_sas_fp.c 						le32_to_cpu(quad->diff))) == 0) {
diff              456 drivers/scsi/megaraid/megaraid_sas_fp.c 						    le32_to_cpu(quad->diff));
diff              506 drivers/scsi/megaraid/megaraid_sas_fp.c 				span_set->span_row_data_width) * span_set->diff;
diff              568 drivers/scsi/megaraid/megaraid_sas_fp.c 					le32_to_cpu(quad->diff)) == 0) {
diff              572 drivers/scsi/megaraid/megaraid_sas_fp.c 							le32_to_cpu(quad->diff));
diff             1251 drivers/scsi/megaraid/megaraid_sas_fp.c 				span_set->diff = le32_to_cpu(quad->diff);
diff             1269 drivers/scsi/megaraid/megaraid_sas_fp.c 					le64_to_cpu(quad->logStart)) + le32_to_cpu(quad->diff)),
diff             1270 drivers/scsi/megaraid/megaraid_sas_fp.c 					le32_to_cpu(quad->diff));
diff             1287 drivers/scsi/megaraid/megaraid_sas_fp.c 						(span_row * le32_to_cpu(quad->diff)) - 1;
diff             1313 drivers/scsi/megaraid/megaraid_sas_fp.c 						(span_row * le32_to_cpu(quad->diff)) - 1;
diff              743 drivers/scsi/megaraid/megaraid_sas_fusion.h 	__le32     diff;
diff             1130 drivers/scsi/megaraid/megaraid_sas_fusion.h 	u32    diff;
diff               51 drivers/scsi/sym53c8xx_2/sym_glue.c module_param_named(diff, sym_driver_setup.scsi_diff, byte, 0);
diff               65 drivers/scsi/sym53c8xx_2/sym_glue.c MODULE_PARM_DESC(diff, "0 for no differential mode, 1 for BIOS, 2 for always, 3 for not GPIO3");
diff              337 drivers/soc/fsl/qbman/bman.c 	u8 diff, old_ci = rcr->ci;
diff              342 drivers/soc/fsl/qbman/bman.c 	diff = dpaa_cyc_diff(BM_RCR_SIZE, old_ci, rcr->ci);
diff              343 drivers/soc/fsl/qbman/bman.c 	rcr->available += diff;
diff              344 drivers/soc/fsl/qbman/bman.c 	return diff;
diff              492 drivers/soc/fsl/qbman/qman.c 	u8 diff, old_ci;
diff              499 drivers/soc/fsl/qbman/qman.c 		diff = dpaa_cyc_diff(QM_EQCR_SIZE, old_ci, eqcr->ci);
diff              500 drivers/soc/fsl/qbman/qman.c 		eqcr->available += diff;
diff              501 drivers/soc/fsl/qbman/qman.c 		if (!diff)
diff              544 drivers/soc/fsl/qbman/qman.c 	u8 diff, old_ci = eqcr->ci;
diff              548 drivers/soc/fsl/qbman/qman.c 	diff = dpaa_cyc_diff(QM_EQCR_SIZE, old_ci, eqcr->ci);
diff              549 drivers/soc/fsl/qbman/qman.c 	eqcr->available += diff;
diff              550 drivers/soc/fsl/qbman/qman.c 	return diff;
diff             2081 drivers/staging/comedi/drivers/amplc_pci230.c 	unsigned int i, chan, range, diff;
diff             2134 drivers/staging/comedi/drivers/amplc_pci230.c 		diff = 1;
diff             2138 drivers/staging/comedi/drivers/amplc_pci230.c 		diff = 0;
diff             2154 drivers/staging/comedi/drivers/amplc_pci230.c 		if (diff) {
diff              878 drivers/staging/rtl8188eu/hal/phy.c 	u32 i, j, diff, sim_bitmap = 0, bound;
diff              901 drivers/staging/rtl8188eu/hal/phy.c 		diff = abs(tmp1 - tmp2);
diff              903 drivers/staging/rtl8188eu/hal/phy.c 		if (diff > MAX_TOLERANCE) {
diff             1405 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c 	u32 i, j, diff, SimularityBitMap, bound = 0;
diff             1435 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c 		diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1);
diff             1437 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c 		if (diff > MAX_TOLERANCE) {
diff              366 drivers/staging/sm750fb/ddk750_chip.c 				unsigned int diff;
diff              369 drivers/staging/sm750fb/ddk750_chip.c 				diff = abs(tmp_clock - request_orig);
diff              370 drivers/staging/sm750fb/ddk750_chip.c 				if (diff < mini_diff) {
diff              377 drivers/staging/sm750fb/ddk750_chip.c 					mini_diff = diff;
diff              616 drivers/target/target_core_user.c 	int diff = head - tail;
diff              618 drivers/target/target_core_user.c 	if (diff >= 0)
diff              619 drivers/target/target_core_user.c 		return diff;
diff              621 drivers/target/target_core_user.c 		return size + diff;
diff              209 drivers/tty/serial/ar933x_uart.c 		int diff;
diff              218 drivers/tty/serial/ar933x_uart.c 		diff = abs(ar933x_uart_get_baud(clk, tscale, tstep) - baud);
diff              219 drivers/tty/serial/ar933x_uart.c 		if (diff < min_diff) {
diff              220 drivers/tty/serial/ar933x_uart.c 			min_diff = diff;
diff             1037 drivers/tty/serial/msm_serial.c 	unsigned long target, old, best_rate = 0, diff, best_diff = ULONG_MAX;
diff             1067 drivers/tty/serial/msm_serial.c 			diff = abs(result - baud);
diff             1070 drivers/tty/serial/msm_serial.c 			if (diff < best_diff) {
diff             1071 drivers/tty/serial/msm_serial.c 				best_diff = diff;
diff              361 drivers/tty/serial/serial-tegra.c 	long diff;
diff              363 drivers/tty/serial/serial-tegra.c 	diff = ((long)(tup->configured_rate - tup->required_rate) * 10000)
diff              365 drivers/tty/serial/serial-tegra.c 	if (diff < (tup->cdata->error_tolerance_low_range * 100) ||
diff              366 drivers/tty/serial/serial-tegra.c 	    diff > (tup->cdata->error_tolerance_high_range * 100)) {
diff              368 drivers/tty/serial/serial-tegra.c 			"configured baud rate is out of range by %ld", diff);
diff              637 drivers/usb/dwc2/hcd.h 	u16 diff = fr_idx1 - fr_idx2;
diff              638 drivers/usb/dwc2/hcd.h 	u16 sign = diff & (FRLISTEN_64_SIZE >> 1);
diff              640 drivers/usb/dwc2/hcd.h 	return diff && !sign;
diff              879 drivers/usb/host/isp1362-hcd.c 		s16 diff = fno - (u16)urb->start_frame;
diff              883 drivers/usb/host/isp1362-hcd.c 		if (diff > urb->number_of_packets) {
diff              887 drivers/usb/host/isp1362-hcd.c 		} else if (diff < -1) {
diff              893 drivers/usb/host/isp1362-hcd.c 		} else if (diff == -1) {
diff             2059 drivers/usb/host/r8a66597-hcd.c 	unsigned long diff;
diff             2063 drivers/usb/host/r8a66597-hcd.c 		diff = r8a66597->child_connect_map[i] ^ map[i];
diff             2064 drivers/usb/host/r8a66597-hcd.c 		if (!diff)
diff             2068 drivers/usb/host/r8a66597-hcd.c 			if (!(diff & (1 << j)))
diff             2049 drivers/usb/musb/musb_host.c 		int	diff;
diff             2058 drivers/usb/musb/musb_host.c 			diff = hw_ep->max_packet_sz_rx;
diff             2060 drivers/usb/musb/musb_host.c 			diff = hw_ep->max_packet_sz_tx;
diff             2061 drivers/usb/musb/musb_host.c 		diff -= (qh->maxpacket * qh->hb_mult);
diff             2063 drivers/usb/musb/musb_host.c 		if (diff >= 0 && best_diff > diff) {
diff             2085 drivers/usb/musb/musb_host.c 			best_diff = diff;
diff             1944 drivers/usb/serial/keyspan.c 		diff,	/* error using 13/8 prescaler */
diff             1973 drivers/usb/serial/keyspan.c 		diff = (res > b16) ? (res-b16) : (b16-res);
diff             1975 drivers/usb/serial/keyspan.c 		if (diff < smallest_diff) {
diff             1977 drivers/usb/serial/keyspan.c 			smallest_diff = diff;
diff              338 drivers/video/console/vgacon.c 		int diff = c->vc_rows - count;
diff              354 drivers/video/console/vgacon.c 		if (diff)
diff              355 drivers/video/console/vgacon.c 			scr_memcpyw(d, s, diff * c->vc_size_row);
diff              616 drivers/video/fbdev/aty/mach64_gx.c 	u32 tempA, tempB, fOut, longMHz100, diff, preDiff;
diff              650 drivers/video/fbdev/aty/mach64_gx.c 		diff = 0;
diff              662 drivers/video/fbdev/aty/mach64_gx.c 					diff = longMHz100 - fOut;
diff              664 drivers/video/fbdev/aty/mach64_gx.c 					diff = fOut - longMHz100;
diff              666 drivers/video/fbdev/aty/mach64_gx.c 				if (diff < preDiff) {
diff              669 drivers/video/fbdev/aty/mach64_gx.c 					preDiff = diff;
diff             1071 drivers/video/fbdev/au1200fb.c 		int diff = AU1200_LCD_MAX_CLK % pixclock;
diff             1072 drivers/video/fbdev/au1200fb.c 		pixclock -= diff;
diff             2741 drivers/video/fbdev/cirrusfb.c 	long h, diff;
diff             2754 drivers/video/fbdev/cirrusfb.c 	diff = freq;
diff             2769 drivers/video/fbdev/cirrusfb.c 			if (h < diff) {
diff             2770 drivers/video/fbdev/cirrusfb.c 				diff = h;
diff             2784 drivers/video/fbdev/cirrusfb.c 			if (h < diff) {
diff             2785 drivers/video/fbdev/cirrusfb.c 				diff = h;
diff              648 drivers/video/fbdev/core/modedb.c 		u32 best, diff, tdiff;
diff              770 drivers/video/fbdev/core/modedb.c 		diff = -1;
diff              789 drivers/video/fbdev/core/modedb.c 				if (score < diff) {
diff              790 drivers/video/fbdev/core/modedb.c 					diff = score;
diff              800 drivers/video/fbdev/core/modedb.c 		diff = 2 * (xres + yres);
diff              816 drivers/video/fbdev/core/modedb.c 				if (diff > tdiff) {
diff              817 drivers/video/fbdev/core/modedb.c 					diff = tdiff;
diff              960 drivers/video/fbdev/core/modedb.c 	u32 diff = -1;
diff              971 drivers/video/fbdev/core/modedb.c 			if (diff > d) {
diff              972 drivers/video/fbdev/core/modedb.c 				diff = d;
diff              974 drivers/video/fbdev/core/modedb.c 			} else if (diff == d && best &&
diff              998 drivers/video/fbdev/core/modedb.c 	u32 diff = -1, diff_refresh = -1;
diff             1008 drivers/video/fbdev/core/modedb.c 		if (diff > d) {
diff             1009 drivers/video/fbdev/core/modedb.c 			diff = d;
diff             1012 drivers/video/fbdev/core/modedb.c 		} else if (diff == d) {
diff              700 drivers/video/fbdev/cyber2000fb.c 		int diff;
diff              719 drivers/video/fbdev/cyber2000fb.c 		diff = pll_ps - t_pll_ps;
diff              720 drivers/video/fbdev/cyber2000fb.c 		if (diff < 0)
diff              721 drivers/video/fbdev/cyber2000fb.c 			diff = -diff;
diff              723 drivers/video/fbdev/cyber2000fb.c 		if (diff < best_diff) {
diff              724 drivers/video/fbdev/cyber2000fb.c 			best_diff = diff;
diff              732 drivers/video/fbdev/cyber2000fb.c 		if (diff == 0)
diff              162 drivers/video/fbdev/geode/lxfb_ops.c 	unsigned int diff, min, best = 0;
diff              170 drivers/video/fbdev/geode/lxfb_ops.c 		diff = abs(pll_table[i].freq - freq);
diff              171 drivers/video/fbdev/geode/lxfb_ops.c 		if (diff < min) {
diff              172 drivers/video/fbdev/geode/lxfb_ops.c 			min = diff;
diff               73 drivers/video/fbdev/geode/video_cs5530.c 	long min, diff;
diff               80 drivers/video/fbdev/geode/video_cs5530.c 		diff = cs5530_pll_table[i].pixclock - info->var.pixclock;
diff               81 drivers/video/fbdev/geode/video_cs5530.c 		if (diff < 0L) diff = -diff;
diff               82 drivers/video/fbdev/geode/video_cs5530.c 		if (diff < min) {
diff               83 drivers/video/fbdev/geode/video_cs5530.c 			min = diff;
diff              121 drivers/video/fbdev/geode/video_gx.c 	long min, diff;
diff              138 drivers/video/fbdev/geode/video_gx.c 		diff = abs(pll_table[i].pixclock - info->var.pixclock);
diff              139 drivers/video/fbdev/geode/video_gx.c 		if (diff < min) {
diff              140 drivers/video/fbdev/geode/video_gx.c 			min = diff;
diff              217 drivers/video/fbdev/i810/i810_dvt.c 	u32 diff = 0, diff_best = 0xFFFFFFFF, i = 0, i_best = 0; 
diff              223 drivers/video/fbdev/i810/i810_dvt.c 				diff = pixclock - std_modes[i].pixclock;
diff              224 drivers/video/fbdev/i810/i810_dvt.c 			if (diff < diff_best) {	 
diff              226 drivers/video/fbdev/i810/i810_dvt.c 		    		diff_best = diff;
diff              228 drivers/video/fbdev/i810/i810_gtf.c 	u32 i, size = 0, pixclock, wm_best = 0, min, diff;
diff              266 drivers/video/fbdev/i810/i810_gtf.c 			diff = wmark[i].freq - pixclock;
diff              268 drivers/video/fbdev/i810/i810_gtf.c 			diff = pixclock - wmark[i].freq;
diff              269 drivers/video/fbdev/i810/i810_gtf.c 		if (diff < min) {
diff              271 drivers/video/fbdev/i810/i810_gtf.c 			min = diff;
diff              710 drivers/video/fbdev/i810/i810_main.c 	u32 f_out, target_freq, diff = 0, mod_min, diff_min;
diff              737 drivers/video/fbdev/i810/i810_main.c 			diff = target_freq - f_out;
diff              740 drivers/video/fbdev/i810/i810_main.c 			diff = f_out - target_freq;
diff              743 drivers/video/fbdev/i810/i810_main.c 		if (diff_min > diff) {
diff              744 drivers/video/fbdev/i810/i810_main.c 			diff_min = diff;
diff              749 drivers/video/fbdev/i810/i810_main.c 		if (!diff && mod_min > mod) {
diff              740 drivers/video/fbdev/matrox/matroxfb_maven.c 			unsigned int diff = h - h2;
diff              742 drivers/video/fbdev/matrox/matroxfb_maven.c 			if (diff < err) {
diff              743 drivers/video/fbdev/matrox/matroxfb_maven.c 				err = diff;
diff              164 drivers/video/fbdev/matrox/matroxfb_misc.c 			unsigned int diff, fvco;
diff              174 drivers/video/fbdev/matrox/matroxfb_misc.c 				diff = fwant - fvco;
diff              176 drivers/video/fbdev/matrox/matroxfb_misc.c 				diff = fvco - fwant;
diff              177 drivers/video/fbdev/matrox/matroxfb_misc.c 			if (diff < bestdiff) {
diff              178 drivers/video/fbdev/matrox/matroxfb_misc.c 				bestdiff = diff;
diff              336 drivers/video/fbdev/ps3fb.c 	int diff, best_diff;
diff              347 drivers/video/fbdev/ps3fb.c 		diff = ps3fb_cmp_mode(vmode, var);
diff              351 drivers/video/fbdev/ps3fb.c 			 vmode->yres, vmode->lower_margin, diff);
diff              352 drivers/video/fbdev/ps3fb.c 		if (diff < 0)
diff              354 drivers/video/fbdev/ps3fb.c 		if (diff < best_diff) {
diff              356 drivers/video/fbdev/ps3fb.c 			if (!diff)
diff              358 drivers/video/fbdev/ps3fb.c 			best_diff = diff;
diff              420 drivers/video/fbdev/savage/savagefb_driver.c 	long diff, best_diff;
diff              444 drivers/video/fbdev/savage/savagefb_driver.c 				diff = freq * (1 << n2) * n1 - BASE_FREQ * m;
diff              445 drivers/video/fbdev/savage/savagefb_driver.c 				if (diff < 0)
diff              446 drivers/video/fbdev/savage/savagefb_driver.c 					diff = -diff;
diff              447 drivers/video/fbdev/savage/savagefb_driver.c 				if (diff < best_diff) {
diff              448 drivers/video/fbdev/savage/savagefb_driver.c 					best_diff = diff;
diff              467 drivers/video/fbdev/savage/savagefb_driver.c 	long diff, best_diff;
diff              482 drivers/video/fbdev/savage/savagefb_driver.c 				diff = freq * (1 << n2) * n1 - BASE_FREQ * m;
diff              483 drivers/video/fbdev/savage/savagefb_driver.c 				if (diff < 0)
diff              484 drivers/video/fbdev/savage/savagefb_driver.c 					diff = -diff;
diff              485 drivers/video/fbdev/savage/savagefb_driver.c 				if (diff < best_diff) {
diff              486 drivers/video/fbdev/savage/savagefb_driver.c 					best_diff = diff;
diff               91 drivers/video/fbdev/vermilion/cr_pll.c 	int diff;
diff               96 drivers/video/fbdev/vermilion/cr_pll.c 		diff = clock - crvml_clocks[i];
diff               97 drivers/video/fbdev/vermilion/cr_pll.c 		diff = (diff < 0) ? -diff : diff;
diff               98 drivers/video/fbdev/vermilion/cr_pll.c 		if (diff < cur_diff) {
diff              100 drivers/video/fbdev/vermilion/cr_pll.c 			cur_diff = diff;
diff              567 drivers/video/fbdev/vermilion/vermilion.c 	int diff;
diff              573 drivers/video/fbdev/vermilion/vermilion.c 		diff = clock - vml_clocks[i];
diff              574 drivers/video/fbdev/vermilion/vermilion.c 		diff = (diff < 0) ? -diff : diff;
diff              575 drivers/video/fbdev/vermilion/vermilion.c 		if (diff < cur_diff) {
diff              577 drivers/video/fbdev/vermilion/vermilion.c 			cur_diff = diff;
diff              444 drivers/virtio/virtio_balloon.c 	s64 diff;
diff              448 drivers/virtio/virtio_balloon.c 	diff = towards_target(vb);
diff              450 drivers/virtio/virtio_balloon.c 	if (!diff)
diff              453 drivers/virtio/virtio_balloon.c 	if (diff > 0)
diff              454 drivers/virtio/virtio_balloon.c 		diff -= fill_balloon(vb, diff);
diff              456 drivers/virtio/virtio_balloon.c 		diff += leak_balloon(vb, -diff);
diff              459 drivers/virtio/virtio_balloon.c 	if (diff)
diff              318 fs/afs/addr_list.c 	int i, diff;
diff              327 fs/afs/addr_list.c 		diff = memcmp(xdr, &a->sin6_addr, 16);
diff              328 fs/afs/addr_list.c 		if (diff == 0 && port == a_port)
diff              330 fs/afs/addr_list.c 		if (diff == 0 && port < a_port)
diff              332 fs/afs/addr_list.c 		if (diff < 0)
diff               38 fs/afs/server.c 	int seq = 0, diff;
diff               54 fs/afs/server.c 					diff = ((u16 __force)a->sin6_port -
diff               56 fs/afs/server.c 					if (diff == 0)
diff               57 fs/afs/server.c 						diff = memcmp(&a->sin6_addr,
diff               60 fs/afs/server.c 					if (diff == 0)
diff               70 fs/afs/server.c 					diff = ((u16 __force)a->sin_port -
diff               72 fs/afs/server.c 					if (diff == 0)
diff               73 fs/afs/server.c 						diff = ((u32 __force)a->sin_addr.s_addr -
diff               75 fs/afs/server.c 					if (diff == 0)
diff              101 fs/afs/server.c 	int diff, seq = 0;
diff              120 fs/afs/server.c 			diff = memcmp(uuid, &server->uuid, sizeof(*uuid));
diff              121 fs/afs/server.c 			if (diff < 0) {
diff              123 fs/afs/server.c 			} else if (diff > 0) {
diff              149 fs/afs/server.c 	int ret = -EEXIST, diff;
diff              162 fs/afs/server.c 		diff = memcmp(&candidate->uuid, &server->uuid, sizeof(uuid_t));
diff              163 fs/afs/server.c 		if (diff < 0)
diff              165 fs/afs/server.c 		else if (diff > 0)
diff              574 fs/afs/server.c 	long diff;
diff              583 fs/afs/server.c 	diff = READ_ONCE(server->update_at) - now;
diff              584 fs/afs/server.c 	if (diff > 0) {
diff              585 fs/afs/server.c 		_leave(" = t [not now %ld]", diff);
diff              167 fs/btrfs/file-item.c 	u32 diff;
diff              265 fs/btrfs/file-item.c 		diff = disk_bytenr - item_start_offset;
diff              266 fs/btrfs/file-item.c 		diff = diff / fs_info->sectorsize;
diff              267 fs/btrfs/file-item.c 		diff = diff * csum_size;
diff              271 fs/btrfs/file-item.c 				   ((unsigned long)item) + diff,
diff              849 fs/btrfs/file-item.c 		u32 diff;
diff              863 fs/btrfs/file-item.c 		diff = (csum_offset + extend_nr) * csum_size;
diff              864 fs/btrfs/file-item.c 		diff = min(diff,
diff              867 fs/btrfs/file-item.c 		diff = diff - btrfs_item_size_nr(leaf, path->slots[0]);
diff              868 fs/btrfs/file-item.c 		diff = min(free_space, diff);
diff              869 fs/btrfs/file-item.c 		diff /= csum_size;
diff              870 fs/btrfs/file-item.c 		diff *= csum_size;
diff              872 fs/btrfs/file-item.c 		btrfs_extend_item(path, diff);
diff              679 fs/btrfs/file.c 			u64 diff = start + len - em->start;
diff              700 fs/btrfs/file.c 						+ diff;
diff             2862 fs/btrfs/volumes.c 	u64 diff;
diff             2871 fs/btrfs/volumes.c 	diff = round_down(new_size - device->total_bytes, fs_info->sectorsize);
diff             2880 fs/btrfs/volumes.c 			round_down(old_total + diff, fs_info->sectorsize));
diff             2881 fs/btrfs/volumes.c 	device->fs_devices->total_rw_bytes += diff;
diff             4733 fs/btrfs/volumes.c 	u64 diff;
diff             4738 fs/btrfs/volumes.c 	diff = round_down(old_size - new_size, fs_info->sectorsize);
diff             4759 fs/btrfs/volumes.c 		device->fs_devices->total_rw_bytes -= diff;
diff             4760 fs/btrfs/volumes.c 		atomic64_sub(diff, &fs_info->free_chunk_space);
diff             4768 fs/btrfs/volumes.c 	if (contains_pending_extent(device, &start, diff)) {
diff             4872 fs/btrfs/volumes.c 	WARN_ON(diff > old_total);
diff             4874 fs/btrfs/volumes.c 			round_down(old_total - diff, fs_info->sectorsize));
diff             4891 fs/btrfs/volumes.c 			device->fs_devices->total_rw_bytes += diff;
diff             4892 fs/btrfs/volumes.c 		atomic64_add(diff, &fs_info->free_chunk_space);
diff              112 fs/erofs/namei.c 			int diff;
diff              138 fs/erofs/namei.c 			diff = erofs_dirnamecmp(name, &dname, &matched);
diff              141 fs/erofs/namei.c 			if (!diff) {
diff              144 fs/erofs/namei.c 			} else if (diff > 0) {
diff              186 fs/exec.c      	long diff = (long)(pages - bprm->vma_pages);
diff              188 fs/exec.c      	if (!mm || !diff)
diff              192 fs/exec.c      	add_mm_counter(mm, MM_ANONPAGES, diff);
diff              120 fs/ext4/ioctl.c 	qsize_t size, size_bl, diff;
diff              195 fs/ext4/ioctl.c 	diff = size - size_bl;
diff              233 fs/ext4/ioctl.c 	if (diff > 0)
diff              234 fs/ext4/ioctl.c 		dquot_free_space(inode, diff);
diff              236 fs/ext4/ioctl.c 		err = dquot_alloc_space(inode, -1 * diff);
diff              144 fs/ext4/mmp.c  	unsigned long diff;
diff              192 fs/ext4/mmp.c  		diff = jiffies - last_update_time;
diff              193 fs/ext4/mmp.c  		if (diff < mmp_update_interval * HZ)
diff              195 fs/ext4/mmp.c  						       HZ - diff);
diff              202 fs/ext4/mmp.c  		diff = jiffies - last_update_time;
diff              203 fs/ext4/mmp.c  		if (diff > mmp_check_interval * HZ) {
diff              234 fs/ext4/mmp.c  		mmp_check_interval = max(min(EXT4_MMP_CHECK_MULT * diff / HZ,
diff              334 fs/f2fs/checkpoint.c 	long diff, written;
diff              350 fs/f2fs/checkpoint.c 	diff = nr_pages_to_write(sbi, META, wbc);
diff              353 fs/f2fs/checkpoint.c 	wbc->nr_to_write = max((long)0, wbc->nr_to_write - written - diff);
diff             1768 fs/f2fs/f2fs.h 	blkcnt_t diff = 0, release = 0;
diff             1802 fs/f2fs/f2fs.h 		diff = sbi->total_valid_block_count - avail_user_block_count;
diff             1803 fs/f2fs/f2fs.h 		if (diff > *count)
diff             1804 fs/f2fs/f2fs.h 			diff = *count;
diff             1805 fs/f2fs/f2fs.h 		*count -= diff;
diff             1806 fs/f2fs/f2fs.h 		release = diff;
diff             1807 fs/f2fs/f2fs.h 		sbi->total_valid_block_count -= diff;
diff             2498 fs/f2fs/f2fs.h 					block_t diff, bool add, bool claim)
diff             2506 fs/f2fs/f2fs.h 			dquot_claim_block(inode, diff);
diff             2508 fs/f2fs/f2fs.h 			dquot_alloc_block_nofail(inode, diff);
diff             2510 fs/f2fs/f2fs.h 		dquot_free_block(inode, diff);
diff             1977 fs/f2fs/node.c 	long diff;
diff             1998 fs/f2fs/node.c 	diff = nr_pages_to_write(sbi, NODE, wbc);
diff             2002 fs/f2fs/node.c 	wbc->nr_to_write = max((long)0, wbc->nr_to_write - diff);
diff              766 fs/f2fs/segment.h 	time64_t diff, now = ktime_get_real_seconds();
diff              773 fs/f2fs/segment.h 		diff = sit_i->mounted_time - now;
diff              774 fs/f2fs/segment.h 		if (sit_i->elapsed_time >= diff)
diff              775 fs/f2fs/segment.h 			return sit_i->elapsed_time - diff;
diff             1329 fs/gfs2/rgrp.c 	u8 diff;
diff             1337 fs/gfs2/rgrp.c 			diff = ~(*orig | (*orig >> 1)) & (*clone | (*clone >> 1));
diff             1339 fs/gfs2/rgrp.c 			diff = ~(*clone | (*clone >> 1));
diff             1341 fs/gfs2/rgrp.c 		diff &= 0x55;
diff             1342 fs/gfs2/rgrp.c 		if (diff == 0)
diff             1345 fs/gfs2/rgrp.c 		while(diff) {
diff             1346 fs/gfs2/rgrp.c 			if (diff & 1) {
diff             1364 fs/gfs2/rgrp.c 			diff >>= 2;
diff              356 fs/hfs/brec.c  	int newkeylen, diff;
diff              386 fs/hfs/brec.c  	diff = newkeylen - fd->keylength;
diff              387 fs/hfs/brec.c  	if (!diff)
diff              389 fs/hfs/brec.c  	if (diff > 0) {
diff              391 fs/hfs/brec.c  		if (end_rec_off - end_off < diff) {
diff              406 fs/hfs/brec.c  	hfs_bnode_write_u16(parent, rec_off, start_off + diff);
diff              412 fs/hfs/brec.c  		hfs_bnode_write_u16(parent, rec_off, end_off + diff);
diff              414 fs/hfs/brec.c  	hfs_bnode_move(parent, start_off + diff, start_off,
diff               19 fs/hfs/sysdep.c 	int diff;
diff               29 fs/hfs/sysdep.c 	diff = sys_tz.tz_minuteswest * 60 - HFS_I(inode)->tz_secondswest;
diff               30 fs/hfs/sysdep.c 	if (diff) {
diff               31 fs/hfs/sysdep.c 		inode->i_ctime.tv_sec += diff;
diff               32 fs/hfs/sysdep.c 		inode->i_atime.tv_sec += diff;
diff               33 fs/hfs/sysdep.c 		inode->i_mtime.tv_sec += diff;
diff               34 fs/hfs/sysdep.c 		HFS_I(inode)->tz_secondswest += diff;
diff              360 fs/hfsplus/brec.c 	int newkeylen, diff;
diff              391 fs/hfsplus/brec.c 	diff = newkeylen - fd->keylength;
diff              392 fs/hfsplus/brec.c 	if (!diff)
diff              394 fs/hfsplus/brec.c 	if (diff > 0) {
diff              396 fs/hfsplus/brec.c 		if (end_rec_off - end_off < diff) {
diff              412 fs/hfsplus/brec.c 	hfs_bnode_write_u16(parent, rec_off, start_off + diff);
diff              418 fs/hfsplus/brec.c 		hfs_bnode_write_u16(parent, rec_off, end_off + diff);
diff              420 fs/hfsplus/brec.c 	hfs_bnode_move(parent, start_off + diff, start_off,
diff             1021 fs/io_uring.c  		int diff = state->has_refs - state->used_refs;
diff             1023 fs/io_uring.c  		if (diff)
diff             1024 fs/io_uring.c  			fput_many(state->file, diff);
diff              483 fs/jfs/jfs_logmgr.h #define logdiff(diff, lsn, log)\
diff              485 fs/jfs/jfs_logmgr.h 	diff = (lsn) - (log)->syncpt;\
diff              486 fs/jfs/jfs_logmgr.h 	if (diff < 0)\
diff              487 fs/jfs/jfs_logmgr.h 		diff += (log)->logsize;\
diff              286 fs/nfs/blocklayout/extent_tree.c 			sector_t diff = new->be_length - new_len;
diff              288 fs/nfs/blocklayout/extent_tree.c 			new->be_f_offset += diff;
diff              289 fs/nfs/blocklayout/extent_tree.c 			new->be_v_offset += diff;
diff              299 fs/nfs/blocklayout/extent_tree.c 		sector_t diff = new->be_length - new_len;
diff              311 fs/nfs/blocklayout/extent_tree.c 		new->be_f_offset += diff;
diff              312 fs/nfs/blocklayout/extent_tree.c 		new->be_v_offset += diff;
diff              436 fs/nfs/blocklayout/extent_tree.c 				sector_t diff = start - be->be_f_offset;
diff              438 fs/nfs/blocklayout/extent_tree.c 				left->be_length += diff;
diff              440 fs/nfs/blocklayout/extent_tree.c 				be->be_f_offset += diff;
diff              441 fs/nfs/blocklayout/extent_tree.c 				be->be_v_offset += diff;
diff              442 fs/nfs/blocklayout/extent_tree.c 				be->be_length -= diff;
diff              454 fs/nfs/blocklayout/extent_tree.c 				sector_t diff = end - be->be_f_offset;
diff              456 fs/nfs/blocklayout/extent_tree.c 				be->be_length -= diff;
diff              458 fs/nfs/blocklayout/extent_tree.c 				right->be_f_offset -= diff;
diff              459 fs/nfs/blocklayout/extent_tree.c 				right->be_v_offset -= diff;
diff              460 fs/nfs/blocklayout/extent_tree.c 				right->be_length += diff;
diff              245 fs/nfs/dir.c   	loff_t diff = desc->ctx->pos - desc->current_index;
diff              248 fs/nfs/dir.c   	if (diff < 0)
diff              250 fs/nfs/dir.c   	if (diff >= array->size) {
diff              256 fs/nfs/dir.c   	index = (unsigned int)diff;
diff             2253 fs/nfs/dir.c   	unsigned long diff;
diff             2259 fs/nfs/dir.c   	diff = nr_entries - nfs_access_max_cachesize;
diff             2260 fs/nfs/dir.c   	if (diff < nr_to_scan)
diff             2261 fs/nfs/dir.c   		nr_to_scan = diff;
diff              117 fs/nfs/fscache.c 	int diff;
diff              159 fs/nfs/fscache.c 		diff = memcmp(&key->key, &xkey->key, sizeof(key->key));
diff              160 fs/nfs/fscache.c 		if (diff < 0)
diff              162 fs/nfs/fscache.c 		if (diff > 0)
diff              167 fs/nfs/fscache.c 		diff = memcmp(key->key.uniquifier,
diff              170 fs/nfs/fscache.c 		if (diff < 0)
diff              172 fs/nfs/fscache.c 		if (diff > 0)
diff              458 fs/nilfs2/bmap.c 	__s64 diff;
diff              460 fs/nilfs2/bmap.c 	diff = key - bmap->b_last_allocated_key;
diff              461 fs/nilfs2/bmap.c 	if ((nilfs_bmap_keydiff_abs(diff) < NILFS_INODE_BMAP_SIZE) &&
diff              463 fs/nilfs2/bmap.c 	    (bmap->b_last_allocated_ptr + diff > 0))
diff              464 fs/nilfs2/bmap.c 		return bmap->b_last_allocated_ptr + diff;
diff               22 fs/nilfs2/bmap.h #define nilfs_bmap_keydiff_abs(diff)	((diff) < 0 ? -(diff) : (diff))
diff              357 fs/pstore/platform.c 	size_t diff;
diff              362 fs/pstore/platform.c 		diff = total_len - psinfo->bufsize + hsize;
diff              364 fs/pstore/platform.c 		memcpy(psinfo->buf + hsize, big_oops_buf + diff,
diff              263 fs/xfs/libxfs/xfs_alloc.c 	xfs_extlen_t	diff;
diff              274 fs/xfs/libxfs/xfs_alloc.c 		diff = args->min_agbno - bno;
diff              275 fs/xfs/libxfs/xfs_alloc.c 		if (len > diff) {
diff              276 fs/xfs/libxfs/xfs_alloc.c 			bno += diff;
diff              277 fs/xfs/libxfs/xfs_alloc.c 			len -= diff;
diff              284 fs/xfs/libxfs/xfs_alloc.c 		diff = aligned_bno - bno;
diff              287 fs/xfs/libxfs/xfs_alloc.c 		*reslen = diff >= len ? 0 : len - diff;
diff              254 fs/xfs/libxfs/xfs_alloc_btree.c 	int64_t			diff;
diff              256 fs/xfs/libxfs/xfs_alloc_btree.c 	diff = (int64_t)be32_to_cpu(kp->ar_blockcount) - rec->ar_blockcount;
diff              257 fs/xfs/libxfs/xfs_alloc_btree.c 	if (diff)
diff              258 fs/xfs/libxfs/xfs_alloc_btree.c 		return diff;
diff              279 fs/xfs/libxfs/xfs_alloc_btree.c 	int64_t			diff;
diff              281 fs/xfs/libxfs/xfs_alloc_btree.c 	diff =  be32_to_cpu(k1->alloc.ar_blockcount) -
diff              283 fs/xfs/libxfs/xfs_alloc_btree.c 	if (diff)
diff              284 fs/xfs/libxfs/xfs_alloc_btree.c 		return diff;
diff             1860 fs/xfs/libxfs/xfs_btree.c 	int64_t			diff;	/* difference for the current key */
diff             1886 fs/xfs/libxfs/xfs_btree.c 	for (level = cur->bc_nlevels - 1, diff = 1; level >= 0; level--) {
diff             1892 fs/xfs/libxfs/xfs_btree.c 		if (diff == 0) {
diff             1942 fs/xfs/libxfs/xfs_btree.c 				diff = cur->bc_ops->key_diff(cur, kp);
diff             1943 fs/xfs/libxfs/xfs_btree.c 				if (diff < 0)
diff             1945 fs/xfs/libxfs/xfs_btree.c 				else if (diff > 0)
diff             1961 fs/xfs/libxfs/xfs_btree.c 			if (diff > 0 && --keyno < 1)
diff             1974 fs/xfs/libxfs/xfs_btree.c 	if (dir != XFS_LOOKUP_LE && diff < 0) {
diff             1994 fs/xfs/libxfs/xfs_btree.c 	} else if (dir == XFS_LOOKUP_LE && diff > 0)
diff             2001 fs/xfs/libxfs/xfs_btree.c 	else if (dir != XFS_LOOKUP_EQ || diff == 0)
diff             4553 fs/xfs/libxfs/xfs_btree.c 	int64_t				diff;
diff             4587 fs/xfs/libxfs/xfs_btree.c 			diff = cur->bc_ops->diff_two_keys(cur, low_key,
diff             4589 fs/xfs/libxfs/xfs_btree.c 			if (diff > 0)
diff             4595 fs/xfs/libxfs/xfs_btree.c 		diff = cur->bc_ops->diff_two_keys(cur, &rec_key, high_key);
diff             4596 fs/xfs/libxfs/xfs_btree.c 		if (diff > 0)
diff             1871 fs/xfs/xfs_buf.c 	xfs_daddr_t		diff;
diff             1873 fs/xfs/xfs_buf.c 	diff = ap->b_maps[0].bm_bn - bp->b_maps[0].bm_bn;
diff             1874 fs/xfs/xfs_buf.c 	if (diff < 0)
diff             1876 fs/xfs/xfs_buf.c 	if (diff > 0)
diff              653 fs/xfs/xfs_extent_busy.c 	s32 diff;
diff              655 fs/xfs/xfs_extent_busy.c 	diff = b1->agno - b2->agno;
diff              656 fs/xfs/xfs_extent_busy.c 	if (!diff)
diff              657 fs/xfs/xfs_extent_busy.c 		diff = b1->bno - b2->bno;
diff              658 fs/xfs/xfs_extent_busy.c 	return diff;
diff               24 include/linux/iio/events.h #define IIO_EVENT_CODE(chan_type, diff, modifier, direction,		\
diff               26 include/linux/iio/events.h 	(((u64)type << 56) | ((u64)diff << 55) |			\
diff             2686 include/linux/skbuff.h 	unsigned int diff = len - skb->len;
diff             2688 include/linux/skbuff.h 	if (skb_tailroom(skb) < diff) {
diff             2689 include/linux/skbuff.h 		int ret = pskb_expand_head(skb, 0, diff - skb_tailroom(skb),
diff              236 include/math-emu/op-common.h       _FP_I_TYPE diff = X##_e - Y##_e;					     \
diff              238 include/math-emu/op-common.h       if (diff < 0)							     \
diff              240 include/math-emu/op-common.h 	  diff = -diff;							     \
diff              241 include/math-emu/op-common.h 	  if (diff <= _FP_WFRACBITS_##fs)				     \
diff              242 include/math-emu/op-common.h 	    _FP_FRAC_SRS_##wc(X, diff, _FP_WFRACBITS_##fs);		     \
diff              249 include/math-emu/op-common.h 	  if (diff > 0)							     \
diff              251 include/math-emu/op-common.h 	      if (diff <= _FP_WFRACBITS_##fs)				     \
diff              252 include/math-emu/op-common.h 	        _FP_FRAC_SRS_##wc(Y, diff, _FP_WFRACBITS_##fs);		     \
diff              293 include/math-emu/op-common.h 	      _FP_FRAC_CLZ_##wc(diff, R);				     \
diff              294 include/math-emu/op-common.h 	      diff -= _FP_WFRACXBITS_##fs;				     \
diff              295 include/math-emu/op-common.h 	      if (diff)							     \
diff              297 include/math-emu/op-common.h 		  R##_e -= diff;					     \
diff              298 include/math-emu/op-common.h 		  _FP_FRAC_SLL_##wc(R, diff);				     \
diff              119 include/net/checksum.h static inline void csum_replace_by_diff(__sum16 *sum, __wsum diff)
diff              121 include/net/checksum.h 	*sum = csum_fold(csum_add(diff, ~csum_unfold(*sum)));
diff              149 include/net/checksum.h 				     __wsum diff, bool pseudohdr);
diff              764 include/net/ip_vs.h 		       struct sk_buff *, int *diff, struct ip_vs_iphdr *ipvsh);
diff              771 include/net/ip_vs.h 		      struct sk_buff *, int *diff, struct ip_vs_iphdr *ipvsh);
diff             1547 include/net/ip_vs.h 	__be32 diff[2] = { ~old, new };
diff             1549 include/net/ip_vs.h 	return csum_partial(diff, sizeof(diff), oldsum);
diff             1556 include/net/ip_vs.h 	__be32 diff[8] = { ~old[3], ~old[2], ~old[1], ~old[0],
diff             1559 include/net/ip_vs.h 	return csum_partial(diff, sizeof(diff), oldsum);
diff             1565 include/net/ip_vs.h 	__be16 diff[2] = { ~old, new };
diff             1567 include/net/ip_vs.h 	return csum_partial(diff, sizeof(diff), oldsum);
diff               20 include/net/seg6.h 	__be32 diff[] = { ~from, to };
diff               22 include/net/seg6.h 	skb->csum = ~csum_partial((char *)diff, sizeof(diff), ~skb->csum);
diff               28 include/net/seg6.h 	__be32 diff[] = {
diff               33 include/net/seg6.h 	skb->csum = ~csum_partial((char *)diff, sizeof(diff), ~skb->csum);
diff               40 include/sound/pcm-indirect.h 	snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr;
diff               43 include/sound/pcm-indirect.h 	if (diff) {
diff               44 include/sound/pcm-indirect.h 		if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2))
diff               45 include/sound/pcm-indirect.h 			diff += runtime->boundary;
diff               46 include/sound/pcm-indirect.h 		if (diff < 0)
diff               48 include/sound/pcm-indirect.h 		rec->sw_ready += (int)frames_to_bytes(runtime, diff);
diff              109 include/sound/pcm-indirect.h 	snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr;
diff              111 include/sound/pcm-indirect.h 	if (diff) {
diff              112 include/sound/pcm-indirect.h 		if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2))
diff              113 include/sound/pcm-indirect.h 			diff += runtime->boundary;
diff              114 include/sound/pcm-indirect.h 		if (diff < 0)
diff              116 include/sound/pcm-indirect.h 		rec->sw_ready -= frames_to_bytes(runtime, diff);
diff             1676 include/trace/events/btrfs.h 		 s64 diff, int type),
diff             1678 include/trace/events/btrfs.h 	TP_ARGS(fs_info, qgroup, diff, type),
diff             1683 include/trace/events/btrfs.h 		__field(	s64,	diff			)
diff             1690 include/trace/events/btrfs.h 		__entry->diff		= diff;
diff             1696 include/trace/events/btrfs.h 		__entry->cur_reserved, __entry->diff)
diff             1701 include/trace/events/btrfs.h 	TP_PROTO(struct btrfs_root *root, s64 diff, int type),
diff             1703 include/trace/events/btrfs.h 	TP_ARGS(root, diff, type),
diff             1707 include/trace/events/btrfs.h 		__field(	s64,	diff			)
diff             1713 include/trace/events/btrfs.h 		__entry->diff		= diff;
diff             1719 include/trace/events/btrfs.h 		show_qgroup_rsv_type(__entry->type), __entry->diff)
diff             1724 include/trace/events/btrfs.h 	TP_PROTO(struct btrfs_root *root, s64 diff),
diff             1726 include/trace/events/btrfs.h 	TP_ARGS(root, diff),
diff             1730 include/trace/events/btrfs.h 		__field(	s64,	diff			)
diff             1735 include/trace/events/btrfs.h 		__entry->diff		= diff;
diff             1742 include/trace/events/btrfs.h 		__entry->diff)
diff             1753 include/trace/events/btrfs.h 		__field(	s64,	diff			)
diff             1760 include/trace/events/btrfs.h 		__entry->diff		= -(s64)root->qgroup_meta_rsv_pertrans;
diff             1767 include/trace/events/btrfs.h 		show_qgroup_rsv_type(__entry->type), __entry->diff)
diff             2098 include/trace/events/btrfs.h 		 struct btrfs_space_info *sinfo, u64 old, s64 diff),
diff             2100 include/trace/events/btrfs.h 	TP_ARGS(fs_info, sinfo, old, diff),
diff             2105 include/trace/events/btrfs.h 		__field(	s64,	diff		)
diff             2111 include/trace/events/btrfs.h 		__entry->diff	= diff;
diff             2115 include/trace/events/btrfs.h 		__entry->old, __entry->diff)
diff             2121 include/trace/events/btrfs.h 		 struct btrfs_space_info *sinfo, u64 old, s64 diff),
diff             2123 include/trace/events/btrfs.h 	TP_ARGS(fs_info, sinfo, old, diff)
diff             2129 include/trace/events/btrfs.h 		 struct btrfs_space_info *sinfo, u64 old, s64 diff),
diff             2131 include/trace/events/btrfs.h 	TP_ARGS(fs_info, sinfo, old, diff)
diff              180 kernel/bpf/lpm_trie.c 		u64 diff = be64_to_cpu(*(__be64 *)node->data ^
diff              183 kernel/bpf/lpm_trie.c 		prefixlen = 64 - fls64(diff);
diff              186 kernel/bpf/lpm_trie.c 		if (diff)
diff              193 kernel/bpf/lpm_trie.c 		u32 diff = be32_to_cpu(*(__be32 *)&node->data[i] ^
diff              196 kernel/bpf/lpm_trie.c 		prefixlen += 32 - fls(diff);
diff              199 kernel/bpf/lpm_trie.c 		if (diff)
diff              205 kernel/bpf/lpm_trie.c 		u16 diff = be16_to_cpu(*(__be16 *)&node->data[i] ^
diff              208 kernel/bpf/lpm_trie.c 		prefixlen += 16 - fls(diff);
diff              211 kernel/bpf/lpm_trie.c 		if (diff)
diff              302 kernel/irq/timings.c 	s64 diff;
diff              307 kernel/irq/timings.c 	diff = (value - ema_old) * EMA_ALPHA_VAL;
diff              314 kernel/irq/timings.c 	return ema_old + (diff >> EMA_ALPHA_SHIFT);
diff              242 kernel/power/hibernate.c 	ktime_t diff;
diff              248 kernel/power/hibernate.c 	diff = ktime_sub(stop, start);
diff              249 kernel/power/hibernate.c 	elapsed_centisecs64 = ktime_divns(diff, 10*NSEC_PER_MSEC);
diff              158 kernel/power/wakelock.c 		int diff;
diff              162 kernel/power/wakelock.c 		diff = strncmp(name, wl->name, len);
diff              163 kernel/power/wakelock.c 		if (diff == 0) {
diff              165 kernel/power/wakelock.c 				diff = -1;
diff              169 kernel/power/wakelock.c 		if (diff < 0)
diff             2126 kernel/sched/core.c 	s64 diff = sample - *avg;
diff             2127 kernel/sched/core.c 	*avg += diff >> 3;
diff             1937 kernel/sched/fair.c 	int diff;
diff             1977 kernel/sched/fair.c 		diff = slot * period_slot;
diff             1987 kernel/sched/fair.c 		diff = slot * period_slot;
diff             1995 kernel/sched/fair.c 		diff = -(NUMA_PERIOD_THRESHOLD - ratio) * period_slot;
diff             1998 kernel/sched/fair.c 	p->numa_scan_period = clamp(p->numa_scan_period + diff,
diff             2163 kernel/sched/fair.c 			long diff, f_diff, f_weight;
diff             2171 kernel/sched/fair.c 			diff = p->numa_faults[membuf_idx] - p->numa_faults[mem_idx] / 2;
diff             2188 kernel/sched/fair.c 			p->numa_faults[mem_idx] += diff;
diff             2191 kernel/sched/fair.c 			p->total_numa_faults += diff;
diff             2200 kernel/sched/fair.c 				ng->faults[mem_idx] += diff;
diff             2202 kernel/sched/fair.c 				ng->total_faults += diff;
diff             2621 kernel/sched/fair.c 		u64 diff = p->se.sum_exec_runtime - runtime;
diff             2622 kernel/sched/fair.c 		p->node_stamp += 32 * diff;
diff              652 kernel/sched/rt.c 		s64 diff;
diff              670 kernel/sched/rt.c 		diff = iter->rt_runtime - iter->rt_time;
diff              671 kernel/sched/rt.c 		if (diff > 0) {
diff              672 kernel/sched/rt.c 			diff = div_u64((u64)diff, weight);
diff              673 kernel/sched/rt.c 			if (rt_rq->rt_runtime + diff > rt_period)
diff              674 kernel/sched/rt.c 				diff = rt_period - rt_rq->rt_runtime;
diff              675 kernel/sched/rt.c 			iter->rt_runtime -= diff;
diff              676 kernel/sched/rt.c 			rt_rq->rt_runtime += diff;
diff              729 kernel/sched/rt.c 			s64 diff;
diff              739 kernel/sched/rt.c 				diff = min_t(s64, iter->rt_runtime, want);
diff              740 kernel/sched/rt.c 				iter->rt_runtime -= diff;
diff              741 kernel/sched/rt.c 				want -= diff;
diff              969 kernel/time/timer.c 		long diff = timer->expires - expires;
diff              971 kernel/time/timer.c 		if (!diff)
diff              973 kernel/time/timer.c 		if (options & MOD_TIMER_REDUCE && diff <= 0)
diff             2878 kernel/trace/ring_buffer.c 	u64 diff;
diff             2915 kernel/trace/ring_buffer.c 	diff = info.ts - cpu_buffer->write_stamp;
diff             2925 kernel/trace/ring_buffer.c 		info.delta = diff;
diff              171 kernel/trace/trace_hwlat.c 	s64 diff, total, last_total = 0;
diff              197 kernel/trace/trace_hwlat.c 			diff = time_to_us(time_sub(t1, last_t2));
diff              199 kernel/trace/trace_hwlat.c 			if (diff < 0) {
diff              203 kernel/trace/trace_hwlat.c 			if (diff > outer_sample)
diff              204 kernel/trace/trace_hwlat.c 				outer_sample = diff;
diff              218 kernel/trace/trace_hwlat.c 		diff = time_to_us(time_sub(t2, t1));     /* current diff */
diff              221 kernel/trace/trace_hwlat.c 		if (diff < 0) {
diff              226 kernel/trace/trace_hwlat.c 		if (diff > sample)
diff              227 kernel/trace/trace_hwlat.c 			sample = diff; /* only want highest value */
diff              485 lib/assoc_array.c 	int level, diff;
diff              729 lib/assoc_array.c 	diff = INT_MAX;
diff              733 lib/assoc_array.c 		if (x < diff) {
diff              735 lib/assoc_array.c 			diff = x;
diff              738 lib/assoc_array.c 	BUG_ON(diff == INT_MAX);
diff              739 lib/assoc_array.c 	BUG_ON(diff < level + ASSOC_ARRAY_LEVEL_STEP);
diff              741 lib/assoc_array.c 	keylen = round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE);
diff              759 lib/assoc_array.c 	new_s0->skip_to_level = level = diff & ~ASSOC_ARRAY_LEVEL_STEP_MASK;
diff              760 lib/assoc_array.c 	pr_devel("skip_to_level = %d [diff %d]\n", level, diff);
diff              801 lib/assoc_array.c 	int level, sc_level, diff;
diff              819 lib/assoc_array.c 	diff = __ffs(dissimilarity);
diff              820 lib/assoc_array.c 	diff &= ~ASSOC_ARRAY_LEVEL_STEP_MASK;
diff              821 lib/assoc_array.c 	diff += sc_level & ~ASSOC_ARRAY_KEY_CHUNK_MASK;
diff              822 lib/assoc_array.c 	pr_devel("diff=%d\n", diff);
diff              847 lib/assoc_array.c 	if (diff > level) {
diff              848 lib/assoc_array.c 		pr_devel("pre-shortcut %d...%d\n", level, diff);
diff              849 lib/assoc_array.c 		keylen = round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE);
diff              861 lib/assoc_array.c 		new_s0->skip_to_level = diff;
diff              869 lib/assoc_array.c 		blank = ULONG_MAX << (diff & ASSOC_ARRAY_KEY_CHUNK_MASK);
diff              870 lib/assoc_array.c 		pr_devel("blank off [%zu] %d: %lx\n", keylen - 1, diff, blank);
diff              885 lib/assoc_array.c 	sc_slot = sc_segments >> (diff & ASSOC_ARRAY_KEY_CHUNK_MASK);
diff              889 lib/assoc_array.c 		 sc_segments, diff & ASSOC_ARRAY_KEY_CHUNK_MASK, sc_slot);
diff              896 lib/assoc_array.c 	level = diff + ASSOC_ARRAY_LEVEL_STEP;
diff              190 lib/lz4/lz4defs.h 		size_t const diff = LZ4_read_ARCH(pMatch) ^ LZ4_read_ARCH(pIn);
diff              192 lib/lz4/lz4defs.h 		if (!diff) {
diff              198 lib/lz4/lz4defs.h 		pIn += LZ4_NbCommonBytes(diff);
diff               34 lib/mpi/mpih-cmp.c 			goto diff;
diff               38 lib/mpi/mpih-cmp.c diff:
diff               94 lib/test_objagg.c 	int diff = key->id - parent_key->id;
diff               96 lib/test_objagg.c 	return diff >= 0 && diff <= MAX_KEY_ID_DIFF;
diff              104 lib/test_objagg.c 	int diff = key->id - parent_key->id;
diff              113 lib/test_objagg.c 	delta->key_id_diff = diff;
diff               20 lib/test_overflow.c 		t sum, diff, prod;		\
diff              244 lib/test_overflow.c 	check_one_op(t, fmt, sub, "-", p->a, p->b, p->diff, p->d_of);	\
diff              913 lib/zstd/compress.c 		size_t const diff = ZSTD_readST(pMatch) ^ ZSTD_readST(pIn);
diff              914 lib/zstd/compress.c 		if (!diff) {
diff              919 lib/zstd/compress.c 		pIn += ZSTD_NbCommonBytes(diff);
diff             2181 net/batman-adv/bat_iv_ogm.c 				     int *diff)
diff             2197 net/batman-adv/bat_iv_ogm.c 	*diff = (int)tq1 - (int)tq2;
diff             2354 net/batman-adv/bat_iv_ogm.c 	int diff;
diff             2357 net/batman-adv/bat_iv_ogm.c 				       if_outgoing2, &diff);
diff             2361 net/batman-adv/bat_iv_ogm.c 	return diff;
diff             2382 net/batman-adv/bat_iv_ogm.c 	int diff;
diff             2385 net/batman-adv/bat_iv_ogm.c 				       if_outgoing2, &diff);
diff             2389 net/batman-adv/bat_iv_ogm.c 	ret = diff > -BATADV_TQ_SIMILARITY_THRESHOLD;
diff               30 net/batman-adv/bitarray.h 	s32 diff;
diff               32 net/batman-adv/bitarray.h 	diff = last_seqno - curr_seqno;
diff               33 net/batman-adv/bitarray.h 	if (diff < 0 || diff >= BATADV_TQ_LOCAL_WINDOW_SIZE)
diff               35 net/batman-adv/bitarray.h 	return test_bit(diff, seq_bits) != 0;
diff             8748 net/core/dev.c 		netdev_features_t diff = features ^ dev->features;
diff             8750 net/core/dev.c 		if (diff & NETIF_F_RX_UDP_TUNNEL_PORT) {
diff             8766 net/core/dev.c 		if (diff & NETIF_F_HW_VLAN_CTAG_FILTER) {
diff             8775 net/core/dev.c 		if (diff & NETIF_F_HW_VLAN_STAG_FILTER) {
diff             1625 net/core/filter.c 		__be32 diff[MAX_BPF_STACK / sizeof(__be32)];
diff             1986 net/core/filter.c 		     diff_size > sizeof(sp->diff)))
diff             1990 net/core/filter.c 		sp->diff[j] = ~from[i];
diff             1992 net/core/filter.c 		sp->diff[j] = to[i];
diff             1994 net/core/filter.c 	return csum_partial(sp->diff, diff_size, seed);
diff             1410 net/core/flow_dissector.c 	size_t diff = FLOW_KEYS_HASH_OFFSET + sizeof(flow->addrs);
diff             1416 net/core/flow_dissector.c 		diff -= sizeof(flow->addrs.v4addrs);
diff             1419 net/core/flow_dissector.c 		diff -= sizeof(flow->addrs.v6addrs);
diff             1422 net/core/flow_dissector.c 		diff -= sizeof(flow->addrs.tipckey);
diff             1425 net/core/flow_dissector.c 	return sizeof(*flow) - diff;
diff             5466 net/core/skbuff.c 		__be16 diff[] = { ~hdr->h_proto, ethertype };
diff             5468 net/core/skbuff.c 		skb->csum = csum_partial((char *)diff, sizeof(diff), skb->csum);
diff             5593 net/core/skbuff.c 		__be32 diff[] = { ~mpls_hdr(skb)->label_stack_entry, mpls_lse };
diff             5595 net/core/skbuff.c 		skb->csum = csum_partial((char *)diff, sizeof(diff), skb->csum);
diff              462 net/core/utils.c 	__be32 diff[] = {
diff              467 net/core/utils.c 		*sum = csum_fold(csum_partial(diff, sizeof(diff),
diff              470 net/core/utils.c 		*sum = ~csum_fold(csum_partial(diff, sizeof(diff),
diff              476 net/core/utils.c 				     __wsum diff, bool pseudohdr)
diff              479 net/core/utils.c 		*sum = csum_fold(csum_add(diff, ~csum_unfold(*sum)));
diff              481 net/core/utils.c 			skb->csum = ~csum_add(diff, ~skb->csum);
diff              483 net/core/utils.c 		*sum = ~csum_fold(csum_add(diff, csum_unfold(*sum)));
diff              123 net/ipv4/syncookies.c 	u32 diff, count = tcp_cookie_time();
diff              129 net/ipv4/syncookies.c 	diff = (count - (cookie >> COOKIEBITS)) & ((__u32) -1 >> COOKIEBITS);
diff              130 net/ipv4/syncookies.c 	if (diff >= MAX_SYNCOOKIE_AGE)
diff              134 net/ipv4/syncookies.c 		cookie_hash(saddr, daddr, sport, dport, count - diff, 1))
diff              658 net/ipv4/tcp_bbr.c 	u32 diff;
diff              662 net/ipv4/tcp_bbr.c 		diff = abs(bw - bbr->lt_bw);
diff              663 net/ipv4/tcp_bbr.c 		if ((diff * BBR_UNIT <= bbr_lt_bw_ratio * bbr->lt_bw) ||
diff              664 net/ipv4/tcp_bbr.c 		    (bbr_rate_bytes_per_sec(sk, diff, BBR_UNIT) <=
diff              177 net/ipv4/tcp_htcp.c 	u32 diff = htcp_cong_time(ca);
diff              179 net/ipv4/tcp_htcp.c 	if (diff > HZ) {
diff              180 net/ipv4/tcp_htcp.c 		diff -= HZ;
diff              181 net/ipv4/tcp_htcp.c 		factor = 1 + (10 * diff + ((diff / 2) * (diff / 2) / HZ)) / HZ;
diff             1382 net/ipv4/tcp_output.c 		int diff = old_factor - tcp_skb_pcount(skb) -
diff             1385 net/ipv4/tcp_output.c 		if (diff)
diff             1386 net/ipv4/tcp_output.c 			tcp_adjust_pcount(sk, skb, diff);
diff             2902 net/ipv4/tcp_output.c 	int diff, len, err;
diff             2952 net/ipv4/tcp_output.c 		diff = tcp_skb_pcount(skb);
diff             2954 net/ipv4/tcp_output.c 		diff -= tcp_skb_pcount(skb);
diff             2955 net/ipv4/tcp_output.c 		if (diff)
diff             2956 net/ipv4/tcp_output.c 			tcp_adjust_pcount(sk, skb, diff);
diff              198 net/ipv4/tcp_vegas.c 			u32 rtt, diff;
diff              227 net/ipv4/tcp_vegas.c 			diff = tp->snd_cwnd * (rtt-vegas->baseRTT) / vegas->baseRTT;
diff              229 net/ipv4/tcp_vegas.c 			if (diff > gamma && tcp_in_slow_start(tp)) {
diff              253 net/ipv4/tcp_vegas.c 				if (diff > beta) {
diff              260 net/ipv4/tcp_vegas.c 				} else if (diff < alpha) {
diff               33 net/ipv4/tcp_veno.c 	u32 diff;		/* calculate the diff rate */
diff              153 net/ipv4/tcp_veno.c 		veno->diff = (tp->snd_cwnd << V_PARAM_SHIFT) - target_cwnd;
diff              160 net/ipv4/tcp_veno.c 			if (veno->diff < beta) {
diff              197 net/ipv4/tcp_veno.c 	if (veno->diff < beta)
diff               86 net/ipv6/ila/ila.h 	__be32 diff[] = {
diff               90 net/ipv6/ila/ila.h 	return csum_partial(diff, sizeof(diff), 0);
diff               44 net/ipv6/ila/ila_common.c 	__wsum diff, fval;
diff               46 net/ipv6/ila/ila_common.c 	diff = get_csum_diff_iaddr(iaddr, p);
diff               51 net/ipv6/ila/ila_common.c 	diff = csum_add(diff, fval);
diff               53 net/ipv6/ila/ila_common.c 	*adjust = ~csum_fold(csum_add(diff, csum_unfold(*adjust)));
diff               67 net/ipv6/ila/ila_common.c 	__wsum diff;
diff               69 net/ipv6/ila/ila_common.c 	diff = get_csum_diff_iaddr(iaddr, p);
diff               71 net/ipv6/ila/ila_common.c 	*adjust = ~csum_fold(csum_add(diff, csum_unfold(*adjust)));
diff               79 net/ipv6/ila/ila_common.c 	__wsum diff;
diff               87 net/ipv6/ila/ila_common.c 			diff = get_csum_diff(ip6h, p);
diff               89 net/ipv6/ila/ila_common.c 							diff, true);
diff               98 net/ipv6/ila/ila_common.c 				diff = get_csum_diff(ip6h, p);
diff              100 net/ipv6/ila/ila_common.c 								diff, true);
diff              112 net/ipv6/ila/ila_common.c 			diff = get_csum_diff(ip6h, p);
diff              114 net/ipv6/ila/ila_common.c 							diff, true);
diff               79 net/ipv6/syncookies.c 	__u32 diff, count = tcp_cookie_time();
diff               83 net/ipv6/syncookies.c 	diff = (count - (cookie >> COOKIEBITS)) & ((__u32) -1 >> COOKIEBITS);
diff               84 net/ipv6/syncookies.c 	if (diff >= MAX_SYNCOOKIE_AGE)
diff               88 net/ipv6/syncookies.c 		cookie_hash(saddr, daddr, sport, dport, count - diff, 1))
diff               27 net/mac80211/rc80211_minstrel.h 	int diff, incr;
diff               29 net/mac80211/rc80211_minstrel.h 	diff = new - old;
diff               30 net/mac80211/rc80211_minstrel.h 	incr = (EWMA_DIV - weight) * diff / EWMA_DIV;
diff             3756 net/mac80211/rx.c 	int i, diff;
diff             3793 net/mac80211/rx.c 	diff = (tid_agg_rx->head_seq_num - ssn) & IEEE80211_SN_MASK;
diff             3794 net/mac80211/rx.c 	if (diff >= tid_agg_rx->buf_size) {
diff             3798 net/mac80211/rx.c 	filtered = filtered >> diff;
diff             3799 net/mac80211/rx.c 	ssn += diff;
diff             3036 net/mac80211/util.c 			unsigned int diff;
diff             3038 net/mac80211/util.c 			diff = abs(ccf1 - ccf0);
diff             3039 net/mac80211/util.c 			if ((diff == 8) && support_160) {
diff             3042 net/mac80211/util.c 			} else if ((diff > 8) && support_80_80) {
diff              347 net/netfilter/ipvs/ip_vs_app.c 				 unsigned int flag, __u32 seq, int diff)
diff              353 net/netfilter/ipvs/ip_vs_app.c 		vseq->delta += diff;
diff              364 net/netfilter/ipvs/ip_vs_app.c 	int diff;
diff              393 net/netfilter/ipvs/ip_vs_app.c 	if (!app->pkt_out(app, cp, skb, &diff, ipvsh))
diff              399 net/netfilter/ipvs/ip_vs_app.c 	if (diff != 0)
diff              401 net/netfilter/ipvs/ip_vs_app.c 			      IP_VS_CONN_F_OUT_SEQ, seq, diff);
diff              441 net/netfilter/ipvs/ip_vs_app.c 	int diff;
diff              470 net/netfilter/ipvs/ip_vs_app.c 	if (!app->pkt_in(app, cp, skb, &diff, ipvsh))
diff              476 net/netfilter/ipvs/ip_vs_app.c 	if (diff != 0)
diff              478 net/netfilter/ipvs/ip_vs_app.c 			      IP_VS_CONN_F_IN_SEQ, seq, diff);
diff              249 net/netfilter/ipvs/ip_vs_ftp.c 			 struct sk_buff *skb, int *diff,
diff              263 net/netfilter/ipvs/ip_vs_ftp.c 	*diff = 0;
diff              419 net/netfilter/ipvs/ip_vs_ftp.c 			struct sk_buff *skb, int *diff,
diff              429 net/netfilter/ipvs/ip_vs_ftp.c 	*diff = 0;
diff              507 net/netfilter/ipvs/ip_vs_sync.c 		long diff = n - orig;
diff              513 net/netfilter/ipvs/ip_vs_sync.c 		if (abs(diff) < min_t(long, sync_refresh_period, min_diff)) {
diff              321 net/netfilter/nf_conncount.c 		int diff;
diff              325 net/netfilter/nf_conncount.c 		diff = key_diff(key, rbconn->key, keylen);
diff              326 net/netfilter/nf_conncount.c 		if (diff < 0) {
diff              328 net/netfilter/nf_conncount.c 		} else if (diff > 0) {
diff              402 net/netfilter/nf_conncount.c 		int diff;
diff              406 net/netfilter/nf_conncount.c 		diff = key_diff(key, rbconn->key, keylen);
diff              407 net/netfilter/nf_conncount.c 		if (diff < 0) {
diff              409 net/netfilter/nf_conncount.c 		} else if (diff > 0) {
diff             2628 net/netfilter/nf_conntrack_netlink.c 				  enum ip_conntrack_info ctinfo, int diff)
diff             2633 net/netfilter/nf_conntrack_netlink.c 	nf_ct_tcp_seqadj_set(skb, ct, ctinfo, diff);
diff             1535 net/netfilter/nf_conntrack_sip.c 	s16 diff, tdiff = 0;
diff             1592 net/netfilter/nf_conntrack_sip.c 		diff     = msglen - origlen;
diff             1593 net/netfilter/nf_conntrack_sip.c 		tdiff   += diff;
diff             1597 net/netfilter/nf_conntrack_sip.c 		datalen  = datalen + diff - msglen;
diff              842 net/netfilter/nfnetlink_queue.c nfqnl_mangle(void *data, int data_len, struct nf_queue_entry *e, int diff)
diff              846 net/netfilter/nfnetlink_queue.c 	if (diff < 0) {
diff              849 net/netfilter/nfnetlink_queue.c 	} else if (diff > 0) {
diff              852 net/netfilter/nfnetlink_queue.c 		if (diff > skb_tailroom(e->skb)) {
diff              854 net/netfilter/nfnetlink_queue.c 					       diff, GFP_ATOMIC);
diff              860 net/netfilter/nfnetlink_queue.c 		skb_put(e->skb, diff);
diff             1216 net/netfilter/nfnetlink_queue.c 		int diff = payload_len - entry->skb->len;
diff             1219 net/netfilter/nfnetlink_queue.c 				 payload_len, entry, diff) < 0)
diff             1222 net/netfilter/nfnetlink_queue.c 		if (ct && diff)
diff             1223 net/netfilter/nfnetlink_queue.c 			nfnl_ct->seq_adjust(entry->skb, ct, ctinfo, diff);
diff              112 net/rds/cong.c 		int diff;
diff              117 net/rds/cong.c 		diff = rds_addr_cmp(addr, &map->m_addr);
diff              118 net/rds/cong.c 		if (diff < 0)
diff              120 net/rds/cong.c 		else if (diff > 0)
diff               75 net/rds/ib_ring.c 	u32 diff;
diff               78 net/rds/ib_ring.c 	diff = ring->w_alloc_ctr - (u32) atomic_read(&ring->w_free_ctr);
diff               79 net/rds/ib_ring.c 	BUG_ON(diff > ring->w_nr);
diff               81 net/rds/ib_ring.c 	return diff;
diff              284 net/rxrpc/conn_client.c 	long diff;
diff              310 net/rxrpc/conn_client.c 			diff = (cmp(peer) ?:
diff              315 net/rxrpc/conn_client.c 			if (diff < 0) {
diff              317 net/rxrpc/conn_client.c 			} else if (diff > 0) {
diff              377 net/rxrpc/conn_client.c 		diff = (cmp(peer) ?:
diff              382 net/rxrpc/conn_client.c 		if (diff < 0) {
diff              384 net/rxrpc/conn_client.c 		} else if (diff > 0) {
diff               37 net/rxrpc/local_object.c 	long diff;
diff               39 net/rxrpc/local_object.c 	diff = ((local->srx.transport_type - srx->transport_type) ?:
diff               42 net/rxrpc/local_object.c 	if (diff != 0)
diff               43 net/rxrpc/local_object.c 		return diff;
diff              228 net/rxrpc/local_object.c 	long diff;
diff              241 net/rxrpc/local_object.c 		diff = rxrpc_local_cmp_key(local, srx);
diff              242 net/rxrpc/local_object.c 		if (diff < 0)
diff              244 net/rxrpc/local_object.c 		if (diff > 0)
diff               81 net/rxrpc/peer_object.c 	long diff;
diff               83 net/rxrpc/peer_object.c 	diff = ((peer->hash_key - hash_key) ?:
diff               88 net/rxrpc/peer_object.c 	if (diff != 0)
diff               89 net/rxrpc/peer_object.c 		return diff;
diff             3144 net/sched/cls_api.c 				      u32 *flags, u32 diff, bool add)
diff             3152 net/sched/cls_api.c 		*cnt += diff;
diff             3154 net/sched/cls_api.c 		*cnt -= diff;
diff              500 net/sched/sch_htb.c htb_class_mode(struct htb_class *cl, s64 *diff)
diff              504 net/sched/sch_htb.c 	if ((toks = (cl->ctokens + *diff)) < htb_lowater(cl)) {
diff              505 net/sched/sch_htb.c 		*diff = -toks;
diff              509 net/sched/sch_htb.c 	if ((toks = (cl->tokens + *diff)) >= htb_hiwater(cl))
diff              512 net/sched/sch_htb.c 	*diff = -toks;
diff              526 net/sched/sch_htb.c htb_change_class_mode(struct htb_sched *q, struct htb_class *cl, s64 *diff)
diff              528 net/sched/sch_htb.c 	enum htb_cmode new_mode = htb_class_mode(cl, diff);
diff              618 net/sched/sch_htb.c static inline void htb_accnt_tokens(struct htb_class *cl, int bytes, s64 diff)
diff              620 net/sched/sch_htb.c 	s64 toks = diff + cl->tokens;
diff              631 net/sched/sch_htb.c static inline void htb_accnt_ctokens(struct htb_class *cl, int bytes, s64 diff)
diff              633 net/sched/sch_htb.c 	s64 toks = diff + cl->ctokens;
diff              660 net/sched/sch_htb.c 	s64 diff;
diff              663 net/sched/sch_htb.c 		diff = min_t(s64, q->now - cl->t_c, cl->mbuffer);
diff              667 net/sched/sch_htb.c 			htb_accnt_tokens(cl, bytes, diff);
diff              670 net/sched/sch_htb.c 			cl->tokens += diff;	/* we moved t_c; update tokens */
diff              672 net/sched/sch_htb.c 		htb_accnt_ctokens(cl, bytes, diff);
diff              676 net/sched/sch_htb.c 		diff = 0;
diff              677 net/sched/sch_htb.c 		htb_change_class_mode(q, cl, &diff);
diff              682 net/sched/sch_htb.c 				htb_add_to_wait_tree(q, cl, diff);
diff              712 net/sched/sch_htb.c 		s64 diff;
diff              723 net/sched/sch_htb.c 		diff = min_t(s64, q->now - cl->t_c, cl->mbuffer);
diff              724 net/sched/sch_htb.c 		htb_change_class_mode(q, cl, &diff);
diff              726 net/sched/sch_htb.c 			htb_add_to_wait_tree(q, cl, diff);
diff              151 net/sctp/auth.c 	int diff;
diff              155 net/sctp/auth.c 	diff = vector1->len - vector2->len;
diff              156 net/sctp/auth.c 	if (diff) {
diff              157 net/sctp/auth.c 		longer = (diff > 0) ? vector1->data : vector2->data;
diff              163 net/sctp/auth.c 		for (i = 0; i < abs(diff); i++) {
diff              165 net/sctp/auth.c 				return diff;
diff               32 net/smc/smc_cdc.c 	int diff;
diff               41 net/smc/smc_cdc.c 		diff = smc_curs_diff(cdcpend->conn->sndbuf_desc->len,
diff               46 net/smc/smc_cdc.c 		atomic_add(diff, &cdcpend->conn->sndbuf_space);
diff              181 net/smc/smc_cdc.c 	int rc, diff;
diff              199 net/smc/smc_cdc.c 	diff = smc_curs_diff(conn->sndbuf_desc->len, &conn->tx_curs_fin,
diff              203 net/smc/smc_cdc.c 	atomic_add(diff, &conn->sndbuf_space);
diff               59 net/smc/smc_rx.c 	int diff, rc = 0;
diff               65 net/smc/smc_rx.c 		diff = smc_curs_comp(conn->rmb_desc->len, &cons,
diff               68 net/smc/smc_rx.c 			if (diff == 0) {
diff               74 net/smc/smc_rx.c 			if (diff == 1) {
diff               79 net/smc/smc_rx.c 			} else if (diff < -1)
diff              550 net/sunrpc/auth.c 	unsigned long diff;
diff              555 net/sunrpc/auth.c 	diff = number_cred_unused - auth_max_cred_cachesize;
diff              557 net/sunrpc/auth.c 	if (diff < nr_to_scan)
diff              558 net/sunrpc/auth.c 		nr_to_scan = diff;
diff              248 net/tipc/monitor.c 	bool diff;
diff              256 net/tipc/monitor.c 	diff = dom->member_cnt != member_cnt;
diff              260 net/tipc/monitor.c 		diff |= dom->members[i] != peer->addr;
diff              265 net/tipc/monitor.c 	diff |= dom->up_map != prev_up_map;
diff              266 net/tipc/monitor.c 	if (!diff)
diff               40 net/tls/tls_device_fallback.c 	int diff = walk->offset - src->offset;
diff               43 net/tls/tls_device_fallback.c 		    src->length - diff, walk->offset);
diff              109 net/xfrm/xfrm_replay.c 	u32 diff;
diff              121 net/xfrm/xfrm_replay.c 	diff = x->replay.seq - seq;
diff              122 net/xfrm/xfrm_replay.c 	if (diff >= x->props.replay_window) {
diff              127 net/xfrm/xfrm_replay.c 	if (x->replay.bitmap & (1U << diff)) {
diff              140 net/xfrm/xfrm_replay.c 	u32 diff;
diff              147 net/xfrm/xfrm_replay.c 		diff = seq - x->replay.seq;
diff              148 net/xfrm/xfrm_replay.c 		if (diff < x->props.replay_window)
diff              149 net/xfrm/xfrm_replay.c 			x->replay.bitmap = ((x->replay.bitmap) << diff) | 1;
diff              154 net/xfrm/xfrm_replay.c 		diff = x->replay.seq - seq;
diff              155 net/xfrm/xfrm_replay.c 		x->replay.bitmap |= (1U << diff);
diff              192 net/xfrm/xfrm_replay.c 	u32 diff =  replay_esn->seq - seq;
diff              203 net/xfrm/xfrm_replay.c 	if (diff >= replay_esn->replay_window) {
diff              210 net/xfrm/xfrm_replay.c 	if (pos >= diff)
diff              211 net/xfrm/xfrm_replay.c 		bitnr = (pos - diff) % replay_esn->replay_window;
diff              213 net/xfrm/xfrm_replay.c 		bitnr = replay_esn->replay_window - (diff - pos);
diff              232 net/xfrm/xfrm_replay.c 	u32 diff;
diff              243 net/xfrm/xfrm_replay.c 		diff = seq - replay_esn->seq;
diff              245 net/xfrm/xfrm_replay.c 		if (diff < replay_esn->replay_window) {
diff              246 net/xfrm/xfrm_replay.c 			for (i = 1; i < diff; i++) {
diff              258 net/xfrm/xfrm_replay.c 		bitnr = (pos + diff) % replay_esn->replay_window;
diff              261 net/xfrm/xfrm_replay.c 		diff = replay_esn->seq - seq;
diff              263 net/xfrm/xfrm_replay.c 		if (pos >= diff)
diff              264 net/xfrm/xfrm_replay.c 			bitnr = (pos - diff) % replay_esn->replay_window;
diff              266 net/xfrm/xfrm_replay.c 			bitnr = replay_esn->replay_window - (diff - pos);
diff              427 net/xfrm/xfrm_replay.c 	u32 diff;
diff              442 net/xfrm/xfrm_replay.c 	diff = top - seq;
diff              453 net/xfrm/xfrm_replay.c 			diff = ~seq + top + 1;
diff              456 net/xfrm/xfrm_replay.c 	if (diff >= replay_esn->replay_window) {
diff              463 net/xfrm/xfrm_replay.c 	if (pos >= diff)
diff              464 net/xfrm/xfrm_replay.c 		bitnr = (pos - diff) % replay_esn->replay_window;
diff              466 net/xfrm/xfrm_replay.c 		bitnr = replay_esn->replay_window - (diff - pos);
diff              498 net/xfrm/xfrm_replay.c 	u32 diff, pos, seq, seq_hi;
diff              511 net/xfrm/xfrm_replay.c 			diff = seq - replay_esn->seq;
diff              513 net/xfrm/xfrm_replay.c 			diff = ~replay_esn->seq + seq + 1;
diff              515 net/xfrm/xfrm_replay.c 		if (diff < replay_esn->replay_window) {
diff              516 net/xfrm/xfrm_replay.c 			for (i = 1; i < diff; i++) {
diff              528 net/xfrm/xfrm_replay.c 		bitnr = (pos + diff) % replay_esn->replay_window;
diff              534 net/xfrm/xfrm_replay.c 		diff = replay_esn->seq - seq;
diff              536 net/xfrm/xfrm_replay.c 		if (pos >= diff)
diff              537 net/xfrm/xfrm_replay.c 			bitnr = (pos - diff) % replay_esn->replay_window;
diff              539 net/xfrm/xfrm_replay.c 			bitnr = replay_esn->replay_window - (diff - pos);
diff               73 scripts/dtc/srcpos.c 		int diff = initial_pathlen - slashes, i, j;
diff               77 scripts/dtc/srcpos.c 		res = xmalloc((3 * diff) + restlen + 1);
diff               78 scripts/dtc/srcpos.c 		for (i = 0, j = 0; i != diff; i++) {
diff              792 sound/core/pcm_lib.c 		int diff;
diff              806 sound/core/pcm_lib.c 		diff = num - q * den;
diff              807 sound/core/pcm_lib.c 		if (diff < 0)
diff              808 sound/core/pcm_lib.c 			diff = -diff;
diff              810 sound/core/pcm_lib.c 		    diff * best_den < best_diff * den) {
diff              811 sound/core/pcm_lib.c 			best_diff = diff;
diff              831 sound/core/pcm_lib.c 		int diff;
diff              847 sound/core/pcm_lib.c 		diff = q * den - num;
diff              848 sound/core/pcm_lib.c 		if (diff < 0)
diff              849 sound/core/pcm_lib.c 			diff = -diff;
diff              851 sound/core/pcm_lib.c 		    diff * best_den < best_diff * den) {
diff              852 sound/core/pcm_lib.c 			best_diff = diff;
diff              908 sound/core/pcm_lib.c 		int diff;
diff              920 sound/core/pcm_lib.c 		diff = num - q * den;
diff              922 sound/core/pcm_lib.c 		    diff * best_den < best_diff * den) {
diff              923 sound/core/pcm_lib.c 			best_diff = diff;
diff              940 sound/core/pcm_lib.c 		int diff;
diff              952 sound/core/pcm_lib.c 		diff = q * den - num;
diff              954 sound/core/pcm_lib.c 		    diff * best_den < best_diff * den) {
diff              955 sound/core/pcm_lib.c 			best_diff = diff;
diff              399 sound/drivers/aloop.c 	    	snd_pcm_uframes_t appl_ptr, appl_ptr1, diff;
diff              405 sound/drivers/aloop.c 		diff = (appl_ptr - appl_ptr1) * play->pcm_salign;
diff              406 sound/drivers/aloop.c 		if (diff < bytes) {
diff              407 sound/drivers/aloop.c 			clear_bytes = bytes - diff;
diff              408 sound/drivers/aloop.c 			bytes = diff;
diff              175 sound/drivers/pcm-indirect2.c 				unsigned int diff;
diff              177 sound/drivers/pcm-indirect2.c 					diff = rec->sw_data - rec->sw_io;
diff              179 sound/drivers/pcm-indirect2.c 					diff = (rec->sw_buffer_size -
diff              182 sound/drivers/pcm-indirect2.c 				if (bytes >= diff)
diff              245 sound/drivers/pcm-indirect2.c 	snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr;
diff              247 sound/drivers/pcm-indirect2.c 	if (diff) {
diff              251 sound/drivers/pcm-indirect2.c 		if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2))
diff              252 sound/drivers/pcm-indirect2.c 			diff += runtime->boundary;
diff              257 sound/drivers/pcm-indirect2.c 		rec->sw_ready += (int)frames_to_bytes(runtime, diff);
diff              407 sound/drivers/pcm-indirect2.c 	snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr;
diff              409 sound/drivers/pcm-indirect2.c 	if (diff) {
diff              413 sound/drivers/pcm-indirect2.c 		if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2))
diff              414 sound/drivers/pcm-indirect2.c 			diff += runtime->boundary;
diff              415 sound/drivers/pcm-indirect2.c 		rec->sw_ready -= frames_to_bytes(runtime, diff);
diff              184 sound/pci/ctxfi/cttimer.c 	unsigned int wc, diff;
diff              193 sound/pci/ctxfi/cttimer.c 	diff = wc - atimer->wc;
diff              196 sound/pci/ctxfi/cttimer.c 		if (ti->frag_count > diff)
diff              197 sound/pci/ctxfi/cttimer.c 			ti->frag_count -= diff;
diff              768 sound/pci/es1938.c 	unsigned int diff;
diff              772 sound/pci/es1938.c 	diff = chip->dma1_start + chip->dma1_size - ptr - count;
diff              774 sound/pci/es1938.c 	if (diff > 3 || ptr < chip->dma1_start
diff             1700 sound/pci/es1968.c 	ktime_t diff;
diff             1767 sound/pci/es1968.c 	diff = ktime_sub(stop_time, start_time);
diff             1768 sound/pci/es1968.c 	t = ktime_to_us(diff);
diff             1837 sound/pci/es1968.c 	unsigned int diff;
diff             1841 sound/pci/es1968.c 	diff = (cp1 > cp2 ? cp1 - cp2 : cp2 - cp1);
diff             1843 sound/pci/es1968.c 	if (diff > 1)
diff             1853 sound/pci/es1968.c 	unsigned int diff;
diff             1862 sound/pci/es1968.c 	diff = (es->dma_size + hwptr - es->hwptr) % es->dma_size;
diff             1865 sound/pci/es1968.c 	es->count += diff;
diff             1493 sound/pci/maestro3.c 	int diff;
diff             1504 sound/pci/maestro3.c 	diff = s->dma_size + hwptr - s->hwptr;
diff             1505 sound/pci/maestro3.c 	if (diff >= s->dma_size)
diff             1506 sound/pci/maestro3.c 		diff %= s->dma_size;
diff             1509 sound/pci/maestro3.c 	s->count += diff;
diff             2662 sound/soc/codecs/arizona.c 			    bool diff)
diff             2671 sound/soc/codecs/arizona.c 	if (diff)
diff              323 sound/soc/codecs/arizona.h 			    bool diff);
diff              632 sound/soc/codecs/wm8960.c 	int diff, closest = mclk;
diff              649 sound/soc/codecs/wm8960.c 				diff = sysclk - bclk * bclk_divs[k] / 10;
diff              650 sound/soc/codecs/wm8960.c 				if (diff == 0) {
diff              656 sound/soc/codecs/wm8960.c 				if (diff > 0 && closest > diff) {
diff              660 sound/soc/codecs/wm8960.c 					closest = diff;
diff              700 sound/soc/codecs/wm8960.c 	int diff, closest, best_freq_out;
diff              721 sound/soc/codecs/wm8960.c 				diff = sysclk - bclk * bclk_divs[k] / 10;
diff              722 sound/soc/codecs/wm8960.c 				if (diff == 0) {
diff              728 sound/soc/codecs/wm8960.c 				if (diff > 0 && closest > diff) {
diff              732 sound/soc/codecs/wm8960.c 					closest = diff;
diff              729 sound/soc/codecs/wm8978.c 	unsigned int f_sel, diff, diff_best = INT_MAX;
diff              794 sound/soc/codecs/wm8978.c 			diff = abs(wm8978->f_256fs * 3 -
diff              797 sound/soc/codecs/wm8978.c 			if (diff < diff_best) {
diff              798 sound/soc/codecs/wm8978.c 				diff_best = diff;
diff              802 sound/soc/codecs/wm8978.c 			if (!diff)
diff              808 sound/soc/codecs/wm8978.c 		diff = 0;
diff              811 sound/soc/codecs/wm8978.c 	if (diff)
diff              953 sound/soc/sh/fsi.c 	unsigned long diff, min;
diff             1005 sound/soc/sh/fsi.c 		diff = abs(actual - target);
diff             1006 sound/soc/sh/fsi.c 		if (diff < min) {
diff             1007 sound/soc/sh/fsi.c 			min		= diff;
diff              116 sound/soc/sh/rcar/adg.c 	unsigned int min, diff;
diff              136 sound/soc/sh/rcar/adg.c 			diff = abs(target_rate - sel_rate[sel] / div);
diff              137 sound/soc/sh/rcar/adg.c 			if (min > diff) {
diff              139 sound/soc/sh/rcar/adg.c 				min = diff;
diff              284 sound/soc/sunxi/sun8i-codec.c 		unsigned int diff = abs(bdiv->div - div);
diff              286 sound/soc/sunxi/sun8i-codec.c 		if (diff < best_diff) {
diff              287 sound/soc/sunxi/sun8i-codec.c 			best_diff = diff;
diff              746 sound/soc/uniphier/aio-core.c 	int cur, diff, slope = 0, fs;
diff              752 sound/soc/uniphier/aio-core.c 	diff = abs(vol - cur);
diff              755 sound/soc/uniphier/aio-core.c 		slope = diff / AUD_VOL_FADE_TIME * 1000 / fs;
diff              538 sound/usb/usx2y/usb_stream.c 			int diff;
diff              543 sound/usb/usx2y/usb_stream.c 			diff = urb_size -
diff              545 sound/usb/usx2y/usb_stream.c 			if (diff < max_diff) {
diff              549 sound/usb/usx2y/usb_stream.c 					    inurb->number_of_packets, diff);
diff              550 sound/usb/usx2y/usb_stream.c 				max_diff = diff;
diff              189 sound/usb/usx2y/usbusx2y.c 		int diff = -1;
diff              191 sound/usb/usx2y/usbusx2y.c 			diff = 0;
diff              198 sound/usb/usx2y/usbusx2y.c 					if (diff < 0)
diff              199 sound/usb/usx2y/usbusx2y.c 						diff = i;
diff              204 sound/usb/usx2y/usbusx2y.c 		if (0 <= diff) {
diff              209 sound/usb/usx2y/usbusx2y.c 			us428ctls->CtlSnapShotDiffersAt[n] = diff;
diff              252 tools/iio/iio_event_monitor.c 	bool diff = IIO_EVENT_CODE_EXTRACT_DIFF(event->id);
diff              269 tools/iio/iio_event_monitor.c 		if (diff && chan2 >= 0)
diff              345 tools/io_uring/io_uring-bench.c 				int diff = to_submit - ret;
diff              348 tools/io_uring/io_uring-bench.c 				prepped -= diff;
diff             1093 tools/perf/bench/numa.c 	struct timeval start0, start, stop, diff;
diff             1195 tools/perf/bench/numa.c 			timersub(&stop, &start0, &diff);
diff             1196 tools/perf/bench/numa.c 			if ((u32)diff.tv_sec >= g->p.nr_secs) {
diff             1238 tools/perf/bench/numa.c 			timersub(&stop, &start, &diff);
diff             1239 tools/perf/bench/numa.c 			runtime_ns_max = diff.tv_sec * NSEC_PER_SEC;
diff             1240 tools/perf/bench/numa.c 			runtime_ns_max += diff.tv_usec * NSEC_PER_USEC;
diff             1251 tools/perf/bench/numa.c 		timersub(&stop, &start0, &diff);
diff             1252 tools/perf/bench/numa.c 		runtime_ns_max = diff.tv_sec * NSEC_PER_SEC;
diff             1253 tools/perf/bench/numa.c 		runtime_ns_max += diff.tv_usec * NSEC_PER_USEC;
diff             1259 tools/perf/bench/numa.c 	timersub(&stop, &start0, &diff);
diff             1260 tools/perf/bench/numa.c 	td->runtime_ns = diff.tv_sec * NSEC_PER_SEC;
diff             1261 tools/perf/bench/numa.c 	td->runtime_ns += diff.tv_usec * NSEC_PER_USEC;
diff             1487 tools/perf/bench/numa.c 	struct timeval start, stop, diff;
diff             1547 tools/perf/bench/numa.c 		timersub(&stop, &start, &diff);
diff             1549 tools/perf/bench/numa.c 		startup_sec = diff.tv_sec * NSEC_PER_SEC;
diff             1550 tools/perf/bench/numa.c 		startup_sec += diff.tv_usec * NSEC_PER_USEC;
diff             1583 tools/perf/bench/numa.c 	timersub(&stop, &start, &diff);
diff             1590 tools/perf/bench/numa.c 	runtime_sec_max = diff.tv_sec * NSEC_PER_SEC;
diff             1591 tools/perf/bench/numa.c 	runtime_sec_max += diff.tv_usec * NSEC_PER_USEC;
diff              264 tools/perf/bench/sched-messaging.c 	struct timeval start, stop, diff;
diff              302 tools/perf/bench/sched-messaging.c 	timersub(&stop, &start, &diff);
diff              312 tools/perf/bench/sched-messaging.c 		       diff.tv_sec,
diff              313 tools/perf/bench/sched-messaging.c 		       (unsigned long) (diff.tv_usec / USEC_PER_MSEC));
diff              316 tools/perf/bench/sched-messaging.c 		printf("%lu.%03lu\n", diff.tv_sec,
diff              317 tools/perf/bench/sched-messaging.c 		       (unsigned long) (diff.tv_usec / USEC_PER_MSEC));
diff               81 tools/perf/bench/sched-pipe.c 	struct timeval start, stop, diff;
diff              148 tools/perf/bench/sched-pipe.c 	timersub(&stop, &start, &diff);
diff              155 tools/perf/bench/sched-pipe.c 		result_usec = diff.tv_sec * USEC_PER_SEC;
diff              156 tools/perf/bench/sched-pipe.c 		result_usec += diff.tv_usec;
diff              159 tools/perf/bench/sched-pipe.c 		       diff.tv_sec,
diff              160 tools/perf/bench/sched-pipe.c 		       (unsigned long) (diff.tv_usec / USEC_PER_MSEC));
diff              171 tools/perf/bench/sched-pipe.c 		       diff.tv_sec,
diff              172 tools/perf/bench/sched-pipe.c 		       (unsigned long) (diff.tv_usec / USEC_PER_MSEC));
diff              274 tools/perf/builtin-diff.c 	pair->diff.period_ratio_delta = new_percent - old_percent;
diff              275 tools/perf/builtin-diff.c 	pair->diff.computed = true;
diff              276 tools/perf/builtin-diff.c 	return pair->diff.period_ratio_delta;
diff              284 tools/perf/builtin-diff.c 	pair->diff.computed = true;
diff              285 tools/perf/builtin-diff.c 	pair->diff.period_ratio = new_period / old_period;
diff              286 tools/perf/builtin-diff.c 	return pair->diff.period_ratio;
diff              294 tools/perf/builtin-diff.c 	pair->diff.computed = true;
diff              295 tools/perf/builtin-diff.c 	pair->diff.wdiff = new_period * compute_wdiff_w2 -
diff              298 tools/perf/builtin-diff.c 	return pair->diff.wdiff;
diff              578 tools/perf/builtin-diff.c 	l = llabs(left->diff.cycles);
diff              579 tools/perf/builtin-diff.c 	r = llabs(right->diff.cycles);
diff              695 tools/perf/builtin-diff.c 	pair->diff.computed = true;
diff              697 tools/perf/builtin-diff.c 		pair->diff.cycles =
diff              806 tools/perf/builtin-diff.c 		double l = left->diff.period_ratio_delta;
diff              807 tools/perf/builtin-diff.c 		double r = right->diff.period_ratio_delta;
diff              813 tools/perf/builtin-diff.c 		double l = fabs(left->diff.period_ratio_delta);
diff              814 tools/perf/builtin-diff.c 		double r = fabs(right->diff.period_ratio_delta);
diff              820 tools/perf/builtin-diff.c 		double l = left->diff.period_ratio;
diff              821 tools/perf/builtin-diff.c 		double r = right->diff.period_ratio;
diff              827 tools/perf/builtin-diff.c 		s64 l = left->diff.wdiff;
diff              828 tools/perf/builtin-diff.c 		s64 r = right->diff.wdiff;
diff             1360 tools/perf/builtin-diff.c 			  start_line, end_line, block_he->diff.cycles);
diff             1363 tools/perf/builtin-diff.c 			  bi->start, bi->end, block_he->diff.cycles);
diff             1379 tools/perf/builtin-diff.c 	double diff;
diff             1397 tools/perf/builtin-diff.c 		if (pair->diff.computed)
diff             1398 tools/perf/builtin-diff.c 			diff = pair->diff.period_ratio_delta;
diff             1400 tools/perf/builtin-diff.c 			diff = compute_delta(he, pair);
diff             1404 tools/perf/builtin-diff.c 					pfmt, diff);
diff             1408 tools/perf/builtin-diff.c 		if (pair->diff.computed)
diff             1409 tools/perf/builtin-diff.c 			diff = pair->diff.period_ratio;
diff             1411 tools/perf/builtin-diff.c 			diff = compute_ratio(he, pair);
diff             1415 tools/perf/builtin-diff.c 					pfmt, diff);
diff             1419 tools/perf/builtin-diff.c 		if (pair->diff.computed)
diff             1420 tools/perf/builtin-diff.c 			wdiff = pair->diff.wdiff;
diff             1482 tools/perf/builtin-diff.c 	double diff;
diff             1489 tools/perf/builtin-diff.c 		if (pair->diff.computed)
diff             1490 tools/perf/builtin-diff.c 			diff = pair->diff.period_ratio_delta;
diff             1492 tools/perf/builtin-diff.c 			diff = compute_delta(he, pair);
diff             1494 tools/perf/builtin-diff.c 		scnprintf(buf, size, "%+4.2F%%", diff);
diff             1504 tools/perf/builtin-diff.c 		if (pair->diff.computed)
diff             1505 tools/perf/builtin-diff.c 			ratio = pair->diff.period_ratio;
diff             1520 tools/perf/builtin-diff.c 		if (pair->diff.computed)
diff             1521 tools/perf/builtin-diff.c 			wdiff = pair->diff.wdiff;
diff               23 tools/perf/tests/switch-tracking.c 	struct timeval start, now, diff, maxtime;
diff               43 tools/perf/tests/switch-tracking.c 		timersub(&now, &start, &diff);
diff               44 tools/perf/tests/switch-tracking.c 		if (timercmp(&diff, &maxtime, > /* For checkpatch */))
diff              301 tools/perf/util/hist.c 	u64 diff;
diff              311 tools/perf/util/hist.c 	diff = prev_period - he->stat.period;
diff              314 tools/perf/util/hist.c 		hists->stats.total_period -= diff;
diff              316 tools/perf/util/hist.c 			hists->stats.total_non_filtered_period -= diff;
diff               37 tools/perf/util/mmap.c 	int diff = end - *startp;
diff               39 tools/perf/util/mmap.c 	if (diff >= (int)sizeof(event->header)) {
diff               45 tools/perf/util/mmap.c 		if (size < sizeof(event->header) || diff < (int)size)
diff              715 tools/perf/util/probe-finder.c 	int diff;
diff              742 tools/perf/util/probe-finder.c 		if (lno < fsp->line && fsp->diff > fsp->line - lno) {
diff              744 tools/perf/util/probe-finder.c 			fsp->diff = fsp->line - lno;
diff              769 tools/perf/util/probe-finder.c 		.diff = INT_MAX,
diff              121 tools/perf/util/sort.h 		struct hist_entry_diff	diff;
diff               56 tools/power/cpupower/debug/kernel/cpufreq-test_tsc.c 	u32 now, then, diff;
diff               90 tools/power/cpupower/debug/kernel/cpufreq-test_tsc.c 		diff = (now - then) & 0xFFFFFF;
diff               92 tools/power/cpupower/debug/kernel/cpufreq-test_tsc.c 		printk(KERN_DEBUG "t1: %08u t2: %08u diff_pmtmr: %08u diff_tsc: %016llu\n", then, now, diff, diff_tsc);
diff              210 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 	unsigned long diff;
diff              215 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 	diff = current_count[id][cpu] - previous_count[id][cpu];
diff              220 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 		*percent = 100.0 * diff / timediff / 12.5;
diff              223 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 	       timediff, diff * 10 / 125, *percent);
diff               15 tools/testing/selftests/bpf/progs/test_xdp_meta.c 	__u32 diff = 0;
diff               25 tools/testing/selftests/bpf/progs/test_xdp_meta.c 	diff |= ((__u32 *)data_meta)[0] ^ ((__u32 *)data)[0];
diff               26 tools/testing/selftests/bpf/progs/test_xdp_meta.c 	diff |= ((__u16 *)data_meta)[2] ^ ((__u16 *)data)[2];
diff               28 tools/testing/selftests/bpf/progs/test_xdp_meta.c 	return diff ? TC_ACT_SHOT : TC_ACT_OK;
diff               72 tools/testing/selftests/timers/adjtick.c 	long long diff = 0, tmp;
diff               87 tools/testing/selftests/timers/adjtick.c 		if (diff == 0 || newdiff < diff) {
diff               88 tools/testing/selftests/timers/adjtick.c 			diff = newdiff;
diff               64 tools/testing/selftests/timers/posix_timers.c 	long long diff;
diff               66 tools/testing/selftests/timers/posix_timers.c 	diff = end.tv_usec - start.tv_usec;
diff               67 tools/testing/selftests/timers/posix_timers.c 	diff += (end.tv_sec - start.tv_sec) * USECS_PER_SEC;
diff               69 tools/testing/selftests/timers/posix_timers.c 	if (abs(diff - DELAY * USECS_PER_SEC) > USECS_PER_SEC / 2) {
diff               70 tools/testing/selftests/timers/posix_timers.c 		printf("Diff too high: %lld..", diff);
diff               72 tools/testing/selftests/timers/raw_skew.c 	long long diff = 0, tmp;
diff               83 tools/testing/selftests/timers/raw_skew.c 		if (diff == 0 || newdiff < diff) {
diff               84 tools/testing/selftests/timers/raw_skew.c 			diff = newdiff;
diff               33 tools/testing/selftests/timers/rtcpie.c 	struct timeval start, end, diff;
diff              103 tools/testing/selftests/timers/rtcpie.c 			timersub(&end, &start, &diff);
diff              104 tools/testing/selftests/timers/rtcpie.c 			if (diff.tv_sec > 0 ||
diff              105 tools/testing/selftests/timers/rtcpie.c 			    diff.tv_usec > ((1000000L / tmp) * 1.10)) {
diff              107 tools/testing/selftests/timers/rtcpie.c 				       diff.tv_sec, diff.tv_usec,