Lines Matching refs:curr_entry
8465 * "curr_entry" is the VM map entry preceding or including the
8467 * "curr_map" is the map or sub-map containing "curr_entry".
8477 vm_map_entry_t curr_entry;
8526 curr_entry = NULL;
8547 curr_entry = tmp_entry;
8554 curr_entry = tmp_entry->vme_next;
8555 if (curr_entry == vm_map_to_entry(curr_map) ||
8556 curr_entry->vme_start >= curr_max_offset) {
8561 curr_entry = NULL;
8575 tmp_entry = curr_entry->vme_next;
8604 if (!curr_entry->is_sub_map ||
8624 vm_map_lock_read(curr_entry->object.sub_map);
8634 * Adjust the offset. "curr_entry" maps the submap
8635 * at relative address "curr_entry->vme_start" in the
8636 * curr_map but skips the first "curr_entry->offset"
8643 (curr_entry->vme_start - curr_entry->offset);
8645 curr_map = curr_entry->object.sub_map;
8653 * "curr_entry->offset" up to the size of "curr_entry".
8656 curr_entry->vme_end - curr_entry->vme_start +
8657 curr_entry->offset;
8658 curr_entry = NULL;
8661 if (curr_entry == NULL) {
8668 curr_entry = next_entry;
8689 *size = curr_entry->vme_end - curr_entry->vme_start;
8690 *address = curr_entry->vme_start + curr_offset;
8693 submap_info->user_tag = curr_entry->alias;
8694 submap_info->offset = curr_entry->offset;
8695 submap_info->protection = curr_entry->protection;
8696 submap_info->inheritance = curr_entry->inheritance;
8697 submap_info->max_protection = curr_entry->max_protection;
8698 submap_info->behavior = curr_entry->behavior;
8699 submap_info->user_wired_count = curr_entry->user_wired_count;
8700 submap_info->is_submap = curr_entry->is_sub_map;
8701 submap_info->object_id = (uint32_t) curr_entry->object.vm_object;
8703 short_info->user_tag = curr_entry->alias;
8704 short_info->offset = curr_entry->offset;
8705 short_info->protection = curr_entry->protection;
8706 short_info->inheritance = curr_entry->inheritance;
8707 short_info->max_protection = curr_entry->max_protection;
8708 short_info->behavior = curr_entry->behavior;
8709 short_info->user_wired_count = curr_entry->user_wired_count;
8710 short_info->is_submap = curr_entry->is_sub_map;
8711 short_info->object_id = (uint32_t) curr_entry->object.vm_object;
8722 if (!curr_entry->is_sub_map) {
8724 curr_entry->vme_start,
8725 curr_entry,
8726 curr_entry->offset,
8727 (curr_entry->vme_end -
8728 curr_entry->vme_start),
8737 if (curr_entry->use_pmap) {
8743 curr_entry->object.sub_map->ref_count;