Lines Matching defs:prmapp
590 prmap_t *prmapp, *pmp;
603 prmapp = malloc((nmap + 1) * sizeof (prmap_t));
605 if ((n = pread(mapfd, prmapp, (nmap + 1) * sizeof (prmap_t), 0L)) < 0) {
607 free(prmapp);
614 for (i = 0, pmp = prmapp; i < nmap; i++, pmp++) {
616 free(prmapp);
621 free(prmapp);
631 prxmap_t *prmapp, *pmp;
646 prmapp = malloc((nmap + 1) * sizeof (prxmap_t));
648 if ((n = pread(mapfd, prmapp, (nmap + 1) * sizeof (prxmap_t), 0)) < 0) {
650 free(prmapp);
655 free(prmapp);
663 for (i = 0, pmp = prmapp; i < nmap; i++, pmp++) {
665 free(prmapp);
676 free(prmapp);