Home
last modified time | relevance | path

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

/Linux-v6.6/Documentation/bpf/
Dverifier.rst140 PTR_TO_SOCKET
144 returns this type, which becomes a PTR_TO_SOCKET when
145 checked != NULL. PTR_TO_SOCKET is reference-counted,
199 The 'id' field is also used on PTR_TO_SOCKET and PTR_TO_SOCKET_OR_NULL, common
202 it also handles reference tracking for the pointer. PTR_TO_SOCKET implicitly
/Linux-v6.6/kernel/bpf/
Dverifier.c437 return type == PTR_TO_SOCKET || in type_is_sk_pointer()
457 return type == PTR_TO_SOCKET || in reg_not_null()
611 [PTR_TO_SOCKET] = "sock", in reg_type_str()
1975 reg->type = PTR_TO_SOCKET; in mark_ptr_not_null_reg()
4205 case PTR_TO_SOCKET: in is_spillable_regtype()
5365 case PTR_TO_SOCKET: in check_sock_access()
5427 [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK],
5560 case PTR_TO_SOCKET: in check_ptr_alignment()
7688 PTR_TO_SOCKET,
7698 PTR_TO_SOCKET,
[all …]
Dcgroup.c2376 info->reg_type = PTR_TO_SOCKET; in cg_sockopt_is_valid_access()
/Linux-v6.6/include/linux/
Dbpf.h845 PTR_TO_SOCKET, /* reg points to struct bpf_sock */ enumerator
873 PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | PTR_TO_SOCKET,
/Linux-v6.6/net/core/
Dfilter.c9025 info->reg_type = PTR_TO_SOCKET; in sock_addr_is_valid_access()
9172 info->reg_type = PTR_TO_SOCKET; in sk_msg_is_valid_access()
11202 info->reg_type = PTR_TO_SOCKET; in sk_reuseport_is_valid_access()