Lines Matching refs:extended
207 vm_region_extended_info_t extended,
265 vm_region_extended_info_t extended);
8459 vm_region_extended_info_data_t extended;
8714 extended.pages_resident = 0;
8715 extended.pages_swapped_out = 0;
8716 extended.pages_shared_now_private = 0;
8717 extended.pages_dirtied = 0;
8718 extended.external_pager = 0;
8719 extended.shadow_depth = 0;
8729 &extended,
8731 if (extended.external_pager &&
8732 extended.ref_count == 2 &&
8733 extended.share_mode == SM_SHARED) {
8734 extended.share_mode = SM_PRIVATE;
8738 extended.share_mode = SM_TRUESHARED;
8740 extended.share_mode = SM_PRIVATE;
8742 extended.ref_count =
8748 submap_info->pages_resident = extended.pages_resident;
8749 submap_info->pages_swapped_out = extended.pages_swapped_out;
8751 extended.pages_shared_now_private;
8752 submap_info->pages_dirtied = extended.pages_dirtied;
8753 submap_info->external_pager = extended.external_pager;
8754 submap_info->shadow_depth = extended.shadow_depth;
8755 submap_info->share_mode = extended.share_mode;
8756 submap_info->ref_count = extended.ref_count;
8758 short_info->external_pager = extended.external_pager;
8759 short_info->shadow_depth = extended.shadow_depth;
8760 short_info->share_mode = extended.share_mode;
8761 short_info->ref_count = extended.ref_count;
8894 vm_region_extended_info_t extended;
8899 extended = (vm_region_extended_info_t) info;
8915 extended->protection = entry->protection;
8916 extended->user_tag = entry->alias;
8917 extended->pages_resident = 0;
8918 extended->pages_swapped_out = 0;
8919 extended->pages_shared_now_private = 0;
8920 extended->pages_dirtied = 0;
8921 extended->external_pager = 0;
8922 extended->shadow_depth = 0;
8924 vm_map_region_walk(map, start, entry, entry->offset, entry->vme_end - start, extended, TRUE);
8926 if (extended->external_pager && extended->ref_count == 2 && extended->share_mode == SM_SHARED)
8927 extended->share_mode = SM_PRIVATE;
9056 vm_region_extended_info_t extended,
9069 extended->share_mode = SM_EMPTY;
9070 extended->ref_count = 0;
9087 0, extended);
9107 extended->shadow_depth = shadow_depth;
9109 if (extended->shadow_depth || entry->needs_copy)
9110 extended->share_mode = SM_COW;
9113 extended->share_mode = SM_PRIVATE;
9116 extended->share_mode = SM_TRUESHARED;
9118 extended->share_mode = SM_SHARED;
9121 extended->ref_count = ref_count - extended->shadow_depth;
9123 for (i = 0; i < extended->shadow_depth; i++) {
9132 extended->ref_count += ref_count;
9137 if (extended->share_mode == SM_SHARED) {
9152 extended->share_mode = SM_PRIVATE_ALIASED;
9154 extended->share_mode = SM_SHARED_ALIASED;
9171 vm_region_extended_info_t extended)
9187 extended->external_pager = 1;
9191 extended->pages_shared_now_private++;
9195 extended->pages_dirtied++;
9197 extended->pages_resident++;
9208 extended->pages_swapped_out++;
9238 extended->pages_swapped_out++;
9252 if (++depth > extended->shadow_depth)
9253 extended->shadow_depth = depth;