Home
last modified time | relevance | path

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

/Linux-v6.1/net/core/
Dsock.c1047 if (has_current_bpf_ctx()) in sockopt_lock_sock()
1056 if (has_current_bpf_ctx()) in sockopt_release_sock()
1065 return has_current_bpf_ctx() || ns_capable(ns, cap); in sockopt_ns_capable()
1071 return has_current_bpf_ctx() || capable(cap); in sockopt_capable()
/Linux-v6.1/include/linux/
Dbpf.h2100 static inline bool has_current_bpf_ctx(void) in has_current_bpf_ctx() function
2324 static inline bool has_current_bpf_ctx(void) in has_current_bpf_ctx() function
/Linux-v6.1/net/ipv4/
Dtcp.c3513 err = tcp_set_congestion_control(sk, name, !has_current_bpf_ctx(), in do_tcp_setsockopt()