Home
last modified time | relevance | path

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

/freebsd/sys/dev/agp/
H A Dagp.c514 mem->am_obj = vm_object_allocate(OBJT_SWAP, atop(round_page(size))); in agp_generic_alloc_memory()
534 vm_object_deallocate(mem->am_obj); in agp_generic_free_memory()
562 VM_OBJECT_WLOCK(mem->am_obj); in agp_generic_bind_memory()
571 m = vm_page_grab(mem->am_obj, OFF_TO_IDX(i), in agp_generic_bind_memory()
575 VM_OBJECT_WUNLOCK(mem->am_obj); in agp_generic_bind_memory()
576 vm_page_iter_init(&pages, mem->am_obj); in agp_generic_bind_memory()
582 VM_OBJECT_WLOCK(mem->am_obj); in agp_generic_bind_memory()
591 VM_OBJECT_WLOCK(mem->am_obj); in agp_generic_bind_memory()
619 VM_OBJECT_WUNLOCK(mem->am_obj); in agp_generic_bind_memory()
634 VM_OBJECT_ASSERT_WLOCKED(mem->am_obj); in agp_generic_bind_memory()
[all …]
H A Dagp_i810.c1745 mem->am_obj = vm_object_allocate(OBJT_SWAP, in agp_i810_alloc_memory()
1748 mem->am_obj = 0; in agp_i810_alloc_memory()
1756 VM_OBJECT_WLOCK(mem->am_obj); in agp_i810_alloc_memory()
1757 m = vm_page_grab(mem->am_obj, 0, VM_ALLOC_NOBUSY | in agp_i810_alloc_memory()
1759 VM_OBJECT_WUNLOCK(mem->am_obj); in agp_i810_alloc_memory()
1794 VM_OBJECT_WLOCK(mem->am_obj); in agp_i810_free_memory()
1795 m = vm_page_lookup(mem->am_obj, 0); in agp_i810_free_memory()
1797 VM_OBJECT_WUNLOCK(mem->am_obj); in agp_i810_free_memory()
1806 if (mem->am_obj) in agp_i810_free_memory()
1807 vm_object_deallocate(mem->am_obj); in agp_i810_free_memory()
H A Dagppriv.h58 struct vm_object *am_obj; /* VM object owning pages */ member