/illumos-gate/usr/src/contrib/bhyve/amd64/machine/ |
H A D | pmap.h | 313 struct pmap { struct 333 typedef struct pmap *pmap_t; argument 336 extern struct pmap kernel_pmap_store; 339 #define PMAP_LOCK(pmap) mtx_lock(&(pmap)->pm_mtx) argument 340 #define PMAP_LOCK_ASSERT(pmap, type) \ argument 341 mtx_assert(&(pmap)->pm_mtx, (type)) 342 #define PMAP_LOCK_DESTROY(pmap) mtx_destroy(&(pmap)->pm_mtx) argument 343 #define PMAP_LOCK_INIT(pmap) mtx_init(&(pmap)->pm_mtx, "pmap", \ argument 345 #define PMAP_LOCKED(pmap) mtx_owned(&(pmap)->pm_mtx) argument 346 #define PMAP_MTX(pmap) (&(pmap)->pm_mtx) argument [all …]
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | pmap_prot.x | 83 struct pmap { struct 91 %typedef pmap PMAP; argument 115 pmap pml_map; 217 PMAPPROC_SET(pmap) = 1; 220 PMAPPROC_UNSET(pmap) = 2; 223 PMAPPROC_GETPORT(pmap) = 3; 247 %struct pmap { struct 253 %typedef struct pmap PMAP; 255 %extern bool_t xdr_pmap (XDR *, struct pmap *); 261 % struct pmap pml_map;
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pidle.c | 128 prmap_t pmap; in idle_add_mapping() local 134 pmap.pr_vaddr = (uintptr_t)php->p_vaddr; in idle_add_mapping() 135 pmap.pr_size = php->p_filesz; in idle_add_mapping() 136 (void) strncpy(pmap.pr_mapname, fp->file_pname, in idle_add_mapping() 137 sizeof (pmap.pr_mapname)); in idle_add_mapping() 138 pmap.pr_offset = php->p_offset; in idle_add_mapping() 140 pmap.pr_mflags = 0; in idle_add_mapping() 142 pmap.pr_mflags |= MA_READ; in idle_add_mapping() 144 pmap.pr_mflags |= MA_WRITE; in idle_add_mapping() 146 pmap.pr_mflags |= MA_EXEC; in idle_add_mapping() [all …]
|
H A D | Psymtab.c | 476 prmap_t *pmap; in Pupdate_maps() local 499 pmap = Pmap; in Pupdate_maps() 502 for (i = 0; i < nmap; i++, pmap++, newp++) { in Pupdate_maps() 509 newp->map_pmap = *pmap; in Pupdate_maps() 511 } else if (pmap->pr_vaddr == mptr->map_pmap.pr_vaddr && in Pupdate_maps() 512 pmap->pr_size == mptr->map_pmap.pr_size && in Pupdate_maps() 513 pmap->pr_offset == mptr->map_pmap.pr_offset && in Pupdate_maps() 514 (pmap->pr_mflags & ~(MA_BREAK | MA_STACK)) == in Pupdate_maps() 516 pmap->pr_pagesize == mptr->map_pmap.pr_pagesize && in Pupdate_maps() 517 pmap->pr_shmid == mptr->map_pmap.pr_shmid && in Pupdate_maps() [all …]
|
H A D | Pcore.c | 1409 prmap_t pmap; in core_add_mapping() local 1415 pmap.pr_vaddr = (uintptr_t)php->p_vaddr; in core_add_mapping() 1416 pmap.pr_size = php->p_memsz; in core_add_mapping() 1436 pmap.pr_mapname[0] = '\0'; in core_add_mapping() 1437 pmap.pr_offset = 0; in core_add_mapping() 1439 pmap.pr_mflags = 0; in core_add_mapping() 1441 pmap.pr_mflags |= MA_READ; in core_add_mapping() 1443 pmap.pr_mflags |= MA_WRITE; in core_add_mapping() 1445 pmap.pr_mflags |= MA_EXEC; in core_add_mapping() 1448 pmap.pr_mflags |= MA_RESERVED1; in core_add_mapping() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_nis.c | 176 char *pmap, *opts, *my_mapname; local 259 pmap = map; 260 while (*pmap && isspace(*pmap)) 261 pmap++; /* skip blanks in front of map */ 262 opts = pmap; 280 dirinit(dir, pmap, opts, 0, stack, stkptr);
|
H A D | ns_ldap.c | 623 char *key, *contents, *pmap, *opts; in mastermap_callback_ldap() local 732 pmap = map; in mastermap_callback_ldap() 733 while (*pmap && isspace(*pmap)) in mastermap_callback_ldap() 734 pmap++; /* skip blanks in front of map */ in mastermap_callback_ldap() 735 opts = pmap; in mastermap_callback_ldap() 754 dir, pmap); in mastermap_callback_ldap() 755 dirinit(dir, pmap, opts, 0, stack, stkptr); in mastermap_callback_ldap()
|
/illumos-gate/usr/src/cmd/ptools/pldd/ |
H A D | pldd.c | 149 show_map(void *cd, const prmap_t *pmap, const char *object_name) in show_map() argument 157 if (strcmp(pmap->pr_mapname, "a.out") == 0) in show_map() 164 if (pmap->pr_vaddr == auxv->a_un.a_val) in show_map()
|
/illumos-gate/usr/src/cmd/ptools/ |
H A D | Makefile | 39 pmap \ 70 PMAP = $(SRC)/cmd/ptools/pmap
|
H A D | Makefile.bld | 86 PMAP = $(SRC)/cmd/ptools/pmap
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_file.c | 64 const char *scheme, int pmap) in topo_file_load() argument 95 if (pmap) in topo_file_load()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | map.c | 4773 PH_MAP_STRUCT *pmap = NULL; local 4780 pmap = (PH_MAP_STRUCT *) xalloc(sizeof(*pmap)); 4783 pmap->ph_servers = NULL; 4784 pmap->ph_field_list = NULL; 4785 pmap->ph = NULL; 4786 pmap->ph_timeout = 0; 4787 pmap->ph_fastclose = 0; 4842 pmap->ph_timeout = atoi(p); 4856 pmap->ph_servers = p; 4862 pmap->ph_field_list = p; [all …]
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | fcall.c | 56 prmap_t *pmap; member 255 ph_map.pmap = Pmap; in establish_stacks() 764 prmap_t *pmap = NULL; in find_lwp_stack() local 786 for (pmap = Pmap; nmap--; pmap++) { in find_lwp_stack() 787 if (sp >= pmap->pr_vaddr && in find_lwp_stack() 788 sp < pmap->pr_vaddr + pmap->pr_size) { in find_lwp_stack() 793 Stk->stkbase = pmap->pr_vaddr; in find_lwp_stack() 794 Stk->stkend = pmap->pr_vaddr + pmap->pr_size; in find_lwp_stack() 1630 make_lwp_stack(Lsp, ph_map->pmap, ph_map->nmap); in lwp_stack_traps()
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | sun4x_standalloc.c | 239 long pmap = 0; in resalloc() local 265 ptob(pmap)); in resalloc()
|
/illumos-gate/usr/src/test/os-tests/tests/secflags/ |
H A D | secflags_forbidnullmap.sh | 22 (pmap $pid | grep -q '^00000000 ') && ret=1
|
H A D | secflags_noexecstack.sh | 22 (pmap $pid | grep -q 'rwx.*\[ stack \]$') && re=1
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | rpcb_svc_com.c | 1604 pmap pmap; in add_pmaplist() local 1610 pmap.pm_prot = IPPROTO_UDP; in add_pmaplist() 1613 pmap.pm_prot = IPPROTO_TCP; in add_pmaplist() 1622 pmap.pm_port = ((p1 & 0xff) << 8) + (p2 & 0xff); in add_pmaplist() 1623 pmap.pm_prog = arg->r_prog; in add_pmaplist() 1624 pmap.pm_vers = arg->r_vers; in add_pmaplist() 1633 pml->pml_map = pmap; in add_pmaplist()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | gcore.c | 1534 prmap_t *pmap; in Pread_maps_gcore() local 1552 pmap = malloc(cbarg.map_len * sizeof (*pmap)); in Pread_maps_gcore() 1553 if (pmap == NULL) { in Pread_maps_gcore() 1559 (void) memcpy(&pmap[i], &n->m, sizeof (prmap_t)); in Pread_maps_gcore() 1566 pmap[i].pr_vaddr, pmap[i].pr_size, in Pread_maps_gcore() 1567 pmap[i].pr_mapname, pmap[i].pr_offset, in Pread_maps_gcore() 1568 pmap[i].pr_mflags); in Pread_maps_gcore() 1571 *Pmapp = pmap; in Pread_maps_gcore()
|
H A D | memory.h | 63 int pmap(uintptr_t, uint_t, int, const mdb_arg_t *);
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-extended-system-utilities.p5m | 47 link path=usr/bin/$(ARCH64)/pmap target=../../bin/pmap 104 file path=usr/bin/pmap mode=0555 170 link path=usr/proc/bin/pmap target=../../bin/pmap 226 file path=usr/share/man/man1/pmap.1
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | Makefile | 32 nfsops.o nfs2ops.o nfs3ops.o nfs4ops.o pathname.o pmap.o rpc.o \
|
H A D | pmap.c | 202 xdr_pmap(XDR *xdrs, struct pmap *regs) in xdr_pmap() 425 struct pmap pmap_send; /* portmap */ in bpmap_getport()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_proc.c | 391 char *pdomain, *pmap; in ypxfr() local 426 pmap = newreq.ypxfr_map; in ypxfr() 459 pmap = oldreq.ypxfr_map; in ypxfr() 465 if ((fdb = ypset_current_map(pmap, pdomain, &resp.status)) != NULL && in ypxfr() 477 transid, proto, name, pmap); in ypxfr() 481 name, pmap, NULL)) in ypxfr()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | pmap_prot.c | 48 xdr_pmap(XDR *xdrs, struct pmap *objp) in xdr_pmap()
|
H A D | pmap_clnt.c | 134 struct pmap parms; in pmap_getport()
|