Lines Matching refs:obj

2985 			panic("vm_allocate_cpm:  obj %p off 0x%llx no page",
3002 printf("obj %p off 0x%llx\n", cpm_obj, (uint64_t)offset);
7851 XPR(XPR_VM_MAP, "vm_map_copyin_common src_obj 0x%x ent 0x%x obj 0x%x was_wired %d\n",
9798 #define OBJ_RESIDENT_COUNT(obj, entry_size) \
9800 ((obj)->all_reusable ? \
9801 (obj)->wired_page_count : \
9802 (obj)->resident_page_count - (obj)->reusable_page_count))
9818 struct vm_object *obj, *tmp_obj;
9824 obj = entry->object.vm_object;
9826 vm_object_lock(obj);
9828 if ((ref_count = obj->ref_count) > 1 && obj->paging_in_progress)
9831 assert(obj->reusable_page_count <= obj->resident_page_count);
9832 if (obj->shadow) {
9835 OBJ_RESIDENT_COUNT(obj, entry_size);
9838 OBJ_RESIDENT_COUNT(obj, entry_size);
9842 while ((tmp_obj = obj->shadow)) {
9844 vm_object_unlock(obj);
9845 obj = tmp_obj;
9847 if ((ref_count = obj->ref_count) > 1 && obj->paging_in_progress)
9850 assert(obj->reusable_page_count <= obj->resident_page_count);
9852 OBJ_RESIDENT_COUNT(obj, entry_size);
9863 OBJ_RESIDENT_COUNT(obj, entry_size);
9866 (ref_count == 2 && !(obj->pager_trusted) && !(obj->internal))) {
9869 OBJ_RESIDENT_COUNT(obj,
9874 OBJ_RESIDENT_COUNT(obj,
9881 top->obj_id = (unsigned int) (uintptr_t)obj;
9883 vm_object_unlock(obj);
9897 register struct vm_object *obj, *tmp_obj;
9924 obj = entry->object.vm_object;
9926 vm_object_lock(obj);
9928 if ((ref_count = obj->ref_count) > 1 && obj->paging_in_progress)
9935 vm_map_region_look_for_page(map, va, obj,
9939 shadow_object = obj->shadow;
9942 if ( !(obj->pager_trusted) && !(obj->internal))
9973 if (obj->true_share)
9982 if ((tmp_obj = obj->shadow) == 0)
9985 vm_object_unlock(obj);
9991 obj = tmp_obj;
9993 vm_object_unlock(obj);
10000 obj = entry->object.vm_object;
10004 if ((ref_count = obj->ref_count) > 1 && obj->paging_in_progress)
10007 my_refs += vm_map_region_count_obj_refs(cur, obj);