xref: /titanic_50/usr/src/lib/libfakekernel/common/kstat.c (revision b819cea2f73f98c5662230cc9affc8cc84f77fcf)
1*b819cea2SGordon Ross /*
2*b819cea2SGordon Ross  * This file and its contents are supplied under the terms of the
3*b819cea2SGordon Ross  * Common Development and Distribution License ("CDDL"), version 1.0.
4*b819cea2SGordon Ross  * You may only use this file in accordance with the terms of version
5*b819cea2SGordon Ross  * 1.0 of the CDDL.
6*b819cea2SGordon Ross  *
7*b819cea2SGordon Ross  * A full copy of the text of the CDDL should have accompanied this
8*b819cea2SGordon Ross  * source.  A copy of the CDDL is also available via the Internet at
9*b819cea2SGordon Ross  * http://www.illumos.org/license/CDDL.
10*b819cea2SGordon Ross  */
11*b819cea2SGordon Ross 
12*b819cea2SGordon Ross /*
13*b819cea2SGordon Ross  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
14*b819cea2SGordon Ross  */
15*b819cea2SGordon Ross 
16*b819cea2SGordon Ross #include <sys/types.h>
17*b819cea2SGordon Ross #include <sys/kstat.h>
18*b819cea2SGordon Ross #include <sys/systm.h>
19*b819cea2SGordon Ross 
20*b819cea2SGordon Ross /*ARGSUSED*/
21*b819cea2SGordon Ross kstat_t *
kstat_create_zone(const char * ks_module,int ks_instance,const char * ks_name,const char * ks_class,uchar_t ks_type,uint_t ks_ndata,uchar_t ks_flags,zoneid_t ks_zoneid)22*b819cea2SGordon Ross kstat_create_zone(const char *ks_module, int ks_instance, const char *ks_name,
23*b819cea2SGordon Ross     const char *ks_class, uchar_t ks_type, uint_t ks_ndata, uchar_t ks_flags,
24*b819cea2SGordon Ross     zoneid_t ks_zoneid)
25*b819cea2SGordon Ross {
26*b819cea2SGordon Ross 	return (NULL);
27*b819cea2SGordon Ross }
28*b819cea2SGordon Ross 
29*b819cea2SGordon Ross /*ARGSUSED*/
30*b819cea2SGordon Ross kstat_t *
kstat_create(const char * ks_module,int ks_instance,const char * ks_name,const char * ks_class,uchar_t ks_type,uint_t ks_ndata,uchar_t ks_flags)31*b819cea2SGordon Ross kstat_create(const char *ks_module, int ks_instance, const char *ks_name,
32*b819cea2SGordon Ross     const char *ks_class, uchar_t ks_type, uint_t ks_ndata, uchar_t ks_flags)
33*b819cea2SGordon Ross {
34*b819cea2SGordon Ross 	return (NULL);
35*b819cea2SGordon Ross }
36*b819cea2SGordon Ross 
37*b819cea2SGordon Ross /*ARGSUSED*/
38*b819cea2SGordon Ross void
kstat_install(kstat_t * ksp)39*b819cea2SGordon Ross kstat_install(kstat_t *ksp)
40*b819cea2SGordon Ross {}
41*b819cea2SGordon Ross 
42*b819cea2SGordon Ross /*ARGSUSED*/
43*b819cea2SGordon Ross void
kstat_delete(kstat_t * ksp)44*b819cea2SGordon Ross kstat_delete(kstat_t *ksp)
45*b819cea2SGordon Ross {}
46