/openbmc/linux/tools/testing/selftests/bpf/benchs/ |
H A D | bench_local_storage_create.c | 21 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 D | sockopt_inherit.c | 19 __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 D | netns_cookie_prog.c | 10 __uint(type, BPF_MAP_TYPE_SK_STORAGE); 17 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | test_sk_storage_tracing.c | 16 __uint(type, BPF_MAP_TYPE_SK_STORAGE); 24 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | test_sk_storage_trace_itself.c | 9 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | nested_trust_success.c | 14 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | local_storage.c | 34 __uint(type, BPF_MAP_TYPE_SK_STORAGE); 41 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | udp_limit.c | 10 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | nested_trust_failure.c | 14 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | bpf_iter_bpf_sk_storage_map.c | 11 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | bpf_iter_bpf_sk_storage_helpers.c | 10 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | sk_storage_omem_uncharge.c | 18 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | tcp_rtt.c | 16 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | test_skmsg_load_helpers.c | 21 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | socket_cookie_prog.c | 18 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | connect_force_port4.c | 23 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | bench_local_storage_create.c | 19 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | mptcp_sock.c | 22 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | connect_force_port6.c | 22 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | test_sock_fields.c | 32 __uint(type, BPF_MAP_TYPE_SK_STORAGE); 39 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
H A D | sockopt_sk.c | 23 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
|
/openbmc/linux/Documentation/bpf/ |
H A D | map_sk_storage.rst | 5 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 D | sk_storage_map.c | 151 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 D | tcp_dumpstats_kern.c | 21 .type = BPF_MAP_TYPE_SK_STORAGE,
|
/openbmc/linux/include/linux/ |
H A D | bpf_types.h | 116 BPF_MAP_TYPE(BPF_MAP_TYPE_SK_STORAGE, sk_storage_map_ops)
|