• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/vm/

Lines Matching defs:ref_count

608 	result->ref_count = 1;
827 assert(map->ref_count >= map->res_count);
852 assert(map->ref_count >= map->res_count);
853 map->ref_count++;
878 assert(map->ref_count >= map->res_count);
2777 if ((map->mapped) && (map->ref_count)) {
4434 if((map->mapped) && (map->ref_count)
4467 if((map->mapped) && (map->ref_count)
4822 if ((map->mapped) && (map->ref_count)) {
4838 if((map->mapped) && (map->ref_count)) {
8732 extended.ref_count == 2 &&
8742 extended.ref_count =
8743 curr_entry->object.sub_map->ref_count;
8756 submap_info->ref_count = extended.ref_count;
8761 short_info->ref_count = extended.ref_count;
8926 if (extended->external_pager && extended->ref_count == 2 && extended->share_mode == SM_SHARED)
8989 top->ref_count = 0;
8996 int ref_count;
9005 if ((ref_count = obj->ref_count) > 1 && obj->paging_in_progress)
9006 ref_count--;
9009 if (ref_count == 1)
9013 top->ref_count = ref_count;
9021 if ((ref_count = obj->ref_count) > 1 && obj->paging_in_progress)
9022 ref_count--;
9025 top->ref_count += ref_count - 1;
9032 if (ref_count == 1 ||
9033 (ref_count == 2 && !(obj->pager_trusted) && !(obj->internal))) {
9041 top->ref_count = ref_count;
9062 register int ref_count;
9070 extended->ref_count = 0;
9078 if ((ref_count = obj->ref_count) > 1 && obj->paging_in_progress)
9079 ref_count--;
9086 offset, ref_count,
9112 if (ref_count == 1)
9121 extended->ref_count = ref_count - extended->shadow_depth;
9129 if ((ref_count = tmp_obj->ref_count) > 1 && tmp_obj->paging_in_progress)
9130 ref_count--;
9132 extended->ref_count += ref_count;
9146 if ((ref_count = obj->ref_count) > 1 && obj->paging_in_progress)
9147 ref_count--;
9151 if (my_refs == ref_count)
9175 register int ref_count;
9249 if ((ref_count = shadow->ref_count) > 1 && shadow->paging_in_progress)
9250 ref_count--;
9255 if (ref_count > max_refcnt)
9256 max_refcnt = ref_count;
9277 register int ref_count;
9287 ref_count = 0;
9294 ref_count++;
9303 return(ref_count);
9800 map->ref_count,
10840 int *ref_count)
10850 *ref_count = 0;
10950 /* The ref_count is not strictly accurate, it measures the number */
10960 *ref_count = object->ref_count;
11163 if (object->ref_count == 1 && !entry->needs_copy && !object->shadow)
11348 named_entry->ref_count++;
11406 named_entry->ref_count++;
11461 assert(map->ref_count >= map->res_count);
11464 map->ref_count++;
11485 ref = --map->ref_count;
11491 assert(map->ref_count == 0);