1b819cea2SGordon Ross /*
2b819cea2SGordon Ross  * This file and its contents are supplied under the terms of the
3b819cea2SGordon Ross  * Common Development and Distribution License ("CDDL"), version 1.0.
4b819cea2SGordon Ross  * You may only use this file in accordance with the terms of version
5b819cea2SGordon Ross  * 1.0 of the CDDL.
6b819cea2SGordon Ross  *
7b819cea2SGordon Ross  * A full copy of the text of the CDDL should have accompanied this
8b819cea2SGordon Ross  * source.  A copy of the CDDL is also available via the Internet at
9b819cea2SGordon Ross  * http://www.illumos.org/license/CDDL.
10b819cea2SGordon Ross  */
11b819cea2SGordon Ross 
12b819cea2SGordon Ross /*
13b819cea2SGordon Ross  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
14*f06dce2cSAndrew Stormont  * Copyright 2017 RackTop Systems.
15b819cea2SGordon Ross  */
16b819cea2SGordon Ross 
17b819cea2SGordon Ross #include <sys/types.h>
18b819cea2SGordon Ross #include <sys/kstat.h>
19b819cea2SGordon Ross #include <sys/systm.h>
20b819cea2SGordon Ross 
21b819cea2SGordon Ross /*ARGSUSED*/
22b819cea2SGordon 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)23b819cea2SGordon Ross kstat_create_zone(const char *ks_module, int ks_instance, const char *ks_name,
24b819cea2SGordon Ross     const char *ks_class, uchar_t ks_type, uint_t ks_ndata, uchar_t ks_flags,
25b819cea2SGordon Ross     zoneid_t ks_zoneid)
26b819cea2SGordon Ross {
27b819cea2SGordon Ross 	return (NULL);
28b819cea2SGordon Ross }
29b819cea2SGordon Ross 
30b819cea2SGordon Ross /*ARGSUSED*/
31b819cea2SGordon 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)32b819cea2SGordon Ross kstat_create(const char *ks_module, int ks_instance, const char *ks_name,
33b819cea2SGordon Ross     const char *ks_class, uchar_t ks_type, uint_t ks_ndata, uchar_t ks_flags)
34b819cea2SGordon Ross {
35b819cea2SGordon Ross 	return (NULL);
36b819cea2SGordon Ross }
37b819cea2SGordon Ross 
38*f06dce2cSAndrew Stormont /*ARGSUSED*/
39*f06dce2cSAndrew Stormont void
kstat_named_init(kstat_named_t * knp,const char * name,uchar_t type)40*f06dce2cSAndrew Stormont kstat_named_init(kstat_named_t *knp, const char *name, uchar_t type)
41*f06dce2cSAndrew Stormont {}
42*f06dce2cSAndrew Stormont 
43b819cea2SGordon Ross /*ARGSUSED*/
44b819cea2SGordon Ross void
kstat_install(kstat_t * ksp)45b819cea2SGordon Ross kstat_install(kstat_t *ksp)
46b819cea2SGordon Ross {}
47b819cea2SGordon Ross 
48b819cea2SGordon Ross /*ARGSUSED*/
49b819cea2SGordon Ross void
kstat_delete(kstat_t * ksp)50b819cea2SGordon Ross kstat_delete(kstat_t *ksp)
51b819cea2SGordon Ross {}
52*f06dce2cSAndrew Stormont 
53*f06dce2cSAndrew Stormont /*ARGSUSED*/
54*f06dce2cSAndrew Stormont void
kstat_waitq_enter(kstat_io_t * kiop)55*f06dce2cSAndrew Stormont kstat_waitq_enter(kstat_io_t *kiop)
56*f06dce2cSAndrew Stormont {}
57*f06dce2cSAndrew Stormont 
58*f06dce2cSAndrew Stormont /*ARGSUSED*/
59*f06dce2cSAndrew Stormont void
kstat_waitq_exit(kstat_io_t * kiop)60*f06dce2cSAndrew Stormont kstat_waitq_exit(kstat_io_t *kiop)
61*f06dce2cSAndrew Stormont {}
62*f06dce2cSAndrew Stormont 
63*f06dce2cSAndrew Stormont /*ARGSUSED*/
64*f06dce2cSAndrew Stormont void
kstat_runq_enter(kstat_io_t * kiop)65*f06dce2cSAndrew Stormont kstat_runq_enter(kstat_io_t *kiop)
66*f06dce2cSAndrew Stormont {}
67*f06dce2cSAndrew Stormont 
68*f06dce2cSAndrew Stormont /*ARGSUSED*/
69*f06dce2cSAndrew Stormont void
kstat_runq_exit(kstat_io_t * kiop)70*f06dce2cSAndrew Stormont kstat_runq_exit(kstat_io_t *kiop)
71*f06dce2cSAndrew Stormont {}
72*f06dce2cSAndrew Stormont 
73*f06dce2cSAndrew Stormont /*ARGSUSED*/
74*f06dce2cSAndrew Stormont void
kstat_waitq_to_runq(kstat_io_t * kiop)75*f06dce2cSAndrew Stormont kstat_waitq_to_runq(kstat_io_t *kiop)
76*f06dce2cSAndrew Stormont {}
77*f06dce2cSAndrew Stormont 
78*f06dce2cSAndrew Stormont /*ARGSUSED*/
79*f06dce2cSAndrew Stormont void
kstat_runq_back_to_waitq(kstat_io_t * kiop)80*f06dce2cSAndrew Stormont kstat_runq_back_to_waitq(kstat_io_t *kiop)
81*f06dce2cSAndrew Stormont {}
82