Lines Matching refs:cur_object
2245 vm_object_t cur_object;
2372 * the shadow chain each time. cur_object and cur_offset
2375 * top level if and only if object and cur_object are the same.
2378 * original object and cur_object (if different) when
2393 cur_object = object;
2397 m = vm_page_lookup(cur_object, cur_offset);
2407 if (object != cur_object) {
2414 if (vm_object_lock_upgrade(cur_object) == FALSE) {
2454 vm_object_unlock(cur_object);
2492 if (object != cur_object) {
2499 if (vm_object_lock_upgrade(cur_object) == FALSE) {
2544 vm_object_unlock(cur_object);
2559 if (object != cur_object) {
2562 vm_object_unlock(cur_object);
2600 if (object == cur_object && object->copy == VM_OBJECT_NULL) {
2622 if (object != cur_object) {
2646 object = cur_object;
2655 * cur_object == NULL or it's been unlocked
2656 * no paging references on either object or cur_object
2732 if (cur_object == object) {
2752 * object and cur_object... no need to take
2785 if (!cur_object->internal &&
2786 cur_object->copy_strategy == MEMORY_OBJECT_COPY_DELAY) {
2795 if (cur_object->copy == object) {
2802 } else if (cur_object->copy == object->shadow &&
2810 vm_object_unlock(cur_object);
2825 * No page at cur_object, cur_offset... m == NULL
2827 if (cur_object->pager_created) {
2828 if (MUST_ASK_PAGER(cur_object, cur_offset) == TRUE) {
2840 if (cur_object->shadow == VM_OBJECT_NULL) {
2845 if (cur_object->shadow_severed) {
2847 if (object != cur_object)
2848 vm_object_unlock(cur_object);
2865 if (object != cur_object)
2866 vm_object_unlock(cur_object);
2890 if (cur_object != object) {
2891 vm_object_unlock(cur_object);
2893 cur_object = object;
2939 cur_offset += cur_object->shadow_offset;
2940 new_object = cur_object->shadow;
2950 if (cur_object != object)
2951 vm_object_unlock(cur_object);
2953 cur_object = new_object;
2962 if (object != cur_object)
2963 vm_object_unlock(cur_object);