Lines Matching refs:bpf_token
16 bool bpf_token_capable(const struct bpf_token *token, int cap) in bpf_token_capable()
29 void bpf_token_inc(struct bpf_token *token) in bpf_token_inc()
34 static void bpf_token_free(struct bpf_token *token) in bpf_token_free()
43 struct bpf_token *token = container_of(work, struct bpf_token, work); in bpf_token_put_deferred()
48 void bpf_token_put(struct bpf_token *token) in bpf_token_put()
62 struct bpf_token *token = filp->private_data; in bpf_token_release()
70 struct bpf_token *token = filp->private_data; in bpf_token_show_fdinfo()
114 struct bpf_token *token = NULL; in bpf_token_create()
213 struct bpf_token *bpf_token_get_from_fd(u32 ufd) in bpf_token_get_from_fd()
216 struct bpf_token *token; in bpf_token_get_from_fd()
229 bool bpf_token_allow_cmd(const struct bpf_token *token, enum bpf_cmd cmd) in bpf_token_allow_cmd()
238 bool bpf_token_allow_map_type(const struct bpf_token *token, enum bpf_map_type type) in bpf_token_allow_map_type()
246 bool bpf_token_allow_prog_type(const struct bpf_token *token, in bpf_token_allow_prog_type()