Home
last modified time | relevance | path

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

/freebsd-head/sys/kern/
HDkern_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()
230 error = kern_execve(td, &args, NULL, oldvmspace); in sys_execve()
231 post_execve(td, error, oldvmspace); in sys_execve()
247 struct vmspace *oldvmspace; in sys_fexecve() local
250 error = pre_execve(td, &oldvmspace); in sys_fexecve()
256 error = kern_execve(td, &args, NULL, oldvmspace); in sys_fexecve()
258 post_execve(td, error, oldvmspace); in sys_fexecve()
277 struct vmspace *oldvmspace; in sys___mac_execve() local
[all …]
HDinit_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-head/sys/compat/linux/
HDlinux_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-head/sys/sys/
HDimgact.h123 int pre_execve(struct thread *td, struct vmspace **oldvmspace);
124 void post_execve(struct thread *td, int error, struct vmspace *oldvmspace);
HDsyscallsubr.h143 struct mac *mac_p, struct vmspace *oldvmspace);
/freebsd-head/sys/compat/freebsd32/
HDfreebsd32_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()
502 error = kern_execve(td, &eargs, NULL, oldvmspace); in freebsd32_fexecve()
504 post_execve(td, error, oldvmspace); in freebsd32_fexecve()
/freebsd-head/sys/vm/
HDvm_map.c4892 struct vmspace *oldvmspace = p->p_vmspace; in vmspace_exec() local
4900 newvmspace->vm_swrss = oldvmspace->vm_swrss; in vmspace_exec()
4924 struct vmspace *oldvmspace = p->p_vmspace; in vmspace_unshare() local
4932 if (refcount_load(&oldvmspace->vm_refcnt) == 1) in vmspace_unshare()
4935 newvmspace = vmspace_fork(oldvmspace, &fork_charge); in vmspace_unshare()
4947 vmspace_free(oldvmspace); in vmspace_unshare()