Home
last modified time | relevance | path

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

/linux/net/core/
H A Dsock.c1152 if (has_current_bpf_ctx()) in sockopt_lock_sock()
1161 if (has_current_bpf_ctx()) in sockopt_release_sock()
1170 return has_current_bpf_ctx() || ns_capable(ns, cap); in sockopt_ns_capable()
1176 return has_current_bpf_ctx() || capable(cap); in sockopt_capable()
/linux/net/ipv4/
H A Dtcp.c3860 err = tcp_set_congestion_control(sk, name, !has_current_bpf_ctx(), in do_tcp_setsockopt()
5137 if (!has_current_bpf_ctx()) in tcp_abort()
5143 if (!has_current_bpf_ctx()) in tcp_abort()
5163 if (!has_current_bpf_ctx()) in tcp_abort()
H A Dinet_connection_sock.c1528 if (!has_current_bpf_ctx()) in inet_csk_listen_stop()
H A Dudp.c3155 if (!has_current_bpf_ctx()) in udp_abort()
3170 if (!has_current_bpf_ctx()) in udp_abort()
/linux/include/linux/
H A Dbpf.h3404 static inline bool has_current_bpf_ctx(void) in bpf_token_inc()
3729 static inline bool has_current_bpf_ctx(void) in bpf_prog_dev_bound_inherit()
3249 static inline bool has_current_bpf_ctx(void) has_current_bpf_ctx() function
3574 static inline bool has_current_bpf_ctx(void) has_current_bpf_ctx() function