Searched refs:phbuf (Results 1 - 6 of 6) sorted by relevance

/openjdk7/hotspot/agent/src/os/bsd/
H A Dsalibelf.c49 ELF_PHDR* phbuf = 0; local
53 if ((phbuf = (ELF_PHDR*) malloc(nbytes)) == NULL) {
58 if (pread(fd, phbuf, nbytes, hdr->e_phoff) != nbytes) {
60 free(phbuf);
64 return phbuf;
108 ELF_PHDR *phbuf, *phdr; local
111 if ((phbuf = read_program_header_table(fd, ehdr)) == NULL) {
117 for (phdr = phbuf, cnt = 0; cnt < ehdr->e_phnum; cnt++, phdr++) {
124 if (phbuf) free(phbuf);
[all...]
H A Dps_core.c653 ELF_PHDR* phbuf = NULL; local
656 if ((phbuf = read_program_header_table(ph->core->core_fd, core_ehdr)) == NULL)
682 for (core_php = phbuf, i = 0; i < core_ehdr->e_phnum; i++) {
700 free(phbuf);
703 free(phbuf);
710 ELF_PHDR* phbuf; local
713 if ((phbuf = read_program_header_table(lib_fd, lib_ehdr)) == NULL)
719 for (lib_php = phbuf, i = 0; i < lib_ehdr->e_phnum; i++) {
727 free(phbuf);
730 free(phbuf);
754 ELF_PHDR* phbuf = NULL; local
[all...]
H A Dsymtab.c67 ELF_PHDR* phbuf = NULL; local
192 if (phbuf) free(phbuf);
/openjdk7/hotspot/agent/src/os/linux/
H A Dsalibelf.c48 ELF_PHDR* phbuf = 0; local
52 if ((phbuf = (ELF_PHDR*) malloc(nbytes)) == NULL) {
57 if (pread(fd, phbuf, nbytes, hdr->e_phoff) != nbytes) {
59 free(phbuf);
63 return phbuf;
107 ELF_PHDR *phbuf, *phdr; local
110 if ((phbuf = read_program_header_table(fd, ehdr)) == NULL) {
116 for (phdr = phbuf, cnt = 0; cnt < ehdr->e_phnum; cnt++, phdr++) {
123 if (phbuf) free(phbuf);
[all...]
H A Dps_core.c647 ELF_PHDR* phbuf = NULL; local
650 if ((phbuf = read_program_header_table(ph->core->core_fd, core_ehdr)) == NULL)
676 for (core_php = phbuf, i = 0; i < core_ehdr->e_phnum; i++) {
694 free(phbuf);
697 free(phbuf);
704 ELF_PHDR* phbuf; local
707 if ((phbuf = read_program_header_table(lib_fd, lib_ehdr)) == NULL)
713 for (lib_php = phbuf, i = 0; i < lib_ehdr->e_phnum; i++) {
721 free(phbuf);
724 free(phbuf);
748 ELF_PHDR* phbuf = NULL; local
[all...]
H A Dsymtab.c333 ELF_PHDR* phbuf = NULL; local
479 if (phbuf) free(phbuf);

Completed in 38 milliseconds