Lines Matching refs:bpf_token
57 struct bpf_token;
1545 struct bpf_token *token;
1707 struct bpf_token { struct
2368 bool bpf_token_capable(const struct bpf_token *token, int cap);
2370 static inline bool bpf_allow_ptr_leaks(const struct bpf_token *token) in bpf_allow_ptr_leaks()
2375 static inline bool bpf_allow_uninit_stack(const struct bpf_token *token) in bpf_allow_uninit_stack()
2380 static inline bool bpf_bypass_spec_v1(const struct bpf_token *token) in bpf_bypass_spec_v1()
2385 static inline bool bpf_bypass_spec_v4(const struct bpf_token *token) in bpf_bypass_spec_v4()
2405 void bpf_token_inc(struct bpf_token *token);
2406 void bpf_token_put(struct bpf_token *token);
2408 struct bpf_token *bpf_token_get_from_fd(u32 ufd);
2410 bool bpf_token_allow_cmd(const struct bpf_token *token, enum bpf_cmd cmd);
2411 bool bpf_token_allow_map_type(const struct bpf_token *token, enum bpf_map_type type);
2412 bool bpf_token_allow_prog_type(const struct bpf_token *token,
2783 static inline bool bpf_token_capable(const struct bpf_token *token, int cap) in bpf_token_capable()
2788 static inline void bpf_token_inc(struct bpf_token *token) in bpf_token_inc()
2792 static inline void bpf_token_put(struct bpf_token *token) in bpf_token_put()
2796 static inline struct bpf_token *bpf_token_get_from_fd(u32 ufd) in bpf_token_get_from_fd()