Lines Matching refs:ps_prochandle

51 static file_info_t *build_map_symtab(struct ps_prochandle *, map_info_t *);
52 static map_info_t *exec_map(struct ps_prochandle *);
53 static map_info_t *object_to_map(struct ps_prochandle *, Lmid_t, const char *);
54 static map_info_t *object_name_to_map(struct ps_prochandle *,
57 static int read_ehdr32(struct ps_prochandle *, Elf32_Ehdr *, uint_t *,
60 static int read_ehdr64(struct ps_prochandle *, Elf64_Ehdr *, uint_t *,
97 get_saddrs(struct ps_prochandle *P, uintptr_t ehdr_start, uint_t *n)
171 file_info_new(struct ps_prochandle *P, map_info_t *mptr)
242 file_info_free(struct ps_prochandle *P, file_info_t *fptr)
291 map_info_free(struct ps_prochandle *P, map_info_t *mptr)
323 struct ps_prochandle *P = cd;
382 map_set(struct ps_prochandle *P, map_info_t *mptr, const char *lname)
417 load_static_maps(struct ps_prochandle *P)
444 Pupdate_maps(struct ps_prochandle *P)
578 Pupdate_syms(struct ps_prochandle *P)
600 Prd_agent(struct ps_prochandle *P)
618 Paddr_to_text_map(struct ps_prochandle *P, uintptr_t addr)
651 Paddr_to_map(struct ps_prochandle *P, uintptr_t addr)
669 Plmid_to_map(struct ps_prochandle *P, Lmid_t lmid, const char *name)
683 Pname_to_map(struct ps_prochandle *P, const char *name)
689 Paddr_to_loadobj(struct ps_prochandle *P, uintptr_t addr)
709 Plmid_to_loadobj(struct ps_prochandle *P, Lmid_t lmid, const char *name)
729 Pname_to_loadobj(struct ps_prochandle *P, const char *name)
735 Pbuild_file_ctf(struct ps_prochandle *P, file_info_t *fptr)
813 Paddr_to_ctf(struct ps_prochandle *P, uintptr_t addr)
829 Plmid_to_ctf(struct ps_prochandle *P, Lmid_t lmid, const char *name)
845 Pname_to_ctf(struct ps_prochandle *P, const char *name)
857 Preadauxvec(struct ps_prochandle *P)
902 Pgetauxval(struct ps_prochandle *P, int type)
925 Pgetauxvec(struct ps_prochandle *P)
943 is_mapping_in_file(struct ps_prochandle *P, map_info_t *mptr, file_info_t *fptr)
997 build_map_symtab(struct ps_prochandle *P, map_info_t *mptr)
1062 read_ehdr32(struct ps_prochandle *P, Elf32_Ehdr *ehdr, uint_t *phnum,
1097 read_dynamic_phdr32(struct ps_prochandle *P, const Elf32_Ehdr *ehdr,
1116 read_ehdr64(struct ps_prochandle *P, Elf64_Ehdr *ehdr, uint_t *phnum,
1151 read_dynamic_phdr64(struct ps_prochandle *P, const Elf64_Ehdr *ehdr,
1205 file_differs(struct ps_prochandle *P, Elf *elf, file_info_t *fptr)
1348 fake_elf(struct ps_prochandle *P, file_info_t *fptr)
1591 build_fake_elf(struct ps_prochandle *P, file_info_t *fptr, GElf_Ehdr *ehdr,
1618 Pbuild_file_symtab(struct ps_prochandle *P, file_info_t *fptr)
1984 Paddr2mptr(struct ps_prochandle *P, uintptr_t addr)
2014 exec_map(struct ps_prochandle *P)
2068 object_to_map(struct ps_prochandle *P, Lmid_t lmid, const char *objname)
2150 object_name_to_map(struct ps_prochandle *P, Lmid_t lmid, const char *name)
2417 struct ps_prochandle *P,
2486 Pxlookup_by_addr(struct ps_prochandle *P, uintptr_t addr, char *buf,
2493 Pxlookup_by_addr_resolved(struct ps_prochandle *P, uintptr_t addr, char *buf,
2500 Plookup_by_addr(struct ps_prochandle *P, uintptr_t addr, char *buf,
2514 struct ps_prochandle *P,
2611 Plookup_by_name(struct ps_prochandle *P, const char *object,
2621 i_Pmapping_iter(struct ps_prochandle *P, boolean_t lmresolve,
2647 Pmapping_iter(struct ps_prochandle *P, proc_map_f *func, void *cd)
2653 Pmapping_iter_resolved(struct ps_prochandle *P, proc_map_f *func, void *cd)
2662 i_Pobject_iter(struct ps_prochandle *P, boolean_t lmresolve,
2697 Pobject_iter(struct ps_prochandle *P, proc_map_f *func, void *cd)
2703 Pobject_iter_resolved(struct ps_prochandle *P, proc_map_f *func, void *cd)
2709 i_Pobjname(struct ps_prochandle *P, boolean_t lmresolve, uintptr_t addr,
2742 Pobjname(struct ps_prochandle *P, uintptr_t addr,
2757 Pobjname_resolved(struct ps_prochandle *P, uintptr_t addr,
2768 Plmid(struct ps_prochandle *P, uintptr_t addr, Lmid_t *lmidp)
2791 Psymbol_iter_com(struct ps_prochandle *P, Lmid_t lmid, const char *object_name,
2916 Pxsymbol_iter(struct ps_prochandle *P, Lmid_t lmid, const char *object_name,
2924 Psymbol_iter_by_lmid(struct ps_prochandle *P, Lmid_t lmid,
2932 Psymbol_iter(struct ps_prochandle *P,
2940 Psymbol_iter_by_addr(struct ps_prochandle *P,
2948 Psymbol_iter_by_name(struct ps_prochandle *P,
2960 Pplatform(struct ps_prochandle *P, char *s, size_t n)
2986 Puname(struct ps_prochandle *P, struct utsname *u)
3006 * the symbol table heads in the new ps_prochandle.
3009 Pinitsym(struct ps_prochandle *P)
3020 Preset_maps(struct ps_prochandle *P)
3061 getenv_func(void *data, struct ps_prochandle *P, uintptr_t addr,
3083 Pgetenv(struct ps_prochandle *P, const char *name, char *buf, size_t buflen)
3111 Penv_iter(struct ps_prochandle *P, proc_env_f *func, void *data)