Searched refs:myvm (Results 1 – 2 of 2) sorted by relevance
469 struct vmspace *myvm; in soaio_kproc_loop() local481 myvm = vmspace_acquire_ref(p); in soaio_kproc_loop()501 if (p->p_vmspace != myvm) { in soaio_kproc_loop()503 vmspace_switch_aio(myvm); in soaio_kproc_loop()
1062 struct vmspace *myvm; in aio_daemon() local1072 myvm = vmspace_acquire_ref(p); in aio_daemon()1117 if (p->p_vmspace != myvm) { in aio_daemon()1119 vmspace_switch_aio(myvm); in aio_daemon()1148 vmspace_free(myvm); in aio_daemon()1150 KASSERT(p->p_vmspace == myvm, in aio_daemon()1152 KASSERT(refcount_load(&myvm->vm_refcnt) > 1, in aio_daemon()1154 refcount_load(&myvm->vm_refcnt))); in aio_daemon()