Searched refs:counter (Results 1 – 4 of 4) sorted by relevance
/kernel/cgroup/ |
D | pids.c | 48 atomic64_t counter; member 77 atomic64_set(&pids->counter, 0); in pids_css_alloc() 102 WARN_ON_ONCE(atomic64_add_negative(-num, &pids->counter)); in pids_cancel() 132 atomic64_add(num, &p->counter); in pids_charge() 149 int64_t new = atomic64_add_return(num, &p->counter); in pids_try_charge() 311 return atomic64_read(&pids->counter); in pids_current_read()
|
/kernel/trace/ |
D | ftrace.c | 388 unsigned long counter; member 442 if (!rec->counter) in function_stat_next() 481 if (a->counter < b->counter) in function_stat_cmp() 483 if (a->counter > b->counter) in function_stat_cmp() 517 if (unlikely(rec->counter == 0)) { in function_stat_show() 523 avg = div64_ul(rec->time, rec->counter); in function_stat_show() 529 seq_printf(m, " %-30.30s %10lu", str, rec->counter); in function_stat_show() 535 if (rec->counter <= 1) in function_stat_show() 542 stddev = rec->counter * rec->time_squared - in function_stat_show() 550 rec->counter * (rec->counter - 1) * 1000); in function_stat_show() [all …]
|
D | bpf_trace.c | 856 err = get_map_perf_counter(map, flags, &buf->counter, &buf->enabled, in BPF_CALL_4() 1516 err = perf_event_read_local(ctx->event, &buf->counter, &buf->enabled, in BPF_CALL_3()
|
/kernel/printk/ |
D | printk.c | 1013 VMCOREINFO_TYPE_OFFSET(atomic_long_t, counter); in log_buf_vmcoreinfo_setup()
|