Home
last modified time | relevance | path

Searched refs:oldvmspace (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/kern/
H A Dkern_exec.c222 struct vmspace *oldvmspace; in sys_execve() local
232 post_execve(td, error, oldvmspace); in sys_execve()
248 struct vmspace *oldvmspace; in sys_fexecve() local
260 post_execve(td, error, oldvmspace); in sys_fexecve()
279 struct vmspace *oldvmspace; in sys___mac_execve() local
314 *oldvmspace = p->p_vmspace; in pre_execve()
337 exec_cleanup(td, oldvmspace); in post_execve()
349 struct vmspace *oldvmspace) in kern_execve() argument
382 struct vmspace *oldvmspace) in do_execve() argument
1016 exec_cleanup(td, oldvmspace); in do_execve()
[all …]
H A Dinit_main.c731 struct vmspace *oldvmspace; in start_init() local
788 oldvmspace = p->p_vmspace; in start_init()
789 error = kern_execve(td, &args, NULL, oldvmspace); in start_init()
793 exec_cleanup(td, oldvmspace); in start_init()
/freebsd/sys/compat/linux/
H A Dlinux_emul.c215 struct vmspace *oldvmspace; in linux_common_execve() local
222 error = pre_execve(td, &oldvmspace); in linux_common_execve()
226 error = kern_execve(td, eargs, NULL, oldvmspace); in linux_common_execve()
227 post_execve(td, error, oldvmspace); in linux_common_execve()
/freebsd/sys/sys/
H A Dimgact.h124 int pre_execve(struct thread *td, struct vmspace **oldvmspace);
125 void post_execve(struct thread *td, int error, struct vmspace *oldvmspace);
H A Dsyscallsubr.h141 struct mac *mac_p, struct vmspace *oldvmspace);
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_misc.c472 struct vmspace *oldvmspace; in freebsd32_execve() local
475 error = pre_execve(td, &oldvmspace); in freebsd32_execve()
481 error = kern_execve(td, &eargs, NULL, oldvmspace); in freebsd32_execve()
482 post_execve(td, error, oldvmspace); in freebsd32_execve()
491 struct vmspace *oldvmspace; in freebsd32_fexecve() local
494 error = pre_execve(td, &oldvmspace); in freebsd32_fexecve()
501 error = kern_execve(td, &eargs, NULL, oldvmspace); in freebsd32_fexecve()
503 post_execve(td, error, oldvmspace); in freebsd32_fexecve()
/freebsd/sys/vm/
H A Dvm_map.c4923 struct vmspace *oldvmspace = p->p_vmspace; in vmspace_exec() local
4931 newvmspace->vm_swrss = oldvmspace->vm_swrss; in vmspace_exec()
4955 struct vmspace *oldvmspace = p->p_vmspace; in vmspace_unshare() local
4963 if (refcount_load(&oldvmspace->vm_refcnt) == 1) in vmspace_unshare()
4966 newvmspace = vmspace_fork(oldvmspace, &fork_charge); in vmspace_unshare()
4978 vmspace_free(oldvmspace); in vmspace_unshare()