/*
* 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 <libuvfs_impl.h>
#include <umem.h>
#include <unistd.h>
#include <fcntl.h>
#include <strings.h>
#include <pthread.h>
#include <atomic.h>
};
static void
{
int i;
for (i = 0; i < UVFS_CB_NUM_OPS; i++)
}
static void
{
int f;
if (f >= 0) {
(void) close(f);
}
}
{
if (version != LIBUVFS_VERSION)
return (NULL);
fs->fs_io_maxread = 0;
fs->fs_io_maxwrite = 0;
fs->fs_max_dthreads = 0;
fs->fs_cur_dthreads = 0;
fs->fs_scf_error = 0;
fs->fs_daemon_fmri_size = 0;
return (fs);
}
void
{
}
/*ARGSUSED*/
static int
{
return (0);
}
/*ARGSUSED*/
static void
{
}
static int
libuvfs_umem_alloc_fail(void)
{
return (UMEM_CALLBACK_EXIT(255));
(void) sleep(libuvfs_umem_alloc_failure_sleep);
return (UMEM_CALLBACK_RETRY);
}
char *
{
char *rc;
}
void
{
}
char *
{
int i;
for (i = 0; i < howlong; i++) {
}
return (rc);
}
#ifndef NBITSMINOR64
#endif
#ifndef MAXMAJ64
#endif
#ifndef MAXMIN64
#endif
{
#ifndef _LP64
#else
return (dev);
#endif
}
{
#ifndef _LP64
return ((dev_t)-1);
#else
return (dev);
#endif
}
#pragma init(libuvfs_fs_init)
static void
libuvfs_fs_init(void)
{
}
#pragma fini(libuvfs_fs_fini)
static void
libuvfs_fs_fini(void)
{
}