Searched refs:oldvmspace (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/sys/compat/cloudabi/
H A Dcloudabi_proc.c50 struct vmspace *oldvmspace; local
53 error = pre_execve(td, &oldvmspace);
60 error = kern_execve(td, &args, NULL, oldvmspace);
62 post_execve(td, error, oldvmspace);
/freebsd-13-stable/sys/sys/
H A Dimgact.h126 int pre_execve(struct thread *td, struct vmspace **oldvmspace);
127 void post_execve(struct thread *td, int error, struct vmspace *oldvmspace);
H A Dsyscallsubr.h134 struct mac *mac_p, struct vmspace *oldvmspace);
/freebsd-13-stable/sys/compat/linux/
H A Dlinux_emul.c256 struct vmspace *oldvmspace; local
263 error = pre_execve(td, &oldvmspace);
267 error = kern_execve(td, eargs, NULL, oldvmspace);
268 post_execve(td, error, oldvmspace);
/freebsd-13-stable/sys/kern/
H A Dkern_exec.c123 struct mac *mac_p, struct vmspace *oldvmspace);
219 struct vmspace *oldvmspace; local
222 error = pre_execve(td, &oldvmspace);
228 error = kern_execve(td, &args, NULL, oldvmspace);
229 post_execve(td, error, oldvmspace);
245 struct vmspace *oldvmspace; local
248 error = pre_execve(td, &oldvmspace);
255 error = kern_execve(td, &args, NULL, oldvmspace);
257 post_execve(td, error, oldvmspace);
276 struct vmspace *oldvmspace; local
295 pre_execve(struct thread *td, struct vmspace **oldvmspace) argument
316 post_execve(struct thread *td, int error, struct vmspace *oldvmspace) argument
345 kern_execve(struct thread *td, struct image_args *args, struct mac *mac_p, struct vmspace *oldvmspace) argument
371 do_execve(struct thread *td, struct image_args *args, struct mac *mac_p, struct vmspace *oldvmspace) argument
981 exec_cleanup(struct thread *td, struct vmspace *oldvmspace) argument
[all...]
H A Dinit_main.c713 struct vmspace *oldvmspace; local
769 oldvmspace = td->td_proc->p_vmspace;
770 error = kern_execve(td, &args, NULL, oldvmspace);
774 exec_cleanup(td, oldvmspace);
/freebsd-13-stable/sys/compat/freebsd32/
H A Dfreebsd32_misc.c436 struct vmspace *oldvmspace; local
439 error = pre_execve(td, &oldvmspace);
445 error = kern_execve(td, &eargs, NULL, oldvmspace);
446 post_execve(td, error, oldvmspace);
455 struct vmspace *oldvmspace; local
458 error = pre_execve(td, &oldvmspace);
465 error = kern_execve(td, &eargs, NULL, oldvmspace);
467 post_execve(td, error, oldvmspace);
/freebsd-13-stable/sys/vm/
H A Dvm_map.c4834 struct vmspace *oldvmspace = p->p_vmspace; local
4842 newvmspace->vm_swrss = oldvmspace->vm_swrss;
4866 struct vmspace *oldvmspace = p->p_vmspace; local
4874 if (refcount_load(&oldvmspace->vm_refcnt) == 1)
4877 newvmspace = vmspace_fork(oldvmspace, &fork_charge);
4889 vmspace_free(oldvmspace);

Completed in 384 milliseconds