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.h890 return type == PTR_TO_SOCKET || in type_is_sk_pointer()
H A Dbpf.h876 PTR_TO_SOCKET, /* reg points to struct bpf_sock */ enumerator
905 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.c400 return type == PTR_TO_SOCKET || in reg_not_null()
1858 reg->type = PTR_TO_SOCKET; in mark_ptr_not_null_reg()
4394 case PTR_TO_SOCKET: in is_spillable_regtype()
5639 case PTR_TO_SOCKET: in check_sock_access()
5708 [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK],
5842 case PTR_TO_SOCKET: in check_ptr_alignment()
8164 PTR_TO_SOCKET,
8174 PTR_TO_SOCKET,
10595 regs[BPF_REG_0].type = PTR_TO_SOCKET | ret_flag; in check_helper_call()
17680 case PTR_TO_SOCKET: in reg_type_mismatch_ok()
[all …]
H A Dcgroup.c2390 info->reg_type = PTR_TO_SOCKET; in cg_sockopt_is_valid_access()
/linux/net/core/
H A Dfilter.c9153 info->reg_type = PTR_TO_SOCKET; in sock_addr_is_valid_access()
9300 info->reg_type = PTR_TO_SOCKET; in sk_msg_is_valid_access()
11330 info->reg_type = PTR_TO_SOCKET; in sk_reuseport_is_valid_access()