Lines Matching refs:prmapp
629 prmap_t *prmapp, *pmp; in rmapping_iter() local
642 prmapp = malloc((nmap + 1) * sizeof (prmap_t)); in rmapping_iter()
644 if ((n = pread(mapfd, prmapp, (nmap + 1) * sizeof (prmap_t), 0L)) < 0) { in rmapping_iter()
646 free(prmapp); in rmapping_iter()
653 for (i = 0, pmp = prmapp; i < nmap; i++, pmp++) { in rmapping_iter()
655 free(prmapp); in rmapping_iter()
660 free(prmapp); in rmapping_iter()
670 prxmap_t *prmapp, *pmp; in xmapping_iter() local
685 prmapp = malloc((nmap + 1) * sizeof (prxmap_t)); in xmapping_iter()
687 if ((n = pread(mapfd, prmapp, (nmap + 1) * sizeof (prxmap_t), 0)) < 0) { in xmapping_iter()
689 free(prmapp); in xmapping_iter()
694 free(prmapp); in xmapping_iter()
702 for (i = 0, pmp = prmapp; i < nmap; i++, pmp++) { in xmapping_iter()
704 free(prmapp); in xmapping_iter()
715 free(prmapp); in xmapping_iter()