Home
last modified time | relevance | path

Searched refs:total (Results 1 – 22 of 22) sorted by relevance

/kernel/sched/
Dpsi.c354 group->total[aggregator][s] += in collect_percpu_times()
387 sample = group->total[PSI_AVGS][s] - group->avg_total[s]; in update_averages()
501 group->total[PSI_POLL][t->state], 0); in init_triggers()
502 memcpy(group->polling_total, group->total[PSI_POLL], in init_triggers()
511 u64 *total = group->total[PSI_POLL]; in update_triggers() local
521 new_stall = group->polling_total[t->state] != total[t->state]; in update_triggers()
542 growth = window_update(&t->win, now, total[t->state]); in update_triggers()
563 memcpy(group->polling_total, total, in update_triggers()
1209 u64 total = 0; in psi_show() local
1216 total = div_u64(group->total[PSI_AVGS][res * 2 + full], in psi_show()
[all …]
Dsched.h2851 u64 total; member
2868 u64 total; in irq_time_read() local
2872 total = irqtime->total; in irq_time_read()
2875 return total; in irq_time_read()
Drt.c2869 unsigned long total, sum = 0; in tg_rt_schedulable() local
2893 total = to_ratio(period, runtime); in tg_rt_schedulable()
2898 if (total > to_ratio(global_rt_period(), global_rt_runtime())) in tg_rt_schedulable()
2916 if (sum > total) in tg_rt_schedulable()
Dcputime.c43 irqtime->total += delta; in irqtime_account_delta()
/kernel/kcsan/
Dselftest.c251 int total = 0; in kcsan_selftest() local
255 ++total; \ in kcsan_selftest()
267 pr_info("selftest: %d/%d tests passed\n", passed, total); in kcsan_selftest()
268 if (passed != total) in kcsan_selftest()
/kernel/
Dstacktrace.c50 unsigned int generated, i, total = 0; in stack_trace_snprint() local
59 total += generated; in stack_trace_snprint()
69 return total; in stack_trace_snprint()
Ddelayacct.c101 static void delayacct_end(raw_spinlock_t *lock, u64 *start, u64 *total, u32 *count) in delayacct_end() argument
108 *total += ns; in delayacct_end()
Dkprobes.c2895 unsigned int i, total = 0, errors = 0; in arm_all_kprobes() local
2921 total++; in arm_all_kprobes()
2928 errors, total); in arm_all_kprobes()
2941 unsigned int i, total = 0, errors = 0; in disarm_all_kprobes() local
2964 total++; in disarm_all_kprobes()
2971 errors, total); in disarm_all_kprobes()
Dfork.c161 int total = 0; in nr_processes() local
164 total += per_cpu(process_counts, cpu); in nr_processes()
166 return total; in nr_processes()
/kernel/trace/
Dtrace_hwlat.c207 s64 diff, outer_diff, total, last_total = 0; in get_sample() local
245 total = time_to_us(time_sub(t2, start)); /* sample width */ in get_sample()
248 if (total < last_total) { in get_sample()
252 last_total = total; in get_sample()
272 } while (total <= hwlat_data.sample_width); in get_sample()
Dtrace_probe_tmpl.h107 int total = 0, ret = 0, i = 0; in process_fetch_insn_bottom() local
189 total += ret; in process_fetch_insn_bottom()
207 ret = total; in process_fetch_insn_bottom()
Dtrace_osnoise.c1295 s64 total, last_total = 0; in run_osnoise() local
1360 total = time_sub(sample, start); in run_osnoise()
1365 if (total < last_total) { in run_osnoise()
1370 last_total = total; in run_osnoise()
1419 } while (total < runtime && !kthread_should_stop()); in run_osnoise()
1437 s.runtime = time_to_us(total); in run_osnoise()
Dtrace.c4180 get_total_entries_cpu(struct array_buffer *buf, unsigned long *total, in get_total_entries_cpu() argument
4194 *total = count; in get_total_entries_cpu()
4196 *total = count + in get_total_entries_cpu()
4203 unsigned long *total, unsigned long *entries) in get_total_entries() argument
4208 *total = 0; in get_total_entries()
4213 *total += t; in get_total_entries()
4220 unsigned long total, entries; in trace_total_entries_cpu() local
4225 get_total_entries_cpu(&tr->array_buffer, &total, &entries, cpu); in trace_total_entries_cpu()
4232 unsigned long total, entries; in trace_total_entries() local
4237 get_total_entries(&tr->array_buffer, &total, &entries); in trace_total_entries()
[all …]
Dtrace_events_hist.c5332 static inline unsigned int __get_percentage(u64 val, u64 total) in __get_percentage() argument
5334 if (!total) in __get_percentage()
5338 return (unsigned int)div64_ul(val * 10000, total); in __get_percentage()
5340 total = div64_u64(total, 10000); in __get_percentage()
5341 if (!total) in __get_percentage()
5344 return (unsigned int)div64_ul(val, total); in __get_percentage()
5373 u64 total; member
5386 pc = __get_percentage(val, stats[idx].total); in hist_trigger_print_val()
5463 stats[j].total += val; in print_entries()
/kernel/bpf/
Dtrampoline.c257 bpf_trampoline_get_progs(const struct bpf_trampoline *tr, int *total, bool *ip_arg) in bpf_trampoline_get_progs() argument
264 *total = 0; in bpf_trampoline_get_progs()
271 *total += tr->progs_cnt[kind]; in bpf_trampoline_get_progs()
427 int err, total; in bpf_trampoline_update() local
429 tlinks = bpf_trampoline_get_progs(tr, &total, &ip_arg); in bpf_trampoline_update()
433 if (total == 0) { in bpf_trampoline_update()
Dhashtab.c1664 u32 bucket_cnt, total, key_size, value_size, roundup_key_size; in __htab_map_lookup_and_delete_batch() local
1709 total = 0; in __htab_map_lookup_and_delete_batch()
1753 if (bucket_cnt > (max_count - total)) { in __htab_map_lookup_and_delete_batch()
1754 if (total == 0) in __htab_map_lookup_and_delete_batch()
1852 if (bucket_cnt && (copy_to_user(ukeys + total * key_size, keys, in __htab_map_lookup_and_delete_batch()
1854 copy_to_user(uvalues + total * value_size, values, in __htab_map_lookup_and_delete_batch()
1860 total += bucket_cnt; in __htab_map_lookup_and_delete_batch()
1875 put_user(total, &uattr->batch.count)) in __htab_map_lookup_and_delete_batch()
Dbtf.c509 u32 total = 0; in btf_nr_types() local
512 total += btf->nr_types; in btf_nr_types()
516 return total; in btf_nr_types()
523 u32 i, total; in btf_find_by_name_kind() local
525 total = btf_nr_types(btf); in btf_find_by_name_kind()
526 for (i = 1; i < total; i++) { in btf_find_by_name_kind()
4824 u32 total, expected_total, i; in btf_check_sec_info() local
4840 total = 0; in btf_check_sec_info()
4847 if (total < secs[i].off) { in btf_check_sec_info()
4852 if (total > secs[i].off) { in btf_check_sec_info()
[all …]
/kernel/dma/
DKconfig158 int "Percentage of total memory"
164 Allocator as a percentage of the total memory in the system.
/kernel/locking/
Dlockdep_proc.c454 seq_time(m, lt->total); in seq_lock_time()
455 seq_time(m, lt->nr ? div64_u64(lt->total, lt->nr) : 0); in seq_lock_time()
Dlockdep.c275 lt->total += time; in lock_time_inc()
290 dst->total += src->total; in lock_time_add()
/kernel/power/
Dsnapshot.c1656 unsigned long total) in preallocate_highmem_fraction() argument
1658 unsigned long alloc = __fraction(nr_pages, highmem, total); in preallocate_highmem_fraction()
1670 unsigned long total) in preallocate_highmem_fraction() argument
/kernel/events/
Dcore.c5267 u64 total = 0; in __perf_event_read_value() local
5275 total += perf_event_count(event); in __perf_event_read_value()
5284 total += perf_event_count(child); in __perf_event_read_value()
5290 return total; in __perf_event_read_value()