Lines Matching defs:mmb
208 privcmd_mmapbatch_t __mmapbatch, *mmb = &__mmapbatch;
215 if (ddi_copyin(uarg, mmb, sizeof (*mmb), mode))
218 DTRACE_XPV3(mmapbatch__start, domid_t, mmb->dom, int, mmb->num,
219 caddr_t, mmb->addr);
221 addr = (caddr_t)mmb->addr;
224 addr + ptob(mmb->num) > seg->s_base + seg->s_size) {
229 for (i = 0, ulp = mmb->arr;
230 i < mmb->num; i++, addr += PAGESIZE, ulp++) {
248 if (segmf_add_mfns(seg, addr, mfn, 1, mmb->dom) == 0)
266 mmb->addr);