Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dcgroup.c355 static u32 prog_list_length(struct hlist_head *head) in prog_list_length() function
386 cnt = prog_list_length(&p->bpf.progs[atype]); in hierarchy_allows_attach()
414 cnt += prog_list_length(&p->bpf.progs[atype]); in compute_effective_progs()
649 if (prog_list_length(progs) >= BPF_CGROUP_MAX_PROGS) in __cgroup_bpf_attach()
1059 total_cnt += prog_list_length(&cgrp->bpf.progs[atype]); in __cgroup_bpf_query()
1091 cnt = min_t(int, prog_list_length(progs), total_cnt); in __cgroup_bpf_query()