Lines Matching refs:machine
103 static int dso__data_fd(struct dso *dso, struct machine *machine) in dso__data_fd() argument
105 int fd = dso__data_get_fd(dso, machine); in dso__data_fd()
115 struct machine machine; in test__dso_data() local
122 memset(&machine, 0, sizeof(machine)); in test__dso_data()
127 dso__data_fd(dso, &machine) >= 0); in test__dso_data()
136 size = dso__data_read_offset(dso, &machine, data->offset, in test__dso_data()
155 size = dso__data_read_offset(dso, &machine, 10, in test__dso_data()
250 struct machine machine; in test__dso_data_cache() local
254 memset(&machine, 0, sizeof(machine)); in test__dso_data_cache()
272 fd = dso__data_fd(dso, &machine); in test__dso_data_cache()
280 n = dso__data_read_offset(dso, &machine, 0, buf, BUFSIZE); in test__dso_data_cache()
289 fd = dso__data_fd(dsos[i], &machine); in test__dso_data_cache()
307 struct machine machine; in test__dso_data_reopen() local
315 memset(&machine, 0, sizeof(machine)); in test__dso_data_reopen()
333 fd = dso__data_fd(dso_0, &machine); in test__dso_data_reopen()
337 fd = dso__data_fd(dso_1, &machine); in test__dso_data_reopen()
348 fd = dso__data_fd(dso_2, &machine); in test__dso_data_reopen()
358 fd = dso__data_fd(dso_0, &machine); in test__dso_data_reopen()