Lines Matching refs:pmap
127 prmap_t pmap; in idle_add_mapping() local
133 pmap.pr_vaddr = (uintptr_t)php->p_vaddr; in idle_add_mapping()
134 pmap.pr_size = php->p_filesz; in idle_add_mapping()
135 (void) strncpy(pmap.pr_mapname, fp->file_pname, in idle_add_mapping()
136 sizeof (pmap.pr_mapname)); in idle_add_mapping()
137 pmap.pr_offset = php->p_offset; in idle_add_mapping()
139 pmap.pr_mflags = 0; in idle_add_mapping()
141 pmap.pr_mflags |= MA_READ; in idle_add_mapping()
143 pmap.pr_mflags |= MA_WRITE; in idle_add_mapping()
145 pmap.pr_mflags |= MA_EXEC; in idle_add_mapping()
147 pmap.pr_pagesize = 0; in idle_add_mapping()
148 pmap.pr_shmid = -1; in idle_add_mapping()
150 return (Padd_mapping(P, php->p_offset, fp, &pmap)); in idle_add_mapping()