Searched refs:has_current_bpf_ctx (Results 1 – 3 of 3) sorted by relevance
1047 if (has_current_bpf_ctx()) in sockopt_lock_sock()1056 if (has_current_bpf_ctx()) in sockopt_release_sock()1065 return has_current_bpf_ctx() || ns_capable(ns, cap); in sockopt_ns_capable()1071 return has_current_bpf_ctx() || capable(cap); in sockopt_capable()
2100 static inline bool has_current_bpf_ctx(void) in has_current_bpf_ctx() function2324 static inline bool has_current_bpf_ctx(void) in has_current_bpf_ctx() function
3513 err = tcp_set_congestion_control(sk, name, !has_current_bpf_ctx(), in do_tcp_setsockopt()