Searched refs:bpf_token_allow_cmd (Results 1 – 3 of 3) sorted by relevance
230 bool bpf_token_allow_cmd(const struct bpf_token *token, enum bpf_cmd cmd) in bpf_token_allow_cmd() function
1275 if (!bpf_token_allow_cmd(token, BPF_MAP_CREATE) || in map_create()2668 if (!bpf_token_allow_cmd(token, BPF_PROG_LOAD) || in bpf_prog_load()4967 if (!bpf_token_allow_cmd(token, BPF_BTF_LOAD)) { in bpf_btf_load()
2388 bool bpf_token_allow_cmd(const struct bpf_token *token, enum bpf_cmd cmd);