Searched refs:PTR_TO_SOCKET (Results 1 – 7 of 7) sorted by relevance
140 PTR_TO_SOCKET144 returns this type, which becomes a PTR_TO_SOCKET when145 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, common202 it also handles reference tracking for the pointer. PTR_TO_SOCKET implicitly
983 return type == PTR_TO_SOCKET || in type_is_sk_pointer()
971 PTR_TO_SOCKET, /* reg points to struct bpf_sock */ enumerator996 PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | PTR_TO_SOCKET,
454 [PTR_TO_SOCKET] = "sock", in reg_type_str()
408 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 …]
2582 info->reg_type = PTR_TO_SOCKET; in cg_sockopt_is_valid_access()
9297 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()