Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c31 .btf_fd = -1,
148 int btf_fd, map_fd; in create_sk_storage_map() local
150 btf_fd = load_btf(); in create_sk_storage_map()
151 CHECK(btf_fd == -1, "bpf_load_btf", "btf_fd:%d errno:%d\n", in create_sk_storage_map()
152 btf_fd, errno); in create_sk_storage_map()
153 xattr.btf_fd = btf_fd; in create_sk_storage_map()
156 xattr.btf_fd = -1; in create_sk_storage_map()
157 close(btf_fd); in create_sk_storage_map()
467 int btf_fd, map_fd, sk_fd, err; in test_sk_storage_map_basic() local
469 btf_fd = load_btf(); in test_sk_storage_map_basic()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier.c549 int btf_fd; in load_btf() local
561 btf_fd = bpf_load_btf(raw_btf, ptr - raw_btf, 0, 0, 0); in load_btf()
563 if (btf_fd < 0) in load_btf()
565 return btf_fd; in load_btf()
579 int fd, btf_fd; in create_map_spin_lock() local
581 btf_fd = load_btf(); in create_map_spin_lock()
582 if (btf_fd < 0) in create_map_spin_lock()
584 attr.btf_fd = btf_fd; in create_map_spin_lock()
603 int fd, btf_fd; in create_sk_storage_map() local
605 btf_fd = load_btf(); in create_sk_storage_map()
[all …]
Dtest_btf.c3629 int map_fd = -1, btf_fd = -1; in do_test_raw() local
3653 btf_fd = bpf_load_btf(raw_btf, raw_btf_size, in do_test_raw()
3658 err = ((btf_fd == -1) != test->btf_load_err); in do_test_raw()
3660 btf_fd, test->btf_load_err) || in do_test_raw()
3667 if (err || btf_fd == -1) in do_test_raw()
3675 create_attr.btf_fd = btf_fd; in do_test_raw()
3692 if (btf_fd != -1) in do_test_raw()
3693 close(btf_fd); in do_test_raw()
3790 int btf_fd = -1, err; in test_big_btf_info() local
3810 btf_fd = bpf_load_btf(raw_btf, raw_btf_size, in test_big_btf_info()
[all …]
/external/ltp/include/lapi/
Dbpf.h187 uint32_t btf_fd; /* fd pointing to a BTF type data */ member
/external/bcc/src/cc/includes/compat/linux/
Dbpf.h331 __u32 btf_fd; /* fd pointing to a BTF type data */ member
/external/bcc/src/cc/compat/linux/
Dbpf.h331 __u32 btf_fd; /* fd pointing to a BTF type data */ member
/external/kernel-headers/original/uapi/linux/
Dbpf.h505 __u32 btf_fd; /* fd pointing to a BTF type data */ member
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v0.abi55452 …<var-decl name="btf_fd" type-id="3f1a6b60" visibility="default" filepath="include/uapi/linux/bpf.h…
Dtest-PR27569-v1.abi55481 …<var-decl name="btf_fd" type-id="3f1a6b60" visibility="default" filepath="include/uapi/linux/bpf.h…