Lines Matching defs: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() local
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() local
70 struct bpf_token *token = filp->private_data; in bpf_token_show_fdinfo() local
114 struct bpf_token *token = NULL; in bpf_token_create() local
216 struct bpf_token *token; in bpf_token_get_from_fd() local
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()