Home
last modified time | relevance | path

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

/linux/include/linux/
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.c415 return type == PTR_TO_SOCKET || in reg_not_null()
2278 reg->type = PTR_TO_SOCKET; in mark_ptr_not_null_reg()
5118 case PTR_TO_SOCKET: in is_spillable_regtype()
6449 case PTR_TO_SOCKET: in check_sock_access()
6538 [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK],
6674 case PTR_TO_SOCKET: in check_ptr_alignment()
9341 PTR_TO_SOCKET,
9351 PTR_TO_SOCKET,
9382 static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } };
11995 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()
/linux/net/core/
H A Dfilter.c9407 info->reg_type = PTR_TO_SOCKET; in sock_addr_is_valid_access()
9558 info->reg_type = PTR_TO_SOCKET; in sk_msg_is_valid_access()
11594 info->reg_type = PTR_TO_SOCKET; in sk_reuseport_is_valid_access()