Searched refs:mem_segs_lock (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/riscv/vmm/ |
H A D | vmm.c | 154 struct sx mem_segs_lock; /* (o) */ member 401 sx_init(&vm->mem_segs_lock, "vm mem_segs"); in vm_create() 489 sx_destroy(&vm->mem_segs_lock); in vm_cleanup() 530 sx_slock(&vm->mem_segs_lock); in vm_slock_memsegs() 536 sx_xlock(&vm->mem_segs_lock); in vm_xlock_memsegs() 542 sx_unlock(&vm->mem_segs_lock); in vm_unlock_memsegs() 580 sx_assert(&vm->mem_segs_lock, SX_XLOCKED); in vm_alloc_memseg() 612 sx_assert(&vm->mem_segs_lock, SX_LOCKED); in vm_get_memseg() 1323 sx_assert(&vm->mem_segs_lock, SX_LOCKED); in vm_gpa_hold_global()
|
/freebsd/sys/arm64/vmm/ |
H A D | vmm.c | 160 struct sx mem_segs_lock; /* (o) */ member 506 sx_init(&vm->mem_segs_lock, "vm mem_segs"); in vm_create() 605 sx_destroy(&vm->mem_segs_lock); in vm_cleanup() 644 sx_slock(&vm->mem_segs_lock); in vm_slock_memsegs() 650 sx_xlock(&vm->mem_segs_lock); in vm_xlock_memsegs() 656 sx_unlock(&vm->mem_segs_lock); in vm_unlock_memsegs() 694 sx_assert(&vm->mem_segs_lock, SX_XLOCKED); in vm_alloc_memseg() 726 sx_assert(&vm->mem_segs_lock, SX_LOCKED); in vm_get_memseg() 1591 sx_assert(&vm->mem_segs_lock, SX_LOCKED); in vm_gpa_hold_global()
|
/freebsd/sys/amd64/vmm/ |
H A D | vmm.c | 193 struct sx mem_segs_lock; /* (o) */ member 630 sx_init(&vm->mem_segs_lock, "vm mem_segs"); in vm_create() 730 sx_destroy(&vm->mem_segs_lock); in vm_cleanup() 770 sx_slock(&vm->mem_segs_lock); in vm_slock_memsegs() 776 sx_xlock(&vm->mem_segs_lock); in vm_xlock_memsegs() 782 sx_unlock(&vm->mem_segs_lock); in vm_unlock_memsegs() 842 sx_assert(&vm->mem_segs_lock, SX_XLOCKED); in vm_alloc_memseg() 874 sx_assert(&vm->mem_segs_lock, SX_LOCKED); in vm_get_memseg() 1074 sx_assert(&vm->mem_segs_lock, SX_LOCKED); in vm_iommu_map() 1121 sx_assert(&vm->mem_segs_lock, SX_LOCKED); in vm_iommu_unmap() [all …]
|