Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/bpf/
Dverifier.c393 return type == PTR_TO_SOCKET || in type_is_sk_pointer()
401 return type == PTR_TO_SOCKET || in reg_type_not_null()
415 return base_type(type) == PTR_TO_SOCKET || in reg_type_may_be_refcounted_or_null()
505 [PTR_TO_SOCKET] = "sock", in reg_type_str()
2207 case PTR_TO_SOCKET: in is_spillable_regtype()
3060 case PTR_TO_SOCKET: in check_sock_access()
3210 case PTR_TO_SOCKET: in check_ptr_alignment()
4351 PTR_TO_SOCKET,
4361 PTR_TO_SOCKET,
4391 static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } };
[all …]
Dcgroup.c1820 info->reg_type = PTR_TO_SOCKET; in cg_sockopt_is_valid_access()
/kernel/linux/linux-5.10/include/linux/
Dbpf.h435 PTR_TO_SOCKET, /* reg points to struct bpf_sock */ enumerator
462 PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | PTR_TO_SOCKET,
/kernel/linux/linux-5.10/Documentation/networking/
Dfilter.rst1194 PTR_TO_SOCKET
1198 returns this type, which becomes a PTR_TO_SOCKET when
1199 checked != NULL. PTR_TO_SOCKET is reference-counted,
1253 The 'id' field is also used on PTR_TO_SOCKET and PTR_TO_SOCKET_OR_NULL, common
1256 it also handles reference tracking for the pointer. PTR_TO_SOCKET implicitly
/kernel/linux/linux-5.10/net/core/
Dfilter.c8033 info->reg_type = PTR_TO_SOCKET; in sock_addr_is_valid_access()
8175 info->reg_type = PTR_TO_SOCKET; in sk_msg_is_valid_access()