Home
last modified time | relevance | path

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

/openbmc/linux/net/core/
H A Dsock.c1064 if (has_current_bpf_ctx()) in sockopt_lock_sock()
1073 if (has_current_bpf_ctx()) in sockopt_release_sock()
1082 return has_current_bpf_ctx() || ns_capable(ns, cap); in sockopt_ns_capable()
1088 return has_current_bpf_ctx() || capable(cap); in sockopt_capable()
/openbmc/linux/include/linux/
H A Dbpf.h2487 static inline bool has_current_bpf_ctx(void) in has_current_bpf_ctx() function
2723 static inline bool has_current_bpf_ctx(void) in has_current_bpf_ctx() function
/openbmc/linux/net/ipv4/
H A Dtcp.c3441 err = tcp_set_congestion_control(sk, name, !has_current_bpf_ctx(), in do_tcp_setsockopt()
4591 if (!has_current_bpf_ctx()) in tcp_abort()
4617 if (!has_current_bpf_ctx()) in tcp_abort()
H A Dudp.c2898 if (!has_current_bpf_ctx()) in udp_abort()
2912 if (!has_current_bpf_ctx()) in udp_abort()