Lines Matching refs:object
76 vm_object_t object; in sg_pager_alloc() local
117 object = vm_object_allocate(OBJT_SG, npages); in sg_pager_alloc()
118 object->handle = sglist_hold(sg); in sg_pager_alloc()
119 TAILQ_INIT(&object->un_pager.sgp.sgp_pglist); in sg_pager_alloc()
120 return (object); in sg_pager_alloc()
124 sg_pager_dealloc(vm_object_t object) in sg_pager_dealloc() argument
132 while ((m = TAILQ_FIRST(&object->un_pager.sgp.sgp_pglist)) != 0) { in sg_pager_dealloc()
135 TAILQ_REMOVE(&object->un_pager.sgp.sgp_pglist, m, plinks.q); in sg_pager_dealloc()
139 sg = object->handle; in sg_pager_dealloc()
141 object->handle = NULL; in sg_pager_dealloc()
142 object->type = OBJT_DEAD; in sg_pager_dealloc()
146 sg_pager_getpages(vm_object_t object, vm_page_t *m, int count, int *rbehind, in sg_pager_getpages() argument
160 sg = object->handle; in sg_pager_getpages()
161 memattr = object->memattr; in sg_pager_getpages()
196 VM_OBJECT_WLOCK(object); in sg_pager_getpages()
197 TAILQ_INSERT_TAIL(&object->un_pager.sgp.sgp_pglist, page, plinks.q); in sg_pager_getpages()
198 vm_page_replace(page, object, offset, m[0]); in sg_pager_getpages()
199 VM_OBJECT_WUNLOCK(object); in sg_pager_getpages()
212 sg_pager_putpages(vm_object_t object, vm_page_t *m, int count, in sg_pager_putpages() argument
220 sg_pager_haspage(vm_object_t object, vm_pindex_t pindex, int *before, in sg_pager_haspage() argument