void nmb_free(struct nmb *nmb) { if (!nmb) return; pma_free(nmb->pma); mempool_free(nmb->mpool); }
void nmb_free(struct nmb *nmb) { if (!nmb) return; pma_free(nmb->pma); mempool_free(nmb->mpool); ness_mutex_destroy(&nmb->mtx); xfree(nmb); }
int minor_fini() { /* * update the sacadm database only if we are updating * this platform (no -r option) */ if (strcmp(devfsadm_root_path(), "/") == 0) update_sacadm_db(); pma_free(); return (DEVFSADM_SUCCESS); }