Lines Matching refs:mpp

207 	mmapobj_result_t	*mpp;  in setup()  local
419 if ((mpp = calloc(2, sizeof (mmapobj_result_t))) == NULL) in setup()
421 mpp[0].mr_addr = (caddr_t)M_PTRUNC(ld_base); in setup()
422 mpp[0].mr_msize = (caddr_t)&_etext - mpp[0].mr_addr; in setup()
423 mpp[0].mr_fsize = mpp[0].mr_msize; in setup()
424 mpp[0].mr_prot = (PROT_READ | PROT_EXEC); in setup()
426 mpp[1].mr_addr = (caddr_t)M_PTRUNC((uintptr_t)&r_debug); in setup()
427 mpp[1].mr_msize = (caddr_t)&_end - mpp[1].mr_addr; in setup()
428 mpp[1].mr_fsize = (caddr_t)&_edata - mpp[1].mr_addr; in setup()
429 mpp[1].mr_prot = (PROT_READ | PROT_WRITE | PROT_EXEC); in setup()
434 (Addr)mpp->mr_addr, (size_t)((uintptr_t)eaddr - (uintptr_t)ld_base), in setup()
438 MMAPS(rlmp) = mpp; in setup()
440 PADSTART(rlmp) = (ulong_t)mpp[0].mr_addr; in setup()
441 PADIMLEN(rlmp) = (ulong_t)mpp[0].mr_addr + (ulong_t)mpp[1].mr_addr + in setup()
442 (ulong_t)mpp[1].mr_msize; in setup()
502 mmapobj_result_t *mpp = MMAPS(mlmp); in setup() local
513 for (mnum = 0; mnum < mapnum; mnum++, mpp++) in setup()
514 brkbase = mpp->mr_addr + mpp->mr_msize; in setup()
537 mmapobj_result_t *mpp; in setup() local
545 if ((mpp = in setup()
559 if (aout_get_mmap(&lml_main, mpp)) { in setup()
560 free(mpp); in setup()
565 (size_t)(mpp[1].mr_addr + mpp[1].mr_msize) - in setup()
566 S_ALIGN((size_t)mpp[0].mr_addr, syspagsz); in setup()
567 MMAPS(mlmp) = mpp; in setup()
569 PADSTART(mlmp) = (ulong_t)mpp->mr_addr; in setup()
570 PADIMLEN(mlmp) = mpp->mr_msize; in setup()
594 mmapobj_result_t *mpp, *fmpp, *hmpp = NULL; in setup() local
623 if ((fmpp = mpp = calloc(ehdr->e_phnum, in setup()
663 hmpp = mpp; in setup()
664 mpp->mr_addr = (caddr_t)ehdr; in setup()
666 mpp->mr_addr = (caddr_t)off; in setup()
668 off -= (size_t)(uintptr_t)mpp->mr_addr; in setup()
669 mpp->mr_msize = pptr->p_memsz + off; in setup()
670 mpp->mr_fsize = pptr->p_filesz + off; in setup()
671 mpp->mr_prot = perm; in setup()
673 mpp++, mapnum++; in setup()
679 mpp--; in setup()
680 msize = (size_t)(mpp->mr_addr + mpp->mr_msize) - in setup()
695 (ulong_t)mpp->mr_addr + (ulong_t)mpp->mr_msize; in setup()