VM_MAX_MEMSEGS
struct mem_seg mem_segs[VM_MAX_MEMSEGS]; /* (o) guest memory regions */
for (i = 0; i < VM_MAX_MEMSEGS; i++)
if (ident < 0 || ident >= VM_MAX_MEMSEGS)
if (ident < 0 || ident >= VM_MAX_MEMSEGS)
KASSERT(ident >= 0 && ident < VM_MAX_MEMSEGS,
if (segid < 0 || segid >= VM_MAX_MEMSEGS)