MCPcopy Create free account
hub / github.com/ScaleX-IO/uGDS / nvm_ctrl_free

Function nvm_ctrl_free

src/libnvm/ctrl.cpp:275–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273
274
275void nvm_ctrl_free(nvm_ctrl_t* ctrl)
276{
277 if (ctrl != NULL)
278 {
279 struct controller* container = _nvm_container_of(ctrl, struct controller, handle);
280 _nvm_ctrl_put(container);
281 }
282}
283
284
285

Callers 2

uGDSHandleRegisterFunction · 0.85
uGDSHandleDeregisterFunction · 0.85

Calls 1

_nvm_ctrl_putFunction · 0.85

Tested by

no test coverage detected