Lines Matching refs:src_entry

3684 	vm_map_entry_t src_entry,  in vm_map_copy_entry()  argument
3696 if ((dst_entry->eflags|src_entry->eflags) & MAP_ENTRY_IS_SUB_MAP) in vm_map_copy_entry()
3699 if (src_entry->wired_count == 0 || in vm_map_copy_entry()
3700 (src_entry->protection & VM_PROT_WRITE) == 0) { in vm_map_copy_entry()
3705 if ((src_entry->eflags & MAP_ENTRY_NEEDS_COPY) == 0 && in vm_map_copy_entry()
3706 (src_entry->protection & VM_PROT_WRITE) != 0) { in vm_map_copy_entry()
3708 src_entry->start, in vm_map_copy_entry()
3709 src_entry->end, in vm_map_copy_entry()
3710 src_entry->protection & ~VM_PROT_WRITE); in vm_map_copy_entry()
3716 size = src_entry->end - src_entry->start; in vm_map_copy_entry()
3717 if ((src_object = src_entry->object.vm_object) != NULL) { in vm_map_copy_entry()
3719 charged = ENTRY_CHARGED(src_entry); in vm_map_copy_entry()
3726 vm_object_split(src_entry); in vm_map_copy_entry()
3728 src_entry->object.vm_object; in vm_map_copy_entry()
3733 if (src_entry->cred != NULL && in vm_map_copy_entry()
3734 !(src_entry->eflags & MAP_ENTRY_NEEDS_COPY)) { in vm_map_copy_entry()
3738 src_object->cred = src_entry->cred; in vm_map_copy_entry()
3748 if (!(src_entry->eflags & in vm_map_copy_entry()
3751 src_entry->cred = cred; in vm_map_copy_entry()
3755 src_entry->eflags |= MAP_ENTRY_COW | in vm_map_copy_entry()
3759 dst_entry->offset = src_entry->offset; in vm_map_copy_entry()
3760 if (src_entry->eflags & MAP_ENTRY_VN_WRITECNT) { in vm_map_copy_entry()
3773 src_entry->eflags &= ~MAP_ENTRY_VN_WRITECNT; in vm_map_copy_entry()
3776 fake_entry->start = src_entry->start; in vm_map_copy_entry()
3777 fake_entry->end = src_entry->end; in vm_map_copy_entry()
3784 src_entry->start); in vm_map_copy_entry()
3788 if (src_entry->cred != NULL) { in vm_map_copy_entry()
3800 vm_fault_copy_entry(dst_map, src_map, dst_entry, src_entry, in vm_map_copy_entry()