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.c513 mem->am_obj = vm_object_allocate(OBJT_SWAP, atop(round_page(size))); in agp_generic_alloc_memory()
533 vm_object_deallocate(mem->am_obj); in agp_generic_free_memory()
560 VM_OBJECT_WLOCK(mem->am_obj); in agp_generic_bind_memory()
569 m = vm_page_grab(mem->am_obj, OFF_TO_IDX(i), in agp_generic_bind_memory()
573 VM_OBJECT_WUNLOCK(mem->am_obj); in agp_generic_bind_memory()
580 VM_OBJECT_WLOCK(mem->am_obj); in agp_generic_bind_memory()
589 VM_OBJECT_WLOCK(mem->am_obj); in agp_generic_bind_memory()
591 m = vm_page_lookup(mem->am_obj, OFF_TO_IDX(i)); in agp_generic_bind_memory()
617 VM_OBJECT_WUNLOCK(mem->am_obj); in agp_generic_bind_memory()
632 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()
[all...]
H A Dagppriv.h58 struct vm_object *am_obj; /* VM object owning pages */ member