MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vmspace_free

Function vmspace_free

freebsd/vm/vm_map.c:389–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387}
388
389void
390vmspace_free(struct vmspace *vm)
391{
392
393 WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL,
394 "vmspace_free() called");
395
396 if (refcount_release(&vm->vm_refcnt))
397 vmspace_dofree(vm);
398}
399
400void
401vmspace_exitfree(struct proc *p)

Callers 15

svm_npt_freeFunction · 0.85
ept_vmspace_freeFunction · 0.85
fork1Function · 0.85
sysctl_kern_proc_ovmmapFunction · 0.85
kern_proc_vmmap_outFunction · 0.85
aslr_statusFunction · 0.85
ptrace_vm_entryFunction · 0.85
exec_cleanupFunction · 0.85
aio_daemonFunction · 0.85
vmspace_exitfreeFunction · 0.85
vmspace_acquire_refFunction · 0.85
vmspace_switch_aioFunction · 0.85

Calls 2

refcount_releaseFunction · 0.85
vmspace_dofreeFunction · 0.85

Tested by

no test coverage detected