Lines Matching defs:named_entry
2208 vm_named_entry_t named_entry;
2210 named_entry = (vm_named_entry_t) port->ip_kobject;
2213 if (offset >= named_entry->size)
2215 size = named_entry->size - offset;
2217 if ((named_entry->protection & max_protection) !=
2220 if ((named_entry->protection & cur_protection) !=
2223 if (named_entry->size < (offset + size))
2228 offset = offset + named_entry->offset;
2230 named_entry_lock(named_entry);
2231 if (named_entry->is_sub_map) {
2234 submap = named_entry->backing.map;
2238 named_entry_unlock(named_entry);
2276 } else if (named_entry->is_pager) {
2282 protections = named_entry->protection & VM_PROT_ALL;
2283 access = GET_MAP_MEM(named_entry->protection);
2285 object = vm_object_enter(named_entry->backing.pager,
2286 named_entry->size,
2287 named_entry->internal,
2291 named_entry_unlock(named_entry);
2300 named_entry->backing.object = object;
2301 named_entry->is_pager = FALSE;
2302 named_entry_unlock(named_entry);
2321 if (!named_entry->internal) {
2357 object = named_entry->backing.object;
2359 named_entry_unlock(named_entry);
11331 vm_named_entry_t named_entry;
11339 named_entry =
11341 if (!(mutex_try(&(named_entry)->Lock))) {
11348 named_entry->ref_count++;
11349 mutex_unlock(&(named_entry)->Lock);
11351 if ((named_entry->is_sub_map) &&
11352 (named_entry->protection
11354 map = named_entry->backing.map;
11389 vm_named_entry_t named_entry;
11397 named_entry =
11399 if (!(mutex_try(&(named_entry)->Lock))) {
11406 named_entry->ref_count++;
11407 mutex_unlock(&(named_entry)->Lock);
11409 if ((!named_entry->is_sub_map) &&
11410 (!named_entry->is_pager) &&
11411 (named_entry->protection
11413 object = named_entry->backing.object;
11418 vm_object_reference(named_entry->backing.object);