as_getmemid
if (as_getmemid(as, addr, &memid) != 0)
if (!as_getmemid(p->p_as, addr, &memid)) {
int as_getmemid(struct as *, caddr_t, memid_t *);