Lines Matching full:amp

60  *			- Lookup anons in the amp.
66 * - For address ranges without anons in the amp:
72 * - Lookup pages in the shared amp or vnode.
80 * amp->swresv == 0.
92 * - If seg is anon, shared, and amp->swresv != 0
93 * - For address ranges in amp not previously visited for
113 * - per shared amp (entity->vme_amp_hash)
184 pgcnt_t vmb_start; /* page offset in vnode/amp on which bound starts */
185 pgcnt_t vmb_end; /* page offset in vnode/amp on which bound ends */
191 * key is address of vnode or amp. Bounds lists known incore/non-incore
192 * bounds for vnode/amp.
428 "vmusage amp hash", VMUSAGE_HASH_SIZE, vmu_free_object, in vm_usage_init()
485 "vmusage amp hash", VMUSAGE_HASH_SIZE, vmu_free_object, in vmu_alloc_entity()
885 * Given an amp and a list of bounds, updates each bound's type with
896 vmu_amp_update_incore_bounds(avl_tree_t *tree, struct anon_map *amp, in vmu_amp_update_incore_bounds() argument
910 ANON_LOCK_ENTER(&amp->a_rwlock, RW_READER); in vmu_amp_update_incore_bounds()
934 ap = anon_get_ptr(amp->ahp, index); in vmu_amp_update_incore_bounds()
983 ANON_LOCK_EXIT(&amp->a_rwlock); in vmu_amp_update_incore_bounds()
1074 * list of entities to visit. For shared segments, the vnode or amp
1079 * For private mapped files, first the amp is checked for private pages.
1080 * Bounds not backed by the amp are looked up in the vnode for each entity
1115 * a shared amp, then figure out if there is a private amp, which in vmu_calculate_seg()
1136 svd->amp != NULL) { in vmu_calculate_seg()
1137 private_amp = svd->amp; in vmu_calculate_seg()
1153 if (svd->amp != NULL && svd->type == MAP_SHARED) { in vmu_calculate_seg()
1156 vmu_data.vmu_all_amps_hash, (caddr_t)svd->amp, in vmu_calculate_seg()
1161 if (svd->amp->swresv == 0) in vmu_calculate_seg()
1183 * If there is a private amp, count anon pages that exist. If an in vmu_calculate_seg()
1188 * which are not mapped by the private amp. in vmu_calculate_seg()
1227 * backed by private amp so they can be looked in vmu_calculate_seg()
1255 /* Detect end of anons in amp */ in vmu_calculate_seg()
1349 /* Compute resident pages backing shared amp or named vnode */ in vmu_calculate_seg()
1355 * No private amp, or private amp has no anon in vmu_calculate_seg()
1365 * Iterate bounds not backed by private amp, and compute in vmu_calculate_seg()