Lines Matching refs:user_btf
3914 uint8_t *raw_btf = NULL, *user_btf = NULL; in test_big_btf_info() local
3935 user_btf = malloc(raw_btf_size); in test_big_btf_info()
3936 if (CHECK(!user_btf, "!user_btf")) { in test_big_btf_info()
3957 info->btf = ptr_to_u64(user_btf); in test_big_btf_info()
3988 free(user_btf); in test_big_btf_info()
4000 uint8_t *raw_btf = NULL, *user_btf[2] = {}; in test_btf_id() local
4020 user_btf[i] = malloc(raw_btf_size); in test_btf_id()
4021 if (CHECK(!user_btf[i], "!user_btf[%d]", i)) { in test_btf_id()
4025 info[i].btf = ptr_to_u64(user_btf[i]); in test_btf_id()
4055 (ret = memcmp(user_btf[0], user_btf[1], info[0].btf_size)), in test_btf_id()
4123 free(user_btf[i]); in test_btf_id()
4135 uint8_t *raw_btf = NULL, *user_btf = NULL; in do_test_get_info() local
4160 user_btf = malloc(raw_btf_size); in do_test_get_info()
4161 if (CHECK(!user_btf, "!user_btf")) { in do_test_get_info()
4177 memset(user_btf + expected_nbytes, 0xff, in do_test_get_info()
4181 info.btf = ptr_to_u64(user_btf); in do_test_get_info()
4188 (ret = memcmp(raw_btf, user_btf, expected_nbytes)), in do_test_get_info()
4198 if (CHECK(user_btf[expected_nbytes++] != 0xff, in do_test_get_info()
4200 user_btf[expected_nbytes - 1])) { in do_test_get_info()
4213 free(user_btf); in do_test_get_info()