Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dkern_exec.c219 struct vmspace *oldvmspace; in sys_execve() local
229 post_execve(td, error, oldvmspace); in sys_execve()
245 struct vmspace *oldvmspace; in sys_fexecve() local
257 post_execve(td, error, oldvmspace); in sys_fexecve()
276 struct vmspace *oldvmspace; in sys___mac_execve() local
311 *oldvmspace = p->p_vmspace; in pre_execve()
334 exec_cleanup(td, oldvmspace); in post_execve()
346 struct vmspace *oldvmspace) in kern_execve() argument
362 struct vmspace *oldvmspace) in do_execve() argument
955 exec_cleanup(td, oldvmspace); in do_execve()
[all …]
H A Dinit_main.c712 struct vmspace *oldvmspace; in start_init() local
768 oldvmspace = td->td_proc->p_vmspace; in start_init()
769 error = kern_execve(td, &args, NULL, oldvmspace); in start_init()
773 exec_cleanup(td, oldvmspace); in start_init()
/f-stack/freebsd/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);
/f-stack/freebsd/vm/
H A Dvm_map.c4863 struct vmspace *oldvmspace = p->p_vmspace; in vmspace_exec() local
4871 newvmspace->vm_swrss = oldvmspace->vm_swrss; in vmspace_exec()
4895 struct vmspace *oldvmspace = p->p_vmspace; in vmspace_unshare() local
4899 if (refcount_load(&oldvmspace->vm_refcnt) == 1) in vmspace_unshare()
4902 newvmspace = vmspace_fork(oldvmspace, &fork_charge); in vmspace_unshare()
4914 vmspace_free(oldvmspace); in vmspace_unshare()