| /linux/tools/testing/selftests/bpf/progs/ ! |
| H A D | test_sk_storage_tracing.c | 41 stg = bpf_sk_storage_get(&sk_stg_map, sk, 0, in BPF_PROG() 58 stg = bpf_sk_storage_get(&sk_stg_map, sk, 0, in set_task_info() 99 bpf_sk_storage_get(&sk_stg_map, sk, 0, 0); in BPF_PROG() 100 bpf_sk_storage_get(&sk_stg_map, req->sk, 0, 0); in BPF_PROG() 107 bpf_sk_storage_get(&sk_stg_map, skb->sk, 0, 0); in BPF_PROG()
|
| H A D | socket_cookie_prog.c | 40 p = bpf_sk_storage_get(&socket_cookies, ctx->sk, 0, in set_cookie() 66 p = bpf_sk_storage_get(&socket_cookies, sk, 0, 0); in update_cookie_sockops() 87 p = bpf_sk_storage_get(&socket_cookies, sock->sk, 0, 0); in BPF_PROG()
|
| H A D | local_storage.c | 142 storage = bpf_sk_storage_get(&sk_storage_map, sk, 0, 0); in BPF_PROG() 153 storage = bpf_sk_storage_get(&sk_storage_map2, sk, 0, in BPF_PROG() 179 storage = bpf_sk_storage_get(&sk_storage_map, sk, 0, in BPF_PROG()
|
| H A D | sockopt_inherit.c | 42 return bpf_sk_storage_get(&cloned1_map, ctx->sk, 0, in get_storage() 45 return bpf_sk_storage_get(&cloned2_map, ctx->sk, 0, in get_storage() 48 return bpf_sk_storage_get(&listener_only_map, ctx->sk, 0, in get_storage()
|
| H A D | udp_limit.c | 24 sk_storage = bpf_sk_storage_get(&sk_map, ctx, 0, in sock() 52 sk_storage = bpf_sk_storage_get(&sk_map, ctx, 0, 0); in sock_release()
|
| H A D | bpf_iter_bpf_sk_storage_helpers.c | 40 sock_tgid = bpf_sk_storage_get(&sk_stg_map, sock->sk, 0, 0); in fill_socket_owner() 58 sock_tgid = bpf_sk_storage_get(&sk_stg_map, sk_common, 0, 0); in negate_socket_local_storage()
|
| H A D | test_tcp_hdr_options.c | 239 hdr_stg = bpf_sk_storage_get(&hdr_stg_map, skops->sk, NULL, 0); in fin_opt_len() 266 hdr_stg = bpf_sk_storage_get(&hdr_stg_map, skops->sk, NULL, 0); in write_fin_opt() 288 hdr_stg = bpf_sk_storage_get(&hdr_stg_map, skops->sk, NULL, 0); in resend_in_ack() 424 if (!skops->sk || !bpf_sk_storage_get(&hdr_stg_map, skops->sk, in handle_active_estab() 509 !bpf_sk_storage_get(&hdr_stg_map, skops->sk, &init_stg, in handle_passive_estab() 540 hdr_stg = bpf_sk_storage_get(&hdr_stg_map, skops->sk, NULL, 0); in handle_parse_hdr()
|
| H A D | connect_force_port4.c | 45 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, in connect4() 83 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, 0); in getpeername4()
|
| H A D | test_sock_fields.c | 193 pkt_out_cnt = bpf_sk_storage_get(&sk_pkt_out_cnt, ktp, 0, 0); in egress_read_sock_fields() 194 pkt_out_cnt10 = bpf_sk_storage_get(&sk_pkt_out_cnt10, ktp, in egress_read_sock_fields() 197 pkt_out_cnt = bpf_sk_storage_get(&sk_pkt_out_cnt, sk, in egress_read_sock_fields() 200 pkt_out_cnt10 = bpf_sk_storage_get(&sk_pkt_out_cnt10, in egress_read_sock_fields()
|
| H A D | mptcp_sock.c | 51 storage = bpf_sk_storage_get(&socket_storage_map, sk, 0, in _sockops() 64 storage = bpf_sk_storage_get(&socket_storage_map, msk, 0, in _sockops()
|
| H A D | netns_cookie_prog.c | 48 cookie = bpf_sk_storage_get(&sockops_netns_cookies, sk, 0, in get_netns_cookie_sockops() 77 cookie = bpf_sk_storage_get(&sk_msg_netns_cookies, sk, 0, in get_netns_cookie_sk_msg()
|
| H A D | connect_force_port6.c | 44 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, in connect6() 91 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, 0); in getpeername6()
|
| H A D | sockopt_sk.c | 116 storage = bpf_sk_storage_get(&socket_storage_map, ctx->sk, 0, in _getsockopt() 221 storage = bpf_sk_storage_get(&socket_storage_map, ctx->sk, 0, in _setsockopt()
|
| H A D | net_timestamping.c | 141 stg = bpf_sk_storage_get(&sk_stg_map, (void *)sk, 0, 0); in bpf_test_delay() 200 stg = bpf_sk_storage_get(&sk_stg_map, sk, 0, in BPF_PROG()
|
| H A D | test_sk_storage_trace_itself.c | 20 value = bpf_sk_storage_get(&sk_stg_map, sk, 0, in BPF_PROG()
|
| H A D | nested_trust_failure.c | 39 bpf_sk_storage_get(&sk_storage_map, skb->next, 0, 0); in BPF_PROG()
|
| H A D | nested_trust_success.c | 32 bpf_sk_storage_get(&sk_storage_map, skb->sk, 0, 0); in BPF_PROG()
|
| H A D | sk_storage_omem_uncharge.c | 44 value = bpf_sk_storage_get(&sk_storage, sk, 0, 0); in BPF_PROG()
|
| H A D | tcp_rtt.c | 37 storage = bpf_sk_storage_get(&socket_storage_map, sk, 0, in _sockops()
|
| H A D | test_skmsg_load_helpers.c | 35 sk_stg = bpf_sk_storage_get(&socket_storage, msg->sk, 0, BPF_SK_STORAGE_GET_F_CREATE); in prog_msg_verdict_common()
|
| H A D | bench_local_storage_create.c | 72 stg = bpf_sk_storage_get(&sk_storage_map, sk, NULL, in BPF_PROG()
|
| H A D | verifier_sock.c | 692 __imm(bpf_sk_storage_get), in sk_null_0_value_null() 721 __imm(bpf_sk_storage_get), in sk_1_1_value_1() 753 __imm(bpf_sk_storage_get), in stack_value_1_stack_value()
|
| /linux/Documentation/bpf/ ! |
| H A D | map_sk_storage.rst | 30 bpf_sk_storage_get() 35 void *bpf_sk_storage_get(struct bpf_map *map, void *sk, void *value, u64 flags) 38 ``bpf_sk_storage_get()`` helper. If the ``BPF_LOCAL_STORAGE_GET_F_CREATE`` 39 flag is used then ``bpf_sk_storage_get()`` will create the storage for ``sk`` 142 storage = bpf_sk_storage_get(&socket_storage, sk, 0,
|
| /linux/samples/bpf/ ! |
| H A D | tcp_dumpstats_kern.c | 47 next_dump = bpf_sk_storage_get(&bpf_next_dump, sk, 0, in _sockops()
|
| /linux/net/core/ ! |
| H A D | bpf_sk_storage.c | 231 BPF_CALL_5(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5() argument 333 .func = bpf_sk_storage_get, 343 .func = bpf_sk_storage_get,
|