Exemple #1
0
void nmb_free(struct nmb *nmb)
{
	if (!nmb)
		return;

	pma_free(nmb->pma);
	mempool_free(nmb->mpool);
}
Exemple #2
0
void nmb_free(struct nmb *nmb)
{
	if (!nmb)
		return;

	pma_free(nmb->pma);
	mempool_free(nmb->mpool);
	ness_mutex_destroy(&nmb->mtx);
	xfree(nmb);
}
Exemple #3
0
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);
}