/kernel/kcsan/ |
D | permissive.h | 38 kcsan_ignore_data_race(size_t size, int type, u64 old, u64 new, u64 diff) in kcsan_ignore_data_race() argument 80 if (hweight64(diff) == 1) { in kcsan_ignore_data_race() 87 if (!((!old || !new) && diff == 1)) in kcsan_ignore_data_race()
|
D | report.c | 474 u64 diff = old ^ new; in print_report() local 477 diff &= mask; in print_report() 478 if (diff) { in print_report() 484 hex_len, diff, hex_len, mask); in print_report()
|
D | core.c | 532 u64 old, new, diff; in kcsan_setup_watchpoint() local 633 diff = old ^ new; in kcsan_setup_watchpoint() 635 diff &= access_mask; in kcsan_setup_watchpoint() 644 if (diff && !kcsan_ignore_data_race(size, type, old, new, diff)) in kcsan_setup_watchpoint()
|
/kernel/trace/ |
D | trace_osnoise.c | 1733 u64 diff; in timerlat_irq() local 1786 diff = now - tlat->abs_period; in timerlat_irq() 1790 s.timer_latency = diff; in timerlat_irq() 1796 if (time_to_us(diff) >= osnoise_data.stop_tracing) { in timerlat_irq() 1807 timerlat_dump_stack(time_to_us(diff)); in timerlat_irq() 1811 notify_new_max_latency(diff); in timerlat_irq() 1868 u64 now, diff; in timerlat_main() local 1907 diff = now - tlat->abs_period; in timerlat_main() 1910 s.timer_latency = diff; in timerlat_main() 1915 notify_new_max_latency(diff); in timerlat_main() [all …]
|
D | trace_hwlat.c | 207 s64 diff, outer_diff, total, last_total = 0; in get_sample() local 255 diff = time_to_us(time_sub(t2, t1)); /* current diff */ in get_sample() 257 if (diff > thresh || outer_diff > thresh) { in get_sample() 264 if (diff < 0) { in get_sample() 269 if (diff > sample) in get_sample() 270 sample = diff; /* only want highest value */ in get_sample()
|
/kernel/power/ |
D | wakelock.c | 155 int diff; in wakelock_lookup_add() local 159 diff = strncmp(name, wl->name, len); in wakelock_lookup_add() 160 if (diff == 0) { in wakelock_lookup_add() 162 diff = -1; in wakelock_lookup_add() 166 if (diff < 0) in wakelock_lookup_add()
|
D | hibernate.c | 261 ktime_t diff; in swsusp_show_speed() local 267 diff = ktime_sub(stop, start); in swsusp_show_speed() 268 elapsed_centisecs64 = ktime_divns(diff, 10*NSEC_PER_MSEC); in swsusp_show_speed()
|
/kernel/bpf/ |
D | lpm_trie.c | 181 u64 diff = be64_to_cpu(*(__be64 *)node->data ^ in longest_prefix_match() local 184 prefixlen = 64 - fls64(diff); in longest_prefix_match() 187 if (diff) in longest_prefix_match() 194 u32 diff = be32_to_cpu(*(__be32 *)&node->data[i] ^ in longest_prefix_match() local 197 prefixlen += 32 - fls(diff); in longest_prefix_match() 200 if (diff) in longest_prefix_match() 206 u16 diff = be16_to_cpu(*(__be16 *)&node->data[i] ^ in longest_prefix_match() local 209 prefixlen += 16 - fls(diff); in longest_prefix_match() 212 if (diff) in longest_prefix_match()
|
/kernel/sched/ |
D | rt.c | 747 s64 diff; in do_balance_runtime() local 765 diff = iter->rt_runtime - iter->rt_time; in do_balance_runtime() 766 if (diff > 0) { in do_balance_runtime() 767 diff = div_u64((u64)diff, weight); in do_balance_runtime() 768 if (rt_rq->rt_runtime + diff > rt_period) in do_balance_runtime() 769 diff = rt_period - rt_rq->rt_runtime; in do_balance_runtime() 770 iter->rt_runtime -= diff; in do_balance_runtime() 771 rt_rq->rt_runtime += diff; in do_balance_runtime() 824 s64 diff; in __disable_runtime() local 834 diff = min_t(s64, iter->rt_runtime, want); in __disable_runtime() [all …]
|
D | fair.c | 2632 int diff; in update_task_scan_period() local 2672 diff = slot * period_slot; in update_task_scan_period() 2682 diff = slot * period_slot; in update_task_scan_period() 2690 diff = -(NUMA_PERIOD_THRESHOLD - ratio) * period_slot; in update_task_scan_period() 2693 p->numa_scan_period = clamp(p->numa_scan_period + diff, in update_task_scan_period() 2858 long diff, f_diff, f_weight; in task_numa_placement() local 2866 diff = p->numa_faults[membuf_idx] - p->numa_faults[mem_idx] / 2; in task_numa_placement() 2883 p->numa_faults[mem_idx] += diff; in task_numa_placement() 2886 p->total_numa_faults += diff; in task_numa_placement() 2895 ng->faults[mem_idx] += diff; in task_numa_placement() [all …]
|
D | sched.h | 228 s64 diff = sample - *avg; in update_avg() local 229 *avg += diff / 8; in update_avg()
|
/kernel/irq/ |
D | timings.c | 302 s64 diff; in irq_timings_ema_new() local 307 diff = (value - ema_old) * EMA_ALPHA_VAL; in irq_timings_ema_new() 314 return ema_old + (diff >> EMA_ALPHA_SHIFT); in irq_timings_ema_new()
|
/kernel/printk/ |
D | printk.c | 3809 u64 diff; in __pr_flush() local 3821 diff = 0; in __pr_flush() 3844 diff += seq - printk_seq; in __pr_flush() 3848 if (diff != last_diff && reset_on_progress) in __pr_flush() 3854 if (diff == 0 || remaining == 0) in __pr_flush() 3868 last_diff = diff; in __pr_flush() 3871 return (diff == 0); in __pr_flush()
|
/kernel/time/ |
D | timer.c | 1036 long diff = timer->expires - expires; in __mod_timer() local 1038 if (!diff) in __mod_timer() 1040 if (options & MOD_TIMER_REDUCE && diff <= 0) in __mod_timer()
|