VM_MAX_MEMSEGS
} memsegs[VM_MAX_MEMSEGS];
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)
if (ident < 0 || ident >= VM_MAX_MEMSEGS)
for (int i = 0; i < VM_MAX_MEMSEGS; i++)
#define VM_MAX_MEMMAPS (VM_MAX_MEMSEGS * 2)
struct vm_mem_seg mem_segs[VM_MAX_MEMSEGS];