/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#include <signal.h>
#include <dirent.h>
#include <limits.h>
#include <alloca.h>
#include <unistd.h>
#include <stdio.h>
#include <pthread.h>
#include <synch.h>
#include <errno.h>
#include <strings.h>
#include <assert.h>
#include <topo_string.h>
#include <topo_alloc.h>
#include <topo_module.h>
#include <topo_error.h>
#include <topo_subr.h>
void
{
}
void
{
}
void
{
/*
* Lazy unload module
*/
else
}
void
{
}
void
{
}
static void
{
}
static void
{
}
static void
{
}
}
static int
{
return (-1);
}
return (-1);
}
return (0);
}
{
return (mod);
}
static void
{
return;
}
static topo_mod_t *
{
else
return (NULL);
}
static topo_mod_t *
{
/*
* Module will be held upon a successful return from topo_mod_start()
*/
return (mod);
}
{
return (NULL);
return (NULL);
}
return (mhp);
}
void
{
return;
}
{
uint_t h;
break;
}
return (mod);
}
{
uint_t h;
return (NULL); /* th_errno set */
}
return (mod);
}
void
{
uint_t h;
break;
else
}
}
}
void
{
int i;
return;
for (i = 0; i < TOPO_HASH_BUCKETS; ++i) {
/*
* At this point we are forcing all modules to
* stop, ignore any remaining module reference counts.
*/
}
}
}