Searched refs:core_fd (Results 1 - 5 of 5) sorted by relevance

/openjdk7/hotspot/agent/src/os/bsd/
H A Dlibproc_impl.h82 int core_fd; // file descriptor of core file member in struct:core_data
H A Dps_core.c48 if (ph->core->core_fd >= 0)
49 close(ph->core->core_fd);
610 if (lseek(ph->core->core_fd, note_phdr->p_offset, SEEK_SET) == (off_t)-1) {
623 if (read(ph->core->core_fd, buf, size) != size) {
656 if ((phbuf = read_program_header_table(ph->core->core_fd, core_ehdr)) == NULL)
690 if (add_map_info(ph, ph->core->core_fd, core_php->p_offset,
963 ph->core->core_fd = -1;
968 if ((ph->core->core_fd = open(core_file, O_RDONLY)) < 0) {
974 if (read_elf_header(ph->core->core_fd, &core_ehdr) != true || core_ehdr.e_type != ET_CORE) {
/openjdk7/hotspot/agent/src/os/linux/
H A Dlibproc_impl.h80 int core_fd; // file descriptor of core file member in struct:core_data
H A Dps_core.c48 if (ph->core->core_fd >= 0)
49 close(ph->core->core_fd);
604 if (lseek(ph->core->core_fd, note_phdr->p_offset, SEEK_SET) == (off_t)-1) {
617 if (read(ph->core->core_fd, buf, size) != size) {
650 if ((phbuf = read_program_header_table(ph->core->core_fd, core_ehdr)) == NULL)
684 if (add_map_info(ph, ph->core->core_fd, core_php->p_offset,
957 ph->core->core_fd = -1;
962 if ((ph->core->core_fd = open(core_file, O_RDONLY)) < 0) {
968 if (read_elf_header(ph->core->core_fd, &core_ehdr) != true || core_ehdr.e_type != ET_CORE) {
/openjdk7/hotspot/agent/src/os/solaris/proc/
H A Dsaproc.cpp744 int core_fd; local
745 if ((core_fd = open64(cmdLine_cstr, O_RDONLY)) >= 0) {
747 if (pread64(core_fd, &e32, sizeof (e32), 0) == sizeof (e32) &&
750 close(core_fd);
753 close(core_fd);

Completed in 55 milliseconds