Lines Matching refs:machine
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()
118 struct machine machine; in test__dso_data() local
125 memset(&machine, 0, sizeof(machine)); 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()
253 struct machine machine; in test__dso_data_cache() local
260 memset(&machine, 0, sizeof(machine)); in test__dso_data_cache()
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()
295 fd = dso__data_fd(dsos[i], &machine); in test__dso_data_cache()
313 struct machine machine; in test__dso_data_reopen() local
324 memset(&machine, 0, sizeof(machine)); in test__dso_data_reopen()
342 fd = dso__data_fd(dso_0, &machine); in test__dso_data_reopen()
346 fd = dso__data_fd(dso_1, &machine); in test__dso_data_reopen()
357 fd = dso__data_fd(dso_2, &machine); in test__dso_data_reopen()
367 fd = dso__data_fd(dso_0, &machine); in test__dso_data_reopen()