Lines Matching refs:named_entry
2638 vm_named_entry_t named_entry;
2642 named_entry = (vm_named_entry_t)port->ip_kobject;
2643 mutex_lock(&(named_entry)->Lock);
2644 named_entry->ref_count -= 1;
2645 if(named_entry->ref_count == 0) {
2646 if (named_entry->is_sub_map) {
2647 vm_map_deallocate(named_entry->backing.map);
2648 } else if (!named_entry->is_pager) {
2650 vm_object_deallocate(named_entry->backing.object);
2653 mutex_unlock(&(named_entry)->Lock);
2658 mutex_unlock(&(named_entry)->Lock);
3045 vm_named_entry_t named_entry,
3055 vm_named_entry_t named_entry,
3080 if(offset >= named_entry->size)
3082 *upl_size = named_entry->size - offset;
3085 if((named_entry->protection & VM_PROT_READ)
3090 if((named_entry->protection &
3096 if(named_entry->size < (offset + *upl_size))
3101 offset = offset + named_entry->offset;
3103 if(named_entry->is_sub_map)
3106 named_entry_lock(named_entry);
3108 if (named_entry->is_pager) {
3109 object = vm_object_enter(named_entry->backing.pager,
3110 named_entry->offset + named_entry->size,
3111 named_entry->internal,
3115 named_entry_unlock(named_entry);
3124 named_entry->backing.object = object;
3125 named_entry->is_pager = FALSE;
3126 named_entry_unlock(named_entry);
3129 if (!named_entry->internal) {
3146 object = named_entry->backing.object;
3148 named_entry_unlock(named_entry);