mmap_type
mmap_entry[i].mmap_type = smap[i].type;
const char *s = raw? NULL : mmap_type(pri, val);
uint32_t mmap_type;
*typep = mapentp->mmap_type;