Searched refs:pcount (Results 1 – 6 of 6) sorted by relevance
/kernel/bpf/ |
D | map_iter.c | 202 s64 *pcount; in bpf_map_sum_elem_count() local 210 pcount = per_cpu_ptr(map->elem_count, cpu); in bpf_map_sum_elem_count() 211 ret += READ_ONCE(*pcount); in bpf_map_sum_elem_count()
|
D | hashtab.c | 100 struct percpu_counter pcount; member 566 err = percpu_counter_init(&htab->pcount, 0, GFP_KERNEL); in htab_map_alloc() 602 percpu_counter_destroy(&htab->pcount); in htab_map_alloc() 911 return __percpu_counter_compare(&htab->pcount, htab->map.max_entries, in is_map_full() 921 percpu_counter_add_batch(&htab->pcount, 1, PERCPU_COUNTER_BATCH); in inc_elem_count() 931 percpu_counter_add_batch(&htab->pcount, -1, PERCPU_COUNTER_BATCH); in dec_elem_count() 1556 percpu_counter_destroy(&htab->pcount); in htab_map_free() 2243 percpu_counter_sum(&htab->pcount) : in htab_map_mem_usage()
|
D | cgroup.c | 1697 char **buf, size_t *pcount, loff_t *ppos, in __cgroup_bpf_run_filter_sysctl() argument 1722 if (write && *buf && *pcount) { in __cgroup_bpf_run_filter_sysctl() 1727 ctx.new_len = min_t(size_t, PAGE_SIZE, *pcount); in __cgroup_bpf_run_filter_sysctl() 1747 *pcount = ctx.new_len; in __cgroup_bpf_run_filter_sysctl()
|
/kernel/sched/ |
D | stats.h | 17 rq->rq_sched_info.pcount++; in rq_sched_info_arrive() 241 t->sched_info.pcount++; in sched_info_arrive()
|
D | stats.c | 131 rq->rq_sched_info.run_delay, rq->rq_sched_info.pcount); in show_schedstat()
|
/kernel/ |
D | delayacct.c | 151 t1 = tsk->sched_info.pcount; in delayacct_add_tsk()
|