Deleted Added
full compact
g_part_ebr.c (332521) g_part_ebr.c (332640)
1/*-
2 * Copyright (c) 2007-2009 Marcel Moolenaar
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 13 unchanged lines hidden (view full) ---

22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include "opt_geom.h"
28
29#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2007-2009 Marcel Moolenaar
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 13 unchanged lines hidden (view full) ---

22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include "opt_geom.h"
28
29#include <sys/cdefs.h>
30__FBSDID("$FreeBSD: stable/11/sys/geom/part/g_part_ebr.c 332521 2018-04-16 00:29:07Z kevans $");
30__FBSDID("$FreeBSD: stable/11/sys/geom/part/g_part_ebr.c 332640 2018-04-17 02:18:04Z kevans $");
31
32#include <sys/param.h>
33#include <sys/bio.h>
34#include <sys/diskmbr.h>
35#include <sys/endian.h>
36#include <sys/kernel.h>
37#include <sys/kobj.h>
38#include <sys/limits.h>

--- 82 unchanged lines hidden (view full) ---

121 "EBR",
122 g_part_ebr_methods,
123 sizeof(struct g_part_ebr_table),
124 .gps_entrysz = sizeof(struct g_part_ebr_entry),
125 .gps_minent = 1,
126 .gps_maxent = INT_MAX,
127};
128G_PART_SCHEME_DECLARE(g_part_ebr);
31
32#include <sys/param.h>
33#include <sys/bio.h>
34#include <sys/diskmbr.h>
35#include <sys/endian.h>
36#include <sys/kernel.h>
37#include <sys/kobj.h>
38#include <sys/limits.h>

--- 82 unchanged lines hidden (view full) ---

121 "EBR",
122 g_part_ebr_methods,
123 sizeof(struct g_part_ebr_table),
124 .gps_entrysz = sizeof(struct g_part_ebr_entry),
125 .gps_minent = 1,
126 .gps_maxent = INT_MAX,
127};
128G_PART_SCHEME_DECLARE(g_part_ebr);
129MODULE_VERSION(geom_part_ebr, 0);
129
130static struct g_part_ebr_alias {
131 u_char typ;
132 int alias;
133} ebr_alias_match[] = {
134 { DOSPTYP_386BSD, G_PART_ALIAS_FREEBSD },
135 { DOSPTYP_NTFS, G_PART_ALIAS_MS_NTFS },
136 { DOSPTYP_FAT32, G_PART_ALIAS_MS_FAT32 },

--- 558 unchanged lines hidden ---
130
131static struct g_part_ebr_alias {
132 u_char typ;
133 int alias;
134} ebr_alias_match[] = {
135 { DOSPTYP_386BSD, G_PART_ALIAS_FREEBSD },
136 { DOSPTYP_NTFS, G_PART_ALIAS_MS_NTFS },
137 { DOSPTYP_FAT32, G_PART_ALIAS_MS_FAT32 },

--- 558 unchanged lines hidden ---