Home
last modified time | relevance | path

Searched refs:BPF_MAP_TYPE_SK_STORAGE (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage_create.c21 static int storage_type = BPF_MAP_TYPE_SK_STORAGE;
54 storage_type = BPF_MAP_TYPE_SK_STORAGE; in parse_arg()
92 if (storage_type == BPF_MAP_TYPE_SK_STORAGE) { in setup()
119 if (storage_type == BPF_MAP_TYPE_SK_STORAGE) { in setup()
198 if (storage_type == BPF_MAP_TYPE_SK_STORAGE) in producer()
242 storage_type == BPF_MAP_TYPE_SK_STORAGE ? in report_final()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dsockopt_inherit.c19 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
26 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
33 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dnetns_cookie_prog.c10 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
17 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dtest_sk_storage_tracing.c16 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
24 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dtest_sk_storage_trace_itself.c9 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dnested_trust_success.c14 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dlocal_storage.c34 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
41 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dudp_limit.c10 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dnested_trust_failure.c14 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dbpf_iter_bpf_sk_storage_map.c11 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dbpf_iter_bpf_sk_storage_helpers.c10 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dsk_storage_omem_uncharge.c18 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dtcp_rtt.c16 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dtest_skmsg_load_helpers.c21 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dsocket_cookie_prog.c18 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dconnect_force_port4.c23 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dbench_local_storage_create.c19 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dmptcp_sock.c22 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dconnect_force_port6.c22 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dtest_sock_fields.c32 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
39 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
H A Dsockopt_sk.c23 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
/openbmc/linux/Documentation/bpf/
H A Dmap_sk_storage.rst5 BPF_MAP_TYPE_SK_STORAGE title
9 - ``BPF_MAP_TYPE_SK_STORAGE`` was introduced in kernel version 5.2
11 ``BPF_MAP_TYPE_SK_STORAGE`` is used to provide socket-local storage for BPF
12 programs. A map of type ``BPF_MAP_TYPE_SK_STORAGE`` declares the type of storage
14 storage. The values for maps of type ``BPF_MAP_TYPE_SK_STORAGE`` are stored
122 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
/openbmc/linux/tools/testing/selftests/bpf/map_tests/
H A Dsk_storage_map.c151 map_fd = bpf_map_create(BPF_MAP_TYPE_SK_STORAGE, "sk_storage_map", 4, 8, 0, &map_opts); in create_sk_storage_map()
474 map_fd = bpf_map_create(BPF_MAP_TYPE_SK_STORAGE, "sk_storage_map", 4, 8, 0, &map_opts); in test_sk_storage_map_basic()
565 err = bpf_map_create(BPF_MAP_TYPE_SK_STORAGE, "sk_storage_map", 4, 8, 0, &bad_xattr); in test_sk_storage_map_basic()
571 err = bpf_map_create(BPF_MAP_TYPE_SK_STORAGE, "sk_storage_map", 4, 8, 0, &bad_xattr); in test_sk_storage_map_basic()
575 err = bpf_map_create(BPF_MAP_TYPE_SK_STORAGE, "sk_storage_map", 4, 8, 1, &map_opts); in test_sk_storage_map_basic()
581 err = bpf_map_create(BPF_MAP_TYPE_SK_STORAGE, "sk_storage_map", 4, 8, 0, &bad_xattr); in test_sk_storage_map_basic()
/openbmc/linux/samples/bpf/
H A Dtcp_dumpstats_kern.c21 .type = BPF_MAP_TYPE_SK_STORAGE,
/openbmc/linux/include/linux/
H A Dbpf_types.h116 BPF_MAP_TYPE(BPF_MAP_TYPE_SK_STORAGE, sk_storage_map_ops)

12