Home
last modified time | relevance | path

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

/openbmc/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
/openbmc/linux/kernel/bpf/
H A Dverifier.c437 return type == PTR_TO_SOCKET || in type_is_sk_pointer()
457 return type == PTR_TO_SOCKET || in reg_not_null()
622 [PTR_TO_SOCKET] = "sock", in reg_type_str()
2190 reg->type = PTR_TO_SOCKET; in mark_ptr_not_null_reg()
4468 case PTR_TO_SOCKET: in is_spillable_regtype()
5620 case PTR_TO_SOCKET: in check_sock_access()
5682 [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK],
5816 case PTR_TO_SOCKET: in check_ptr_alignment()
8046 PTR_TO_SOCKET,
8056 PTR_TO_SOCKET,
[all …]
H A Dcgroup.c2409 info->reg_type = PTR_TO_SOCKET; in cg_sockopt_is_valid_access()
/openbmc/linux/include/linux/
H A Dbpf.h868 PTR_TO_SOCKET, /* reg points to struct bpf_sock */ enumerator
896 PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | PTR_TO_SOCKET,
/openbmc/linux/net/core/
H A Dfilter.c9145 info->reg_type = PTR_TO_SOCKET; in sock_addr_is_valid_access()
9292 info->reg_type = PTR_TO_SOCKET; in sk_msg_is_valid_access()
11328 info->reg_type = PTR_TO_SOCKET; in sk_reuseport_is_valid_access()