Home
last modified time | relevance | path

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

/linux-6.6.21/net/core/
Dsock.c1063 if (has_current_bpf_ctx()) in sockopt_lock_sock()
1072 if (has_current_bpf_ctx()) in sockopt_release_sock()
1081 return has_current_bpf_ctx() || ns_capable(ns, cap); in sockopt_ns_capable()
1087 return has_current_bpf_ctx() || capable(cap); in sockopt_capable()
/linux-6.6.21/include/linux/
Dbpf.h2471 static inline bool has_current_bpf_ctx(void) in has_current_bpf_ctx() function
2707 static inline bool has_current_bpf_ctx(void) in has_current_bpf_ctx() function
/linux-6.6.21/net/ipv4/
Dtcp.c3432 err = tcp_set_congestion_control(sk, name, !has_current_bpf_ctx(), in do_tcp_setsockopt()
4582 if (!has_current_bpf_ctx()) in tcp_abort()
4608 if (!has_current_bpf_ctx()) in tcp_abort()
Dudp.c2878 if (!has_current_bpf_ctx()) in udp_abort()
2892 if (!has_current_bpf_ctx()) in udp_abort()