Searched refs:dmop (Results 1 – 1 of 1) sorted by relevance
448 const struct ioctl_privcmd_dmop *dmop; in privcmd_ioctl() local452 dmop = (struct ioctl_privcmd_dmop *)arg; in privcmd_ioctl()454 if (u->dom != DOMID_INVALID && u->dom != dmop->dom) { in privcmd_ioctl()459 if (dmop->num == 0) in privcmd_ioctl()462 if (dmop->num > MAX_DMOP_BUFFERS) { in privcmd_ioctl()467 bufs = malloc(sizeof(*bufs) * dmop->num, M_PRIVCMD, M_WAITOK); in privcmd_ioctl()469 error = copyin(dmop->ubufs, bufs, sizeof(*bufs) * dmop->num); in privcmd_ioctl()475 hbufs = malloc(sizeof(*hbufs) * dmop->num, M_PRIVCMD, M_WAITOK); in privcmd_ioctl()476 for (i = 0; i < dmop->num; i++) { in privcmd_ioctl()485 error = HYPERVISOR_dm_op(dmop->dom, dmop->num, hbufs); in privcmd_ioctl()