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

Function svm_cleanup

freebsd/amd64/vmm/amd/svm.c:2140–2148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2138}
2139
2140static void
2141svm_cleanup(void *arg)
2142{
2143 struct svm_softc *sc = arg;
2144
2145 contigfree(sc->iopm_bitmap, SVM_IO_BITMAP_SIZE, M_SVM);
2146 contigfree(sc->msr_bitmap, SVM_MSR_BITMAP_SIZE, M_SVM);
2147 free(sc, M_SVM);
2148}
2149
2150static register_t *
2151swctx_regptr(struct svm_regctx *regctx, int reg)

Callers

nothing calls this directly

Calls 2

contigfreeFunction · 0.85
freeFunction · 0.50

Tested by

no test coverage detected