Lines Matching defs:info
95 // wasn't in a valid region, but the "vmRegion" info was successfully
96 // read from the task which means the info describes the next valid
113 // For integrated graphics chip, this makes the accounting info for 'wired' memory more like top.
264 struct vm_region_submap_info_64 info;
267 err = mach_vm_region_recurse(task, &address, &size, &nestingDepth, (vm_region_info_t)&info, &count);
280 if (info.is_submap)
288 if (info.user_tag == VM_MEMORY_ANALYSIS_TOOL)
296 pages_resident += info.pages_resident;
297 pages_dirtied += info.pages_dirtied;
342 // Collecting some other info cheaply but not reporting for now.
352 vm_region_top_info_data_t info;
356 kern_return_t kr = mach_vm_region(task, &addr, &size, VM_REGION_TOP_INFO, (vm_region_info_t)&info, &count, &object_name);
362 fw_private += info.private_pages_resident * pagesize;
365 if (global_shared_text_data_mapped == FALSE && info.share_mode == SM_EMPTY) {
380 if (info.share_mode != SM_PRIVATE)
387 if (info.share_mode == SM_COW && info.ref_count == 1)
390 info.share_mode = SM_PRIVATE;
393 switch (info.share_mode)
399 rprvt += info.private_pages_resident * pagesize;
400 rprvt += info.shared_pages_resident * pagesize;
414 if (info.share_mode == SM_COW)
416 rprvt += info.private_pages_resident * pagesize;
422 if (info.share_mode == SM_COW)
424 rprvt += info.private_pages_resident * pagesize;
425 vprvt += info.private_pages_resident * pagesize;
442 SumVMPurgeableInfo(const vm_purgeable_info_t info)
449 sum += info->fifo_data[i].size;
451 sum += info->obsolete_data.size;
454 sum += info->lifo_data[i].size;