Lines Matching refs:cur_obj
15946 vm_object_t cur_obj; in vm_map_region_has_obj_ref() local
15953 cur_obj = VME_OBJECT(entry); in vm_map_region_has_obj_ref()
15954 if (cur_obj == VM_OBJECT_NULL) { in vm_map_region_has_obj_ref()
15956 } else if (cur_obj == object) { in vm_map_region_has_obj_ref()
15975 shadow_obj = cur_obj->shadow; in vm_map_region_has_obj_ref()
15982 vm_object_lock(cur_obj); in vm_map_region_has_obj_ref()
15984 while ((shadow_obj = cur_obj->shadow)) { in vm_map_region_has_obj_ref()
15987 vm_object_unlock(cur_obj); in vm_map_region_has_obj_ref()
15992 vm_object_unlock(cur_obj); in vm_map_region_has_obj_ref()
15993 cur_obj = shadow_obj; in vm_map_region_has_obj_ref()
15997 vm_object_unlock(cur_obj); in vm_map_region_has_obj_ref()