Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dbpf_verifier.h1229 return type == PTR_TO_SOCKET || in type_is_sk_pointer()
H A Dbpf.h1001 PTR_TO_SOCKET, /* reg points to struct bpf_sock */ enumerator
1027 PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | PTR_TO_SOCKET,
/linux/kernel/bpf/
H A Dverifier.c315 return type == PTR_TO_SOCKET || in reg_not_null()
1852 reg->type = PTR_TO_SOCKET; in mark_ptr_not_null_reg()
3670 case PTR_TO_SOCKET: in is_spillable_regtype()
5030 case PTR_TO_SOCKET: in check_sock_access()
5119 [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK],
5255 case PTR_TO_SOCKET: in check_ptr_alignment()
7938 PTR_TO_SOCKET,
7948 PTR_TO_SOCKET,
7980 static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } };
10607 regs[BPF_REG_0].type = PTR_TO_SOCKET | ret_flag; in check_helper_call()
[all …]
H A Dcgroup.c2578 info->reg_type = PTR_TO_SOCKET; in cg_sockopt_is_valid_access()
H A Dfixups.c860 case PTR_TO_SOCKET: in bpf_convert_ctx_accesses()
/linux/net/core/
H A Dfilter.c9439 info->reg_type = PTR_TO_SOCKET; in sock_addr_is_valid_access()
9590 info->reg_type = PTR_TO_SOCKET; in sk_msg_is_valid_access()
11628 info->reg_type = PTR_TO_SOCKET; in sk_reuseport_is_valid_access()