Home
last modified time | relevance | path

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

/Linux-v6.1/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.1/kernel/bpf/
Dverifier.c439 return type == PTR_TO_SOCKET || in type_is_sk_pointer()
447 return type == PTR_TO_SOCKET || in reg_type_not_null()
463 return type == PTR_TO_SOCKET || type == PTR_TO_TCP_SOCK || in reg_type_may_be_refcounted_or_null()
556 [PTR_TO_SOCKET] = "sock", in reg_type_str()
1409 reg->type = PTR_TO_SOCKET; in mark_ptr_not_null_reg()
2954 case PTR_TO_SOCKET: in is_spillable_regtype()
4038 case PTR_TO_SOCKET: in check_sock_access()
4191 case PTR_TO_SOCKET: in check_ptr_alignment()
5655 PTR_TO_SOCKET,
5665 PTR_TO_SOCKET,
[all …]
Dcgroup.c2355 info->reg_type = PTR_TO_SOCKET; in cg_sockopt_is_valid_access()
Dbtf.c6130 [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK],
/Linux-v6.1/include/linux/
Dbpf.h637 PTR_TO_SOCKET, /* reg points to struct bpf_sock */ enumerator
665 PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | PTR_TO_SOCKET,
/Linux-v6.1/net/core/
Dfilter.c8860 info->reg_type = PTR_TO_SOCKET; in sock_addr_is_valid_access()
9003 info->reg_type = PTR_TO_SOCKET; in sk_msg_is_valid_access()
11010 info->reg_type = PTR_TO_SOCKET; in sk_reuseport_is_valid_access()