expect_btf 6724 tools/testing/selftests/bpf/test_btf.c struct btf *test_btf = NULL, *expect_btf = NULL; expect_btf 6755 tools/testing/selftests/bpf/test_btf.c expect_btf = btf__new((__u8 *)raw_btf, raw_btf_size); expect_btf 6757 tools/testing/selftests/bpf/test_btf.c if (CHECK(IS_ERR(expect_btf), "invalid expect_btf errno:%ld", expect_btf 6758 tools/testing/selftests/bpf/test_btf.c PTR_ERR(expect_btf))) { expect_btf 6770 tools/testing/selftests/bpf/test_btf.c expect_btf_data = btf__get_raw_data(expect_btf, &expect_btf_size); expect_btf 6826 tools/testing/selftests/bpf/test_btf.c expect_nr_types = btf__get_nr_types(expect_btf); expect_btf 6839 tools/testing/selftests/bpf/test_btf.c expect_type = btf__type_by_id(expect_btf, i); expect_btf 6863 tools/testing/selftests/bpf/test_btf.c if (!IS_ERR(expect_btf)) expect_btf 6864 tools/testing/selftests/bpf/test_btf.c btf__free(expect_btf);