Lines Matching refs:user_btf
4449 uint8_t *raw_btf = NULL, *user_btf = NULL; in test_big_btf_info() local
4470 user_btf = malloc(raw_btf_size); in test_big_btf_info()
4471 if (CHECK(!user_btf, "!user_btf")) { in test_big_btf_info()
4490 info->btf = ptr_to_u64(user_btf); in test_big_btf_info()
4521 free(user_btf); in test_big_btf_info()
4533 uint8_t *raw_btf = NULL, *user_btf[2] = {}; in test_btf_id() local
4553 user_btf[i] = malloc(raw_btf_size); in test_btf_id()
4554 if (CHECK(!user_btf[i], "!user_btf[%d]", i)) { in test_btf_id()
4558 info[i].btf = ptr_to_u64(user_btf[i]); in test_btf_id()
4586 (ret = memcmp(user_btf[0], user_btf[1], info[0].btf_size)), in test_btf_id()
4649 free(user_btf[i]); in test_btf_id()
4661 uint8_t *raw_btf = NULL, *user_btf = NULL; in do_test_get_info() local
4686 user_btf = malloc(raw_btf_size); in do_test_get_info()
4687 if (CHECK(!user_btf, "!user_btf")) { in do_test_get_info()
4701 memset(user_btf + expected_nbytes, 0xff, in do_test_get_info()
4705 info.btf = ptr_to_u64(user_btf); in do_test_get_info()
4712 (ret = memcmp(raw_btf, user_btf, expected_nbytes)), in do_test_get_info()
4722 if (CHECK(user_btf[expected_nbytes++] != 0xff, in do_test_get_info()
4724 user_btf[expected_nbytes - 1])) { in do_test_get_info()
4737 free(user_btf); in do_test_get_info()