Lines Matching refs:dsos
202 static struct dso **dsos; variable
208 dsos = malloc(sizeof(*dsos) * cnt); in dsos__create()
209 TEST_ASSERT_VAL("failed to alloc dsos array", dsos); in dsos__create()
217 dsos[i] = dso__new(file); in dsos__create()
218 TEST_ASSERT_VAL("failed to get dso", dsos[i]); in dsos__create()
229 struct dso *dso = dsos[i]; in dsos__delete()
235 free(dsos); in dsos__delete()
272 struct dso *dso = dsos[i]; in test__dso_data_cache()
292 TEST_ASSERT_VAL("dsos[0] is not open", dsos[0]->data.fd != -1); in test__dso_data_cache()
295 fd = dso__data_fd(dsos[i], &machine); in test__dso_data_cache()
299 TEST_ASSERT_VAL("failed to close dsos[0]", dsos[0]->data.fd == -1); in test__dso_data_cache()
327 #define dso_0 (dsos[0]) in test__dso_data_reopen()
328 #define dso_1 (dsos[1]) in test__dso_data_reopen()
329 #define dso_2 (dsos[2]) in test__dso_data_reopen()