• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/xnu-2782.1.97/osfmk/vm/

Lines Matching +defs:object +defs:address

119 	memory_object_control_t control_handle;	/* mem object control handle */
368 vm_object_t object;
378 object = memory_object_control_to_vm_object(control);
379 if (object == VM_OBJECT_NULL) {
382 assert(!object->internal);
384 vm_object_lock(object);
386 if (mark_dirty && object->copy != VM_OBJECT_NULL) {
393 vm_object_unlock(object);
407 if ((dst_page = vm_page_lookup(object, offset)) == VM_PAGE_NULL)
421 PAGE_SLEEP(object, dst_page, THREAD_UNINT);
463 * we'll unlock the object below
466 vm_object_unlock(object);
481 vm_object_lock(object);
519 vm_object_unlock(object);
1078 * because the memory object doesn't have a link
1079 * to a VM object anymore (forced unmount, for
1120 * vm_map does not see this object as a named entry port. So,
1121 * we reserve the first word in the object for a fake ip_kotype
1122 * setting - that will tell vm_map to use it as a memory object.
1160 vm_map_offset_t address = (vm_map_offset_t )arg;
1179 start = address;
1263 vm_map_offset_t address = (vm_map_offset_t )arg;
1279 if (!vm_map_lookup_entry(map, address, &tmp_entry)) {
1344 vm_object_t top_object, object;
1355 * The last object in the shadow chain has the
1358 top_object = entry->object.vm_object;
1360 object = VM_OBJECT_NULL;
1364 for (object = top_object, shadow_depth = 0;
1365 object->shadow != VM_OBJECT_NULL;
1366 object = object->shadow, shadow_depth++) {
1367 vm_object_lock(object->shadow);
1368 vm_object_unlock(object);
1373 if (object == VM_OBJECT_NULL) {
1375 } else if (object->internal) {
1376 vm_object_unlock(object);
1378 } else if (! object->pager_ready ||
1379 object->terminating ||
1380 ! object->alive) {
1381 vm_object_unlock(object);
1384 memory_object = object->pager;
1391 vm_object_unlock(object);
1395 vm_object_unlock(object);
1399 vm_object_unlock(object);
1441 * Find the underlying vnode object for the given vm_map_entry. If found, return with the
1442 * object locked, otherwise return NULL with nothing locked.
1450 vm_object_t top_object, object;
1457 * The last object in the shadow chain has the
1461 top_object = entry->object.vm_object;
1466 for (object = top_object; object->shadow != VM_OBJECT_NULL; object = object->shadow) {
1467 vm_object_lock(object->shadow);
1468 vm_object_unlock(object);
1471 if (object && !object->internal && object->pager_ready && !object->terminating &&
1472 object->alive) {
1473 memory_object = object->pager;
1477 * If this object points to the vnode_pager_ops, then we found what we're
1483 return object; /* we return with the object locked */
1486 vm_object_unlock(object);