FreeBSD/sbin/hastd/activemap.c
/*
 * Function frees resources allocated by activemap_init() function.
 */
Function frees resources allocated by activemap_init() function.
Function frees resources allocated by activemap_init () function .
void
activemap_free(struct activemap *amp)
{
	PJDLOG_ASSERT(amp->am_magic == ACTIVEMAP_MAGIC);
	amp->am_magic = 0;
	keepdirty_free(amp);
	free(amp->am_memtab);
	free(amp->am_diskmap);
	free(amp->am_memmap);
	free(amp->am_syncmap);
}
void activemap_free ( struct activemap * amp ) { PJDLOG_ASSERT ( amp -> am_magic == ACTIVEMAP_MAGIC ) ; amp -> am_magic = 0 ; keepdirty_free ( amp ) ; free ( amp -> am_memtab ) ; free ( amp -> am_diskmap ) ; free ( amp -> am_memmap ) ; free ( amp -> am_syncmap ) ; }
Function frees resources allocated by activemap_init() function.
Function frees resources allocated by activemap_init () function .