Searched defs:lib_fd (Results 1 - 2 of 2) sorted by relevance
| /openjdk7/hotspot/agent/src/os/bsd/ |
| H A D | ps_core.c | 708 static bool read_lib_segments(struct ps_prochandle* ph, int lib_fd, ELF_EHDR* lib_ehdr, uintptr_t lib_base) { argument 713 if ((phbuf = read_program_header_table(lib_fd, lib_ehdr)) == NULL) 721 if (add_map_info(ph, lib_fd, lib_php->p_offset, lib_php->p_vaddr + lib_base, lib_php->p_filesz) == NULL) 825 int lib_fd; local 904 lib_fd = pathmap_open(lib_name); 906 if (lib_fd < 0) { 910 if (read_elf_header(lib_fd, &elf_ehdr)) { 911 lib_base = lib_base_diff + find_base_address(lib_fd, &elf_ehdr); 915 if (! read_lib_segments(ph, lib_fd, &elf_ehdr, lib_base_diff)) { 917 close(lib_fd); [all...] |
| /openjdk7/hotspot/agent/src/os/linux/ |
| H A D | ps_core.c | 702 static bool read_lib_segments(struct ps_prochandle* ph, int lib_fd, ELF_EHDR* lib_ehdr, uintptr_t lib_base) { argument 707 if ((phbuf = read_program_header_table(lib_fd, lib_ehdr)) == NULL) 715 if (add_map_info(ph, lib_fd, lib_php->p_offset, lib_php->p_vaddr + lib_base, lib_php->p_filesz) == NULL) 819 int lib_fd; local 897 lib_fd = pathmap_open(lib_name); 899 if (lib_fd < 0) { 903 if (read_elf_header(lib_fd, &elf_ehdr)) { 904 lib_base = lib_base_diff + find_base_address(lib_fd, &elf_ehdr); 908 if (! read_lib_segments(ph, lib_fd, &elf_ehdr, lib_base_diff)) { 910 close(lib_fd); [all...] |
Completed in 136 milliseconds