Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dkern_exec.c128 struct mac *mac_p, struct vmspace *oldvmspace);
228 struct vmspace *oldvmspace; in sys_execve() local
231 error = pre_execve(td, &oldvmspace); in sys_execve()
236 error = kern_execve(td, &args, NULL, oldvmspace); in sys_execve()
237 post_execve(td, error, oldvmspace); in sys_execve()
253 struct vmspace *oldvmspace; in sys_fexecve() local
256 error = pre_execve(td, &oldvmspace); in sys_fexecve()
262 error = kern_execve(td, &args, NULL, oldvmspace); in sys_fexecve()
264 post_execve(td, error, oldvmspace); in sys_fexecve()
283 struct vmspace *oldvmspace; in sys___mac_execve() local
301 pre_execve(struct thread * td,struct vmspace ** oldvmspace) pre_execve() argument
322 post_execve(struct thread * td,int error,struct vmspace * oldvmspace) post_execve() argument
352 kern_execve(struct thread * td,struct image_args * args,struct mac * mac_p,struct vmspace * oldvmspace) kern_execve() argument
394 do_execve(struct thread * td,struct image_args * args,struct mac * mac_p,struct vmspace * oldvmspace) do_execve() argument
1064 exec_cleanup(struct thread * td,struct vmspace * oldvmspace) exec_cleanup() argument
[all...]
H A Dinit_main.c739 struct vmspace *oldvmspace; in start_init() local
796 oldvmspace = p->p_vmspace; in start_init()
797 error = kern_execve(td, &args, NULL, oldvmspace); in start_init()
801 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.h125 int pre_execve(struct thread *td, struct vmspace **oldvmspace);
126 void post_execve(struct thread *td, int error, struct vmspace *oldvmspace);
H A Dsyscallsubr.h138 struct mac *mac_p, struct vmspace *oldvmspace);
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_misc.c502 struct vmspace *oldvmspace;
505 error = pre_execve(td, &oldvmspace); in freebsd32_execve()
511 error = kern_execve(td, &eargs, NULL, oldvmspace); in freebsd32_execve()
512 post_execve(td, error, oldvmspace); in freebsd32_execve()
521 struct vmspace *oldvmspace;
524 error = pre_execve(td, &oldvmspace); in freebsd32_fexecve()
530 error = kern_execve(td, &eargs, NULL, oldvmspace); in freebsd32_fexecve()
532 post_execve(td, error, oldvmspace); in freebsd32_fexecve()
506 struct vmspace *oldvmspace; freebsd32_execve() local
525 struct vmspace *oldvmspace; freebsd32_fexecve() local
/freebsd/sys/vm/
H A Dvm_map.c4959 struct vmspace *oldvmspace = p->p_vmspace; in vmspace_exec() local
4967 newvmspace->vm_swrss = oldvmspace->vm_swrss; in vmspace_exec()
4991 struct vmspace *oldvmspace = p->p_vmspace; in vmspace_unshare() local
4999 if (refcount_load(&oldvmspace->vm_refcnt) == 1) in vmspace_unshare()
5002 newvmspace = vmspace_fork(oldvmspace, &fork_charge); in vmspace_unshare()
5021 vmspace_free(oldvmspace); in vmspace_unshare()