delta 183 arch/alpha/boot/tools/objstrip.c unsigned long delta = e_entry - elf_phdr->p_vaddr; delta 184 arch/alpha/boot/tools/objstrip.c offset += delta; delta 185 arch/alpha/boot/tools/objstrip.c mem_size -= delta; delta 186 arch/alpha/boot/tools/objstrip.c fil_size -= delta; delta 187 arch/alpha/boot/tools/objstrip.c elf_phdr->p_vaddr += delta; delta 50 arch/alpha/include/asm/extable.h #define swap_ex_entry_fixup(a, b, tmp, delta) \ delta 311 arch/alpha/kernel/perf_event.c long delta; delta 321 arch/alpha/kernel/perf_event.c delta = (new_raw_count - (prev_raw_count & alpha_pmu->pmc_count_mask[idx])) + ovf; delta 326 arch/alpha/kernel/perf_event.c if (unlikely(delta < 0)) { delta 327 arch/alpha/kernel/perf_event.c delta += alpha_pmu->pmc_max_period[idx] + 1; delta 330 arch/alpha/kernel/perf_event.c local64_add(delta, &event->count); delta 331 arch/alpha/kernel/perf_event.c local64_sub(delta, &hwc->period_left); delta 123 arch/arc/kernel/perf_event.c s64 delta = new_raw_count - prev_raw_count; delta 130 arch/arc/kernel/perf_event.c local64_add(delta, &event->count); delta 131 arch/arc/kernel/perf_event.c local64_sub(delta, &hwc->period_left); delta 664 arch/arc/kernel/unwind.c static int advance_loc(unsigned long delta, struct unwind_state *state) delta 666 arch/arc/kernel/unwind.c state->loc += delta * state->codeAlign; delta 671 arch/arc/kernel/unwind.c unw_debug("delta %3lu => loc 0x%lx: ", delta, state->loc); delta 51 arch/arm/mach-footbridge/dc21285-timer.c static int ckevt_dc21285_set_next_event(unsigned long delta, delta 55 arch/arm/mach-footbridge/dc21285-timer.c *CSR_TIMER1_LOAD = delta; delta 308 arch/arm/mach-imx/mmdc.c u64 delta, prev_raw_count, new_raw_count; delta 317 arch/arm/mach-imx/mmdc.c delta = (new_raw_count - prev_raw_count) & 0xFFFFFFFF; delta 319 arch/arm/mach-imx/mmdc.c local64_add(delta, &event->count); delta 62 arch/arm/mach-iop32x/time.c static int iop_set_next_event(unsigned long delta, delta 67 arch/arm/mach-iop32x/time.c BUG_ON(delta == 0); delta 69 arch/arm/mach-iop32x/time.c write_tcr0(delta); delta 85 arch/arm/mach-mmp/time.c static int timer_set_next_event(unsigned long delta, delta 106 arch/arm/mach-mmp/time.c __raw_writel(delta - 1, mmp_timer_base + TMR_TN_MM(0, 0)); delta 109 arch/arm/mach-omap1/timer32k.c static int omap_32k_timer_set_next_event(unsigned long delta, delta 112 arch/arm/mach-omap1/timer32k.c omap_32k_timer_start(delta); delta 73 arch/arm/mach-s3c64xx/include/mach/pm-core.h u32 delta; delta 87 arch/arm/mach-s3c64xx/include/mach/pm-core.h delta = ucon_clk ^ save_clk; delta 94 arch/arm/mach-s3c64xx/include/mach/pm-core.h delta & S3C6400_UCON_PCLK2) { delta 96 arch/arm/mach-s3c64xx/include/mach/pm-core.h } else if (delta == S3C6400_UCON_PCLK2) { delta 269 arch/arm/mm/dump.c unsigned long delta; delta 276 arch/arm/mm/dump.c delta = (addr - st->start_address) >> 10; delta 277 arch/arm/mm/dump.c while (!(delta & 1023) && unit[1]) { delta 278 arch/arm/mm/dump.c delta >>= 10; delta 281 arch/arm/mm/dump.c pt_dump_seq_printf(st->seq, "%9lu%c", delta, *unit); delta 74 arch/arm/plat-orion/time.c orion_clkevt_next_event(unsigned long delta, struct clock_event_device *dev) delta 79 arch/arm/plat-orion/time.c if (delta == 0) delta 96 arch/arm/plat-orion/time.c writel(delta, timer_base + TIMER1_VAL_OFF); delta 257 arch/arm64/mm/dump.c unsigned long delta; delta 265 arch/arm64/mm/dump.c delta = (addr - st->start_address) >> 10; delta 266 arch/arm64/mm/dump.c while (!(delta & 1023) && unit[1]) { delta 267 arch/arm64/mm/dump.c delta >>= 10; delta 270 arch/arm64/mm/dump.c pt_dump_seq_printf(st->seq, "%9lu%c %s", delta, *unit, delta 170 arch/arm64/mm/numa.c unsigned long delta; delta 185 arch/arm64/mm/numa.c delta = (unsigned long)pcpu_base_addr - (unsigned long)__per_cpu_start; delta 187 arch/arm64/mm/numa.c __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; delta 17 arch/c6x/kernel/module.c long delta = ((long)dest - ep) >> 2; delta 20 arch/c6x/kernel/module.c if ((delta >> (maskbits - 1)) == 0 || delta 21 arch/c6x/kernel/module.c (delta >> (maskbits - 1)) == -1) { delta 24 arch/c6x/kernel/module.c opcode |= ((delta & mask) << shift); delta 119 arch/c6x/platforms/timer64.c static int next_event(unsigned long delta, delta 122 arch/c6x/platforms/timer64.c timer64_config(delta); delta 929 arch/csky/kernel/perf_event.c int64_t delta = new_raw_count - prev_raw_count; delta 936 arch/csky/kernel/perf_event.c local64_add(delta, &event->count); delta 937 arch/csky/kernel/perf_event.c local64_sub(delta, &hwc->period_left); delta 75 arch/hexagon/kernel/time.c static int set_next_event(unsigned long delta, struct clock_event_device *evt) delta 82 arch/hexagon/kernel/time.c iowrite32(delta, &rtos_timer->match); delta 60 arch/ia64/include/uapi/asm/rse.h long delta = ia64_rse_slot_num(addr) + num_regs; delta 63 arch/ia64/include/uapi/asm/rse.h delta -= 0x3e; delta 64 arch/ia64/include/uapi/asm/rse.h return addr + num_regs + delta/0x3f; delta 650 arch/ia64/kernel/module.c uint64_t delta = ((int64_t)val - (int64_t)location) / 16; delta 651 arch/ia64/kernel/module.c if (delta + (1 << 20) >= (1 << 21)) { delta 278 arch/ia64/kernel/smpboot.c long i, delta, adj, adjust_latency = 0, done = 0; delta 310 arch/ia64/kernel/smpboot.c delta = get_delta(&rt, &master_time_stamp); delta 311 arch/ia64/kernel/smpboot.c if (delta == 0) { delta 318 arch/ia64/kernel/smpboot.c adjust_latency += -delta; delta 319 arch/ia64/kernel/smpboot.c adj = -delta + adjust_latency/4; delta 321 arch/ia64/kernel/smpboot.c adj = -delta; delta 328 arch/ia64/kernel/smpboot.c t[i].diff = delta; delta 342 arch/ia64/kernel/smpboot.c "maxerr %lu cycles)\n", smp_processor_id(), master, delta, rt); delta 69 arch/ia64/kernel/time.c u64 delta; delta 81 arch/ia64/kernel/time.c delta = cycle_to_nsec(ti->stime); delta 82 arch/ia64/kernel/time.c account_system_index_time(tsk, delta, CPUTIME_SYSTEM); delta 86 arch/ia64/kernel/time.c delta = cycle_to_nsec(ti->hardirq_time); delta 87 arch/ia64/kernel/time.c account_system_index_time(tsk, delta, CPUTIME_IRQ); delta 91 arch/ia64/kernel/time.c delta = cycle_to_nsec(ti->softirq_time); delta 92 arch/ia64/kernel/time.c account_system_index_time(tsk, delta, CPUTIME_SOFTIRQ); delta 222 arch/ia64/kernel/time.c unsigned long shift = 0, delta; delta 227 arch/ia64/kernel/time.c delta = local_cpu_data->itm_delta; delta 234 arch/ia64/kernel/time.c shift = (2*(cpu - hi) + 1) * delta/hi/2; delta 236 arch/ia64/kernel/time.c local_cpu_data->itm_next = ia64_get_itc() + delta + shift; delta 75 arch/m68k/coldfire/pit.c static int cf_pit_next_event(unsigned long delta, delta 78 arch/m68k/coldfire/pit.c __raw_writew(delta, TA(MCFPIT_PMR)); delta 118 arch/microblaze/kernel/timer.c static int xilinx_timer_set_next_event(unsigned long delta, delta 121 arch/microblaze/kernel/timer.c pr_debug("%s: next event, delta %x\n", __func__, (u32)delta); delta 122 arch/microblaze/kernel/timer.c xilinx_timer0_start_oneshot(delta); delta 48 arch/mips/alchemy/common/time.c static int au1x_rtcmatch2_set_next_event(unsigned long delta, delta 51 arch/mips/alchemy/common/time.c delta += alchemy_rdsys(AU1000_SYS_RTCREAD); delta 55 arch/mips/alchemy/common/time.c alchemy_wrsys(delta, AU1000_SYS_RTCMATCH2); delta 57 arch/mips/kernel/cevt-bcm1480.c static int sibyte_next_event(unsigned long delta, struct clock_event_device *cd) delta 66 arch/mips/kernel/cevt-bcm1480.c __raw_writeq(delta - 1, init); delta 43 arch/mips/kernel/cevt-ds1287.c static int ds1287_set_next_event(unsigned long delta, delta 35 arch/mips/kernel/cevt-gt641xx.c static int gt641xx_timer0_set_next_event(unsigned long delta, delta 46 arch/mips/kernel/cevt-gt641xx.c GT_WRITE(GT_TC0_OFS, delta); delta 18 arch/mips/kernel/cevt-r4k.c static int mips_next_event(unsigned long delta, delta 25 arch/mips/kernel/cevt-r4k.c cnt += delta; delta 194 arch/mips/kernel/cevt-r4k.c unsigned int delta; delta 215 arch/mips/kernel/cevt-r4k.c for (delta = 0x10; delta <= 0x400000; delta <<= 1) { delta 217 arch/mips/kernel/cevt-r4k.c cnt += delta; delta 56 arch/mips/kernel/cevt-sb1250.c static int sibyte_next_event(unsigned long delta, struct clock_event_device *cd) delta 65 arch/mips/kernel/cevt-sb1250.c __raw_writeq(delta - 1, init); delta 138 arch/mips/kernel/cevt-txx9.c static int txx9tmr_set_next_event(unsigned long delta, delta 147 arch/mips/kernel/cevt-txx9.c __raw_writel(delta, &tmrptr->cpra); delta 411 arch/mips/kernel/perf_event_mipsxx.c u64 delta; delta 421 arch/mips/kernel/perf_event_mipsxx.c delta = new_raw_count - prev_raw_count; delta 423 arch/mips/kernel/perf_event_mipsxx.c local64_add(delta, &event->count); delta 424 arch/mips/kernel/perf_event_mipsxx.c local64_sub(delta, &hwc->period_left); delta 330 arch/mips/kvm/emulate.c u64 delta; delta 333 arch/mips/kvm/emulate.c delta = now_ns + vcpu->arch.count_dyn_bias; delta 335 arch/mips/kvm/emulate.c if (delta >= vcpu->arch.count_period) { delta 340 arch/mips/kvm/emulate.c delta = now_ns + vcpu->arch.count_dyn_bias; delta 353 arch/mips/kvm/emulate.c return div_u64(delta * vcpu->arch.count_hz, NSEC_PER_SEC); delta 506 arch/mips/kvm/emulate.c u64 delta; delta 511 arch/mips/kvm/emulate.c delta = (u64)(u32)(compare - count - 1) + 1; delta 512 arch/mips/kvm/emulate.c delta = div_u64(delta * NSEC_PER_SEC, vcpu->arch.count_hz); delta 513 arch/mips/kvm/emulate.c expire = ktime_add_ns(now, delta); delta 547 arch/mips/kvm/emulate.c u64 delta; delta 586 arch/mips/kvm/emulate.c delta = (u64)(u32)(now_count - count); delta 587 arch/mips/kvm/emulate.c delta = div_u64(delta * NSEC_PER_SEC, vcpu->arch.count_hz); delta 588 arch/mips/kvm/emulate.c count_time = ktime_sub_ns(now, delta); delta 701 arch/mips/kvm/emulate.c s32 delta = compare - old_compare; delta 724 arch/mips/kvm/emulate.c if (IS_ENABLED(CONFIG_KVM_MIPS_VZ) && delta > 0) { delta 747 arch/mips/kvm/emulate.c if (delta > 0) delta 765 arch/mips/kvm/emulate.c if (IS_ENABLED(CONFIG_KVM_MIPS_VZ) && delta <= 0) delta 858 arch/mips/kvm/emulate.c s64 delta; delta 886 arch/mips/kvm/emulate.c delta = (u64)(u32)(compare - count - 1) + 1; delta 887 arch/mips/kvm/emulate.c delta = div_u64(delta * NSEC_PER_SEC, delta 889 arch/mips/kvm/emulate.c expire = ktime_add_ns(vcpu->arch.count_resume, delta); delta 158 arch/mips/loongson64/loongson-3/hpet.c static int hpet_next_event(unsigned long delta, delta 165 arch/mips/loongson64/loongson-3/hpet.c cnt += (u32) delta; delta 42 arch/mips/ralink/cevt-rt3352.c static int systick_next_event(unsigned long delta, delta 50 arch/mips/ralink/cevt-rt3352.c count = (count + delta) % SYSTICK_FREQ; delta 41 arch/mips/sgi-ip27/ip27-timer.c static int rt_next_event(unsigned long delta, struct clock_event_device *evt) delta 48 arch/mips/sgi-ip27/ip27-timer.c cnt += delta; delta 947 arch/nds32/kernel/perf_event_cpu.c u64 delta, prev_raw_count, new_raw_count; delta 961 arch/nds32/kernel/perf_event_cpu.c delta = (new_raw_count - prev_raw_count) & nds32_pmu->max_period; delta 963 arch/nds32/kernel/perf_event_cpu.c local64_add(delta, &event->count); delta 964 arch/nds32/kernel/perf_event_cpu.c local64_sub(delta, &hwc->period_left); delta 161 arch/nios2/kernel/time.c static int nios2_timer_set_next_event(unsigned long delta, delta 166 arch/nios2/kernel/time.c nios2_timer_config(&nios2_ced->timer, delta, false); delta 16 arch/openrisc/include/asm/time.h extern void openrisc_timer_set_next(unsigned long delta); delta 33 arch/openrisc/kernel/time.c inline void openrisc_timer_set_next(unsigned long delta) delta 42 arch/openrisc/kernel/time.c c += delta; delta 51 arch/openrisc/kernel/time.c static int openrisc_timer_set_next_event(unsigned long delta, delta 54 arch/openrisc/kernel/time.c openrisc_timer_set_next(delta); delta 171 arch/powerpc/include/asm/time.h int delta = get_rtcl() - (unsigned int) tstamp; delta 172 arch/powerpc/include/asm/time.h return delta < 0 ? delta + 1000000000 : delta; delta 47 arch/powerpc/include/uapi/asm/nvram.h unsigned int delta; /* mix of GMT delta and DLS */ delta 788 arch/powerpc/kernel/setup_64.c unsigned long delta; delta 807 arch/powerpc/kernel/setup_64.c delta = (unsigned long)pcpu_base_addr - (unsigned long)__per_cpu_start; delta 809 arch/powerpc/kernel/setup_64.c __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; delta 49 arch/powerpc/lib/rheap.c int delta; delta 67 arch/powerpc/lib/rheap.c delta = (char *)block - (char *)info->block; delta 74 arch/powerpc/lib/rheap.c fixup(blks, blke, delta, &blk->list); delta 76 arch/powerpc/lib/rheap.c fixup(blks, blke, delta, &info->empty_list); delta 77 arch/powerpc/lib/rheap.c fixup(blks, blke, delta, &info->free_list); delta 78 arch/powerpc/lib/rheap.c fixup(blks, blke, delta, &info->taken_list); delta 150 arch/powerpc/mm/ptdump/ptdump.c unsigned long delta; delta 161 arch/powerpc/mm/ptdump/ptdump.c delta = st->page_size >> 10; delta 164 arch/powerpc/mm/ptdump/ptdump.c delta = (addr - st->start_address) >> 10; delta 167 arch/powerpc/mm/ptdump/ptdump.c while (!(delta & 1023) && unit[1]) { delta 168 arch/powerpc/mm/ptdump/ptdump.c delta >>= 10; delta 171 arch/powerpc/mm/ptdump/ptdump.c pt_dump_seq_printf(st->seq, "%9lu%c", delta, *unit); delta 126 arch/powerpc/perf/8xx-pmu.c s64 prev, val = 0, delta = 0; delta 136 arch/powerpc/perf/8xx-pmu.c delta = 16 * (val - prev); delta 140 arch/powerpc/perf/8xx-pmu.c delta = prev - val; delta 141 arch/powerpc/perf/8xx-pmu.c if (delta < 0) delta 142 arch/powerpc/perf/8xx-pmu.c delta += 0x1000000000000LL; delta 146 arch/powerpc/perf/8xx-pmu.c delta = (s64)((s32)val - (s32)prev); delta 150 arch/powerpc/perf/8xx-pmu.c delta = (s64)((s32)val - (s32)prev); delta 155 arch/powerpc/perf/8xx-pmu.c local64_add(delta, &event->count); delta 1036 arch/powerpc/perf/core-book3s.c u64 delta = (val - prev) & 0xfffffffful; delta 1048 arch/powerpc/perf/core-book3s.c delta = 0; delta 1050 arch/powerpc/perf/core-book3s.c return delta; delta 1055 arch/powerpc/perf/core-book3s.c s64 val, delta, prev; delta 1078 arch/powerpc/perf/core-book3s.c delta = check_and_compute_delta(prev, val); delta 1079 arch/powerpc/perf/core-book3s.c if (!delta) delta 1083 arch/powerpc/perf/core-book3s.c local64_add(delta, &event->count); delta 1096 arch/powerpc/perf/core-book3s.c val = prev - delta; delta 1117 arch/powerpc/perf/core-book3s.c u64 val, prev, delta; delta 1127 arch/powerpc/perf/core-book3s.c delta = check_and_compute_delta(prev, val); delta 1128 arch/powerpc/perf/core-book3s.c if (delta) delta 1129 arch/powerpc/perf/core-book3s.c local64_add(delta, &event->count); delta 2042 arch/powerpc/perf/core-book3s.c s64 prev, delta, left; delta 2052 arch/powerpc/perf/core-book3s.c delta = check_and_compute_delta(prev, val); delta 2053 arch/powerpc/perf/core-book3s.c local64_add(delta, &event->count); delta 2060 arch/powerpc/perf/core-book3s.c left = local64_read(&event->hw.period_left) - delta; delta 2061 arch/powerpc/perf/core-book3s.c if (delta == 0) delta 177 arch/powerpc/perf/core-fsl-emb.c s64 val, delta, prev; delta 194 arch/powerpc/perf/core-fsl-emb.c delta = (val - prev) & 0xfffffffful; delta 195 arch/powerpc/perf/core-fsl-emb.c local64_add(delta, &event->count); delta 196 arch/powerpc/perf/core-fsl-emb.c local64_sub(delta, &event->hw.period_left); delta 606 arch/powerpc/perf/core-fsl-emb.c s64 prev, delta, left; delta 616 arch/powerpc/perf/core-fsl-emb.c delta = (val - prev) & 0xfffffffful; delta 617 arch/powerpc/perf/core-fsl-emb.c local64_add(delta, &event->count); delta 624 arch/powerpc/perf/core-fsl-emb.c left = local64_read(&event->hw.period_left) - delta; delta 74 arch/powerpc/platforms/512x/mpc512x_shared.c unsigned long offset, want, got, delta; delta 141 arch/powerpc/platforms/512x/mpc512x_shared.c delta = abs(pixclock - got); delta 142 arch/powerpc/platforms/512x/mpc512x_shared.c if (delta < epsilon) delta 150 arch/powerpc/platforms/512x/mpc512x_shared.c delta = abs(pixclock - got); delta 151 arch/powerpc/platforms/512x/mpc512x_shared.c if (delta < epsilon) delta 157 arch/powerpc/platforms/512x/mpc512x_shared.c pixclock, got, delta, epsilon); delta 171 arch/powerpc/platforms/512x/mpc512x_shared.c delta = abs(pixclock - got); delta 173 arch/powerpc/platforms/512x/mpc512x_shared.c pixclock, got, delta, epsilon); delta 1029 arch/powerpc/platforms/cell/spufs/sched.c signed long long delta; delta 1035 arch/powerpc/platforms/cell/spufs/sched.c delta = curtime - ctx->stats.tstamp; delta 1038 arch/powerpc/platforms/cell/spufs/sched.c WARN_ON(delta < 0); delta 1049 arch/powerpc/platforms/cell/spufs/sched.c ctx->stats.times[old_state] += delta; delta 1050 arch/powerpc/platforms/cell/spufs/sched.c spu->stats.times[old_state] += delta; delta 70 arch/powerpc/platforms/powermac/time.c s32 delta = 0; delta 74 arch/powerpc/platforms/powermac/time.c delta = ((s32)pmac_xpram_read(PMAC_XPRAM_MACHINE_LOC + 0x9)) << 16; delta 75 arch/powerpc/platforms/powermac/time.c delta |= ((s32)pmac_xpram_read(PMAC_XPRAM_MACHINE_LOC + 0xa)) << 8; delta 76 arch/powerpc/platforms/powermac/time.c delta |= pmac_xpram_read(PMAC_XPRAM_MACHINE_LOC + 0xb); delta 77 arch/powerpc/platforms/powermac/time.c if (delta & 0x00800000UL) delta 78 arch/powerpc/platforms/powermac/time.c delta |= 0xFF000000UL; delta 80 arch/powerpc/platforms/powermac/time.c printk("GMT Delta read from XPRAM: %d minutes, DST: %s\n", delta/60, delta 83 arch/powerpc/platforms/powermac/time.c return delta; delta 280 arch/powerpc/platforms/pseries/vio.c size_t avail, delta, tmp; delta 286 arch/powerpc/platforms/pseries/vio.c delta = new_entitlement - vio_cmo.entitled; delta 290 arch/powerpc/platforms/pseries/vio.c tmp = min(delta, (VIO_CMO_MIN_ENT - vio_cmo.spare)); delta 293 arch/powerpc/platforms/pseries/vio.c delta -= tmp; delta 297 arch/powerpc/platforms/pseries/vio.c vio_cmo.entitled += delta; delta 298 arch/powerpc/platforms/pseries/vio.c vio_cmo.excess.size += delta; delta 299 arch/powerpc/platforms/pseries/vio.c vio_cmo.excess.free += delta; delta 305 arch/powerpc/platforms/pseries/vio.c delta = vio_cmo.entitled - new_entitlement; delta 313 arch/powerpc/platforms/pseries/vio.c if (avail >= delta) delta 324 arch/powerpc/platforms/pseries/vio.c if (delta <= avail) { delta 325 arch/powerpc/platforms/pseries/vio.c vio_cmo.entitled -= delta; delta 328 arch/powerpc/platforms/pseries/vio.c tmp = min(vio_cmo.excess.free, delta); delta 331 arch/powerpc/platforms/pseries/vio.c delta -= tmp; delta 338 arch/powerpc/platforms/pseries/vio.c if (!delta) delta 348 arch/powerpc/platforms/pseries/vio.c viodev->cmo.entitled -= min(tmp, delta); delta 349 arch/powerpc/platforms/pseries/vio.c delta -= min(tmp, delta); delta 220 arch/riscv/kernel/perf_event.c u64 delta; delta 233 arch/riscv/kernel/perf_event.c delta = (new_raw_count - prev_raw_count) & delta 235 arch/riscv/kernel/perf_event.c local64_add(delta, &event->count); delta 339 arch/s390/kernel/perf_cpum_cf.c u64 prev, new, delta; delta 349 arch/s390/kernel/perf_cpum_cf.c delta = (prev <= new) ? new - prev delta 351 arch/s390/kernel/perf_cpum_cf.c local64_add(delta, &event->count); delta 147 arch/s390/kernel/time.c static int s390_next_event(unsigned long delta, delta 150 arch/s390/kernel/time.c S390_lowcore.clock_comparator = get_tod_clock() + delta; delta 214 arch/s390/kernel/time.c __u64 delta; delta 216 arch/s390/kernel/time.c delta = initial_leap_seconds + TOD_UNIX_EPOCH; delta 218 arch/s390/kernel/time.c *(__u64 *) &clk[1] -= delta; delta 219 arch/s390/kernel/time.c if (*(__u64 *) &clk[1] > delta) delta 229 arch/s390/kernel/time.c __u64 delta; delta 231 arch/s390/kernel/time.c delta = initial_leap_seconds + TOD_UNIX_EPOCH; delta 233 arch/s390/kernel/time.c *(__u64 *)&clk[1] -= delta; delta 234 arch/s390/kernel/time.c if (*(__u64 *)&clk[1] > delta) delta 431 arch/s390/kernel/time.c static void clock_sync_global(unsigned long long delta) delta 437 arch/s390/kernel/time.c *(unsigned long long *) &tod_clock_base[1] += delta; delta 438 arch/s390/kernel/time.c if (*(unsigned long long *) &tod_clock_base[1] < delta) delta 449 arch/s390/kernel/time.c tod_steering_delta += delta; delta 461 arch/s390/kernel/time.c atomic_notifier_call_chain(&s390_epoch_delta_notifier, 0, &delta); delta 468 arch/s390/kernel/time.c static void clock_sync_local(unsigned long long delta) delta 472 arch/s390/kernel/time.c S390_lowcore.clock_comparator += delta; delta 476 arch/s390/kernel/time.c S390_lowcore.last_update_clock += delta; delta 69 arch/s390/kernel/vtime.c u64 delta, fac, mult, div; delta 77 arch/s390/kernel/vtime.c delta = cycles_new[i] - cycles_old[i]; delta 78 arch/s390/kernel/vtime.c div += delta; delta 80 arch/s390/kernel/vtime.c mult += delta * fac; delta 96 arch/s390/kernel/vtime.c u64 delta; delta 98 arch/s390/kernel/vtime.c delta = new - *tsk_vtime; delta 100 arch/s390/kernel/vtime.c return delta; delta 238 arch/s390/kvm/kvm-s390.c static void kvm_clock_sync_scb(struct kvm_s390_sie_block *scb, u64 delta) delta 246 arch/s390/kvm/kvm-s390.c delta = -delta; delta 249 arch/s390/kvm/kvm-s390.c if ((s64)delta < 0) delta 252 arch/s390/kvm/kvm-s390.c scb->epoch += delta; delta 255 arch/s390/kvm/kvm-s390.c if (scb->epoch < delta) delta 272 arch/s390/kvm/kvm-s390.c unsigned long long *delta = v; delta 276 arch/s390/kvm/kvm-s390.c kvm_clock_sync_scb(vcpu->arch.sie_block, *delta); delta 282 arch/s390/kvm/kvm-s390.c vcpu->arch.cputm_start += *delta; delta 285 arch/s390/kvm/kvm-s390.c *delta); delta 74 arch/s390/mm/dump_pagetables.c unsigned long delta; delta 96 arch/s390/mm/dump_pagetables.c delta = (st->current_address - st->start_address) >> 10; delta 97 arch/s390/mm/dump_pagetables.c while (!(delta & 0x3ff) && unit[1]) { delta 98 arch/s390/mm/dump_pagetables.c delta >>= 10; delta 101 arch/s390/mm/dump_pagetables.c seq_printf(m, "%9lu%c ", delta, *unit); delta 405 arch/sh/kernel/dwarf.c unsigned int count, delta, reg, expr_len, offset; delta 419 arch/sh/kernel/dwarf.c delta = DW_CFA_operand(insn); delta 420 arch/sh/kernel/dwarf.c delta *= cie->code_alignment_factor; delta 421 arch/sh/kernel/dwarf.c frame->pc += delta; delta 448 arch/sh/kernel/dwarf.c delta = *current_insn++; delta 449 arch/sh/kernel/dwarf.c frame->pc += delta * cie->code_alignment_factor; delta 452 arch/sh/kernel/dwarf.c delta = get_unaligned((u16 *)current_insn); delta 454 arch/sh/kernel/dwarf.c frame->pc += delta * cie->code_alignment_factor; delta 457 arch/sh/kernel/dwarf.c delta = get_unaligned((u32 *)current_insn); delta 459 arch/sh/kernel/dwarf.c frame->pc += delta * cie->code_alignment_factor; delta 180 arch/sh/kernel/perf_event.c s64 delta; delta 211 arch/sh/kernel/perf_event.c delta = (new_raw_count << shift) - (prev_raw_count << shift); delta 212 arch/sh/kernel/perf_event.c delta >>= shift; delta 214 arch/sh/kernel/perf_event.c local64_add(delta, &event->count); delta 96 arch/sparc/kernel/pcr.c u32 delta = local_cpu_data().clock_tick / nmi_hz; delta 98 arch/sparc/kernel/pcr.c return ((u64)((0 - delta) & 0xffffffff)) << 32; delta 126 arch/sparc/kernel/pcr.c u32 delta = local_cpu_data().clock_tick / (nmi_hz << 2); delta 128 arch/sparc/kernel/pcr.c return ((u64)((0 - delta) & 0xffffffff)) << 32; delta 178 arch/sparc/kernel/pcr.c u32 delta = local_cpu_data().clock_tick / (nmi_hz << 2); delta 180 arch/sparc/kernel/pcr.c return ((u64)((0 - delta) & 0xffffffff)); delta 868 arch/sparc/kernel/perf_event.c s64 delta; delta 878 arch/sparc/kernel/perf_event.c delta = (new_raw_count << shift) - (prev_raw_count << shift); delta 879 arch/sparc/kernel/perf_event.c delta >>= shift; delta 881 arch/sparc/kernel/perf_event.c local64_add(delta, &event->count); delta 882 arch/sparc/kernel/perf_event.c local64_sub(delta, &hwc->period_left); delta 205 arch/sparc/kernel/smp_64.c long i, delta, adj, adjust_latency = 0, done = 0; delta 224 arch/sparc/kernel/smp_64.c delta = get_delta(&rt, &master_time_stamp); delta 225 arch/sparc/kernel/smp_64.c if (delta == 0) delta 230 arch/sparc/kernel/smp_64.c adjust_latency += -delta; delta 231 arch/sparc/kernel/smp_64.c adj = -delta + adjust_latency/4; delta 233 arch/sparc/kernel/smp_64.c adj = -delta; delta 240 arch/sparc/kernel/smp_64.c t[i].diff = delta; delta 255 arch/sparc/kernel/smp_64.c smp_processor_id(), delta, rt); delta 1665 arch/sparc/kernel/smp_64.c unsigned long delta; delta 1688 arch/sparc/kernel/smp_64.c delta = (unsigned long)pcpu_base_addr - (unsigned long)__per_cpu_start; delta 1690 arch/sparc/kernel/smp_64.c __per_cpu_offset(cpu) = delta + pcpu_unit_offsets[cpu]; delta 202 arch/sparc/kernel/time_32.c static int percpu_ce_set_next_event(unsigned long delta, delta 206 arch/sparc/kernel/time_32.c unsigned int next = (unsigned int)delta; delta 694 arch/sparc/kernel/time_64.c static int sparc64_next_event(unsigned long delta, delta 697 arch/sparc/kernel/time_64.c return tick_operations.add_compare(delta) ? -ETIME : 0; delta 85 arch/um/kernel/time.c static int itimer_next_event(unsigned long delta, delta 88 arch/um/kernel/time.c delta += 1; delta 92 arch/um/kernel/time.c time_travel_set_timer_expiry(time_travel_time + delta); delta 96 arch/um/kernel/time.c return os_timer_one_shot(delta); delta 34 arch/unicore32/kernel/time.c puv3_osmr0_set_next_event(unsigned long delta, struct clock_event_device *c) delta 39 arch/unicore32/kernel/time.c next = readl(OST_OSCR) + delta; delta 179 arch/x86/boot/compressed/misc.c unsigned long delta, map, ptr; delta 187 arch/x86/boot/compressed/misc.c delta = min_addr - LOAD_PHYSICAL_ADDR; delta 196 arch/x86/boot/compressed/misc.c map = delta - __START_KERNEL_map; delta 204 arch/x86/boot/compressed/misc.c delta = virt_addr - LOAD_PHYSICAL_ADDR; delta 206 arch/x86/boot/compressed/misc.c if (!delta) { delta 239 arch/x86/boot/compressed/misc.c *(uint32_t *)ptr += delta; delta 250 arch/x86/boot/compressed/misc.c *(int32_t *)ptr -= delta; delta 260 arch/x86/boot/compressed/misc.c *(uint64_t *)ptr += delta; delta 52 arch/x86/boot/string.c int delta = 0; delta 55 arch/x86/boot/string.c delta = *s1 - *s2; delta 56 arch/x86/boot/string.c if (delta) delta 57 arch/x86/boot/string.c return delta; delta 159 arch/x86/events/amd/ibs.c u64 delta; delta 181 arch/x86/events/amd/ibs.c delta = (new_raw_count << shift) - (prev_raw_count << shift); delta 182 arch/x86/events/amd/ibs.c delta >>= shift; delta 184 arch/x86/events/amd/ibs.c local64_add(delta, &event->count); delta 185 arch/x86/events/amd/ibs.c local64_sub(delta, &hwc->period_left); delta 303 arch/x86/events/amd/iommu.c u64 count, prev, delta; delta 319 arch/x86/events/amd/iommu.c delta = (count << COUNTER_SHIFT) - (prev << COUNTER_SHIFT); delta 320 arch/x86/events/amd/iommu.c delta >>= COUNTER_SHIFT; delta 321 arch/x86/events/amd/iommu.c local64_add(delta, &event->count); delta 51 arch/x86/events/amd/power.c u64 delta, tdelta; delta 63 arch/x86/events/amd/power.c delta = max_cu_acc_power + new_pwr_acc; delta 64 arch/x86/events/amd/power.c delta -= prev_pwr_acc; delta 66 arch/x86/events/amd/power.c delta = new_pwr_acc - prev_pwr_acc; delta 68 arch/x86/events/amd/power.c delta *= cpu_pwr_sample_ratio * 1000; delta 71 arch/x86/events/amd/power.c do_div(delta, tdelta); delta 72 arch/x86/events/amd/power.c local64_add(delta, &event->count); delta 86 arch/x86/events/amd/uncore.c s64 delta; delta 96 arch/x86/events/amd/uncore.c delta = (new << COUNTER_SHIFT) - (prev << COUNTER_SHIFT); delta 97 arch/x86/events/amd/uncore.c delta >>= COUNTER_SHIFT; delta 98 arch/x86/events/amd/uncore.c local64_add(delta, &event->count); delta 74 arch/x86/events/core.c u64 delta; delta 102 arch/x86/events/core.c delta = (new_raw_count << shift) - (prev_raw_count << shift); delta 103 arch/x86/events/core.c delta >>= shift; delta 105 arch/x86/events/core.c local64_add(delta, &event->count); delta 106 arch/x86/events/core.c local64_sub(delta, &hwc->period_left); delta 180 arch/x86/events/intel/rapl.c s64 delta, sdelta; delta 201 arch/x86/events/intel/rapl.c delta = (new_raw_count << shift) - (prev_raw_count << shift); delta 202 arch/x86/events/intel/rapl.c delta >>= shift; delta 204 arch/x86/events/intel/rapl.c sdelta = rapl_scale(delta, event->hw.config); delta 235 arch/x86/events/intel/uncore.c u64 prev_count, new_count, delta; delta 252 arch/x86/events/intel/uncore.c delta = (new_count << shift) - (prev_count << shift); delta 253 arch/x86/events/intel/uncore.c delta >>= shift; delta 255 arch/x86/events/intel/uncore.c local64_add(delta, &event->count); delta 230 arch/x86/events/msr.c s64 delta; delta 240 arch/x86/events/msr.c delta = now - prev; delta 242 arch/x86/events/msr.c delta = sign_extend64(delta, 31); delta 243 arch/x86/events/msr.c local64_add(delta, &event->count); delta 249 arch/x86/events/msr.c local64_add(delta, &event->count); delta 24 arch/x86/include/asm/extable.h #define swap_ex_entry_fixup(a, b, tmp, delta) \ delta 26 arch/x86/include/asm/extable.h (a)->fixup = (b)->fixup + (delta); \ delta 27 arch/x86/include/asm/extable.h (b)->fixup = (tmp).fixup - (delta); \ delta 28 arch/x86/include/asm/extable.h (a)->handler = (b)->handler + (delta); \ delta 29 arch/x86/include/asm/extable.h (b)->handler = (tmp).handler - (delta); \ delta 42 arch/x86/include/asm/pvclock.h static inline u64 pvclock_scale_delta(u64 delta, u32 mul_frac, int shift) delta 52 arch/x86/include/asm/pvclock.h delta >>= -shift; delta 54 arch/x86/include/asm/pvclock.h delta <<= shift; delta 66 arch/x86/include/asm/pvclock.h : "a" ((u32)delta), "1" ((u32)(delta >> 32)), "2" (mul_frac) ); delta 72 arch/x86/include/asm/pvclock.h : "0"(delta), delta 84 arch/x86/include/asm/pvclock.h u64 delta = tsc - src->tsc_timestamp; delta 85 arch/x86/include/asm/pvclock.h u64 offset = pvclock_scale_delta(delta, src->tsc_to_system_mul, delta 463 arch/x86/kernel/apic/apic.c static int lapic_next_event(unsigned long delta, delta 466 arch/x86/kernel/apic/apic.c apic_write(APIC_TMICT, delta); delta 470 arch/x86/kernel/apic/apic.c static int lapic_next_deadline(unsigned long delta, delta 476 arch/x86/kernel/apic/apic.c wrmsrl(MSR_IA32_TSC_DEADLINE, tsc + (((u64) delta) * TSC_DIVISOR)); delta 756 arch/x86/kernel/apic/apic.c calibrate_by_pmtimer(long deltapm, long *delta, long *deltatsc) delta 787 arch/x86/kernel/apic/apic.c res = (((u64)(*delta)) * pm_100ms); delta 790 arch/x86/kernel/apic/apic.c "%lu (%ld)\n", (unsigned long)res, *delta); delta 791 arch/x86/kernel/apic/apic.c *delta = (long)res; delta 870 arch/x86/kernel/apic/apic.c long delta, deltatsc; delta 955 arch/x86/kernel/apic/apic.c delta = lapic_cal_t1 - lapic_cal_t2; delta 956 arch/x86/kernel/apic/apic.c apic_printk(APIC_VERBOSE, "... lapic delta = %ld\n", delta); delta 962 arch/x86/kernel/apic/apic.c &delta, &deltatsc); delta 964 arch/x86/kernel/apic/apic.c lapic_timer_period = (delta * APIC_DIVISOR) / LAPIC_CAL_LOOPS; delta 967 arch/x86/kernel/apic/apic.c apic_printk(APIC_VERBOSE, "..... delta %ld\n", delta); delta 1255 arch/x86/kernel/fpu/xstate.c long delta; delta 1261 arch/x86/kernel/fpu/xstate.c delta = -1; delta 1263 arch/x86/kernel/fpu/xstate.c delta = (long)(jiffies - timestamp); delta 1267 arch/x86/kernel/fpu/xstate.c if (delta < 0) delta 1268 arch/x86/kernel/fpu/xstate.c delta = LONG_MAX; delta 1269 arch/x86/kernel/fpu/xstate.c delta = jiffies_to_msecs(delta); delta 1272 arch/x86/kernel/fpu/xstate.c seq_put_decimal_ll(m, "AVX512_elapsed_ms:\t", delta); delta 299 arch/x86/kernel/hpet.c uint64_t delta; delta 302 arch/x86/kernel/hpet.c delta = ((uint64_t)(NSEC_PER_SEC / HZ)) * evt->mult; delta 303 arch/x86/kernel/hpet.c delta >>= evt->shift; delta 305 arch/x86/kernel/hpet.c cmp = now + (unsigned int)delta; delta 319 arch/x86/kernel/hpet.c hpet_writel((unsigned int)delta, HPET_Tn_CMP(channel)); delta 359 arch/x86/kernel/hpet.c hpet_clkevt_set_next_event(unsigned long delta, struct clock_event_device *evt) delta 366 arch/x86/kernel/hpet.c cnt += (u32) delta; delta 1084 arch/x86/kernel/hpet.c unsigned int cfg, cnt, delta; delta 1100 arch/x86/kernel/hpet.c delta = hpet_default_delta; delta 1102 arch/x86/kernel/hpet.c delta = hpet_pie_delta; delta 1106 arch/x86/kernel/hpet.c cnt = delta + hpet_readl(HPET_COUNTER); delta 1210 arch/x86/kernel/hpet.c unsigned int delta; delta 1217 arch/x86/kernel/hpet.c delta = hpet_default_delta; delta 1219 arch/x86/kernel/hpet.c delta = hpet_pie_delta; delta 1226 arch/x86/kernel/hpet.c hpet_t1_cmp += delta; delta 141 arch/x86/kernel/nmi.c u64 delta; delta 143 arch/x86/kernel/nmi.c delta = sched_clock(); delta 146 arch/x86/kernel/nmi.c delta = sched_clock() - delta; delta 147 arch/x86/kernel/nmi.c trace_nmi_handler(a->handler, (int)delta, thishandled); delta 149 arch/x86/kernel/nmi.c nmi_check_duration(a, delta); delta 58 arch/x86/kernel/paravirt.c u32 delta; delta 66 arch/x86/kernel/paravirt.c unsigned long delta = (unsigned long)target - (addr+call_len); delta 75 arch/x86/kernel/paravirt.c b->delta = delta; delta 92 arch/x86/kernel/paravirt.c unsigned long delta = (unsigned long)target - (addr+5); delta 102 arch/x86/kernel/paravirt.c b->delta = delta; delta 118 arch/x86/kernel/pvclock.c u64 delta; delta 137 arch/x86/kernel/pvclock.c delta = pvclock_clocksource_read(vcpu_time); /* time since system boot */ delta 138 arch/x86/kernel/pvclock.c delta += now.tv_sec * NSEC_PER_SEC + now.tv_nsec; delta 140 arch/x86/kernel/pvclock.c now.tv_nsec = do_div(delta, NSEC_PER_SEC); delta 141 arch/x86/kernel/pvclock.c now.tv_sec = delta; delta 171 arch/x86/kernel/setup_percpu.c unsigned long delta; delta 221 arch/x86/kernel/setup_percpu.c delta = (unsigned long)pcpu_base_addr - (unsigned long)__per_cpu_start; delta 223 arch/x86/kernel/setup_percpu.c per_cpu_offset(cpu) = delta + pcpu_unit_offsets[cpu]; delta 383 arch/x86/kernel/tsc.c u64 tsc, t1, t2, delta; delta 420 arch/x86/kernel/tsc.c delta = t2 - tsc; delta 422 arch/x86/kernel/tsc.c if ((unsigned long) delta < tscmin) delta 423 arch/x86/kernel/tsc.c tscmin = (unsigned int) delta; delta 424 arch/x86/kernel/tsc.c if ((unsigned long) delta > tscmax) delta 425 arch/x86/kernel/tsc.c tscmax = (unsigned int) delta; delta 442 arch/x86/kernel/tsc.c delta = t2 - t1; delta 443 arch/x86/kernel/tsc.c do_div(delta, ms); delta 444 arch/x86/kernel/tsc.c return delta; delta 522 arch/x86/kernel/tsc.c u64 tsc, delta; delta 556 arch/x86/kernel/tsc.c if (!pit_expect_msb(0xff-i, &delta, &d2)) delta 559 arch/x86/kernel/tsc.c delta -= tsc; delta 566 arch/x86/kernel/tsc.c d1 + d2 >= (delta * MAX_QUICK_PIT_ITERATIONS) >> 11) delta 572 arch/x86/kernel/tsc.c if (d1+d2 >= delta >> 11) delta 604 arch/x86/kernel/tsc.c delta *= PIT_TICK_RATE; delta 605 arch/x86/kernel/tsc.c do_div(delta, i*256*1000); delta 607 arch/x86/kernel/tsc.c return delta; delta 711 arch/x86/kernel/tsc.c u64 tsc1, tsc2, delta, ref1, ref2; delta 781 arch/x86/kernel/tsc.c delta = ((u64) tsc_pit_min) * 100; delta 782 arch/x86/kernel/tsc.c do_div(delta, tsc_ref_min); delta 790 arch/x86/kernel/tsc.c if (delta >= 90 && delta <= 110) { delta 1294 arch/x86/kernel/tsc.c u64 tsc_stop, ref_stop, delta; delta 1329 arch/x86/kernel/tsc.c delta = tsc_stop - tsc_start; delta 1330 arch/x86/kernel/tsc.c delta *= 1000000LL; delta 1332 arch/x86/kernel/tsc.c freq = calc_hpet_ref(delta, ref_start, ref_stop); delta 1334 arch/x86/kernel/tsc.c freq = calc_pmtimer_ref(delta, ref_start, ref_stop); delta 192 arch/x86/kernel/unwind_orc.c int delta = _b - _a; delta 196 arch/x86/kernel/unwind_orc.c *a = *b + delta; delta 197 arch/x86/kernel/unwind_orc.c *b = tmp - delta; delta 1653 arch/x86/kvm/lapic.c ktime_t delta; delta 1665 arch/x86/kvm/lapic.c delta = ktime_sub(apic->lapic_timer.target_expiration, now); delta 1667 arch/x86/kvm/lapic.c nsec_to_cycles(apic->vcpu, delta); delta 951 arch/x86/kvm/trace.h TP_PROTO(unsigned int vcpu_id, s64 delta), delta 952 arch/x86/kvm/trace.h TP_ARGS(vcpu_id, delta), delta 956 arch/x86/kvm/trace.h __field( s64, delta ) delta 961 arch/x86/kvm/trace.h __entry->delta = delta; delta 966 arch/x86/kvm/trace.h __entry->delta, delta 967 arch/x86/kvm/trace.h __entry->delta < 0 ? "early" : "late") delta 1987 arch/x86/kvm/x86.c u64 delta = nsec_to_cycles(vcpu, elapsed); delta 1988 arch/x86/kvm/x86.c data += delta; delta 8302 arch/x86/kvm/x86.c s64 delta = vcpu->arch.apic->lapic_timer.advance_expire_delta; delta 8303 arch/x86/kvm/x86.c if (delta != S64_MIN) { delta 8304 arch/x86/kvm/x86.c trace_kvm_wait_lapic_expire(vcpu->vcpu_id, delta); delta 295 arch/x86/mm/dump_pagetables.c unsigned long delta; delta 311 arch/x86/mm/dump_pagetables.c delta = st->current_address - st->start_address; delta 312 arch/x86/mm/dump_pagetables.c while (!(delta & 1023) && unit[1]) { delta 313 arch/x86/mm/dump_pagetables.c delta >>= 10; delta 317 arch/x86/mm/dump_pagetables.c delta, *unit); delta 301 arch/x86/platform/uv/uv_time.c static int uv_rtc_next_event(unsigned long delta, delta 306 arch/x86/platform/uv/uv_time.c return uv_rtc_set_timer(ced_cpu, delta + uv_read_rtc(NULL)); delta 187 arch/x86/xen/time.c static s64 get_abs_timeout(unsigned long delta) delta 189 arch/x86/xen/time.c return xen_clocksource_read() + delta; delta 200 arch/x86/xen/time.c static int xen_timerop_set_next_event(unsigned long delta, delta 205 arch/x86/xen/time.c if (HYPERVISOR_set_timer_op(get_abs_timeout(delta)) < 0) delta 256 arch/x86/xen/time.c static int xen_vcpuop_set_next_event(unsigned long delta, delta 265 arch/x86/xen/time.c single.timeout_abs_ns = get_abs_timeout(delta); delta 140 arch/xtensa/kernel/perf_event.c int64_t delta; delta 148 arch/xtensa/kernel/perf_event.c delta = (new_raw_count - prev_raw_count) & XTENSA_PMU_COUNTER_MASK; delta 150 arch/xtensa/kernel/perf_event.c local64_add(delta, &event->count); delta 151 arch/xtensa/kernel/perf_event.c local64_sub(delta, &hwc->period_left); delta 61 arch/xtensa/kernel/time.c static int ccount_timer_set_next_event(unsigned long delta, delta 68 arch/xtensa/kernel/time.c next = get_ccount() + delta; delta 70 arch/xtensa/kernel/time.c if (next - get_ccount() > delta) delta 3913 block/bfq-iosched.c unsigned long delta = 0; delta 3919 block/bfq-iosched.c slow = bfq_bfqq_is_slow(bfqd, bfqq, compensate, reason, &delta); delta 3940 block/bfq-iosched.c bfq_bfqq_charge_time(bfqd, bfqq, delta); delta 951 block/bfq-wf2q.c unsigned long delta = st->vtime - entity->finish; delta 954 block/bfq-wf2q.c delta /= bfqq->wr_coeff; delta 956 block/bfq-wf2q.c entity->start += delta; delta 957 block/bfq-wf2q.c entity->finish += delta; delta 1828 block/blk-cgroup.c void blkcg_add_delay(struct blkcg_gq *blkg, u64 now, u64 delta) delta 1831 block/blk-cgroup.c atomic64_add(delta, &blkg->delay_nsec); delta 1160 block/blk-iocost.c u64 delta = min_t(u64, vbudget, vdebt); delta 1161 block/blk-iocost.c u64 abs_delta = min(cost_to_abs_cost(delta, hw_inuse), delta 1164 block/blk-iocost.c atomic64_add(delta, &iocg->vtime); delta 1165 block/blk-iocost.c atomic64_add(delta, &iocg->done_vtime); delta 1461 block/blk-iocost.c u64 delta = vmin - vtime; delta 1464 block/blk-iocost.c atomic64_add(delta, &iocg->vtime); delta 1465 block/blk-iocost.c atomic64_add(delta, &iocg->done_vtime); delta 1466 block/blk-iocost.c iocg->last_vtime += delta; delta 553 crypto/jitterentropy.c __u64 delta = 0; delta 566 crypto/jitterentropy.c delta = time2 - time; delta 572 crypto/jitterentropy.c if (!delta) delta 575 crypto/jitterentropy.c stuck = jent_stuck(&ec, delta); delta 605 crypto/jitterentropy.c if (delta > old_delta) delta 606 crypto/jitterentropy.c delta_sum += (delta - old_delta); delta 608 crypto/jitterentropy.c delta_sum += (old_delta - delta); delta 609 crypto/jitterentropy.c old_delta = delta; delta 1377 drivers/acpi/acpi_video.c int min, max, min_above, max_below, i, l, delta = 255; delta 1383 drivers/acpi/acpi_video.c if (abs(l - level_current) < abs(delta)) { delta 1384 drivers/acpi/acpi_video.c delta = l - level_current; delta 1385 drivers/acpi/acpi_video.c if (!delta) delta 1390 drivers/acpi/acpi_video.c level_current += delta; delta 2996 drivers/ata/libata-eh.c unsigned long delta = deadline - now; delta 3000 drivers/ata/libata-eh.c rc, DIV_ROUND_UP(jiffies_to_msecs(delta), 1000)); delta 3003 drivers/ata/libata-eh.c while (delta) delta 3004 drivers/ata/libata-eh.c delta = schedule_timeout_uninterruptible(delta); delta 557 drivers/atm/he.c unsigned clock, rate, delta; delta 569 drivers/atm/he.c delta = rate / 16 / 2; delta 580 drivers/atm/he.c rate -= delta; delta 653 drivers/atm/he.c unsigned rate, delta; delta 683 drivers/atm/he.c delta = rate / 32; delta 694 drivers/atm/he.c rate -= delta; delta 182 drivers/atm/iphase.c unsigned long delta; delta 196 drivers/atm/iphase.c delta = jiffies - dev->desc_tbl[i].timestamp; delta 197 drivers/atm/iphase.c if (delta >= ltimeout) { delta 198 drivers/atm/iphase.c IF_ABR(printk("RECOVER run!! desc_tbl %d = %d delta = %ld, time = %ld\n", i,dev->desc_tbl[i].timestamp, delta, jiffies);) delta 651 drivers/base/dd.c ktime_t calltime, delta, rettime; delta 657 drivers/base/dd.c delta = ktime_sub(rettime, calltime); delta 659 drivers/base/dd.c dev_name(dev), ret, (s64) ktime_to_us(delta)); delta 215 drivers/base/power/domain.c ktime_t delta, now; delta 218 drivers/base/power/domain.c delta = ktime_sub(now, genpd->accounting_time); delta 229 drivers/base/power/domain.c ktime_add(genpd->states[state_idx].idle_time, delta); delta 231 drivers/base/power/domain.c genpd->on_time = ktime_add(genpd->on_time, delta); delta 2900 drivers/base/power/domain.c ktime_t delta = 0; delta 2905 drivers/base/power/domain.c delta = ktime_sub(ktime_get(), genpd->accounting_time); delta 2908 drivers/base/power/domain.c ktime_add(genpd->states[i].idle_time, delta)); delta 2919 drivers/base/power/domain.c ktime_t delta = 0; delta 2927 drivers/base/power/domain.c delta = ktime_sub(ktime_get(), genpd->accounting_time); delta 2930 drivers/base/power/domain.c ktime_add(genpd->on_time, delta))); delta 2939 drivers/base/power/domain.c ktime_t delta = 0, total = 0; delta 2951 drivers/base/power/domain.c delta = ktime_sub(ktime_get(), genpd->accounting_time); delta 2955 drivers/base/power/domain.c total = ktime_add(total, delta); delta 67 drivers/base/power/runtime.c u64 now, last, delta; delta 85 drivers/base/power/runtime.c delta = now - last; delta 88 drivers/base/power/runtime.c dev->power.suspended_time += delta; delta 90 drivers/base/power/runtime.c dev->power.active_time += delta; delta 623 drivers/base/power/wakeup.c ktime_t delta = ktime_sub(now, ws->start_prevent_time); delta 624 drivers/base/power/wakeup.c ws->prevent_sleep_time = ktime_add(ws->prevent_sleep_time, delta); delta 107 drivers/base/test/test_async_driver_probe.c ktime_t calltime, delta; delta 136 drivers/base/test/test_async_driver_probe.c delta = ktime_sub(ktime_get(), calltime); delta 137 drivers/base/test/test_async_driver_probe.c duration = (unsigned long long) ktime_to_ms(delta); delta 164 drivers/base/test/test_async_driver_probe.c delta = ktime_sub(ktime_get(), calltime); delta 165 drivers/base/test/test_async_driver_probe.c duration = (unsigned long long) ktime_to_ms(delta); delta 200 drivers/base/test/test_async_driver_probe.c delta = ktime_sub(ktime_get(), calltime); delta 201 drivers/base/test/test_async_driver_probe.c duration = (unsigned long long) ktime_to_ms(delta); delta 226 drivers/base/test/test_async_driver_probe.c delta = ktime_sub(ktime_get(), calltime); delta 227 drivers/base/test/test_async_driver_probe.c duration = (unsigned long long) ktime_to_ms(delta); delta 500 drivers/block/aoe/aoecmd.c u64 delta = ktime_to_ns(ktime_sub(ktime_get(), f->sent)); delta 503 drivers/block/aoe/aoecmd.c if (likely(delta <= UINT_MAX)) delta 504 drivers/block/aoe/aoecmd.c return (u32)delta / NSEC_PER_USEC; delta 507 drivers/block/aoe/aoecmd.c if (delta > ((u64)INT_MAX * NSEC_PER_USEC)) delta 510 drivers/block/aoe/aoecmd.c return div_u64(delta, NSEC_PER_USEC); delta 924 drivers/block/floppy.c unsigned long volatile delta; delta 935 drivers/block/floppy.c delta = jiffies - UDRS->first_read_date + HZ - delta 937 drivers/block/floppy.c delta = ((delta * UDP->rps) % HZ) / UDP->rps; delta 939 drivers/block/floppy.c jiffies + UDP->spindown - delta; delta 760 drivers/bluetooth/btmtksdio.c ktime_t calltime, delta, rettime; delta 841 drivers/bluetooth/btmtksdio.c delta = ktime_sub(rettime, calltime); delta 842 drivers/bluetooth/btmtksdio.c duration = (unsigned long long)ktime_to_ns(delta) >> 10; delta 731 drivers/bluetooth/btmtkuart.c ktime_t calltime, delta, rettime; delta 834 drivers/bluetooth/btmtkuart.c delta = ktime_sub(rettime, calltime); delta 835 drivers/bluetooth/btmtkuart.c duration = (unsigned long long)ktime_to_ns(delta) >> 10; delta 2167 drivers/bluetooth/btusb.c ktime_t calltime, delta, rettime; delta 2369 drivers/bluetooth/btusb.c delta = ktime_sub(rettime, calltime); delta 2370 drivers/bluetooth/btusb.c duration = (unsigned long long) ktime_to_ns(delta) >> 10; delta 2412 drivers/bluetooth/btusb.c delta = ktime_sub(rettime, calltime); delta 2413 drivers/bluetooth/btusb.c duration = (unsigned long long) ktime_to_ns(delta) >> 10; delta 2921 drivers/bluetooth/btusb.c ktime_t calltime, delta, rettime; delta 3023 drivers/bluetooth/btusb.c delta = ktime_sub(rettime, calltime); delta 3024 drivers/bluetooth/btusb.c duration = (unsigned long long)ktime_to_ns(delta) >> 10; delta 540 drivers/bluetooth/hci_intel.c ktime_t calltime, delta, rettime; delta 791 drivers/bluetooth/hci_intel.c delta = ktime_sub(rettime, calltime); delta 792 drivers/bluetooth/hci_intel.c duration = (unsigned long long) ktime_to_ns(delta) >> 10; delta 833 drivers/bluetooth/hci_intel.c delta = ktime_sub(rettime, calltime); delta 834 drivers/bluetooth/hci_intel.c duration = (unsigned long long) ktime_to_ns(delta) >> 10; delta 1213 drivers/char/random.c long delta, delta2, delta3; delta 1226 drivers/char/random.c delta = sample.jiffies - state->last_time; delta 1229 drivers/char/random.c delta2 = delta - state->last_delta; delta 1230 drivers/char/random.c state->last_delta = delta; delta 1235 drivers/char/random.c if (delta < 0) delta 1236 drivers/char/random.c delta = -delta; delta 1241 drivers/char/random.c if (delta > delta2) delta 1242 drivers/char/random.c delta = delta2; delta 1243 drivers/char/random.c if (delta > delta3) delta 1244 drivers/char/random.c delta = delta3; delta 1251 drivers/char/random.c credit_entropy_bits(r, min_t(int, fls(delta>>1), 11)); delta 1280 drivers/char/random.c long delta = random_get_entropy() - start; delta 1283 drivers/char/random.c delta = delta - ((avg_cycles + FIXED_1_2) >> AVG_SHIFT); delta 1284 drivers/char/random.c avg_cycles += delta; delta 1286 drivers/char/random.c delta = abs(delta) - ((avg_deviation + FIXED_1_2) >> AVG_SHIFT); delta 1287 drivers/char/random.c avg_deviation += delta; delta 225 drivers/clk/analogbits/wrpll-cln28hpc.c u64 target_vco_rate, delta, best_delta, f_pre_div, vco, vco_pre; delta 290 drivers/clk/analogbits/wrpll-cln28hpc.c delta = abs(target_rate - vco); delta 291 drivers/clk/analogbits/wrpll-cln28hpc.c if (delta < best_delta) { delta 292 drivers/clk/analogbits/wrpll-cln28hpc.c best_delta = delta; delta 1059 drivers/clk/bcm/clk-kona.c unsigned long delta; delta 1070 drivers/clk/bcm/clk-kona.c delta = abs(other_rate - req->rate); delta 1071 drivers/clk/bcm/clk-kona.c if (delta < best_delta) { delta 1072 drivers/clk/bcm/clk-kona.c best_delta = delta; delta 300 drivers/clk/clk-si544.c s64 delta = (s64)rate * (DELTA_M_FRAC_NUM * settings->delta_m); delta 308 drivers/clk/clk-si544.c delta -= ((s64)DELTA_M_MAX * DELTA_M_FRAC_DEN) / 2; delta 310 drivers/clk/clk-si544.c delta += ((s64)DELTA_M_MAX * DELTA_M_FRAC_DEN) / 2; delta 311 drivers/clk/clk-si544.c delta = div64_s64(delta, ((s64)DELTA_M_MAX * DELTA_M_FRAC_DEN)); delta 313 drivers/clk/clk-si544.c return rate + delta; delta 353 drivers/clk/clk-si544.c static s32 si544_calc_delta(s32 delta, s32 max_delta) delta 355 drivers/clk/clk-si544.c s64 n = (s64)delta * DELTA_M_MAX; delta 367 drivers/clk/clk-si544.c long delta; delta 381 drivers/clk/clk-si544.c delta = rate - center; delta 383 drivers/clk/clk-si544.c if (abs(delta) <= max_delta) delta 385 drivers/clk/clk-si544.c si544_calc_delta(delta, max_delta)); delta 389 drivers/clk/microchip/clk-core.c unsigned int i, delta, best_delta = -1; delta 406 drivers/clk/microchip/clk-core.c delta = abs(nearest_rate - req->rate); delta 407 drivers/clk/microchip/clk-core.c if ((nearest_rate >= req->rate) && (delta < best_delta)) { delta 411 drivers/clk/microchip/clk-core.c best_delta = delta; delta 413 drivers/clk/microchip/clk-core.c if (delta == 0) delta 603 drivers/clk/microchip/clk-core.c unsigned int best_delta = -1, delta, match_found = 0; delta 614 drivers/clk/microchip/clk-core.c delta = abs(rate - new_rate); delta 615 drivers/clk/microchip/clk-core.c if ((new_rate >= rate) && (delta < best_delta)) { delta 616 drivers/clk/microchip/clk-core.c best_delta = delta; delta 596 drivers/clk/qcom/clk-rcg.c int delta = 100000; delta 605 drivers/clk/qcom/clk-rcg.c if ((src_rate < (request - delta)) || delta 606 drivers/clk/qcom/clk-rcg.c (src_rate > (request + delta))) delta 621 drivers/clk/qcom/clk-rcg.c int delta = 100000; delta 648 drivers/clk/qcom/clk-rcg.c if ((parent_rate < (request - delta)) || delta 649 drivers/clk/qcom/clk-rcg.c (parent_rate > (request + delta))) delta 414 drivers/clk/qcom/clk-rcg2.c int delta = 100000; delta 429 drivers/clk/qcom/clk-rcg2.c if ((src_rate < (request - delta)) || delta 430 drivers/clk/qcom/clk-rcg2.c (src_rate > (request + delta))) delta 460 drivers/clk/qcom/clk-rcg2.c int delta = 100000; delta 479 drivers/clk/qcom/clk-rcg2.c if ((req->best_parent_rate < (request - delta)) || delta 480 drivers/clk/qcom/clk-rcg2.c (req->best_parent_rate > (request + delta))) delta 648 drivers/clk/qcom/clk-rcg2.c int delta = 100000; delta 655 drivers/clk/qcom/clk-rcg2.c if ((src_rate < (request - delta)) || delta 656 drivers/clk/qcom/clk-rcg2.c (src_rate > (request + delta))) delta 674 drivers/clk/qcom/clk-rcg2.c int delta = 100000; delta 692 drivers/clk/qcom/clk-rcg2.c if ((parent_rate < (request - delta)) || delta 693 drivers/clk/qcom/clk-rcg2.c (parent_rate > (request + delta))) delta 494 drivers/clk/samsung/clk-pll.c ktime_t delta = ktime_sub(ktime_get(), start); delta 496 drivers/clk/samsung/clk-pll.c if (ktime_to_ms(delta) > PLL_TIMEOUT_MS) { delta 653 drivers/clk/samsung/clk-pll.c ktime_t delta = ktime_sub(ktime_get(), start); delta 655 drivers/clk/samsung/clk-pll.c if (ktime_to_ms(delta) > PLL_TIMEOUT_MS) { delta 292 drivers/clk/ti/clkt_dpll.c long delta; delta 342 drivers/clk/ti/clkt_dpll.c delta = target_rate - new_rate; delta 343 drivers/clk/ti/clkt_dpll.c if (delta < 0) delta 346 drivers/clk/ti/clkt_dpll.c if (delta < prev_min_delta) { delta 347 drivers/clk/ti/clkt_dpll.c prev_min_delta = delta; delta 355 drivers/clk/ti/clkt_dpll.c if (delta == 0) delta 148 drivers/clocksource/acpi_pm.c unsigned long count, delta; delta 154 drivers/clocksource/acpi_pm.c delta = (value2 - value1) & ACPI_PM_MASK; delta 157 drivers/clocksource/acpi_pm.c if (delta < (PMTMR_EXPECTED_RATE * 19) / 20 || delta 158 drivers/clocksource/acpi_pm.c delta > (PMTMR_EXPECTED_RATE * 21) / 20) { delta 160 drivers/clocksource/acpi_pm.c 100UL * delta / PMTMR_EXPECTED_RATE); delta 252 drivers/clocksource/arc_timer.c static int arc_clkevent_set_next_event(unsigned long delta, delta 255 drivers/clocksource/arc_timer.c arc_timer_event_setup(delta); delta 93 drivers/clocksource/arm_global_timer.c static void gt_compare_set(unsigned long delta, int periodic) delta 98 drivers/clocksource/arm_global_timer.c counter += delta; delta 105 drivers/clocksource/arm_global_timer.c writel_relaxed(delta, gt_base + GT_AUTO_INC); delta 109 drivers/clocksource/asm9260_timer.c static int asm9260_timer_set_next_event(unsigned long delta, delta 113 drivers/clocksource/asm9260_timer.c writel_relaxed(delta, priv.base + HW_MR0); delta 204 drivers/clocksource/dw_apb_timer.c static int apbt_next_event(unsigned long delta, delta 215 drivers/clocksource/dw_apb_timer.c apbt_writel_relaxed(&dw_ced->timer, delta, APBTMR_N_LOAD_COUNT); delta 249 drivers/clocksource/em_sti.c static int em_sti_clock_event_next(unsigned long delta, delta 256 drivers/clocksource/em_sti.c next = em_sti_set_next(p, em_sti_count(p) + delta); delta 59 drivers/clocksource/h8300_timer8.c static void timer8_set_next(struct timer8_priv *p, unsigned long delta) delta 61 drivers/clocksource/h8300_timer8.c if (delta >= 0x10000) delta 64 drivers/clocksource/h8300_timer8.c iowrite16be(delta, p->mapbase + TCORA); delta 103 drivers/clocksource/h8300_timer8.c static void timer8_clock_event_start(struct timer8_priv *p, unsigned long delta) delta 106 drivers/clocksource/h8300_timer8.c timer8_set_next(p, delta); delta 137 drivers/clocksource/h8300_timer8.c static int timer8_clock_event_next(unsigned long delta, delta 143 drivers/clocksource/h8300_timer8.c timer8_set_next(p, delta - 1); delta 54 drivers/clocksource/hyperv_timer.c static int hv_ce_set_next_event(unsigned long delta, delta 60 drivers/clocksource/hyperv_timer.c current_tick += delta; delta 155 drivers/clocksource/i8253.c static int pit_next_event(unsigned long delta, struct clock_event_device *evt) delta 158 drivers/clocksource/i8253.c outb_p(delta & 0xff , PIT_CH0); /* LSB */ delta 159 drivers/clocksource/i8253.c outb_p(delta >> 8 , PIT_CH0); /* MSB */ delta 71 drivers/clocksource/jcore-pit.c static int jcore_pit_set(unsigned long delta, struct jcore_pit *pit) delta 74 drivers/clocksource/jcore-pit.c writel(delta, pit->base + REG_THROT); delta 100 drivers/clocksource/jcore-pit.c static int jcore_pit_set_next_event(unsigned long delta, delta 105 drivers/clocksource/jcore-pit.c return jcore_pit_set(delta, pit); delta 43 drivers/clocksource/mips-gic-timer.c static int gic_next_event(unsigned long delta, struct clock_event_device *evt) delta 50 drivers/clocksource/mips-gic-timer.c cnt += (u64)delta; delta 30 drivers/clocksource/numachip.c static int numachip2_set_next_event(unsigned long delta, struct clock_event_device *ced) delta 33 drivers/clocksource/numachip.c delta); delta 99 drivers/clocksource/renesas-ostm.c static int ostm_clock_event_next(unsigned long delta, delta 106 drivers/clocksource/renesas-ostm.c writel(delta, ostm->base + OSTM_CMP); delta 489 drivers/clocksource/sh_cmt.c static void __sh_cmt_set_next(struct sh_cmt_channel *ch, unsigned long delta) delta 491 drivers/clocksource/sh_cmt.c if (delta > ch->max_match_value) delta 495 drivers/clocksource/sh_cmt.c ch->next_match_value = delta; delta 499 drivers/clocksource/sh_cmt.c static void sh_cmt_set_next(struct sh_cmt_channel *ch, unsigned long delta) delta 504 drivers/clocksource/sh_cmt.c __sh_cmt_set_next(ch, delta); delta 741 drivers/clocksource/sh_cmt.c static int sh_cmt_clock_event_next(unsigned long delta, delta 748 drivers/clocksource/sh_cmt.c ch->next_match_value = delta - 1; delta 750 drivers/clocksource/sh_cmt.c sh_cmt_set_next(ch, delta - 1); delta 205 drivers/clocksource/sh_tmu.c static void sh_tmu_set_next(struct sh_tmu_channel *ch, unsigned long delta, delta 219 drivers/clocksource/sh_tmu.c sh_tmu_write(ch, TCOR, delta); delta 223 drivers/clocksource/sh_tmu.c sh_tmu_write(ch, TCNT, delta); delta 379 drivers/clocksource/sh_tmu.c static int sh_tmu_clock_event_next(unsigned long delta, delta 387 drivers/clocksource/sh_tmu.c sh_tmu_set_next(ch, delta, 0); delta 106 drivers/clocksource/timer-armada-370-xp.c armada_370_xp_clkevt_next_event(unsigned long delta, delta 117 drivers/clocksource/timer-armada-370-xp.c writel(delta, local_base + TIMER0_VAL_OFF); delta 100 drivers/clocksource/timer-atlas7.c static int sirfsoc_timer_set_next_event(unsigned long delta, delta 110 drivers/clocksource/timer-atlas7.c writel_relaxed(delta, sirfsoc_timer_base + SIRFSOC_TIMER_MATCH_0 + delta 139 drivers/clocksource/timer-atmel-st.c clkevt32k_next_event(unsigned long delta, struct clock_event_device *dev) delta 145 drivers/clocksource/timer-atmel-st.c BUG_ON(delta < 2); delta 163 drivers/clocksource/timer-atmel-st.c alm += delta; delta 222 drivers/clocksource/timer-atmel-tcb.c static int tc_next_event(unsigned long delta, struct clock_event_device *d) delta 224 drivers/clocksource/timer-atmel-tcb.c writel_relaxed(delta, tcaddr + ATMEL_TC_REG(2, RC)); delta 67 drivers/clocksource/timer-cs5535.c static void start_timer(struct cs5535_mfgpt_timer *timer, uint16_t delta) delta 69 drivers/clocksource/timer-cs5535.c cs5535_mfgpt_write(timer, MFGPT_REG_CMP2, delta); delta 89 drivers/clocksource/timer-cs5535.c static int mfgpt_next_event(unsigned long delta, struct clock_event_device *evt) delta 91 drivers/clocksource/timer-cs5535.c start_timer(cs5535_event_clock, delta); delta 111 drivers/clocksource/timer-fsl-ftm.c static int ftm_set_next_event(unsigned long delta, delta 132 drivers/clocksource/timer-fsl-ftm.c ftm_writel(delta - 1, priv->clkevt_base + FTM_MOD); delta 51 drivers/clocksource/timer-gx6605s.c static int gx6605s_timer_set_next_event(unsigned long delta, delta 60 drivers/clocksource/timer-gx6605s.c writel_relaxed(ULONG_MAX - delta, base + TIMER_INI); delta 56 drivers/clocksource/timer-imx-sysctr.c static int sysctr_set_next_event(unsigned long delta, delta 66 drivers/clocksource/timer-imx-sysctr.c next += delta; delta 83 drivers/clocksource/timer-imx-tpm.c static int tpm_set_next_event(unsigned long delta, delta 89 drivers/clocksource/timer-imx-tpm.c next += delta; delta 67 drivers/clocksource/timer-lpc32xx.c static int lpc32xx_clkevt_next_event(unsigned long delta, delta 80 drivers/clocksource/timer-lpc32xx.c writel_relaxed(delta, ddata->base + LPC32XX_TIMER_MR0); delta 20 drivers/clocksource/timer-mp-csky.c static int csky_mptimer_set_next_event(unsigned long delta, delta 23 drivers/clocksource/timer-mp-csky.c mtcr(PTIM_LVR, delta); delta 161 drivers/clocksource/timer-nps.c static void nps_clkevent_add_thread(unsigned long delta) delta 175 drivers/clocksource/timer-nps.c write_aux_reg(NPS_REG_TIMER0_LIMIT, delta); delta 195 drivers/clocksource/timer-nps.c static int nps_clkevent_set_next_event(unsigned long delta, delta 198 drivers/clocksource/timer-nps.c nps_clkevent_add_thread(delta); delta 68 drivers/clocksource/timer-orion.c static int orion_clkevt_next_event(unsigned long delta, delta 72 drivers/clocksource/timer-orion.c writel(delta, timer_base + TIMER1_VAL); delta 117 drivers/clocksource/timer-oxnas-rps.c static int oxnas_rps_timer_next_event(unsigned long delta, delta 123 drivers/clocksource/timer-oxnas-rps.c oxnas_rps_timer_config(rps, delta, 0); delta 88 drivers/clocksource/timer-prima2.c static int sirfsoc_timer_set_next_event(unsigned long delta, delta 96 drivers/clocksource/timer-prima2.c next = now + delta; delta 102 drivers/clocksource/timer-prima2.c return next - now > delta ? -ETIME : 0; delta 79 drivers/clocksource/timer-pxa.c pxa_osmr0_set_next_event(unsigned long delta, struct clock_event_device *dev) delta 84 drivers/clocksource/timer-pxa.c next = timer_readl(OSCR) + delta; delta 19 drivers/clocksource/timer-riscv.c static int riscv_clock_next_event(unsigned long delta, delta 23 drivers/clocksource/timer-riscv.c sbi_set_timer(get_cycles64() + delta); delta 68 drivers/clocksource/timer-vf-pit.c static int pit_set_next_event(unsigned long delta, delta 79 drivers/clocksource/timer-vf-pit.c __raw_writel(delta - 1, clkevt_base + PITLDVAL); delta 62 drivers/clocksource/timer-zevio.c static int zevio_timer_set_event(unsigned long delta, delta 68 drivers/clocksource/timer-zevio.c writel(delta, timer->timer1 + IO_CURRENT_VAL); delta 104 drivers/cpufreq/powernow-k7.c int delta; delta 107 drivers/cpufreq/powernow-k7.c delta = (fsbspeed > f) ? fsbspeed - f : f - fsbspeed; delta 108 drivers/cpufreq/powernow-k7.c return delta < 5; delta 207 drivers/crypto/nx/nx.c unsigned int delta, delta 212 drivers/crypto/nx/nx.c unsigned int is_delta = delta; delta 214 drivers/crypto/nx/nx.c while (delta && end > sg) { delta 217 drivers/crypto/nx/nx.c if (last->len > delta) { delta 218 drivers/crypto/nx/nx.c last->len -= delta; delta 219 drivers/crypto/nx/nx.c delta = 0; delta 222 drivers/crypto/nx/nx.c delta -= last->len; delta 266 drivers/crypto/nx/nx.c unsigned int delta = 0; delta 288 drivers/crypto/nx/nx.c delta = *nbytes - (*nbytes & ~(AES_BLOCK_SIZE - 1)); delta 293 drivers/crypto/nx/nx.c nx_ctx->op.inlen = trim_sg_list(nx_ctx->in_sg, nx_insg, delta, nbytes); delta 294 drivers/crypto/nx/nx.c nx_ctx->op.outlen = trim_sg_list(nx_ctx->out_sg, nx_outsg, delta, nbytes); delta 105 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c int delta; delta 115 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c delta = lut[i].red - expected; delta 116 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c if (delta < -1 || 1 < delta) delta 1144 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct fixed31_32 delta = dc_fixpt_zero; delta 1168 drivers/gpu/drm/amd/display/modules/color/color_gamma.c delta = dc_fixpt_neg(min); delta 1175 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ramp->entries.red[i], delta), offset); delta 1178 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ramp->entries.green[i], delta), offset); delta 1181 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ramp->entries.blue[i], delta), offset); delta 468 drivers/gpu/drm/bridge/tc358767.c int delta, best_delta; delta 508 drivers/gpu/drm/bridge/tc358767.c delta = clk - pixelclock; delta 510 drivers/gpu/drm/bridge/tc358767.c if (abs(delta) < abs(best_delta)) { delta 515 drivers/gpu/drm/bridge/tc358767.c best_delta = delta; delta 557 drivers/gpu/drm/exynos/exynos_drm_dsi.c u32 delta; delta 574 drivers/gpu/drm/exynos/exynos_drm_dsi.c delta = abs(fout - tmp); delta 575 drivers/gpu/drm/exynos/exynos_drm_dsi.c if (delta < min_delta) { delta 579 drivers/gpu/drm/exynos/exynos_drm_dsi.c min_delta = delta; delta 63 drivers/gpu/drm/i915/display/vlv_dsi_pll.c int delta, ref_clk; delta 85 drivers/gpu/drm/i915/display/vlv_dsi_pll.c delta = abs(target_dsi_clk - (m_min * ref_clk) / (p_min * n)); delta 87 drivers/gpu/drm/i915/display/vlv_dsi_pll.c for (m = m_min; m <= m_max && delta; m++) { delta 88 drivers/gpu/drm/i915/display/vlv_dsi_pll.c for (p = p_min; p <= p_max && delta; p++) { delta 95 drivers/gpu/drm/i915/display/vlv_dsi_pll.c if (d < delta) { delta 96 drivers/gpu/drm/i915/display/vlv_dsi_pll.c delta = d; delta 894 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c return gen8_canonical_addr((int)reloc->delta + target->node.start); delta 105 drivers/gpu/drm/mgag200/mgag200_mode.c unsigned int delta, tmpdelta, permitteddelta; delta 120 drivers/gpu/drm/mgag200/mgag200_mode.c delta = 0xffffffff; delta 137 drivers/gpu/drm/mgag200/mgag200_mode.c if (tmpdelta < delta) { delta 138 drivers/gpu/drm/mgag200/mgag200_mode.c delta = tmpdelta; delta 159 drivers/gpu/drm/mgag200/mgag200_mode.c delta = 0xFFFFFFFF; delta 180 drivers/gpu/drm/mgag200/mgag200_mode.c if (tmpdelta < delta) { delta 181 drivers/gpu/drm/mgag200/mgag200_mode.c delta = tmpdelta; delta 202 drivers/gpu/drm/mgag200/mgag200_mode.c if (delta > permitteddelta) { delta 224 drivers/gpu/drm/mgag200/mgag200_mode.c unsigned int delta, tmpdelta; delta 234 drivers/gpu/drm/mgag200/mgag200_mode.c delta = 0xffffffff; delta 258 drivers/gpu/drm/mgag200/mgag200_mode.c if (tmpdelta < delta) { delta 259 drivers/gpu/drm/mgag200/mgag200_mode.c delta = tmpdelta; delta 291 drivers/gpu/drm/mgag200/mgag200_mode.c if (tmpdelta < delta) { delta 292 drivers/gpu/drm/mgag200/mgag200_mode.c delta = tmpdelta; delta 403 drivers/gpu/drm/mgag200/mgag200_mode.c unsigned int delta, tmpdelta; delta 414 drivers/gpu/drm/mgag200/mgag200_mode.c delta = 0xffffffff; delta 430 drivers/gpu/drm/mgag200/mgag200_mode.c if (tmpdelta < delta) { delta 431 drivers/gpu/drm/mgag200/mgag200_mode.c delta = tmpdelta; delta 496 drivers/gpu/drm/mgag200/mgag200_mode.c unsigned int delta, tmpdelta; delta 511 drivers/gpu/drm/mgag200/mgag200_mode.c delta = 0xffffffff; delta 526 drivers/gpu/drm/mgag200/mgag200_mode.c if (tmpdelta < delta) { delta 527 drivers/gpu/drm/mgag200/mgag200_mode.c delta = tmpdelta; delta 532 drivers/gpu/drm/mgag200/mgag200_mode.c if (delta == 0) delta 535 drivers/gpu/drm/mgag200/mgag200_mode.c if (delta == 0) delta 544 drivers/gpu/drm/mgag200/mgag200_mode.c delta = 0xffffffff; delta 560 drivers/gpu/drm/mgag200/mgag200_mode.c if (tmpdelta < delta) { delta 561 drivers/gpu/drm/mgag200/mgag200_mode.c delta = tmpdelta; delta 626 drivers/gpu/drm/mgag200/mgag200_mode.c unsigned int delta, tmpdelta; delta 638 drivers/gpu/drm/mgag200/mgag200_mode.c delta = 0xffffffff; delta 641 drivers/gpu/drm/mgag200/mgag200_mode.c if (delta == 0) delta 644 drivers/gpu/drm/mgag200/mgag200_mode.c if (delta == 0) delta 647 drivers/gpu/drm/mgag200/mgag200_mode.c if (delta == 0) delta 661 drivers/gpu/drm/mgag200/mgag200_mode.c if (tmpdelta < delta) { delta 662 drivers/gpu/drm/mgag200/mgag200_mode.c delta = tmpdelta; delta 169 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c u32 delta, lwv; delta 173 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c delta = abs(lwv - target_clk_f); delta 175 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c if (delta < best_delta) { delta 176 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c best_delta = delta; delta 51 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c int delta, bestdelta = INT_MAX; delta 108 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c delta = abs(calcclk - clk); delta 112 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c if (delta < bestdelta) { delta 113 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c bestdelta = delta; delta 118 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c if (delta == 0) /* except this one */ delta 153 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c int delta, bestdelta = INT_MAX; delta 204 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c delta = abs(calcclkout - clk); delta 208 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c if (delta < bestdelta) { delta 209 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c bestdelta = delta; delta 216 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c if (delta == 0) /* except this one */ delta 1316 drivers/gpu/drm/radeon/trinity_dpm.c u32 delta = vid_7bit * step + 50; delta 1318 drivers/gpu/drm/radeon/trinity_dpm.c if (delta > 155000) delta 1321 drivers/gpu/drm/radeon/trinity_dpm.c return (155000 - delta) / 100; delta 520 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c u32 delta; delta 540 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c delta = abs(fout - tmp); delta 541 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c if (delta < min_delta) { delta 544 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c min_delta = delta; delta 146 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c int fvco_min, fvco_max, delta, best_delta; /* all in khz */ delta 178 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c delta = dsi_pll_get_clkout_khz(clkin_khz, i, n, o) - delta 180 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c if (delta < 0) delta 181 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c delta = -delta; delta 182 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c if (delta < best_delta) { delta 186 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c best_delta = delta; delta 189 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c if (!delta) delta 380 drivers/gpu/drm/tegra/hdmi.c unsigned int delta; delta 396 drivers/gpu/drm/tegra/hdmi.c delta = abs(n - ideal_n); delta 400 drivers/gpu/drm/tegra/hdmi.c if (err < min_err || (err == min_err && delta < min_delta)) { delta 404 drivers/gpu/drm/tegra/hdmi.c min_delta = delta; delta 422 drivers/gpu/drm/tegra/hdmi.c unsigned int delta; delta 426 drivers/gpu/drm/tegra/hdmi.c delta = 2; delta 428 drivers/gpu/drm/tegra/hdmi.c delta = 6; delta 430 drivers/gpu/drm/tegra/hdmi.c delta = 9; delta 433 drivers/gpu/drm/tegra/hdmi.c value = AUDIO_FS_LOW(eight_half - delta) | delta 434 drivers/gpu/drm/tegra/hdmi.c AUDIO_FS_HIGH(eight_half + delta); delta 1070 drivers/gpu/drm/vc4/vc4_gem.c uint64_t delta = jiffies_to_nsecs(jiffies - start); delta 1072 drivers/gpu/drm/vc4/vc4_gem.c if (*timeout_ns >= delta) delta 1073 drivers/gpu/drm/vc4/vc4_gem.c *timeout_ns -= delta; delta 949 drivers/hid/hid-multitouch.c long delta = value - app->prev_scantime; delta 954 drivers/hid/hid-multitouch.c if (delta < 0) delta 955 drivers/hid/hid-multitouch.c delta += app->scantime_logical_max; delta 958 drivers/hid/hid-multitouch.c delta *= 100; delta 964 drivers/hid/hid-multitouch.c return app->timestamp + delta; delta 1015 drivers/hid/hid-sony.c u16 delta; delta 1018 drivers/hid/hid-sony.c delta = (U16_MAX - sc->prev_timestamp + timestamp + 1); delta 1020 drivers/hid/hid-sony.c delta = timestamp - sc->prev_timestamp; delta 1021 drivers/hid/hid-sony.c sc->timestamp_us += (delta * 16) / 3; delta 495 drivers/hv/hv_util.c static int hv_ptp_adjfreq(struct ptp_clock_info *ptp, s32 delta) delta 499 drivers/hv/hv_util.c static int hv_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 146 drivers/hwmon/dell-smm-hwmon.c ktime_t calltime, delta, rettime; delta 213 drivers/hwmon/dell-smm-hwmon.c delta = ktime_sub(rettime, calltime); delta 214 drivers/hwmon/dell-smm-hwmon.c duration = ktime_to_ns(delta) >> 10; delta 829 drivers/hwmon/ibmaem.c u64 before, after, delta, time; delta 850 drivers/hwmon/ibmaem.c delta = (after - before) * UJ_PER_MJ; delta 853 drivers/hwmon/ibmaem.c (unsigned long long)div64_u64(delta * NSEC_PER_SEC, time)); delta 122 drivers/hwmon/pmbus/zl6100.c s64 delta = ktime_us_delta(ktime_get(), data->access); delta 123 drivers/hwmon/pmbus/zl6100.c if (delta < data->delay) delta 124 drivers/hwmon/pmbus/zl6100.c udelay(data->delay - delta); delta 773 drivers/i2c/busses/i2c-mv64xxx.c int freq, delta, best_delta = INT_MAX; delta 779 drivers/i2c/busses/i2c-mv64xxx.c delta = req_freq - freq; delta 780 drivers/i2c/busses/i2c-mv64xxx.c if (delta >= 0 && delta < best_delta) { delta 783 drivers/i2c/busses/i2c-mv64xxx.c best_delta = delta; delta 1060 drivers/ide/hpt366.c u16 f_low, delta = pci_clk < 50 ? 2 : 4; delta 1091 drivers/ide/hpt366.c if(hpt37x_calibrate_dpll(dev, f_low, f_low + delta)) delta 775 drivers/iio/adc/ina2xx-adc.c struct timespec64 next, now, delta; delta 817 drivers/iio/adc/ina2xx-adc.c delta = timespec64_sub(next, now); delta 818 drivers/iio/adc/ina2xx-adc.c delay_us = div_s64(timespec64_to_ns(&delta), 1000); delta 38 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c s64 delta, interval; delta 52 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c delta = div_s64(timestamp - st->it_timestamp, divider); delta 53 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c if (delta > period_min && delta < period_max) { delta 55 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c st->chip_period = (st->chip_period + delta) / 2; delta 240 drivers/iio/light/vcnl4000.c s64 delta; delta 247 drivers/iio/light/vcnl4000.c delta = ktime_us_delta(next_measurement, ktime_get()); delta 248 drivers/iio/light/vcnl4000.c if (delta > 0) delta 249 drivers/iio/light/vcnl4000.c usleep_range(delta, delta + 500); delta 1018 drivers/infiniband/core/sa_query.c int timeout, delta, abs_delta; delta 1042 drivers/infiniband/core/sa_query.c delta = timeout - sa_local_svc_timeout_ms; delta 1043 drivers/infiniband/core/sa_query.c if (delta < 0) delta 1044 drivers/infiniband/core/sa_query.c abs_delta = -delta; delta 1046 drivers/infiniband/core/sa_query.c abs_delta = delta; delta 1048 drivers/infiniband/core/sa_query.c if (delta != 0) { delta 1052 drivers/infiniband/core/sa_query.c if (delta < 0 && abs_delta > query->timeout) delta 1055 drivers/infiniband/core/sa_query.c query->timeout += delta; delta 122 drivers/infiniband/hw/hfi1/rc.c u32 delta; delta 351 drivers/infiniband/hw/hfi1/rc.c delta = hfi1_build_tid_rdma_read_resp(qp, e, ohdr, &bth0, delta 354 drivers/infiniband/hw/hfi1/rc.c if (delta == 0) delta 356 drivers/infiniband/hw/hfi1/rc.c hwords += delta; delta 446 drivers/infiniband/hw/hfi1/rc.c int delta; delta 806 drivers/infiniband/hw/hfi1/rc.c delta = cmp_psn(qp->s_psn, wqe->psn); delta 843 drivers/infiniband/hw/hfi1/rc.c } else if (delta == 0) { delta 855 drivers/infiniband/hw/hfi1/rc.c delta = hfi1_build_tid_rdma_read_req(qp, wqe, ohdr, delta 858 drivers/infiniband/hw/hfi1/rc.c if (delta <= 0) { delta 864 drivers/infiniband/hw/hfi1/rc.c hwords += delta; delta 1117 drivers/infiniband/hw/hfi1/rc.c delta = hfi1_build_tid_rdma_read_packet(wqe, ohdr, &bth1, delta 1119 drivers/infiniband/hw/hfi1/rc.c if (delta <= 0) { delta 1123 drivers/infiniband/hw/hfi1/rc.c hwords += delta; delta 1135 drivers/infiniband/hw/hfi1/rc.c delta = cmp_psn(qp->s_psn, wqe->psn); delta 1141 drivers/infiniband/hw/hfi1/rc.c if (wqe->wr.opcode != IB_WR_TID_RDMA_READ || delta == 0 || delta 1144 drivers/infiniband/hw/hfi1/rc.c if (delta == 0 || qp->s_cur == qp->s_tail) delta 1160 drivers/infiniband/hw/hfi1/rc.c delta = hfi1_build_tid_rdma_read_req(qp, wqe, ohdr, &bth1, delta 1162 drivers/infiniband/hw/hfi1/rc.c if (delta <= 0) { delta 1166 drivers/infiniband/hw/hfi1/rc.c hwords += delta; delta 1178 drivers/infiniband/hw/hfi1/rc.c delta = delta_psn(bth2, wqe->psn); delta 1179 drivers/infiniband/hw/hfi1/rc.c if (delta && delta % HFI1_PSN_CREDIT == 0 && delta 1298 drivers/infiniband/hw/qib/qib_mad.c u32 delta; delta 1300 drivers/infiniband/hw/qib/qib_mad.c delta = get_counter(&ppd->ibport_data, ppd, delta 1302 drivers/infiniband/hw/qib/qib_mad.c return ppd->cong_stats.counter + delta; delta 229 drivers/infiniband/hw/qib/qib_rc.c int delta; delta 569 drivers/infiniband/hw/qib/qib_rc.c delta = (((int) bth2 - (int) wqe->psn) << 8) >> 8; delta 570 drivers/infiniband/hw/qib/qib_rc.c if (delta && delta % QIB_PSN_CREDIT == 0) delta 2223 drivers/infiniband/ulp/srp/ib_srp.c s32 delta = be32_to_cpu(req->req_lim_delta); delta 2225 drivers/infiniband/ulp/srp/ib_srp.c if (srp_response_common(ch, delta, &rsp, sizeof(rsp))) delta 2238 drivers/infiniband/ulp/srp/ib_srp.c s32 delta = be32_to_cpu(req->req_lim_delta); delta 2243 drivers/infiniband/ulp/srp/ib_srp.c if (srp_response_common(ch, delta, &rsp, sizeof(rsp))) delta 264 drivers/input/joystick/analog.c if ((last ^ this) && (delta(loop, now) < loopout)) { delta 270 drivers/input/joystick/analog.c } while (this && (i < 4) && (delta(start, now) < timeout)); delta 278 drivers/input/joystick/analog.c port->axes[j] = (delta(start, time[i]) << ANALOG_FUZZ_BITS) / port->loop; delta 394 drivers/input/joystick/analog.c port->speed = delta(t1, t2) - delta(t2, t3); delta 409 drivers/input/joystick/analog.c t = delta(t1, t2) - delta(t2, t3); delta 487 drivers/input/keyboard/pxa27x_keypad.c static void report_rotary_event(struct pxa27x_keypad *keypad, int r, int delta) delta 491 drivers/input/keyboard/pxa27x_keypad.c if (delta == 0) delta 495 drivers/input/keyboard/pxa27x_keypad.c int code = MAX_MATRIX_KEY_NUM + 2 * r + (delta > 0 ? 0 : 1); delta 506 drivers/input/keyboard/pxa27x_keypad.c input_report_rel(dev, keypad->rotary_rel_code[r], delta); delta 41 drivers/input/keyboard/pxa930_rotary.c int ercr, delta, key; delta 46 drivers/input/keyboard/pxa930_rotary.c delta = ercr - r->last_ercr; delta 47 drivers/input/keyboard/pxa930_rotary.c if (delta == 0) delta 53 drivers/input/keyboard/pxa930_rotary.c key = (delta > 0) ? pdata->up_key : pdata->down_key; delta 58 drivers/input/keyboard/pxa930_rotary.c input_report_rel(r->input_dev, pdata->rel_code, delta); delta 534 drivers/input/misc/ims-pcu.c int delta; delta 558 drivers/input/misc/ims-pcu.c delta = ims_pcu_byte_needs_escape(data[i]) ? 2 : 1; delta 559 drivers/input/misc/ims-pcu.c if (count + delta >= pcu->max_out_size) { delta 568 drivers/input/misc/ims-pcu.c if (delta == 2) delta 577 drivers/input/misc/ims-pcu.c delta = ims_pcu_byte_needs_escape(csum) ? 3 : 2; delta 578 drivers/input/misc/ims-pcu.c if (count + delta >= pcu->max_out_size) { delta 586 drivers/input/misc/ims-pcu.c if (delta == 3) delta 70 drivers/input/misc/max77693-haptic.c int delta; delta 74 drivers/input/misc/max77693-haptic.c delta = (pargs.period + haptic->pwm_duty) / 2; delta 75 drivers/input/misc/max77693-haptic.c error = pwm_config(haptic->pwm_dev, delta, pargs.period); delta 766 drivers/irqchip/irq-gic-v3-its.c s64 delta; delta 774 drivers/irqchip/irq-gic-v3-its.c delta = rd_idx - prev_idx; delta 776 drivers/irqchip/irq-gic-v3-its.c delta += ITS_CMD_QUEUE_SZ; delta 778 drivers/irqchip/irq-gic-v3-its.c linear_idx += delta; delta 138 drivers/isdn/mISDN/clock.c u16 delta; delta 165 drivers/isdn/mISDN/clock.c delta = ktime_divns(ktime_sub(timestamp_now, iclock_timestamp), delta 168 drivers/isdn/mISDN/clock.c iclock_count += delta; delta 184 drivers/isdn/mISDN/clock.c u16 delta; delta 190 drivers/isdn/mISDN/clock.c delta = ktime_divns(ktime_sub(timestamp_now, iclock_timestamp), delta 193 drivers/isdn/mISDN/clock.c count = iclock_count + delta; delta 133 drivers/md/dm-cache-background-tracker.c static void update_stats(struct background_tracker *b, struct policy_work *w, int delta) delta 137 drivers/md/dm-cache-background-tracker.c atomic_add(delta, &b->pending_promotes); delta 141 drivers/md/dm-cache-background-tracker.c atomic_add(delta, &b->pending_demotes); delta 145 drivers/md/dm-cache-background-tracker.c atomic_add(delta, &b->pending_writebacks); delta 654 drivers/media/cec/cec-pin.c s32 delta; delta 668 drivers/media/cec/cec-pin.c delta = ktime_us_delta(ts, pin->ts); delta 670 drivers/media/cec/cec-pin.c if (delta < CEC_TIM_START_BIT_LOW_MIN - CEC_TIM_IDLE_SAMPLE) { delta 673 drivers/media/cec/cec-pin.c pin->rx_start_bit_low_too_short_delta = delta; delta 689 drivers/media/cec/cec-pin.c delta = ktime_us_delta(ts, pin->ts); delta 694 drivers/media/cec/cec-pin.c if (v && delta > CEC_TIM_START_BIT_TOTAL_LONG) { delta 702 drivers/media/cec/cec-pin.c if (delta < CEC_TIM_START_BIT_TOTAL_MIN - CEC_TIM_IDLE_SAMPLE) { delta 705 drivers/media/cec/cec-pin.c pin->rx_start_bit_too_short_delta = delta; delta 747 drivers/media/cec/cec-pin.c delta = ktime_us_delta(ts, pin->ts); delta 752 drivers/media/cec/cec-pin.c if (v && delta > CEC_TIM_DATA_BIT_TOTAL_LONG) { delta 772 drivers/media/cec/cec-pin.c if (delta < CEC_TIM_DATA_BIT_TOTAL_MIN) { delta 775 drivers/media/cec/cec-pin.c pin->rx_data_bit_too_short_delta = delta; delta 847 drivers/media/cec/cec-pin.c s32 delta; delta 852 drivers/media/cec/cec-pin.c delta = ktime_us_delta(ts, pin->timer_ts); delta 854 drivers/media/cec/cec-pin.c if (delta > 100 && pin->state != CEC_ST_IDLE) { delta 856 drivers/media/cec/cec-pin.c pin->timer_sum_overrun += delta; delta 858 drivers/media/cec/cec-pin.c if (delta > 300) delta 860 drivers/media/cec/cec-pin.c if (delta > pin->timer_max_overrun) delta 861 drivers/media/cec/cec-pin.c pin->timer_max_overrun = delta; delta 959 drivers/media/cec/cec-pin.c delta = ktime_us_delta(ts, pin->ts); delta 960 drivers/media/cec/cec-pin.c if (delta / CEC_TIM_DATA_BIT_TOTAL > delta 971 drivers/media/cec/cec-pin.c if (delta / CEC_TIM_DATA_BIT_TOTAL > delta 835 drivers/media/dvb-core/dvb_frontend.c s32 delta; delta 838 drivers/media/dvb-core/dvb_frontend.c delta = ktime_us_delta(ktime_get_boottime(), *waketime); delta 839 drivers/media/dvb-core/dvb_frontend.c if (delta > 2500) { delta 840 drivers/media/dvb-core/dvb_frontend.c msleep((delta - 1500) / 1000); delta 841 drivers/media/dvb-core/dvb_frontend.c delta = ktime_us_delta(ktime_get_boottime(), *waketime); delta 843 drivers/media/dvb-core/dvb_frontend.c if (delta > 0) delta 844 drivers/media/dvb-core/dvb_frontend.c udelay(delta); delta 918 drivers/media/i2c/ov2659.c u32 delta, actual; delta 930 drivers/media/i2c/ov2659.c delta = actual - desired; delta 931 drivers/media/i2c/ov2659.c delta = abs(delta); delta 933 drivers/media/i2c/ov2659.c if ((delta < bestdelta) || (bestdelta == -1)) { delta 934 drivers/media/i2c/ov2659.c bestdelta = delta; delta 233 drivers/media/pci/cobalt/cobalt-cpld.c unsigned delta = 0xffffffff; delta 250 drivers/media/pci/cobalt/cobalt-cpld.c if (d < delta) { delta 253 drivers/media/pci/cobalt/cobalt-cpld.c delta = d; delta 859 drivers/media/pci/ttpci/av7110_hw.c int d, delta; delta 869 drivers/media/pci/ttpci/av7110_hw.c bpp=8; delta = 1; delta 871 drivers/media/pci/ttpci/av7110_hw.c bpp=4; delta = 2; delta 873 drivers/media/pci/ttpci/av7110_hw.c bpp=2; delta = 4; delta 875 drivers/media/pci/ttpci/av7110_hw.c bpp=1; delta = 8; delta 893 drivers/media/pci/ttpci/av7110_hw.c for (i = 0; i < dx * dy / delta; i++) { delta 894 drivers/media/pci/ttpci/av7110_hw.c c = ((u8 *)av7110->bmpbuf)[1024 + i * delta + delta - 1]; delta 895 drivers/media/pci/ttpci/av7110_hw.c for (d = delta - 2; d >= 0; d--) { delta 896 drivers/media/pci/ttpci/av7110_hw.c c |= (((u8 *)av7110->bmpbuf)[1024 + i * delta + d] delta 897 drivers/media/pci/ttpci/av7110_hw.c << ((delta - d - 1) * bpp)); delta 378 drivers/media/pci/tw686x/tw686x-video.c int delta; delta 389 drivers/media/pci/tw686x/tw686x-video.c delta = real_fps - fps; delta 390 drivers/media/pci/tw686x/tw686x-video.c if (delta < -1) delta 392 drivers/media/pci/tw686x/tw686x-video.c else if (delta > 1) delta 57 drivers/media/platform/sti/delta/delta-debug.c struct delta_dev *delta = ctx->dev; delta 64 drivers/media/platform/sti/delta/delta-debug.c dev_dbg(delta->dev, "%s %s, %d frames decoded, %d frames output, %d frames dropped, %d stream errors, %d decode errors", delta 114 drivers/media/platform/sti/delta/delta-ipc.c struct delta_dev *delta = pctx->dev; delta 115 drivers/media/platform/sti/delta/delta-ipc.c struct rpmsg_device *rpmsg_device = delta->rpmsg_device; delta 122 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 130 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 137 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 144 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 151 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 188 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 198 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 208 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 233 drivers/media/platform/sti/delta/delta-ipc.c struct delta_dev *delta = pctx->dev; delta 234 drivers/media/platform/sti/delta/delta-ipc.c struct rpmsg_device *rpmsg_device = delta->rpmsg_device; delta 239 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 246 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 253 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 260 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 268 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 287 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 298 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 308 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 324 drivers/media/platform/sti/delta/delta-ipc.c struct delta_dev *delta = pctx->dev; delta 325 drivers/media/platform/sti/delta/delta-ipc.c struct rpmsg_device *rpmsg_device = delta->rpmsg_device; delta 330 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 337 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 344 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 351 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 358 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 368 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 379 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 401 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 412 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 422 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 437 drivers/media/platform/sti/delta/delta-ipc.c struct delta_dev *delta = pctx->dev; delta 438 drivers/media/platform/sti/delta/delta-ipc.c struct rpmsg_device *rpmsg_device = delta->rpmsg_device; delta 443 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 455 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 467 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 477 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 486 drivers/media/platform/sti/delta/delta-ipc.c dev_err(delta->dev, delta 554 drivers/media/platform/sti/delta/delta-ipc.c struct delta_dev *delta = to_delta(rpdrv); delta 556 drivers/media/platform/sti/delta/delta-ipc.c delta->rpmsg_device = rpmsg_device; delta 564 drivers/media/platform/sti/delta/delta-ipc.c struct delta_dev *delta = to_delta(rpdrv); delta 566 drivers/media/platform/sti/delta/delta-ipc.c delta->rpmsg_device = NULL; delta 582 drivers/media/platform/sti/delta/delta-ipc.c int delta_ipc_init(struct delta_dev *delta) delta 584 drivers/media/platform/sti/delta/delta-ipc.c delta->rpmsg_driver = delta_rpmsg_driver; delta 586 drivers/media/platform/sti/delta/delta-ipc.c return register_rpmsg_driver(&delta->rpmsg_driver); delta 589 drivers/media/platform/sti/delta/delta-ipc.c void delta_ipc_exit(struct delta_dev *delta) delta 591 drivers/media/platform/sti/delta/delta-ipc.c unregister_rpmsg_driver(&delta->rpmsg_driver); delta 10 drivers/media/platform/sti/delta/delta-ipc.h int delta_ipc_init(struct delta_dev *delta); delta 11 drivers/media/platform/sti/delta/delta-ipc.h void delta_ipc_exit(struct delta_dev *delta); delta 13 drivers/media/platform/sti/delta/delta-mem.c struct delta_dev *delta = ctx->dev; delta 18 drivers/media/platform/sti/delta/delta-mem.c addr = dma_alloc_attrs(delta->dev, size, &dma_addr, delta 21 drivers/media/platform/sti/delta/delta-mem.c dev_err(delta->dev, delta 34 drivers/media/platform/sti/delta/delta-mem.c dev_dbg(delta->dev, delta 43 drivers/media/platform/sti/delta/delta-mem.c struct delta_dev *delta = ctx->dev; delta 45 drivers/media/platform/sti/delta/delta-mem.c dev_dbg(delta->dev, delta 49 drivers/media/platform/sti/delta/delta-mem.c dma_free_attrs(delta->dev, buf->size, delta 174 drivers/media/platform/sti/delta/delta-mjpeg-dec.c struct delta_dev *delta = pctx->dev; delta 181 drivers/media/platform/sti/delta/delta-mjpeg-dec.c dev_warn_ratelimited(delta->dev, delta 187 drivers/media/platform/sti/delta/delta-mjpeg-dec.c dev_warn_ratelimited(delta->dev, delta 196 drivers/media/platform/sti/delta/delta-mjpeg-dec.c dev_dbg(delta->dev, delta 205 drivers/media/platform/sti/delta/delta-mjpeg-dec.c struct delta_dev *delta = pctx->dev; delta 219 drivers/media/platform/sti/delta/delta-mjpeg-dec.c dev_vdbg(delta->dev, delta 230 drivers/media/platform/sti/delta/delta-mjpeg-dec.c dev_err(delta->dev, delta 244 drivers/media/platform/sti/delta/delta-mjpeg-dec.c struct delta_dev *delta = pctx->dev; delta 283 drivers/media/platform/sti/delta/delta-mjpeg-dec.c dev_vdbg(delta->dev, delta 297 drivers/media/platform/sti/delta/delta-mjpeg-dec.c dev_err(delta->dev, delta 308 drivers/media/platform/sti/delta/delta-mjpeg-dec.c dev_err(delta->dev, delta 374 drivers/media/platform/sti/delta/delta-mjpeg-dec.c struct delta_dev *delta = pctx->dev; delta 390 drivers/media/platform/sti/delta/delta-mjpeg-dec.c dev_err(delta->dev, delta 44 drivers/media/platform/sti/delta/delta-mjpeg-hdr.c struct delta_dev *delta = pctx->dev; delta 63 drivers/media/platform/sti/delta/delta-mjpeg-hdr.c dev_err(delta->dev, delta 77 drivers/media/platform/sti/delta/delta-mjpeg-hdr.c dev_err(delta->dev, delta 88 drivers/media/platform/sti/delta/delta-mjpeg-hdr.c struct delta_dev *delta = pctx->dev; delta 110 drivers/media/platform/sti/delta/delta-mjpeg-hdr.c dev_err(delta->dev, delta 135 drivers/media/platform/sti/delta/delta-mjpeg-hdr.c dev_dbg(delta->dev, delta 142 drivers/media/platform/sti/delta/delta-mjpeg-hdr.c dev_err(delta->dev, delta 63 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 68 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s dump au[%d] dts=%lld size=%d data=%*ph\n", delta 72 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s dump au[%d] dts=%lld size=%d data=%*ph..%*ph\n", delta 79 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 83 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s dump frame[%d] dts=%lld type=%s field=%s data=%*ph\n", delta 179 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 187 drivers/media/platform/sti/delta/delta-v4l2.c dev_warn(delta->dev, "%s no dts to pop ... output dts = 0\n", delta 282 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 286 drivers/media/platform/sti/delta/delta-v4l2.c for (i = 0; i < delta->nb_of_decoders; i++) { delta 287 drivers/media/platform/sti/delta/delta-v4l2.c dec = delta->decoders[i]; delta 308 drivers/media/platform/sti/delta/delta-v4l2.c static void register_formats(struct delta_dev *delta) delta 312 drivers/media/platform/sti/delta/delta-v4l2.c for (i = 0; i < delta->nb_of_decoders; i++) { delta 313 drivers/media/platform/sti/delta/delta-v4l2.c register_format(delta->decoders[i]->pixelformat, delta 314 drivers/media/platform/sti/delta/delta-v4l2.c delta->pixelformats, delta 315 drivers/media/platform/sti/delta/delta-v4l2.c &delta->nb_of_pixelformats); delta 317 drivers/media/platform/sti/delta/delta-v4l2.c register_format(delta->decoders[i]->streamformat, delta 318 drivers/media/platform/sti/delta/delta-v4l2.c delta->streamformats, delta 319 drivers/media/platform/sti/delta/delta-v4l2.c &delta->nb_of_streamformats); delta 323 drivers/media/platform/sti/delta/delta-v4l2.c static void register_decoders(struct delta_dev *delta) delta 328 drivers/media/platform/sti/delta/delta-v4l2.c if (delta->nb_of_decoders >= DELTA_MAX_DECODERS) { delta 329 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 336 drivers/media/platform/sti/delta/delta-v4l2.c delta->decoders[delta->nb_of_decoders++] = delta_decoders[i]; delta 337 drivers/media/platform/sti/delta/delta-v4l2.c dev_info(delta->dev, "%s %s decoder registered\n", delta 345 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 351 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s no decoder found matching %4.4s => %4.4s\n", delta 356 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s one decoder matching %4.4s => %4.4s\n", delta 361 drivers/media/platform/sti/delta/delta-v4l2.c delta->instance_id, (char *)&streamformat); delta 366 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s failed to open decoder instance (%d)\n", delta 371 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s %s decoder opened\n", ctx->name, dec->name); delta 386 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 389 drivers/media/platform/sti/delta/delta-v4l2.c strscpy(cap->card, delta->vdev->name, sizeof(cap->card)); delta 391 drivers/media/platform/sti/delta/delta-v4l2.c delta->pdev->name); delta 400 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 402 drivers/media/platform/sti/delta/delta-v4l2.c if (unlikely(f->index >= delta->nb_of_streamformats)) delta 405 drivers/media/platform/sti/delta/delta-v4l2.c f->pixelformat = delta->streamformats[f->index]; delta 414 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 416 drivers/media/platform/sti/delta/delta-v4l2.c if (unlikely(f->index >= delta->nb_of_pixelformats)) delta 419 drivers/media/platform/sti/delta/delta-v4l2.c f->pixelformat = delta->pixelformats[f->index]; delta 428 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 434 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 456 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 463 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 495 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 504 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 524 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 531 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 549 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 558 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 575 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 583 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 609 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 616 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 624 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s V4L2 S_FMT (OUTPUT): queue busy\n", delta 645 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 655 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s V4L2 S_FMT (CAPTURE): queue busy\n", delta 669 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 702 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 766 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 787 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s EOS completed\n", ctx->name); delta 809 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 813 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s EOS received\n", ctx->name); delta 830 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s drain frame[%d]\n", delta 861 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s EOS delayed\n", ctx->name); delta 925 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 934 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s no decoder opened yet\n", ctx->name); delta 943 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s no buffer to decode\n", ctx->name); delta 976 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s decoding failed (%d)\n", delta 1002 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s cannot get decoded frame (%d)\n", delta 1007 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, delta 1025 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_m2m_job_finish(delta->m2m_dev, ctx->fh.m2m_ctx); delta 1032 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_m2m_job_finish(delta->m2m_dev, ctx->fh.m2m_ctx); delta 1038 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 1040 drivers/media/platform/sti/delta/delta-v4l2.c queue_work(delta->work_queue, &ctx->run_work); delta 1046 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 1048 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s aborting job\n", ctx->name); delta 1056 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 1060 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s not ready: not enough video buffers.\n", delta 1066 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s not ready: not enough video capture buffers.\n", delta 1072 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s job not ready: aborting\n", ctx->name); delta 1076 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s job ready\n", ctx->name); delta 1119 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 1129 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s au[%d] prepared; virt=0x%p, phy=0x%pad\n", delta 1142 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 1146 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, delta 1153 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, delta 1160 drivers/media/platform/sti/delta/delta-v4l2.c dev_warn(delta->dev, delta 1221 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 1226 drivers/media/platform/sti/delta/delta-v4l2.c dev_info(delta->dev, delta 1231 drivers/media/platform/sti/delta/delta-v4l2.c dev_info(delta->dev, delta 1242 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 1250 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s no frame available", delta 1258 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, delta 1265 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 1274 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 1278 drivers/media/platform/sti/delta/delta-v4l2.c ret = pm_runtime_get_sync(delta->dev); delta 1280 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s pm_runtime_get_sync failed (%d)\n", delta 1290 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 1292 drivers/media/platform/sti/delta/delta-v4l2.c pm_runtime_put_autosuspend(delta->dev); delta 1308 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 1340 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s failed to start streaming, no stream header buffer enqueued\n", delta 1357 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s failed to start streaming, header decoding failed (%d)\n", delta 1364 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg_ratelimited(delta->dev, delta 1378 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s %s => %s\n", ctx->name, delta 1421 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 1433 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 1442 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 1465 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 1478 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, delta 1484 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, delta 1588 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 1601 drivers/media/platform/sti/delta/delta-v4l2.c q->lock = &delta->lock; delta 1602 drivers/media/platform/sti/delta/delta-v4l2.c q->dev = delta->dev; delta 1619 drivers/media/platform/sti/delta/delta-v4l2.c q->lock = &delta->lock; delta 1620 drivers/media/platform/sti/delta/delta-v4l2.c q->dev = delta->dev; delta 1627 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = video_drvdata(file); delta 1631 drivers/media/platform/sti/delta/delta-v4l2.c mutex_lock(&delta->lock); delta 1638 drivers/media/platform/sti/delta/delta-v4l2.c ctx->dev = delta; delta 1647 drivers/media/platform/sti/delta/delta-v4l2.c ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(delta->m2m_dev, ctx, delta 1651 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s failed to initialize m2m context (%d)\n", delta 1665 drivers/media/platform/sti/delta/delta-v4l2.c delta->instance_id++; delta 1667 drivers/media/platform/sti/delta/delta-v4l2.c delta->instance_id); delta 1673 drivers/media/platform/sti/delta/delta-v4l2.c if (delta->clk_st231) delta 1674 drivers/media/platform/sti/delta/delta-v4l2.c if (clk_prepare_enable(delta->clk_st231)) delta 1675 drivers/media/platform/sti/delta/delta-v4l2.c dev_warn(delta->dev, "failed to enable st231 clk\n"); delta 1678 drivers/media/platform/sti/delta/delta-v4l2.c if (delta->clk_flash_promip) delta 1679 drivers/media/platform/sti/delta/delta-v4l2.c if (clk_prepare_enable(delta->clk_flash_promip)) delta 1680 drivers/media/platform/sti/delta/delta-v4l2.c dev_warn(delta->dev, "failed to enable delta promip clk\n"); delta 1682 drivers/media/platform/sti/delta/delta-v4l2.c mutex_unlock(&delta->lock); delta 1684 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s decoder instance created\n", ctx->name); delta 1693 drivers/media/platform/sti/delta/delta-v4l2.c mutex_unlock(&delta->lock); delta 1701 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = ctx->dev; delta 1704 drivers/media/platform/sti/delta/delta-v4l2.c mutex_lock(&delta->lock); delta 1721 drivers/media/platform/sti/delta/delta-v4l2.c if (delta->clk_st231) delta 1722 drivers/media/platform/sti/delta/delta-v4l2.c clk_disable_unprepare(delta->clk_st231); delta 1725 drivers/media/platform/sti/delta/delta-v4l2.c if (delta->clk_flash_promip) delta 1726 drivers/media/platform/sti/delta/delta-v4l2.c clk_disable_unprepare(delta->clk_flash_promip); delta 1728 drivers/media/platform/sti/delta/delta-v4l2.c dev_dbg(delta->dev, "%s decoder instance released\n", ctx->name); delta 1732 drivers/media/platform/sti/delta/delta-v4l2.c mutex_unlock(&delta->lock); delta 1750 drivers/media/platform/sti/delta/delta-v4l2.c static int delta_register_device(struct delta_dev *delta) delta 1755 drivers/media/platform/sti/delta/delta-v4l2.c if (!delta) delta 1758 drivers/media/platform/sti/delta/delta-v4l2.c delta->m2m_dev = v4l2_m2m_init(&delta_m2m_ops); delta 1759 drivers/media/platform/sti/delta/delta-v4l2.c if (IS_ERR(delta->m2m_dev)) { delta 1760 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s failed to initialize v4l2-m2m device\n", delta 1762 drivers/media/platform/sti/delta/delta-v4l2.c ret = PTR_ERR(delta->m2m_dev); delta 1768 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s failed to allocate video device\n", delta 1777 drivers/media/platform/sti/delta/delta-v4l2.c vdev->lock = &delta->lock; delta 1780 drivers/media/platform/sti/delta/delta-v4l2.c vdev->v4l2_dev = &delta->v4l2_dev; delta 1786 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s failed to register video device\n", delta 1791 drivers/media/platform/sti/delta/delta-v4l2.c delta->vdev = vdev; delta 1792 drivers/media/platform/sti/delta/delta-v4l2.c video_set_drvdata(vdev, delta); delta 1798 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_m2m_release(delta->m2m_dev); delta 1803 drivers/media/platform/sti/delta/delta-v4l2.c static void delta_unregister_device(struct delta_dev *delta) delta 1805 drivers/media/platform/sti/delta/delta-v4l2.c if (!delta) delta 1808 drivers/media/platform/sti/delta/delta-v4l2.c if (delta->m2m_dev) delta 1809 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_m2m_release(delta->m2m_dev); delta 1811 drivers/media/platform/sti/delta/delta-v4l2.c video_unregister_device(delta->vdev); delta 1816 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta; delta 1820 drivers/media/platform/sti/delta/delta-v4l2.c delta = devm_kzalloc(dev, sizeof(*delta), GFP_KERNEL); delta 1821 drivers/media/platform/sti/delta/delta-v4l2.c if (!delta) { delta 1826 drivers/media/platform/sti/delta/delta-v4l2.c delta->dev = dev; delta 1827 drivers/media/platform/sti/delta/delta-v4l2.c delta->pdev = pdev; delta 1828 drivers/media/platform/sti/delta/delta-v4l2.c platform_set_drvdata(pdev, delta); delta 1830 drivers/media/platform/sti/delta/delta-v4l2.c mutex_init(&delta->lock); delta 1833 drivers/media/platform/sti/delta/delta-v4l2.c delta->clk_delta = devm_clk_get(dev, "delta"); delta 1834 drivers/media/platform/sti/delta/delta-v4l2.c if (IS_ERR(delta->clk_delta)) { delta 1836 drivers/media/platform/sti/delta/delta-v4l2.c delta->clk_delta = NULL; delta 1839 drivers/media/platform/sti/delta/delta-v4l2.c delta->clk_st231 = devm_clk_get(dev, "delta-st231"); delta 1840 drivers/media/platform/sti/delta/delta-v4l2.c if (IS_ERR(delta->clk_st231)) { delta 1842 drivers/media/platform/sti/delta/delta-v4l2.c delta->clk_st231 = NULL; delta 1845 drivers/media/platform/sti/delta/delta-v4l2.c delta->clk_flash_promip = devm_clk_get(dev, "delta-flash-promip"); delta 1846 drivers/media/platform/sti/delta/delta-v4l2.c if (IS_ERR(delta->clk_flash_promip)) { delta 1849 drivers/media/platform/sti/delta/delta-v4l2.c delta->clk_flash_promip = NULL; delta 1859 drivers/media/platform/sti/delta/delta-v4l2.c ret = delta_ipc_init(delta); delta 1861 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s failed to initialize firmware ipc channel\n", delta 1867 drivers/media/platform/sti/delta/delta-v4l2.c register_decoders(delta); delta 1870 drivers/media/platform/sti/delta/delta-v4l2.c register_formats(delta); delta 1873 drivers/media/platform/sti/delta/delta-v4l2.c ret = v4l2_device_register(dev, &delta->v4l2_dev); delta 1875 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s failed to register V4L2 device\n", delta 1880 drivers/media/platform/sti/delta/delta-v4l2.c delta->work_queue = create_workqueue(DELTA_NAME); delta 1881 drivers/media/platform/sti/delta/delta-v4l2.c if (!delta->work_queue) { delta 1882 drivers/media/platform/sti/delta/delta-v4l2.c dev_err(delta->dev, "%s failed to allocate work queue\n", delta 1889 drivers/media/platform/sti/delta/delta-v4l2.c ret = delta_register_device(delta); delta 1894 drivers/media/platform/sti/delta/delta-v4l2.c DELTA_PREFIX, delta->vdev->name, delta->vdev->num); delta 1899 drivers/media/platform/sti/delta/delta-v4l2.c destroy_workqueue(delta->work_queue); delta 1901 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_device_unregister(&delta->v4l2_dev); delta 1908 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = platform_get_drvdata(pdev); delta 1910 drivers/media/platform/sti/delta/delta-v4l2.c delta_ipc_exit(delta); delta 1912 drivers/media/platform/sti/delta/delta-v4l2.c delta_unregister_device(delta); delta 1914 drivers/media/platform/sti/delta/delta-v4l2.c destroy_workqueue(delta->work_queue); delta 1916 drivers/media/platform/sti/delta/delta-v4l2.c pm_runtime_put_autosuspend(delta->dev); delta 1917 drivers/media/platform/sti/delta/delta-v4l2.c pm_runtime_disable(delta->dev); delta 1919 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_device_unregister(&delta->v4l2_dev); delta 1926 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = dev_get_drvdata(dev); delta 1928 drivers/media/platform/sti/delta/delta-v4l2.c if (delta->clk_delta) delta 1929 drivers/media/platform/sti/delta/delta-v4l2.c clk_disable_unprepare(delta->clk_delta); delta 1936 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_dev *delta = dev_get_drvdata(dev); delta 1938 drivers/media/platform/sti/delta/delta-v4l2.c if (delta->clk_delta) delta 1939 drivers/media/platform/sti/delta/delta-v4l2.c if (clk_prepare_enable(delta->clk_delta)) delta 109 drivers/media/platform/vivid/vivid-radio-common.c int delta = 800; delta 118 drivers/media/platform/vivid/vivid-radio-common.c delta /= 10; delta 120 drivers/media/platform/vivid/vivid-radio-common.c sig_qual = (dev->radio_rx_freq + delta) % mod - delta; delta 220 drivers/media/platform/vivid/vivid-radio-rx.c int delta = 800; delta 249 drivers/media/platform/vivid/vivid-radio-rx.c vt->signal = abs(sig_qual) > delta ? 0 : delta 250 drivers/media/platform/vivid/vivid-radio-rx.c 0xffff - ((unsigned)abs(sig_qual) * 0xffff) / delta; delta 251 drivers/media/platform/vivid/vivid-radio-rx.c vt->afc = sig_qual > delta ? 0 : sig_qual; delta 252 drivers/media/platform/vivid/vivid-radio-rx.c if (abs(sig_qual) > delta) delta 63 drivers/media/rc/gpio-ir-tx.c s32 delta; delta 81 drivers/media/rc/gpio-ir-tx.c delta = ktime_us_delta(edge, ktime_get()); delta 82 drivers/media/rc/gpio-ir-tx.c if (delta > 10) { delta 84 drivers/media/rc/gpio-ir-tx.c usleep_range(delta, delta + 10); delta 86 drivers/media/rc/gpio-ir-tx.c } else if (delta > 0) { delta 87 drivers/media/rc/gpio-ir-tx.c udelay(delta); delta 96 drivers/media/rc/gpio-ir-tx.c delta = ktime_to_ns(ktime_sub(edge, delta 98 drivers/media/rc/gpio-ir-tx.c if (delta > 0) delta 99 drivers/media/rc/gpio-ir-tx.c ndelay(delta); delta 102 drivers/media/rc/gpio-ir-tx.c delta = ktime_to_ns(ktime_sub(edge, delta 104 drivers/media/rc/gpio-ir-tx.c if (delta > 0) delta 105 drivers/media/rc/gpio-ir-tx.c ndelay(delta); delta 58 drivers/media/rc/pwm-ir-tx.c long delta; delta 74 drivers/media/rc/pwm-ir-tx.c delta = ktime_us_delta(edge, ktime_get()); delta 75 drivers/media/rc/pwm-ir-tx.c if (delta > 0) delta 76 drivers/media/rc/pwm-ir-tx.c usleep_range(delta, delta + 10); delta 221 drivers/media/rc/serial_ir.c s32 delta; delta 236 drivers/media/rc/serial_ir.c delta = ktime_to_ns(ktime_sub(edge, now)); delta 237 drivers/media/rc/serial_ir.c if (delta > 0) delta 238 drivers/media/rc/serial_ir.c ndelay(delta); delta 244 drivers/media/rc/serial_ir.c delta = ktime_to_ns(ktime_sub(edge, now)); delta 245 drivers/media/rc/serial_ir.c if (delta > 0) delta 246 drivers/media/rc/serial_ir.c ndelay(delta); delta 639 drivers/media/rc/serial_ir.c s64 delta; delta 656 drivers/media/rc/serial_ir.c delta = ktime_us_delta(edge, ktime_get()); delta 657 drivers/media/rc/serial_ir.c if (delta > 25) { delta 659 drivers/media/rc/serial_ir.c usleep_range(delta - 25, delta + 25); delta 661 drivers/media/rc/serial_ir.c } else if (delta > 0) { delta 662 drivers/media/rc/serial_ir.c udelay(delta); delta 127 drivers/media/rc/streamzap.c int delta; delta 132 drivers/media/rc/streamzap.c delta = ktime_us_delta(sz->signal_start, sz->signal_last); delta 134 drivers/media/rc/streamzap.c if (delta > (15 * USEC_PER_SEC)) { delta 138 drivers/media/rc/streamzap.c rawir.duration = delta; delta 376 drivers/media/usb/gspca/pac7302.c static const u8 delta[10] = delta 385 drivers/media/usb/gspca/pac7302.c v -= delta[i] * sd->contrast->val / (s32)sd->contrast->maximum; delta 1914 drivers/media/usb/gspca/sonixj.c static const u8 delta[17] = { delta 1942 drivers/media/usb/gspca/sonixj.c + delta[i] * (val - GAMMA_DEF) / 32; delta 2572 drivers/media/usb/gspca/sonixj.c int delta; delta 2584 drivers/media/usb/gspca/sonixj.c delta = atomic_read(&sd->avg_lum); delta 2585 drivers/media/usb/gspca/sonixj.c gspca_dbg(gspca_dev, D_FRAM, "mean lum %d\n", delta); delta 2588 drivers/media/usb/gspca/sonixj.c gspca_expo_autogain(gspca_dev, delta, luma_mean, luma_delta, delta 2593 drivers/media/usb/gspca/sonixj.c if (delta < luma_mean - luma_delta || delta 2594 drivers/media/usb/gspca/sonixj.c delta > luma_mean + luma_delta) { delta 2598 drivers/media/usb/gspca/sonixj.c expotimes += (luma_mean - delta) >> 6; delta 2606 drivers/media/usb/gspca/sonixj.c expotimes += (luma_mean - delta) >> 4; delta 2615 drivers/media/usb/gspca/sonixj.c expotimes += (luma_mean - delta) >> 2; delta 2627 drivers/media/usb/gspca/sonixj.c expotimes += (luma_mean - delta) >> 6; delta 242 drivers/misc/altera-stapl/altera.c int delta = 0; delta 270 drivers/misc/altera-stapl/altera.c delta = version * 8; delta 274 drivers/misc/altera-stapl/altera.c str_table = get_unaligned_be32(&p[4 + delta]); delta 275 drivers/misc/altera-stapl/altera.c sym_table = get_unaligned_be32(&p[16 + delta]); delta 276 drivers/misc/altera-stapl/altera.c data_sect = get_unaligned_be32(&p[20 + delta]); delta 277 drivers/misc/altera-stapl/altera.c code_sect = get_unaligned_be32(&p[24 + delta]); delta 278 drivers/misc/altera-stapl/altera.c debug_sect = get_unaligned_be32(&p[28 + delta]); delta 279 drivers/misc/altera-stapl/altera.c action_count = get_unaligned_be32(&p[40 + delta]); delta 280 drivers/misc/altera-stapl/altera.c proc_count = get_unaligned_be32(&p[44 + delta]); delta 281 drivers/misc/altera-stapl/altera.c sym_count = get_unaligned_be32(&p[48 + (2 * delta)]); delta 322 drivers/misc/altera-stapl/altera.c delta = version * 2; delta 325 drivers/misc/altera-stapl/altera.c offset = (sym_table + ((11 + delta) * i)); delta 327 drivers/misc/altera-stapl/altera.c value = get_unaligned_be32(&p[offset + 3 + delta]); delta 338 drivers/misc/altera-stapl/altera.c var_size[i] = get_unaligned_be32(&p[offset + 7 + delta]); delta 2133 drivers/misc/altera-stapl/altera.c int delta = 0; delta 2142 drivers/misc/altera-stapl/altera.c delta = version * 8; delta 2144 drivers/misc/altera-stapl/altera.c note_strings = get_unaligned_be32(&p[8 + delta]); delta 2145 drivers/misc/altera-stapl/altera.c note_table = get_unaligned_be32(&p[12 + delta]); delta 2146 drivers/misc/altera-stapl/altera.c note_count = get_unaligned_be32(&p[44 + (2 * delta)]); delta 2219 drivers/misc/altera-stapl/altera.c int delta = 0; delta 2224 drivers/misc/altera-stapl/altera.c delta = version * 8; delta 2226 drivers/misc/altera-stapl/altera.c crc_section = get_unaligned_be32(&p[32 + delta]); delta 61 drivers/misc/cxl/sysfs.c u64 psl_tb, delta; delta 66 drivers/misc/cxl/sysfs.c delta = abs(mftb() - psl_tb); delta 69 drivers/misc/cxl/sysfs.c adapter->psl_timebase_synced = (tb_to_ns(delta) < 16000) ? true : false; delta 71 drivers/misc/cxl/sysfs.c (tb_to_ns(delta) < 16000) ? "synchronized" : delta 72 drivers/misc/cxl/sysfs.c "not synchronized", tb_to_ns(delta)); delta 29 drivers/misc/habanalabs/hw_queue.c int delta = (q->pi - q->ci); delta 31 drivers/misc/habanalabs/hw_queue.c if (delta >= 0) delta 32 drivers/misc/habanalabs/hw_queue.c return (queue_len - delta); delta 34 drivers/misc/habanalabs/hw_queue.c return (abs(delta) - queue_len); delta 131 drivers/mmc/host/sdhci-of-aspeed.c resource_size_t delta; delta 139 drivers/mmc/host/sdhci-of-aspeed.c delta = res->start - dev->parent->res->start; delta 140 drivers/mmc/host/sdhci-of-aspeed.c if (delta & (0x100 - 1)) delta 143 drivers/mmc/host/sdhci-of-aspeed.c return (delta / 0x100) - 1; delta 226 drivers/mmc/host/sdhci-s3c.c unsigned int delta; delta 240 drivers/mmc/host/sdhci-s3c.c delta = sdhci_s3c_consider_clock(ourhost, src, clock); delta 241 drivers/mmc/host/sdhci-s3c.c if (delta < best) { delta 242 drivers/mmc/host/sdhci-s3c.c best = delta; delta 1819 drivers/mmc/host/vub300.c int delta = 1; /* because it does not match the first one */ delta 1836 drivers/mmc/host/vub300.c vub300->fn[Function].offload_point += delta; delta 1837 drivers/mmc/host/vub300.c vub300->fn[Function].offload_count -= delta; delta 1838 drivers/mmc/host/vub300.c vub300->total_offload_count -= delta; delta 1843 drivers/mmc/host/vub300.c delta += 1; delta 178 drivers/mtd/nand/raw/atmel/pmecc.c s32 *delta; delta 380 drivers/mtd/nand/raw/atmel/pmecc.c user->delta = user->dmu + req->ecc.strength + 1; delta 493 drivers/mtd/nand/raw/atmel/pmecc.c s32 *delta = user->delta; delta 523 drivers/mtd/nand/raw/atmel/pmecc.c delta[0] = (mu[0] * 2 - lmu[0]) >> 1; delta 539 drivers/mtd/nand/raw/atmel/pmecc.c delta[1] = (mu[1] * 2 - lmu[1]) >> 1; delta 577 drivers/mtd/nand/raw/atmel/pmecc.c if ((dmu[j]) && (delta[j] > largest)) { delta 578 drivers/mtd/nand/raw/atmel/pmecc.c largest = delta[j]; delta 617 drivers/mtd/nand/raw/atmel/pmecc.c delta[i + 1] = (mu[i + 1] * 2 - lmu[i + 1]) >> 1; delta 3425 drivers/net/bonding/bond_main.c s64 delta = nv - ov; delta 3429 drivers/net/bonding/bond_main.c delta = (s64)(s32)((u32)nv - (u32)ov); delta 3434 drivers/net/bonding/bond_main.c if (delta > 0) delta 3435 drivers/net/bonding/bond_main.c res[i] += delta; delta 109 drivers/net/can/usb/peak_usb/pcan_usb_core.c ktime_t delta = ktime_sub(time_ref->tv_host, delta 111 drivers/net/can/usb/peak_usb/pcan_usb_core.c if (ktime_to_ns(delta) > (4200ull * NSEC_PER_SEC)) { delta 227 drivers/net/dsa/mv88e6xxx/ptp.c static int mv88e6xxx_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 232 drivers/net/dsa/mv88e6xxx/ptp.c timecounter_adjtime(&chip->tstamp_tc, delta); delta 312 drivers/net/dsa/sja1105/sja1105_ptp.c static int sja1105_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 317 drivers/net/dsa/sja1105/sja1105_ptp.c timecounter_adjtime(&priv->tstamp_tc, delta); delta 397 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->delta, 28, 11, size, op); delta 430 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->delta, 25, 8, size, op); delta 112 drivers/net/dsa/sja1105/sja1105_static_config.h u64 delta; delta 150 drivers/net/dsa/sja1105/sja1105_static_config.h u64 delta; delta 210 drivers/net/dsa/sja1105/sja1105_tas.c schedule_entry_points[cycle].delta = entry_point_delta; delta 222 drivers/net/dsa/sja1105/sja1105_tas.c schedule[k].delta = ns_to_sja1105_delta(delta_ns); delta 2150 drivers/net/ethernet/amazon/ena/ena_netdev.c u16 delta = 0; delta 2177 drivers/net/ethernet/amazon/ena/ena_netdev.c delta = push_len - skb_head_len; delta 2212 drivers/net/ethernet/amazon/ena/ena_netdev.c if (unlikely(delta >= frag_len)) { delta 2213 drivers/net/ethernet/amazon/ena/ena_netdev.c delta -= frag_len; delta 2217 drivers/net/ethernet/amazon/ena/ena_netdev.c dma = skb_frag_dma_map(tx_ring->dev, frag, delta, delta 2218 drivers/net/ethernet/amazon/ena/ena_netdev.c frag_len - delta, DMA_TO_DEVICE); delta 2223 drivers/net/ethernet/amazon/ena/ena_netdev.c ena_buf->len = frag_len - delta; delta 2226 drivers/net/ethernet/amazon/ena/ena_netdev.c delta = 0; delta 1314 drivers/net/ethernet/amd/pcnet32.c int delta; delta 1377 drivers/net/ethernet/amd/pcnet32.c delta = (lp->cur_tx - dirty_tx) & (lp->tx_mod_mask + lp->tx_ring_size); delta 1378 drivers/net/ethernet/amd/pcnet32.c if (delta > lp->tx_ring_size) { delta 1382 drivers/net/ethernet/amd/pcnet32.c delta -= lp->tx_ring_size; delta 1387 drivers/net/ethernet/amd/pcnet32.c delta < lp->tx_ring_size - 2) { delta 137 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c static int xgbe_adjfreq(struct ptp_clock_info *info, s32 delta) delta 147 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c if (delta < 0) { delta 149 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c delta = -delta; delta 153 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c adjust *= delta; delta 168 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c static int xgbe_adjtime(struct ptp_clock_info *info, s64 delta) delta 176 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c timecounter_adjtime(&pdata->tstamp_tc, delta); delta 170 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static void bnx2x_shrink_eth_fp(struct bnx2x *bp, int delta) delta 178 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c for (i = 0; i < old_eth_num - delta; i++) { delta 180 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c int new_idx = cos * (old_eth_num - delta) + i; delta 360 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c u16 delta = 0; delta 393 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c delta += BIT_VEC64_ELEM_SZ; delta 396 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (delta > 0) { delta 397 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c fp->rx_sge_prod += delta; delta 4673 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c int delta = BNX2X_NUM_ETH_QUEUES(bp) - i; delta 4675 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c WARN_ON(delta < 0); delta 4676 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_shrink_eth_fp(bp, delta); delta 4684 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_move_fp(bp, FCOE_IDX(bp), FCOE_IDX(bp) - delta); delta 4685 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bp->num_ethernet_queues -= delta; delta 4689 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bp->num_queues + delta, bp->num_queues); delta 13856 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static int bnx2x_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 13866 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c DP(BNX2X_MSG_PTP, "PTP adjtime called, delta = %llx\n", delta); delta 13868 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c timecounter_adjtime(&bp->timecounter, delta); delta 2006 drivers/net/ethernet/broadcom/cnic.c unsigned long delta = ctx->timestamp + (2 * HZ) - jiffies; delta 2008 drivers/net/ethernet/broadcom/cnic.c if (delta > (2 * HZ)) delta 2009 drivers/net/ethernet/broadcom/cnic.c delta = 0; delta 2012 drivers/net/ethernet/broadcom/cnic.c queue_delayed_work(cnic_wq, &cp->delete_task, delta); delta 5165 drivers/net/ethernet/broadcom/tg3.c unsigned long delta; delta 5250 drivers/net/ethernet/broadcom/tg3.c delta = ap->cur_time - ap->link_time; delta 5251 drivers/net/ethernet/broadcom/tg3.c if (delta > ANEG_STATE_SETTLE_TIME) delta 5354 drivers/net/ethernet/broadcom/tg3.c delta = ap->cur_time - ap->link_time; delta 5355 drivers/net/ethernet/broadcom/tg3.c if (delta > ANEG_STATE_SETTLE_TIME) { delta 5385 drivers/net/ethernet/broadcom/tg3.c delta = ap->cur_time - ap->link_time; delta 5386 drivers/net/ethernet/broadcom/tg3.c if (delta > ANEG_STATE_SETTLE_TIME) { delta 6231 drivers/net/ethernet/broadcom/tg3.c static int tg3_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 6236 drivers/net/ethernet/broadcom/tg3.c tp->ptp_adjust += delta; delta 152 drivers/net/ethernet/cadence/macb_ptp.c static int gem_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 155 drivers/net/ethernet/cadence/macb_ptp.c struct timespec64 now, then = ns_to_timespec64(delta); delta 158 drivers/net/ethernet/cadence/macb_ptp.c if (delta < 0) { delta 160 drivers/net/ethernet/cadence/macb_ptp.c delta = -delta; delta 163 drivers/net/ethernet/cadence/macb_ptp.c if (delta > TSU_NSEC_MAX_VAL) { delta 170 drivers/net/ethernet/cadence/macb_ptp.c adj = (sign << GEM_ADDSUB_OFFSET) | delta; delta 137 drivers/net/ethernet/cavium/common/cavium_ptp.c static int cavium_ptp_adjtime(struct ptp_clock_info *ptp_info, s64 delta) delta 144 drivers/net/ethernet/cavium/common/cavium_ptp.c timecounter_adjtime(&clock->time_counter, delta); delta 1564 drivers/net/ethernet/cavium/liquidio/lio_main.c u64 comp, delta; delta 1577 drivers/net/ethernet/cavium/liquidio/lio_main.c delta = (u64)ppb << 32; delta 1578 drivers/net/ethernet/cavium/liquidio/lio_main.c do_div(delta, oct->coproc_clock_rate); delta 1583 drivers/net/ethernet/cavium/liquidio/lio_main.c comp -= delta; delta 1585 drivers/net/ethernet/cavium/liquidio/lio_main.c comp += delta; delta 1597 drivers/net/ethernet/cavium/liquidio/lio_main.c static int liquidio_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 1603 drivers/net/ethernet/cavium/liquidio/lio_main.c lio->ptp_adjust += delta; delta 3038 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int v, tps, cpt, bpt, delta, mindelta = ~0; delta 3049 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c delta = v >= kbps ? v - kbps : kbps - v; delta 3050 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c if (delta <= mindelta) { delta 3051 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c mindelta = delta; delta 985 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c int qix, timerix, min_timerix, delta, min_delta; delta 1002 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c delta = s->dbqtimer_val[timerix] - usecs; delta 1003 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (delta < 0) delta 1004 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c delta = -delta; delta 1005 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (delta < min_delta) { delta 1006 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c min_delta = delta; delta 1109 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int i, delta, match = 0, min_delta = INT_MAX; delta 1112 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c delta = time - s->timer_val[i]; delta 1113 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (delta < 0) delta 1114 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c delta = -delta; delta 1115 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (delta < min_delta) { delta 1116 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c min_delta = delta; delta 1125 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int i, delta, match = 0, min_delta = INT_MAX; delta 1128 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c delta = thres - s->counter_val[i]; delta 1129 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (delta < 0) delta 1130 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c delta = -delta; delta 1131 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (delta < min_delta) { delta 1132 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c min_delta = delta; delta 1844 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c u16 delta; delta 1848 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c delta = pidx - hw_pidx; delta 1850 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c delta = size - hw_pidx + pidx; delta 1853 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c val = PIDX_V(delta); delta 1855 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c val = PIDX_T5_V(delta); delta 2132 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c u16 delta; delta 2136 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c delta = q->db_pidx - hw_pidx; delta 2138 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c delta = q->size - hw_pidx + q->db_pidx; delta 2141 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c val = PIDX_V(delta); delta 2143 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c val = PIDX_T5_V(delta); delta 237 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c static int cxgb4_ptp_fineadjtime(struct adapter *adapter, s64 delta) delta 249 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.sign = (delta < 0) ? 1 : 0; delta 250 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c if (delta < 0) delta 251 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c delta = -delta; delta 252 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.tm = cpu_to_be64(delta); delta 268 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c static int cxgb4_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 277 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c if (delta < 0) delta 280 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c if (delta * sign > PTP_CLOCK_MAX_ADJTIME) { delta 288 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.sign = (delta < 0) ? 1 : 0; delta 289 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c if (delta < 0) delta 290 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c delta = -delta; delta 291 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.tm = cpu_to_be64(delta); delta 298 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c err = cxgb4_ptp_fineadjtime(adapter, delta); delta 1026 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c int delta = us - s->timer_val[i]; delta 1027 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if (delta < 0) delta 1028 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c delta = -delta; delta 1029 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if (delta < min_delta) { delta 1030 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c min_delta = delta; delta 1039 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c int i, delta, pktcnt_idx = 0, min_delta = INT_MAX; delta 1042 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c delta = thres - s->counter_val[i]; delta 1043 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if (delta < 0) delta 1044 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c delta = -delta; delta 1045 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if (delta < min_delta) { delta 1046 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c min_delta = delta; delta 1499 drivers/net/ethernet/cisco/enic/enic_main.c u64 delta; delta 1502 drivers/net/ethernet/cisco/enic/enic_main.c delta = ktime_us_delta(now, cq->prev_ts); delta 1503 drivers/net/ethernet/cisco/enic/enic_main.c if (delta < ENIC_AIC_TS_BREAK) delta 1518 drivers/net/ethernet/cisco/enic/enic_main.c traffic = delta > UINT_MAX ? 0 : traffic / (u32)delta; delta 2146 drivers/net/ethernet/emulex/benet/be_main.c u32 pps, delta; delta 2180 drivers/net/ethernet/emulex/benet/be_main.c delta = jiffies_to_msecs(now - aic->jiffies); delta 2181 drivers/net/ethernet/emulex/benet/be_main.c if (delta == 0) delta 2184 drivers/net/ethernet/emulex/benet/be_main.c pps = (((u32)(rx_pkts - aic->rx_pkts_prev) * 1000) / delta) + delta 2185 drivers/net/ethernet/emulex/benet/be_main.c (((u32)(tx_pkts - aic->tx_reqs_prev) * 1000) / delta); delta 357 drivers/net/ethernet/freescale/fec_ptp.c static int fec_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 364 drivers/net/ethernet/freescale/fec_ptp.c timecounter_adjtime(&fep->tc, delta); delta 455 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c return atomic_read(&wq->delta) - 1; delta 468 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c return atomic_read(&wq->delta) - 1; delta 566 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c atomic_set(&wq->delta, q_depth); delta 670 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c atomic_set(&wq[i].delta, q_depth); delta 752 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c if (atomic_sub_return(num_wqebbs, &wq->delta) <= 0) { delta 753 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c atomic_add(num_wqebbs, &wq->delta); delta 794 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c atomic_add(num_wqebbs, &wq->delta); delta 809 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c atomic_add(num_wqebbs, &wq->delta); delta 828 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c if ((atomic_read(&wq->delta) + num_wqebbs) > wq->q_depth) delta 46 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.h atomic_t delta; delta 25 drivers/net/ethernet/intel/e1000e/ptp.c static int e1000e_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta) delta 36 drivers/net/ethernet/intel/e1000e/ptp.c if ((delta > ptp->max_adj) || (delta <= -1000000000)) delta 39 drivers/net/ethernet/intel/e1000e/ptp.c if (delta < 0) { delta 41 drivers/net/ethernet/intel/e1000e/ptp.c delta = -delta; delta 54 drivers/net/ethernet/intel/e1000e/ptp.c adjustment *= delta; delta 64 drivers/net/ethernet/intel/e1000e/ptp.c adapter->ptp_delta = delta; delta 78 drivers/net/ethernet/intel/e1000e/ptp.c static int e1000e_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 85 drivers/net/ethernet/intel/e1000e/ptp.c timecounter_adjtime(&adapter->tc, delta); delta 256 drivers/net/ethernet/intel/fm10k/fm10k_common.c u32 delta = fm10k_read_reg(hw, addr) - stat->base_l; delta 261 drivers/net/ethernet/intel/fm10k/fm10k_common.c return delta; delta 281 drivers/net/ethernet/intel/fm10k/fm10k_common.c u64 delta; delta 292 drivers/net/ethernet/intel/fm10k/fm10k_common.c delta = ((u64)(count_h - stat->base_h) << 32) + count_l; delta 293 drivers/net/ethernet/intel/fm10k/fm10k_common.c delta -= stat->base_l; delta 295 drivers/net/ethernet/intel/fm10k/fm10k_common.c return delta & FM10K_48_BIT_MASK; delta 306 drivers/net/ethernet/intel/fm10k/fm10k_common.c static void fm10k_update_hw_base_48b(struct fm10k_hw_stat *stat, u64 delta) delta 308 drivers/net/ethernet/intel/fm10k/fm10k_common.c if (!delta) delta 312 drivers/net/ethernet/intel/fm10k/fm10k_common.c delta += stat->base_l; delta 313 drivers/net/ethernet/intel/fm10k/fm10k_common.c stat->base_l = (u32)delta; delta 316 drivers/net/ethernet/intel/fm10k/fm10k_common.c stat->base_h += (u32)(delta >> 32); delta 42 drivers/net/ethernet/intel/fm10k/fm10k_common.h #define fm10k_update_hw_base_32b(stat, delta) ((stat)->base_l += (delta)) delta 145 drivers/net/ethernet/intel/i40e/i40e_ptp.c static int i40e_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 150 drivers/net/ethernet/intel/i40e/i40e_ptp.c then = ns_to_timespec64(delta); delta 768 drivers/net/ethernet/intel/i40e/i40e_ptp.c ktime_t delta = ktime_sub(ktime_get(), pf->ptp_reset_start); delta 771 drivers/net/ethernet/intel/i40e/i40e_ptp.c timespec64_add_ns(&pf->ptp_prev_hw_time, ktime_to_ns(delta)); delta 249 drivers/net/ethernet/intel/igb/igb_ptp.c static int igb_ptp_adjtime_82576(struct ptp_clock_info *ptp, s64 delta) delta 256 drivers/net/ethernet/intel/igb/igb_ptp.c timecounter_adjtime(&igb->tc, delta); delta 262 drivers/net/ethernet/intel/igb/igb_ptp.c static int igb_ptp_adjtime_i210(struct ptp_clock_info *ptp, s64 delta) delta 267 drivers/net/ethernet/intel/igb/igb_ptp.c struct timespec64 now, then = ns_to_timespec64(delta); delta 531 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c static int ixgbe_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 538 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c timecounter_adjtime(&adapter->hw_tc, delta); delta 121 drivers/net/ethernet/mellanox/mlx4/en_clock.c static int mlx4_en_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta) delta 130 drivers/net/ethernet/mellanox/mlx4/en_clock.c if (delta < 0) { delta 132 drivers/net/ethernet/mellanox/mlx4/en_clock.c delta = -delta; delta 136 drivers/net/ethernet/mellanox/mlx4/en_clock.c adj *= delta; delta 154 drivers/net/ethernet/mellanox/mlx4/en_clock.c static int mlx4_en_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 161 drivers/net/ethernet/mellanox/mlx4/en_clock.c timecounter_adjtime(&mdev->clock, delta); delta 179 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c static int mlx5_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 186 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c timecounter_adjtime(&clock->tc, delta); delta 193 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c static int mlx5_ptp_adjfreq(struct ptp_clock_info *ptp, s32 delta) delta 202 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c if (delta < 0) { delta 204 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c delta = -delta; delta 208 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c adj *= delta; delta 209 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c unsigned int score, delta, i, shift = 1; delta 218 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c delta = DIV_ROUND_CLOSEST(temp, trip->temp - temp); delta 219 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c score = delta * shift; delta 480 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c const struct mlxsw_sp_acl_erp_delta *delta; delta 498 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c delta = mlxsw_sp_acl_erp_delta(aentry->erp_mask); delta 499 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c aentry->delta_info.start = mlxsw_sp_acl_erp_delta_start(delta); delta 500 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c aentry->delta_info.mask = mlxsw_sp_acl_erp_delta_mask(delta); delta 502 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c mlxsw_sp_acl_erp_delta_value(delta, delta 504 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c mlxsw_sp_acl_erp_delta_clear(delta, aentry->enc_key); delta 1090 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c u16 mlxsw_sp_acl_erp_delta_start(const struct mlxsw_sp_acl_erp_delta *delta) delta 1092 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return delta->start; delta 1095 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c u8 mlxsw_sp_acl_erp_delta_mask(const struct mlxsw_sp_acl_erp_delta *delta) delta 1097 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return delta->mask; delta 1100 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c u8 mlxsw_sp_acl_erp_delta_value(const struct mlxsw_sp_acl_erp_delta *delta, delta 1103 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c u16 start = delta->start; delta 1104 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c u8 mask = delta->mask; delta 1118 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c void mlxsw_sp_acl_erp_delta_clear(const struct mlxsw_sp_acl_erp_delta *delta, delta 1121 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c u16 start = delta->start; delta 1122 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c u8 mask = delta->mask; delta 1145 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c const struct mlxsw_sp_acl_erp_delta *delta; delta 1147 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c delta = objagg_obj_delta_priv(objagg_obj); delta 1148 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (!delta) delta 1149 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c delta = &mlxsw_sp_acl_erp_delta_default; delta 1150 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return delta; delta 1237 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp_delta *delta; delta 1249 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c delta = kzalloc(sizeof(*delta), GFP_KERNEL); delta 1250 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (!delta) delta 1252 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c delta->start = delta_start; delta 1253 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c delta->mask = delta_mask; delta 1259 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c memcpy(&delta->key, key, sizeof(*key)); delta 1260 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = mlxsw_sp_acl_erp_master_mask_set(erp_table, &delta->key); delta 1264 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return delta; delta 1269 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c kfree(delta); delta 1275 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp_delta *delta = delta_priv; delta 1279 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_master_mask_clear(erp_table, &delta->key); delta 1281 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c kfree(delta); delta 249 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h u16 mlxsw_sp_acl_erp_delta_start(const struct mlxsw_sp_acl_erp_delta *delta); delta 250 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h u8 mlxsw_sp_acl_erp_delta_mask(const struct mlxsw_sp_acl_erp_delta *delta); delta 251 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h u8 mlxsw_sp_acl_erp_delta_value(const struct mlxsw_sp_acl_erp_delta *delta, delta 253 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h void mlxsw_sp_acl_erp_delta_clear(const struct mlxsw_sp_acl_erp_delta *delta, delta 180 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c static int mlxsw_sp1_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 187 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c timecounter_adjtime(&clock->tc, delta); delta 329 drivers/net/ethernet/microchip/lan743x_ptp.c static int lan743x_ptpci_adjtime(struct ptp_clock_info *ptpci, s64 delta) delta 336 drivers/net/ethernet/microchip/lan743x_ptp.c lan743x_ptp_clock_step(adapter, delta); delta 1879 drivers/net/ethernet/mscc/ocelot.c static int ocelot_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 1881 drivers/net/ethernet/mscc/ocelot.c if (delta > -(NSEC_PER_SEC / 2) && delta < (NSEC_PER_SEC / 2)) { delta 1896 drivers/net/ethernet/mscc/ocelot.c ocelot_write_rix(ocelot, delta, PTP_PIN_TOD_NSEC, TOD_ACC_PIN); delta 1913 drivers/net/ethernet/mscc/ocelot.c ts = ns_to_timespec64(now + delta); delta 4789 drivers/net/ethernet/neterion/s2io.c u64 delta; delta 4801 drivers/net/ethernet/neterion/s2io.c delta = ((u64) le32_to_cpu(stats->rmac_vld_frms_oflow) << 32 | delta 4803 drivers/net/ethernet/neterion/s2io.c sp->stats.rx_packets += delta; delta 4804 drivers/net/ethernet/neterion/s2io.c dev->stats.rx_packets += delta; delta 4806 drivers/net/ethernet/neterion/s2io.c delta = ((u64) le32_to_cpu(stats->tmac_frms_oflow) << 32 | delta 4808 drivers/net/ethernet/neterion/s2io.c sp->stats.tx_packets += delta; delta 4809 drivers/net/ethernet/neterion/s2io.c dev->stats.tx_packets += delta; delta 4811 drivers/net/ethernet/neterion/s2io.c delta = ((u64) le32_to_cpu(stats->rmac_data_octets_oflow) << 32 | delta 4813 drivers/net/ethernet/neterion/s2io.c sp->stats.rx_bytes += delta; delta 4814 drivers/net/ethernet/neterion/s2io.c dev->stats.rx_bytes += delta; delta 4816 drivers/net/ethernet/neterion/s2io.c delta = ((u64) le32_to_cpu(stats->tmac_data_octets_oflow) << 32 | delta 4818 drivers/net/ethernet/neterion/s2io.c sp->stats.tx_bytes += delta; delta 4819 drivers/net/ethernet/neterion/s2io.c dev->stats.tx_bytes += delta; delta 4821 drivers/net/ethernet/neterion/s2io.c delta = le64_to_cpu(stats->rmac_drop_frms) - sp->stats.rx_errors; delta 4822 drivers/net/ethernet/neterion/s2io.c sp->stats.rx_errors += delta; delta 4823 drivers/net/ethernet/neterion/s2io.c dev->stats.rx_errors += delta; delta 4825 drivers/net/ethernet/neterion/s2io.c delta = ((u64) le32_to_cpu(stats->tmac_any_err_frms_oflow) << 32 | delta 4827 drivers/net/ethernet/neterion/s2io.c sp->stats.tx_errors += delta; delta 4828 drivers/net/ethernet/neterion/s2io.c dev->stats.tx_errors += delta; delta 4830 drivers/net/ethernet/neterion/s2io.c delta = le64_to_cpu(stats->rmac_drop_frms) - sp->stats.rx_dropped; delta 4831 drivers/net/ethernet/neterion/s2io.c sp->stats.rx_dropped += delta; delta 4832 drivers/net/ethernet/neterion/s2io.c dev->stats.rx_dropped += delta; delta 4834 drivers/net/ethernet/neterion/s2io.c delta = le64_to_cpu(stats->tmac_drop_frms) - sp->stats.tx_dropped; delta 4835 drivers/net/ethernet/neterion/s2io.c sp->stats.tx_dropped += delta; delta 4836 drivers/net/ethernet/neterion/s2io.c dev->stats.tx_dropped += delta; delta 4843 drivers/net/ethernet/neterion/s2io.c delta = (u64) le32_to_cpu(stats->rmac_vld_mcst_frms_oflow) << 32 | delta 4845 drivers/net/ethernet/neterion/s2io.c delta -= le64_to_cpu(stats->rmac_pause_ctrl_frms); delta 4846 drivers/net/ethernet/neterion/s2io.c delta -= sp->stats.multicast; delta 4847 drivers/net/ethernet/neterion/s2io.c sp->stats.multicast += delta; delta 4848 drivers/net/ethernet/neterion/s2io.c dev->stats.multicast += delta; delta 4850 drivers/net/ethernet/neterion/s2io.c delta = ((u64) le32_to_cpu(stats->rmac_usized_frms_oflow) << 32 | delta 4853 drivers/net/ethernet/neterion/s2io.c sp->stats.rx_length_errors += delta; delta 4854 drivers/net/ethernet/neterion/s2io.c dev->stats.rx_length_errors += delta; delta 4856 drivers/net/ethernet/neterion/s2io.c delta = le64_to_cpu(stats->rmac_fcs_err_frms) - sp->stats.rx_crc_errors; delta 4857 drivers/net/ethernet/neterion/s2io.c sp->stats.rx_crc_errors += delta; delta 4858 drivers/net/ethernet/neterion/s2io.c dev->stats.rx_crc_errors += delta; delta 1683 drivers/net/ethernet/netronome/nfp/bpf/jit.c swreg plen, delta; delta 1688 drivers/net/ethernet/netronome/nfp/bpf/jit.c delta = reg_a(2 * 2); delta 1694 drivers/net/ethernet/netronome/nfp/bpf/jit.c emit_alu(nfp_prog, plen, plen_reg(nfp_prog), ALU_OP_ADD, delta); delta 1705 drivers/net/ethernet/netronome/nfp/bpf/jit.c plen_reg(nfp_prog), ALU_OP_ADD, delta); delta 1707 drivers/net/ethernet/netronome/nfp/bpf/jit.c pv_len(nfp_prog), ALU_OP_ADD, delta); delta 2045 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c int delta = 0; delta 2061 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c delta += skb_frag_size(frag); delta 2064 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (!__pskb_pull_tail(skb, delta)) delta 83 drivers/net/ethernet/qlogic/qede/qede_ptp.c static int qede_ptp_adjtime(struct ptp_clock_info *info, s64 delta) delta 92 drivers/net/ethernet/qlogic/qede/qede_ptp.c delta); delta 95 drivers/net/ethernet/qlogic/qede/qede_ptp.c timecounter_adjtime(&ptp->tc, delta); delta 658 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c int i, k, frag_count, delta = 0; delta 684 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c delta += skb_frag_size(&skb_shinfo(skb)->frags[i]); delta 686 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (!__pskb_pull_tail(skb, delta)) delta 127 drivers/net/ethernet/renesas/ravb_ptp.c static int ravb_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 140 drivers/net/ethernet/renesas/ravb_ptp.c ts = ns_to_timespec64(now + delta); delta 2579 drivers/net/ethernet/renesas/sh_eth.c u32 delta = sh_eth_read(ndev, reg); delta 2581 drivers/net/ethernet/renesas/sh_eth.c if (delta) { delta 2582 drivers/net/ethernet/renesas/sh_eth.c *stat += delta; delta 345 drivers/net/ethernet/sfc/ptp.c static int efx_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta); delta 346 drivers/net/ethernet/sfc/ptp.c static int efx_phc_adjtime(struct ptp_clock_info *ptp, s64 delta); delta 565 drivers/net/ethernet/sfc/ptp.c s16 delta; delta 596 drivers/net/ethernet/sfc/ptp.c delta = nic_major - sync_timestamp; delta 601 drivers/net/ethernet/sfc/ptp.c nic_major = sync_timestamp + delta; delta 935 drivers/net/ethernet/sfc/ptp.c struct timespec64 delta; delta 1002 drivers/net/ethernet/sfc/ptp.c delta.tv_sec = (last_sec - start_sec) & 1; delta 1003 drivers/net/ethernet/sfc/ptp.c delta.tv_nsec = delta 1015 drivers/net/ethernet/sfc/ptp.c delta.tv_nsec += ktime_to_timespec64(mc_time).tv_nsec; delta 1019 drivers/net/ethernet/sfc/ptp.c pps_sub_ts(&ptp->host_time_pps, delta); delta 2061 drivers/net/ethernet/sfc/ptp.c static int efx_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta) delta 2071 drivers/net/ethernet/sfc/ptp.c if (delta > MAX_PPB) delta 2072 drivers/net/ethernet/sfc/ptp.c delta = MAX_PPB; delta 2073 drivers/net/ethernet/sfc/ptp.c else if (delta < -MAX_PPB) delta 2074 drivers/net/ethernet/sfc/ptp.c delta = -MAX_PPB; delta 2077 drivers/net/ethernet/sfc/ptp.c adjustment_ns = ((s64)delta * PPB_SCALE_WORD + delta 2095 drivers/net/ethernet/sfc/ptp.c static int efx_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 2104 drivers/net/ethernet/sfc/ptp.c efx->ptp_data->ns_to_nic_time(delta, &nic_major, &nic_minor); delta 2150 drivers/net/ethernet/sfc/ptp.c struct timespec64 delta; delta 2156 drivers/net/ethernet/sfc/ptp.c delta = timespec64_sub(*e_ts, time_now); delta 2158 drivers/net/ethernet/sfc/ptp.c rc = efx_phc_adjtime(ptp, timespec64_to_ns(&delta)); delta 579 drivers/net/ethernet/sis/sis190.c u32 delta, count; delta 639 drivers/net/ethernet/sis/sis190.c delta = sis190_rx_fill(tp, dev, tp->dirty_rx, tp->cur_rx); delta 640 drivers/net/ethernet/sis/sis190.c if (!delta && count) delta 642 drivers/net/ethernet/sis/sis190.c tp->dirty_rx += delta; delta 56 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c static int stmmac_adjust_time(struct ptp_clock_info *ptp, s64 delta) delta 68 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c if (delta < 0) { delta 70 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c delta = -delta; delta 73 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c quotient = div_u64_rem(delta, 1000000000ULL, &reminder); delta 1086 drivers/net/ethernet/tehuti/tehuti.c int dno, delta, idx; delta 1113 drivers/net/ethernet/tehuti/tehuti.c delta = f->m.wptr - f->m.memsz; delta 1114 drivers/net/ethernet/tehuti/tehuti.c if (unlikely(delta >= 0)) { delta 1115 drivers/net/ethernet/tehuti/tehuti.c f->m.wptr = delta; delta 1116 drivers/net/ethernet/tehuti/tehuti.c if (delta > 0) { delta 1117 drivers/net/ethernet/tehuti/tehuti.c memcpy(f->m.va, f->m.va + f->m.memsz, delta); delta 1150 drivers/net/ethernet/tehuti/tehuti.c int delta; delta 1168 drivers/net/ethernet/tehuti/tehuti.c delta = f->m.wptr - f->m.memsz; delta 1169 drivers/net/ethernet/tehuti/tehuti.c if (unlikely(delta >= 0)) { delta 1170 drivers/net/ethernet/tehuti/tehuti.c f->m.wptr = delta; delta 1171 drivers/net/ethernet/tehuti/tehuti.c if (delta > 0) { delta 1172 drivers/net/ethernet/tehuti/tehuti.c memcpy(f->m.va, f->m.va + f->m.memsz, delta); delta 244 drivers/net/ethernet/ti/cpts.c static int cpts_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 250 drivers/net/ethernet/ti/cpts.c timecounter_adjtime(&cpts->tc, delta); delta 448 drivers/net/ethernet/ti/davinci_cpdma.c u32 delta = UINT_MAX, prev_delta = UINT_MAX, best_delta = UINT_MAX; delta 477 drivers/net/ethernet/ti/davinci_cpdma.c delta = new_rate >= ch->rate ? new_rate - ch->rate : delta; delta 478 drivers/net/ethernet/ti/davinci_cpdma.c if (delta < best_delta) { delta 479 drivers/net/ethernet/ti/davinci_cpdma.c best_delta = delta; delta 484 drivers/net/ethernet/ti/davinci_cpdma.c if (!delta) delta 488 drivers/net/ethernet/ti/davinci_cpdma.c if (prev_delta >= delta) { delta 489 drivers/net/ethernet/ti/davinci_cpdma.c prev_delta = delta; delta 1837 drivers/net/ethernet/ti/netcp_ethss.c u32 curr, delta; delta 1845 drivers/net/ethernet/ti/netcp_ethss.c delta = curr - gbe_dev->hw_stats_prev[et_stats_entry]; delta 1847 drivers/net/ethernet/ti/netcp_ethss.c gbe_dev->hw_stats[et_stats_entry] += delta; delta 63 drivers/net/fddi/skfp/smttimer.c u_long delta = 0 ; delta 87 drivers/net/fddi/skfp/smttimer.c delta = 0 ; delta 89 drivers/net/fddi/skfp/smttimer.c if (delta + tm->tm_delta > time) { delta 92 drivers/net/fddi/skfp/smttimer.c delta += tm->tm_delta ; delta 97 drivers/net/fddi/skfp/smttimer.c timer->tm_delta = time - delta ; delta 118 drivers/net/fddi/skfp/smttimer.c u_long delta ; delta 124 drivers/net/fddi/skfp/smttimer.c delta = hwt_read(smc) ; delta 128 drivers/net/fddi/skfp/smttimer.c if (delta >= tm->tm_delta) { delta 130 drivers/net/fddi/skfp/smttimer.c delta -= tm->tm_delta ; delta 135 drivers/net/fddi/skfp/smttimer.c tm->tm_delta -= delta ; delta 136 drivers/net/fddi/skfp/smttimer.c delta = 0 ; delta 168 drivers/net/net_failover.c s64 delta = nv - ov; delta 172 drivers/net/net_failover.c delta = (s64)(s32)((u32)nv - (u32)ov); delta 177 drivers/net/net_failover.c if (delta > 0) delta 178 drivers/net/net_failover.c res[i] += delta; delta 398 drivers/net/phy/dp83640.c static int ptp_dp83640_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 406 drivers/net/phy/dp83640.c delta += ADJTIME_FIX; delta 408 drivers/net/phy/dp83640.c ts = ns_to_timespec64(delta); delta 417 drivers/net/usb/lan78xx.c int delta; delta 1229 drivers/net/usb/lan78xx.c dev->delta = 1; delta 3496 drivers/net/usb/lan78xx.c if (timer_pending(&dev->stat_monitor) && (dev->delta != 1)) { delta 3497 drivers/net/usb/lan78xx.c dev->delta = 1; delta 3583 drivers/net/usb/lan78xx.c jiffies + (STAT_UPDATE_TIMER * dev->delta)); delta 3585 drivers/net/usb/lan78xx.c dev->delta = min((dev->delta * 2), 50); delta 3754 drivers/net/usb/lan78xx.c dev->delta = 1; delta 4111 drivers/net/usb/lan78xx.c dev->delta = 1; delta 514 drivers/net/veth.c int len = frame->len, delta = 0; delta 536 drivers/net/veth.c delta = frame->data - xdp.data; delta 574 drivers/net/veth.c headroom = sizeof(struct xdp_frame) + frame->headroom - delta; delta 600 drivers/net/veth.c int mac_len, delta, off; delta 698 drivers/net/veth.c delta = orig_data - xdp.data; delta 699 drivers/net/veth.c off = mac_len + delta; delta 704 drivers/net/veth.c skb->mac_header -= delta; delta 644 drivers/net/virtio_net.c unsigned int delta = 0; delta 696 drivers/net/virtio_net.c delta = orig_data - xdp.data; delta 736 drivers/net/virtio_net.c skb_reserve(skb, headroom - delta); delta 738 drivers/net/virtio_net.c if (!delta) { delta 690 drivers/net/wireless/ath/ath10k/ce.c int delta; delta 693 drivers/net/wireless/ath/ath10k/ce.c delta = CE_RING_DELTA(pipe->src_ring->nentries_mask, delta 698 drivers/net/wireless/ath/ath10k/ce.c return delta; delta 371 drivers/net/wireless/ath/ath9k/ar9002_calib.c int32_t delta, currPDADC, slope; delta 387 drivers/net/wireless/ath/ath9k/ar9002_calib.c delta = 0; delta 389 drivers/net/wireless/ath/ath9k/ar9002_calib.c delta = ((currPDADC - ah->initPDADC)*4) / slope; delta 392 drivers/net/wireless/ath/ath9k/ar9002_calib.c AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP, delta); delta 394 drivers/net/wireless/ath/ath9k/ar9002_calib.c AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP, delta); delta 401 drivers/net/wireless/ath/ath9k/ar9002_calib.c int delta, currPDADC, regval; delta 410 drivers/net/wireless/ath/ath9k/ar9002_calib.c delta = (currPDADC - ah->initPDADC + 4) / 8; delta 412 drivers/net/wireless/ath/ath9k/ar9002_calib.c delta = (currPDADC - ah->initPDADC + 5) / 10; delta 414 drivers/net/wireless/ath/ath9k/ar9002_calib.c if (delta != ah->PDADCdelta) { delta 415 drivers/net/wireless/ath/ath9k/ar9002_calib.c ah->PDADCdelta = delta; delta 417 drivers/net/wireless/ath/ath9k/ar9002_calib.c regval = ah->originalGain[i] - delta; delta 74 drivers/net/wireless/ath/ath9k/ar9003_paprd.c unsigned int power, scale, delta; delta 87 drivers/net/wireless/ath/ath9k/ar9003_paprd.c delta = abs((int) ah->paprd_target_power - (int) power); delta 88 drivers/net/wireless/ath/ath9k/ar9003_paprd.c if (delta > scale) delta 91 drivers/net/wireless/ath/ath9k/ar9003_paprd.c if (delta < 4) delta 92 drivers/net/wireless/ath/ath9k/ar9003_paprd.c power -= 4 - delta; delta 102 drivers/net/wireless/ath/ath9k/ar9003_paprd.c unsigned int power, scale, delta; delta 114 drivers/net/wireless/ath/ath9k/ar9003_paprd.c delta = abs((int) ah->paprd_target_power - (int) power); delta 115 drivers/net/wireless/ath/ath9k/ar9003_paprd.c if (delta > scale) delta 120 drivers/net/wireless/ath/ath9k/ar9003_paprd.c delta = 6; delta 123 drivers/net/wireless/ath/ath9k/ar9003_paprd.c delta = 4; delta 126 drivers/net/wireless/ath/ath9k/ar9003_paprd.c delta = 2; delta 129 drivers/net/wireless/ath/ath9k/ar9003_paprd.c delta = 0; delta 134 drivers/net/wireless/ath/ath9k/ar9003_paprd.c power += delta; delta 78 drivers/net/wireless/ath/ath9k/calib.c s8 delta = nf - ATH9K_NF_CAL_NOISE_THRESH - delta 80 drivers/net/wireless/ath/ath9k/calib.c if (delta > 0) delta 81 drivers/net/wireless/ath/ath9k/calib.c noise += delta; delta 157 drivers/net/wireless/ath/ath9k/dfs.c int delta = max_bin[i + 1] - max_bin[i]; delta 160 drivers/net/wireless/ath/ath9k/dfs.c if (abs(delta) < BIN_DELTA_MIN || abs(delta) > BIN_DELTA_MAX) { delta 162 drivers/net/wireless/ath/ath9k/dfs.c "in sample %d\n", delta, i); delta 167 drivers/net/wireless/ath/ath9k/dfs.c ddelta = delta - prev_delta; delta 175 drivers/net/wireless/ath/ath9k/dfs.c i, delta, ddelta); delta 176 drivers/net/wireless/ath/ath9k/dfs.c prev_delta = delta; delta 49 drivers/net/wireless/ath/dfs_pri_detector.c u32 delta; delta 54 drivers/net/wireless/ath/dfs_pri_detector.c delta = (val < fraction) ? (fraction - val) : (val - fraction); delta 56 drivers/net/wireless/ath/dfs_pri_detector.c if (delta <= tolerance) delta 327 drivers/net/wireless/ath/wil6210/debugfs.c size_t delta = i * sizeof(d); delta 328 drivers/net/wireless/ath/wil6210/debugfs.c void __iomem *x = wil->csr + HOSTADDR(r.base) + delta; delta 334 drivers/net/wireless/ath/wil6210/debugfs.c (r.tail - r.base == delta) ? "t" : " ", delta 335 drivers/net/wireless/ath/wil6210/debugfs.c (r.head - r.base == delta) ? "h" : " ", delta 878 drivers/net/wireless/ath/wil6210/txrx_edma.c int delta; delta 1008 drivers/net/wireless/ath/wil6210/txrx_edma.c &delta))) { delta 396 drivers/net/wireless/broadcom/b43/phy_g.c s16 i, delta; delta 399 drivers/net/wireless/broadcom/b43/phy_g.c delta = 0x1F - gphy->nrssi[0]; delta 401 drivers/net/wireless/broadcom/b43/phy_g.c tmp = (i - delta) * gphy->nrssislope; delta 2336 drivers/net/wireless/broadcom/b43/phy_g.c s32 m1, m2, f = 256, q, delta; delta 2346 drivers/net/wireless/broadcom/b43/phy_g.c delta = abs(q - f); delta 2349 drivers/net/wireless/broadcom/b43/phy_g.c } while (delta >= 2); delta 3986 drivers/net/wireless/broadcom/b43/phy_n.c u8 idx, delta; delta 4007 drivers/net/wireless/broadcom/b43/phy_n.c delta = 0; delta 4013 drivers/net/wireless/broadcom/b43/phy_n.c delta = 1; delta 4032 drivers/net/wireless/broadcom/b43/phy_n.c idx += delta; delta 4034 drivers/net/wireless/broadcom/b43/phy_n.c idx += 1 - delta; delta 1948 drivers/net/wireless/broadcom/b43legacy/phy.c s32 delta; delta 1959 drivers/net/wireless/broadcom/b43legacy/phy.c delta = abs(q - f); delta 1962 drivers/net/wireless/broadcom/b43legacy/phy.c } while (delta >= 2); delta 353 drivers/net/wireless/broadcom/b43legacy/radio.c s16 delta; delta 356 drivers/net/wireless/broadcom/b43legacy/radio.c delta = 0x1F - phy->nrssi[0]; delta 358 drivers/net/wireless/broadcom/b43legacy/radio.c tmp = (i - delta) * phy->nrssislope; delta 1862 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c join_pref_params[i].rssi_gain = bss_select->param.adjust.delta; delta 406 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c int delta; delta 428 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c delta = band->antgain; delta 433 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c maxpwr = QDB(ch->max_power) - delta; delta 460 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c delta = 0; delta 462 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c delta = band->antgain - QDB(6); /* Excess over 6 dB */ delta 472 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c maxpwr20 = maxpwr20 - delta; delta 474 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c maxpwr40 = maxpwr40 - delta; delta 3086 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c u16 delta; delta 3112 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c delta = (u16)(macstats->rxf0ovfl - rxf0ovfl); delta 3113 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (delta) delta 3115 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->pub->unit, delta); delta 3119 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c delta = macstats->txfunfl[i] - txfunfl[i]; delta 3120 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (delta) delta 3123 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->pub->unit, delta, i); delta 375 drivers/net/wireless/intel/iwlegacy/3945.c u32 *delta, *max_delta; delta 379 drivers/net/wireless/intel/iwlegacy/3945.c delta = (u32 *) &il->_3945.delta_stats; delta 384 drivers/net/wireless/intel/iwlegacy/3945.c sizeof(__le32), stats++, prev_stats++, delta++, max_delta++, delta 387 drivers/net/wireless/intel/iwlegacy/3945.c *delta = delta 389 drivers/net/wireless/intel/iwlegacy/3945.c *accum_stats += *delta; delta 390 drivers/net/wireless/intel/iwlegacy/3945.c if (*delta > *max_delta) delta 391 drivers/net/wireless/intel/iwlegacy/3945.c *max_delta = *delta; delta 1323 drivers/net/wireless/intel/iwlegacy/4965-mac.c u32 *delta, *max_delta; delta 1331 drivers/net/wireless/intel/iwlegacy/4965-mac.c delta = (u32 *) &il->_4965.delta_stats; delta 1336 drivers/net/wireless/intel/iwlegacy/4965-mac.c sizeof(__le32), stats++, prev_stats++, delta++, max_delta++, delta 1339 drivers/net/wireless/intel/iwlegacy/4965-mac.c *delta = delta 1341 drivers/net/wireless/intel/iwlegacy/4965-mac.c *accum_stats += *delta; delta 1342 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (*delta > *max_delta) delta 1343 drivers/net/wireless/intel/iwlegacy/4965-mac.c *max_delta = *delta; delta 146 drivers/net/wireless/intel/iwlwifi/dvm/rx.c int delta; delta 154 drivers/net/wireless/intel/iwlwifi/dvm/rx.c delta = le32_to_cpu(cur_ofdm->plcp_err) - delta 160 drivers/net/wireless/intel/iwlwifi/dvm/rx.c if (delta <= 0) delta 163 drivers/net/wireless/intel/iwlwifi/dvm/rx.c if ((delta * 100 / msecs) > threshold) { delta 166 drivers/net/wireless/intel/iwlwifi/dvm/rx.c threshold, delta, msecs); delta 287 drivers/net/wireless/intel/iwlwifi/dvm/rx.c static void accum_stats(__le32 *prev, __le32 *cur, __le32 *delta, delta 294 drivers/net/wireless/intel/iwlwifi/dvm/rx.c i++, prev++, cur++, delta++, max_delta++, accum++) { delta 296 drivers/net/wireless/intel/iwlwifi/dvm/rx.c *delta = cpu_to_le32( delta 298 drivers/net/wireless/intel/iwlwifi/dvm/rx.c le32_add_cpu(accum, le32_to_cpu(*delta)); delta 299 drivers/net/wireless/intel/iwlwifi/dvm/rx.c if (le32_to_cpu(*delta) > le32_to_cpu(*max_delta)) delta 300 drivers/net/wireless/intel/iwlwifi/dvm/rx.c *max_delta = *delta; delta 1854 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c size_t delta; delta 1865 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c delta = *ppos & 0x3; delta 1866 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c cmd.addr = cpu_to_le32(*ppos - delta); delta 1867 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c cmd.len = cpu_to_le32(min(ALIGN(count + delta, 4) / 4, delta 1885 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c len = min(len - delta, count); delta 1891 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = len - copy_to_user(user_buf, (void *)rsp->data + delta, len); delta 214 drivers/net/wireless/intersil/prism54/isl_38xx.c const s32 delta = (le32_to_cpu(cb->driver_curr_frag[queue]) - delta 220 drivers/net/wireless/intersil/prism54/isl_38xx.c BUG_ON(delta < 0); /* driver ptr must be ahead of device ptr */ delta 225 drivers/net/wireless/intersil/prism54/isl_38xx.c BUG_ON(delta > ISL38XX_CB_MGMT_QSIZE); delta 230 drivers/net/wireless/intersil/prism54/isl_38xx.c BUG_ON(delta > ISL38XX_CB_TX_QSIZE); delta 231 drivers/net/wireless/intersil/prism54/isl_38xx.c return delta; delta 235 drivers/net/wireless/intersil/prism54/isl_38xx.c BUG_ON(delta > ISL38XX_CB_MGMT_QSIZE); delta 236 drivers/net/wireless/intersil/prism54/isl_38xx.c return ISL38XX_CB_MGMT_QSIZE - delta; delta 240 drivers/net/wireless/intersil/prism54/isl_38xx.c BUG_ON(delta > ISL38XX_CB_RX_QSIZE); delta 241 drivers/net/wireless/intersil/prism54/isl_38xx.c return ISL38XX_CB_RX_QSIZE - delta; delta 817 drivers/net/wireless/mac80211_hwsim.c u64 delta = abs(tsf - now); delta 821 drivers/net/wireless/mac80211_hwsim.c data->tsf_offset += delta; delta 822 drivers/net/wireless/mac80211_hwsim.c data->bcn_delta = do_div(delta, bcn_int); delta 824 drivers/net/wireless/mac80211_hwsim.c data->tsf_offset -= delta; delta 825 drivers/net/wireless/mac80211_hwsim.c data->bcn_delta = -(s64)do_div(delta, bcn_int); delta 158 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c s8 delta; delta 208 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c delta = mt76x0_tssi_enabled(dev) ? 0 : mt76x0_get_delta(dev); delta 209 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c mt76x02_add_rate_power_offset(t, delta); delta 364 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c t->chain[chain].delta = delta 416 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c t->chain[chain].delta = delta 31 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.h s8 delta; delta 142 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c int txp_0, txp_1, delta = 0; delta 149 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c delta = txp.delta_bw40; delta 151 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c delta = txp.delta_bw80; delta 154 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76x02_add_rate_power_offset(&t, txp.target_power + delta); delta 159 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c delta = base_power - txp.target_power; delta 160 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c txp_0 = txp.chain[0].target_power + txp.chain[0].delta + delta; delta 161 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c txp_1 = txp.chain[1].target_power + txp.chain[1].delta + delta; delta 250 drivers/net/wireless/mediatek/mt7601u/eeprom.c mt7601u_set_power_rate(struct power_per_rate *rate, s8 delta, u8 value) delta 259 drivers/net/wireless/mediatek/mt7601u/eeprom.c rate->bw40 = rate->bw20 + delta; delta 263 drivers/net/wireless/mediatek/mt7601u/eeprom.c mt7601u_save_power_rate(struct mt7601u_dev *dev, s8 delta, u32 val, int i) delta 269 drivers/net/wireless/mediatek/mt7601u/eeprom.c mt7601u_set_power_rate(&t->cck[0], delta, (val >> 0) & 0xff); delta 270 drivers/net/wireless/mediatek/mt7601u/eeprom.c mt7601u_set_power_rate(&t->cck[1], delta, (val >> 8) & 0xff); delta 275 drivers/net/wireless/mediatek/mt7601u/eeprom.c mt7601u_set_power_rate(&t->ofdm[0], delta, (val >> 16) & 0xff); delta 276 drivers/net/wireless/mediatek/mt7601u/eeprom.c mt7601u_set_power_rate(&t->ofdm[1], delta, (val >> 24) & 0xff); delta 279 drivers/net/wireless/mediatek/mt7601u/eeprom.c mt7601u_set_power_rate(&t->ofdm[2], delta, (val >> 0) & 0xff); delta 280 drivers/net/wireless/mediatek/mt7601u/eeprom.c mt7601u_set_power_rate(&t->ofdm[3], delta, (val >> 8) & 0xff); delta 281 drivers/net/wireless/mediatek/mt7601u/eeprom.c mt7601u_set_power_rate(&t->ht[0], delta, (val >> 16) & 0xff); delta 282 drivers/net/wireless/mediatek/mt7601u/eeprom.c mt7601u_set_power_rate(&t->ht[1], delta, (val >> 24) & 0xff); delta 285 drivers/net/wireless/mediatek/mt7601u/eeprom.c mt7601u_set_power_rate(&t->ht[2], delta, (val >> 0) & 0xff); delta 286 drivers/net/wireless/mediatek/mt7601u/eeprom.c mt7601u_set_power_rate(&t->ht[3], delta, (val >> 8) & 0xff); delta 4565 drivers/net/wireless/ralink/rt2x00/rt2800lib.c int delta; delta 4579 drivers/net/wireless/ralink/rt2x00/rt2800lib.c delta = power_level - max_power; delta 4580 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return min(delta, 0); delta 4585 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 txpower, int delta) delta 4623 drivers/net/wireless/ralink/rt2x00/rt2800lib.c (is_rate_b ? 4 : 0) + delta; delta 4630 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = max(0, txpower + delta - reg_limit); delta 4663 drivers/net/wireless/ralink/rt2x00/rt2800lib.c int delta; delta 4671 drivers/net/wireless/ralink/rt2x00/rt2800lib.c delta = rt2800_get_gain_calibration_delta(rt2x00dev); delta 4688 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4699 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4710 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4721 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4736 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4747 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4758 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4773 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4784 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4795 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4806 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4821 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4832 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4843 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4854 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4869 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4880 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4891 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4902 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4917 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4928 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4939 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4954 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4965 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4976 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4985 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 4998 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); delta 5049 drivers/net/wireless/ralink/rt2x00/rt2800lib.c int delta; delta 5052 drivers/net/wireless/ralink/rt2x00/rt2800lib.c delta = rt2800_get_txpower_bw_comp(rt2x00dev, band); delta 5054 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (delta) delta 5056 drivers/net/wireless/ralink/rt2x00/rt2800lib.c delta); delta 5180 drivers/net/wireless/ralink/rt2x00/rt2800lib.c int i, is_rate_b, delta, power_ctrl; delta 5187 drivers/net/wireless/ralink/rt2x00/rt2800lib.c delta = rt2800_get_txpower_bw_comp(rt2x00dev, band); delta 5204 drivers/net/wireless/ralink/rt2x00/rt2800lib.c delta += rt2800_get_gain_calibration_delta(rt2x00dev); delta 5216 drivers/net/wireless/ralink/rt2x00/rt2800lib.c delta += rt2800_get_txpower_reg_delta(rt2x00dev, power_level, delta 5227 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (delta <= -12) { delta 5229 drivers/net/wireless/ralink/rt2x00/rt2800lib.c delta += 12; delta 5230 drivers/net/wireless/ralink/rt2x00/rt2800lib.c } else if (delta <= -6) { delta 5232 drivers/net/wireless/ralink/rt2x00/rt2800lib.c delta += 6; delta 5263 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); delta 5274 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); delta 5285 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); delta 5296 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); delta 5313 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); delta 5324 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); delta 5335 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); delta 5346 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); delta 2271 drivers/net/wireless/ray_cs.c int delta; delta 2299 drivers/net/wireless/ray_cs.c delta = RX_MAC_HEADER_LENGTH - ETH_HLEN; delta 2300 drivers/net/wireless/ray_cs.c peth = (struct ethhdr *)(skb->data + delta); delta 2306 drivers/net/wireless/ray_cs.c delta = RX_MAC_HEADER_LENGTH delta 2308 drivers/net/wireless/ray_cs.c peth = (struct ethhdr *)(skb->data + delta); delta 2315 drivers/net/wireless/ray_cs.c delta = RX_MAC_HEADER_LENGTH - ETH_HLEN; delta 2316 drivers/net/wireless/ray_cs.c peth = (struct ethhdr *)(skb->data + delta); delta 2322 drivers/net/wireless/ray_cs.c delta = RX_MAC_HEADER_LENGTH + delta 2324 drivers/net/wireless/ray_cs.c peth = (struct ethhdr *)(skb->data + delta); delta 2330 drivers/net/wireless/ray_cs.c delta = RX_MAC_HEADER_LENGTH - ETH_HLEN; delta 2331 drivers/net/wireless/ray_cs.c peth = (struct ethhdr *)(skb->data + delta); delta 2336 drivers/net/wireless/ray_cs.c skb_pull(skb, delta); delta 2337 drivers/net/wireless/ray_cs.c pr_debug("untranslate after skb_pull(%d), skb->data = %p\n", delta, delta 863 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c u8 thermalvalue = 0, delta, delta_lck, delta_iqk, offset; delta 975 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c delta = (thermalvalue > rtlefuse->eeprom_thermalmeter) ? delta 981 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c delta = (thermalvalue > rtlpriv->dm.thermalvalue) ? delta 985 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c delta = (thermalvalue > rtlefuse->eeprom_thermalmeter) ? delta 999 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c rtlefuse->eeprom_thermalmeter, delta, delta_lck, delta 1010 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c if (delta > 0 && rtlpriv->dm.txpower_track_control) { delta 1011 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c delta = (thermalvalue > rtlefuse->eeprom_thermalmeter) ? delta 1020 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c delta); delta 1029 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c delta); delta 705 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c u8 thermalvalue, delta, delta_lck, delta_iqk; delta 814 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c delta = (thermalvalue > rtlpriv->dm.thermalvalue) ? delta 829 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c rtlefuse->eeprom_thermalmeter, delta, delta_lck, delta 837 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c if (delta > 0 && rtlpriv->dm.txpower_track_control) { delta 840 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c rtlpriv->dm.ofdm_index[i] -= delta; delta 841 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c rtlpriv->dm.cck_index -= delta; delta 844 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c rtlpriv->dm.ofdm_index[i] += delta; delta 845 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c rtlpriv->dm.cck_index += delta; delta 879 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c if (delta < 5) delta 884 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c } else if (delta > 5 && thermalvalue < delta 893 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c if (delta < 5) delta 902 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c && delta > 5) { delta 910 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c if (delta < 5) delta 915 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c } else if (delta > 5 && thermalvalue < delta 923 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c if (delta < 5) delta 931 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c && delta > 5) { delta 960 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c if (rtlpriv->dm.txpower_track_control && delta != 0) { delta 112 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.h void rtl92c_phy_ap_calibrate(struct ieee80211_hw *hw, s8 delta); delta 1332 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c s8 delta, bool is2t) delta 1497 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c void rtl92c_phy_ap_calibrate(struct ieee80211_hw *hw, s8 delta) delta 1506 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c _rtl92c_phy_ap_calibrate(hw, delta, true); delta 1508 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c _rtl92c_phy_ap_calibrate(hw, delta, false); delta 187 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.h void rtl92c_phy_ap_calibrate(struct ieee80211_hw *hw, s8 delta); delta 79 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/phy.h void rtl92c_phy_ap_calibrate(struct ieee80211_hw *hw, s8 delta); delta 710 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c bool *internal_pa, u8 thermalvalue, u8 delta, delta 743 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c if (delta > INDEX_MAPPING_NUM - 1) delta 748 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c index_mapping_pa[offset][delta]; delta 750 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c if (delta > INDEX_MAPPING_NUM - 1) delta 754 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c index = index_mapping[offset][delta]; delta 759 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c ((delta / 2) * 3 + (delta % 2)); delta 776 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c u8 thermalvalue, delta, delta_lck, delta_iqk, delta_rxgain; delta 913 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c delta = (thermalvalue > rtlefuse->eeprom_thermalmeter) ? delta 919 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c delta = (thermalvalue > rtlpriv->dm.thermalvalue) ? delta 923 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c delta = (thermalvalue > rtlefuse->eeprom_thermalmeter) ? delta 940 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c rtlefuse->eeprom_thermalmeter, delta, delta_lck, delta 947 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c if (delta == 0 || !rtlpriv->dm.txpower_track_control) delta 951 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c delta = (thermalvalue > rtlefuse->eeprom_thermalmeter) ? delta 956 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c if (delta > INDEX_MAPPING_NUM - 1) delta 959 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c index = index_mapping[offset][delta]; delta 962 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c ofdm_index[i] -= delta; delta 963 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c cck_index -= delta; delta 972 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c delta, rf, rtlefuse, rtlpriv, delta 2668 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c void rtl92d_phy_ap_calibrate(struct ieee80211_hw *hw, s8 delta) delta 137 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.h void rtl92d_phy_ap_calibrate(struct ieee80211_hw *hw, s8 delta); delta 2950 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c void rtl92ee_phy_ap_calibrate(struct ieee80211_hw *hw, s8 delta) delta 122 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.h void rtl92ee_phy_ap_calibrate(struct ieee80211_hw *hw, s8 delta); delta 731 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c u8 thermalvalue = 0, delta, delta_lck, delta_iqk; delta 785 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c delta = (thermalvalue > rtlpriv->dm.thermalvalue) ? delta 798 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c rtlefuse->eeprom_thermalmeter, delta, delta_lck, delta_iqk); delta 808 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c if (delta > 0 && rtlpriv->dm.txpower_track_control) { delta 809 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c delta = (thermalvalue > rtlefuse->eeprom_thermalmeter) ? delta 813 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c if (delta >= TXSCALE_TABLE_SIZE) delta 814 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c delta = TXSCALE_TABLE_SIZE - 1; delta 822 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c delta_swing_table_idx_tup_a[delta]; delta 827 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c -1 * delta_swing_table_idx_tdown_a[delta]; delta 1603 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c u8 thermal_value = 0, delta, delta_lck, delta_iqk, p = 0, i = 0; delta 1676 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta = (thermal_value > rtldm->thermalvalue) ? delta 1688 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta, delta_lck, delta_iqk); delta 1703 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c if (delta > 0 && rtldm->txpower_track_control) { delta 1707 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta = thermal_value > rtlefuse->eeprom_thermalmeter ? delta 1711 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c if (delta >= TXPWR_TRACK_TABLE_SIZE) delta 1712 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta = TXPWR_TRACK_TABLE_SIZE - 1; delta 1719 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta, delta_swing_table_idx_tup_a[delta]); delta 1723 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta_swing_table_idx_tup_a[delta]; delta 1726 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta_swing_table_idx_tup_a[delta]; delta 1735 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta, delta_swing_table_idx_tup_b[delta]); delta 1739 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta_swing_table_idx_tup_b[delta]; delta 1742 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta_swing_table_idx_tup_b[delta]; delta 1751 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta, delta_swing_table_idx_tdown_a[delta]); delta 1756 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c -1 * delta_swing_table_idx_tdown_a[delta]; delta 1759 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c -1 * delta_swing_table_idx_tdown_a[delta]; delta 1767 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta, delta_swing_table_idx_tdown_b[delta]); delta 1772 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c -1 * delta_swing_table_idx_tdown_b[delta]; delta 1775 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c -1 * delta_swing_table_idx_tdown_b[delta]; delta 1883 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta, thermal_value, delta 1890 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta, thermal_value, delta 1897 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta, thermal_value, delta 1904 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta, thermal_value, delta 2185 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c u8 thermal_value = 0, delta, delta_lck, delta_iqk, p = 0, i = 0; delta 2256 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta = (thermal_value > rtldm->thermalvalue) ? delta 2268 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta, delta_lck, delta_iqk); delta 2282 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c if (delta > 0 && rtldm->txpower_track_control) { delta 2286 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta = thermal_value > rtlefuse->eeprom_thermalmeter ? delta 2290 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c if (delta >= TXSCALE_TABLE_SIZE) delta 2291 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta = TXSCALE_TABLE_SIZE - 1; delta 2298 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta, delta_swing_table_idx_tup_a[delta]); delta 2302 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta_swing_table_idx_tup_a[delta]; delta 2305 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta_swing_table_idx_tup_a[delta]; delta 2314 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta, delta_swing_table_idx_tdown_a[delta]); delta 2319 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c -1 * delta_swing_table_idx_tdown_a[delta]; delta 2322 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c -1 * delta_swing_table_idx_tdown_a[delta]; delta 2429 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta, thermal_value, delta 2436 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c delta, thermal_value, delta 4627 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c void rtl8821ae_phy_ap_calibrate(struct ieee80211_hw *hw, s8 delta) delta 217 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.h void rtl8821ae_phy_ap_calibrate(struct ieee80211_hw *hw, s8 delta); delta 123 drivers/nfc/fdp/fdp.c u32 nd, num, delta; delta 127 drivers/nfc/fdp/fdp.c delta = 24 * fc - nd * clock_freq; delta 128 drivers/nfc/fdp/fdp.c num = (32768 * delta) / clock_freq; delta 46 drivers/pci/quirks.c ktime_t delta, rettime; delta 50 drivers/pci/quirks.c delta = ktime_sub(rettime, calltime); delta 51 drivers/pci/quirks.c duration = (unsigned long long) ktime_to_ns(delta) >> 10; delta 986 drivers/perf/arm-cci.c u64 delta, prev_raw_count, new_raw_count; delta 994 drivers/perf/arm-cci.c delta = (new_raw_count - prev_raw_count) & CCI_PMU_CNTR_MASK; delta 996 drivers/perf/arm-cci.c local64_add(delta, &event->count); delta 352 drivers/perf/arm_dsu_pmu.c u64 delta, prev_count, new_count; delta 360 drivers/perf/arm_dsu_pmu.c delta = (new_count - prev_count) & DSU_PMU_COUNTER_MASK(hwc->idx); delta 361 drivers/perf/arm_dsu_pmu.c local64_add(delta, &event->count); delta 166 drivers/perf/arm_pmu.c u64 delta, prev_raw_count, new_raw_count; delta 177 drivers/perf/arm_pmu.c delta = (new_raw_count - prev_raw_count) & max_period; delta 179 drivers/perf/arm_pmu.c local64_add(delta, &event->count); delta 180 drivers/perf/arm_pmu.c local64_sub(delta, &hwc->period_left); delta 206 drivers/perf/arm_smmuv3_pmu.c u64 delta, prev, now; delta 215 drivers/perf/arm_smmuv3_pmu.c delta = now - prev; delta 216 drivers/perf/arm_smmuv3_pmu.c delta &= smmu_pmu->counter_mask; delta 218 drivers/perf/arm_smmuv3_pmu.c local64_add(delta, &event->count); delta 410 drivers/perf/arm_spe_pmu.c unsigned long delta = roundup(head, spe_pmu->align) - head; delta 412 drivers/perf/arm_spe_pmu.c delta = min(delta, handle->size); delta 413 drivers/perf/arm_spe_pmu.c arm_spe_pmu_pad_buf(handle, delta); delta 308 drivers/perf/fsl_imx8_ddr_perf.c u64 delta, prev_raw_count, new_raw_count; delta 317 drivers/perf/fsl_imx8_ddr_perf.c delta = (new_raw_count - prev_raw_count) & 0xFFFFFFFF; delta 319 drivers/perf/fsl_imx8_ddr_perf.c local64_add(delta, &event->count); delta 227 drivers/perf/hisilicon/hisi_uncore_pmu.c u64 delta, prev_raw_count, new_raw_count; delta 238 drivers/perf/hisilicon/hisi_uncore_pmu.c delta = (new_raw_count - prev_raw_count) & delta 240 drivers/perf/hisilicon/hisi_uncore_pmu.c local64_add(delta, &event->count); delta 342 drivers/perf/qcom_l2_pmu.c u64 delta, prev, now; delta 354 drivers/perf/qcom_l2_pmu.c delta = now - prev; delta 356 drivers/perf/qcom_l2_pmu.c delta &= 0xffffffff; delta 358 drivers/perf/qcom_l2_pmu.c local64_add(delta, &event->count); delta 317 drivers/perf/thunderx2_pmu.c s64 prev, delta, new = 0; delta 331 drivers/perf/thunderx2_pmu.c delta = (u32)(((1UL << 32) - prev) + new); delta 336 drivers/perf/thunderx2_pmu.c delta = delta/4; delta 342 drivers/perf/thunderx2_pmu.c local64_add(delta * prorate_factor, &event->count); delta 995 drivers/perf/xgene_pmu.c u64 delta, prev_raw_count, new_raw_count; delta 1005 drivers/perf/xgene_pmu.c delta = (new_raw_count - prev_raw_count) & pmu_dev->max_period; delta 1007 drivers/perf/xgene_pmu.c local64_add(delta, &event->count); delta 164 drivers/pinctrl/aspeed/pinctrl-aspeed.c size_t delta = strlen(str) + 2; delta 167 drivers/pinctrl/aspeed/pinctrl-aspeed.c expanded = krealloc(found, len + delta + 1, GFP_KERNEL); delta 175 drivers/pinctrl/aspeed/pinctrl-aspeed.c len += delta; delta 431 drivers/platform/x86/asus-laptop.c int i, delta; delta 442 drivers/platform/x86/asus-laptop.c delta = abs(curr - (short)val); delta 443 drivers/platform/x86/asus-laptop.c if (delta < 128 && !(val & ~0xffff)) delta 62 drivers/pps/generators/pps_gen_parport.c long lim, delta; delta 120 drivers/pps/generators/pps_gen_parport.c delta = timespec64_to_ns(&dts); delta 126 drivers/pps/generators/pps_gen_parport.c if (delta >= hrtimer_error) delta 127 drivers/pps/generators/pps_gen_parport.c hrtimer_error = delta; delta 129 drivers/pps/generators/pps_gen_parport.c hrtimer_error = (3 * hrtimer_error + delta) >> 2; delta 126 drivers/ptp/ptp_clock.c s64 delta; delta 138 drivers/ptp/ptp_clock.c delta = ktime_to_ns(kt); delta 139 drivers/ptp/ptp_clock.c err = ops->adjtime(ops, delta); delta 97 drivers/ptp/ptp_dte.c static void dte_write_nco_delta(struct ptp_dte *ptp_dte, s64 delta) delta 104 drivers/ptp/ptp_dte.c if ((delta < 0) && (abs(delta) > ns)) { delta 106 drivers/ptp/ptp_dte.c ns += DTE_NCO_MAX_NS + delta; delta 112 drivers/ptp/ptp_dte.c ns += delta; delta 170 drivers/ptp/ptp_dte.c static int ptp_dte_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 176 drivers/ptp/ptp_dte.c dte_write_nco_delta(ptp_dte, delta); delta 147 drivers/ptp/ptp_ixp46x.c static int ptp_ixp_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 157 drivers/ptp/ptp_ixp46x.c now += delta; delta 101 drivers/ptp/ptp_kvm.c static int ptp_kvm_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 424 drivers/ptp/ptp_pch.c static int ptp_pch_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 433 drivers/ptp/ptp_pch.c now += delta; delta 225 drivers/ptp/ptp_qoriq.c int ptp_qoriq_adjtime(struct ptp_clock_info *ptp, s64 delta) delta 234 drivers/ptp/ptp_qoriq.c now += delta; delta 3648 drivers/regulator/core.c unsigned int delta, best_delta; delta 3707 drivers/regulator/core.c delta = abs(optimal_uV - current_uV); delta 3709 drivers/regulator/core.c if (delta && best_delta <= delta) { delta 3711 drivers/regulator/core.c best_delta = delta; delta 286 drivers/remoteproc/remoteproc_core.c int delta; delta 298 drivers/remoteproc/remoteproc_core.c delta = da - mem->da; delta 301 drivers/remoteproc/remoteproc_core.c if (delta < 0) { delta 307 drivers/remoteproc/remoteproc_core.c if (delta + len > mem->len) { delta 51 drivers/rtc/class.c struct timespec64 delta, delta_delta; delta 76 drivers/rtc/class.c delta = timespec64_sub(old_system, old_rtc); delta 77 drivers/rtc/class.c delta_delta = timespec64_sub(delta, old_delta); delta 83 drivers/rtc/class.c old_delta = delta; delta 5200 drivers/scsi/be2iscsi/be_main.c unsigned int pps, delta; delta 5222 drivers/scsi/be2iscsi/be_main.c delta = jiffies_to_msecs(now - aic->jiffies); delta 5223 drivers/scsi/be2iscsi/be_main.c pps = (((u32)(pbe_eq->cq_count - aic->eq_prev) * 1000) / delta); delta 1277 drivers/scsi/csiostor/csio_wr.c int i, delta, match = 0, min_delta = INT_MAX; delta 1280 drivers/scsi/csiostor/csio_wr.c delta = time - s->timer_val[i]; delta 1281 drivers/scsi/csiostor/csio_wr.c if (delta < 0) delta 1282 drivers/scsi/csiostor/csio_wr.c delta = -delta; delta 1283 drivers/scsi/csiostor/csio_wr.c if (delta < min_delta) { delta 1284 drivers/scsi/csiostor/csio_wr.c min_delta = delta; delta 1294 drivers/scsi/csiostor/csio_wr.c int i, delta, match = 0, min_delta = INT_MAX; delta 1297 drivers/scsi/csiostor/csio_wr.c delta = cnt - s->counter_val[i]; delta 1298 drivers/scsi/csiostor/csio_wr.c if (delta < 0) delta 1299 drivers/scsi/csiostor/csio_wr.c delta = -delta; delta 1300 drivers/scsi/csiostor/csio_wr.c if (delta < min_delta) { delta 1301 drivers/scsi/csiostor/csio_wr.c min_delta = delta; delta 516 drivers/scsi/cxlflash/vlun.c u64 delta = *new_size - rhte->lxt_cnt; delta 535 drivers/scsi/cxlflash/vlun.c if (av_size < delta) delta 536 drivers/scsi/cxlflash/vlun.c delta = av_size; delta 540 drivers/scsi/cxlflash/vlun.c ngrps = LXT_NUM_GROUPS(rhte->lxt_cnt + delta); delta 558 drivers/scsi/cxlflash/vlun.c my_new_size = rhte->lxt_cnt + delta; delta 636 drivers/scsi/cxlflash/vlun.c u64 delta = rhte->lxt_cnt - *new_size; delta 642 drivers/scsi/cxlflash/vlun.c ngrps = LXT_NUM_GROUPS(rhte->lxt_cnt - delta); delta 656 drivers/scsi/cxlflash/vlun.c (sizeof(*lxt) * (rhte->lxt_cnt - delta))); delta 663 drivers/scsi/cxlflash/vlun.c my_new_size = rhte->lxt_cnt - delta; delta 692 drivers/scsi/cxlflash/vlun.c for (i = delta - 1; i >= 0; i--) { delta 667 drivers/scsi/esas2r/esas2r_io.c u32 delta = currtime - a->chip_init_time; delta 669 drivers/scsi/esas2r/esas2r_io.c if (delta <= ESAS2R_CHPRST_WAIT_TIME) { delta 671 drivers/scsi/esas2r/esas2r_io.c } else if (delta >= ESAS2R_CHPRST_TIME) { delta 6263 drivers/scsi/ncr53c8xx.c u16 delta; delta 6267 drivers/scsi/ncr53c8xx.c delta=(((ctest5 << 8) | (INB (nc_dfifo) & 0xff)) - rest) & 0x3ff; delta 6269 drivers/scsi/ncr53c8xx.c delta=(INB (nc_dfifo) - rest) & 0x7f; delta 6278 drivers/scsi/ncr53c8xx.c rest += delta; delta 6290 drivers/scsi/ncr53c8xx.c (unsigned) rest, (unsigned) delta, ss0); delta 7414 drivers/scsi/qla2xxx/qla_init.c int16_t delta = delta 7418 drivers/scsi/qla2xxx/qla_init.c ql_dbg(ql_dbg_init, NULL, 0x0180, "generation delta = %d\n", delta); delta 7420 drivers/scsi/qla2xxx/qla_init.c return delta; delta 2397 drivers/scsi/sym53c8xx_2/sym_hipd.c u_int delta; delta 2409 drivers/scsi/sym53c8xx_2/sym_hipd.c delta = 0; delta 2426 drivers/scsi/sym53c8xx_2/sym_hipd.c delta = INW(np, nc_dfbc); delta 2440 drivers/scsi/sym53c8xx_2/sym_hipd.c delta = ((((dfifo >> 8) & 0x300) | delta 2443 drivers/scsi/sym53c8xx_2/sym_hipd.c delta = ((dfifo & 0xff) - rest) & 0x7f; delta 2452 drivers/scsi/sym53c8xx_2/sym_hipd.c rest += delta; delta 2476 drivers/scsi/sym53c8xx_2/sym_hipd.c (unsigned) rest, (unsigned) delta); delta 3604 drivers/scsi/ufs/ufshcd.c unsigned long delta = delta 3609 drivers/scsi/ufs/ufshcd.c if (delta < MIN_DELAY_BEFORE_DME_CMDS_US) delta 3611 drivers/scsi/ufs/ufshcd.c MIN_DELAY_BEFORE_DME_CMDS_US - delta; delta 296 drivers/staging/fwserial/fwserial.c unsigned int delta; delta 301 drivers/staging/fwserial/fwserial.c delta = (port->mstatus ^ status) & ~MCTRL_MASK; delta 302 drivers/staging/fwserial/fwserial.c delta &= ~(status & TIOCM_RNG); delta 305 drivers/staging/fwserial/fwserial.c if (delta & TIOCM_RNG) delta 307 drivers/staging/fwserial/fwserial.c if (delta & TIOCM_DSR) delta 309 drivers/staging/fwserial/fwserial.c if (delta & TIOCM_CAR) delta 311 drivers/staging/fwserial/fwserial.c if (delta & TIOCM_CTS) delta 314 drivers/staging/fwserial/fwserial.c fwtty_dbg(port, "status: %x delta: %x\n", status, delta); delta 316 drivers/staging/fwserial/fwserial.c if (delta & TIOCM_CAR) { delta 327 drivers/staging/fwserial/fwserial.c if (delta & TIOCM_CTS) { delta 345 drivers/staging/fwserial/fwserial.c } else if (delta & OOB_TX_THROTTLE) { delta 364 drivers/staging/fwserial/fwserial.c if (delta & (UART_LSR_BI << 24)) { delta 374 drivers/staging/fwserial/fwserial.c if (delta & (TIOCM_DSR | TIOCM_CAR | TIOCM_CTS | TIOCM_RNG)) delta 1191 drivers/staging/fwserial/fwserial.c int delta; delta 1195 drivers/staging/fwserial/fwserial.c delta = ((mask & TIOCM_RNG && prev->rng != now.rng) || delta 1202 drivers/staging/fwserial/fwserial.c return delta; delta 2176 drivers/staging/media/ipu3/include/intel-ipu3.h __s32 delta:5; delta 2261 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc.gen_control.delta = 0; delta 338 drivers/staging/media/meson/vdec/vdec_helpers.c s64 delta = (s64)offset - tmp->offset; delta 344 drivers/staging/media/meson/vdec/vdec_helpers.c if (delta > (-1 * (s32)SZ_4K) && delta < SZ_4K) { delta 355 drivers/staging/media/meson/vdec/vdec_helpers.c if (delta > 0 || delta < -1 * (s32)sess->vififo_size) { delta 681 drivers/staging/media/omap4iss/iss_csi2.c u16 delta; delta 701 drivers/staging/media/omap4iss/iss_csi2.c delta = frame - ctx->frame; delta 703 drivers/staging/media/omap4iss/iss_csi2.c delta--; delta 706 drivers/staging/media/omap4iss/iss_csi2.c atomic_add(delta, &pipe->frame_number); delta 358 drivers/staging/rtl8188eu/hal/phy.c u8 thermal_val = 0, delta, delta_lck, delta_iqk, offset; delta 441 drivers/staging/rtl8188eu/hal/phy.c delta = abs(thermal_val - dm_odm->RFCalibrateInfo.ThermalValue); delta 443 drivers/staging/rtl8188eu/hal/phy.c delta = abs(thermal_val - hal_data->EEPROMThermalMeter); delta 459 drivers/staging/rtl8188eu/hal/phy.c if (delta > 0 && dm_odm->RFCalibrateInfo.TxPowerTrackControl) { delta 460 drivers/staging/rtl8188eu/hal/phy.c delta = abs(hal_data->EEPROMThermalMeter - thermal_val); delta 468 drivers/staging/rtl8188eu/hal/phy.c if (delta < thermal_mapping[j][offset]) { delta 629 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c u32 delta = 0; delta 724 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c delta = Avg_TSSI_Meas_from_driver - TSSI_13dBm; delta 726 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c delta = TSSI_13dBm - Avg_TSSI_Meas_from_driver; delta 728 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c if (delta <= E_FOR_TX_POWER_TRACK) { delta 506 drivers/staging/rtl8192u/r8192U_dm.c u32 delta = 0; delta 575 drivers/staging/rtl8192u/r8192U_dm.c delta = Avg_TSSI_Meas_from_driver - TSSI_13dBm; delta 577 drivers/staging/rtl8192u/r8192U_dm.c delta = TSSI_13dBm - Avg_TSSI_Meas_from_driver; delta 579 drivers/staging/rtl8192u/r8192U_dm.c if (delta <= E_FOR_TX_POWER_TRACK) { delta 79 drivers/staging/rtl8723bs/hal/HalPhyRf.c u8 ThermalValue = 0, delta, delta_LCK, delta_IQK, p = 0, i = 0; delta 171 drivers/staging/rtl8723bs/hal/HalPhyRf.c delta = delta 190 drivers/staging/rtl8723bs/hal/HalPhyRf.c delta, delta 215 drivers/staging/rtl8723bs/hal/HalPhyRf.c if (delta > 0 && pDM_Odm->RFCalibrateInfo.TxPowerTrackControl) { delta 217 drivers/staging/rtl8723bs/hal/HalPhyRf.c delta = delta 222 drivers/staging/rtl8723bs/hal/HalPhyRf.c if (delta >= TXPWR_TRACK_TABLE_SIZE) delta 223 drivers/staging/rtl8723bs/hal/HalPhyRf.c delta = TXPWR_TRACK_TABLE_SIZE - 1; delta 233 drivers/staging/rtl8723bs/hal/HalPhyRf.c delta, delta 234 drivers/staging/rtl8723bs/hal/HalPhyRf.c deltaSwingTableIdx_TUP_A[delta] delta 240 drivers/staging/rtl8723bs/hal/HalPhyRf.c deltaSwingTableIdx_TUP_A[delta]; delta 244 drivers/staging/rtl8723bs/hal/HalPhyRf.c deltaSwingTableIdx_TUP_A[delta]; delta 263 drivers/staging/rtl8723bs/hal/HalPhyRf.c delta, delta 264 drivers/staging/rtl8723bs/hal/HalPhyRf.c deltaSwingTableIdx_TUP_B[delta] delta 270 drivers/staging/rtl8723bs/hal/HalPhyRf.c deltaSwingTableIdx_TUP_B[delta]; delta 274 drivers/staging/rtl8723bs/hal/HalPhyRf.c deltaSwingTableIdx_TUP_B[delta]; delta 293 drivers/staging/rtl8723bs/hal/HalPhyRf.c delta, delta 294 drivers/staging/rtl8723bs/hal/HalPhyRf.c deltaSwingTableIdx_TDOWN_A[delta] delta 301 drivers/staging/rtl8723bs/hal/HalPhyRf.c -1 * deltaSwingTableIdx_TDOWN_A[delta]; delta 305 drivers/staging/rtl8723bs/hal/HalPhyRf.c -1 * deltaSwingTableIdx_TDOWN_A[delta]; delta 324 drivers/staging/rtl8723bs/hal/HalPhyRf.c delta, delta 325 drivers/staging/rtl8723bs/hal/HalPhyRf.c deltaSwingTableIdx_TDOWN_B[delta] delta 332 drivers/staging/rtl8723bs/hal/HalPhyRf.c -1 * deltaSwingTableIdx_TDOWN_B[delta]; delta 336 drivers/staging/rtl8723bs/hal/HalPhyRf.c -1 * deltaSwingTableIdx_TDOWN_B[delta]; delta 501 drivers/staging/rtl8723bs/hal/HalPhyRf.c delta, delta 516 drivers/staging/rtl8723bs/hal/HalPhyRf.c delta, delta 531 drivers/staging/rtl8723bs/hal/HalPhyRf.c delta, delta 546 drivers/staging/rtl8723bs/hal/HalPhyRf.c delta, delta 303 drivers/thermal/intel/intel_powerclamp.c int delta; delta 316 drivers/thermal/intel/intel_powerclamp.c delta = set_target_ratio - current_ratio; delta 318 drivers/thermal/intel/intel_powerclamp.c if (delta >= 0 && delta <= (1+target_ratio/10)) { delta 321 drivers/thermal/intel/intel_powerclamp.c roundup(delta+d->steady_comp, 2)/2; delta 323 drivers/thermal/intel/intel_powerclamp.c d->steady_comp = delta; delta 760 drivers/thermal/thermal_sysfs.c ktime_t now = ktime_get(), delta; delta 762 drivers/thermal/thermal_sysfs.c delta = ktime_sub(now, stats->last_time); delta 764 drivers/thermal/thermal_sysfs.c ktime_add(stats->time_in_state[stats->state], delta); delta 57 drivers/thermal/ti-soc-thermal/ti-thermal-common.c int delta = t * s / 1000 + c; delta 59 drivers/thermal/ti-soc-thermal/ti-thermal-common.c if (delta < 0) delta 60 drivers/thermal/ti-soc-thermal/ti-thermal-common.c delta = 0; delta 62 drivers/thermal/ti-soc-thermal/ti-thermal-common.c return t + delta; delta 205 drivers/tty/serial/amba-pl010.c unsigned int status, delta; delta 211 drivers/tty/serial/amba-pl010.c delta = status ^ uap->old_status; delta 214 drivers/tty/serial/amba-pl010.c if (!delta) delta 217 drivers/tty/serial/amba-pl010.c if (delta & UART01x_FR_DCD) delta 220 drivers/tty/serial/amba-pl010.c if (delta & UART01x_FR_DSR) delta 223 drivers/tty/serial/amba-pl010.c if (delta & UART01x_FR_CTS) delta 1434 drivers/tty/serial/amba-pl011.c unsigned int status, delta; delta 1438 drivers/tty/serial/amba-pl011.c delta = status ^ uap->old_status; delta 1441 drivers/tty/serial/amba-pl011.c if (!delta) delta 1444 drivers/tty/serial/amba-pl011.c if (delta & UART01x_FR_DCD) delta 1447 drivers/tty/serial/amba-pl011.c if (delta & uap->vendor->fr_dsr) delta 1450 drivers/tty/serial/amba-pl011.c if (delta & uap->vendor->fr_cts) delta 426 drivers/tty/serial/sb1250-duart.c unsigned int delta; delta 428 drivers/tty/serial/sb1250-duart.c delta = read_sbdshr(sport, R_DUART_INCHREG((uport->line) % 2)); delta 429 drivers/tty/serial/sb1250-duart.c delta >>= (uport->line) % 2; delta 431 drivers/tty/serial/sb1250-duart.c if (delta & (M_DUART_IN_PIN0_VAL << S_DUART_IN_PIN_CHNG)) delta 432 drivers/tty/serial/sb1250-duart.c uart_handle_cts_change(uport, !(delta & M_DUART_IN_PIN0_VAL)); delta 434 drivers/tty/serial/sb1250-duart.c if (delta & (M_DUART_IN_PIN2_VAL << S_DUART_IN_PIN_CHNG)) delta 437 drivers/tty/serial/sb1250-duart.c if (delta & ((M_DUART_IN_PIN2_VAL | M_DUART_IN_PIN0_VAL) << delta 349 drivers/tty/serial/zs.c unsigned int mmask, mctrl, delta; delta 369 drivers/tty/serial/zs.c delta = mctrl ^ zport->mctrl; delta 370 drivers/tty/serial/zs.c if (delta) delta 373 drivers/tty/serial/zs.c return delta; delta 654 drivers/tty/serial/zs.c unsigned int delta; delta 676 drivers/tty/serial/zs.c delta = zs_raw_xor_mctrl(zport); delta 679 drivers/tty/serial/zs.c if (delta & TIOCM_CTS) delta 682 drivers/tty/serial/zs.c if (delta & TIOCM_CAR) delta 685 drivers/tty/serial/zs.c if (delta & TIOCM_RNG) delta 687 drivers/tty/serial/zs.c if (delta & TIOCM_DSR) delta 690 drivers/tty/serial/zs.c if (delta) delta 5488 drivers/tty/synclinkmp.c unsigned char delta; delta 5497 drivers/tty/synclinkmp.c delta = info->old_signals ^ info->serial_signals; delta 5500 drivers/tty/synclinkmp.c if (delta & SerialSignal_DSR) delta 5503 drivers/tty/synclinkmp.c if (delta & SerialSignal_RI) delta 5506 drivers/tty/synclinkmp.c if (delta & SerialSignal_DCD) delta 5509 drivers/tty/synclinkmp.c if (delta & SerialSignal_CTS) delta 2001 drivers/tty/vt/keyboard.c int delta; delta 2064 drivers/tty/vt/keyboard.c delta = (q ? -strlen(q) : 1) + strlen(kbs->kb_string); delta 2066 drivers/tty/vt/keyboard.c if (delta <= funcbufleft) { /* it fits in current buf */ delta 2069 drivers/tty/vt/keyboard.c memmove(fj + delta, fj, first_free - fj); delta 2072 drivers/tty/vt/keyboard.c func_table[k] += delta; delta 2076 drivers/tty/vt/keyboard.c funcbufleft -= delta; delta 2079 drivers/tty/vt/keyboard.c while (sz < funcbufsize - funcbufleft + delta) delta 2104 drivers/tty/vt/keyboard.c memmove(fnw + (fj - funcbufptr) + delta, fj, first_free - fj); delta 2107 drivers/tty/vt/keyboard.c func_table[k] = fnw + (func_table[k] - funcbufptr) + delta; delta 2112 drivers/tty/vt/keyboard.c funcbufleft = funcbufleft - delta + sz - funcbufsize; delta 4925 drivers/usb/core/hub.c int delta; delta 4939 drivers/usb/core/hub.c delta = usb_get_max_power(udev, udev->actconfig); delta 4941 drivers/usb/core/hub.c delta = unit_load; delta 4943 drivers/usb/core/hub.c delta = 8; delta 4944 drivers/usb/core/hub.c if (delta > hub->mA_per_port) delta 4946 drivers/usb/core/hub.c delta, hub->mA_per_port); delta 4947 drivers/usb/core/hub.c remaining -= delta; delta 306 drivers/usb/host/u132-hcd.c unsigned int delta) delta 308 drivers/usb/host/u132-hcd.c if (delta > 0) { delta 309 drivers/usb/host/u132-hcd.c if (queue_delayed_work(workqueue, &ring->scheduler, delta)) delta 317 drivers/usb/host/u132-hcd.c unsigned int delta) delta 320 drivers/usb/host/u132-hcd.c u132_ring_requeue_work(u132, ring, delta); delta 386 drivers/usb/host/u132-hcd.c unsigned int delta) delta 388 drivers/usb/host/u132-hcd.c if (queue_delayed_work(workqueue, &endp->scheduler, delta)) delta 403 drivers/usb/host/u132-hcd.c static void u132_monitor_queue_work(struct u132 *u132, unsigned int delta) delta 405 drivers/usb/host/u132-hcd.c if (queue_delayed_work(workqueue, &u132->monitor, delta)) delta 409 drivers/usb/host/u132-hcd.c static void u132_monitor_requeue_work(struct u132 *u132, unsigned int delta) delta 411 drivers/usb/host/u132-hcd.c if (!queue_delayed_work(workqueue, &u132->monitor, delta)) delta 1321 drivers/usb/host/u132-hcd.c unsigned long delta = endp->jiffies - jiffies; delta 1322 drivers/usb/host/u132-hcd.c if (delta > wakeup) delta 1323 drivers/usb/host/u132-hcd.c wakeup = delta; delta 1335 drivers/usb/host/u132-hcd.c unsigned long delta = last_endp->jiffies - jiffies; delta 1336 drivers/usb/host/u132-hcd.c if (delta > wakeup) delta 1337 drivers/usb/host/u132-hcd.c wakeup = delta; delta 519 drivers/usb/host/uhci-hcd.c unsigned delta; delta 521 drivers/usb/host/uhci-hcd.c delta = (uhci_readw(uhci, USBFRNUM) - uhci->frame_number) & delta 523 drivers/usb/host/uhci-hcd.c uhci->frame_number += delta; delta 799 drivers/usb/host/uhci-hcd.c unsigned delta; delta 804 drivers/usb/host/uhci-hcd.c delta = (uhci_readw(uhci, USBFRNUM) - frame_number) & delta 806 drivers/usb/host/uhci-hcd.c return frame_number + delta; delta 222 drivers/usb/misc/ftdi-elan.c static void ftdi_status_requeue_work(struct usb_ftdi *ftdi, unsigned int delta) delta 224 drivers/usb/misc/ftdi-elan.c if (!schedule_delayed_work(&ftdi->status_work, delta)) delta 228 drivers/usb/misc/ftdi-elan.c static void ftdi_status_queue_work(struct usb_ftdi *ftdi, unsigned int delta) delta 230 drivers/usb/misc/ftdi-elan.c if (schedule_delayed_work(&ftdi->status_work, delta)) delta 240 drivers/usb/misc/ftdi-elan.c static void ftdi_command_requeue_work(struct usb_ftdi *ftdi, unsigned int delta) delta 242 drivers/usb/misc/ftdi-elan.c if (!schedule_delayed_work(&ftdi->command_work, delta)) delta 246 drivers/usb/misc/ftdi-elan.c static void ftdi_command_queue_work(struct usb_ftdi *ftdi, unsigned int delta) delta 248 drivers/usb/misc/ftdi-elan.c if (schedule_delayed_work(&ftdi->command_work, delta)) delta 259 drivers/usb/misc/ftdi-elan.c unsigned int delta) delta 261 drivers/usb/misc/ftdi-elan.c if (!schedule_delayed_work(&ftdi->respond_work, delta)) delta 265 drivers/usb/misc/ftdi-elan.c static void ftdi_respond_queue_work(struct usb_ftdi *ftdi, unsigned int delta) delta 267 drivers/usb/misc/ftdi-elan.c if (schedule_delayed_work(&ftdi->respond_work, delta)) delta 817 drivers/usb/misc/sisusbvga/sisusb_con.c unsigned int delta = lines * c->vc_size_row; delta 859 drivers/usb/misc/sisusbvga/sisusb_con.c if (c->vc_scr_end + delta >= delta 862 drivers/usb/misc/sisusbvga/sisusb_con.c (u16 *)(oldorigin + delta), delta 863 drivers/usb/misc/sisusbvga/sisusb_con.c c->vc_screenbuf_size - delta); delta 868 drivers/usb/misc/sisusbvga/sisusb_con.c c->vc_origin += delta; delta 871 drivers/usb/misc/sisusbvga/sisusb_con.c (u16 *)(c->vc_origin + c->vc_screenbuf_size - delta), delta 872 drivers/usb/misc/sisusbvga/sisusb_con.c eattr, delta); delta 878 drivers/usb/misc/sisusbvga/sisusb_con.c if (oldorigin - delta < sisusb->scrbuf) { delta 880 drivers/usb/misc/sisusbvga/sisusb_con.c c->vc_screenbuf_size + delta, delta 882 drivers/usb/misc/sisusbvga/sisusb_con.c c->vc_screenbuf_size - delta); delta 889 drivers/usb/misc/sisusbvga/sisusb_con.c c->vc_origin -= delta; delta 893 drivers/usb/misc/sisusbvga/sisusb_con.c scr_memsetw((u16 *)(c->vc_origin), eattr, delta); delta 905 drivers/usb/misc/sisusbvga/sisusb_con.c (char *)c->vc_origin + c->vc_screenbuf_size - delta, delta 907 drivers/usb/misc/sisusbvga/sisusb_con.c c->vc_screenbuf_size - delta, delta 908 drivers/usb/misc/sisusbvga/sisusb_con.c delta); delta 913 drivers/usb/misc/sisusbvga/sisusb_con.c delta); delta 494 drivers/usb/mon/mon_bin.c unsigned int delta; delta 606 drivers/usb/mon/mon_bin.c delta = (ep->len_cap + PKT_ALIGN-1) & ~(PKT_ALIGN-1); delta 608 drivers/usb/mon/mon_bin.c delta -= (ep->len_cap + PKT_ALIGN-1) & ~(PKT_ALIGN-1); delta 609 drivers/usb/mon/mon_bin.c mon_buff_area_shrink(rp, delta); delta 545 drivers/usb/serial/ch341.c u8 delta; delta 553 drivers/usb/serial/ch341.c delta = status ^ priv->msr; delta 560 drivers/usb/serial/ch341.c if (!delta) delta 563 drivers/usb/serial/ch341.c if (delta & CH341_BIT_CTS) delta 565 drivers/usb/serial/ch341.c if (delta & CH341_BIT_DSR) delta 567 drivers/usb/serial/ch341.c if (delta & CH341_BIT_RI) delta 569 drivers/usb/serial/ch341.c if (delta & CH341_BIT_DCD) { delta 1103 drivers/usb/serial/cypress_m8.c u8 delta = priv->current_status ^ priv->prev_status; delta 1105 drivers/usb/serial/cypress_m8.c if (delta & UART_MSR_MASK) { delta 1106 drivers/usb/serial/cypress_m8.c if (delta & UART_CTS) delta 1108 drivers/usb/serial/cypress_m8.c if (delta & UART_DSR) delta 1110 drivers/usb/serial/cypress_m8.c if (delta & UART_RI) delta 1112 drivers/usb/serial/cypress_m8.c if (delta & UART_CD) delta 698 drivers/usb/serial/oti6858.c u8 delta = xs->pin_state ^ priv->status.pin_state; delta 700 drivers/usb/serial/oti6858.c if (delta & PIN_MSR_MASK) { delta 701 drivers/usb/serial/oti6858.c if (delta & PIN_CTS) delta 703 drivers/usb/serial/oti6858.c if (delta & PIN_DSR) delta 705 drivers/usb/serial/oti6858.c if (delta & PIN_RI) delta 707 drivers/usb/serial/oti6858.c if (delta & PIN_DCD) delta 910 drivers/usb/serial/pl2303.c u8 delta; delta 922 drivers/usb/serial/pl2303.c delta = priv->line_status ^ status; delta 929 drivers/usb/serial/pl2303.c if (delta & UART_STATE_MSR_MASK) { delta 930 drivers/usb/serial/pl2303.c if (delta & UART_CTS) delta 932 drivers/usb/serial/pl2303.c if (delta & UART_DSR) delta 934 drivers/usb/serial/pl2303.c if (delta & UART_RING) delta 936 drivers/usb/serial/pl2303.c if (delta & UART_DCD) { delta 406 drivers/video/backlight/pwm_bl.c unsigned int delta = abs(linear_value - data->levels[i]); delta 408 drivers/video/backlight/pwm_bl.c if (delta > margin) delta 1371 drivers/video/console/vgacon.c unsigned int delta; delta 1381 drivers/video/console/vgacon.c delta = lines * c->vc_size_row; delta 1384 drivers/video/console/vgacon.c if (c->vc_scr_end + delta >= vga_vram_end) { delta 1386 drivers/video/console/vgacon.c (u16 *) (oldo + delta), delta 1387 drivers/video/console/vgacon.c c->vc_screenbuf_size - delta); delta 1391 drivers/video/console/vgacon.c c->vc_origin += delta; delta 1393 drivers/video/console/vgacon.c delta), c->vc_video_erase_char, delta 1394 drivers/video/console/vgacon.c delta); delta 1396 drivers/video/console/vgacon.c if (oldo - delta < vga_vram_base) { delta 1399 drivers/video/console/vgacon.c delta), (u16 *) oldo, delta 1400 drivers/video/console/vgacon.c c->vc_screenbuf_size - delta); delta 1404 drivers/video/console/vgacon.c c->vc_origin -= delta; delta 1407 drivers/video/console/vgacon.c delta); delta 1845 drivers/video/fbdev/amifb.c register short delta; delta 1860 drivers/video/fbdev/amifb.c delta = 1 << par->crsr.fmode; delta 1861 drivers/video/fbdev/amifb.c lspr = lofsprite + (delta << 1); delta 1863 drivers/video/fbdev/amifb.c sspr = shfsprite + (delta << 1); delta 1867 drivers/video/fbdev/amifb.c bits = 0; words = delta; datawords = 0; delta 1873 drivers/video/fbdev/amifb.c : "=d" (datawords), "=a" (lspr) : "1" (lspr), "d" (delta)); delta 1875 drivers/video/fbdev/amifb.c datawords = (*(lspr + delta) << 16) | (*lspr++); delta 1898 drivers/video/fbdev/amifb.c : "=a" (lspr), "=a" (sspr) : "0" (lspr), "1" (sspr), "d" (delta)); delta 1900 drivers/video/fbdev/amifb.c lspr += delta; delta 1920 drivers/video/fbdev/amifb.c register short delta; delta 1940 drivers/video/fbdev/amifb.c delta = 1 << fmode; delta 1942 drivers/video/fbdev/amifb.c lspr = lofsprite + (delta << 1); delta 1948 drivers/video/fbdev/amifb.c sspr = shfsprite + (delta << 1); delta 1956 drivers/video/fbdev/amifb.c bits = 16; words = delta; datawords = 0; delta 1976 drivers/video/fbdev/amifb.c : "=a" (lspr) : "0" (lspr), "d" (datawords), "d" (delta)); delta 1978 drivers/video/fbdev/amifb.c *(lspr + delta) = (u_short) (datawords >> 16); delta 1989 drivers/video/fbdev/amifb.c : "=a" (lspr) : "0" (lspr), "d" (datawords), "d" (delta), "d" (bits)); delta 1991 drivers/video/fbdev/amifb.c *(lspr + delta) = (u_short) (datawords >> (16 + bits)); delta 1998 drivers/video/fbdev/amifb.c : "=a" (lspr) : "0" (lspr), "d" (delta) : "d0"); delta 2000 drivers/video/fbdev/amifb.c *(lspr + delta) = 0; delta 2006 drivers/video/fbdev/amifb.c : "=a" (lspr), "=a" (sspr) : "0" (lspr), "1" (sspr), "d" (delta)); delta 2008 drivers/video/fbdev/amifb.c lspr += delta; delta 172 drivers/video/fbdev/core/fbcon.c #define advance_row(p, delta) (unsigned short *)((unsigned long)(p) + (delta) * vc->vc_size_row) delta 1616 drivers/video/fbdev/core/fbcon.c long delta) delta 1626 drivers/video/fbdev/core/fbcon.c n = softback_curr + delta * vc->vc_size_row; delta 1627 drivers/video/fbdev/core/fbcon.c softback_lines -= delta; delta 1628 drivers/video/fbdev/core/fbcon.c if (delta < 0) { delta 441 drivers/video/fbdev/matrox/g450_pll.c unsigned int delta; delta 463 drivers/video/fbdev/matrox/g450_pll.c delta = pll_freq_delta(fout, g450_vco2f(mnp, vco)); delta 469 drivers/video/fbdev/matrox/g450_pll.c if (delta <= deltaarray[idx-1]) { delta 474 drivers/video/fbdev/matrox/g450_pll.c if (delta == deltaarray[idx-1] delta 486 drivers/video/fbdev/matrox/g450_pll.c deltaarray[idx] = delta; delta 258 drivers/video/fbdev/pm2fb.c s32 delta = 100000; delta 267 drivers/video/fbdev/pm2fb.c if (curr < delta) { delta 268 drivers/video/fbdev/pm2fb.c delta = curr; delta 286 drivers/video/fbdev/pm2fb.c s32 delta = 1000; delta 293 drivers/video/fbdev/pm2fb.c if (clk > f - delta && clk < f + delta) { delta 294 drivers/video/fbdev/pm2fb.c delta = (clk > f) ? clk - f : f - clk; delta 418 drivers/video/fbdev/tgafb.c int delta = f - (TGA_PLL_BASE_FREQ * (X)) / (r << shift); \ delta 419 drivers/video/fbdev/tgafb.c if (delta < 0) \ delta 420 drivers/video/fbdev/tgafb.c delta = -delta; \ delta 421 drivers/video/fbdev/tgafb.c if (delta < min_diff) \ delta 422 drivers/video/fbdev/tgafb.c min_diff = delta, vm = m, va = a, vr = r; \ delta 155 drivers/watchdog/at91sam9_wdt.c u32 delta; delta 179 drivers/watchdog/at91sam9_wdt.c delta = (tmp & AT91_WDT_WDD) >> 16; delta 181 drivers/watchdog/at91sam9_wdt.c if (delta < value) delta 182 drivers/watchdog/at91sam9_wdt.c min_heartbeat = ticks_to_hz_roundup(value - delta); delta 45 drivers/watchdog/atlas7_wdt.c u32 counter, match, delta; delta 49 drivers/watchdog/atlas7_wdt.c delta = match - counter; delta 51 drivers/watchdog/atlas7_wdt.c return delta / wdt->tick_rate; delta 57 drivers/watchdog/atlas7_wdt.c u32 counter, match, delta; delta 60 drivers/watchdog/atlas7_wdt.c delta = wdd->timeout * wdt->tick_rate; delta 61 drivers/watchdog/atlas7_wdt.c match = counter + delta; delta 140 fs/btrfs/delayed-ref.c u64 delta = delayed_refs_rsv->size - delta 142 fs/btrfs/delayed-ref.c if (num_bytes > delta) { delta 143 fs/btrfs/delayed-ref.c to_free = num_bytes - delta; delta 144 fs/btrfs/delayed-ref.c num_bytes = delta; delta 314 fs/ceph/quota.c loff_t delta) delta 367 fs/ceph/quota.c exceeded = (max && (rvalue + delta > max)); delta 379 fs/ceph/quota.c (((max - rvalue) >> 4) < delta); delta 275 fs/erofs/erofs_fs.h __le16 delta[2]; delta 105 fs/erofs/zmap.c u16 delta[2]; delta 168 fs/erofs/zmap.c m->delta[0] = le16_to_cpu(di->di_u.delta[0]); delta 169 fs/erofs/zmap.c m->delta[1] = le16_to_cpu(di->di_u.delta[1]); delta 225 fs/erofs/zmap.c m->delta[0] = lo; delta 237 fs/erofs/zmap.c m->delta[0] = lo + 1; delta 241 fs/erofs/zmap.c m->delta[0] = 0; delta 352 fs/erofs/zmap.c if (!m->delta[0]) { delta 359 fs/erofs/zmap.c return vle_extent_lookback(m, m->delta[0]); delta 435 fs/erofs/zmap.c m.delta[0] = 1; delta 439 fs/erofs/zmap.c err = vle_extent_lookback(&m, m.delta[0]); delta 1442 fs/f2fs/f2fs.h long delta; delta 1444 fs/f2fs/f2fs.h delta = (sbi->last_time[type] + interval) - jiffies; delta 1445 fs/f2fs/f2fs.h if (delta > 0) delta 1446 fs/f2fs/f2fs.h wait_ms = jiffies_to_msecs(delta); delta 1443 fs/f2fs/file.c pgoff_t nr, pg_start, pg_end, delta, idx; delta 1478 fs/f2fs/file.c delta = pg_end - pg_start; delta 1488 fs/f2fs/file.c if (nr > delta) delta 1489 fs/f2fs/file.c nr = delta; delta 1496 fs/f2fs/file.c idx + delta, nr, false); delta 47 fs/gfs2/lock_dlm.c s64 delta = sample - s->stats[index]; delta 48 fs/gfs2/lock_dlm.c s->stats[index] += (delta >> 3); delta 50 fs/gfs2/lock_dlm.c s->stats[index] += (s64)(abs(delta) - s->stats[index]) >> 2; delta 205 fs/jfs/jfs_extent.c s64 xaddr, xlen, nxaddr, delta, xoff; delta 254 fs/jfs/jfs_extent.c delta = nxlen - xlen; delta 275 fs/jfs/jfs_extent.c nextend = delta; delta 288 fs/jfs/jfs_extent.c dbFree(ip, xaddr + xlen, delta); delta 316 fs/jfs/jfs_extent.c delta = nextend; delta 934 fs/jfs/jfs_logmgr.c int delta; /* additional delta to write normally */ delta 990 fs/jfs/jfs_logmgr.c delta = LOGSYNC_DELTA(logsize); delta 991 fs/jfs/jfs_logmgr.c more = min(free / 2, delta); delta 1014 fs/jfs/jfs_logmgr.c log->nextsync = delta; delta 133 fs/jfs/jfs_types.h u8 delta; /* Alert Threshold delta (in percent) */ delta 97 fs/nfsd/nfsproc.c time_t delta = iap->ia_atime.tv_sec - get_seconds(); delta 103 fs/nfsd/nfsproc.c if (delta < 0) delta 104 fs/nfsd/nfsproc.c delta = -delta; delta 105 fs/nfsd/nfsproc.c if (delta < MAX_TOUCH_TIME_ERROR && delta 1557 fs/ntfs/aops.c unsigned delta; delta 1631 fs/ntfs/aops.c delta = ofs & vol->cluster_size_mask; delta 1633 fs/ntfs/aops.c block = lcn = ((lcn << cluster_size_shift) + delta) >> delta 1643 fs/ntfs/aops.c block = ((lcn << cluster_size_shift) + delta) >> delta 838 fs/ntfs/lcnalloc.c s64 delta, to_free, total_freed, real_freed; delta 883 fs/ntfs/lcnalloc.c delta = start_vcn - rl->vcn; delta 886 fs/ntfs/lcnalloc.c to_free = rl->length - delta; delta 892 fs/ntfs/lcnalloc.c err = ntfs_bitmap_set_bits_in_run(lcnbmp_vi, rl->lcn + delta, delta 988 fs/ntfs/lcnalloc.c delta = __ntfs_cluster_free(ni, start_vcn, total_freed, ctx, true); delta 989 fs/ntfs/lcnalloc.c if (delta < 0) { delta 992 fs/ntfs/lcnalloc.c "chkdsk.", (int)delta); delta 370 fs/ntfs/runlist.c signed delta; delta 388 fs/ntfs/runlist.c delta = ssize - 1 - left - right; delta 389 fs/ntfs/runlist.c if (delta > 0) { delta 390 fs/ntfs/runlist.c dst = ntfs_rl_realloc(dst, dsize, dsize + delta); delta 1144 fs/ntfs/runlist.c s64 delta, length = rl->length; delta 1159 fs/ntfs/runlist.c delta = first_vcn - rl->vcn; delta 1161 fs/ntfs/runlist.c rls += 1 + ntfs_get_nr_significant_bytes(length - delta); delta 1172 fs/ntfs/runlist.c prev_lcn += delta; delta 1346 fs/ntfs/runlist.c s64 delta, length = rl->length; delta 1361 fs/ntfs/runlist.c delta = first_vcn - rl->vcn; delta 1364 fs/ntfs/runlist.c length - delta); delta 1379 fs/ntfs/runlist.c prev_lcn += delta; delta 1634 fs/ntfs/runlist.c s64 delta; delta 1703 fs/ntfs/runlist.c delta = end - rl->vcn; delta 1705 fs/ntfs/runlist.c rl->length -= delta; delta 1708 fs/ntfs/runlist.c rl->lcn += delta; delta 1846 fs/ntfs/runlist.c delta = rl->vcn - start; delta 1849 fs/ntfs/runlist.c rl->lcn -= delta; delta 1853 fs/ntfs/runlist.c rl->length += delta; delta 1882 fs/ntfs/runlist.c delta = end - rl->vcn; delta 1884 fs/ntfs/runlist.c rl->lcn += delta; delta 1885 fs/ntfs/runlist.c rl->length -= delta; delta 1415 fs/ocfs2/refcounttree.c int delta, middle = num_used / 2; delta 1417 fs/ocfs2/refcounttree.c for (delta = 0; delta < middle; delta++) { delta 1420 fs/ocfs2/refcounttree.c &rl->rl_recs[middle - delta - 1], delta 1421 fs/ocfs2/refcounttree.c &rl->rl_recs[middle - delta])) { delta 1422 fs/ocfs2/refcounttree.c *split_index = middle - delta; delta 1427 fs/ocfs2/refcounttree.c if ((middle + delta + 1) == num_used) delta 1432 fs/ocfs2/refcounttree.c &rl->rl_recs[middle + delta], delta 1433 fs/ocfs2/refcounttree.c &rl->rl_recs[middle + delta + 1])) { delta 1434 fs/ocfs2/refcounttree.c *split_index = middle + delta + 1; delta 1439 fs/ocfs2/refcounttree.c if (delta >= middle) delta 4587 fs/ocfs2/xattr.c int delta, middle = count / 2; delta 4595 fs/ocfs2/xattr.c for (delta = 0; delta < middle; delta++) { delta 4597 fs/ocfs2/xattr.c if (cmp_xe(&entries[middle - delta - 1], delta 4598 fs/ocfs2/xattr.c &entries[middle - delta])) delta 4599 fs/ocfs2/xattr.c return middle - delta; delta 4602 fs/ocfs2/xattr.c if ((middle + delta + 1) == count) delta 4606 fs/ocfs2/xattr.c if (cmp_xe(&entries[middle + delta], delta 4607 fs/ocfs2/xattr.c &entries[middle + delta + 1])) delta 4608 fs/ocfs2/xattr.c return middle + delta + 1; delta 493 fs/ubifs/io.c unsigned long long delta = dirty_writeback_interval; delta 496 fs/ubifs/io.c delta *= 10ULL * NSEC_PER_MSEC / 10ULL; delta 499 fs/ubifs/io.c ubifs_assert(c, delta <= ULONG_MAX); delta 506 fs/ubifs/io.c div_u64(ktime_to_ns(softlimit) + delta, USEC_PER_SEC)); delta 507 fs/ubifs/io.c hrtimer_start_range_ns(&wbuf->timer, softlimit, delta, delta 1970 fs/xfs/libxfs/xfs_alloc.c xfs_extlen_t delta = 0; delta 1977 fs/xfs/libxfs/xfs_alloc.c delta = need - pag->pagf_flcount; delta 1985 fs/xfs/libxfs/xfs_alloc.c delta += reserved - (pag->pagf_freeblks - pag->pagf_longest); delta 1991 fs/xfs/libxfs/xfs_alloc.c if (pag->pagf_longest > delta) delta 1992 fs/xfs/libxfs/xfs_alloc.c return pag->pagf_longest - delta; delta 449 fs/xfs/libxfs/xfs_rtbitmap.c int delta, /* change to make to summary info */ delta 496 fs/xfs/libxfs/xfs_rtbitmap.c if (delta) { delta 499 fs/xfs/libxfs/xfs_rtbitmap.c *sp += delta; delta 519 fs/xfs/libxfs/xfs_rtbitmap.c int delta, /* change to make to summary info */ delta 524 fs/xfs/libxfs/xfs_rtbitmap.c delta, rbpp, rsb, NULL); delta 324 fs/xfs/xfs_fsops.c int64_t lcounter, delta; delta 387 fs/xfs/xfs_fsops.c delta = request - mp->m_resblks; delta 388 fs/xfs/xfs_fsops.c lcounter = free - delta; delta 393 fs/xfs/xfs_fsops.c fdblks_delta = delta; delta 1174 fs/xfs/xfs_mount.c int64_t delta) delta 1176 fs/xfs/xfs_mount.c percpu_counter_add_batch(&mp->m_icount, delta, XFS_ICOUNT_BATCH); delta 1179 fs/xfs/xfs_mount.c percpu_counter_add(&mp->m_icount, -delta); delta 1188 fs/xfs/xfs_mount.c int64_t delta) delta 1190 fs/xfs/xfs_mount.c percpu_counter_add(&mp->m_ifree, delta); delta 1193 fs/xfs/xfs_mount.c percpu_counter_add(&mp->m_ifree, -delta); delta 1210 fs/xfs/xfs_mount.c int64_t delta, delta 1217 fs/xfs/xfs_mount.c if (delta > 0) { delta 1223 fs/xfs/xfs_mount.c percpu_counter_add(&mp->m_fdblocks, delta); delta 1230 fs/xfs/xfs_mount.c if (res_used > delta) { delta 1231 fs/xfs/xfs_mount.c mp->m_resblks_avail += delta; delta 1233 fs/xfs/xfs_mount.c delta -= res_used; delta 1235 fs/xfs/xfs_mount.c percpu_counter_add(&mp->m_fdblocks, delta); delta 1255 fs/xfs/xfs_mount.c percpu_counter_add_batch(&mp->m_fdblocks, delta, batch); delta 1267 fs/xfs/xfs_mount.c percpu_counter_add(&mp->m_fdblocks, -delta); delta 1271 fs/xfs/xfs_mount.c lcounter = (long long)mp->m_resblks_avail + delta; delta 1289 fs/xfs/xfs_mount.c int64_t delta) delta 1295 fs/xfs/xfs_mount.c lcounter = mp->m_sb.sb_frextents + delta; delta 1380 fs/xfs/xfs_mount.c int64_t delta) delta 1382 fs/xfs/xfs_mount.c percpu_counter_add_batch(&mp->m_delalloc_blks, delta, delta 441 fs/xfs/xfs_mount.h extern int xfs_mod_icount(struct xfs_mount *mp, int64_t delta); delta 442 fs/xfs/xfs_mount.h extern int xfs_mod_ifree(struct xfs_mount *mp, int64_t delta); delta 443 fs/xfs/xfs_mount.h extern int xfs_mod_fdblocks(struct xfs_mount *mp, int64_t delta, delta 445 fs/xfs/xfs_mount.h extern int xfs_mod_frextents(struct xfs_mount *mp, int64_t delta); delta 463 fs/xfs/xfs_mount.h void xfs_mod_delalloc(struct xfs_mount *mp, int64_t delta); delta 117 fs/xfs/xfs_qm.h uint field, int64_t delta); delta 123 fs/xfs/xfs_quota.h #define xfs_trans_mod_dquot_byino(tp, ip, fields, delta) delta 117 fs/xfs/xfs_rtalloc.h int log, xfs_rtblock_t bbno, int delta, delta 121 fs/xfs/xfs_rtalloc.h xfs_rtblock_t bbno, int delta, xfs_buf_t **rbpp, delta 340 fs/xfs/xfs_trans.c int64_t delta) delta 347 fs/xfs/xfs_trans.c tp->t_icount_delta += delta; delta 352 fs/xfs/xfs_trans.c tp->t_ifree_delta += delta; delta 362 fs/xfs/xfs_trans.c if (delta < 0) { delta 363 fs/xfs/xfs_trans.c tp->t_blk_res_used += (uint)-delta; delta 367 fs/xfs/xfs_trans.c tp->t_fdblocks_delta += delta; delta 377 fs/xfs/xfs_trans.c tp->t_res_fdblocks_delta += delta; delta 387 fs/xfs/xfs_trans.c if (delta < 0) { delta 388 fs/xfs/xfs_trans.c tp->t_rtx_res_used += (uint)-delta; delta 391 fs/xfs/xfs_trans.c tp->t_frextents_delta += delta; delta 399 fs/xfs/xfs_trans.c ASSERT(delta < 0); delta 400 fs/xfs/xfs_trans.c tp->t_res_frextents_delta += delta; delta 403 fs/xfs/xfs_trans.c ASSERT(delta > 0); delta 404 fs/xfs/xfs_trans.c tp->t_dblocks_delta += delta; delta 407 fs/xfs/xfs_trans.c ASSERT(delta > 0); delta 408 fs/xfs/xfs_trans.c tp->t_agcount_delta += delta; delta 411 fs/xfs/xfs_trans.c tp->t_imaxpct_delta += delta; delta 414 fs/xfs/xfs_trans.c tp->t_rextsize_delta += delta; delta 417 fs/xfs/xfs_trans.c tp->t_rbmblocks_delta += delta; delta 420 fs/xfs/xfs_trans.c tp->t_rblocks_delta += delta; delta 423 fs/xfs/xfs_trans.c tp->t_rextents_delta += delta; delta 426 fs/xfs/xfs_trans.c tp->t_rextslog_delta += delta; delta 533 fs/xfs/xfs_trans.c int8_t delta) delta 537 fs/xfs/xfs_trans.c counter += delta; delta 549 fs/xfs/xfs_trans.c int32_t delta) delta 553 fs/xfs/xfs_trans.c counter += delta; delta 565 fs/xfs/xfs_trans.c int64_t delta) delta 569 fs/xfs/xfs_trans.c counter += delta; delta 130 fs/xfs/xfs_trans_dquot.c int64_t delta) delta 143 fs/xfs/xfs_trans_dquot.c (void) xfs_trans_mod_dquot(tp, ip->i_udquot, field, delta); delta 145 fs/xfs/xfs_trans_dquot.c (void) xfs_trans_mod_dquot(tp, ip->i_gdquot, field, delta); delta 147 fs/xfs/xfs_trans_dquot.c (void) xfs_trans_mod_dquot(tp, ip->i_pdquot, field, delta); delta 187 fs/xfs/xfs_trans_dquot.c int64_t delta) delta 212 fs/xfs/xfs_trans_dquot.c qtrx->qt_blk_res += delta; delta 219 fs/xfs/xfs_trans_dquot.c qtrx->qt_ino_res += delta; delta 226 fs/xfs/xfs_trans_dquot.c qtrx->qt_bcount_delta += delta; delta 230 fs/xfs/xfs_trans_dquot.c qtrx->qt_delbcnt_delta += delta; delta 237 fs/xfs/xfs_trans_dquot.c if (qtrx->qt_ino_res && delta > 0) { delta 238 fs/xfs/xfs_trans_dquot.c qtrx->qt_ino_res_used += delta; delta 241 fs/xfs/xfs_trans_dquot.c qtrx->qt_icount_delta += delta; delta 248 fs/xfs/xfs_trans_dquot.c qtrx->qt_rtblk_res += delta; delta 255 fs/xfs/xfs_trans_dquot.c if (qtrx->qt_rtblk_res && delta > 0) { delta 256 fs/xfs/xfs_trans_dquot.c qtrx->qt_rtblk_res_used += delta; delta 259 fs/xfs/xfs_trans_dquot.c qtrx->qt_rtbcount_delta += delta; delta 263 fs/xfs/xfs_trans_dquot.c qtrx->qt_delrtb_delta += delta; delta 815 include/linux/blk-cgroup.h void blkcg_add_delay(struct blkcg_gq *blkg, u64 now, u64 delta); delta 235 include/linux/freezer.h u64 delta, const enum hrtimer_mode mode) delta 239 include/linux/freezer.h __retval = schedule_hrtimeout_range(expires, delta, mode); delta 294 include/linux/freezer.h #define freezable_schedule_hrtimeout_range(expires, delta, mode) \ delta 295 include/linux/freezer.h schedule_hrtimeout_range(expires, delta, mode) delta 189 include/linux/fsl/ptp_qoriq.h int ptp_qoriq_adjtime(struct ptp_clock_info *ptp, s64 delta); delta 245 include/linux/hrtimer.h static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) delta 248 include/linux/hrtimer.h timer->node.expires = ktime_add_safe(time, delta); delta 251 include/linux/hrtimer.h static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, u64 delta) delta 254 include/linux/hrtimer.h timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta)); delta 430 include/linux/hrtimer.h u64 delta; delta 434 include/linux/hrtimer.h delta = ktime_to_ns(ktime_sub(hard, soft)); delta 435 include/linux/hrtimer.h hrtimer_start_range_ns(timer, soft, delta, mode); delta 515 include/linux/hrtimer.h extern int schedule_hrtimeout_range(ktime_t *expires, u64 delta, delta 518 include/linux/hrtimer.h u64 delta, delta 446 include/linux/jiffies.h static inline clock_t jiffies_delta_to_clock_t(long delta) delta 448 include/linux/jiffies.h return jiffies_to_clock_t(max(0L, delta)); delta 451 include/linux/jiffies.h static inline unsigned int jiffies_delta_to_msecs(long delta) delta 453 include/linux/jiffies.h return jiffies_to_msecs(max(0L, delta)); delta 2811 include/linux/netdevice.h __wsum delta; delta 2817 include/linux/netdevice.h grc->delta = 0; delta 2826 include/linux/netdevice.h __wsum delta; delta 2843 include/linux/netdevice.h delta = remcsum_adjust(ptr + hdrlen, NAPI_GRO_CB(skb)->csum, delta 2847 include/linux/netdevice.h NAPI_GRO_CB(skb)->csum = csum_add(NAPI_GRO_CB(skb)->csum, delta); delta 2850 include/linux/netdevice.h grc->delta = delta; delta 2861 include/linux/netdevice.h if (!grc->delta) delta 2871 include/linux/netdevice.h remcsum_unadjust((__sum16 *)ptr, grc->delta); delta 512 include/linux/netfilter/x_tables.h int xt_compat_add_offset(u_int8_t af, unsigned int offset, int delta); delta 112 include/linux/pps_kernel.h static inline void pps_sub_ts(struct pps_event_time *ts, struct timespec64 delta) delta 114 include/linux/pps_kernel.h ts->ts_real = timespec64_sub(ts->ts_real, delta); delta 116 include/linux/pps_kernel.h ts->ts_raw = timespec64_sub(ts->ts_raw, delta); delta 130 include/linux/ptp_clock_kernel.h int (*adjfreq)(struct ptp_clock_info *ptp, s32 delta); delta 131 include/linux/ptp_clock_kernel.h int (*adjtime)(struct ptp_clock_info *ptp, s64 delta); delta 345 include/linux/skbuff.h static inline void skb_frag_size_add(skb_frag_t *frag, int delta) delta 347 include/linux/skbuff.h frag->bv_len += delta; delta 355 include/linux/skbuff.h static inline void skb_frag_size_sub(skb_frag_t *frag, int delta) delta 357 include/linux/skbuff.h frag->bv_len -= delta; delta 2268 include/linux/skbuff.h void *__pskb_pull_tail(struct sk_buff *skb, int delta); delta 2908 include/linux/skbuff.h static inline void skb_frag_off_add(skb_frag_t *frag, int delta) delta 2910 include/linux/skbuff.h frag->bv_offset += delta; delta 3116 include/linux/skbuff.h int delta = 0; delta 3119 include/linux/skbuff.h delta = headroom - skb_headroom(skb); delta 3121 include/linux/skbuff.h if (delta || cloned) delta 3122 include/linux/skbuff.h return pskb_expand_head(skb, ALIGN(delta, NET_SKB_PAD), 0, delta 4040 include/linux/skbuff.h __wsum delta; delta 4052 include/linux/skbuff.h delta = remcsum_adjust(ptr, skb->csum, start, offset); delta 4055 include/linux/skbuff.h skb->csum = csum_add(skb->csum, delta); delta 84 include/linux/timecounter.h static inline void timecounter_adjtime(struct timecounter *tc, s64 delta) delta 86 include/linux/timecounter.h tc->nsec += delta; delta 223 include/linux/timekeeping.h extern void timekeeping_inject_sleeptime64(const struct timespec64 *delta); delta 65 include/linux/vmstat.h static inline void __count_vm_events(enum vm_event_item item, long delta) delta 67 include/linux/vmstat.h raw_cpu_add(vm_event_states.event[item], delta); delta 70 include/linux/vmstat.h static inline void count_vm_events(enum vm_event_item item, long delta) delta 72 include/linux/vmstat.h this_cpu_add(vm_event_states.event[item], delta); delta 85 include/linux/vmstat.h static inline void count_vm_events(enum vm_event_item item, long delta) delta 91 include/linux/vmstat.h static inline void __count_vm_events(enum vm_event_item item, long delta) delta 125 include/linux/vmstat.h #define __count_zid_vm_events(item, zid, delta) \ delta 126 include/linux/vmstat.h __count_vm_events(item##_NORMAL - ZONE_NORMAL + zid, delta) delta 287 include/linux/vmstat.h enum zone_stat_item item, long delta) delta 289 include/linux/vmstat.h zone_page_state_add(delta, zone, item); delta 293 include/linux/vmstat.h enum node_stat_item item, int delta) delta 295 include/linux/vmstat.h node_page_state_add(delta, pgdat, item); delta 2016 include/net/cfg80211.h s8 delta; delta 163 include/net/checksum.h __wsum delta; delta 169 include/net/checksum.h delta = csum_sub((__force __wsum)csum_fold(csum), delta 173 include/net/checksum.h return delta; delta 176 include/net/checksum.h static inline void remcsum_unadjust(__sum16 *psum, __wsum delta) delta 178 include/net/checksum.h *psum = csum_fold(csum_sub(delta, (__force __wsum)*psum)); delta 211 include/net/codel_impl.h u32 delta; delta 230 include/net/codel_impl.h delta = vars->count - vars->lastcount; delta 231 include/net/codel_impl.h if (delta > 1 && delta 234 include/net/codel_impl.h vars->count = delta; delta 349 include/net/ip_vs.h __u32 delta; /* Delta in sequence numbers */ delta 186 include/net/red.h int delta = qth_max - qth_min; delta 193 include/net/red.h if (delta <= 0) delta 194 include/net/red.h delta = 1; delta 195 include/net/red.h p->qth_delta = delta; delta 198 include/net/red.h max_P *= delta; /* max_P = (qth_max - qth_min)/2^Plog */ delta 201 include/net/red.h max_p_delta = max_P / delta; delta 209 include/net/red.h delta /= 5; delta 210 include/net/red.h p->target_min = qth_min + 2*delta; delta 211 include/net/red.h p->target_max = qth_min + 3*delta; delta 245 include/net/red.h s64 delta = ktime_us_delta(ktime_get(), v->qidlestart); delta 246 include/net/red.h long us_idle = min_t(s64, delta, p->Scell_max); delta 1360 include/net/tcp.h void tcp_cwnd_restart(struct sock *sk, s32 delta); delta 1366 include/net/tcp.h s32 delta; delta 1371 include/net/tcp.h delta = tcp_jiffies32 - tp->lsndtime; delta 1372 include/net/tcp.h if (delta > inet_csk(sk)->icsk_rto) delta 1373 include/net/tcp.h tcp_cwnd_restart(sk, delta); delta 188 include/trace/events/vmscan.h unsigned long long delta, unsigned long total_scan, delta 191 include/trace/events/vmscan.h TP_ARGS(shr, sc, nr_objects_to_shrink, cache_items, delta, total_scan, delta 201 include/trace/events/vmscan.h __field(unsigned long long, delta) delta 213 include/trace/events/vmscan.h __entry->delta = delta; delta 225 include/trace/events/vmscan.h __entry->delta, delta 820 include/uapi/drm/i915_drm.h __u32 delta; delta 5862 include/uapi/linux/nl80211.h __s8 delta; delta 989 include/uapi/linux/pkt_sched.h __s32 delta; delta 890 init/main.c ktime_t delta, rettime; delta 894 init/main.c delta = ktime_sub(rettime, *calltime); delta 895 init/main.c duration = (unsigned long long) ktime_to_ns(delta) >> 10; delta 114 kernel/async.c ktime_t uninitialized_var(calltime), delta, rettime; delta 126 kernel/async.c delta = ktime_sub(rettime, calltime); delta 130 kernel/async.c (long long)ktime_to_ns(delta) >> 10); delta 290 kernel/async.c ktime_t uninitialized_var(starttime), delta, endtime; delta 301 kernel/async.c delta = ktime_sub(endtime, starttime); delta 305 kernel/async.c (long long)ktime_to_ns(delta) >> 10); delta 221 kernel/bpf/core.c u32 pages, delta; delta 231 kernel/bpf/core.c delta = pages - fp_old->pages; delta 232 kernel/bpf/core.c ret = __bpf_prog_charge(fp_old->aux->user, delta); delta 238 kernel/bpf/core.c __bpf_prog_uncharge(fp_old->aux->user, delta); delta 340 kernel/bpf/core.c s32 delta = end_new - end_old; delta 344 kernel/bpf/core.c imm += delta; delta 346 kernel/bpf/core.c imm -= delta; delta 358 kernel/bpf/core.c s32 delta = end_new - end_old; delta 362 kernel/bpf/core.c off += delta; delta 364 kernel/bpf/core.c off -= delta; delta 412 kernel/bpf/core.c static void bpf_adj_linfo(struct bpf_prog *prog, u32 off, u32 delta) delta 418 kernel/bpf/core.c if (!nr_linfo || !delta) delta 429 kernel/bpf/core.c linfo[i].insn_off += delta; delta 23 kernel/bpf/tnum.c u64 chi = min ^ max, delta; delta 33 kernel/bpf/tnum.c delta = (1ULL << bits) - 1; delta 34 kernel/bpf/tnum.c return TNUM(min & ~delta, delta); delta 8492 kernel/bpf/verifier.c int i, patch_len, delta = 0, len = env->prog->len; delta 8503 kernel/bpf/verifier.c int adj_idx = i + delta; delta 8559 kernel/bpf/verifier.c delta += patch_len - 1; delta 8573 kernel/bpf/verifier.c int i, cnt, size, ctx_field_size, delta = 0; delta 8597 kernel/bpf/verifier.c delta += cnt - 1; delta 8604 kernel/bpf/verifier.c insn = env->prog->insnsi + delta; delta 8623 kernel/bpf/verifier.c env->insn_aux_data[i + delta].sanitize_stack_off) { delta 8631 kernel/bpf/verifier.c env->insn_aux_data[i + delta].sanitize_stack_off, delta 8640 kernel/bpf/verifier.c new_prog = bpf_patch_insn_data(env, i + delta, patch, cnt); delta 8644 kernel/bpf/verifier.c delta += cnt - 1; delta 8646 kernel/bpf/verifier.c insn = new_prog->insnsi + i + delta; delta 8650 kernel/bpf/verifier.c switch (env->insn_aux_data[i + delta].ptr_type) { delta 8670 kernel/bpf/verifier.c ctx_field_size = env->insn_aux_data[i + delta].ctx_field_size; delta 8728 kernel/bpf/verifier.c new_prog = bpf_patch_insn_data(env, i + delta, insn_buf, cnt); delta 8732 kernel/bpf/verifier.c delta += cnt - 1; delta 8736 kernel/bpf/verifier.c insn = new_prog->insnsi + i + delta; delta 8964 kernel/bpf/verifier.c int i, cnt, delta = 0; delta 8997 kernel/bpf/verifier.c new_prog = bpf_patch_insn_data(env, i + delta, patchlet, cnt); delta 9001 kernel/bpf/verifier.c delta += cnt - 1; delta 9003 kernel/bpf/verifier.c insn = new_prog->insnsi + i + delta; delta 9016 kernel/bpf/verifier.c new_prog = bpf_patch_insn_data(env, i + delta, insn_buf, cnt); delta 9020 kernel/bpf/verifier.c delta += cnt - 1; delta 9022 kernel/bpf/verifier.c insn = new_prog->insnsi + i + delta; delta 9035 kernel/bpf/verifier.c aux = &env->insn_aux_data[i + delta]; delta 9068 kernel/bpf/verifier.c new_prog = bpf_patch_insn_data(env, i + delta, insn_buf, cnt); delta 9072 kernel/bpf/verifier.c delta += cnt - 1; delta 9074 kernel/bpf/verifier.c insn = new_prog->insnsi + i + delta; delta 9107 kernel/bpf/verifier.c aux = &env->insn_aux_data[i + delta]; delta 9131 kernel/bpf/verifier.c new_prog = bpf_patch_insn_data(env, i + delta, insn_buf, cnt); delta 9135 kernel/bpf/verifier.c delta += cnt - 1; delta 9137 kernel/bpf/verifier.c insn = new_prog->insnsi + i + delta; delta 9152 kernel/bpf/verifier.c aux = &env->insn_aux_data[i + delta]; delta 9166 kernel/bpf/verifier.c new_prog = bpf_patch_insn_data(env, i + delta, delta 9171 kernel/bpf/verifier.c delta += cnt - 1; delta 9173 kernel/bpf/verifier.c insn = new_prog->insnsi + i + delta; delta 311 kernel/cgroup/rstat.c struct cgroup_base_stat delta; delta 321 kernel/cgroup/rstat.c delta.cputime.utime = cputime.utime - last_cputime->utime; delta 322 kernel/cgroup/rstat.c delta.cputime.stime = cputime.stime - last_cputime->stime; delta 323 kernel/cgroup/rstat.c delta.cputime.sum_exec_runtime = cputime.sum_exec_runtime - delta 328 kernel/cgroup/rstat.c cgroup_base_stat_accumulate(&delta, &cgrp->pending_bstat); delta 332 kernel/cgroup/rstat.c cgroup_base_stat_accumulate(&cgrp->bstat, &delta); delta 334 kernel/cgroup/rstat.c cgroup_base_stat_accumulate(&parent->pending_bstat, &delta); delta 628 kernel/events/core.c u64 delta = now - event->tstamp; delta 632 kernel/events/core.c *enabled += delta; delta 636 kernel/events/core.c *running += delta; delta 3674 kernel/events/core.c s64 delta; delta 3678 kernel/events/core.c delta = (s64)(period - hwc->sample_period); delta 3679 kernel/events/core.c delta = (delta + 7) / 8; /* low pass filter */ delta 3681 kernel/events/core.c sample_period = hwc->sample_period + delta; delta 3710 kernel/events/core.c s64 delta; delta 3749 kernel/events/core.c delta = now - hwc->freq_count_stamp; delta 3759 kernel/events/core.c if (delta > 0) delta 3760 kernel/events/core.c perf_adjust_period(event, period, delta, false); delta 3762 kernel/events/core.c event->pmu->start(event, delta > 0 ? PERF_EF_RELOAD : 0); delta 8162 kernel/events/core.c s64 delta = now - hwc->freq_time_stamp; delta 8166 kernel/events/core.c if (delta > 0 && delta < 2*TICK_NSEC) delta 8167 kernel/events/core.c perf_adjust_period(event, delta, hwc->last_period, true); delta 9749 kernel/events/core.c s64 delta; delta 9752 kernel/events/core.c delta = now - prev; delta 9753 kernel/events/core.c local64_add(delta, &event->count); delta 9785 kernel/events/core.c u64 delta = now - event->ctx->timestamp; delta 9786 kernel/events/core.c u64 time = event->ctx->time + delta; delta 65 kernel/jump_label.c long delta = (unsigned long)a - (unsigned long)b; delta 70 kernel/jump_label.c jea->code = jeb->code - delta; delta 71 kernel/jump_label.c jea->target = jeb->target - delta; delta 72 kernel/jump_label.c jea->key = jeb->key - delta; delta 74 kernel/jump_label.c jeb->code = tmp.code + delta; delta 75 kernel/jump_label.c jeb->target = tmp.target + delta; delta 76 kernel/jump_label.c jeb->key = tmp.key + delta; delta 779 kernel/locking/rwsem.c u64 delta; delta 783 kernel/locking/rwsem.c delta = (20 + readers) * NSEC_PER_USEC / 2; delta 785 kernel/locking/rwsem.c return sched_clock() + delta; delta 295 kernel/rcu/tree_stall.h unsigned long delta; delta 315 kernel/rcu/tree_stall.h delta = rcu_seq_ctr(rdp->mynode->gp_seq - rdp->rcu_iw_gp_seq); delta 322 kernel/rcu/tree_stall.h rdp->rcu_iw_pending ? (int)min(delta, 9UL) + '0' : delta 323 kernel/rcu/tree_stall.h "!."[!delta], delta 268 kernel/sched/clock.c s64 delta; delta 272 kernel/sched/clock.c delta = now - scd->tick_raw; delta 273 kernel/sched/clock.c if (unlikely(delta < 0)) delta 274 kernel/sched/clock.c delta = 0; delta 285 kernel/sched/clock.c clock = gtod + delta; delta 145 kernel/sched/core.c static void update_rq_clock_task(struct rq *rq, s64 delta) delta 171 kernel/sched/core.c if (irq_delta > delta) delta 172 kernel/sched/core.c irq_delta = delta; delta 175 kernel/sched/core.c delta -= irq_delta; delta 182 kernel/sched/core.c if (unlikely(steal > delta)) delta 183 kernel/sched/core.c steal = delta; delta 186 kernel/sched/core.c delta -= steal; delta 190 kernel/sched/core.c rq->clock_task += delta; delta 196 kernel/sched/core.c update_rq_clock_pelt(rq, delta); delta 201 kernel/sched/core.c s64 delta; delta 214 kernel/sched/core.c delta = sched_clock_cpu(cpu_of(rq)) - rq->clock; delta 215 kernel/sched/core.c if (delta < 0) delta 217 kernel/sched/core.c rq->clock += delta; delta 218 kernel/sched/core.c update_rq_clock_task(rq, delta); delta 284 kernel/sched/core.c s64 delta; delta 290 kernel/sched/core.c delta = max_t(s64, delay, 10000LL); delta 291 kernel/sched/core.c time = ktime_add_ns(timer->base->get_time(), delta); delta 2231 kernel/sched/core.c u64 delta = rq_clock(rq) - rq->idle_stamp; delta 2234 kernel/sched/core.c update_avg(&rq->avg_idle, delta); delta 3656 kernel/sched/core.c u64 delta; delta 3681 kernel/sched/core.c delta = rq_clock_task(rq) - curr->se.exec_start; delta 3682 kernel/sched/core.c WARN_ON_ONCE(delta > (u64)NSEC_PER_SEC * 3); delta 4496 kernel/sched/core.c int old_prio, delta; delta 4530 kernel/sched/core.c delta = p->prio - old_prio; delta 4538 kernel/sched/core.c if (delta < 0 || (delta > 0 && task_running(rq, p))) delta 6200 kernel/sched/core.c long delta = calc_load_fold_active(rq, 1); delta 6201 kernel/sched/core.c if (delta) delta 6202 kernel/sched/core.c atomic_long_add(delta, &calc_load_tasks); delta 7771 kernel/sched/core.c int prio, delta; delta 7775 kernel/sched/core.c delta = abs(sched_prio_to_weight[prio] - weight); delta 7776 kernel/sched/core.c if (delta >= last_delta) delta 7778 kernel/sched/core.c last_delta = delta; delta 34 kernel/sched/cputime.c static void irqtime_account_delta(struct irqtime *irqtime, u64 delta, delta 40 kernel/sched/cputime.c cpustat[idx] += delta; delta 41 kernel/sched/cputime.c irqtime->total += delta; delta 42 kernel/sched/cputime.c irqtime->tick_delta += delta; delta 53 kernel/sched/cputime.c s64 delta; delta 60 kernel/sched/cputime.c delta = sched_clock_cpu(cpu) - irqtime->irq_start_time; delta 61 kernel/sched/cputime.c irqtime->irq_start_time += delta; delta 70 kernel/sched/cputime.c irqtime_account_delta(irqtime, delta, CPUTIME_IRQ); delta 72 kernel/sched/cputime.c irqtime_account_delta(irqtime, delta, CPUTIME_SOFTIRQ); delta 79 kernel/sched/cputime.c u64 delta; delta 81 kernel/sched/cputime.c delta = min(irqtime->tick_delta, maxtime); delta 82 kernel/sched/cputime.c irqtime->tick_delta -= delta; delta 84 kernel/sched/cputime.c return delta; delta 697 kernel/sched/cputime.c u64 delta = vtime_delta(vtime); delta 707 kernel/sched/cputime.c other = account_other_time(delta); delta 709 kernel/sched/cputime.c vtime->starttime += delta; delta 711 kernel/sched/cputime.c return delta - other; delta 866 kernel/sched/cputime.c u64 delta; delta 884 kernel/sched/cputime.c delta = vtime_delta(vtime); delta 891 kernel/sched/cputime.c *utime += vtime->utime + delta; delta 893 kernel/sched/cputime.c *stime += vtime->stime + delta; delta 926 kernel/sched/deadline.c s64 delta; delta 937 kernel/sched/deadline.c delta = ktime_to_ns(now) - rq_clock(rq); delta 938 kernel/sched/deadline.c act = ktime_add_ns(act, delta); delta 1153 kernel/sched/deadline.c static u64 grub_reclaim(u64 delta, struct rq *rq, struct sched_dl_entity *dl_se) delta 1172 kernel/sched/deadline.c return (delta * u_act) >> BW_SHIFT; delta 508 kernel/sched/fair.c s64 delta = (s64)(vruntime - max_vruntime); delta 509 kernel/sched/fair.c if (delta > 0) delta 517 kernel/sched/fair.c s64 delta = (s64)(vruntime - min_vruntime); delta 518 kernel/sched/fair.c if (delta < 0) delta 662 kernel/sched/fair.c static inline u64 calc_delta_fair(u64 delta, struct sched_entity *se) delta 665 kernel/sched/fair.c delta = __calc_delta(delta, NICE_0_LOAD, &se->load); delta 667 kernel/sched/fair.c return delta; delta 895 kernel/sched/fair.c u64 delta; delta 900 kernel/sched/fair.c delta = rq_clock(rq_of(cfs_rq)) - schedstat_val(se->statistics.wait_start); delta 910 kernel/sched/fair.c __schedstat_set(se->statistics.wait_start, delta); delta 913 kernel/sched/fair.c trace_sched_stat_wait(p, delta); delta 917 kernel/sched/fair.c max(schedstat_val(se->statistics.wait_max), delta)); delta 919 kernel/sched/fair.c __schedstat_add(se->statistics.wait_sum, delta); delta 939 kernel/sched/fair.c u64 delta = rq_clock(rq_of(cfs_rq)) - sleep_start; delta 941 kernel/sched/fair.c if ((s64)delta < 0) delta 942 kernel/sched/fair.c delta = 0; delta 944 kernel/sched/fair.c if (unlikely(delta > schedstat_val(se->statistics.sleep_max))) delta 945 kernel/sched/fair.c __schedstat_set(se->statistics.sleep_max, delta); delta 948 kernel/sched/fair.c __schedstat_add(se->statistics.sum_sleep_runtime, delta); delta 951 kernel/sched/fair.c account_scheduler_latency(tsk, delta >> 10, 1); delta 952 kernel/sched/fair.c trace_sched_stat_sleep(tsk, delta); delta 956 kernel/sched/fair.c u64 delta = rq_clock(rq_of(cfs_rq)) - block_start; delta 958 kernel/sched/fair.c if ((s64)delta < 0) delta 959 kernel/sched/fair.c delta = 0; delta 961 kernel/sched/fair.c if (unlikely(delta > schedstat_val(se->statistics.block_max))) delta 962 kernel/sched/fair.c __schedstat_set(se->statistics.block_max, delta); delta 965 kernel/sched/fair.c __schedstat_add(se->statistics.sum_sleep_runtime, delta); delta 969 kernel/sched/fair.c __schedstat_add(se->statistics.iowait_sum, delta); delta 971 kernel/sched/fair.c trace_sched_stat_iowait(tsk, delta); delta 974 kernel/sched/fair.c trace_sched_stat_blocked(tsk, delta); delta 984 kernel/sched/fair.c delta >> 20); delta 986 kernel/sched/fair.c account_scheduler_latency(tsk, delta >> 10, 0); delta 2012 kernel/sched/fair.c u64 runtime, delta, now; delta 2018 kernel/sched/fair.c delta = runtime - p->last_sum_exec_runtime; delta 2025 kernel/sched/fair.c delta = p->se.avg.load_sum; delta 2032 kernel/sched/fair.c return delta; delta 3151 kernel/sched/fair.c long delta = cfs_rq->avg.load_avg - cfs_rq->tg_load_avg_contrib; delta 3159 kernel/sched/fair.c if (force || abs(delta) > cfs_rq->tg_load_avg_contrib / 64) { delta 3160 kernel/sched/fair.c atomic_long_add(delta, &cfs_rq->tg->load_avg); delta 3286 kernel/sched/fair.c long delta = gcfs_rq->avg.util_avg - se->avg.util_avg; delta 3289 kernel/sched/fair.c if (!delta) delta 3305 kernel/sched/fair.c add_positive(&cfs_rq->avg.util_avg, delta); delta 4128 kernel/sched/fair.c s64 delta; delta 4151 kernel/sched/fair.c delta = curr->vruntime - se->vruntime; delta 4153 kernel/sched/fair.c if (delta < 0) delta 4156 kernel/sched/fair.c if (delta > ideal_runtime) delta 5145 kernel/sched/fair.c s64 delta = slice - ran; delta 5147 kernel/sched/fair.c if (delta < 0) { delta 5152 kernel/sched/fair.c hrtick_start(rq, delta); delta 5964 kernel/sched/fair.c s64 delta; delta 6005 kernel/sched/fair.c delta = (s64)(time - cost) / 8; delta 6006 kernel/sched/fair.c this_sd->avg_scan_cost += delta; delta 7154 kernel/sched/fair.c s64 delta; delta 7177 kernel/sched/fair.c delta = rq_clock_task(env->src_rq) - p->se.exec_start; delta 7179 kernel/sched/fair.c return delta < (s64)sysctl_sched_migration_cost; delta 81 kernel/sched/loadavg.c long nr_active, delta = 0; delta 87 kernel/sched/loadavg.c delta = nr_active - this_rq->calc_load_active; delta 91 kernel/sched/loadavg.c return delta; delta 236 kernel/sched/loadavg.c long delta; delta 238 kernel/sched/loadavg.c delta = calc_load_fold_active(rq, 0); delta 239 kernel/sched/loadavg.c if (delta) { delta 242 kernel/sched/loadavg.c atomic_long_add(delta, &calc_load_nohz[idx]); delta 287 kernel/sched/loadavg.c long delta = 0; delta 290 kernel/sched/loadavg.c delta = atomic_long_xchg(&calc_load_nohz[idx], 0); delta 292 kernel/sched/loadavg.c return delta; delta 307 kernel/sched/loadavg.c long delta, active, n; delta 314 kernel/sched/loadavg.c delta = jiffies - sample_window - 10; delta 315 kernel/sched/loadavg.c n = 1 + (delta / LOAD_FREQ); delta 353 kernel/sched/loadavg.c long active, delta; delta 362 kernel/sched/loadavg.c delta = calc_load_nohz_read(); delta 363 kernel/sched/loadavg.c if (delta) delta 364 kernel/sched/loadavg.c atomic_long_add(delta, &calc_load_tasks); delta 388 kernel/sched/loadavg.c long delta; delta 393 kernel/sched/loadavg.c delta = calc_load_fold_active(this_rq, 0); delta 394 kernel/sched/loadavg.c if (delta) delta 395 kernel/sched/loadavg.c atomic_long_add(delta, &calc_load_tasks); delta 110 kernel/sched/pelt.c accumulate_sum(u64 delta, struct sched_avg *sa, delta 113 kernel/sched/pelt.c u32 contrib = (u32)delta; /* p == 0 -> delta < 1024 */ delta 116 kernel/sched/pelt.c delta += sa->period_contrib; delta 117 kernel/sched/pelt.c periods = delta / 1024; /* A period is 1024us (~1ms) */ delta 131 kernel/sched/pelt.c delta %= 1024; delta 133 kernel/sched/pelt.c 1024 - sa->period_contrib, delta); delta 135 kernel/sched/pelt.c sa->period_contrib = delta; delta 179 kernel/sched/pelt.c u64 delta; delta 181 kernel/sched/pelt.c delta = now - sa->last_update_time; delta 186 kernel/sched/pelt.c if ((s64)delta < 0) { delta 195 kernel/sched/pelt.c delta >>= 10; delta 196 kernel/sched/pelt.c if (!delta) delta 199 kernel/sched/pelt.c sa->last_update_time += delta << 10; delta 220 kernel/sched/pelt.c if (!accumulate_sum(delta, sa, load, runnable, running)) delta 58 kernel/sched/pelt.h static inline void update_rq_clock_pelt(struct rq *rq, s64 delta) delta 82 kernel/sched/pelt.h delta = cap_scale(delta, arch_scale_cpu_capacity(cpu_of(rq))); delta 83 kernel/sched/pelt.h delta = cap_scale(delta, arch_scale_freq_capacity(cpu_of(rq))); delta 85 kernel/sched/pelt.h rq->clock_pelt += delta; delta 173 kernel/sched/pelt.h update_rq_clock_pelt(struct rq *rq, s64 delta) { } delta 260 kernel/sched/psi.c u32 delta; delta 273 kernel/sched/psi.c delta = times[s] - groupc->times_prev[aggregator][s]; delta 276 kernel/sched/psi.c times[s] = delta; delta 277 kernel/sched/psi.c if (delta) delta 629 kernel/sched/psi.c u32 delta; delta 633 kernel/sched/psi.c delta = now - groupc->state_start; delta 637 kernel/sched/psi.c groupc->times[PSI_IO_SOME] += delta; delta 639 kernel/sched/psi.c groupc->times[PSI_IO_FULL] += delta; delta 643 kernel/sched/psi.c groupc->times[PSI_MEM_SOME] += delta; delta 645 kernel/sched/psi.c groupc->times[PSI_MEM_FULL] += delta; delta 660 kernel/sched/psi.c sample = min(delta, (u32)jiffies_to_nsecs(1)); delta 666 kernel/sched/psi.c groupc->times[PSI_CPU_SOME] += delta; delta 669 kernel/sched/psi.c groupc->times[PSI_NONIDLE] += delta; delta 9 kernel/sched/stats.h rq_sched_info_arrive(struct rq *rq, unsigned long long delta) delta 12 kernel/sched/stats.h rq->rq_sched_info.run_delay += delta; delta 21 kernel/sched/stats.h rq_sched_info_depart(struct rq *rq, unsigned long long delta) delta 24 kernel/sched/stats.h rq->rq_cpu_time += delta; delta 28 kernel/sched/stats.h rq_sched_info_dequeued(struct rq *rq, unsigned long long delta) delta 31 kernel/sched/stats.h rq->rq_sched_info.run_delay += delta; delta 44 kernel/sched/stats.h static inline void rq_sched_info_arrive (struct rq *rq, unsigned long long delta) { } delta 45 kernel/sched/stats.h static inline void rq_sched_info_dequeued(struct rq *rq, unsigned long long delta) { } delta 46 kernel/sched/stats.h static inline void rq_sched_info_depart (struct rq *rq, unsigned long long delta) { } delta 158 kernel/sched/stats.h unsigned long long now = rq_clock(rq), delta = 0; delta 162 kernel/sched/stats.h delta = now - t->sched_info.last_queued; delta 165 kernel/sched/stats.h t->sched_info.run_delay += delta; delta 167 kernel/sched/stats.h rq_sched_info_dequeued(rq, delta); delta 177 kernel/sched/stats.h unsigned long long now = rq_clock(rq), delta = 0; delta 180 kernel/sched/stats.h delta = now - t->sched_info.last_queued; delta 182 kernel/sched/stats.h t->sched_info.run_delay += delta; delta 186 kernel/sched/stats.h rq_sched_info_arrive(rq, delta); delta 212 kernel/sched/stats.h unsigned long long delta = rq_clock(rq) - t->sched_info.last_arrival; delta 214 kernel/sched/stats.h rq_sched_info_depart(rq, delta); delta 200 kernel/taskstats.c u64 delta, utime, stime; delta 232 kernel/taskstats.c delta = start_time - tsk->start_time; delta 234 kernel/taskstats.c do_div(delta, NSEC_PER_USEC); delta 235 kernel/taskstats.c stats->ac_etime += delta; delta 275 kernel/time/alarmtimer.c ktime_t delta; delta 282 kernel/time/alarmtimer.c delta = ktime_sub(next->expires, base->gettime()); delta 283 kernel/time/alarmtimer.c if (!min || (delta < min)) { delta 285 kernel/time/alarmtimer.c min = delta; delta 453 kernel/time/alarmtimer.c ktime_t delta; delta 455 kernel/time/alarmtimer.c delta = ktime_sub(now, alarm->node.expires); delta 457 kernel/time/alarmtimer.c if (delta < 0) delta 460 kernel/time/alarmtimer.c if (unlikely(delta >= interval)) { delta 463 kernel/time/alarmtimer.c overrun = ktime_divns(delta, incr); delta 496 kernel/time/alarmtimer.c ktime_t delta; delta 512 kernel/time/alarmtimer.c delta = ktime_sub(absexp, base->gettime()); delta 515 kernel/time/alarmtimer.c if (!freezer_delta || (delta < freezer_delta)) { delta 516 kernel/time/alarmtimer.c freezer_delta = delta; delta 236 kernel/time/clockevents.c int64_t delta; delta 240 kernel/time/clockevents.c delta = dev->min_delta_ns; delta 241 kernel/time/clockevents.c dev->next_event = ktime_add_ns(ktime_get(), delta); delta 247 kernel/time/clockevents.c clc = ((unsigned long long) delta * dev->mult) >> dev->shift; delta 275 kernel/time/clockevents.c int64_t delta = 0; delta 279 kernel/time/clockevents.c delta += dev->min_delta_ns; delta 280 kernel/time/clockevents.c dev->next_event = ktime_add_ns(ktime_get(), delta); delta 286 kernel/time/clockevents.c clc = ((unsigned long long) delta * dev->mult) >> dev->shift; delta 307 kernel/time/clockevents.c int64_t delta; delta 326 kernel/time/clockevents.c delta = ktime_to_ns(ktime_sub(expires, ktime_get())); delta 327 kernel/time/clockevents.c if (delta <= 0) delta 330 kernel/time/clockevents.c delta = min(delta, (int64_t) dev->max_delta_ns); delta 331 kernel/time/clockevents.c delta = max(delta, (int64_t) dev->min_delta_ns); delta 333 kernel/time/clockevents.c clc = ((unsigned long long) delta * dev->mult) >> dev->shift; delta 190 kernel/time/clocksource.c u64 csnow, wdnow, cslast, wdlast, delta; delta 223 kernel/time/clocksource.c delta = clocksource_delta(wdnow, cs->wd_last, watchdog->mask); delta 224 kernel/time/clocksource.c wd_nsec = clocksource_cyc2ns(delta, watchdog->mult, delta 227 kernel/time/clocksource.c delta = clocksource_delta(csnow, cs->cs_last, cs->mask); delta 228 kernel/time/clocksource.c cs_nsec = clocksource_cyc2ns(delta, cs->mult, cs->shift); delta 565 kernel/time/clocksource.c u64 now, delta, nsec = 0; delta 581 kernel/time/clocksource.c delta = clocksource_delta(now, suspend_start, delta 583 kernel/time/clocksource.c nsec = mul_u64_u32_shr(delta, suspend_clocksource->mult, delta 921 kernel/time/hrtimer.c ktime_t delta; delta 923 kernel/time/hrtimer.c delta = ktime_sub(now, hrtimer_get_expires(timer)); delta 925 kernel/time/hrtimer.c if (delta < 0) delta 934 kernel/time/hrtimer.c if (unlikely(delta >= interval)) { delta 937 kernel/time/hrtimer.c orun = ktime_divns(delta, incr); delta 1614 kernel/time/hrtimer.c ktime_t expires_next, now, entry_time, delta; delta 1687 kernel/time/hrtimer.c delta = ktime_sub(now, entry_time); delta 1688 kernel/time/hrtimer.c if ((unsigned int)delta > cpu_base->max_hang_time) delta 1689 kernel/time/hrtimer.c cpu_base->max_hang_time = (unsigned int) delta; delta 1694 kernel/time/hrtimer.c if (delta > 100 * NSEC_PER_MSEC) delta 1697 kernel/time/hrtimer.c expires_next = ktime_add(now, delta); delta 1699 kernel/time/hrtimer.c pr_warn_once("hrtimer: interrupt took %llu ns\n", ktime_to_ns(delta)); delta 2103 kernel/time/hrtimer.c schedule_hrtimeout_range_clock(ktime_t *expires, u64 delta, delta 2126 kernel/time/hrtimer.c hrtimer_set_expires_range_ns(&t.timer, *expires, delta); delta 2172 kernel/time/hrtimer.c int __sched schedule_hrtimeout_range(ktime_t *expires, u64 delta, delta 2175 kernel/time/hrtimer.c return schedule_hrtimeout_range_clock(expires, delta, mode, delta 402 kernel/time/ntp.c s64 delta; delta 467 kernel/time/ntp.c delta = ntp_offset_chunk(time_offset); delta 468 kernel/time/ntp.c time_offset -= delta; delta 469 kernel/time/ntp.c tick_length += delta; delta 886 kernel/time/ntp.c long delta, delta_mod; delta 906 kernel/time/ntp.c delta = shift_right(ftemp - pps_freq, NTP_SCALE_SHIFT); delta 908 kernel/time/ntp.c if (delta > PPS_MAXWANDER || delta < -PPS_MAXWANDER) { delta 910 kernel/time/ntp.c "hardpps: PPSWANDER: change=%ld\n", delta); delta 922 kernel/time/ntp.c delta_mod = delta; delta 936 kernel/time/ntp.c return delta; delta 127 kernel/time/posix-cpu-timers.c u64 delta, incr, expires = timer->it.cpu.node.expires; delta 137 kernel/time/posix-cpu-timers.c delta = now + incr - expires; delta 140 kernel/time/posix-cpu-timers.c for (i = 0; incr < delta - incr; i++) delta 144 kernel/time/posix-cpu-timers.c if (delta < incr) delta 149 kernel/time/posix-cpu-timers.c delta -= incr; delta 57 kernel/time/tick-sched.c ktime_t delta; delta 63 kernel/time/tick-sched.c delta = ktime_sub(now, READ_ONCE(last_jiffies_update)); delta 64 kernel/time/tick-sched.c if (delta < tick_period) delta 70 kernel/time/tick-sched.c delta = ktime_sub(now, last_jiffies_update); delta 71 kernel/time/tick-sched.c if (delta >= tick_period) { delta 73 kernel/time/tick-sched.c delta = ktime_sub(delta, tick_period); delta 79 kernel/time/tick-sched.c if (unlikely(delta >= tick_period)) { delta 82 kernel/time/tick-sched.c ticks = ktime_divns(delta, incr); delta 521 kernel/time/tick-sched.c ktime_t delta; delta 524 kernel/time/tick-sched.c delta = ktime_sub(now, ts->idle_entrytime); delta 526 kernel/time/tick-sched.c ts->iowait_sleeptime = ktime_add(ts->iowait_sleeptime, delta); delta 528 kernel/time/tick-sched.c ts->idle_sleeptime = ktime_add(ts->idle_sleeptime, delta); delta 580 kernel/time/tick-sched.c ktime_t delta = ktime_sub(now, ts->idle_entrytime); delta 582 kernel/time/tick-sched.c idle = ktime_add(ts->idle_sleeptime, delta); delta 621 kernel/time/tick-sched.c ktime_t delta = ktime_sub(now, ts->idle_entrytime); delta 623 kernel/time/tick-sched.c iowait = ktime_add(ts->iowait_sleeptime, delta); delta 662 kernel/time/tick-sched.c u64 basemono, next_tick, next_tmr, next_rcu, delta, expires; delta 706 kernel/time/tick-sched.c delta = next_tick - basemono; delta 707 kernel/time/tick-sched.c if (delta <= (u64)TICK_NSEC) { delta 728 kernel/time/tick-sched.c delta = timekeeping_max_deferment(); delta 731 kernel/time/tick-sched.c delta = KTIME_MAX; delta 734 kernel/time/tick-sched.c if (delta < (KTIME_MAX - basemono)) delta 735 kernel/time/tick-sched.c expires = basemono + delta; delta 82 kernel/time/timecounter.c u64 delta = (cycle_tstamp - tc->cycle_last) & tc->cc->mask; delta 90 kernel/time/timecounter.c if (delta > tc->cc->mask / 2) { delta 91 kernel/time/timecounter.c delta = (tc->cycle_last - cycle_tstamp) & tc->cc->mask; delta 92 kernel/time/timecounter.c nsec -= cc_cyc2ns_backwards(tc->cc, delta, tc->mask, frac); delta 94 kernel/time/timecounter.c nsec += cyclecounter_cyc2ns(tc->cc, delta, tc->mask, &frac); delta 146 kernel/time/timekeeping.c static inline void tk_update_sleep_time(struct timekeeper *tk, ktime_t delta) delta 148 kernel/time/timekeeping.c tk->offs_boot = ktime_add(tk->offs_boot, delta); delta 221 kernel/time/timekeeping.c u64 now, last, mask, max, delta; delta 239 kernel/time/timekeeping.c delta = clocksource_delta(now, last, mask); delta 245 kernel/time/timekeeping.c if (unlikely((~delta & mask) < (mask >> 3))) { delta 247 kernel/time/timekeeping.c delta = 0; delta 251 kernel/time/timekeeping.c if (unlikely(delta > max)) { delta 253 kernel/time/timekeeping.c delta = tkr->clock->max_cycles; delta 256 kernel/time/timekeeping.c return delta; delta 264 kernel/time/timekeeping.c u64 cycle_now, delta; delta 270 kernel/time/timekeeping.c delta = clocksource_delta(cycle_now, tkr->cycle_last, tkr->mask); delta 272 kernel/time/timekeeping.c return delta; delta 359 kernel/time/timekeeping.c static inline u64 timekeeping_delta_to_ns(const struct tk_read_base *tkr, u64 delta) delta 363 kernel/time/timekeeping.c nsec = delta * tkr->mult + tkr->xtime_nsec; delta 372 kernel/time/timekeeping.c u64 delta; delta 374 kernel/time/timekeeping.c delta = timekeeping_get_delta(tkr); delta 375 kernel/time/timekeeping.c return timekeeping_delta_to_ns(tkr, delta); delta 380 kernel/time/timekeeping.c u64 delta; delta 383 kernel/time/timekeeping.c delta = clocksource_delta(cycles, tkr->cycle_last, tkr->mask); delta 384 kernel/time/timekeeping.c return timekeeping_delta_to_ns(tkr, delta); delta 699 kernel/time/timekeeping.c u64 cycle_now, delta; delta 702 kernel/time/timekeeping.c delta = clocksource_delta(cycle_now, tk->tkr_mono.cycle_last, tk->tkr_mono.mask); delta 706 kernel/time/timekeeping.c tk->tkr_mono.xtime_nsec += delta * tk->tkr_mono.mult; delta 712 kernel/time/timekeeping.c tk->tkr_raw.xtime_nsec += delta * tk->tkr_raw.mult; delta 1588 kernel/time/timekeeping.c const struct timespec64 *delta) delta 1590 kernel/time/timekeeping.c if (!timespec64_valid_strict(delta)) { delta 1596 kernel/time/timekeeping.c tk_xtime_add(tk, delta); delta 1597 kernel/time/timekeeping.c tk_set_wall_to_mono(tk, timespec64_sub(tk->wall_to_monotonic, *delta)); delta 1598 kernel/time/timekeeping.c tk_update_sleep_time(tk, timespec64_to_ktime(*delta)); delta 1599 kernel/time/timekeeping.c tk_debug_account_sleep_time(delta); delta 1649 kernel/time/timekeeping.c void timekeeping_inject_sleeptime64(const struct timespec64 *delta) delta 1661 kernel/time/timekeeping.c __timekeeping_inject_sleeptime(tk, delta); delta 1740 kernel/time/timekeeping.c struct timespec64 delta, delta_delta; delta 1778 kernel/time/timekeeping.c delta = timespec64_sub(tk_xtime(tk), timekeeping_suspend_time); delta 1779 kernel/time/timekeeping.c delta_delta = timespec64_sub(delta, old_delta); delta 1785 kernel/time/timekeeping.c old_delta = delta; delta 2328 kernel/time/timekeeping.c struct timespec64 delta; delta 2329 kernel/time/timekeeping.c delta.tv_sec = txc->time.tv_sec; delta 2330 kernel/time/timekeeping.c delta.tv_nsec = txc->time.tv_usec; delta 2332 kernel/time/timekeeping.c delta.tv_nsec *= 1000; delta 2333 kernel/time/timekeeping.c ret = timekeeping_inject_offset(&delta); delta 2337 kernel/time/timekeeping.c audit_tk_injoffset(delta); delta 499 kernel/time/timer.c unsigned long delta = expires - clk; delta 502 kernel/time/timer.c if (delta < LVL_START(1)) { delta 504 kernel/time/timer.c } else if (delta < LVL_START(2)) { delta 506 kernel/time/timer.c } else if (delta < LVL_START(3)) { delta 508 kernel/time/timer.c } else if (delta < LVL_START(4)) { delta 510 kernel/time/timer.c } else if (delta < LVL_START(5)) { delta 512 kernel/time/timer.c } else if (delta < LVL_START(6)) { delta 514 kernel/time/timer.c } else if (delta < LVL_START(7)) { delta 516 kernel/time/timer.c } else if (LVL_DEPTH > 8 && delta < LVL_START(8)) { delta 518 kernel/time/timer.c } else if ((long) delta < 0) { delta 2082 kernel/time/timer.c u64 delta = (u64)(max - min) * NSEC_PER_USEC; delta 2087 kernel/time/timer.c if (!schedule_hrtimeout_range(&exp, delta, HRTIMER_MODE_ABS)) delta 85 kernel/torture.c unsigned long delta; delta 114 kernel/torture.c delta = jiffies - starttime; delta 115 kernel/torture.c *sum_offl += delta; delta 117 kernel/torture.c *min_offl = delta; delta 118 kernel/torture.c *max_offl = delta; delta 120 kernel/torture.c if (*min_offl > delta) delta 121 kernel/torture.c *min_offl = delta; delta 122 kernel/torture.c if (*max_offl < delta) delta 123 kernel/torture.c *max_offl = delta; delta 138 kernel/torture.c unsigned long delta; delta 163 kernel/torture.c delta = jiffies - starttime; delta 164 kernel/torture.c *sum_onl += delta; delta 166 kernel/torture.c *min_onl = delta; delta 167 kernel/torture.c *max_onl = delta; delta 169 kernel/torture.c if (*min_onl > delta) delta 170 kernel/torture.c *min_onl = delta; delta 171 kernel/torture.c if (*max_onl < delta) delta 172 kernel/torture.c *max_onl = delta; delta 361 kernel/trace/ring_buffer.c static inline int test_time_stamp(u64 delta) delta 363 kernel/trace/ring_buffer.c if (delta & TS_DELTA_TEST) delta 417 kernel/trace/ring_buffer.c u64 delta; delta 2308 kernel/trace/ring_buffer.c rb_add_time_stamp(struct ring_buffer_event *event, u64 delta, bool abs) delta 2317 kernel/trace/ring_buffer.c event->time_delta = delta & TS_MASK; delta 2318 kernel/trace/ring_buffer.c event->array[0] = delta >> TS_SHIFT; delta 2348 kernel/trace/ring_buffer.c u64 delta = info->delta; delta 2352 kernel/trace/ring_buffer.c delta = 0; delta 2361 kernel/trace/ring_buffer.c event = rb_add_time_stamp(event, info->delta, abs); delta 2363 kernel/trace/ring_buffer.c delta = 0; delta 2366 kernel/trace/ring_buffer.c event->time_delta = delta; delta 2578 kernel/trace/ring_buffer.c u64 delta; delta 2593 kernel/trace/ring_buffer.c delta = ring_buffer_event_time_stamp(event); delta 2594 kernel/trace/ring_buffer.c cpu_buffer->write_stamp += delta; delta 2596 kernel/trace/ring_buffer.c delta = ring_buffer_event_time_stamp(event); delta 2597 kernel/trace/ring_buffer.c cpu_buffer->write_stamp = delta; delta 2802 kernel/trace/ring_buffer.c WARN_ONCE(info->delta > (1ULL << 59), delta 2804 kernel/trace/ring_buffer.c (unsigned long long)info->delta, delta 2844 kernel/trace/ring_buffer.c info->delta = 0; delta 2900 kernel/trace/ring_buffer.c info.delta = 0; delta 2921 kernel/trace/ring_buffer.c info.delta = info.ts; delta 2925 kernel/trace/ring_buffer.c info.delta = diff; delta 2926 kernel/trace/ring_buffer.c if (unlikely(test_time_stamp(info.delta))) delta 3615 kernel/trace/ring_buffer.c u64 delta; delta 3622 kernel/trace/ring_buffer.c delta = ring_buffer_event_time_stamp(event); delta 3623 kernel/trace/ring_buffer.c cpu_buffer->read_stamp += delta; delta 3627 kernel/trace/ring_buffer.c delta = ring_buffer_event_time_stamp(event); delta 3628 kernel/trace/ring_buffer.c cpu_buffer->read_stamp = delta; delta 3645 kernel/trace/ring_buffer.c u64 delta; delta 3652 kernel/trace/ring_buffer.c delta = ring_buffer_event_time_stamp(event); delta 3653 kernel/trace/ring_buffer.c iter->read_stamp += delta; delta 3657 kernel/trace/ring_buffer.c delta = ring_buffer_event_time_stamp(event); delta 3658 kernel/trace/ring_buffer.c iter->read_stamp = delta; delta 41 kernel/trace/trace_benchmark.c u64 delta; delta 60 kernel/trace/trace_benchmark.c delta = stop - start; delta 67 kernel/trace/trace_benchmark.c bm_first = delta; delta 73 kernel/trace/trace_benchmark.c bm_last = delta; delta 75 kernel/trace/trace_benchmark.c if (delta > bm_max) delta 76 kernel/trace/trace_benchmark.c bm_max = delta; delta 77 kernel/trace/trace_benchmark.c if (!bm_min || delta < bm_min) delta 78 kernel/trace/trace_benchmark.c bm_min = delta; delta 92 kernel/trace/trace_benchmark.c bm_total += delta; delta 93 kernel/trace/trace_benchmark.c bm_totalsq += delta * delta; delta 107 kernel/trace/trace_benchmark.c delta = bm_total; delta 108 kernel/trace/trace_benchmark.c do_div(delta, bm_cnt); delta 109 kernel/trace/trace_benchmark.c avg = delta; delta 305 kernel/trace/trace_irqsoff.c static bool report_latency(struct trace_array *tr, u64 delta) delta 308 kernel/trace/trace_irqsoff.c if (delta < tracing_thresh) delta 311 kernel/trace/trace_irqsoff.c if (delta <= tr->max_latency) delta 323 kernel/trace/trace_irqsoff.c u64 T0, T1, delta; delta 329 kernel/trace/trace_irqsoff.c delta = T1-T0; delta 335 kernel/trace/trace_irqsoff.c if (!report_latency(tr, delta)) delta 341 kernel/trace/trace_irqsoff.c if (!report_latency(tr, delta)) delta 354 kernel/trace/trace_irqsoff.c tr->max_latency = delta; delta 353 kernel/trace/trace_sched_wakeup.c static bool report_latency(struct trace_array *tr, u64 delta) delta 356 kernel/trace/trace_sched_wakeup.c if (delta < tracing_thresh) delta 359 kernel/trace/trace_sched_wakeup.c if (delta <= tr->max_latency) delta 435 kernel/trace/trace_sched_wakeup.c u64 T0, T1, delta; delta 482 kernel/trace/trace_sched_wakeup.c delta = T1-T0; delta 484 kernel/trace/trace_sched_wakeup.c if (!report_latency(wakeup_trace, delta)) delta 488 kernel/trace/trace_sched_wakeup.c wakeup_trace->max_latency = delta; delta 26 kernel/tsacct.c u64 delta; delta 31 kernel/tsacct.c delta = ktime_get_ns() - tsk->start_time; delta 33 kernel/tsacct.c do_div(delta, NSEC_PER_USEC); delta 34 kernel/tsacct.c stats->ac_etime = delta; delta 36 kernel/tsacct.c do_div(delta, USEC_PER_SEC); delta 37 kernel/tsacct.c stats->ac_btime = get_seconds() - delta; delta 119 kernel/tsacct.c u64 time, delta; delta 125 kernel/tsacct.c delta = time - tsk->acct_timexpd; delta 127 kernel/tsacct.c if (delta < TICK_NSEC) delta 136 kernel/tsacct.c tsk->acct_rss_mem1 += delta * get_mm_rss(tsk->mm) >> 10; delta 137 kernel/tsacct.c tsk->acct_vm_mem1 += delta * tsk->mm->total_vm >> 10; delta 78 kernel/watchdog_hld.c ktime_t delta, now = ktime_get_mono_fast_ns(); delta 80 kernel/watchdog_hld.c delta = now - __this_cpu_read(last_timestamp); delta 81 kernel/watchdog_hld.c if (delta < watchdog_hrtimer_sample_threshold) { delta 31 lib/extable.c int delta = b - a; delta 34 lib/extable.c x->insn = y->insn + delta; delta 35 lib/extable.c y->insn = tmp.insn - delta; delta 38 lib/extable.c swap_ex_entry_fixup(x, y, tmp, delta); delta 40 lib/extable.c x->fixup = y->fixup + delta; delta 41 lib/extable.c y->fixup = tmp.fixup - delta; delta 819 lib/lz4/lz4_compress.c U32 const delta = LZ4_dict->currentOffset - 64 * KB; delta 824 lib/lz4/lz4_compress.c if (LZ4_dict->hashTable[i] < delta) delta 827 lib/lz4/lz4_compress.c LZ4_dict->hashTable[i] -= delta; delta 85 lib/lz4/lz4hc_compress.c size_t delta = idx - hashTable[h]; delta 87 lib/lz4/lz4hc_compress.c if (delta > MAX_DISTANCE) delta 88 lib/lz4/lz4hc_compress.c delta = MAX_DISTANCE; delta 90 lib/lz4/lz4hc_compress.c DELTANEXTU16(idx) = (U16)delta; delta 189 lib/lz4/lz4hc_compress.c int delta = (int)(ip - iLowLimit); delta 202 lib/lz4/lz4hc_compress.c == *(matchPtr - delta + longest)) { delta 105 lib/test_objagg.c struct delta *delta; delta 110 lib/test_objagg.c delta = kzalloc(sizeof(*delta), GFP_KERNEL); delta 111 lib/test_objagg.c if (!delta) delta 113 lib/test_objagg.c delta->key_id_diff = diff; delta 115 lib/test_objagg.c return delta; delta 120 lib/test_objagg.c struct delta *delta = delta_priv; delta 124 lib/test_objagg.c kfree(delta); delta 629 lib/test_objagg.c const struct delta *delta; delta 634 lib/test_objagg.c delta = objagg_obj_delta_priv(objagg_obj); delta 635 lib/test_objagg.c if (delta) delta 636 lib/test_objagg.c key_id += delta->key_id_diff; delta 389 lib/test_vmalloc.c u64 delta; delta 426 lib/test_vmalloc.c delta = (u64) ktime_us_delta(ktime_get(), kt); delta 427 lib/test_vmalloc.c do_div(delta, (u32) test_repeat_count); delta 429 lib/test_vmalloc.c per_cpu_test_data[t->cpu][index].time = delta; delta 2510 lib/zstd/compress.c ptrdiff_t const delta = cctx->nextSrc - ip; delta 2514 lib/zstd/compress.c cctx->base -= delta; delta 34 mm/compaction.c static inline void count_compact_events(enum vm_event_item item, long delta) delta 36 mm/compaction.c count_vm_events(item, delta); delta 40 mm/compaction.c #define count_compact_events(item, delta) do { } while (0) delta 75 mm/hugetlb.c static int hugetlb_acct_memory(struct hstate *h, long delta); delta 135 mm/hugetlb.c long delta) delta 137 mm/hugetlb.c long ret = delta; delta 145 mm/hugetlb.c if ((spool->used_hpages + delta) <= spool->max_hpages) delta 146 mm/hugetlb.c spool->used_hpages += delta; delta 155 mm/hugetlb.c if (delta > spool->rsv_hpages) { delta 160 mm/hugetlb.c ret = delta - spool->rsv_hpages; delta 164 mm/hugetlb.c spool->rsv_hpages -= delta; delta 180 mm/hugetlb.c long delta) delta 182 mm/hugetlb.c long ret = delta; delta 185 mm/hugetlb.c return delta; delta 190 mm/hugetlb.c spool->used_hpages -= delta; delta 194 mm/hugetlb.c if (spool->rsv_hpages + delta <= spool->min_hpages) delta 197 mm/hugetlb.c ret = spool->rsv_hpages + delta - spool->min_hpages; delta 199 mm/hugetlb.c spool->rsv_hpages += delta; delta 1816 mm/hugetlb.c static int gather_surplus_pages(struct hstate *h, int delta) delta 1824 mm/hugetlb.c needed = (h->resv_huge_pages + delta) - h->free_huge_pages; delta 1826 mm/hugetlb.c h->resv_huge_pages += delta; delta 1853 mm/hugetlb.c needed = (h->resv_huge_pages + delta) - delta 1874 mm/hugetlb.c h->resv_huge_pages += delta; delta 2397 mm/hugetlb.c int delta) delta 2401 mm/hugetlb.c VM_BUG_ON(delta != -1 && delta != 1); delta 2403 mm/hugetlb.c if (delta < 0) { delta 2418 mm/hugetlb.c h->surplus_huge_pages += delta; delta 2419 mm/hugetlb.c h->surplus_huge_pages_node[node] += delta; delta 3238 mm/hugetlb.c static int hugetlb_acct_memory(struct hstate *h, long delta) delta 3260 mm/hugetlb.c if (delta > 0) { delta 3261 mm/hugetlb.c if (gather_surplus_pages(h, delta) < 0) delta 3264 mm/hugetlb.c if (delta > cpuset_mems_nr(h->free_huge_pages_node)) { delta 3265 mm/hugetlb.c return_unused_surplus_pages(h, delta); delta 3271 mm/hugetlb.c if (delta < 0) delta 3272 mm/hugetlb.c return_unused_surplus_pages(h, (unsigned long) -delta); delta 575 mm/mremap.c static int vma_expandable(struct vm_area_struct *vma, unsigned long delta) delta 577 mm/mremap.c unsigned long end = vma->vm_end + delta; delta 1125 mm/page-writeback.c long delta = avg - wb->avg_write_bandwidth; delta 1126 mm/page-writeback.c WARN_ON_ONCE(atomic_long_add_return(delta, delta 20 mm/page_counter.c long delta; delta 32 mm/page_counter.c delta = protected - old_protected; delta 33 mm/page_counter.c if (delta) delta 34 mm/page_counter.c atomic_long_add(delta, &c->parent->children_min_usage); delta 44 mm/page_counter.c delta = protected - old_protected; delta 45 mm/page_counter.c if (delta) delta 46 mm/page_counter.c atomic_long_add(delta, &c->parent->children_low_usage); delta 2962 mm/percpu.c unsigned long delta; delta 2976 mm/percpu.c delta = (unsigned long)pcpu_base_addr - (unsigned long)__per_cpu_start; delta 2978 mm/percpu.c __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; delta 241 mm/slob.c int delta = 0, units = SLOB_UNITS(size); delta 258 mm/slob.c delta = aligned - cur; delta 260 mm/slob.c if (avail >= units + delta) { /* room enough? */ delta 263 mm/slob.c if (delta) { /* need to fragment head to align? */ delta 265 mm/slob.c set_slob(aligned, avail - delta, next); delta 266 mm/slob.c set_slob(cur, delta, aligned); delta 466 mm/vmscan.c unsigned long long delta; delta 492 mm/vmscan.c delta = freeable >> priority; delta 493 mm/vmscan.c delta *= 4; delta 494 mm/vmscan.c do_div(delta, shrinker->seeks); delta 501 mm/vmscan.c delta = freeable / 2; delta 504 mm/vmscan.c total_scan += delta; delta 525 mm/vmscan.c if (delta < freeable / 4) delta 537 mm/vmscan.c freeable, delta, total_scan, priority); delta 4182 mm/vmscan.c unsigned long delta = 0; delta 4197 mm/vmscan.c delta += node_page_state(pgdat, NR_FILE_DIRTY); delta 4200 mm/vmscan.c if (unlikely(delta > nr_pagecache_reclaimable)) delta 4201 mm/vmscan.c delta = nr_pagecache_reclaimable; delta 4203 mm/vmscan.c return nr_pagecache_reclaimable - delta; delta 317 mm/vmstat.c long delta) delta 324 mm/vmstat.c x = delta + __this_cpu_read(*p); delta 337 mm/vmstat.c long delta) delta 344 mm/vmstat.c x = delta + __this_cpu_read(*p); delta 481 mm/vmstat.c enum zone_stat_item item, long delta, int overstep_mode) delta 503 mm/vmstat.c n = delta + o; delta 519 mm/vmstat.c long delta) delta 521 mm/vmstat.c mod_zone_state(zone, item, delta, 0); delta 538 mm/vmstat.c enum node_stat_item item, int delta, int overstep_mode) delta 560 mm/vmstat.c n = delta + o; delta 576 mm/vmstat.c long delta) delta 578 mm/vmstat.c mod_node_state(pgdat, item, delta, 0); delta 603 mm/vmstat.c long delta) delta 608 mm/vmstat.c __mod_zone_page_state(zone, item, delta); delta 646 mm/vmstat.c long delta) delta 651 mm/vmstat.c __mod_node_page_state(pgdat, item, delta); delta 202 net/bluetooth/selftest.c ktime_t calltime, delta, rettime; delta 239 net/bluetooth/selftest.c delta = ktime_sub(rettime, calltime); delta 240 net/bluetooth/selftest.c duration = (unsigned long long) ktime_to_ns(delta) >> 10; delta 3804 net/bluetooth/smp.c ktime_t calltime, delta, rettime; delta 3865 net/bluetooth/smp.c delta = ktime_sub(rettime, calltime); delta 3866 net/bluetooth/smp.c duration = (unsigned long long) ktime_to_ns(delta) >> 10; delta 2280 net/bridge/netfilter/ebtables.c unsigned int delta; delta 2282 net/bridge/netfilter/ebtables.c delta = usrptr - tmp.entries; delta 2283 net/bridge/netfilter/ebtables.c usrptr += xt_compat_calc_jump(NFPROTO_BRIDGE, delta); delta 1704 net/core/skbuff.c int delta = headroom - skb_headroom(skb); delta 1706 net/core/skbuff.c if (delta <= 0) delta 1710 net/core/skbuff.c if (skb2 && pskb_expand_head(skb2, SKB_DATA_ALIGN(delta), 0, delta 2015 net/core/skbuff.c int delta = skb->len - len; delta 2018 net/core/skbuff.c skb_checksum(skb, len, delta, 0), delta 2050 net/core/skbuff.c void *__pskb_pull_tail(struct sk_buff *skb, int delta) delta 2056 net/core/skbuff.c int i, k, eat = (skb->tail + delta) - skb->end; delta 2065 net/core/skbuff.c skb_tail_pointer(skb), delta)); delta 2074 net/core/skbuff.c eat = delta; delta 2138 net/core/skbuff.c eat = delta; delta 2163 net/core/skbuff.c skb->tail += delta; delta 2164 net/core/skbuff.c skb->data_len -= delta; delta 5030 net/core/skbuff.c int i, delta, len = from->len; delta 5062 net/core/skbuff.c delta = from->truesize - SKB_DATA_ALIGN(sizeof(struct sk_buff)); delta 5075 net/core/skbuff.c delta = from->truesize - SKB_TRUESIZE(skb_end_offset(from)); delta 5078 net/core/skbuff.c WARN_ON_ONCE(delta < len); delta 5094 net/core/skbuff.c to->truesize += delta; delta 5098 net/core/skbuff.c *delta_truesize = delta; delta 286 net/dccp/ackvec.c s64 delta; delta 296 net/dccp/ackvec.c delta = dccp_delta_seqno(av->av_tail_ackno, avr->avr_ack_ackno); delta 297 net/dccp/ackvec.c if (delta < 0) delta 303 net/dccp/ackvec.c eff_runlen = delta < avr->avr_ack_runlen ? delta : avr->avr_ack_runlen; delta 219 net/dccp/ccids/ccid2.c s32 delta = now - hc->tx_lsndtime; delta 226 net/dccp/ccids/ccid2.c while ((delta -= hc->tx_rto) >= 0 && cwnd > restart_cwnd) delta 95 net/dccp/ccids/ccid3.c u32 delta = ktime_us_delta(now, hc->tx_t_last_win_count); delta 97 net/dccp/ccids/ccid3.c return delta / hc->tx_rtt; delta 175 net/dccp/ccids/ccid3.c u32 delta = ktime_us_delta(now, hc->tx_t_last_win_count), delta 176 net/dccp/ccids/ccid3.c quarter_rtts = (4 * delta) / hc->tx_rtt; delta 591 net/dccp/ccids/ccid3.c s64 delta = 0; delta 613 net/dccp/ccids/ccid3.c delta = ktime_us_delta(now, hc->rx_tstamp_last_feedback); delta 614 net/dccp/ccids/ccid3.c if (delta <= 0) delta 615 net/dccp/ccids/ccid3.c delta = 1; delta 616 net/dccp/ccids/ccid3.c hc->rx_x_recv = scaled_div32(hc->rx_bytes_recv, delta); delta 622 net/dccp/ccids/ccid3.c ccid3_pr_debug("Interval %lldusec, X_recv=%u, 1/p=%u\n", delta, delta 670 net/dccp/ccids/ccid3.c s64 delta; delta 678 net/dccp/ccids/ccid3.c delta = ktime_us_delta(ktime_get(), hc->rx_tstamp_last_feedback); delta 679 net/dccp/ccids/ccid3.c if (delta <= 0) delta 680 net/dccp/ccids/ccid3.c delta = 1; delta 681 net/dccp/ccids/ccid3.c x_recv = scaled_div32(hc->rx_bytes_recv, delta); delta 124 net/dccp/dccp.h u64 delta = SUB48(seqno2, seqno1); delta 126 net/dccp/dccp.h return TO_SIGNED48(delta); delta 157 net/dccp/dccp.h s64 delta = dccp_delta_seqno(s1, s2); delta 159 net/dccp/dccp.h WARN_ON(delta < 0); delta 160 net/dccp/dccp.h delta -= ndp + 1; delta 162 net/dccp/dccp.h return delta > 0 ? delta : 0; delta 325 net/dccp/dccp.h u32 dccp_sample_rtt(struct sock *sk, long delta); delta 551 net/dccp/input.c long delta = dccp_timestamp() - sample; delta 553 net/dccp/input.c dp->dccps_syn_rtt = dccp_sample_rtt(sk, 10 * delta); delta 723 net/dccp/input.c u32 dccp_sample_rtt(struct sock *sk, long delta) delta 726 net/dccp/input.c delta -= dccp_sk(sk)->dccps_options_received.dccpor_elapsed_time * 10; delta 728 net/dccp/input.c if (unlikely(delta <= 0)) { delta 729 net/dccp/input.c DCCP_WARN("unusable RTT sample %ld, using min\n", delta); delta 732 net/dccp/input.c if (unlikely(delta > DCCP_SANE_RTT_MAX)) { delta 733 net/dccp/input.c DCCP_WARN("RTT sample %ld too large, using max\n", delta); delta 737 net/dccp/input.c return delta; delta 261 net/dccp/timer.c u64 delta = (u64)ktime_us_delta(ktime_get_real(), dccp_timestamp_seed); delta 263 net/dccp/timer.c do_div(delta, 10); delta 264 net/dccp/timer.c return delta; delta 162 net/decnet/dn_nsp_out.c long delta; delta 174 net/decnet/dn_nsp_out.c delta = ((rtt << 3) - srtt); delta 175 net/decnet/dn_nsp_out.c srtt += (delta >> 3); delta 184 net/decnet/dn_nsp_out.c delta >>= 1; delta 185 net/decnet/dn_nsp_out.c rttvar += ((((delta>0)?(delta):(-delta)) - rttvar) >> 2); delta 248 net/ipv4/icmp.c u32 credit, delta, incr = 0, now = (u32)jiffies; delta 256 net/ipv4/icmp.c delta = min_t(u32, now - READ_ONCE(icmp_global.stamp), HZ); delta 257 net/ipv4/icmp.c if (delta < HZ / 50) delta 262 net/ipv4/icmp.c delta = min_t(u32, now - icmp_global.stamp, HZ); delta 263 net/ipv4/icmp.c if (delta >= HZ / 50) { delta 264 net/ipv4/icmp.c incr = sysctl_icmp_msgs_per_sec * delta / HZ ; delta 167 net/ipv4/igmp.c int sfcount, __be32 *psfsrc, int delta); delta 1896 net/ipv4/igmp.c int sfcount, __be32 *psfsrc, int delta) delta 1919 net/ipv4/igmp.c if (!delta) { delta 2068 net/ipv4/igmp.c int sfcount, __be32 *psfsrc, int delta) delta 2093 net/ipv4/igmp.c if (!delta) delta 2104 net/ipv4/igmp.c if (!delta) delta 2837 net/ipv4/igmp.c long delta; delta 2852 net/ipv4/igmp.c delta = im->timer.expires - jiffies; delta 2857 net/ipv4/igmp.c im->tm_running ? jiffies_delta_to_clock_t(delta) : 0, delta 413 net/ipv4/inet_fragment.c int delta; delta 436 net/ipv4/inet_fragment.c delta = -head->truesize; delta 442 net/ipv4/inet_fragment.c delta += head->truesize; delta 443 net/ipv4/inet_fragment.c if (delta) delta 444 net/ipv4/inet_fragment.c add_frag_mem_limit(q->fqdir, delta); delta 501 net/ipv4/inet_fragment.c int delta; delta 510 net/ipv4/inet_fragment.c &delta)) { delta 152 net/ipv4/inetpeer.c __u32 delta, ttl; delta 167 net/ipv4/inetpeer.c delta = (__u32)jiffies - READ_ONCE(p->dtime); delta 169 net/ipv4/inetpeer.c if (delta < ttl || !refcount_dec_if_one(&p->refcnt)) delta 493 net/ipv4/route.c u32 delta = 0; delta 496 net/ipv4/route.c delta = prandom_u32_max(now - old); delta 502 net/ipv4/route.c return atomic_add_return(segs + delta, p_id) - segs; delta 308 net/ipv4/tcp_bpf.c u32 tosend, delta = 0; delta 318 net/ipv4/tcp_bpf.c delta = msg->sg.size; delta 320 net/ipv4/tcp_bpf.c delta -= msg->sg.size; delta 377 net/ipv4/tcp_bpf.c *copied -= (tosend + delta); delta 418 net/ipv4/tcp_cong.c u32 delta = tp->snd_cwnd_cnt / w; delta 420 net/ipv4/tcp_cong.c tp->snd_cwnd_cnt -= delta * w; delta 421 net/ipv4/tcp_cong.c tp->snd_cwnd += delta; delta 158 net/ipv4/tcp_cubic.c s32 delta; delta 160 net/ipv4/tcp_cubic.c delta = now - tcp_sk(sk)->lsndtime; delta 165 net/ipv4/tcp_cubic.c if (ca->epoch_start && delta > 0) { delta 166 net/ipv4/tcp_cubic.c ca->epoch_start += delta; delta 227 net/ipv4/tcp_cubic.c u32 delta, bic_target, max_cnt; delta 290 net/ipv4/tcp_cubic.c delta = (cube_rtt_scale * offs * offs * offs) >> (10+3*BICTCP_HZ); delta 292 net/ipv4/tcp_cubic.c bic_target = ca->bic_origin_point - delta; delta 294 net/ipv4/tcp_cubic.c bic_target = ca->bic_origin_point + delta; delta 315 net/ipv4/tcp_cubic.c delta = (cwnd * scale) >> 3; delta 316 net/ipv4/tcp_cubic.c while (ca->ack_cnt > delta) { /* update tcp cwnd */ delta 317 net/ipv4/tcp_cubic.c ca->ack_cnt -= delta; delta 322 net/ipv4/tcp_cubic.c delta = ca->tcp_cwnd - cwnd; delta 323 net/ipv4/tcp_cubic.c max_cnt = cwnd / delta; delta 277 net/ipv4/tcp_illinois.c u32 delta; delta 286 net/ipv4/tcp_illinois.c delta = (tp->snd_cwnd_cnt * ca->alpha) >> ALPHA_SHIFT; delta 287 net/ipv4/tcp_illinois.c if (delta >= tp->snd_cwnd) { delta 288 net/ipv4/tcp_illinois.c tp->snd_cwnd = min(tp->snd_cwnd + delta / tp->snd_cwnd, delta 587 net/ipv4/tcp_input.c u32 delta = tcp_time_stamp(tp) - tp->rx_opt.rcv_tsecr; delta 590 net/ipv4/tcp_input.c if (likely(delta < INT_MAX / (USEC_PER_SEC / TCP_TS_HZ))) { delta 591 net/ipv4/tcp_input.c if (!delta) delta 592 net/ipv4/tcp_input.c delta = 1; delta 593 net/ipv4/tcp_input.c delta_us = delta * (USEC_PER_SEC / TCP_TS_HZ); delta 2482 net/ipv4/tcp_input.c int delta = tp->snd_ssthresh - tcp_packets_in_flight(tp); delta 2488 net/ipv4/tcp_input.c if (delta < 0) { delta 2494 net/ipv4/tcp_input.c sndcnt = min_t(int, delta, delta 2498 net/ipv4/tcp_input.c sndcnt = min(delta, newly_acked_sacked); delta 2943 net/ipv4/tcp_input.c u32 delta = tcp_time_stamp(tp) - tp->rx_opt.rcv_tsecr; delta 2945 net/ipv4/tcp_input.c if (likely(delta < INT_MAX / (USEC_PER_SEC / TCP_TS_HZ))) { delta 2946 net/ipv4/tcp_input.c seq_rtt_us = delta * (USEC_PER_SEC / TCP_TS_HZ); delta 3221 net/ipv4/tcp_input.c int delta; delta 3227 net/ipv4/tcp_input.c delta = prior_sacked - tp->sacked_out; delta 3228 net/ipv4/tcp_input.c tp->lost_cnt_hint -= min(tp->lost_cnt_hint, delta); delta 3358 net/ipv4/tcp_input.c u32 delta = ack - tp->snd_una; delta 3361 net/ipv4/tcp_input.c tp->bytes_acked += delta; delta 3368 net/ipv4/tcp_input.c u32 delta = seq - tp->rcv_nxt; delta 3371 net/ipv4/tcp_input.c tp->bytes_received += delta; delta 4420 net/ipv4/tcp_input.c int delta; delta 4433 net/ipv4/tcp_input.c if (!skb_try_coalesce(to, from, fragstolen, &delta)) delta 4436 net/ipv4/tcp_input.c atomic_add(delta, &sk->sk_rmem_alloc); delta 4437 net/ipv4/tcp_input.c sk_mem_charge(sk, delta); delta 1658 net/ipv4/tcp_ipv4.c int delta; delta 1712 net/ipv4/tcp_ipv4.c if (skb_try_coalesce(tail, skb, &fragstolen, &delta)) { delta 1744 net/ipv4/tcp_ipv4.c sk->sk_backlog.len += delta; delta 2402 net/ipv4/tcp_ipv4.c long delta = req->rsk_timer.expires - jiffies; delta 2414 net/ipv4/tcp_ipv4.c jiffies_delta_to_clock_t(delta), delta 2489 net/ipv4/tcp_ipv4.c long delta = tw->tw_timer.expires - jiffies; delta 2501 net/ipv4/tcp_ipv4.c 3, jiffies_delta_to_clock_t(delta), 0, 0, 0, 0, delta 269 net/ipv4/tcp_lp.c u32 delta; delta 275 net/ipv4/tcp_lp.c delta = now - tp->rx_opt.rcv_tsecr; delta 276 net/ipv4/tcp_lp.c if ((s32)delta > 0) delta 277 net/ipv4/tcp_lp.c lp->inference = 3 * delta; delta 62 net/ipv4/tcp_offload.c __be32 delta; delta 112 net/ipv4/tcp_offload.c delta = htonl(oldlen + (thlen + mss)); delta 122 net/ipv4/tcp_offload.c (__force u32)delta)); delta 152 net/ipv4/tcp_offload.c int delta; delta 157 net/ipv4/tcp_offload.c delta = sum_truesize - gso_skb->truesize; delta 161 net/ipv4/tcp_offload.c if (likely(delta >= 0)) delta 162 net/ipv4/tcp_offload.c refcount_add(delta, &skb->sk->sk_wmem_alloc); delta 164 net/ipv4/tcp_offload.c WARN_ON_ONCE(refcount_sub_and_test(-delta, &skb->sk->sk_wmem_alloc)); delta 167 net/ipv4/tcp_offload.c delta = htonl(oldlen + (skb_tail_pointer(skb) - delta 171 net/ipv4/tcp_offload.c (__force u32)delta)); delta 140 net/ipv4/tcp_output.c void tcp_cwnd_restart(struct sock *sk, s32 delta) delta 151 net/ipv4/tcp_output.c while ((delta -= inet_csk(sk)->icsk_rto) > 0 && cwnd > restart_cwnd) delta 1617 net/ipv4/tcp_output.c int delta = (int) header_len - tp->tcp_header_len; delta 1618 net/ipv4/tcp_output.c mss_now -= delta; delta 1949 net/ipv4/tcp_output.c s64 delta; delta 1959 net/ipv4/tcp_output.c delta = tp->tcp_clock_cache - tp->tcp_wstamp_ns - NSEC_PER_MSEC; delta 1960 net/ipv4/tcp_output.c if (delta > 0) delta 2007 net/ipv4/tcp_output.c delta = tp->tcp_clock_cache - head->tstamp; delta 2009 net/ipv4/tcp_output.c if ((s64)(delta - (u64)NSEC_PER_USEC * (tp->srtt_us >> 4)) < 0) delta 2047 net/ipv4/tcp_output.c s32 delta; delta 2050 net/ipv4/tcp_output.c delta = tcp_jiffies32 - icsk->icsk_mtup.probe_timestamp; delta 2051 net/ipv4/tcp_output.c if (unlikely(delta >= interval * HZ)) { delta 86 net/ipv4/tcp_westwood.c static void westwood_filter(struct westwood *w, u32 delta) delta 90 net/ipv4/tcp_westwood.c w->bw_ns_est = w->bk / delta; delta 93 net/ipv4/tcp_westwood.c w->bw_ns_est = westwood_do_filter(w->bw_ns_est, w->bk / delta); delta 120 net/ipv4/tcp_westwood.c s32 delta = tcp_jiffies32 - w->rtt_win_sx; delta 140 net/ipv4/tcp_westwood.c if (w->rtt && delta > max_t(u32, w->rtt, TCP_WESTWOOD_RTT_MIN)) { delta 141 net/ipv4/tcp_westwood.c westwood_filter(w, delta); delta 1450 net/ipv4/udp.c int rmem, delta, amt, err = -ENOMEM; delta 1485 net/ipv4/udp.c delta = amt << SK_MEM_QUANTUM_SHIFT; delta 1486 net/ipv4/udp.c if (!__sk_mem_raise_allocated(sk, delta, amt, SK_MEM_RECV)) { delta 1492 net/ipv4/udp.c sk->sk_forward_alloc += delta; delta 274 net/ipv4/udp_offload.c int delta = sum_truesize - gso_skb->truesize; delta 279 net/ipv4/udp_offload.c if (likely(delta >= 0)) delta 280 net/ipv4/udp_offload.c refcount_add(delta, &sk->sk_wmem_alloc); delta 282 net/ipv4/udp_offload.c WARN_ON_ONCE(refcount_sub_and_test(-delta, &sk->sk_wmem_alloc)); delta 979 net/ipv6/calipso.c unsigned int start, end, delta, pad, hop_len; delta 992 net/ipv6/calipso.c delta = (end - start) & ~7; delta 993 net/ipv6/calipso.c *new = kzalloc(hop_len - delta, GFP_ATOMIC); delta 998 net/ipv6/calipso.c (*new)->hdrlen -= delta / 8; delta 1378 net/ipv6/calipso.c u32 old_hop_len, start = 0, end = 0, delta, size, pad; delta 1399 net/ipv6/calipso.c delta = old_hop_len; delta 1403 net/ipv6/calipso.c delta = (end - start) & ~7; delta 1404 net/ipv6/calipso.c if (delta) delta 1405 net/ipv6/calipso.c old_hop->hdrlen -= delta / 8; delta 1411 net/ipv6/calipso.c if (delta) { delta 1412 net/ipv6/calipso.c skb_pull(skb, delta); delta 1413 net/ipv6/calipso.c memmove((char *)ip6_hdr + delta, ip6_hdr, size); delta 88 net/ipv6/mcast.c int delta); delta 91 net/ipv6/mcast.c int delta); delta 2167 net/ipv6/mcast.c int delta) delta 2187 net/ipv6/mcast.c if (!delta) { delta 2331 net/ipv6/mcast.c int delta) delta 2353 net/ipv6/mcast.c if (!delta) delta 2364 net/ipv6/mcast.c if (!delta) delta 1933 net/ipv6/tcp_ipv6.c long delta = tw->tw_timer.expires - jiffies; delta 1951 net/ipv6/tcp_ipv6.c 3, jiffies_delta_to_clock_t(delta), 0, 0, 0, 0, delta 62 net/mac80211/key.c update_vlan_tailroom_need_count(struct ieee80211_sub_if_data *sdata, int delta) delta 75 net/mac80211/key.c vlan->crypto_tx_tailroom_needed_cnt += delta; delta 115 net/mac80211/key.c int delta) delta 119 net/mac80211/key.c WARN_ON_ONCE(sdata->crypto_tx_tailroom_needed_cnt < delta); delta 121 net/mac80211/key.c update_vlan_tailroom_need_count(sdata, -delta); delta 122 net/mac80211/key.c sdata->crypto_tx_tailroom_needed_cnt -= delta; delta 249 net/mac80211/led.c unsigned long traffic, delta; delta 253 net/mac80211/led.c delta = traffic - tpt_trig->prev_traffic; delta 255 net/mac80211/led.c return DIV_ROUND_UP(delta, 1024 / 8); delta 340 net/mac80211/rc80211_minstrel.c int delta; delta 365 net/mac80211/rc80211_minstrel.c delta = (mi->total_packets * sampling_ratio / 100) - delta 371 net/mac80211/rc80211_minstrel.c if (delta < 0 || (!mrr_capable && prev_sample)) delta 378 net/mac80211/rc80211_minstrel.c } else if (delta > mi->n_rates * 2) { delta 388 net/mac80211/rc80211_minstrel.c mi->sample_packets += (delta - mi->n_rates * 2); delta 297 net/netfilter/ipvs/ip_vs_app.c if (vseq->delta || vseq->previous_delta) { delta 299 net/netfilter/ipvs/ip_vs_app.c th->seq = htonl(seq + vseq->delta); delta 301 net/netfilter/ipvs/ip_vs_app.c __func__, vseq->delta); delta 324 net/netfilter/ipvs/ip_vs_app.c if (vseq->delta || vseq->previous_delta) { delta 327 net/netfilter/ipvs/ip_vs_app.c if(after(ack_seq, vseq->init_seq+vseq->delta)) { delta 328 net/netfilter/ipvs/ip_vs_app.c th->ack_seq = htonl(ack_seq - vseq->delta); delta 330 net/netfilter/ipvs/ip_vs_app.c "(%d) from ack_seq\n", __func__, vseq->delta); delta 352 net/netfilter/ipvs/ip_vs_app.c vseq->previous_delta = vseq->delta; delta 353 net/netfilter/ipvs/ip_vs_app.c vseq->delta += diff; delta 959 net/netfilter/ipvs/ip_vs_conn.c cp->in_seq.delta = 0; delta 960 net/netfilter/ipvs/ip_vs_conn.c cp->out_seq.delta = 0; delta 291 net/netfilter/ipvs/ip_vs_sync.c ho->delta = get_unaligned_be32(&no->delta); delta 302 net/netfilter/ipvs/ip_vs_sync.c put_unaligned_be32(ho->delta, &no->delta); delta 31 net/netfilter/nft_limit.c s64 delta; delta 40 net/netfilter/nft_limit.c delta = tokens - cost; delta 41 net/netfilter/nft_limit.c if (delta >= 0) { delta 42 net/netfilter/nft_limit.c limit->tokens = delta; delta 43 net/netfilter/x_tables.c int delta; /* delta in 32bit user land */ delta 643 net/netfilter/x_tables.c int xt_compat_add_offset(u_int8_t af, unsigned int offset, int delta) delta 656 net/netfilter/x_tables.c delta += xp->compat_tab[xp->cur - 1].delta; delta 658 net/netfilter/x_tables.c xp->compat_tab[xp->cur].delta = delta; delta 689 net/netfilter/x_tables.c return mid ? tmp[mid - 1].delta : 0; delta 691 net/netfilter/x_tables.c return left ? tmp[left - 1].delta : 0; delta 532 net/netfilter/xt_hashlimit.c unsigned long delta = now - dh->rateinfo.prev; delta 535 net/netfilter/xt_hashlimit.c if (delta == 0) delta 541 net/netfilter/xt_hashlimit.c if (delta < interval) delta 547 net/netfilter/xt_hashlimit.c (delta * dh->rateinfo.rate)); delta 557 net/netfilter/xt_hashlimit.c dh->rateinfo.credit += CREDITS_PER_JIFFY_BYTES * delta; delta 566 net/netfilter/xt_hashlimit.c dh->rateinfo.credit += delta * cpj; delta 1270 net/netlink/af_netlink.c int delta; delta 1273 net/netlink/af_netlink.c delta = skb->end - skb->tail; delta 1274 net/netlink/af_netlink.c if (is_vmalloc_addr(skb->head) || delta * 2 < skb->truesize) delta 1285 net/netlink/af_netlink.c pskb_expand_head(skb, 0, -delta, delta 89 net/rds/recv.c int delta, __be16 port) delta 93 net/rds/recv.c if (delta == 0) delta 96 net/rds/recv.c rs->rs_rcv_bytes += delta; delta 97 net/rds/recv.c if (delta > 0) delta 98 net/rds/recv.c rds_stats_add(s_recv_bytes_added_to_socket, delta); delta 100 net/rds/recv.c rds_stats_add(s_recv_bytes_removed_from_socket, -delta); delta 112 net/rds/recv.c rds_sk_rcvbuf(rs), now_congested, delta); delta 260 net/sched/sch_codel.c codel_tdiff_t delta = q->vars.drop_next - codel_get_time(); delta 262 net/sched/sch_codel.c if (delta >= 0) delta 263 net/sched/sch_codel.c st.drop_next = codel_time_to_us(delta); delta 265 net/sched/sch_codel.c st.drop_next = -codel_time_to_us(-delta); delta 33 net/sched/sch_etf.c s32 delta; /* in ns */ delta 67 net/sched/sch_etf.c if (qopt->delta < 0) { delta 131 net/sched/sch_etf.c next = ktime_sub_ns(skb->tstamp, q->delta); delta 281 net/sched/sch_etf.c next = ktime_sub_ns(skb->tstamp, q->delta); delta 374 net/sched/sch_etf.c qopt->delta, qopt->clockid, delta 391 net/sched/sch_etf.c q->delta = qopt->delta; delta 476 net/sched/sch_etf.c opt.delta = q->delta; delta 636 net/sched/sch_fq_codel.c codel_tdiff_t delta = flow->cvars.drop_next - delta 639 net/sched/sch_fq_codel.c xstats.class_stats.drop_next = (delta >= 0) ? delta 640 net/sched/sch_fq_codel.c codel_time_to_us(delta) : delta 641 net/sched/sch_fq_codel.c -codel_time_to_us(-delta); delta 815 net/sched/sch_hfsc.c delta = cur_time - cl->cl_myf; delta 816 net/sched/sch_hfsc.c cl->cl_myfadj += delta; delta 817 net/sched/sch_hfsc.c cl->cl_myf += delta; delta 336 net/sched/sch_pie.c s64 delta = 0; /* determines the change in probability */ delta 382 net/sched/sch_pie.c delta += alpha * (u64)(qdelay - q->params.target); delta 383 net/sched/sch_pie.c delta += beta * (u64)(qdelay - qdelay_old); delta 388 net/sched/sch_pie.c if (delta > (s64)(MAX_PROB / (100 / 2)) && delta 390 net/sched/sch_pie.c delta = (MAX_PROB / 100) * 2; delta 398 net/sched/sch_pie.c delta += MAX_PROB / (100 / 2); delta 400 net/sched/sch_pie.c q->vars.prob += delta; delta 402 net/sched/sch_pie.c if (delta > 0) { delta 354 net/sched/sch_sfq.c int delta; delta 431 net/sched/sch_sfq.c delta = qdisc_pkt_len(head) - qdisc_pkt_len(skb); delta 432 net/sched/sch_sfq.c sch->qstats.backlog -= delta; delta 433 net/sched/sch_sfq.c slot->backlog -= delta; delta 437 net/sched/sch_sfq.c qdisc_tree_reduce_backlog(sch, 0, delta); delta 581 net/sunrpc/xprt.c s64 delta = ktime_to_ns(ktime_get() - abstime); delta 582 net/sunrpc/xprt.c return likely(delta >= 0) ? delta 583 net/sunrpc/xprt.c jiffies - nsecs_to_jiffies(delta) : delta 584 net/sunrpc/xprt.c jiffies + nsecs_to_jiffies(-delta); delta 220 net/sunrpc/xprtrdma/frwr_ops.c int max_qp_wr, depth, delta; delta 254 net/sunrpc/xprtrdma/frwr_ops.c delta = RPCRDMA_MAX_DATA_SEGS - ia->ri_max_frwr_depth; delta 257 net/sunrpc/xprtrdma/frwr_ops.c delta -= ia->ri_max_frwr_depth; delta 258 net/sunrpc/xprtrdma/frwr_ops.c } while (delta > 0); delta 450 net/tipc/bearer.c int delta; delta 456 net/tipc/bearer.c delta = SKB_DATA_ALIGN(dev->hard_header_len - skb_headroom(skb)); delta 457 net/tipc/bearer.c if ((delta > 0) && pskb_expand_head(skb, delta, 0, GFP_ATOMIC)) { delta 129 net/tipc/msg.c int delta; delta 161 net/tipc/msg.c if (skb_try_coalesce(head, frag, &headstolen, &delta)) { delta 198 net/tls/tls_device_fallback.c int delta; delta 216 net/tls/tls_device_fallback.c delta = nskb->truesize - skb->truesize; delta 217 net/tls/tls_device_fallback.c if (likely(delta < 0)) delta 218 net/tls/tls_device_fallback.c WARN_ON_ONCE(refcount_sub_and_test(-delta, &sk->sk_wmem_alloc)); delta 219 net/tls/tls_device_fallback.c else if (delta) delta 220 net/tls/tls_device_fallback.c refcount_add(delta, &sk->sk_wmem_alloc); delta 794 net/tls/tls_sw.c u32 delta = 0; delta 812 net/tls/tls_sw.c delta = msg->sg.size; delta 814 net/tls/tls_sw.c delta -= msg->sg.size; delta 864 net/tls/tls_sw.c *copied -= (send + delta); delta 7348 net/wireless/nl80211.c bss_select->param.adjust.delta = adj_param->delta; delta 8223 net/wireless/nl80211.c request->rssi_adjust.delta = rssi_adjust->delta; delta 11242 net/wireless/nl80211.c rssi_adjust.delta = req->rssi_adjust.delta; delta 794 net/xfrm/xfrm_policy.c int delta = 0; delta 807 net/xfrm/xfrm_policy.c delta = memcmp(a->a6, b->a6, pdw << 2); delta 808 net/xfrm/xfrm_policy.c if (delta) delta 809 net/xfrm/xfrm_policy.c return delta; delta 814 net/xfrm/xfrm_policy.c delta = (ntohl(a->a6[pdw]) & mask) - delta 822 net/xfrm/xfrm_policy.c return delta; delta 903 net/xfrm/xfrm_policy.c int delta; delta 910 net/xfrm/xfrm_policy.c delta = xfrm_policy_addr_delta(&n->addr, &node->addr, delta 912 net/xfrm/xfrm_policy.c if (delta < 0) { delta 914 net/xfrm/xfrm_policy.c } else if (delta > 0) { delta 986 net/xfrm/xfrm_policy.c int delta; delta 991 net/xfrm/xfrm_policy.c delta = xfrm_policy_addr_delta(addr, &node->addr, delta 994 net/xfrm/xfrm_policy.c if (delta == 0 && prefixlen >= node->prefixlen) { delta 999 net/xfrm/xfrm_policy.c if (delta < 0) delta 1005 net/xfrm/xfrm_policy.c delta = xfrm_policy_addr_delta(addr, &node->addr, delta 1008 net/xfrm/xfrm_policy.c if (delta) delta 1918 net/xfrm/xfrm_policy.c int delta; delta 1922 net/xfrm/xfrm_policy.c delta = xfrm_policy_addr_delta(addr, &node->addr, delta 1924 net/xfrm/xfrm_policy.c if (delta < 0) { delta 1927 net/xfrm/xfrm_policy.c } else if (delta > 0) { delta 106 samples/bpf/cpustat_kern.c u64 *cts, *pts, *cstate, *pstate, prev_state, cur_ts, delta; delta 144 samples/bpf/cpustat_kern.c delta = cur_ts - *cts; delta 169 samples/bpf/cpustat_kern.c delta = cur_ts - *pts; delta 178 samples/bpf/cpustat_kern.c __sync_fetch_and_add((long *)val, delta); delta 201 samples/bpf/cpustat_kern.c __sync_fetch_and_add((long *)val, delta); delta 214 samples/bpf/cpustat_kern.c u64 *pts, *cstate, *pstate, prev_state, cur_ts, delta; delta 244 samples/bpf/cpustat_kern.c delta = cur_ts - *pts; delta 275 samples/bpf/cpustat_kern.c __sync_fetch_and_add((long *)val, delta); delta 58 samples/bpf/hbm_edt_kern.c long long delta = 0, delta_send; delta 93 samples/bpf/hbm_edt_kern.c delta = qdp->lasttime - curtime; delta 95 samples/bpf/hbm_edt_kern.c if (delta < -BURST_SIZE_NS) { delta 98 samples/bpf/hbm_edt_kern.c delta = -BURST_SIZE_NS; delta 115 samples/bpf/hbm_edt_kern.c if (delta > DROP_THRESH_NS || (delta > LARGE_PKT_DROP_THRESH_NS && delta 120 samples/bpf/hbm_edt_kern.c } else if (delta > MARK_THRESH_NS) { delta 134 samples/bpf/hbm_edt_kern.c if (delta >= MARK_THRESH_NS + delta 157 samples/bpf/hbm_edt_kern.c cwr_flag, ecn_ce_flag, &pkti, (int) delta); delta 58 samples/bpf/hbm_kern.h #define CREDIT_PER_NS(delta, rate) ((((u64)(delta)) * (rate)) >> 20) delta 59 samples/bpf/hbm_kern.h #define BYTES_PER_NS(delta, rate) ((((u64)(delta)) * (rate)) >> 20) delta 65 samples/bpf/hbm_out_kern.c signed long long delta = 0, new_credit; delta 96 samples/bpf/hbm_out_kern.c delta = curtime - qdp->lasttime; delta 101 samples/bpf/hbm_out_kern.c if (delta > 0) { delta 103 samples/bpf/hbm_out_kern.c new_credit = credit + CREDIT_PER_NS(delta, qdp->rate); delta 74 samples/bpf/lathist_kern.c u64 *ts, cur_ts, delta; delta 84 samples/bpf/lathist_kern.c delta = log2l(cur_ts - *ts); delta 86 samples/bpf/lathist_kern.c if (delta > MAX_ENTRIES - 1) delta 87 samples/bpf/lathist_kern.c delta = MAX_ENTRIES - 1; delta 89 samples/bpf/lathist_kern.c key = cpu * MAX_ENTRIES + delta; delta 76 samples/bpf/offwaketime_kern.c static inline int update_counts(void *ctx, u32 pid, u64 delta) delta 101 samples/bpf/offwaketime_kern.c (*val) += delta; delta 130 samples/bpf/offwaketime_kern.c u64 delta, ts, *tsp; delta 142 samples/bpf/offwaketime_kern.c delta = bpf_ktime_get_ns() - *tsp; delta 144 samples/bpf/offwaketime_kern.c delta = delta / 1000; delta 145 samples/bpf/offwaketime_kern.c if (delta < MINBLOCK_US) delta 148 samples/bpf/offwaketime_kern.c return update_counts(ctx, pid, delta); delta 63 samples/bpf/tracex3_kern.c u64 delta = cur_time - *value; delta 75 samples/bpf/tracex3_kern.c l = log2l(delta); delta 77 samples/bpf/tracex3_kern.c index = (l * 64 + (delta - base) * 64 / base) * 3 / 64; delta 61 samples/kprobes/kretprobe_example.c s64 delta; delta 65 samples/kprobes/kretprobe_example.c delta = ktime_to_ns(ktime_sub(now, data->entry_stamp)); delta 67 samples/kprobes/kretprobe_example.c func_name, retval, (long long)delta); delta 117 scripts/dtc/libfdt/fdt_overlay.c const char *name, uint32_t delta) delta 131 scripts/dtc/libfdt/fdt_overlay.c if ((adj_val + delta) < adj_val) delta 134 scripts/dtc/libfdt/fdt_overlay.c adj_val += delta; delta 157 scripts/dtc/libfdt/fdt_overlay.c uint32_t delta) delta 162 scripts/dtc/libfdt/fdt_overlay.c ret = overlay_phandle_add_offset(fdto, node, "phandle", delta); delta 166 scripts/dtc/libfdt/fdt_overlay.c ret = overlay_phandle_add_offset(fdto, node, "linux,phandle", delta); delta 171 scripts/dtc/libfdt/fdt_overlay.c ret = overlay_adjust_node_phandles(fdto, child, delta); delta 193 scripts/dtc/libfdt/fdt_overlay.c static int overlay_adjust_local_phandles(void *fdto, uint32_t delta) delta 198 scripts/dtc/libfdt/fdt_overlay.c return overlay_adjust_node_phandles(fdto, 0, delta); delta 223 scripts/dtc/libfdt/fdt_overlay.c uint32_t delta) delta 267 scripts/dtc/libfdt/fdt_overlay.c adj_val = cpu_to_fdt32(fdt32_to_cpu(adj_val) + delta); delta 299 scripts/dtc/libfdt/fdt_overlay.c delta); delta 324 scripts/dtc/libfdt/fdt_overlay.c static int overlay_update_local_references(void *fdto, uint32_t delta) delta 341 scripts/dtc/libfdt/fdt_overlay.c delta); delta 821 scripts/dtc/libfdt/fdt_overlay.c uint32_t delta; delta 827 scripts/dtc/libfdt/fdt_overlay.c ret = fdt_find_max_phandle(fdt, &delta); delta 831 scripts/dtc/libfdt/fdt_overlay.c ret = overlay_adjust_local_phandles(fdto, delta); delta 835 scripts/dtc/libfdt/fdt_overlay.c ret = overlay_update_local_references(fdto, delta); delta 70 scripts/dtc/libfdt/fdt_rw.c int delta = (newn - oldn) * sizeof(*p); delta 75 scripts/dtc/libfdt/fdt_rw.c fdt_set_off_dt_struct(fdt, fdt_off_dt_struct(fdt) + delta); delta 76 scripts/dtc/libfdt/fdt_rw.c fdt_set_off_dt_strings(fdt, fdt_off_dt_strings(fdt) + delta); delta 83 scripts/dtc/libfdt/fdt_rw.c int delta = newlen - oldlen; delta 89 scripts/dtc/libfdt/fdt_rw.c fdt_set_size_dt_struct(fdt, fdt_size_dt_struct(fdt) + delta); delta 90 scripts/dtc/libfdt/fdt_rw.c fdt_set_off_dt_strings(fdt, fdt_off_dt_strings(fdt) + delta); delta 371 security/keys/key.c int delta = (int)datalen - key->datalen; delta 377 security/keys/key.c if (delta != 0 && test_bit(KEY_FLAG_IN_QUOTA, &key->flags)) { delta 383 security/keys/key.c if (delta > 0 && delta 384 security/keys/key.c (key->user->qnbytes + delta > maxbytes || delta 385 security/keys/key.c key->user->qnbytes + delta < key->user->qnbytes)) { delta 389 security/keys/key.c key->user->qnbytes += delta; delta 390 security/keys/key.c key->quotalen += delta; delta 34 sound/core/hrtimer.c ktime_t delta; delta 46 sound/core/hrtimer.c delta = ktime_sub(hrt->base->get_time(), hrtimer_get_expires(hrt)); delta 47 sound/core/hrtimer.c if (delta > 0) delta 48 sound/core/hrtimer.c ticks += ktime_divns(delta, ticks * resolution); delta 253 sound/core/pcm_lib.c snd_pcm_sframes_t hdelta, delta; delta 307 sound/core/pcm_lib.c delta = runtime->hw_ptr_interrupt + runtime->period_size; delta 308 sound/core/pcm_lib.c if (delta > new_hw_ptr) { delta 333 sound/core/pcm_lib.c delta = new_hw_ptr - old_hw_ptr; delta 334 sound/core/pcm_lib.c if (delta < 0) delta 335 sound/core/pcm_lib.c delta += runtime->boundary; delta 346 sound/core/pcm_lib.c hdelta = jdelta - delta * HZ / runtime->rate; delta 349 sound/core/pcm_lib.c delta += runtime->buffer_size; delta 362 sound/core/pcm_lib.c if (delta >= runtime->buffer_size + runtime->period_size) { delta 380 sound/core/pcm_lib.c hdelta = delta; delta 386 sound/core/pcm_lib.c delta = jdelta / delta 391 sound/core/pcm_lib.c hw_base = delta; delta 394 sound/core/pcm_lib.c while (delta > 0) { delta 400 sound/core/pcm_lib.c delta--; delta 411 sound/core/pcm_lib.c delta = 0; delta 415 sound/core/pcm_lib.c if (delta > runtime->period_size + runtime->period_size / 2) { delta 419 sound/core/pcm_lib.c substream->stream, (long)delta, delta 436 sound/core/pcm_lib.c delta = new_hw_ptr - runtime->hw_ptr_interrupt; delta 437 sound/core/pcm_lib.c if (delta < 0) delta 438 sound/core/pcm_lib.c delta += runtime->boundary; delta 439 sound/core/pcm_lib.c delta -= (snd_pcm_uframes_t)delta % runtime->period_size; delta 440 sound/core/pcm_lib.c runtime->hw_ptr_interrupt += delta; delta 437 sound/drivers/aloop.c unsigned int delta; delta 441 sound/drivers/aloop.c delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; delta 442 sound/drivers/aloop.c if (delta >= dpcm->last_drift) delta 443 sound/drivers/aloop.c delta -= dpcm->last_drift; delta 449 sound/drivers/aloop.c return delta; delta 453 sound/drivers/aloop.c unsigned int delta) delta 455 sound/drivers/aloop.c dpcm->buf_pos += delta; delta 244 sound/drivers/dummy.c unsigned long delta; delta 246 sound/drivers/dummy.c delta = jiffies - dpcm->base_time; delta 247 sound/drivers/dummy.c if (!delta) delta 249 sound/drivers/dummy.c dpcm->base_time += delta; delta 250 sound/drivers/dummy.c delta *= dpcm->rate; delta 251 sound/drivers/dummy.c dpcm->frac_pos += delta; delta 254 sound/drivers/dummy.c while (dpcm->frac_period_rest <= delta) { delta 258 sound/drivers/dummy.c dpcm->frac_period_rest -= delta; delta 416 sound/drivers/dummy.c u64 delta; delta 419 sound/drivers/dummy.c delta = ktime_us_delta(hrtimer_cb_get_time(&dpcm->timer), delta 421 sound/drivers/dummy.c delta = div_u64(delta * runtime->rate + 999999, 1000000); delta 422 sound/drivers/dummy.c div_u64_rem(delta, runtime->buffer_size, &pos); delta 186 sound/isa/sb/emu8000_pcm.c int ptr, delta; delta 192 sound/isa/sb/emu8000_pcm.c delta = ptr + rec->buf_size - rec->last_ptr; delta 194 sound/isa/sb/emu8000_pcm.c delta = ptr - rec->last_ptr; delta 195 sound/isa/sb/emu8000_pcm.c rec->period_pos += delta; delta 1015 sound/pci/ali5451/ali5451.c unsigned int delta; delta 1024 sound/pci/ali5451/ali5451.c delta = 0x116a; delta 1026 sound/pci/ali5451/ali5451.c delta = 0x6000; delta 1028 sound/pci/ali5451/ali5451.c delta = 0x1000; delta 1030 sound/pci/ali5451/ali5451.c delta = ((48000 << 12) / rate) & 0x0000ffff; delta 1033 sound/pci/ali5451/ali5451.c delta = 0xeb3; delta 1035 sound/pci/ali5451/ali5451.c delta = 0x2ab; delta 1037 sound/pci/ali5451/ali5451.c delta = 0x1000; delta 1039 sound/pci/ali5451/ali5451.c delta = (((rate << 12) + rate) / 48000) & 0x0000ffff; delta 1042 sound/pci/ali5451/ali5451.c return delta; delta 1167 sound/pci/au88x0/au88x0_core.c int page, p, pp, delta, i; delta 1173 sound/pci/au88x0/au88x0_core.c delta = (page - dma->period_real) & 3; delta 1175 sound/pci/au88x0/au88x0_core.c delta = (page - dma->period_real); delta 1176 sound/pci/au88x0/au88x0_core.c if (delta < 0) delta 1177 sound/pci/au88x0/au88x0_core.c delta += dma->nr_periods; delta 1179 sound/pci/au88x0/au88x0_core.c if (delta == 0) delta 1184 sound/pci/au88x0/au88x0_core.c for (i = 0; i < delta; i++) { delta 1203 sound/pci/au88x0/au88x0_core.c dma->period_virt += delta; delta 1207 sound/pci/au88x0/au88x0_core.c if (delta != 1) delta 1210 sound/pci/au88x0/au88x0_core.c adbdma, dma->period_virt, dma->period_real, delta); delta 1212 sound/pci/au88x0/au88x0_core.c return delta; delta 1248 sound/pci/au88x0/au88x0_core.c int temp, page, delta; delta 1253 sound/pci/au88x0/au88x0_core.c delta = (page - dma->period_real) & 3; delta 1255 sound/pci/au88x0/au88x0_core.c delta = (page - dma->period_real); delta 1256 sound/pci/au88x0/au88x0_core.c if (delta < 0) delta 1257 sound/pci/au88x0/au88x0_core.c delta += dma->nr_periods; delta 1259 sound/pci/au88x0/au88x0_core.c return (dma->period_virt + delta) * dma->period_bytes delta 1438 sound/pci/au88x0/au88x0_core.c int page, p, pp, delta, i; delta 1444 sound/pci/au88x0/au88x0_core.c delta = (page - dma->period_real) & 3; delta 1446 sound/pci/au88x0/au88x0_core.c delta = (page - dma->period_real); delta 1447 sound/pci/au88x0/au88x0_core.c if (delta < 0) delta 1448 sound/pci/au88x0/au88x0_core.c delta += dma->nr_periods; delta 1450 sound/pci/au88x0/au88x0_core.c if (delta == 0) delta 1455 sound/pci/au88x0/au88x0_core.c for (i = 0; i < delta; i++) { delta 1474 sound/pci/au88x0/au88x0_core.c dma->period_virt += delta; delta 1479 sound/pci/au88x0/au88x0_core.c if (delta != 1) delta 1481 sound/pci/au88x0/au88x0_core.c dma->period_virt, delta); delta 1483 sound/pci/au88x0/au88x0_core.c return delta; delta 611 sound/pci/cmipci.c unsigned int delta, tolerance; delta 626 sound/pci/cmipci.c delta = rate - xr; delta 628 sound/pci/cmipci.c delta = xr - rate; delta 634 sound/pci/cmipci.c if (delta < tolerance) { delta 635 sound/pci/cmipci.c tolerance = delta; delta 948 sound/pci/cs46xx/cs46xx_dsp_scb_types.h delta, delta 999 sound/pci/cs46xx/cs46xx_dsp_scb_types.h delta, delta 2859 sound/pci/hda/hda_codec.c unsigned long delta = jiffies - codec->power_jiffies; delta 2862 sound/pci/hda/hda_codec.c codec->power_on_acct += delta; delta 2864 sound/pci/hda/hda_codec.c codec->power_off_acct += delta; delta 2865 sound/pci/hda/hda_codec.c codec->power_jiffies += delta; delta 360 sound/pci/rme9652/rme9652.c snd_pcm_sframes_t delta; delta 371 sound/pci/rme9652/rme9652.c delta = rme9652->prev_hw_offset - offset; delta 372 sound/pci/rme9652/rme9652.c delta &= 0xffff; delta 373 sound/pci/rme9652/rme9652.c if (delta <= (snd_pcm_sframes_t)rme9652->max_jitter * 4) delta 349 sound/pci/sis7019.c u32 delta; delta 360 sound/pci/sis7019.c delta = 0xeb3; delta 362 sound/pci/sis7019.c delta = 0x2ab; delta 364 sound/pci/sis7019.c delta = 0x1000; delta 366 sound/pci/sis7019.c delta = (((rate << 12) + 24000) / 48000) & 0x0000ffff; delta 367 sound/pci/sis7019.c return delta; delta 520 sound/pci/sis7019.c u32 format, dma_addr, control, sso_eso, delta, reg; delta 555 sound/pci/sis7019.c delta = sis_rate_to_delta(runtime->rate); delta 568 sound/pci/sis7019.c writel(delta << 16, wave_base + SIS_WAVE_GENERAL_ARTICULATION); delta 724 sound/pci/sis7019.c u32 format, control, sso_eso, delta; delta 798 sound/pci/sis7019.c delta = sis_rate_to_delta(runtime->rate); delta 811 sound/pci/sis7019.c writel(delta << 16, wave_base + SIS_WAVE_GENERAL_ARTICULATION); delta 668 sound/pci/trident/trident_main.c unsigned int delta; delta 675 sound/pci/trident/trident_main.c delta = 0xeb3; delta 677 sound/pci/trident/trident_main.c delta = 0x2ab; delta 679 sound/pci/trident/trident_main.c delta = 0x1000; delta 681 sound/pci/trident/trident_main.c delta = (((rate << 12) + 24000) / 48000) & 0x0000ffff; delta 682 sound/pci/trident/trident_main.c return delta; delta 698 sound/pci/trident/trident_main.c unsigned int delta; delta 705 sound/pci/trident/trident_main.c delta = 0x116a; delta 707 sound/pci/trident/trident_main.c delta = 0x6000; delta 709 sound/pci/trident/trident_main.c delta = 0x1000; delta 711 sound/pci/trident/trident_main.c delta = ((48000 << 12) / rate) & 0x0000ffff; delta 712 sound/pci/trident/trident_main.c return delta; delta 3707 sound/pci/trident/trident_main.c int delta; delta 3734 sound/pci/trident/trident_main.c delta = (int)stimer - (int)voice->stimer; delta 3735 sound/pci/trident/trident_main.c if (delta < 0) delta 3736 sound/pci/trident/trident_main.c delta = -delta; delta 3737 sound/pci/trident/trident_main.c if ((unsigned int)delta < voice->spurious_threshold) { delta 3740 sound/pci/trident/trident_main.c if (trident->spurious_irq_max_delta < (unsigned int)delta) delta 3741 sound/pci/trident/trident_main.c trident->spurious_irq_max_delta = delta; delta 795 sound/pci/via82xx.c int delta = res - viadev->lastpos; delta 796 sound/pci/via82xx.c if (delta < 0) delta 797 sound/pci/via82xx.c delta += viadev->bufsize; delta 798 sound/pci/via82xx.c if ((unsigned int)delta > viadev->fragsize) delta 193 sound/pci/ymfpci/ymfpci.h __le32 delta; delta 293 sound/pci/ymfpci/ymfpci_main.c u32 pos, delta; delta 303 sound/pci/ymfpci/ymfpci_main.c delta = pos + (ypcm->buffer_size - ypcm->last_pos); delta 305 sound/pci/ymfpci/ymfpci_main.c delta = pos - ypcm->last_pos; delta 306 sound/pci/ymfpci/ymfpci_main.c ypcm->period_pos += delta; delta 349 sound/pci/ymfpci/ymfpci_main.c u32 pos, delta; delta 355 sound/pci/ymfpci/ymfpci_main.c delta = pos + (ypcm->buffer_size - ypcm->last_pos); delta 357 sound/pci/ymfpci/ymfpci_main.c delta = pos - ypcm->last_pos; delta 358 sound/pci/ymfpci/ymfpci_main.c ypcm->period_pos += delta; delta 489 sound/pci/ymfpci/ymfpci_main.c u32 delta = snd_ymfpci_calc_delta(runtime->rate); delta 543 sound/pci/ymfpci/ymfpci_main.c bank->delta = delta 544 sound/pci/ymfpci/ymfpci_main.c bank->delta_end = cpu_to_le32(delta); delta 156 sound/soc/sti/uniperif_player.c int rate_adjusted, rate_achieved, delta, ret; delta 176 sound/soc/sti/uniperif_player.c delta = -1; delta 179 sound/soc/sti/uniperif_player.c delta = 1; delta 182 sound/soc/sti/uniperif_player.c delta *= (int)div64_u64((uint64_t)rate * delta 184 sound/soc/sti/uniperif_player.c rate_adjusted = rate + delta; delta 203 sound/soc/sti/uniperif_player.c delta = rate_achieved - rate; delta 204 sound/soc/sti/uniperif_player.c if (delta < 0) { delta 206 sound/soc/sti/uniperif_player.c delta = -delta; delta 212 sound/soc/sti/uniperif_player.c adjustment *= (int)div64_u64((uint64_t)delta * 1000000 + rate / 2, delta 580 sound/xen/xen_snd_front_alsa.c snd_pcm_uframes_t delta, new_hw_ptr, cur_frame; delta 584 sound/xen/xen_snd_front_alsa.c delta = cur_frame - stream->be_cur_frame; delta 588 sound/xen/xen_snd_front_alsa.c new_hw_ptr = (new_hw_ptr + delta) % substream->runtime->buffer_size; delta 591 sound/xen/xen_snd_front_alsa.c stream->out_frames += delta; delta 820 tools/include/uapi/drm/i915_drm.h __u32 delta; delta 988 tools/include/uapi/linux/pkt_sched.h __s32 delta; delta 281 tools/lib/traceevent/kbuffer-parse.c unsigned int delta; delta 290 tools/lib/traceevent/kbuffer-parse.c delta = ts4host(kbuf, type_len_ts); delta 300 tools/lib/traceevent/kbuffer-parse.c extend += delta; delta 301 tools/lib/traceevent/kbuffer-parse.c delta = extend; delta 323 tools/lib/traceevent/kbuffer-parse.c kbuf->timestamp += delta; delta 346 tools/lib/traceevent/kbuffer-parse.c unsigned long long *delta, int *length) delta 356 tools/lib/traceevent/kbuffer-parse.c *delta = ts4host(kbuf, type_len_ts); delta 367 tools/lib/traceevent/kbuffer-parse.c extend += *delta; delta 368 tools/lib/traceevent/kbuffer-parse.c *delta = extend; delta 393 tools/lib/traceevent/kbuffer-parse.c unsigned long long delta; delta 398 tools/lib/traceevent/kbuffer-parse.c type_len = translate_data(kbuf, ptr, &ptr, &delta, &length); delta 400 tools/lib/traceevent/kbuffer-parse.c kbuf->timestamp += delta; delta 419 tools/lib/traceevent/kbuffer-parse.c unsigned long long delta; delta 435 tools/lib/traceevent/kbuffer-parse.c type_len = translate_data(&kbuf, data, &ptr, &delta, &length); delta 748 tools/lib/traceevent/kbuffer-parse.c unsigned long long delta; delta 769 tools/lib/traceevent/kbuffer-parse.c type_len = translate_data(kbuf, ptr, &ptr, &delta, &length); delta 774 tools/lib/traceevent/kbuffer-parse.c info->delta = delta; delta 73 tools/lib/traceevent/kbuffer.h unsigned long long delta; delta 41 tools/perf/arch/x86/tests/rdpmc.c u64 count, cyc = 0, time_offset = 0, enabled, running, delta; delta 70 tools/perf/arch/x86/tests/rdpmc.c delta = time_offset + quot * time_mult + delta 73 tools/perf/arch/x86/tests/rdpmc.c enabled += delta; delta 75 tools/perf/arch/x86/tests/rdpmc.c running += delta; delta 133 tools/perf/arch/x86/tests/rdpmc.c u64 stamp, now, delta; delta 143 tools/perf/arch/x86/tests/rdpmc.c delta = now - stamp; delta 144 tools/perf/arch/x86/tests/rdpmc.c pr_debug("%14d: %14Lu\n", n, (long long)delta); delta 146 tools/perf/arch/x86/tests/rdpmc.c delta_sum += delta; delta 321 tools/perf/builtin-sched.c u64 T0, T1, delta, min_delta = NSEC_PER_SEC; delta 328 tools/perf/builtin-sched.c delta = T1-T0; delta 329 tools/perf/builtin-sched.c min_delta = min(min_delta, delta); delta 338 tools/perf/builtin-sched.c u64 T0, T1, delta, min_delta = NSEC_PER_SEC; delta 345 tools/perf/builtin-sched.c delta = T1-T0; delta 346 tools/perf/builtin-sched.c min_delta = min(min_delta, delta); delta 745 tools/perf/builtin-sched.c u64 T0, T1, delta, avg_delta, fluct; delta 751 tools/perf/builtin-sched.c delta = T1 - T0; delta 752 tools/perf/builtin-sched.c sched->sum_runtime += delta; delta 756 tools/perf/builtin-sched.c if (delta < avg_delta) delta 757 tools/perf/builtin-sched.c fluct = avg_delta - delta; delta 759 tools/perf/builtin-sched.c fluct = delta - avg_delta; delta 762 tools/perf/builtin-sched.c sched->run_avg = delta; delta 763 tools/perf/builtin-sched.c sched->run_avg = (sched->run_avg * (sched->replay_repeat - 1) + delta) / sched->replay_repeat; delta 765 tools/perf/builtin-sched.c printf("#%-3ld: %0.3f, ", sched->nr_runs, (double)delta / NSEC_PER_MSEC); delta 841 tools/perf/builtin-sched.c s64 delta; delta 851 tools/perf/builtin-sched.c delta = timestamp - timestamp0; delta 853 tools/perf/builtin-sched.c delta = 0; delta 855 tools/perf/builtin-sched.c if (delta < 0) { delta 856 tools/perf/builtin-sched.c pr_err("hm, delta: %" PRIu64 " < 0 ?\n", delta); delta 861 tools/perf/builtin-sched.c prev_comm, prev_pid, next_comm, next_pid, delta); delta 868 tools/perf/builtin-sched.c add_sched_event_run(sched, prev, timestamp, delta); delta 1057 tools/perf/builtin-sched.c add_runtime_event(struct work_atoms *atoms, u64 delta, delta 1066 tools/perf/builtin-sched.c atom->runtime += delta; delta 1067 tools/perf/builtin-sched.c atoms->total_runtime += delta; delta 1074 tools/perf/builtin-sched.c u64 delta; delta 1092 tools/perf/builtin-sched.c delta = atom->sched_in_time - atom->wake_up_time; delta 1093 tools/perf/builtin-sched.c atoms->total_lat += delta; delta 1094 tools/perf/builtin-sched.c if (delta > atoms->max_lat) { delta 1095 tools/perf/builtin-sched.c atoms->max_lat = delta; delta 1113 tools/perf/builtin-sched.c s64 delta; delta 1120 tools/perf/builtin-sched.c delta = timestamp - timestamp0; delta 1122 tools/perf/builtin-sched.c delta = 0; delta 1124 tools/perf/builtin-sched.c if (delta < 0) { delta 1125 tools/perf/builtin-sched.c pr_err("hm, delta: %" PRIu64 " < 0 ?\n", delta); delta 1531 tools/perf/builtin-sched.c s64 delta; delta 1555 tools/perf/builtin-sched.c delta = timestamp - timestamp0; delta 1557 tools/perf/builtin-sched.c delta = 0; delta 1559 tools/perf/builtin-sched.c if (delta < 0) { delta 1560 tools/perf/builtin-sched.c pr_err("hm, delta: %" PRIu64 " < 0 ?\n", delta); delta 20 tools/perf/util/stat.c double delta; delta 23 tools/perf/util/stat.c delta = val - stats->mean; delta 24 tools/perf/util/stat.c stats->mean += delta / stats->n; delta 25 tools/perf/util/stat.c stats->M2 += delta*(val - stats->mean); delta 758 tools/perf/util/symbol.c static int map_groups__split_kallsyms(struct map_groups *kmaps, struct dso *dso, u64 delta, delta 838 tools/perf/util/symbol.c if (delta) { delta 840 tools/perf/util/symbol.c pos->start -= delta; delta 841 tools/perf/util/symbol.c pos->end -= delta; delta 873 tools/perf/util/symbol.c } else if (delta) { delta 875 tools/perf/util/symbol.c pos->start -= delta; delta 876 tools/perf/util/symbol.c pos->end -= delta; delta 1415 tools/perf/util/symbol.c static int kallsyms__delta(struct kmap *kmap, const char *filename, u64 *delta) delta 1425 tools/perf/util/symbol.c *delta = addr - kmap->ref_reloc_sym->addr; delta 1433 tools/perf/util/symbol.c u64 delta = 0; delta 1444 tools/perf/util/symbol.c if (kallsyms__delta(kmap, filename, &delta)) delta 1458 tools/perf/util/symbol.c return map_groups__split_kallsyms(kmap->kmaps, dso, delta, map); delta 46 tools/testing/selftests/bpf/progs/test_spin_lock.c #define CREDIT_PER_NS(delta, rate) (((delta) * rate) >> 20) delta 460 tools/testing/selftests/networking/timestamping/timestamping.c struct timeval delta; delta 470 tools/testing/selftests/networking/timestamping/timestamping.c delta.tv_sec = delta_us / 1000000; delta 471 tools/testing/selftests/networking/timestamping/timestamping.c delta.tv_usec = delta_us % 1000000; delta 480 tools/testing/selftests/networking/timestamping/timestamping.c res = select(sock + 1, &readfs, 0, &errorfs, &delta); delta 123 tools/testing/selftests/timers/inconsistency-check.c unsigned long long delta; delta 134 tools/testing/selftests/timers/inconsistency-check.c delta = list[inconsistent].tv_sec * NSEC_PER_SEC; delta 135 tools/testing/selftests/timers/inconsistency-check.c delta += list[inconsistent].tv_nsec; delta 136 tools/testing/selftests/timers/inconsistency-check.c delta -= list[inconsistent+1].tv_sec * NSEC_PER_SEC; delta 137 tools/testing/selftests/timers/inconsistency-check.c delta -= list[inconsistent+1].tv_nsec; delta 138 tools/testing/selftests/timers/inconsistency-check.c printf("Delta: %llu ns\n", delta);