Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dtoken.c230 bool bpf_token_allow_cmd(const struct bpf_token *token, enum bpf_cmd cmd) in bpf_token_allow_cmd() function
H A Dsyscall.c1275 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()
/linux/include/linux/
H A Dbpf.h2388 bool bpf_token_allow_cmd(const struct bpf_token *token, enum bpf_cmd cmd);