Home
last modified time | relevance | path

Searched refs:bpf_sk_storage_get (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dsockopt_inherit.c41 return bpf_sk_storage_get(&cloned1_map, ctx->sk, 0, in get_storage()
44 return bpf_sk_storage_get(&cloned2_map, ctx->sk, 0, in get_storage()
47 return bpf_sk_storage_get(&listener_only_map, ctx->sk, 0, in get_storage()
Dudp_limit.c25 sk_storage = bpf_sk_storage_get(&sk_map, ctx, 0, in sock()
54 sk_storage = bpf_sk_storage_get(&sk_map, ctx, 0, 0); in sock_release()
Dsocket_cookie_prog.c30 p = bpf_sk_storage_get(&socket_cookies, ctx->sk, 0, in set_cookie()
56 p = bpf_sk_storage_get(&socket_cookies, ctx->sk, 0, 0); in update_cookie()
Dconnect_force_port4.c44 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, in connect4()
76 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, 0); in getpeername4()
Dtest_tcp_hdr_options.c242 hdr_stg = bpf_sk_storage_get(&hdr_stg_map, skops->sk, NULL, 0); in fin_opt_len()
269 hdr_stg = bpf_sk_storage_get(&hdr_stg_map, skops->sk, NULL, 0); in write_fin_opt()
291 hdr_stg = bpf_sk_storage_get(&hdr_stg_map, skops->sk, NULL, 0); in resend_in_ack()
427 if (!skops->sk || !bpf_sk_storage_get(&hdr_stg_map, skops->sk, in handle_active_estab()
512 !bpf_sk_storage_get(&hdr_stg_map, skops->sk, &init_stg, in handle_passive_estab()
543 hdr_stg = bpf_sk_storage_get(&hdr_stg_map, skops->sk, NULL, 0); in handle_parse_hdr()
Dconnect_force_port6.c43 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, in connect6()
84 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, 0); in getpeername6()
Dtest_sock_fields.c190 pkt_out_cnt = bpf_sk_storage_get(&sk_pkt_out_cnt, ktp, 0, 0); in egress_read_sock_fields()
191 pkt_out_cnt10 = bpf_sk_storage_get(&sk_pkt_out_cnt10, ktp, in egress_read_sock_fields()
194 pkt_out_cnt = bpf_sk_storage_get(&sk_pkt_out_cnt, sk, in egress_read_sock_fields()
197 pkt_out_cnt10 = bpf_sk_storage_get(&sk_pkt_out_cnt10, in egress_read_sock_fields()
Dlocal_storage.c92 storage = bpf_sk_storage_get(&sk_storage_map, sock->sk, 0, in BPF_PROG()
117 storage = bpf_sk_storage_get(&sk_storage_map, sock->sk, 0, in BPF_PROG()
Dsockopt_sk.c86 storage = bpf_sk_storage_get(&socket_storage_map, ctx->sk, 0, in _getsockopt()
171 storage = bpf_sk_storage_get(&socket_storage_map, ctx->sk, 0, in _setsockopt()
Dtest_skmsg_load_helpers.c36 sk_stg = bpf_sk_storage_get(&socket_storage, msg->sk, 0, BPF_SK_STORAGE_GET_F_CREATE); in prog_msg_verdict()
Dtcp_rtt.c35 storage = bpf_sk_storage_get(&socket_storage_map, sk, 0, in _sockops()
Dbpf_dctcp.c65 stg = bpf_sk_storage_get(&sk_stg_map, (void *)tp, NULL, 0); in BPF_PROG()
/kernel/linux/linux-5.10/samples/bpf/
Dtcp_dumpstats_kern.c47 next_dump = bpf_sk_storage_get(&bpf_next_dump, sk, 0, in _sockops()
/kernel/linux/linux-5.10/net/core/
Dbpf_sk_storage.c255 BPF_CALL_4(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_4() argument
355 .func = bpf_sk_storage_get,
365 .func = bpf_sk_storage_get,