Home
last modified time | relevance | path

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

/linux/Documentation/bpf/
H A 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/include/linux/
H A Dbpf_verifier.h983 return type == PTR_TO_SOCKET || in type_is_sk_pointer()
H A Dbpf.h971 PTR_TO_SOCKET, /* reg points to struct bpf_sock */ enumerator
996 PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | PTR_TO_SOCKET,
/linux/kernel/bpf/
H A Dlog.c454 [PTR_TO_SOCKET] = "sock", in reg_type_str()
H A Dverifier.c408 return type == PTR_TO_SOCKET || in reg_not_null()
2235 reg->type = PTR_TO_SOCKET; in mark_ptr_not_null_reg()
4897 case PTR_TO_SOCKET: in is_spillable_regtype()
6208 case PTR_TO_SOCKET: in check_sock_access()
6297 [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK],
6431 case PTR_TO_SOCKET: in check_ptr_alignment()
9098 PTR_TO_SOCKET,
9108 PTR_TO_SOCKET,
9139 static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } };
11730 regs[BPF_REG_0].type = PTR_TO_SOCKET | ret_flag; in check_helper_call()
[all …]
H A Dcgroup.c2582 info->reg_type = PTR_TO_SOCKET; in cg_sockopt_is_valid_access()
/linux/net/core/
H A Dfilter.c9297 info->reg_type = PTR_TO_SOCKET; in sock_addr_is_valid_access()
9448 info->reg_type = PTR_TO_SOCKET; in sk_msg_is_valid_access()
11484 info->reg_type = PTR_TO_SOCKET; in sk_reuseport_is_valid_access()