Searched refs:has_current_bpf_ctx (Results 1 – 4 of 4) sorted by relevance
1058 if (has_current_bpf_ctx()) in sockopt_lock_sock()1067 if (has_current_bpf_ctx()) in sockopt_release_sock()1076 return has_current_bpf_ctx() || ns_capable(ns, cap); in sockopt_ns_capable()1082 return has_current_bpf_ctx() || capable(cap); in sockopt_capable()
2633 static inline bool has_current_bpf_ctx(void) in has_current_bpf_ctx() function2890 static inline bool has_current_bpf_ctx(void) in has_current_bpf_ctx() function
3462 err = tcp_set_congestion_control(sk, name, !has_current_bpf_ctx(), in do_tcp_setsockopt()4572 if (!has_current_bpf_ctx()) in tcp_abort()4599 if (!has_current_bpf_ctx()) in tcp_abort()
2913 if (!has_current_bpf_ctx()) in udp_abort()2927 if (!has_current_bpf_ctx()) in udp_abort()