Searched refs:bpf_token_allow_cmd (Results 1 – 3 of 3) sorted by relevance
236 bool bpf_token_allow_cmd(const struct bpf_token *token, enum bpf_cmd cmd) in bpf_token_allow_cmd() function
1440 if (!bpf_token_allow_cmd(token, BPF_MAP_CREATE) || in map_create()2905 if (!bpf_token_allow_cmd(token, BPF_PROG_LOAD) || in bpf_prog_load()5487 if (!bpf_token_allow_cmd(token, BPF_BTF_LOAD)) { in bpf_btf_load()5519 if (!bpf_token_allow_cmd(token, BPF_BTF_GET_FD_BY_ID)) { in bpf_btf_get_fd_by_id()
2785 bool bpf_token_allow_cmd(const struct bpf_token *token, enum bpf_cmd cmd);