Searched refs:dso__data (Results 1 – 10 of 10) sorted by relevance
530 dso__put(dso__data(dso)->dso); in dso__list_del()661 if (dso__data(dso)->fd >= 0) { in close_data_fd()662 close(dso__data(dso)->fd); in close_data_fd()663 dso__data(dso)->fd = -1; in close_data_fd()664 dso__data(dso)->file_size = 0; in close_data_fd()816 *fd = dso__data(dso)->fd; in dso__data_get_fd()986 if (dso__data(dso)->fd < 0) { in file_read()1110 if (dso__data(dso)->fd < 0) { in file_size()1132 if (dso__data(dso)->file_size) in dso__data_file_size()1157 return dso__data(dso)->file_size; in dso__data_size()[all …]
332 if (dso__data(dso)->eh_frame_hdr_offset == 0) { in read_unwind_spec_eh_frame()338 &dso__data(dso)->eh_frame_hdr_addr, in read_unwind_spec_eh_frame()339 &dso__data(dso)->eh_frame_hdr_offset); in read_unwind_spec_eh_frame()340 dso__data(dso)->elf_base_addr = elf_base_address(fd); in read_unwind_spec_eh_frame()342 if (ret || dso__data(dso)->eh_frame_hdr_offset == 0) in read_unwind_spec_eh_frame()348 args.base_addr -= dso__data(dso)->elf_base_addr; in read_unwind_spec_eh_frame()350 *segbase = args.base_addr + dso__data(dso)->eh_frame_hdr_addr; in read_unwind_spec_eh_frame()351 ret = unwind_spec_ehframe(dso, ui->machine, dso__data(dso)->eh_frame_hdr_offset, in read_unwind_spec_eh_frame()365 u64 ofs = dso__data(dso)->debug_frame_offset; in read_unwind_spec_debug_frame()422 dso__data(dso)->debug_frame_offset = ofs; in read_unwind_spec_debug_frame()
536 if (!dso || dso__data(dso)->status == DSO_DATA_STATUS_ERROR || map__load(al.map) < 0) { in thread__memcpy()
410 static inline struct dso_data *dso__data(struct dso *dso) in dso__data() function
2722 filt->size = dso__data(dso)->file_size; in addr_filter__entire_dso()
1134 if (dso__data(dso)->status == DSO_DATA_STATUS_ERROR && in cs_etm__mem_access()
715 dso__data(dso)->file_size = event->ksymbol.len; in machine__process_ksymbol_register()
824 if (dso__data(dso)->status == DSO_DATA_STATUS_ERROR && in intel_pt_walk_next_insn()
290 TEST_ASSERT_VAL("dsos[0] is not open", dso__data(machine.dsos.dsos[0])->fd != -1); in test__dso_data_cache()297 TEST_ASSERT_VAL("failed to close dsos[0]", dso__data(machine.dsos.dsos[0])->fd == -1); in test__dso_data_cache()373 TEST_ASSERT_VAL("failed to close dso_0", dso__data(dso_0)->fd == -1); in test__dso_data_reopen()383 TEST_ASSERT_VAL("failed to close dso_1", dso__data(dso_1)->fd == -1); in test__dso_data_reopen()
1137 if (dso__data(dso)->status == DSO_DATA_STATUS_ERROR) { in grab_bb()