Home
last modified time | relevance | path

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

/Linux-v6.6/net/core/
Dsock.c1062 if (has_current_bpf_ctx()) in sockopt_lock_sock()
1071 if (has_current_bpf_ctx()) in sockopt_release_sock()
1080 return has_current_bpf_ctx() || ns_capable(ns, cap); in sockopt_ns_capable()
1086 return has_current_bpf_ctx() || capable(cap); in sockopt_capable()
/Linux-v6.6/include/linux/
Dbpf.h2453 static inline bool has_current_bpf_ctx(void) in has_current_bpf_ctx() function
2689 static inline bool has_current_bpf_ctx(void) in has_current_bpf_ctx() function
/Linux-v6.6/net/ipv4/
Dtcp.c3405 err = tcp_set_congestion_control(sk, name, !has_current_bpf_ctx(), in do_tcp_setsockopt()
4554 if (!has_current_bpf_ctx()) in tcp_abort()
4580 if (!has_current_bpf_ctx()) in tcp_abort()
Dudp.c2875 if (!has_current_bpf_ctx()) in udp_abort()
2889 if (!has_current_bpf_ctx()) in udp_abort()