Searched refs:prmap_t (Results 1 - 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dproc_kludges.c45 prmap_t *pkm_mappings;
48 prmap_t *pkm_old_mappings;
53 prockludge_mappings_iter(prockludge_mappings_t *pkm, const prmap_t *pmp,
62 pkm->pkm_mappings = mdb_alloc(sizeof (prmap_t) * s, UM_SLEEP);
65 sizeof (prmap_t) * pkm->pkm_old_max);
68 sizeof (prmap_t) * pkm->pkm_old_max);
73 bcopy(pmp, &pkm->pkm_mappings[pkm->pkm_count++], sizeof (prmap_t));
127 sizeof (prmap_t) * pkm->pkm_old_max);
132 sizeof (prmap_t) * pkm->pkm_max);
H A Dlibumem.c441 * kmdb doesn't use libproc, and thus doesn't have any prmap_t's to walk.
456 const prmap_t *prm = prm_arg;
H A Dleaky_subr.c223 leaky_process_anon_mappings(uintptr_t ignored, const prmap_t *pmp,
510 leaky_grep_mappings(uintptr_t ignored, const prmap_t *pmp,
/illumos-gate/usr/src/lib/libproc/common/
H A DPscantext.c59 prmap_t *pdp; /* pointer to map descriptor */
60 prmap_t *prbuf; /* buffer for map descriptors */
95 prbuf = malloc(nmap * sizeof (prmap_t));
101 nmappings = pread(mapfd, prbuf, nmap * sizeof (prmap_t), 0L);
109 nmappings /= sizeof (prmap_t);
H A Dlibproc.h189 typedef int (*pop_read_maps_t)(struct ps_prochandle *, prmap_t **, ssize_t *,
523 typedef int proc_map_f(void *, const prmap_t *, const char *);
530 extern const prmap_t *Paddr_to_map(struct ps_prochandle *, uintptr_t);
531 extern const prmap_t *Paddr_to_text_map(struct ps_prochandle *, uintptr_t);
532 extern const prmap_t *Pname_to_map(struct ps_prochandle *, const char *);
533 extern const prmap_t *Plmid_to_map(struct ps_prochandle *,
H A DPcontrol.h96 char file_pname[PRMAPSZ]; /* name from prmap_t */
128 prmap_t map_pmap; /* /proc description of this mapping */
291 prmap_t *);
H A Dllib-lproc181 const prmap_t *Paddr_to_map(struct ps_prochandle *Pr, uintptr_t addr);
182 const prmap_t *Paddr_to_text_map(struct ps_prochandle *Pr, uintptr_t addr);
183 const prmap_t *Pname_to_map(struct ps_prochandle *Pr, const char *name);
184 const prmap_t *Plmid_to_map(struct ps_prochandle *Pr, Lmid_t lmid,
H A DPsymtab.c438 Preadmaps(struct ps_prochandle *P, prmap_t **Pmapp, ssize_t *nmapp)
453 prmap_t *Pmap = NULL;
454 prmap_t *pmap;
604 * Return the prmap_t structure containing 'addr', but only if it
607 const prmap_t *
617 const prmap_t *pmp = &mptr->map_pmap;
637 * Return the prmap_t structure containing 'addr' (no restrictions on
640 const prmap_t *
655 * Convert a full or partial load object name to the prmap_t for its
658 const prmap_t *
[all...]
H A DPidle.c128 prmap_t pmap;
/illumos-gate/usr/src/cmd/ptools/pldd/
H A Dpldd.c36 static int show_map(void *, const prmap_t *, const char *);
149 show_map(void *cd, const prmap_t *pmap, const char *object_name)
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_sym.c60 static prmap_t *pm = NULL; /* prmap_t array */
64 static prmap_t *lpm = NULL; /* prmap_t found in last call */
73 /* get a current prmap_t list (must call this before each stack trace) */
81 /* clear out the previous prmap_t list */
87 /* get the current prmap_t list */
89 (pm = (prmap_t*)malloc(statbuf.st_size)) == NULL)
105 npm = (int) (n / sizeof(prmap_t));
218 /* see if the last prmap_t foun
[all...]
/illumos-gate/usr/src/cmd/sgs/libcrle/common/
H A Ddump.c207 prmap_t *maps, *_maps;
262 num = (int)(status.st_size / sizeof (prmap_t));
263 size = num * sizeof (prmap_t);
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dmaps.c154 prmap_t *mapptr;
170 for (mapptr = (prmap_t *)ptr;
210 prmap_t *mapptr;
222 for (mapptr = (prmap_t *)ptr;
/illumos-gate/usr/src/cmd/truss/
H A Dfcall.c56 prmap_t *pmap;
65 int object_iter(void *, const prmap_t *, const char *);
66 int object_present(void *, const prmap_t *, const char *);
233 prmap_t *Pmap = NULL;
240 statb.st_size < sizeof (prmap_t) ||
243 (nmap /= sizeof (prmap_t)) == 0) {
298 object_iter(void *cd, const prmap_t *pmp, const char *object_name)
396 object_present(void *cd, const prmap_t *pmp, const char *object_name)
434 const prmap_t *pmp;
630 make_lwp_stack(const lwpstatus_t *Lsp, prmap_t *Pma
[all...]
/illumos-gate/usr/src/cmd/ptools/pmadvise/
H A Dpmadvise.c175 static int create_maplist(void *, const prmap_t *, const char *);
238 prmap_t *pmp;
559 create_maplist(void *arg, const prmap_t *pmp, const char *object_name)
571 newmap->pmp = malloc(sizeof (prmap_t));
575 (void) memcpy(newmap->pmp, pmp, sizeof (prmap_t));
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap.c107 static int look_map(void *, const prmap_t *, const char *);
113 static int gather_map(void *, const prmap_t *, const char *);
156 prmap_t md_map;
590 prmap_t *prmapp, *pmp;
602 nmap = st.st_size / sizeof (prmap_t);
603 prmapp = malloc((nmap + 1) * sizeof (prmap_t));
605 if ((n = pread(mapfd, prmapp, (nmap + 1) * sizeof (prmap_t), 0L)) < 0) {
612 nmap = n / sizeof (prmap_t);
682 look_map(void *data, const prmap_t *pmp, const char *object_name)
1196 gather_map(void *ignored, const prmap_t *ma
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_pid.c249 dt_pid_per_mod(void *arg, const prmap_t *pmp, const char *obj)
371 dt_pid_mod_filt(void *arg, const prmap_t *pmp, const char *obj)
394 static const prmap_t *
400 const prmap_t *pmp;
467 const prmap_t *aout, *pmp;
496 const prmap_t *pmp;
518 dt_pid_usdt_mapping(void *data, const prmap_t *pmp, const char *oname)
/illumos-gate/usr/src/uts/intel/sys/
H A Dold_procfs.h60 * prmap_t
77 #define prmap_t Prmap_t macro
339 } prmap_t; typedef in typeref:struct:prmap
/illumos-gate/usr/src/uts/sparc/sys/
H A Dold_procfs.h60 * prmap_t
77 #define prmap_t Prmap_t macro
338 } prmap_t; typedef in typeref:struct:prmap
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h222 prmap_t m;
/illumos-gate/usr/src/cmd/mdb/common/modules/libpython/
H A Dlibpython.c352 python_object_iter(void *cd, const prmap_t *pmp, const char *obj)
/illumos-gate/usr/src/cmd/ptools/pstack/
H A Dpstack.c671 jvm_object_iter(void *cd, const prmap_t *pmp, const char *obj)
767 python_object_iter(void *cd, const prmap_t *pmp, const char *obj)
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Da.out.c727 prmap_t *maps;
746 if ((maps = malloc((num + 1) * sizeof (prmap_t))) == NULL)
/illumos-gate/usr/src/cmd/ppgsz/
H A Dppgsz.c437 prmap_t map;
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c730 prmap_t *mp;
1527 Pread_maps_gcore(struct ps_prochandle *P, prmap_t **Pmapp, ssize_t *nmapp,
1533 prmap_t *pmap;
1558 (void) memcpy(&pmap[i], &n->m, sizeof (prmap_t));

Completed in 199 milliseconds

12