Lines Matching refs:ptr
7005 submap_map_t *ptr;
7007 ptr = (submap_map_t *)kalloc(sizeof(submap_map_t));
7008 ptr->next = parent_maps;
7009 parent_maps = ptr;
7010 ptr->parent_map = src_map;
7011 ptr->base_start = src_start;
7012 ptr->base_end = src_end;
7016 ptr->base_len = submap_len;
7026 vm_map_unlock(ptr->parent_map);
7327 submap_map_t *ptr;
7329 ptr = parent_maps;
7330 assert(ptr != NULL);
7340 vm_map_lock(ptr->parent_map);
7341 src_map = ptr->parent_map;
7342 src_base = ptr->base_start;
7343 src_start = ptr->base_start + ptr->base_len;
7344 src_end = ptr->base_end;
7349 kfree(ptr, sizeof(submap_map_t));