Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_btf.c3628 struct bpf_create_map_attr create_attr = {}; in do_test_raw() local
3670 create_attr.name = test->map_name; in do_test_raw()
3671 create_attr.map_type = test->map_type; in do_test_raw()
3672 create_attr.key_size = test->key_size; in do_test_raw()
3673 create_attr.value_size = test->value_size; in do_test_raw()
3674 create_attr.max_entries = test->max_entries; in do_test_raw()
3675 create_attr.btf_fd = btf_fd; in do_test_raw()
3676 create_attr.btf_key_type_id = test->key_type_id; in do_test_raw()
3677 create_attr.btf_value_type_id = test->value_type_id; in do_test_raw()
3679 map_fd = bpf_create_map_xattr(&create_attr); in do_test_raw()
[all …]