Home
last modified time | relevance | path

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

/kernel/
Dstacktrace.c31 int total = 0; in snprint_stack_trace() local
40 total += generated; in snprint_stack_trace()
52 return total; in snprint_stack_trace()
Ddelayacct.c52 static void delayacct_end(u64 *start, u64 *total, u32 *count) in delayacct_end() argument
59 *total += ns; in delayacct_end()
Dfork.c126 int total = 0; in nr_processes() local
129 total += per_cpu(process_counts, cpu); in nr_processes()
131 return total; in nr_processes()
/kernel/trace/
Dtrace_hwlat.c172 s64 diff, total, last_total = 0; in get_sample() local
209 total = time_to_us(time_sub(t2, start)); /* sample width */ in get_sample()
212 if (total < last_total) { in get_sample()
216 last_total = total; in get_sample()
230 } while (total <= hwlat_data.sample_width); in get_sample()
Dtrace.c2894 unsigned long *total, unsigned long *entries) in get_total_entries() argument
2899 *total = 0; in get_total_entries()
2912 *total += count; in get_total_entries()
2914 *total += count + in get_total_entries()
2934 unsigned long total; in print_event_info() local
2937 get_total_entries(buf, &total, &entries); in print_event_info()
2939 entries, total, num_online_cpus()); in print_event_info()
2989 unsigned long total; in print_trace_header() local
2994 get_total_entries(buf, &total, &entries); in print_trace_header()
3004 total, in print_trace_header()
/kernel/sched/
Dcputime.c585 static cputime_t scale_stime(u64 stime, u64 rtime, u64 total) in scale_stime() argument
595 if (total >> 32) in scale_stime()
614 total >>= 1; in scale_stime()
621 scaled = div_u64((u64) (u32) stime * (u64) (u32) rtime, (u32)total); in scale_stime()
Dsched.h1971 u64 total; in irq_time_read() local
1975 total = irqtime->softirq_time + irqtime->hardirq_time; in irq_time_read()
1978 return total; in irq_time_read()
Dfair.c5244 unsigned long total = weighted_cpuload(cpu); in source_load() local
5247 return total; in source_load()
5249 return min(rq->cpu_load[type-1], total); in source_load()
5259 unsigned long total = weighted_cpuload(cpu); in target_load() local
5262 return total; in target_load()
5264 return max(rq->cpu_load[type-1], total); in target_load()
8368 u64 total, used, age_stamp, avg; in scale_rt_capacity() local
8382 total = sched_avg_period() + delta; in scale_rt_capacity()
8384 used = div_u64(avg, total); in scale_rt_capacity()
Dcore.c8254 unsigned long total, sum = 0; in tg_rt_schedulable() local
8277 total = to_ratio(period, runtime); in tg_rt_schedulable()
8282 if (total > to_ratio(global_rt_period(), global_rt_runtime())) in tg_rt_schedulable()
8300 if (sum > total) in tg_rt_schedulable()
/kernel/locking/
Dlockdep_proc.c425 seq_time(m, lt->total); in seq_lock_time()
426 seq_time(m, lt->nr ? div_s64(lt->total, lt->nr) : 0); in seq_lock_time()
Dlockdep.c184 lt->total += time; in lock_time_inc()
199 dst->total += src->total; in lock_time_add()
/kernel/power/
Dsnapshot.c1557 unsigned long total) in preallocate_highmem_fraction() argument
1559 unsigned long alloc = __fraction(nr_pages, highmem, total); in preallocate_highmem_fraction()
1571 unsigned long total) in preallocate_highmem_fraction() argument
/kernel/events/
Dcore.c4298 u64 total = 0; in perf_event_read_value() local
4306 total += perf_event_count(event); in perf_event_read_value()
4315 total += perf_event_count(child); in perf_event_read_value()
4321 return total; in perf_event_read_value()