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