Searched refs:bad_xattr (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/map_tests/ |
D | sk_storage_map.c | 462 struct bpf_map_create_opts bad_xattr; in test_sk_storage_map_basic() local 563 memcpy(&bad_xattr, &map_opts, sizeof(map_opts)); in test_sk_storage_map_basic() 564 bad_xattr.btf_key_type_id = 0; 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() 569 memcpy(&bad_xattr, &map_opts, sizeof(map_opts)); in test_sk_storage_map_basic() 570 bad_xattr.btf_key_type_id = 3; 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() 579 memcpy(&bad_xattr, &map_opts, sizeof(map_opts)); in test_sk_storage_map_basic() 580 bad_xattr.map_flags = 0; 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()
|