Lines Matching refs:dso
106 static int dso__data_fd(struct dso *dso, struct machine *machine) in dso__data_fd() argument
108 int fd = dso__data_get_fd(dso, machine); in dso__data_fd()
111 dso__data_put_fd(dso); in dso__data_fd()
119 struct dso *dso; in test__dso_data() local
127 dso = dso__new((const char *)file); in test__dso_data()
130 dso__data_fd(dso, &machine) >= 0); in test__dso_data()
139 size = dso__data_read_offset(dso, &machine, data->offset, in test__dso_data()
158 size = dso__data_read_offset(dso, &machine, 10, in test__dso_data()
172 dso__put(dso); in test__dso_data()
202 static struct dso **dsos;
229 struct dso *dso = dsos[i]; in dsos__delete() local
231 unlink(dso->name); in dsos__delete()
232 dso__put(dso); in dsos__delete()
272 struct dso *dso = dsos[i]; in test__dso_data_cache() local
278 fd = dso__data_fd(dso, &machine); in test__dso_data_cache()
286 n = dso__data_read_offset(dso, &machine, 0, buf, BUFSIZE); in test__dso_data_cache()