Searched refs:counter (Results 1 – 3 of 3) sorted by relevance
/kernel/cgroup/ |
D | pids.c | 47 atomic64_t counter; member 76 atomic64_set(&pids->counter, 0); in pids_css_alloc() 101 WARN_ON_ONCE(atomic64_add_negative(-num, &pids->counter)); in pids_cancel() 131 atomic64_add(num, &p->counter); in pids_charge() 148 int64_t new = atomic64_add_return(num, &p->counter); in pids_try_charge() 304 return atomic64_read(&pids->counter); in pids_current_read()
|
/kernel/trace/ |
D | ftrace.c | 392 unsigned long counter; member 446 if (!rec->counter) in function_stat_next() 485 if (a->counter < b->counter) in function_stat_cmp() 487 if (a->counter > b->counter) in function_stat_cmp() 521 if (unlikely(rec->counter == 0)) { in function_stat_show() 527 avg = div64_ul(rec->time, rec->counter); in function_stat_show() 533 seq_printf(m, " %-30.30s %10lu", str, rec->counter); in function_stat_show() 539 if (rec->counter <= 1) in function_stat_show() 546 stddev = rec->counter * rec->time_squared - in function_stat_show() 554 rec->counter * (rec->counter - 1) * 1000); in function_stat_show() [all …]
|
D | bpf_trace.c | 399 err = get_map_perf_counter(map, flags, &buf->counter, &buf->enabled, in BPF_CALL_4() 907 err = perf_event_read_local(ctx->event, &buf->counter, &buf->enabled, in BPF_CALL_3()
|