Searched refs:vm1 (Results 1 – 2 of 2) sorted by relevance
489 shmfork(struct vmspace *vm1, struct vmspace *vm2) in shmfork() argument497 if (vm1->vm_shm == NULL) { in shmfork()502 shmmap_h = (struct shmmap_head *)vm1->vm_shm; in shmfork()505 memcpy(vm2->vm_shm, vm1->vm_shm, size); in shmfork()
3802 struct vmspace *vm1 = pr->ps_vmspace; in uvmspace_fork() local3804 struct vm_map *old_map = &vm1->vm_map; in uvmspace_fork()3813 memcpy(&vm2->vm_startcopy, &vm1->vm_startcopy, in uvmspace_fork()3814 (caddr_t) (vm1 + 1) - (caddr_t) &vm1->vm_startcopy); in uvmspace_fork()3884 if (vm1->vm_shm) in uvmspace_fork()3885 shmfork(vm1, vm2); in uvmspace_fork()