Home
last modified time | relevance | path

Searched refs:has_current_bpf_ctx (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/net/core/
H A Dsock.c1145 if (has_current_bpf_ctx()) in sockopt_lock_sock()
1154 if (has_current_bpf_ctx()) in sockopt_release_sock()
1163 return has_current_bpf_ctx() || ns_capable(ns, cap); in sockopt_ns_capable()
1169 return has_current_bpf_ctx() || capable(cap); in sockopt_capable()
/linux-6.15/net/ipv4/
H A Dtcp.c3753 err = tcp_set_congestion_control(sk, name, !has_current_bpf_ctx(), in do_tcp_setsockopt()
4954 if (!has_current_bpf_ctx()) in tcp_abort()
4960 if (!has_current_bpf_ctx()) in tcp_abort()
4981 if (!has_current_bpf_ctx()) in tcp_abort()
H A Dudp.c3166 if (!has_current_bpf_ctx()) in udp_abort()
3180 if (!has_current_bpf_ctx()) in udp_abort()
/linux-6.15/include/linux/
H A Dbpf.h2776 static inline bool has_current_bpf_ctx(void) in has_current_bpf_ctx() function
3042 static inline bool has_current_bpf_ctx(void) in has_current_bpf_ctx() function