Lines Matching refs:submap
361 * are now "top level" maps (either task map, kernel map or submap
395 * Placeholder object for submap operations. This object is dropped
397 * vm_map_submap creates the submap.
1809 /* not the same submap */
1946 vm_map_t submap;
1951 submap = (vm_map_t) object;
1952 submap_is_64bit = vm_map_is_64bit(submap);
1955 if (use_pmap && submap->pmap == NULL) {
1957 submap->pmap = pmap_create(0, submap_is_64bit);
1958 if (submap->pmap == NULL) {
1962 if (use_pmap && submap->pmap != NULL) {
1964 submap->pmap,
2232 vm_map_t submap;
2234 submap = named_entry->backing.map;
2235 vm_map_lock(submap);
2236 vm_map_reference(submap);
2237 vm_map_unlock(submap);
2245 (vm_object_t) submap,
2252 vm_map_deallocate(submap);
2255 * No need to lock "submap" just to check its
2260 if (submap->mapped == FALSE) {
2262 * This submap has never been mapped.
2266 * mapping of a "submap".
2268 vm_map_lock(submap);
2269 submap->mapped = TRUE;
2270 vm_map_unlock(submap);
2742 * Clip and unnest a portion of a nested submap mapping.
3053 * submap (if desired). [Better yet, don't try it.]
3060 vm_map_t submap,
3098 entry->object.sub_map = submap;
3099 vm_map_reference(submap);
3100 submap->mapped = TRUE;
3105 if(submap->pmap == NULL) {
3106 submap->pmap = pmap_create((vm_map_size_t) 0, FALSE);
3107 if(submap->pmap == PMAP_NULL) {
3821 * Unwired entry or wire request transmitted via submap
4365 register vm_map_t submap;
4376 submap = entry->object.sub_map;
4378 submap = NULL;
4392 if (submap)
4393 vm_map_deallocate(submap);
5353 /* if needs_copy we are a COW submap */
5491 /* encounter of a submap as dictated by base_addr */
5515 /* if this is a COW submap */
5541 * of the submap entry here instead
6970 /* set for later submap fix-up */
7035 /* we are now in the lowest level submap... */
7333 /* fix up the damage we did in that submap */
7992 * Handle submaps. Drop lock on upper map, submap is
8052 /* calculate the offset in the submap for vaddr */
8071 /* in english the submap object may extend beyond the */
8134 /* object in the submap, bypassing the */
8135 /* submap. */
8175 * Adjust the fault offset to the submap entry.
8182 /* normal submap case. We go back */
8242 /* propagate the submap entry's protections */
8572 * deeper in the submap chain) than the one we had
8581 * this submap in the upper level: ignore it.
8615 * Get down to the next submap level.
8634 * Adjust the offset. "curr_entry" maps the submap
8637 * bytes of the submap.
8644 /* switch to the submap */
8649 * portion of the submap that is actually mapped at this level:
8650 * the rest of that submap is irrelevant to us, since it's not
9738 iprintf("submap = %08X - offset = %016llX\n",
10790 * Must pass a valid non-submap address.