Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dlog.c413 [PTR_TO_SOCKET] = "sock", in reg_type_str()
H A Dverifier.c363 return type == PTR_TO_SOCKET || in reg_not_null()
1938 reg->type = PTR_TO_SOCKET | maybe_null; in refine_map_lookup_value()
4993 case PTR_TO_SOCKET: in check_sock_access()
5098 [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK],
5246 case PTR_TO_SOCKET: in check_ptr_alignment()
8128 PTR_TO_SOCKET,
8138 PTR_TO_SOCKET,
8170 static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } };
11131 regs[BPF_REG_0].type = PTR_TO_SOCKET | ret_flag; in check_helper_call()
17980 case PTR_TO_SOCKET: in reg_type_mismatch_ok()
H A Dcgroup.c2642 info->reg_type = PTR_TO_SOCKET; in cg_sockopt_is_valid_access()
H A Dfixups.c920 case PTR_TO_SOCKET: in bpf_convert_ctx_accesses()
/linux/include/linux/
H A Dbpf_verifier.h1415 return type == PTR_TO_SOCKET || in type_is_sk_pointer()
H A Dbpf.h1061 PTR_TO_SOCKET, /* reg points to struct bpf_sock */ enumerator
1087 PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | PTR_TO_SOCKET,
/linux/net/core/
H A Dfilter.c9685 info->reg_type = PTR_TO_SOCKET; in sock_addr_is_valid_access()
9836 info->reg_type = PTR_TO_SOCKET; in sk_msg_is_valid_access()
11874 info->reg_type = PTR_TO_SOCKET; in sk_reuseport_is_valid_access()