Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/bpf/
Dcgroup.c372 static u32 prog_list_length(struct hlist_head *head) in prog_list_length() function
403 cnt = prog_list_length(&p->bpf.progs[atype]); in hierarchy_allows_attach()
431 cnt += prog_list_length(&p->bpf.progs[atype]); in compute_effective_progs()
666 if (prog_list_length(progs) >= BPF_CGROUP_MAX_PROGS) in __cgroup_bpf_attach()
1076 total_cnt += prog_list_length(&cgrp->bpf.progs[atype]); in __cgroup_bpf_query()
1108 cnt = min_t(int, prog_list_length(progs), total_cnt); in __cgroup_bpf_query()