Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dkern_exec.c122 struct mac *mac_p, struct vmspace *oldvmspace);
222 struct vmspace *oldvmspace; in sys_execve() local
225 error = pre_execve(td, &oldvmspace); in sys_execve()
231 error = kern_execve(td, &args, NULL, oldvmspace); in sys_execve()
232 post_execve(td, error, oldvmspace); in sys_execve()
248 struct vmspace *oldvmspace; in sys_fexecve() local
251 error = pre_execve(td, &oldvmspace); in sys_fexecve()
258 error = kern_execve(td, &args, NULL, oldvmspace); in sys_fexecve()
260 post_execve(td, error, oldvmspace); in sys_fexecve()
279 struct vmspace *oldvmspace; in sys___mac_execve() local
[all …]
H A Dinit_main.c732 struct vmspace *oldvmspace; in start_init() local
789 oldvmspace = p->p_vmspace; in start_init()
790 error = kern_execve(td, &args, NULL, oldvmspace); in start_init()
794 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.h143 struct mac *mac_p, struct vmspace *oldvmspace);
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_misc.c474 struct vmspace *oldvmspace; in freebsd32_execve() local
477 error = pre_execve(td, &oldvmspace); in freebsd32_execve()
483 error = kern_execve(td, &eargs, NULL, oldvmspace); in freebsd32_execve()
484 post_execve(td, error, oldvmspace); in freebsd32_execve()
493 struct vmspace *oldvmspace; in freebsd32_fexecve() local
496 error = pre_execve(td, &oldvmspace); in freebsd32_fexecve()
503 error = kern_execve(td, &eargs, NULL, oldvmspace); in freebsd32_fexecve()
505 post_execve(td, error, oldvmspace); in freebsd32_fexecve()
/freebsd/sys/vm/
H A Dvm_map.c4894 struct vmspace *oldvmspace = p->p_vmspace; in vmspace_exec()
4902 newvmspace->vm_swrss = oldvmspace->vm_swrss; in vmspace_exec()
4926 struct vmspace *oldvmspace = p->p_vmspace; in vmspace_unshare()
4934 if (refcount_load(&oldvmspace->vm_refcnt) == 1) in vmspace_unshare()
4937 newvmspace = vmspace_fork(oldvmspace, &fork_charge); in vmspace_unshare()
4949 vmspace_free(oldvmspace); in vmspace_unshare()
4893 struct vmspace *oldvmspace = p->p_vmspace; vmspace_exec() local
4925 struct vmspace *oldvmspace = p->p_vmspace; vmspace_unshare() local