1807 {
1808 }
1809
1810 void
1811 dmu_init(void)
1812 {
1813 zfs_dbgmsg_init();
1814 sa_cache_init();
1815 xuio_stat_init();
1816 dmu_objset_init();
1817 dnode_init();
1818 dbuf_init();
1819 zfetch_init();
1820 l2arc_init();
1821 arc_init();
1822 }
1823
1824 void
1825 dmu_fini(void)
1826 {
1827 arc_fini();
1828 l2arc_fini();
1829 zfetch_fini();
1830 dbuf_fini();
1831 dnode_fini();
1832 dmu_objset_fini();
1833 xuio_stat_fini();
1834 sa_cache_fini();
1835 zfs_dbgmsg_fini();
1836 }
|
1807 {
1808 }
1809
1810 void
1811 dmu_init(void)
1812 {
1813 zfs_dbgmsg_init();
1814 sa_cache_init();
1815 xuio_stat_init();
1816 dmu_objset_init();
1817 dnode_init();
1818 dbuf_init();
1819 zfetch_init();
1820 l2arc_init();
1821 arc_init();
1822 }
1823
1824 void
1825 dmu_fini(void)
1826 {
1827 arc_fini(); /* arc depends on l2arc, so arc must go first */
1828 l2arc_fini();
1829 zfetch_fini();
1830 dbuf_fini();
1831 dnode_fini();
1832 dmu_objset_fini();
1833 xuio_stat_fini();
1834 sa_cache_fini();
1835 zfs_dbgmsg_fini();
1836 }
|