Searched refs:bpf_token_allow_cmd (Results 1 – 3 of 3) sorted by relevance
229 bool bpf_token_allow_cmd(const struct bpf_token *token, enum bpf_cmd cmd) in bpf_token_allow_cmd() function
1410 if (!bpf_token_allow_cmd(token, BPF_MAP_CREATE) || in map_create()2793 if (!bpf_token_allow_cmd(token, BPF_PROG_LOAD) || in bpf_prog_load()5128 if (!bpf_token_allow_cmd(token, BPF_BTF_LOAD)) { in bpf_btf_load()5160 if (!bpf_token_allow_cmd(token, BPF_BTF_GET_FD_BY_ID)) { in bpf_btf_get_fd_by_id()
2489 bool bpf_token_allow_cmd(const struct bpf_token *token, enum bpf_cmd cmd);