Home
last modified time | relevance | path

Searched refs:pcount (Results 1 – 6 of 6) sorted by relevance

/kernel/bpf/
Dmap_iter.c202 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()
Dhashtab.c100 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()
Dcgroup.c1697 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/
Dstats.h17 rq->rq_sched_info.pcount++; in rq_sched_info_arrive()
241 t->sched_info.pcount++; in sched_info_arrive()
Dstats.c131 rq->rq_sched_info.run_delay, rq->rq_sched_info.pcount); in show_schedstat()
/kernel/
Ddelayacct.c151 t1 = tsk->sched_info.pcount; in delayacct_add_tsk()