struct vm_map_entry *entry, *temp_entry;
vm_map_entry_t entry, temp_entry;
uvm_map_inherit(map, start, end, new_inheritance)	struct vm_map *map;	vaddr_t start;	vaddr_t end;	vm_inherit_t new_inheritance;{	struct vm_map_entry *entry, *temp_entry;	UVMHIST_FUNC("uvm_map_inherit"); UVMHIST_CALLED(maphist);	UVMHIST_LOG(maphist,"(map=0x%x,start=0x%x,end=0x%x,new_inh=0x%x)",	    map, start, end, new_inheritance);	switch (new_inheritance) {	case MAP_INHERIT_NONE:	case MAP_INHERIT_COPY:	case MAP_INHERIT_SHARE:		break;	default:		UVMHIST_LOG(maphist,"<- done (INVALID ARG)",0,0,0,0);		return EINVAL;	}	vm_map_lock(map);		VM_MAP_RANGE_CHECK(map, start, end);	if (uvm_map_lookup_entry(map, start, &temp_entry)) {		entry = temp_entry;		UVM_MAP_CLIP_START(map, entry, start);	} else {		entry = temp_entry->next;	}	while ((entry != &map->header) && (entry->start < end)) {		UVM_MAP_CLIP_END(map, entry, end);		entry->inheritance = new_inheritance;		entry = entry->next;	}	vm_map_unlock(map);	UVMHIST_LOG(maphist,"<- done (OK)",0,0,0,0);	return 0;}