Lines Matching defs:object
226 * Pin the page contained within the given object at the given offset. If the
227 * page is not resident, allocate and load it using the given object's pager.
231 vm_imgact_hold_page(vm_object_t object, vm_ooffset_t offset)
237 VM_OBJECT_WLOCK(object);
239 m = vm_page_grab(object, pindex, VM_ALLOC_NORMAL | VM_ALLOC_NOBUSY);
242 rv = vm_pager_get_pages(object, &m, 1, NULL, NULL);
257 VM_OBJECT_WUNLOCK(object);
263 * given object. The page is pinned before it is mapped.
266 vm_imgact_map_page(vm_object_t object, vm_ooffset_t offset)
270 m = vm_imgact_hold_page(object, offset);
351 * Allocate an object for the kstack.