Lines Matching refs:vmmdev_softc
72 struct vmmdev_softc *sc;
76 struct vmmdev_softc { struct
79 SLIST_ENTRY(vmmdev_softc) link; argument
85 static SLIST_HEAD(, vmmdev_softc) head; argument
110 vcpu_lock_one(struct vmmdev_softc *sc, int vcpu) in vcpu_lock_one()
122 vcpu_unlock_one(struct vmmdev_softc *sc, int vcpu) in vcpu_unlock_one()
136 vcpu_lock_all(struct vmmdev_softc *sc) in vcpu_lock_all()
157 vcpu_unlock_all(struct vmmdev_softc *sc) in vcpu_unlock_all()
167 static struct vmmdev_softc *
170 struct vmmdev_softc *sc; in vmmdev_lookup()
184 static struct vmmdev_softc *
197 struct vmmdev_softc *sc; in vmmdev_rw()
251 get_memseg(struct vmmdev_softc *sc, struct vm_memseg *mseg) in get_memseg()
277 alloc_memseg(struct vmmdev_softc *sc, struct vm_memseg *mseg) in alloc_memseg()
347 struct vmmdev_softc *sc; in vmmdev_ioctl()
802 struct vmmdev_softc *sc; in vmmdev_mmap_single()
865 struct vmmdev_softc *sc = arg; in vmmdev_destroy()
887 SLIST_REMOVE(&head, sc, vmmdev_softc, link); in vmmdev_destroy()
900 struct vmmdev_softc *sc; in sysctl_vmm_destroy()
967 struct vmmdev_softc *sc, *sc2; in sysctl_vmm_create()
989 sc = malloc(sizeof(struct vmmdev_softc), M_VMMDEV, M_WAITOK | M_ZERO); in sysctl_vmm_create()
1100 struct vmmdev_softc *sc; in devmem_create_cdev()