md.c (09c817ba36db7c3a4ff5e25ac55816ca181a403d) | md.c (13e403fdeadd26f9748ba83ea50ee271fbfc862a) |
---|---|
1/*- 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 * --- 138 unchanged lines hidden (view full) --- 147 .start = g_md_start, 148 .access = g_md_access, 149 .dumpconf = g_md_dumpconf, 150}; 151 152DECLARE_GEOM_CLASS(g_md_class, g_md); 153 154 | 1/*- 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 * --- 138 unchanged lines hidden (view full) --- 147 .start = g_md_start, 148 .access = g_md_access, 149 .dumpconf = g_md_dumpconf, 150}; 151 152DECLARE_GEOM_CLASS(g_md_class, g_md); 153 154 |
155static LIST_HEAD(, md_s) md_softc_list = LIST_HEAD_INITIALIZER(&md_softc_list); | 155static LIST_HEAD(, md_s) md_softc_list = LIST_HEAD_INITIALIZER(md_softc_list); |
156 157#define NINDIR (PAGE_SIZE / sizeof(uintptr_t)) 158#define NMASK (NINDIR-1) 159static int nshift; 160 161struct indir { 162 uintptr_t *array; 163 u_int total; --- 1158 unchanged lines hidden --- | 156 157#define NINDIR (PAGE_SIZE / sizeof(uintptr_t)) 158#define NMASK (NINDIR-1) 159static int nshift; 160 161struct indir { 162 uintptr_t *array; 163 u_int total; --- 1158 unchanged lines hidden --- |