libshare_plugin.c revision 2
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A#include "libshare.h"
2N/A#include "libshare_impl.h"
2N/A case SA_PLUGIN_FS:
2N/A case SA_PLUGIN_PROTO:
2N/A case SA_PLUGIN_CACHE:
2N/A goto unlock_and_return;
2N/A case SA_PLUGIN_FS:
2N/A case SA_PLUGIN_PROTO:
2N/A case SA_PLUGIN_CACHE:
2N/A goto unlock_and_return;
2N/A goto unlock_and_return;
2N/A goto unlock_and_return;
2N/A case SA_PLUGIN_FS:
2N/A case SA_PLUGIN_PROTO:
2N/A case SA_PLUGIN_CACHE:
2N/A goto unlock_and_return;
2N/A * Called from _sa_fini() when libshare.so is unloaded.
2N/Asaplugin_unload_all(void)
2N/A case SA_PLUGIN_FS:
2N/A case SA_PLUGIN_PROTO:
2N/A case SA_PLUGIN_CACHE:
2N/A int plugin_cnt = 0;
2N/A plugin_cnt++;
2N/A return (plugin_cnt);
2N/A case SA_PLUGIN_FS:
2N/A case SA_PLUGIN_PROTO:
2N/A case SA_PLUGIN_CACHE: