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