sun3_get_segmap
seg = sun3_get_segmap(i);
if((i = sun3_get_segmap(addr)) != SUN3_INVALID_PMEG)
if((seg = sun3_get_segmap(start)) == SUN3_INVALID_PMEG)
if(sun3_get_segmap(virt & ~SUN3_PMEG_MASK) == SUN3_INVALID_PMEG)
pr_cont(" vaddr=%lx [%02lx]", vaddr, sun3_get_segmap (vaddr));
i = sun3_get_segmap(seg);
if (sun3_get_segmap (seg) != SUN3_INVALID_PMEG) {
pmeg_alloc[sun3_get_segmap(seg)] = 2;
i = sun3_get_segmap(seg);
if (sun3_get_segmap (vaddr&~SUN3_PMEG_MASK) == SUN3_INVALID_PMEG)