Home
last modified time | relevance | path

Searched refs:mmb (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/i86xpv/io/
H A Dprivcmd.c208 privcmd_mmapbatch_t __mmapbatch, *mmb = &__mmapbatch; in do_privcmd_mmapbatch() local
215 if (ddi_copyin(uarg, mmb, sizeof (*mmb), mode)) in do_privcmd_mmapbatch()
218 DTRACE_XPV3(mmapbatch__start, domid_t, mmb->dom, int, mmb->num, in do_privcmd_mmapbatch()
219 caddr_t, mmb->addr); in do_privcmd_mmapbatch()
221 addr = (caddr_t)mmb->addr; in do_privcmd_mmapbatch()
224 addr + ptob(mmb->num) > seg->s_base + seg->s_size) { in do_privcmd_mmapbatch()
229 for (i = 0, ulp = mmb->arr; in do_privcmd_mmapbatch()
230 i < mmb->num; i++, addr += PAGESIZE, ulp++) { in do_privcmd_mmapbatch()
248 if (segmf_add_mfns(seg, addr, mfn, 1, mmb->dom) == 0) in do_privcmd_mmapbatch()
266 mmb->addr); in do_privcmd_mmapbatch()