Lines Matching refs:user_btf
3763 uint8_t *raw_btf = NULL, *user_btf = NULL; in test_big_btf_info() local
3784 user_btf = malloc(raw_btf_size); in test_big_btf_info()
3785 if (CHECK(!user_btf, "!user_btf")) { in test_big_btf_info()
3806 info->btf = ptr_to_u64(user_btf); in test_big_btf_info()
3837 free(user_btf); in test_big_btf_info()
3849 uint8_t *raw_btf = NULL, *user_btf[2] = {}; in test_btf_id() local
3869 user_btf[i] = malloc(raw_btf_size); in test_btf_id()
3870 if (CHECK(!user_btf[i], "!user_btf[%d]", i)) { in test_btf_id()
3874 info[i].btf = ptr_to_u64(user_btf[i]); in test_btf_id()
3904 (ret = memcmp(user_btf[0], user_btf[1], info[0].btf_size)), in test_btf_id()
3972 free(user_btf[i]); in test_btf_id()
3984 uint8_t *raw_btf = NULL, *user_btf = NULL; in do_test_get_info() local
4009 user_btf = malloc(raw_btf_size); in do_test_get_info()
4010 if (CHECK(!user_btf, "!user_btf")) { in do_test_get_info()
4026 memset(user_btf + expected_nbytes, 0xff, in do_test_get_info()
4030 info.btf = ptr_to_u64(user_btf); in do_test_get_info()
4037 (ret = memcmp(raw_btf, user_btf, expected_nbytes)), in do_test_get_info()
4047 if (CHECK(user_btf[expected_nbytes++] != 0xff, in do_test_get_info()
4049 user_btf[expected_nbytes - 1])) { in do_test_get_info()
4062 free(user_btf); in do_test_get_info()