xref: /freebsd/sys/geom/geom_flashmap.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
1*91a3f358SIan Lepore /*-
2*91a3f358SIan Lepore  * SPDX-License-Identifier: BSD-2-Clause
3*91a3f358SIan Lepore  *
4*91a3f358SIan Lepore  * Copyright (c) 2019 Ian Lepore <ian@FreeBSD.org>
5*91a3f358SIan Lepore  *
6*91a3f358SIan Lepore  * Redistribution and use in source and binary forms, with or without
7*91a3f358SIan Lepore  * modification, are permitted provided that the following conditions
8*91a3f358SIan Lepore  * are met:
9*91a3f358SIan Lepore  * 1. Redistributions of source code must retain the above copyright
10*91a3f358SIan Lepore  *    notice, this list of conditions and the following disclaimer.
11*91a3f358SIan Lepore  * 2. Redistributions in binary form must reproduce the above copyright
12*91a3f358SIan Lepore  *    notice, this list of conditions and the following disclaimer in the
13*91a3f358SIan Lepore  *    documentation and/or other materials provided with the distribution.
14*91a3f358SIan Lepore  *
15*91a3f358SIan Lepore  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16*91a3f358SIan Lepore  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17*91a3f358SIan Lepore  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18*91a3f358SIan Lepore  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19*91a3f358SIan Lepore  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20*91a3f358SIan Lepore  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21*91a3f358SIan Lepore  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22*91a3f358SIan Lepore  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23*91a3f358SIan Lepore  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24*91a3f358SIan Lepore  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25*91a3f358SIan Lepore  * SUCH DAMAGE.
26*91a3f358SIan Lepore  */
27*91a3f358SIan Lepore 
28*91a3f358SIan Lepore #ifndef _GEOM_GEOM_FLASHMAP_H_
29*91a3f358SIan Lepore 
30*91a3f358SIan Lepore #define	FLASHMAP_CLASS_NAME "Flashmap"
31*91a3f358SIan Lepore 
32*91a3f358SIan Lepore struct g_flashmap {
33*91a3f358SIan Lepore 	const char *labels[FLASH_SLICES_MAX_NUM];
34*91a3f358SIan Lepore };
35*91a3f358SIan Lepore 
36*91a3f358SIan Lepore #endif
37