Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dcgroup.c385 static u32 prog_list_length(struct hlist_head *head, int *preorder_cnt) in prog_list_length() function
418 cnt = prog_list_length(&p->bpf.progs[atype], NULL); in hierarchy_allows_attach()
446 cnt += prog_list_length(&p->bpf.progs[atype], &preorder_cnt); in compute_effective_progs()
834 if (prog_list_length(progs, NULL) >= BPF_CGROUP_MAX_PROGS) in __cgroup_bpf_attach()
1251 total_cnt += prog_list_length(&cgrp->bpf.progs[atype], NULL); in __cgroup_bpf_query()
1287 cnt = min_t(int, prog_list_length(progs, NULL), total_cnt); in __cgroup_bpf_query()