\hypertarget{g__part__bsd64_8c_source}{}\doxysection{g\+\_\+part\+\_\+bsd64.\+c}
\label{g__part__bsd64_8c_source}\index{geom/part/g\_part\_bsd64.c@{geom/part/g\_part\_bsd64.c}}
\mbox{\hyperlink{g__part__bsd64_8c}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00002}00002 \textcolor{comment}{ * Copyright (c) 2014 Andrey V. Elsukov <ae@FreeBSD.org>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00003}00003 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00004}00004 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00005}00005 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00006}00006 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00007}00007 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00008}00008 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00009}00009 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00010}00010 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00011}00011 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00012}00012 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00013}00013 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00014}00014 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00015}00015 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00016}00016 \textcolor{comment}{ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00017}00017 \textcolor{comment}{ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00018}00018 \textcolor{comment}{ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00019}00019 \textcolor{comment}{ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00020}00020 \textcolor{comment}{ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00021}00021 \textcolor{comment}{ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00022}00022 \textcolor{comment}{ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00023}00023 \textcolor{comment}{ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00024}00024 \textcolor{comment}{ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00025}00025 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00026}00026 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00027}00027 \textcolor{preprocessor}{\#include <sys/cdefs.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00028}\mbox{\hyperlink{g__part__bsd64_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{00028}} \mbox{\hyperlink{g__part__bsd64_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\_\_FBSDID}}(\textcolor{stringliteral}{"{}\$FreeBSD\$"{}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00029}00029 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00030}00030 \textcolor{preprocessor}{\#include <sys/param.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00031}00031 \textcolor{preprocessor}{\#include <sys/bio.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00032}00032 \textcolor{preprocessor}{\#include <sys/gsb\_crc32.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00033}00033 \textcolor{preprocessor}{\#include <sys/disklabel.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00034}00034 \textcolor{preprocessor}{\#include <sys/endian.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00035}00035 \textcolor{preprocessor}{\#include <sys/gpt.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00036}00036 \textcolor{preprocessor}{\#include <sys/kernel.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00037}00037 \textcolor{preprocessor}{\#include <sys/kobj.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00038}00038 \textcolor{preprocessor}{\#include <sys/limits.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00039}00039 \textcolor{preprocessor}{\#include <sys/lock.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00040}00040 \textcolor{preprocessor}{\#include <sys/malloc.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00041}00041 \textcolor{preprocessor}{\#include <sys/mutex.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00042}00042 \textcolor{preprocessor}{\#include <sys/queue.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00043}00043 \textcolor{preprocessor}{\#include <sys/sbuf.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00044}00044 \textcolor{preprocessor}{\#include <sys/systm.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00045}00045 \textcolor{preprocessor}{\#include <sys/sysctl.h>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00046}00046 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{geom_8h}{geom/geom.h}}>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00047}00047 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{geom__int_8h}{geom/geom\_int.h}}>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00048}00048 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{g__part_8h}{geom/part/g\_part.h}}>}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00049}00049 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00050}00050 \textcolor{preprocessor}{\#include "{}g\_part\_if.h"{}}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00051}00051 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00052}\mbox{\hyperlink{g__part__bsd64_8c_a57dfc47788fc7d4a0a6b745b5ba35d26}{00052}} \mbox{\hyperlink{g__part__bsd64_8c_a57dfc47788fc7d4a0a6b745b5ba35d26}{FEATURE}}(geom\_part\_bsd64, \textcolor{stringliteral}{"{}GEOM partitioning class for 64-\/bit BSD disklabels"{}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00053}00053 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00054}00054 \textcolor{comment}{/* XXX: move this to sys/disklabel64.h */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00055}\mbox{\hyperlink{g__part__bsd64_8c_ab04f251f0b4267d0c6ce41ce822e9e23}{00055}} \textcolor{preprocessor}{\#define DISKMAGIC64     ((uint32\_t)0xc4464c59)}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00056}\mbox{\hyperlink{g__part__bsd64_8c_a8461461cafc6e230449093726ec1fad6}{00056}} \textcolor{preprocessor}{\#define MAXPARTITIONS64 16}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00057}\mbox{\hyperlink{g__part__bsd64_8c_a79478921f90b29527fac841f14095332}{00057}} \textcolor{preprocessor}{\#define RESPARTITIONS64 32}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00058}00058 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00059}\mbox{\hyperlink{structdisklabel64}{00059}} \textcolor{keyword}{struct }\mbox{\hyperlink{structdisklabel64}{disklabel64}} \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00060}\mbox{\hyperlink{structdisklabel64_a1092d809f5c9c32e7cd1215d51cff2bf}{00060}}         \textcolor{keywordtype}{char}      \mbox{\hyperlink{structdisklabel64_a1092d809f5c9c32e7cd1215d51cff2bf}{d\_reserved0}}[512];  \textcolor{comment}{/* reserved or unused */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00061}\mbox{\hyperlink{structdisklabel64_ab6f886d02c9b01c6c5fe674a7dd7eac1}{00061}}         uint32\_t \mbox{\hyperlink{structdisklabel64_ab6f886d02c9b01c6c5fe674a7dd7eac1}{d\_magic}};                \textcolor{comment}{/* the magic number */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00062}\mbox{\hyperlink{structdisklabel64_a74374c9b8a78b3b434c76b4a60088e33}{00062}}         uint32\_t \mbox{\hyperlink{structdisklabel64_a74374c9b8a78b3b434c76b4a60088e33}{d\_crc}};            \textcolor{comment}{/* crc32() d\_magic through last part */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00063}\mbox{\hyperlink{structdisklabel64_ad0a646a225a5d0de93b984203e12610c}{00063}}         uint32\_t \mbox{\hyperlink{structdisklabel64_ad0a646a225a5d0de93b984203e12610c}{d\_align}};                \textcolor{comment}{/* partition alignment requirement */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00064}\mbox{\hyperlink{structdisklabel64_abb92a2fa9862317eea9a3e7524330d2e}{00064}}         uint32\_t \mbox{\hyperlink{structdisklabel64_abb92a2fa9862317eea9a3e7524330d2e}{d\_npartitions}};    \textcolor{comment}{/* number of partitions */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00065}\mbox{\hyperlink{structdisklabel64_a26979d8ab8252c6e2b2ca3806e3a635a}{00065}}         \textcolor{keyword}{struct }uuid \mbox{\hyperlink{structdisklabel64_a26979d8ab8252c6e2b2ca3806e3a635a}{d\_stor\_uuid}};     \textcolor{comment}{/* unique uuid for label */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00066}00066 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00067}\mbox{\hyperlink{structdisklabel64_a19e65292af5af12ef04123caa10ac13c}{00067}}         uint64\_t \mbox{\hyperlink{structdisklabel64_a19e65292af5af12ef04123caa10ac13c}{d\_total\_size}};              \textcolor{comment}{/* total size incl everything (bytes) */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00068}\mbox{\hyperlink{structdisklabel64_a3075f3cb3299497a48cdde91a953927b}{00068}}         uint64\_t \mbox{\hyperlink{structdisklabel64_a3075f3cb3299497a48cdde91a953927b}{d\_bbase}};                \textcolor{comment}{/* boot area base offset (bytes) */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00069}00069                                         \textcolor{comment}{/* boot area is pbase -\/ bbase */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00070}\mbox{\hyperlink{structdisklabel64_a797949f5306956c3d0a4ec3cfac9bfc0}{00070}}         uint64\_t \mbox{\hyperlink{structdisklabel64_a797949f5306956c3d0a4ec3cfac9bfc0}{d\_pbase}};                \textcolor{comment}{/* first allocatable offset (bytes) */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00071}\mbox{\hyperlink{structdisklabel64_abca23b48f21fdbdd3204826dbe9f451a}{00071}}         uint64\_t \mbox{\hyperlink{structdisklabel64_abca23b48f21fdbdd3204826dbe9f451a}{d\_pstop}};                \textcolor{comment}{/* last allocatable offset+1 (bytes) */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00072}\mbox{\hyperlink{structdisklabel64_ab5a02ff5dd4852f9a44d1455ecd91d5c}{00072}}         uint64\_t \mbox{\hyperlink{structdisklabel64_ab5a02ff5dd4852f9a44d1455ecd91d5c}{d\_abase}};                \textcolor{comment}{/* location of backup copy if not 0 */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00073}00073 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00074}\mbox{\hyperlink{structdisklabel64_ac4f5a18adafa753cad73e7c076d9a7e5}{00074}}         u\_char    \mbox{\hyperlink{structdisklabel64_ac4f5a18adafa753cad73e7c076d9a7e5}{d\_packname}}[64];}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00075}\mbox{\hyperlink{structdisklabel64_ab7de3c7d5f1af2fe2f1f35f44ecbab4a}{00075}}         u\_char    \mbox{\hyperlink{structdisklabel64_ab7de3c7d5f1af2fe2f1f35f44ecbab4a}{d\_reserved}}[64];}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00076}00076 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00077}00077         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00078}00078 \textcolor{comment}{         * Note: offsets are relative to the base of the slice, NOT to}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00079}00079 \textcolor{comment}{         * d\_pbase.  Unlike 32 bit disklabels the on-\/disk format for}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00080}00080 \textcolor{comment}{         * a 64 bit disklabel remains slice-\/relative.}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00081}00081 \textcolor{comment}{         *}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00082}00082 \textcolor{comment}{         * An uninitialized partition has a p\_boffset and p\_bsize of 0.}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00083}00083 \textcolor{comment}{         *}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00084}00084 \textcolor{comment}{         * If p\_fstype is not supported for a live partition it is set}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00085}00085 \textcolor{comment}{         * to FS\_OTHER.  This is typically the case when the filesystem}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00086}00086 \textcolor{comment}{         * is identified by its uuid.}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00087}00087 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00088}\mbox{\hyperlink{structdisklabel64_1_1partition64}{00088}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structdisklabel64_1_1partition64}{partition64}} \{         \textcolor{comment}{/* the partition table */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00089}\mbox{\hyperlink{structdisklabel64_1_1partition64_ae2b3a9e15eb01004cee9d60fe3ce7cbe}{00089}}                 uint64\_t \mbox{\hyperlink{structdisklabel64_1_1partition64_ae2b3a9e15eb01004cee9d60fe3ce7cbe}{p\_boffset}};    \textcolor{comment}{/* slice relative offset, in bytes */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00090}\mbox{\hyperlink{structdisklabel64_1_1partition64_aef27fcb25a089481be1ee0dfa33b6b66}{00090}}                 uint64\_t \mbox{\hyperlink{structdisklabel64_1_1partition64_aef27fcb25a089481be1ee0dfa33b6b66}{p\_bsize}};        \textcolor{comment}{/* size of partition, in bytes */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00091}\mbox{\hyperlink{structdisklabel64_1_1partition64_a4c97b1440392277956182b41a2bb5d13}{00091}}                 \mbox{\hyperlink{binstream_8h_ab077fa1127453be2bd9d4c3c8a768fa7}{uint8\_t}}  \mbox{\hyperlink{structdisklabel64_1_1partition64_a4c97b1440392277956182b41a2bb5d13}{p\_fstype}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00092}\mbox{\hyperlink{structdisklabel64_1_1partition64_a21b1c96e19b4a902d0082acd81a20d8c}{00092}}                 \mbox{\hyperlink{binstream_8h_ab077fa1127453be2bd9d4c3c8a768fa7}{uint8\_t}}  \mbox{\hyperlink{structdisklabel64_1_1partition64_a21b1c96e19b4a902d0082acd81a20d8c}{p\_unused01}};   \textcolor{comment}{/* reserved, must be 0 */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00093}\mbox{\hyperlink{structdisklabel64_1_1partition64_a06c17329111383b85e8885317c1dd2d2}{00093}}                 \mbox{\hyperlink{binstream_8h_ab077fa1127453be2bd9d4c3c8a768fa7}{uint8\_t}}  \mbox{\hyperlink{structdisklabel64_1_1partition64_a06c17329111383b85e8885317c1dd2d2}{p\_unused02}};   \textcolor{comment}{/* reserved, must be 0 */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00094}\mbox{\hyperlink{structdisklabel64_1_1partition64_aba39908028d1f967828989d5f23b7d80}{00094}}                 \mbox{\hyperlink{binstream_8h_ab077fa1127453be2bd9d4c3c8a768fa7}{uint8\_t}}  \mbox{\hyperlink{structdisklabel64_1_1partition64_aba39908028d1f967828989d5f23b7d80}{p\_unused03}};   \textcolor{comment}{/* reserved, must be 0 */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00095}\mbox{\hyperlink{structdisklabel64_1_1partition64_aceda763177bdc5fab4289a7ce640a436}{00095}}                 uint32\_t \mbox{\hyperlink{structdisklabel64_1_1partition64_aceda763177bdc5fab4289a7ce640a436}{p\_unused04}};  \textcolor{comment}{/* reserved, must be 0 */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00096}\mbox{\hyperlink{structdisklabel64_1_1partition64_a2a1744183875d33a153af324d74ef433}{00096}}                 uint32\_t \mbox{\hyperlink{structdisklabel64_1_1partition64_a2a1744183875d33a153af324d74ef433}{p\_unused05}};  \textcolor{comment}{/* reserved, must be 0 */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00097}\mbox{\hyperlink{structdisklabel64_1_1partition64_a70dd75d1cfa3d6521106bde3f06ddec4}{00097}}                 uint32\_t \mbox{\hyperlink{structdisklabel64_1_1partition64_a70dd75d1cfa3d6521106bde3f06ddec4}{p\_unused06}};  \textcolor{comment}{/* reserved, must be 0 */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00098}\mbox{\hyperlink{structdisklabel64_1_1partition64_acaf13dff305758aa1122ff5e0e60162c}{00098}}                 \textcolor{keyword}{struct }uuid \mbox{\hyperlink{structdisklabel64_1_1partition64_acaf13dff305758aa1122ff5e0e60162c}{p\_type\_uuid}};\textcolor{comment}{/* mount type as UUID */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00099}\mbox{\hyperlink{structdisklabel64_1_1partition64_a3f33e549e8570f4f2276a6fdc578648a}{00099}}                 \textcolor{keyword}{struct }uuid \mbox{\hyperlink{structdisklabel64_1_1partition64_a3f33e549e8570f4f2276a6fdc578648a}{p\_stor\_uuid}};\textcolor{comment}{/* unique uuid for storage */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00100}\mbox{\hyperlink{structdisklabel64_a0a13a1ea22d2eb46671bb46a2ad80078}{00100}}         \} \mbox{\hyperlink{structdisklabel64_a0a13a1ea22d2eb46671bb46a2ad80078}{d\_partitions}}[\mbox{\hyperlink{g__part__bsd64_8c_a8461461cafc6e230449093726ec1fad6}{MAXPARTITIONS64}}];\textcolor{comment}{/* actually may be more */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00101}00101 \};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00102}00102 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00103}\mbox{\hyperlink{structg__part__bsd64__table}{00103}} \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__table}{g\_part\_bsd64\_table}} \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00104}\mbox{\hyperlink{structg__part__bsd64__table_abfa600fa0c3861a0ee1174ec536d2eb9}{00104}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__table}{g\_part\_table}} \mbox{\hyperlink{structg__part__bsd64__table_abfa600fa0c3861a0ee1174ec536d2eb9}{base}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00105}00105 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00106}\mbox{\hyperlink{structg__part__bsd64__table_a4a1e723fba47df3583dbc8058e536417}{00106}}         uint32\_t                \mbox{\hyperlink{structg__part__bsd64__table_a4a1e723fba47df3583dbc8058e536417}{d\_align}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00107}\mbox{\hyperlink{structg__part__bsd64__table_ac69aed05a760378c464ff52388009abe}{00107}}         uint64\_t                \mbox{\hyperlink{structg__part__bsd64__table_ac69aed05a760378c464ff52388009abe}{d\_bbase}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00108}\mbox{\hyperlink{structg__part__bsd64__table_a066f2a60b8c844a4677b7bf4b17e7050}{00108}}         uint64\_t                \mbox{\hyperlink{structg__part__bsd64__table_a066f2a60b8c844a4677b7bf4b17e7050}{d\_abase}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00109}\mbox{\hyperlink{structg__part__bsd64__table_afbb233ac579d670e858ed08aa20fee79}{00109}}         \textcolor{keyword}{struct }uuid             \mbox{\hyperlink{structg__part__bsd64__table_afbb233ac579d670e858ed08aa20fee79}{d\_stor\_uuid}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00110}\mbox{\hyperlink{structg__part__bsd64__table_a488b71f977bd57297a681f25443433ca}{00110}}         \textcolor{keywordtype}{char}                    \mbox{\hyperlink{structg__part__bsd64__table_a488b71f977bd57297a681f25443433ca}{d\_reserved0}}[512];}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00111}\mbox{\hyperlink{structg__part__bsd64__table_ae6bf343b773b042a7f4d2159cfb6c20e}{00111}}         u\_char                  \mbox{\hyperlink{structg__part__bsd64__table_ae6bf343b773b042a7f4d2159cfb6c20e}{d\_packname}}[64];}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00112}\mbox{\hyperlink{structg__part__bsd64__table_afcbb06142108ab60617e36939969c284}{00112}}         u\_char                  \mbox{\hyperlink{structg__part__bsd64__table_afcbb06142108ab60617e36939969c284}{d\_reserved}}[64];}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00113}00113 \};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00114}00114 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00115}\mbox{\hyperlink{structg__part__bsd64__entry}{00115}} \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00116}\mbox{\hyperlink{structg__part__bsd64__entry_a7966eb9a552d0842020c2eeefd750c20}{00116}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} \mbox{\hyperlink{structg__part__bsd64__entry_a7966eb9a552d0842020c2eeefd750c20}{base}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00117}00117 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00118}\mbox{\hyperlink{structg__part__bsd64__entry_a1549d7474379b73241c3d7d7779f6213}{00118}}         \mbox{\hyperlink{binstream_8h_ab077fa1127453be2bd9d4c3c8a768fa7}{uint8\_t}}                  \mbox{\hyperlink{structg__part__bsd64__entry_a1549d7474379b73241c3d7d7779f6213}{fstype}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00119}\mbox{\hyperlink{structg__part__bsd64__entry_a5b0261707a4633b26fe486336f6eba15}{00119}}         \textcolor{keyword}{struct }uuid             \mbox{\hyperlink{structg__part__bsd64__entry_a5b0261707a4633b26fe486336f6eba15}{type\_uuid}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00120}\mbox{\hyperlink{structg__part__bsd64__entry_a4029da9ad19042be63fb9efad9810f48}{00120}}         \textcolor{keyword}{struct }uuid             \mbox{\hyperlink{structg__part__bsd64__entry_a4029da9ad19042be63fb9efad9810f48}{stor\_uuid}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00121}00121 \};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00122}00122 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00123}00123 \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{g__part__bsd64_8c_a61ba0427088320fffceee273cefb6d9f}{g\_part\_bsd64\_add}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *,}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00124}00124     \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__parms}{g\_part\_parms}} *);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00125}00125 \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{g__part__bsd64_8c_a9cfe0f87c595d7a262e1135426a4e37e}{g\_part\_bsd64\_bootcode}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__parms}{g\_part\_parms}} *);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00126}00126 \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{g__part__bsd64_8c_a02680d93691b45273294c4b90c8e11e1}{g\_part\_bsd64\_create}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__parms}{g\_part\_parms}} *);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00127}00127 \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{g__part__bsd64_8c_a9024de9941e4e3e4ad1d58786cd73341}{g\_part\_bsd64\_destroy}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__parms}{g\_part\_parms}} *);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00128}00128 \textcolor{keyword}{static} \textcolor{keywordtype}{void} \mbox{\hyperlink{g__part__bsd64_8c_a9713f2585b412fb5bea79ded2f1f3161}{g\_part\_bsd64\_dumpconf}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *,}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00129}00129     \textcolor{keyword}{struct} sbuf *, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00130}00130 \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{g__part__bsd64_8c_a1a8352633c720e8aae93fb8be560d3b0}{g\_part\_bsd64\_dumpto}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00131}00131 \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{g__part__bsd64_8c_ad399c408242840a73a4836d9be5b5725}{g\_part\_bsd64\_modify}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *,}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00132}00132     \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__parms}{g\_part\_parms}} *);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00133}00133 \textcolor{keyword}{static} \textcolor{keyword}{const} \textcolor{keywordtype}{char} *\mbox{\hyperlink{g__part__bsd64_8c_af9eec052f331cb3b2976154fe8217f14}{g\_part\_bsd64\_name}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *,}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00134}00134     \textcolor{keywordtype}{char} *, \textcolor{keywordtype}{size\_t});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00135}00135 \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{g__part__bsd64_8c_a8b02b55b9ea699e058f046cf5067f0ee}{g\_part\_bsd64\_probe}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__consumer}{g\_consumer}} *);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00136}00136 \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{g__part__bsd64_8c_ab7274c59dd153687f5fe68f110f80e3f}{g\_part\_bsd64\_read}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__consumer}{g\_consumer}} *);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00137}00137 \textcolor{keyword}{static} \textcolor{keyword}{const} \textcolor{keywordtype}{char} *\mbox{\hyperlink{g__part__bsd64_8c_a89246dd9492d475ad591751253158c60}{g\_part\_bsd64\_type}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *,}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00138}00138     \textcolor{keywordtype}{char} *, \textcolor{keywordtype}{size\_t});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00139}00139 \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{g__part__bsd64_8c_ae687441b0fbdcce634148e8d7076b6ab}{g\_part\_bsd64\_write}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__consumer}{g\_consumer}} *);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00140}00140 \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{g__part__bsd64_8c_a4f2d4ea64e66b3c180a23d68d454b2bc}{g\_part\_bsd64\_resize}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *,}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00141}00141     \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__parms}{g\_part\_parms}} *);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00142}00142 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00143}\mbox{\hyperlink{g__part__bsd64_8c_aa2bd2d30c8208b1542b7e854907a8efd}{00143}} \textcolor{keyword}{static} kobj\_method\_t \mbox{\hyperlink{g__part__bsd64_8c_aa2bd2d30c8208b1542b7e854907a8efd}{g\_part\_bsd64\_methods}}[] = \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00144}00144         KOBJMETHOD(g\_part\_add,          \mbox{\hyperlink{g__part__bsd64_8c_a61ba0427088320fffceee273cefb6d9f}{g\_part\_bsd64\_add}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00145}00145         KOBJMETHOD(g\_part\_bootcode,     \mbox{\hyperlink{g__part__bsd64_8c_a9cfe0f87c595d7a262e1135426a4e37e}{g\_part\_bsd64\_bootcode}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00146}00146         KOBJMETHOD(g\_part\_create,       \mbox{\hyperlink{g__part__bsd64_8c_a02680d93691b45273294c4b90c8e11e1}{g\_part\_bsd64\_create}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00147}00147         KOBJMETHOD(g\_part\_destroy,      \mbox{\hyperlink{g__part__bsd64_8c_a9024de9941e4e3e4ad1d58786cd73341}{g\_part\_bsd64\_destroy}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00148}00148         KOBJMETHOD(\mbox{\hyperlink{g__part_8c_ab34acccc61d4eaae892030944206e9c2}{g\_part\_dumpconf}},      \mbox{\hyperlink{g__part__bsd64_8c_a9713f2585b412fb5bea79ded2f1f3161}{g\_part\_bsd64\_dumpconf}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00149}00149         KOBJMETHOD(g\_part\_dumpto,       \mbox{\hyperlink{g__part__bsd64_8c_a1a8352633c720e8aae93fb8be560d3b0}{g\_part\_bsd64\_dumpto}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00150}00150         KOBJMETHOD(g\_part\_modify,       \mbox{\hyperlink{g__part__bsd64_8c_ad399c408242840a73a4836d9be5b5725}{g\_part\_bsd64\_modify}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00151}00151         KOBJMETHOD(\mbox{\hyperlink{g__part_8c_a8a5b9fa2481c947e1fa2486f11c77f17}{g\_part\_resize}},  \mbox{\hyperlink{g__part__bsd64_8c_a4f2d4ea64e66b3c180a23d68d454b2bc}{g\_part\_bsd64\_resize}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00152}00152         KOBJMETHOD(g\_part\_name,         \mbox{\hyperlink{g__part__bsd64_8c_af9eec052f331cb3b2976154fe8217f14}{g\_part\_bsd64\_name}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00153}00153         KOBJMETHOD(\mbox{\hyperlink{g__part_8c_af9edeef8af7e4a9bbe5604ef2bcd1266}{g\_part\_probe}},    \mbox{\hyperlink{g__part__bsd64_8c_a8b02b55b9ea699e058f046cf5067f0ee}{g\_part\_bsd64\_probe}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00154}00154         KOBJMETHOD(g\_part\_read,         \mbox{\hyperlink{g__part__bsd64_8c_ab7274c59dd153687f5fe68f110f80e3f}{g\_part\_bsd64\_read}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00155}00155         KOBJMETHOD(g\_part\_type,         \mbox{\hyperlink{g__part__bsd64_8c_a89246dd9492d475ad591751253158c60}{g\_part\_bsd64\_type}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00156}00156         KOBJMETHOD(g\_part\_write,        \mbox{\hyperlink{g__part__bsd64_8c_ae687441b0fbdcce634148e8d7076b6ab}{g\_part\_bsd64\_write}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00157}00157         \{ 0, 0 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00158}00158 \};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00159}00159 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00160}\mbox{\hyperlink{g__part__bsd64_8c_acb0a16d5abfe3f48ca78bd2dd9fdc1d5}{00160}} \textcolor{keyword}{static} \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__scheme}{g\_part\_scheme}} \mbox{\hyperlink{g__part__bsd64_8c_acb0a16d5abfe3f48ca78bd2dd9fdc1d5}{g\_part\_bsd64\_scheme}} = \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00161}00161         \textcolor{stringliteral}{"{}BSD64"{}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00162}00162         \mbox{\hyperlink{g__part__bsd64_8c_aa2bd2d30c8208b1542b7e854907a8efd}{g\_part\_bsd64\_methods}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00163}00163         \textcolor{keyword}{sizeof}(\textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__table}{g\_part\_bsd64\_table}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00164}00164         .gps\_entrysz = \textcolor{keyword}{sizeof}(\textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}}),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00165}00165         .gps\_minent = \mbox{\hyperlink{g__part__bsd64_8c_a8461461cafc6e230449093726ec1fad6}{MAXPARTITIONS64}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00166}00166         .gps\_maxent = \mbox{\hyperlink{g__part__bsd64_8c_a8461461cafc6e230449093726ec1fad6}{MAXPARTITIONS64}}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00167}00167 \};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00168}\mbox{\hyperlink{g__part__bsd64_8c_a2e0326a69fa118f933f1660cc7fcf044}{00168}} \mbox{\hyperlink{g__part__bsd64_8c_a2e0326a69fa118f933f1660cc7fcf044}{G\_PART\_SCHEME\_DECLARE}}(g\_part\_bsd64);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00169}\mbox{\hyperlink{g__part__bsd64_8c_ace12603f4375ae9b05bc16350e71ffa6}{00169}} \mbox{\hyperlink{g__part__bsd64_8c_ace12603f4375ae9b05bc16350e71ffa6}{MODULE\_VERSION}}(geom\_part\_bsd64, 0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00170}00170 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00171}\mbox{\hyperlink{g__part__bsd64_8c_a6721040e74228e79253f2ed183cfbaf1}{00171}} \textcolor{preprocessor}{\#define EQUUID(a, b)    (memcmp(a, b, sizeof(struct uuid)) == 0)}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00172}\mbox{\hyperlink{g__part__bsd64_8c_a876da3652c5a47971fa8c91b100becc9}{00172}} \textcolor{keyword}{static} \textcolor{keyword}{struct }uuid \mbox{\hyperlink{g__part__bsd64_8c_a876da3652c5a47971fa8c91b100becc9}{bsd64\_uuid\_unused}} = GPT\_ENT\_TYPE\_UNUSED;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00173}\mbox{\hyperlink{g__part__bsd64_8c_af0428ba43bdac41e37ee33b661c60607}{00173}} \textcolor{keyword}{static} \textcolor{keyword}{struct }uuid \mbox{\hyperlink{g__part__bsd64_8c_af0428ba43bdac41e37ee33b661c60607}{bsd64\_uuid\_dfbsd\_swap}} = GPT\_ENT\_TYPE\_DRAGONFLY\_SWAP;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00174}\mbox{\hyperlink{g__part__bsd64_8c_a44fdd144e058821b40a5424c09ba0615}{00174}} \textcolor{keyword}{static} \textcolor{keyword}{struct }uuid \mbox{\hyperlink{g__part__bsd64_8c_a44fdd144e058821b40a5424c09ba0615}{bsd64\_uuid\_dfbsd\_ufs1}} = GPT\_ENT\_TYPE\_DRAGONFLY\_UFS1;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00175}\mbox{\hyperlink{g__part__bsd64_8c_a2ad10da0799ecaa6e68f7cfef00454e1}{00175}} \textcolor{keyword}{static} \textcolor{keyword}{struct }uuid \mbox{\hyperlink{g__part__bsd64_8c_a2ad10da0799ecaa6e68f7cfef00454e1}{bsd64\_uuid\_dfbsd\_vinum}} = GPT\_ENT\_TYPE\_DRAGONFLY\_VINUM;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00176}\mbox{\hyperlink{g__part__bsd64_8c_a7d4a966387007e4dc496d706089b8bf6}{00176}} \textcolor{keyword}{static} \textcolor{keyword}{struct }uuid \mbox{\hyperlink{g__part__bsd64_8c_a7d4a966387007e4dc496d706089b8bf6}{bsd64\_uuid\_dfbsd\_ccd}} = GPT\_ENT\_TYPE\_DRAGONFLY\_CCD;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00177}\mbox{\hyperlink{g__part__bsd64_8c_a15a562e5a1629640f8d4490eb6314bd6}{00177}} \textcolor{keyword}{static} \textcolor{keyword}{struct }uuid \mbox{\hyperlink{g__part__bsd64_8c_a15a562e5a1629640f8d4490eb6314bd6}{bsd64\_uuid\_dfbsd\_legacy}} = GPT\_ENT\_TYPE\_DRAGONFLY\_LEGACY;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00178}\mbox{\hyperlink{g__part__bsd64_8c_a9ed0fea65a0340c83b926c162612ebf8}{00178}} \textcolor{keyword}{static} \textcolor{keyword}{struct }uuid \mbox{\hyperlink{g__part__bsd64_8c_a9ed0fea65a0340c83b926c162612ebf8}{bsd64\_uuid\_dfbsd\_hammer}} = GPT\_ENT\_TYPE\_DRAGONFLY\_HAMMER;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00179}\mbox{\hyperlink{g__part__bsd64_8c_a344c113f130f3905c146dcda4739258c}{00179}} \textcolor{keyword}{static} \textcolor{keyword}{struct }uuid \mbox{\hyperlink{g__part__bsd64_8c_a344c113f130f3905c146dcda4739258c}{bsd64\_uuid\_dfbsd\_hammer2}} = GPT\_ENT\_TYPE\_DRAGONFLY\_HAMMER2;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00180}\mbox{\hyperlink{g__part__bsd64_8c_a1600a91fc70bdf7dc72ff43e6cc848f7}{00180}} \textcolor{keyword}{static} \textcolor{keyword}{struct }uuid \mbox{\hyperlink{g__part__bsd64_8c_a1600a91fc70bdf7dc72ff43e6cc848f7}{bsd64\_uuid\_freebsd\_boot}} = GPT\_ENT\_TYPE\_FREEBSD\_BOOT;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00181}\mbox{\hyperlink{g__part__bsd64_8c_a876ae813dacd845c08b3894d5fcafc02}{00181}} \textcolor{keyword}{static} \textcolor{keyword}{struct }uuid \mbox{\hyperlink{g__part__bsd64_8c_a876ae813dacd845c08b3894d5fcafc02}{bsd64\_uuid\_freebsd\_nandfs}} = GPT\_ENT\_TYPE\_FREEBSD\_NANDFS;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00182}\mbox{\hyperlink{g__part__bsd64_8c_a4bc394b4d9dbd5148afe3017913d4d48}{00182}} \textcolor{keyword}{static} \textcolor{keyword}{struct }uuid \mbox{\hyperlink{g__part__bsd64_8c_a4bc394b4d9dbd5148afe3017913d4d48}{bsd64\_uuid\_freebsd\_swap}} = GPT\_ENT\_TYPE\_FREEBSD\_SWAP;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00183}\mbox{\hyperlink{g__part__bsd64_8c_a8761867ac50a86d3710d1534646d8028}{00183}} \textcolor{keyword}{static} \textcolor{keyword}{struct }uuid \mbox{\hyperlink{g__part__bsd64_8c_a8761867ac50a86d3710d1534646d8028}{bsd64\_uuid\_freebsd\_ufs}} = GPT\_ENT\_TYPE\_FREEBSD\_UFS;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00184}\mbox{\hyperlink{g__part__bsd64_8c_acf902b1cfdb70026fb6d7e7da71aca20}{00184}} \textcolor{keyword}{static} \textcolor{keyword}{struct }uuid \mbox{\hyperlink{g__part__bsd64_8c_acf902b1cfdb70026fb6d7e7da71aca20}{bsd64\_uuid\_freebsd\_vinum}} = GPT\_ENT\_TYPE\_FREEBSD\_VINUM;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00185}\mbox{\hyperlink{g__part__bsd64_8c_ae6b317a89f74d4e05e83120dcd73fb2a}{00185}} \textcolor{keyword}{static} \textcolor{keyword}{struct }uuid \mbox{\hyperlink{g__part__bsd64_8c_ae6b317a89f74d4e05e83120dcd73fb2a}{bsd64\_uuid\_freebsd\_zfs}} = GPT\_ENT\_TYPE\_FREEBSD\_ZFS;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00186}00186 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00187}\mbox{\hyperlink{structbsd64__uuid__alias}{00187}} \textcolor{keyword}{struct }\mbox{\hyperlink{structbsd64__uuid__alias}{bsd64\_uuid\_alias}} \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00188}\mbox{\hyperlink{structbsd64__uuid__alias_ad985f66db27d7f15c0734350fd45a9b1}{00188}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structbsd64__uuid__alias_ad985f66db27d7f15c0734350fd45a9b1}{uuid}} *\mbox{\hyperlink{structbsd64__uuid__alias_ad985f66db27d7f15c0734350fd45a9b1}{uuid}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00189}\mbox{\hyperlink{structbsd64__uuid__alias_ade0fe53ce978bcf915bd193b7b050cca}{00189}}         \mbox{\hyperlink{binstream_8h_ab077fa1127453be2bd9d4c3c8a768fa7}{uint8\_t}} \mbox{\hyperlink{structbsd64__uuid__alias_ade0fe53ce978bcf915bd193b7b050cca}{fstype}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00190}\mbox{\hyperlink{structbsd64__uuid__alias_a81c00b93072751a670b8d244e6da3967}{00190}}         \textcolor{keywordtype}{int} \mbox{\hyperlink{structbsd64__uuid__alias_a81c00b93072751a670b8d244e6da3967}{alias}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00191}00191 \};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00192}\mbox{\hyperlink{g__part__bsd64_8c_abebef4fd7fd3a0854e00fb7e4f1f171b}{00192}} \textcolor{keyword}{static} \textcolor{keyword}{struct }\mbox{\hyperlink{structbsd64__uuid__alias}{bsd64\_uuid\_alias}} \mbox{\hyperlink{g__part__bsd64_8c_abebef4fd7fd3a0854e00fb7e4f1f171b}{dfbsd\_alias\_match}}[] = \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00193}00193         \{ \&\mbox{\hyperlink{g__part__bsd64_8c_af0428ba43bdac41e37ee33b661c60607}{bsd64\_uuid\_dfbsd\_swap}}, FS\_SWAP, \mbox{\hyperlink{g__part_8h_a19b7e9a64cde5cffbdf337cc286615fba65da2aaab1a2853d57210b81d0d2b04c}{G\_PART\_ALIAS\_DFBSD\_SWAP}} \},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00194}00194         \{ \&\mbox{\hyperlink{g__part__bsd64_8c_a44fdd144e058821b40a5424c09ba0615}{bsd64\_uuid\_dfbsd\_ufs1}}, FS\_BSDFFS, \mbox{\hyperlink{g__part_8h_a19b7e9a64cde5cffbdf337cc286615fba8292a3596852a093fcd457ab4bafb4ac}{G\_PART\_ALIAS\_DFBSD\_UFS}} \},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00195}00195         \{ \&\mbox{\hyperlink{g__part__bsd64_8c_a2ad10da0799ecaa6e68f7cfef00454e1}{bsd64\_uuid\_dfbsd\_vinum}}, FS\_VINUM, \mbox{\hyperlink{g__part_8h_a19b7e9a64cde5cffbdf337cc286615fba6eeb26aafcc4e6b4502ed668bd6688a6}{G\_PART\_ALIAS\_DFBSD\_VINUM}} \},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00196}00196         \{ \&\mbox{\hyperlink{g__part__bsd64_8c_a7d4a966387007e4dc496d706089b8bf6}{bsd64\_uuid\_dfbsd\_ccd}}, FS\_CCD, \mbox{\hyperlink{g__part_8h_a19b7e9a64cde5cffbdf337cc286615fbadc0641dee56a3fc16b5b39f412955c2e}{G\_PART\_ALIAS\_DFBSD\_CCD}} \},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00197}00197         \{ \&\mbox{\hyperlink{g__part__bsd64_8c_a15a562e5a1629640f8d4490eb6314bd6}{bsd64\_uuid\_dfbsd\_legacy}}, FS\_OTHER, \mbox{\hyperlink{g__part_8h_a19b7e9a64cde5cffbdf337cc286615fba3beabe280c42ba35a58e7db6b855e453}{G\_PART\_ALIAS\_DFBSD\_LEGACY}} \},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00198}00198         \{ \&\mbox{\hyperlink{g__part__bsd64_8c_a9ed0fea65a0340c83b926c162612ebf8}{bsd64\_uuid\_dfbsd\_hammer}}, FS\_HAMMER, \mbox{\hyperlink{g__part_8h_a19b7e9a64cde5cffbdf337cc286615fba77f969ec7bd3617c3ff4268feb53f9fb}{G\_PART\_ALIAS\_DFBSD\_HAMMER}} \},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00199}00199         \{ \&\mbox{\hyperlink{g__part__bsd64_8c_a344c113f130f3905c146dcda4739258c}{bsd64\_uuid\_dfbsd\_hammer2}}, FS\_HAMMER2, \mbox{\hyperlink{g__part_8h_a19b7e9a64cde5cffbdf337cc286615fba5ea3420c7d66c6e4d86d2d8d32320280}{G\_PART\_ALIAS\_DFBSD\_HAMMER2}} \},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00200}00200         \{ NULL, 0, 0\}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00201}00201 \};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00202}\mbox{\hyperlink{g__part__bsd64_8c_acdea00eb4b401636b1bfb9cbed3edc0e}{00202}} \textcolor{keyword}{static} \textcolor{keyword}{struct }\mbox{\hyperlink{structbsd64__uuid__alias}{bsd64\_uuid\_alias}} \mbox{\hyperlink{g__part__bsd64_8c_acdea00eb4b401636b1bfb9cbed3edc0e}{fbsd\_alias\_match}}[] = \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00203}00203         \{ \&\mbox{\hyperlink{g__part__bsd64_8c_a1600a91fc70bdf7dc72ff43e6cc848f7}{bsd64\_uuid\_freebsd\_boot}}, FS\_OTHER, \mbox{\hyperlink{g__part_8h_a19b7e9a64cde5cffbdf337cc286615fba0b86d70f7363e2b36952db543a0bc264}{G\_PART\_ALIAS\_FREEBSD\_BOOT}} \},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00204}00204         \{ \&\mbox{\hyperlink{g__part__bsd64_8c_a4bc394b4d9dbd5148afe3017913d4d48}{bsd64\_uuid\_freebsd\_swap}}, FS\_OTHER, \mbox{\hyperlink{g__part_8h_a19b7e9a64cde5cffbdf337cc286615fba85b766f7be4fb08c7c8e8beeb5ca8ac6}{G\_PART\_ALIAS\_FREEBSD\_SWAP}} \},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00205}00205         \{ \&\mbox{\hyperlink{g__part__bsd64_8c_a8761867ac50a86d3710d1534646d8028}{bsd64\_uuid\_freebsd\_ufs}}, FS\_OTHER, \mbox{\hyperlink{g__part_8h_a19b7e9a64cde5cffbdf337cc286615fbad13ec1baa4a93569a10970d2d4e2322f}{G\_PART\_ALIAS\_FREEBSD\_UFS}} \},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00206}00206         \{ \&\mbox{\hyperlink{g__part__bsd64_8c_ae6b317a89f74d4e05e83120dcd73fb2a}{bsd64\_uuid\_freebsd\_zfs}}, FS\_OTHER, \mbox{\hyperlink{g__part_8h_a19b7e9a64cde5cffbdf337cc286615fbaea1794ef53ca052eb2a0d423aa99278c}{G\_PART\_ALIAS\_FREEBSD\_ZFS}} \},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00207}00207         \{ \&\mbox{\hyperlink{g__part__bsd64_8c_acf902b1cfdb70026fb6d7e7da71aca20}{bsd64\_uuid\_freebsd\_vinum}}, FS\_OTHER, \mbox{\hyperlink{g__part_8h_a19b7e9a64cde5cffbdf337cc286615fbaf5371975d479c62f48e2703a43ccc2ad}{G\_PART\_ALIAS\_FREEBSD\_VINUM}} \},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00208}00208         \{ \&\mbox{\hyperlink{g__part__bsd64_8c_a876ae813dacd845c08b3894d5fcafc02}{bsd64\_uuid\_freebsd\_nandfs}}, FS\_OTHER, \mbox{\hyperlink{g__part_8h_a19b7e9a64cde5cffbdf337cc286615fba8a6adc68aa1d4e885d9d7f6c7a95b229}{G\_PART\_ALIAS\_FREEBSD\_NANDFS}} \},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00209}00209         \{ NULL, 0, 0\}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00210}00210 \};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00211}00211 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00212}00212 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00213}\mbox{\hyperlink{g__part__bsd64_8c_a0c064962a760803ee01dfb0bfa00ce44}{00213}} \mbox{\hyperlink{g__part__bsd64_8c_a0c064962a760803ee01dfb0bfa00ce44}{bsd64\_parse\_type}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char} *\mbox{\hyperlink{geom__flashmap_8c_a763fd8db6bba8fbbbc113ca0d61c47c2}{type}}, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00214}00214 \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00215}00215         \textcolor{keyword}{struct }uuid tmp;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00216}00216         \textcolor{keyword}{const} \textcolor{keyword}{struct }\mbox{\hyperlink{structbsd64__uuid__alias}{bsd64\_uuid\_alias}} *uap;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00217}00217         \textcolor{keyword}{const} \textcolor{keywordtype}{char} *\mbox{\hyperlink{structbsd64__uuid__alias_a81c00b93072751a670b8d244e6da3967}{alias}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00218}00218         \textcolor{keywordtype}{char} *p;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00219}00219         \textcolor{keywordtype}{long} lt;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00220}00220         \textcolor{keywordtype}{int} error;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00221}00221 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00222}00222         \textcolor{keywordflow}{if} (\mbox{\hyperlink{geom__flashmap_8c_a763fd8db6bba8fbbbc113ca0d61c47c2}{type}}[0] == \textcolor{charliteral}{'!'}) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00223}00223                 \textcolor{keywordflow}{if} (\mbox{\hyperlink{geom__flashmap_8c_a763fd8db6bba8fbbbc113ca0d61c47c2}{type}}[1] == \textcolor{charliteral}{'\(\backslash\)0'})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00224}00224                         \textcolor{keywordflow}{return} (EINVAL);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00225}00225                 lt = strtol(\mbox{\hyperlink{geom__flashmap_8c_a763fd8db6bba8fbbbc113ca0d61c47c2}{type}} + 1, \&p, 0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00226}00226                 \textcolor{comment}{/* The type specified as number */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00227}00227                 \textcolor{keywordflow}{if} (*p == \textcolor{charliteral}{'\(\backslash\)0'}) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00228}00228                         \textcolor{keywordflow}{if} (lt <= 0 || lt > 255)}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00229}00229                                 \textcolor{keywordflow}{return} (EINVAL);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00230}00230                         \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>fstype = lt;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00231}00231                         \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid = \mbox{\hyperlink{g__part__bsd64_8c_a876da3652c5a47971fa8c91b100becc9}{bsd64\_uuid\_unused}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00232}00232                         \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00233}00233                 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00234}00234                 \textcolor{comment}{/* The type specified as uuid */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00235}00235                 error = parse\_uuid(\mbox{\hyperlink{geom__flashmap_8c_a763fd8db6bba8fbbbc113ca0d61c47c2}{type}} + 1, \&tmp);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00236}00236                 \textcolor{keywordflow}{if} (error != 0)}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00237}00237                         \textcolor{keywordflow}{return} (error);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00238}00238                 \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__bsd64_8c_a6721040e74228e79253f2ed183cfbaf1}{EQUUID}}(\&tmp, \&\mbox{\hyperlink{g__part__bsd64_8c_a876da3652c5a47971fa8c91b100becc9}{bsd64\_uuid\_unused}}))}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00239}00239                         \textcolor{keywordflow}{return} (EINVAL);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00240}00240                 \textcolor{keywordflow}{for} (uap = \&\mbox{\hyperlink{g__part__bsd64_8c_abebef4fd7fd3a0854e00fb7e4f1f171b}{dfbsd\_alias\_match}}[0]; uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_ad985f66db27d7f15c0734350fd45a9b1}{uuid}} != NULL; uap++) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00241}00241                         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__bsd64_8c_a6721040e74228e79253f2ed183cfbaf1}{EQUUID}}(\&tmp, uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_ad985f66db27d7f15c0734350fd45a9b1}{uuid}})) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00242}00242                                 \textcolor{comment}{/* Prefer fstype for known uuids */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00243}00243                                 \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid = \mbox{\hyperlink{g__part__bsd64_8c_a876da3652c5a47971fa8c91b100becc9}{bsd64\_uuid\_unused}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00244}00244                                 \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>fstype = uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_ade0fe53ce978bcf915bd193b7b050cca}{fstype}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00245}00245                                 \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00246}00246                         \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00247}00247                 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00248}00248                 \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid = tmp;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00249}00249                 \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>fstype = FS\_OTHER;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00250}00250                 \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00251}00251         \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00252}00252         \textcolor{comment}{/* The type specified as symbolic alias name */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00253}00253         \textcolor{keywordflow}{for} (uap = \&\mbox{\hyperlink{g__part__bsd64_8c_acdea00eb4b401636b1bfb9cbed3edc0e}{fbsd\_alias\_match}}[0]; uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_ad985f66db27d7f15c0734350fd45a9b1}{uuid}} != NULL; uap++) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00254}00254                 \mbox{\hyperlink{structbsd64__uuid__alias_a81c00b93072751a670b8d244e6da3967}{alias}} = \mbox{\hyperlink{g__part_8c_a458397c9a8faf94592039e34134837dc}{g\_part\_alias\_name}}(uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_a81c00b93072751a670b8d244e6da3967}{alias}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00255}00255                 \textcolor{keywordflow}{if} (!strcasecmp(\mbox{\hyperlink{geom__flashmap_8c_a763fd8db6bba8fbbbc113ca0d61c47c2}{type}}, \mbox{\hyperlink{structbsd64__uuid__alias_a81c00b93072751a670b8d244e6da3967}{alias}})) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00256}00256                         \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid = *uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_ad985f66db27d7f15c0734350fd45a9b1}{uuid}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00257}00257                         \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>fstype = uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_ade0fe53ce978bcf915bd193b7b050cca}{fstype}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00258}00258                         \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00259}00259                 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00260}00260         \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00261}00261         \textcolor{keywordflow}{for} (uap = \&\mbox{\hyperlink{g__part__bsd64_8c_abebef4fd7fd3a0854e00fb7e4f1f171b}{dfbsd\_alias\_match}}[0]; uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_ad985f66db27d7f15c0734350fd45a9b1}{uuid}} != NULL; uap++) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00262}00262                 \mbox{\hyperlink{structbsd64__uuid__alias_a81c00b93072751a670b8d244e6da3967}{alias}} = \mbox{\hyperlink{g__part_8c_a458397c9a8faf94592039e34134837dc}{g\_part\_alias\_name}}(uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_a81c00b93072751a670b8d244e6da3967}{alias}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00263}00263                 \textcolor{keywordflow}{if} (!strcasecmp(\mbox{\hyperlink{geom__flashmap_8c_a763fd8db6bba8fbbbc113ca0d61c47c2}{type}}, \mbox{\hyperlink{structbsd64__uuid__alias_a81c00b93072751a670b8d244e6da3967}{alias}})) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00264}00264                         \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid = \mbox{\hyperlink{g__part__bsd64_8c_a876da3652c5a47971fa8c91b100becc9}{bsd64\_uuid\_unused}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00265}00265                         \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>fstype = uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_ade0fe53ce978bcf915bd193b7b050cca}{fstype}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00266}00266                         \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00267}00267                 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00268}00268         \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00269}00269         \textcolor{keywordflow}{return} (EINVAL);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00270}00270 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00271}00271 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00272}00272 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00273}\mbox{\hyperlink{g__part__bsd64_8c_a61ba0427088320fffceee273cefb6d9f}{00273}} \mbox{\hyperlink{g__part__bsd64_8c_a61ba0427088320fffceee273cefb6d9f}{g\_part\_bsd64\_add}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *basetable, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *baseentry,}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00274}00274     \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__parms}{g\_part\_parms}} *\mbox{\hyperlink{g__part__if_8m_ad13d1d1e03609f599a8c4ea0a6801bf0}{gpp}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00275}00275 \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00276}00276         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00277}00277 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00278}00278         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__if_8m_ad13d1d1e03609f599a8c4ea0a6801bf0}{gpp}}-\/>\mbox{\hyperlink{structg__part__parms_aac8d6125fbcedb1791170d0cc791648a}{gpp\_parms}} \& \mbox{\hyperlink{g__part_8h_ac1f9e00d1a0a9fc01363d4d49541f42d}{G\_PART\_PARM\_LABEL}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00279}00279                 \textcolor{keywordflow}{return} (EINVAL);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00280}00280 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00281}00281         \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}} = (\textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *)baseentry;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00282}00282         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__bsd64_8c_a0c064962a760803ee01dfb0bfa00ce44}{bsd64\_parse\_type}}(\mbox{\hyperlink{g__part__if_8m_ad13d1d1e03609f599a8c4ea0a6801bf0}{gpp}}-\/>\mbox{\hyperlink{structg__part__parms_a01eada6a88b8471f77555e6805d2644a}{gpp\_type}}, \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}) != 0)}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00283}00283                 \textcolor{keywordflow}{return} (EINVAL);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00284}00284         kern\_uuidgen(\&\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>stor\_uuid, 1);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00285}00285         \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00286}00286 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00287}00287 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00288}00288 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00289}\mbox{\hyperlink{g__part__bsd64_8c_a9cfe0f87c595d7a262e1135426a4e37e}{00289}} \mbox{\hyperlink{g__part__bsd64_8c_a9cfe0f87c595d7a262e1135426a4e37e}{g\_part\_bsd64\_bootcode}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *basetable, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__parms}{g\_part\_parms}} *\mbox{\hyperlink{g__part__if_8m_ad13d1d1e03609f599a8c4ea0a6801bf0}{gpp}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00290}00290 \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00291}00291 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00292}00292         \textcolor{keywordflow}{return} (EOPNOTSUPP);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00293}00293 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00294}00294 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00295}\mbox{\hyperlink{g__part__bsd64_8c_a101a3345a6bdcbf21a23abda8e7c60d1}{00295}} \textcolor{preprocessor}{\#define PALIGN\_SIZE     (1024 * 1024)}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00296}\mbox{\hyperlink{g__part__bsd64_8c_a1842c62a884e458e61332c586f02de59}{00296}} \textcolor{preprocessor}{\#define PALIGN\_MASK     (PALIGN\_SIZE -\/ 1)}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00297}\mbox{\hyperlink{g__part__bsd64_8c_ac4551bbc9efabf8378f35498f80b4679}{00297}} \textcolor{preprocessor}{\#define BLKSIZE         (4 * 1024)}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00298}\mbox{\hyperlink{g__part__bsd64_8c_ae89aea15a073588d8b15050b893b9536}{00298}} \textcolor{preprocessor}{\#define BOOTSIZE        (32 * 1024)}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00299}\mbox{\hyperlink{g__part__bsd64_8c_ace538f088c7b9b84ccbd457dd7e4899c}{00299}} \textcolor{preprocessor}{\#define DALIGN\_SIZE     (32 * 1024)}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00300}00300 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00301}\mbox{\hyperlink{g__part__bsd64_8c_a02680d93691b45273294c4b90c8e11e1}{00301}} \mbox{\hyperlink{g__part__bsd64_8c_a02680d93691b45273294c4b90c8e11e1}{g\_part\_bsd64\_create}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *basetable, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__parms}{g\_part\_parms}} *\mbox{\hyperlink{g__part__if_8m_ad13d1d1e03609f599a8c4ea0a6801bf0}{gpp}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00302}00302 \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00303}00303         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__table}{g\_part\_bsd64\_table}} *table;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00304}00304         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *baseentry;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00305}00305         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__provider}{g\_provider}} *\mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00306}00306         uint64\_t blkmask, pbase;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00307}00307         uint32\_t blksize, ressize;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00308}00308 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00309}00309         \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}} = \mbox{\hyperlink{g__part__if_8m_ad13d1d1e03609f599a8c4ea0a6801bf0}{gpp}}-\/>\mbox{\hyperlink{structg__part__parms_a0167e72bae7184b18a4180134cc0c021}{gpp\_provider}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00310}00310         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_a8f47c464c78aa91fa4ca5143ed3cd15e}{mediasize}} < 2* \mbox{\hyperlink{g__part__bsd64_8c_a101a3345a6bdcbf21a23abda8e7c60d1}{PALIGN\_SIZE}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00311}00311                 \textcolor{keywordflow}{return} (ENOSPC);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00312}00312 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00313}00313         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00314}00314 \textcolor{comment}{         * Use at least 4KB block size. Blksize is stored in the d\_align.}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00315}00315 \textcolor{comment}{         * XXX: Actually it is used just for calculate d\_bbase and used}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00316}00316 \textcolor{comment}{         * for better alignment in bsdlabel64(8).}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00317}00317 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00318}00318         blksize = \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}} < \mbox{\hyperlink{g__part__bsd64_8c_ac4551bbc9efabf8378f35498f80b4679}{BLKSIZE}} ? \mbox{\hyperlink{g__part__bsd64_8c_ac4551bbc9efabf8378f35498f80b4679}{BLKSIZE}}: \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00319}00319         blkmask = blksize -\/ 1;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00320}00320         \textcolor{comment}{/* Reserve enough space for RESPARTITIONS64 partitions. */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00321}00321         ressize = offsetof(\textcolor{keyword}{struct} \mbox{\hyperlink{structdisklabel64}{disklabel64}}, d\_partitions[\mbox{\hyperlink{g__part__bsd64_8c_a79478921f90b29527fac841f14095332}{RESPARTITIONS64}}]);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00322}00322         ressize = (ressize + blkmask) \& \string~blkmask;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00323}00323         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00324}00324 \textcolor{comment}{         * Reserve enough space for bootcode and align first allocatable}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00325}00325 \textcolor{comment}{         * offset to PALIGN\_SIZE.}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00326}00326 \textcolor{comment}{         * XXX: Currently DragonFlyBSD has 32KB bootcode, but the size could}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00327}00327 \textcolor{comment}{         * be bigger, because it is possible change it (it is equal pbase-\/bbase)}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00328}00328 \textcolor{comment}{         * in the bsdlabel64(8).}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00329}00329 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00330}00330         pbase = ressize + ((\mbox{\hyperlink{g__part__bsd64_8c_ae89aea15a073588d8b15050b893b9536}{BOOTSIZE}} + blkmask) \& \string~blkmask);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00331}00331         pbase = (pbase + \mbox{\hyperlink{g__part__bsd64_8c_a1842c62a884e458e61332c586f02de59}{PALIGN\_MASK}}) \& \string~\mbox{\hyperlink{g__part__bsd64_8c_a1842c62a884e458e61332c586f02de59}{PALIGN\_MASK}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00332}00332         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00333}00333 \textcolor{comment}{         * Take physical offset into account and make first allocatable}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00334}00334 \textcolor{comment}{         * offset 32KB aligned to the start of the physical disk.}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00335}00335 \textcolor{comment}{         * XXX: Actually there are no such restrictions, this is how}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00336}00336 \textcolor{comment}{         * DragonFlyBSD behaves.}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00337}00337 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00338}00338         pbase += \mbox{\hyperlink{g__part__bsd64_8c_ace538f088c7b9b84ccbd457dd7e4899c}{DALIGN\_SIZE}} -\/ \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_ac6baefca9562013cb451aee0a665e378}{stripeoffset}} \% \mbox{\hyperlink{g__part__bsd64_8c_ace538f088c7b9b84ccbd457dd7e4899c}{DALIGN\_SIZE}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00339}00339 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00340}00340         table = (\textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__table}{g\_part\_bsd64\_table}} *)basetable;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00341}00341         table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a4a1e723fba47df3583dbc8058e536417}{d\_align}} = blksize;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00342}00342         table-\/>\mbox{\hyperlink{structg__part__bsd64__table_ac69aed05a760378c464ff52388009abe}{d\_bbase}} = ressize / \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00343}00343         table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a066f2a60b8c844a4677b7bf4b17e7050}{d\_abase}} = ((\mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_a8f47c464c78aa91fa4ca5143ed3cd15e}{mediasize}} -\/ ressize) \&}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00344}00344             \string~blkmask) / \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00345}00345         kern\_uuidgen(\&table-\/>\mbox{\hyperlink{structg__part__bsd64__table_afbb233ac579d670e858ed08aa20fee79}{d\_stor\_uuid}}, 1);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00346}00346         basetable-\/>\mbox{\hyperlink{structg__part__table_a20e1ef23449d8669abc2d1737bd04eb7}{gpt\_first}} = pbase / \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00347}00347         basetable-\/>\mbox{\hyperlink{structg__part__table_aed05f4ae3f70841485bb573fbb21e458}{gpt\_last}} = table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a066f2a60b8c844a4677b7bf4b17e7050}{d\_abase}} -\/ 1; \textcolor{comment}{/* XXX */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00348}00348         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00349}00349 \textcolor{comment}{         * Create 'c' partition and make it internal, so user will not be}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00350}00350 \textcolor{comment}{         * able use it.}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00351}00351 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00352}00352         baseentry = \mbox{\hyperlink{g__part_8c_a010bc380adf72e4e075c5339c3b10f4e}{g\_part\_new\_entry}}(basetable, RAW\_PART + 1, 0, 0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00353}00353         baseentry-\/>\mbox{\hyperlink{structg__part__entry_a86b17c79d155694f025280d9623e6fbb}{gpe\_internal}} = 1;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00354}00354         \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00355}00355 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00356}00356 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00357}00357 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00358}\mbox{\hyperlink{g__part__bsd64_8c_a9024de9941e4e3e4ad1d58786cd73341}{00358}} \mbox{\hyperlink{g__part__bsd64_8c_a9024de9941e4e3e4ad1d58786cd73341}{g\_part\_bsd64\_destroy}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *basetable, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__parms}{g\_part\_parms}} *\mbox{\hyperlink{g__part__if_8m_ad13d1d1e03609f599a8c4ea0a6801bf0}{gpp}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00359}00359 \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00360}00360         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__provider}{g\_provider}} *\mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00361}00361 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00362}00362         \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}} = LIST\_FIRST(\&basetable-\/>\mbox{\hyperlink{structg__part__table_a0dad02eb728a87c70f5100f6c5a704d1}{gpt\_gp}}-\/>consumer)-\/>provider;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00363}00363         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}} > offsetof(\textcolor{keyword}{struct} \mbox{\hyperlink{structdisklabel64}{disklabel64}}, d\_magic))}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00364}00364                 basetable-\/>\mbox{\hyperlink{structg__part__table_a9e646bdafec74517607d5cbbea17f0d6}{gpt\_smhead}} |= 1;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00365}00365         \textcolor{keywordflow}{else}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00366}00366                 basetable-\/>\mbox{\hyperlink{structg__part__table_a9e646bdafec74517607d5cbbea17f0d6}{gpt\_smhead}} |= 3;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00367}00367         \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00368}00368 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00369}00369 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00370}00370 \textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00371}\mbox{\hyperlink{g__part__bsd64_8c_a9713f2585b412fb5bea79ded2f1f3161}{00371}} \mbox{\hyperlink{g__part__bsd64_8c_a9713f2585b412fb5bea79ded2f1f3161}{g\_part\_bsd64\_dumpconf}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *basetable,}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00372}00372     \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *baseentry, \textcolor{keyword}{struct} sbuf *\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *\mbox{\hyperlink{g__part__if_8m_a9a0d9ba518bc8db9a623d0a6ab81f81c}{indent}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00373}00373 \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00374}00374         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__table}{g\_part\_bsd64\_table}} *table;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00375}00375         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00376}00376         \textcolor{keywordtype}{char} \mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}}[\textcolor{keyword}{sizeof}(table-\/>\mbox{\hyperlink{structg__part__bsd64__table_ae6bf343b773b042a7f4d2159cfb6c20e}{d\_packname}})];}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00377}00377 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00378}00378         \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}} = (\textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *)baseentry;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00379}00379         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__if_8m_a9a0d9ba518bc8db9a623d0a6ab81f81c}{indent}} == NULL) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00380}00380                 \textcolor{comment}{/* conftxt: libdisk compatibility */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00381}00381                 sbuf\_printf(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \textcolor{stringliteral}{"{} xs BSD64 xt \%u"{}}, \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>fstype);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00382}00382         \} \textcolor{keywordflow}{else} \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}} != NULL) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00383}00383                 \textcolor{comment}{/* confxml: partition entry information */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00384}00384                 sbuf\_printf(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \textcolor{stringliteral}{"{}\%s<rawtype>\%u</rawtype>\(\backslash\)n"{}}, \mbox{\hyperlink{g__part__if_8m_a9a0d9ba518bc8db9a623d0a6ab81f81c}{indent}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00385}00385                     \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>fstype);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00386}00386                 \textcolor{keywordflow}{if} (!\mbox{\hyperlink{g__part__bsd64_8c_a6721040e74228e79253f2ed183cfbaf1}{EQUUID}}(\&\mbox{\hyperlink{g__part__bsd64_8c_a876da3652c5a47971fa8c91b100becc9}{bsd64\_uuid\_unused}}, \&\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid)) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00387}00387                         sbuf\_printf(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \textcolor{stringliteral}{"{}\%s<type\_uuid>"{}}, \mbox{\hyperlink{g__part__if_8m_a9a0d9ba518bc8db9a623d0a6ab81f81c}{indent}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00388}00388                         sbuf\_printf\_uuid(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \&\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00389}00389                         sbuf\_cat(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \textcolor{stringliteral}{"{}</type\_uuid>\(\backslash\)n"{}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00390}00390                 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00391}00391                 sbuf\_printf(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \textcolor{stringliteral}{"{}\%s<stor\_uuid>"{}}, \mbox{\hyperlink{g__part__if_8m_a9a0d9ba518bc8db9a623d0a6ab81f81c}{indent}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00392}00392                 sbuf\_printf\_uuid(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \&\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>stor\_uuid);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00393}00393                 sbuf\_cat(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \textcolor{stringliteral}{"{}</stor\_uuid>\(\backslash\)n"{}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00394}00394         \} \textcolor{keywordflow}{else} \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00395}00395                 \textcolor{comment}{/* confxml: scheme information */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00396}00396                 table = (\textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__table}{g\_part\_bsd64\_table}} *)basetable;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00397}00397                 sbuf\_printf(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \textcolor{stringliteral}{"{}\%s<bootbase>\%ju</bootbase>\(\backslash\)n"{}}, \mbox{\hyperlink{g__part__if_8m_a9a0d9ba518bc8db9a623d0a6ab81f81c}{indent}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00398}00398                     (uintmax\_t)table-\/>\mbox{\hyperlink{structg__part__bsd64__table_ac69aed05a760378c464ff52388009abe}{d\_bbase}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00399}00399                 \textcolor{keywordflow}{if} (table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a066f2a60b8c844a4677b7bf4b17e7050}{d\_abase}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00400}00400                         sbuf\_printf(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \textcolor{stringliteral}{"{}\%s<backupbase>\%ju</backupbase>\(\backslash\)n"{}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00401}00401                             \mbox{\hyperlink{g__part__if_8m_a9a0d9ba518bc8db9a623d0a6ab81f81c}{indent}}, (uintmax\_t)table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a066f2a60b8c844a4677b7bf4b17e7050}{d\_abase}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00402}00402                 sbuf\_printf(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \textcolor{stringliteral}{"{}\%s<stor\_uuid>"{}}, \mbox{\hyperlink{g__part__if_8m_a9a0d9ba518bc8db9a623d0a6ab81f81c}{indent}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00403}00403                 sbuf\_printf\_uuid(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \&table-\/>\mbox{\hyperlink{structg__part__bsd64__table_afbb233ac579d670e858ed08aa20fee79}{d\_stor\_uuid}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00404}00404                 sbuf\_cat(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \textcolor{stringliteral}{"{}</stor\_uuid>\(\backslash\)n"{}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00405}00405                 sbuf\_printf(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \textcolor{stringliteral}{"{}\%s<label>"{}}, \mbox{\hyperlink{g__part__if_8m_a9a0d9ba518bc8db9a623d0a6ab81f81c}{indent}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00406}00406                 strncpy(\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}}, table-\/>\mbox{\hyperlink{structg__part__bsd64__table_ae6bf343b773b042a7f4d2159cfb6c20e}{d\_packname}}, \textcolor{keyword}{sizeof}(\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}}) -\/ 1);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00407}00407                 \mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}}[\textcolor{keyword}{sizeof}(\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}}) -\/ 1] = \textcolor{charliteral}{'\(\backslash\)0'};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00408}00408                 \mbox{\hyperlink{geom__dump_8c_a087aac75cef29cc10f95a4f72b9001f1}{g\_conf\_cat\_escaped}}(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00409}00409                 sbuf\_cat(\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, \textcolor{stringliteral}{"{}</label>\(\backslash\)n"{}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00410}00410         \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00411}00411 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00412}00412 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00413}00413 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00414}\mbox{\hyperlink{g__part__bsd64_8c_a1a8352633c720e8aae93fb8be560d3b0}{00414}} \mbox{\hyperlink{g__part__bsd64_8c_a1a8352633c720e8aae93fb8be560d3b0}{g\_part\_bsd64\_dumpto}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *table, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *baseentry)}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00415}00415 \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00416}00416         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00417}00417 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00418}00418         \textcolor{comment}{/* Allow dumping to a swap partition. */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00419}00419         \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}} = (\textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *)baseentry;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00420}00420         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>fstype == FS\_SWAP ||}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00421}00421             \mbox{\hyperlink{g__part__bsd64_8c_a6721040e74228e79253f2ed183cfbaf1}{EQUUID}}(\&\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid, \&\mbox{\hyperlink{g__part__bsd64_8c_af0428ba43bdac41e37ee33b661c60607}{bsd64\_uuid\_dfbsd\_swap}}) ||}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00422}00422             \mbox{\hyperlink{g__part__bsd64_8c_a6721040e74228e79253f2ed183cfbaf1}{EQUUID}}(\&\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid, \&\mbox{\hyperlink{g__part__bsd64_8c_a4bc394b4d9dbd5148afe3017913d4d48}{bsd64\_uuid\_freebsd\_swap}}))}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00423}00423                 \textcolor{keywordflow}{return} (1);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00424}00424         \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00425}00425 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00426}00426 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00427}00427 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00428}\mbox{\hyperlink{g__part__bsd64_8c_ad399c408242840a73a4836d9be5b5725}{00428}} \mbox{\hyperlink{g__part__bsd64_8c_ad399c408242840a73a4836d9be5b5725}{g\_part\_bsd64\_modify}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *basetable,}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00429}00429     \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *baseentry, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__parms}{g\_part\_parms}} *\mbox{\hyperlink{g__part__if_8m_ad13d1d1e03609f599a8c4ea0a6801bf0}{gpp}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00430}00430 \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00431}00431         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00432}00432 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00433}00433         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__if_8m_ad13d1d1e03609f599a8c4ea0a6801bf0}{gpp}}-\/>\mbox{\hyperlink{structg__part__parms_aac8d6125fbcedb1791170d0cc791648a}{gpp\_parms}} \& \mbox{\hyperlink{g__part_8h_ac1f9e00d1a0a9fc01363d4d49541f42d}{G\_PART\_PARM\_LABEL}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00434}00434                 \textcolor{keywordflow}{return} (EINVAL);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00435}00435 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00436}00436         \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}} = (\textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *)baseentry;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00437}00437         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__if_8m_ad13d1d1e03609f599a8c4ea0a6801bf0}{gpp}}-\/>\mbox{\hyperlink{structg__part__parms_aac8d6125fbcedb1791170d0cc791648a}{gpp\_parms}} \& \mbox{\hyperlink{g__part_8h_a2036d1a76dc411e4de5052cdb8c9a138}{G\_PART\_PARM\_TYPE}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00438}00438                 \textcolor{keywordflow}{return} (\mbox{\hyperlink{g__part__bsd64_8c_a0c064962a760803ee01dfb0bfa00ce44}{bsd64\_parse\_type}}(\mbox{\hyperlink{g__part__if_8m_ad13d1d1e03609f599a8c4ea0a6801bf0}{gpp}}-\/>\mbox{\hyperlink{structg__part__parms_a01eada6a88b8471f77555e6805d2644a}{gpp\_type}}, \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}));}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00439}00439         \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00440}00440 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00441}00441 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00442}00442 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00443}\mbox{\hyperlink{g__part__bsd64_8c_a4f2d4ea64e66b3c180a23d68d454b2bc}{00443}} \mbox{\hyperlink{g__part__bsd64_8c_a4f2d4ea64e66b3c180a23d68d454b2bc}{g\_part\_bsd64\_resize}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *basetable,}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00444}00444     \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *baseentry, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__parms}{g\_part\_parms}} *\mbox{\hyperlink{g__part__if_8m_ad13d1d1e03609f599a8c4ea0a6801bf0}{gpp}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00445}00445 \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00446}00446         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__table}{g\_part\_bsd64\_table}} *table;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00447}00447         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__provider}{g\_provider}} *\mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00448}00448 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00449}00449         \textcolor{keywordflow}{if} (baseentry == NULL) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00450}00450                 \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}} = LIST\_FIRST(\&basetable-\/>\mbox{\hyperlink{structg__part__table_a0dad02eb728a87c70f5100f6c5a704d1}{gpt\_gp}}-\/>consumer)-\/>provider;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00451}00451                 table = (\textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__table}{g\_part\_bsd64\_table}} *)basetable;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00452}00452                 table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a066f2a60b8c844a4677b7bf4b17e7050}{d\_abase}} =}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00453}00453                     rounddown2(\mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_a8f47c464c78aa91fa4ca5143ed3cd15e}{mediasize}} -\/ table-\/>\mbox{\hyperlink{structg__part__bsd64__table_ac69aed05a760378c464ff52388009abe}{d\_bbase}} * \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00454}00454                         table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a4a1e723fba47df3583dbc8058e536417}{d\_align}}) / \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00455}00455                 basetable-\/>\mbox{\hyperlink{structg__part__table_aed05f4ae3f70841485bb573fbb21e458}{gpt\_last}} = table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a066f2a60b8c844a4677b7bf4b17e7050}{d\_abase}} -\/ 1;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00456}00456                 \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00457}00457         \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00458}00458         baseentry-\/>\mbox{\hyperlink{structg__part__entry_ab7641d98c0e79484e0652c795f1123ab}{gpe\_end}} = baseentry-\/>\mbox{\hyperlink{structg__part__entry_a65789808f851b8e6a71d10511fdcd986}{gpe\_start}} + \mbox{\hyperlink{g__part__if_8m_ad13d1d1e03609f599a8c4ea0a6801bf0}{gpp}}-\/>\mbox{\hyperlink{structg__part__parms_a73f7831f174a1aa7c6c6b291b37b565d}{gpp\_size}} -\/ 1;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00459}00459         \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00460}00460 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00461}00461 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00462}00462 \textcolor{keyword}{static} \textcolor{keyword}{const} \textcolor{keywordtype}{char} *}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00463}\mbox{\hyperlink{g__part__bsd64_8c_af9eec052f331cb3b2976154fe8217f14}{00463}} \mbox{\hyperlink{g__part__bsd64_8c_af9eec052f331cb3b2976154fe8217f14}{g\_part\_bsd64\_name}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *table, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *baseentry,}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00464}00464     \textcolor{keywordtype}{char} *\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}}, \textcolor{keywordtype}{size\_t} \mbox{\hyperlink{g__part__if_8m_a2a0790e716bccb2471387f8758962a1b}{bufsz}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00465}00465 \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00466}00466 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00467}00467         snprintf(\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}}, \mbox{\hyperlink{g__part__if_8m_a2a0790e716bccb2471387f8758962a1b}{bufsz}}, \textcolor{stringliteral}{"{}\%c"{}}, \textcolor{charliteral}{'a'} + baseentry-\/>\mbox{\hyperlink{structg__part__entry_a908a1a135d9ed557c57c79d5fd866a02}{gpe\_index}} -\/ 1);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00468}00468         \textcolor{keywordflow}{return} (\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00469}00469 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00470}00470 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00471}00471 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00472}\mbox{\hyperlink{g__part__bsd64_8c_a8b02b55b9ea699e058f046cf5067f0ee}{00472}} \mbox{\hyperlink{g__part__bsd64_8c_a8b02b55b9ea699e058f046cf5067f0ee}{g\_part\_bsd64\_probe}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *table, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__consumer}{g\_consumer}} *\mbox{\hyperlink{g__part__if_8m_a294f18324585ff37641fb8aa1c9ccd82}{cp}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00473}00473 \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00474}00474         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__provider}{g\_provider}} *\mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00475}00475         uint32\_t v;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00476}00476         \textcolor{keywordtype}{int} \mbox{\hyperlink{structg__provider_acacf1ee18cb6edbcfedc185846696e7f}{error}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00477}00477         u\_char *\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00478}00478 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00479}00479         \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}} = \mbox{\hyperlink{g__part__if_8m_a294f18324585ff37641fb8aa1c9ccd82}{cp}}-\/>\mbox{\hyperlink{structg__consumer_a6435d5aec0376e995dce3131fd3beb52}{provider}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00480}00480         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_a8f47c464c78aa91fa4ca5143ed3cd15e}{mediasize}} < 2 * \mbox{\hyperlink{g__part__bsd64_8c_a101a3345a6bdcbf21a23abda8e7c60d1}{PALIGN\_SIZE}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00481}00481                 \textcolor{keywordflow}{return} (ENOSPC);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00482}00482         v = rounddown2(\mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}} + offsetof(\textcolor{keyword}{struct} \mbox{\hyperlink{structdisklabel64}{disklabel64}}, d\_magic),}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00483}00483                        \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00484}00484         \mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}} = \mbox{\hyperlink{geom_8h_a550c2071f79908eea3d1ccbf821c4e4f}{g\_read\_data}}(\mbox{\hyperlink{g__part__if_8m_a294f18324585ff37641fb8aa1c9ccd82}{cp}}, 0, v, \&\mbox{\hyperlink{structg__provider_acacf1ee18cb6edbcfedc185846696e7f}{error}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00485}00485         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}} == NULL)}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00486}00486                 \textcolor{keywordflow}{return} (\mbox{\hyperlink{structg__provider_acacf1ee18cb6edbcfedc185846696e7f}{error}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00487}00487         v = le32dec(\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}} + offsetof(\textcolor{keyword}{struct} \mbox{\hyperlink{structdisklabel64}{disklabel64}}, d\_magic));}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00488}00488         \mbox{\hyperlink{geom_8h_ad9924deb20de7b40cb6cf06e5ae28855}{g\_free}}(\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00489}00489         \textcolor{keywordflow}{return} (v == \mbox{\hyperlink{g__part__bsd64_8c_ab04f251f0b4267d0c6ce41ce822e9e23}{DISKMAGIC64}} ? \mbox{\hyperlink{g__part_8h_aea3c4c826b0fc6a7cca61f75fce79a86}{G\_PART\_PROBE\_PRI\_HIGH}}: ENXIO);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00490}00490 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00491}00491 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00492}00492 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00493}\mbox{\hyperlink{g__part__bsd64_8c_ab7274c59dd153687f5fe68f110f80e3f}{00493}} \mbox{\hyperlink{g__part__bsd64_8c_ab7274c59dd153687f5fe68f110f80e3f}{g\_part\_bsd64\_read}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *basetable, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__consumer}{g\_consumer}} *\mbox{\hyperlink{g__part__if_8m_a294f18324585ff37641fb8aa1c9ccd82}{cp}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00494}00494 \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00495}00495         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__table}{g\_part\_bsd64\_table}} *table;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00496}00496         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00497}00497         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *baseentry;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00498}00498         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__provider}{g\_provider}} *\mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00499}00499         \textcolor{keyword}{struct }\mbox{\hyperlink{structdisklabel64}{disklabel64}} *dlp;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00500}00500         uint64\_t v64, sz;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00501}00501         uint32\_t v32;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00502}00502         \textcolor{keywordtype}{int} error, index;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00503}00503         u\_char *\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00504}00504 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00505}00505         \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}} = \mbox{\hyperlink{g__part__if_8m_a294f18324585ff37641fb8aa1c9ccd82}{cp}}-\/>\mbox{\hyperlink{structg__consumer_a6435d5aec0376e995dce3131fd3beb52}{provider}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00506}00506         table = (\textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__table}{g\_part\_bsd64\_table}} *)basetable;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00507}00507         v32 = roundup2(\textcolor{keyword}{sizeof}(\textcolor{keyword}{struct} \mbox{\hyperlink{structdisklabel64}{disklabel64}}), \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00508}00508         \mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}} = \mbox{\hyperlink{geom_8h_a550c2071f79908eea3d1ccbf821c4e4f}{g\_read\_data}}(\mbox{\hyperlink{g__part__if_8m_a294f18324585ff37641fb8aa1c9ccd82}{cp}}, 0, v32, \&error);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00509}00509         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}} == NULL)}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00510}00510                 \textcolor{keywordflow}{return} (error);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00511}00511 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00512}00512         dlp = (\textcolor{keyword}{struct }\mbox{\hyperlink{structdisklabel64}{disklabel64}} *)\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00513}00513         basetable-\/>\mbox{\hyperlink{structg__part__table_a593162aef033d63adcfe51eabd071f7b}{gpt\_entries}} = le32toh(dlp-\/>\mbox{\hyperlink{structdisklabel64_abb92a2fa9862317eea9a3e7524330d2e}{d\_npartitions}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00514}00514         \textcolor{keywordflow}{if} (basetable-\/>\mbox{\hyperlink{structg__part__table_a593162aef033d63adcfe51eabd071f7b}{gpt\_entries}} > \mbox{\hyperlink{g__part__bsd64_8c_a8461461cafc6e230449093726ec1fad6}{MAXPARTITIONS64}} ||}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00515}00515             basetable-\/>\mbox{\hyperlink{structg__part__table_a593162aef033d63adcfe51eabd071f7b}{gpt\_entries}} < 1)}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00516}00516                 \textcolor{keywordflow}{goto} invalid\_label;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00517}00517         v32 = le32toh(dlp-\/>\mbox{\hyperlink{structdisklabel64_a74374c9b8a78b3b434c76b4a60088e33}{d\_crc}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00518}00518         dlp-\/>\mbox{\hyperlink{structdisklabel64_a74374c9b8a78b3b434c76b4a60088e33}{d\_crc}} = 0;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00519}00519         \textcolor{keywordflow}{if} (crc32(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_ab6f886d02c9b01c6c5fe674a7dd7eac1}{d\_magic}}, offsetof(\textcolor{keyword}{struct} \mbox{\hyperlink{structdisklabel64}{disklabel64}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00520}00520             \mbox{\hyperlink{structdisklabel64_a0a13a1ea22d2eb46671bb46a2ad80078}{d\_partitions}}[basetable-\/>\mbox{\hyperlink{structg__part__table_a593162aef033d63adcfe51eabd071f7b}{gpt\_entries}}]) -\/}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00521}00521             offsetof(\textcolor{keyword}{struct} \mbox{\hyperlink{structdisklabel64}{disklabel64}}, \mbox{\hyperlink{structdisklabel64_ab6f886d02c9b01c6c5fe674a7dd7eac1}{d\_magic}})) != v32)}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00522}00522                 \textcolor{keywordflow}{goto} invalid\_label;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00523}00523         table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a4a1e723fba47df3583dbc8058e536417}{d\_align}} = le32toh(dlp-\/>\mbox{\hyperlink{structdisklabel64_ad0a646a225a5d0de93b984203e12610c}{d\_align}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00524}00524         \textcolor{keywordflow}{if} (table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a4a1e723fba47df3583dbc8058e536417}{d\_align}} == 0 || (table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a4a1e723fba47df3583dbc8058e536417}{d\_align}} \& (\mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}} -\/ 1)))}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00525}00525                 \textcolor{keywordflow}{goto} invalid\_label;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00526}00526         \textcolor{keywordflow}{if} (le64toh(dlp-\/>\mbox{\hyperlink{structdisklabel64_a19e65292af5af12ef04123caa10ac13c}{d\_total\_size}}) > \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_a8f47c464c78aa91fa4ca5143ed3cd15e}{mediasize}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00527}00527                 \textcolor{keywordflow}{goto} invalid\_label;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00528}00528         v64 = le64toh(dlp-\/>\mbox{\hyperlink{structdisklabel64_a797949f5306956c3d0a4ec3cfac9bfc0}{d\_pbase}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00529}00529         \textcolor{keywordflow}{if} (v64 \% \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00530}00530                 \textcolor{keywordflow}{goto} invalid\_label;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00531}00531         basetable-\/>\mbox{\hyperlink{structg__part__table_a20e1ef23449d8669abc2d1737bd04eb7}{gpt\_first}} = v64 / \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00532}00532         v64 = le64toh(dlp-\/>\mbox{\hyperlink{structdisklabel64_abca23b48f21fdbdd3204826dbe9f451a}{d\_pstop}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00533}00533         \textcolor{keywordflow}{if} (v64 \% \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00534}00534                 \textcolor{keywordflow}{goto} invalid\_label;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00535}00535         basetable-\/>\mbox{\hyperlink{structg__part__table_aed05f4ae3f70841485bb573fbb21e458}{gpt\_last}} = v64 / \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00536}00536         basetable-\/>\mbox{\hyperlink{structg__part__table_a9a2e36211034cfeba117148818235994}{gpt\_isleaf}} = 1;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00537}00537         v64 = le64toh(dlp-\/>\mbox{\hyperlink{structdisklabel64_a3075f3cb3299497a48cdde91a953927b}{d\_bbase}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00538}00538         \textcolor{keywordflow}{if} (v64 \% \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00539}00539                 \textcolor{keywordflow}{goto} invalid\_label;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00540}00540         table-\/>\mbox{\hyperlink{structg__part__bsd64__table_ac69aed05a760378c464ff52388009abe}{d\_bbase}} = v64 / \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00541}00541         v64 = le64toh(dlp-\/>\mbox{\hyperlink{structdisklabel64_ab5a02ff5dd4852f9a44d1455ecd91d5c}{d\_abase}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00542}00542         \textcolor{keywordflow}{if} (v64 \% \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00543}00543                 \textcolor{keywordflow}{goto} invalid\_label;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00544}00544         table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a066f2a60b8c844a4677b7bf4b17e7050}{d\_abase}} = v64 / \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00545}00545         le\_uuid\_dec(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_a26979d8ab8252c6e2b2ca3806e3a635a}{d\_stor\_uuid}}, \&table-\/>\mbox{\hyperlink{structg__part__bsd64__table_afbb233ac579d670e858ed08aa20fee79}{d\_stor\_uuid}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00546}00546         \textcolor{keywordflow}{for} (index = basetable-\/>\mbox{\hyperlink{structg__part__table_a593162aef033d63adcfe51eabd071f7b}{gpt\_entries}} -\/ 1; index >= 0; index-\/-\/) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00547}00547                 \textcolor{keywordflow}{if} (index == RAW\_PART) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00548}00548                         \textcolor{comment}{/* Skip 'c' partition. */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00549}00549                         baseentry = \mbox{\hyperlink{g__part_8c_a010bc380adf72e4e075c5339c3b10f4e}{g\_part\_new\_entry}}(basetable,}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00550}00550                             index + 1, 0, 0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00551}00551                         baseentry-\/>\mbox{\hyperlink{structg__part__entry_a86b17c79d155694f025280d9623e6fbb}{gpe\_internal}} = 1;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00552}00552                         \textcolor{keywordflow}{continue};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00553}00553                 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00554}00554                 v64 = le64toh(dlp-\/>\mbox{\hyperlink{structdisklabel64_a0a13a1ea22d2eb46671bb46a2ad80078}{d\_partitions}}[index].\mbox{\hyperlink{structdisklabel64_1_1partition64_ae2b3a9e15eb01004cee9d60fe3ce7cbe}{p\_boffset}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00555}00555                 sz = le64toh(dlp-\/>\mbox{\hyperlink{structdisklabel64_a0a13a1ea22d2eb46671bb46a2ad80078}{d\_partitions}}[index].\mbox{\hyperlink{structdisklabel64_1_1partition64_aef27fcb25a089481be1ee0dfa33b6b66}{p\_bsize}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00556}00556                 \textcolor{keywordflow}{if} (sz == 0 \&\& v64 == 0)}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00557}00557                         \textcolor{keywordflow}{continue};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00558}00558                 \textcolor{keywordflow}{if} (sz == 0 || (v64 \% \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}}) || (sz \% \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}}))}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00559}00559                         \textcolor{keywordflow}{goto} invalid\_label;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00560}00560                 baseentry = \mbox{\hyperlink{g__part_8c_a010bc380adf72e4e075c5339c3b10f4e}{g\_part\_new\_entry}}(basetable, index + 1,}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00561}00561                     v64 / \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}}, (v64 + sz) / \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}} -\/ 1);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00562}00562                 \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}} = (\textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *)baseentry;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00563}00563                 le\_uuid\_dec(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_a0a13a1ea22d2eb46671bb46a2ad80078}{d\_partitions}}[index].\mbox{\hyperlink{structdisklabel64_1_1partition64_acaf13dff305758aa1122ff5e0e60162c}{p\_type\_uuid}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00564}00564                     \&\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00565}00565                 le\_uuid\_dec(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_a0a13a1ea22d2eb46671bb46a2ad80078}{d\_partitions}}[index].\mbox{\hyperlink{structdisklabel64_1_1partition64_a3f33e549e8570f4f2276a6fdc578648a}{p\_stor\_uuid}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00566}00566                     \&\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>stor\_uuid);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00567}00567                 \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>fstype = dlp-\/>\mbox{\hyperlink{structdisklabel64_a0a13a1ea22d2eb46671bb46a2ad80078}{d\_partitions}}[index].\mbox{\hyperlink{structdisklabel64_1_1partition64_a4c97b1440392277956182b41a2bb5d13}{p\_fstype}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00568}00568         \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00569}00569         bcopy(dlp-\/>\mbox{\hyperlink{structdisklabel64_a1092d809f5c9c32e7cd1215d51cff2bf}{d\_reserved0}}, table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a488b71f977bd57297a681f25443433ca}{d\_reserved0}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00570}00570             \textcolor{keyword}{sizeof}(table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a488b71f977bd57297a681f25443433ca}{d\_reserved0}}));}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00571}00571         bcopy(dlp-\/>\mbox{\hyperlink{structdisklabel64_ac4f5a18adafa753cad73e7c076d9a7e5}{d\_packname}}, table-\/>\mbox{\hyperlink{structg__part__bsd64__table_ae6bf343b773b042a7f4d2159cfb6c20e}{d\_packname}}, \textcolor{keyword}{sizeof}(table-\/>\mbox{\hyperlink{structg__part__bsd64__table_ae6bf343b773b042a7f4d2159cfb6c20e}{d\_packname}}));}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00572}00572         bcopy(dlp-\/>\mbox{\hyperlink{structdisklabel64_ab7de3c7d5f1af2fe2f1f35f44ecbab4a}{d\_reserved}}, table-\/>\mbox{\hyperlink{structg__part__bsd64__table_afcbb06142108ab60617e36939969c284}{d\_reserved}}, \textcolor{keyword}{sizeof}(table-\/>\mbox{\hyperlink{structg__part__bsd64__table_afcbb06142108ab60617e36939969c284}{d\_reserved}}));}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00573}00573         \mbox{\hyperlink{geom_8h_ad9924deb20de7b40cb6cf06e5ae28855}{g\_free}}(\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00574}00574         \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00575}00575 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00576}00576 invalid\_label:}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00577}00577         \mbox{\hyperlink{geom_8h_ad9924deb20de7b40cb6cf06e5ae28855}{g\_free}}(\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00578}00578         \textcolor{keywordflow}{return} (EINVAL);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00579}00579 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00580}00580 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00581}00581 \textcolor{keyword}{static} \textcolor{keyword}{const} \textcolor{keywordtype}{char} *}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00582}\mbox{\hyperlink{g__part__bsd64_8c_a89246dd9492d475ad591751253158c60}{00582}} \mbox{\hyperlink{g__part__bsd64_8c_a89246dd9492d475ad591751253158c60}{g\_part\_bsd64\_type}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *basetable, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *baseentry,}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00583}00583     \textcolor{keywordtype}{char} *\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}}, \textcolor{keywordtype}{size\_t} \mbox{\hyperlink{g__part__if_8m_a2a0790e716bccb2471387f8758962a1b}{bufsz}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00584}00584 \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00585}00585         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00586}00586         \textcolor{keyword}{struct }\mbox{\hyperlink{structbsd64__uuid__alias}{bsd64\_uuid\_alias}} *uap;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00587}00587 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00588}00588         \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}} = (\textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *)baseentry;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00589}00589         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>fstype != FS\_OTHER) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00590}00590                 \textcolor{keywordflow}{for} (uap = \&\mbox{\hyperlink{g__part__bsd64_8c_abebef4fd7fd3a0854e00fb7e4f1f171b}{dfbsd\_alias\_match}}[0]; uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_ad985f66db27d7f15c0734350fd45a9b1}{uuid}} != NULL; uap++)}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00591}00591                         \textcolor{keywordflow}{if} (uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_ade0fe53ce978bcf915bd193b7b050cca}{fstype}} == \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>fstype)}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00592}00592                                 \textcolor{keywordflow}{return} (\mbox{\hyperlink{g__part_8c_a458397c9a8faf94592039e34134837dc}{g\_part\_alias\_name}}(uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_a81c00b93072751a670b8d244e6da3967}{alias}}));}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00593}00593         \} \textcolor{keywordflow}{else} \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00594}00594                 \textcolor{keywordflow}{for} (uap = \&\mbox{\hyperlink{g__part__bsd64_8c_acdea00eb4b401636b1bfb9cbed3edc0e}{fbsd\_alias\_match}}[0]; uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_ad985f66db27d7f15c0734350fd45a9b1}{uuid}} != NULL; uap++)}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00595}00595                         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__bsd64_8c_a6721040e74228e79253f2ed183cfbaf1}{EQUUID}}(uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_ad985f66db27d7f15c0734350fd45a9b1}{uuid}}, \&\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid))}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00596}00596                                 \textcolor{keywordflow}{return} (\mbox{\hyperlink{g__part_8c_a458397c9a8faf94592039e34134837dc}{g\_part\_alias\_name}}(uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_a81c00b93072751a670b8d244e6da3967}{alias}}));}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00597}00597                 \textcolor{keywordflow}{for} (uap = \&\mbox{\hyperlink{g__part__bsd64_8c_abebef4fd7fd3a0854e00fb7e4f1f171b}{dfbsd\_alias\_match}}[0]; uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_ad985f66db27d7f15c0734350fd45a9b1}{uuid}} != NULL; uap++)}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00598}00598                         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__bsd64_8c_a6721040e74228e79253f2ed183cfbaf1}{EQUUID}}(uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_ad985f66db27d7f15c0734350fd45a9b1}{uuid}}, \&\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid))}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00599}00599                                 \textcolor{keywordflow}{return} (\mbox{\hyperlink{g__part_8c_a458397c9a8faf94592039e34134837dc}{g\_part\_alias\_name}}(uap-\/>\mbox{\hyperlink{structbsd64__uuid__alias_a81c00b93072751a670b8d244e6da3967}{alias}}));}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00600}00600         \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00601}00601         \textcolor{keywordflow}{if} (\mbox{\hyperlink{g__part__bsd64_8c_a6721040e74228e79253f2ed183cfbaf1}{EQUUID}}(\&\mbox{\hyperlink{g__part__bsd64_8c_a876da3652c5a47971fa8c91b100becc9}{bsd64\_uuid\_unused}}, \&\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid))}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00602}00602                 snprintf(\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}}, \mbox{\hyperlink{g__part__if_8m_a2a0790e716bccb2471387f8758962a1b}{bufsz}}, \textcolor{stringliteral}{"{}!\%d"{}}, \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>fstype);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00603}00603         \textcolor{keywordflow}{else} \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00604}00604                 \mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}}[0] = \textcolor{charliteral}{'!'};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00605}00605                 snprintf\_uuid(\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}} + 1, \mbox{\hyperlink{g__part__if_8m_a2a0790e716bccb2471387f8758962a1b}{bufsz}} -\/ 1, \&\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00606}00606         \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00607}00607         \textcolor{keywordflow}{return} (\mbox{\hyperlink{g__part__if_8m_ac14417684334d01b4e1e807a19d92816}{buf}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00608}00608 \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00609}00609 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00610}00610 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00611}\mbox{\hyperlink{g__part__bsd64_8c_ae687441b0fbdcce634148e8d7076b6ab}{00611}} \mbox{\hyperlink{g__part__bsd64_8c_ae687441b0fbdcce634148e8d7076b6ab}{g\_part\_bsd64\_write}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structg__part__table}{g\_part\_table}} *basetable, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__consumer}{g\_consumer}} *\mbox{\hyperlink{g__part__if_8m_a294f18324585ff37641fb8aa1c9ccd82}{cp}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00612}00612 \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00613}00613         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__provider}{g\_provider}} *\mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00614}00614         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__entry}{g\_part\_entry}} *baseentry;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00615}00615         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00616}00616         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__table}{g\_part\_bsd64\_table}} *table;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00617}00617         \textcolor{keyword}{struct }\mbox{\hyperlink{structdisklabel64}{disklabel64}} *dlp;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00618}00618         uint32\_t v, sz;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00619}00619         \textcolor{keywordtype}{int} error, index;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00620}00620 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00621}00621         \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}} = \mbox{\hyperlink{g__part__if_8m_a294f18324585ff37641fb8aa1c9ccd82}{cp}}-\/>\mbox{\hyperlink{structg__consumer_a6435d5aec0376e995dce3131fd3beb52}{provider}};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00622}00622         table = (\textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__table}{g\_part\_bsd64\_table}} *)basetable;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00623}00623         sz = roundup2(\textcolor{keyword}{sizeof}(\textcolor{keyword}{struct} \mbox{\hyperlink{structdisklabel64}{disklabel64}}), \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00624}00624         dlp = \mbox{\hyperlink{geom_8h_a0f190247baa73dc863a79fea9d5f6b4f}{g\_malloc}}(sz, M\_WAITOK | M\_ZERO);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00625}00625 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00626}00626         memcpy(dlp-\/>\mbox{\hyperlink{structdisklabel64_a1092d809f5c9c32e7cd1215d51cff2bf}{d\_reserved0}}, table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a488b71f977bd57297a681f25443433ca}{d\_reserved0}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00627}00627             \textcolor{keyword}{sizeof}(table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a488b71f977bd57297a681f25443433ca}{d\_reserved0}}));}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00628}00628         memcpy(dlp-\/>\mbox{\hyperlink{structdisklabel64_ac4f5a18adafa753cad73e7c076d9a7e5}{d\_packname}}, table-\/>\mbox{\hyperlink{structg__part__bsd64__table_ae6bf343b773b042a7f4d2159cfb6c20e}{d\_packname}}, \textcolor{keyword}{sizeof}(table-\/>\mbox{\hyperlink{structg__part__bsd64__table_ae6bf343b773b042a7f4d2159cfb6c20e}{d\_packname}}));}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00629}00629         memcpy(dlp-\/>\mbox{\hyperlink{structdisklabel64_ab7de3c7d5f1af2fe2f1f35f44ecbab4a}{d\_reserved}}, table-\/>\mbox{\hyperlink{structg__part__bsd64__table_afcbb06142108ab60617e36939969c284}{d\_reserved}}, \textcolor{keyword}{sizeof}(table-\/>\mbox{\hyperlink{structg__part__bsd64__table_afcbb06142108ab60617e36939969c284}{d\_reserved}}));}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00630}00630         le32enc(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_ab6f886d02c9b01c6c5fe674a7dd7eac1}{d\_magic}}, \mbox{\hyperlink{g__part__bsd64_8c_ab04f251f0b4267d0c6ce41ce822e9e23}{DISKMAGIC64}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00631}00631         le32enc(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_ad0a646a225a5d0de93b984203e12610c}{d\_align}}, table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a4a1e723fba47df3583dbc8058e536417}{d\_align}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00632}00632         le32enc(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_abb92a2fa9862317eea9a3e7524330d2e}{d\_npartitions}}, basetable-\/>\mbox{\hyperlink{structg__part__table_a593162aef033d63adcfe51eabd071f7b}{gpt\_entries}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00633}00633         le\_uuid\_enc(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_a26979d8ab8252c6e2b2ca3806e3a635a}{d\_stor\_uuid}}, \&table-\/>\mbox{\hyperlink{structg__part__bsd64__table_afbb233ac579d670e858ed08aa20fee79}{d\_stor\_uuid}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00634}00634         le64enc(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_a19e65292af5af12ef04123caa10ac13c}{d\_total\_size}}, \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_a8f47c464c78aa91fa4ca5143ed3cd15e}{mediasize}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00635}00635         le64enc(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_a3075f3cb3299497a48cdde91a953927b}{d\_bbase}}, table-\/>\mbox{\hyperlink{structg__part__bsd64__table_ac69aed05a760378c464ff52388009abe}{d\_bbase}} * \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00636}00636         le64enc(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_a797949f5306956c3d0a4ec3cfac9bfc0}{d\_pbase}}, basetable-\/>\mbox{\hyperlink{structg__part__table_a20e1ef23449d8669abc2d1737bd04eb7}{gpt\_first}} * \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00637}00637         le64enc(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_abca23b48f21fdbdd3204826dbe9f451a}{d\_pstop}}, basetable-\/>\mbox{\hyperlink{structg__part__table_aed05f4ae3f70841485bb573fbb21e458}{gpt\_last}} * \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00638}00638         le64enc(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_ab5a02ff5dd4852f9a44d1455ecd91d5c}{d\_abase}}, table-\/>\mbox{\hyperlink{structg__part__bsd64__table_a066f2a60b8c844a4677b7bf4b17e7050}{d\_abase}} * \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00639}00639 }
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00640}00640         LIST\_FOREACH(baseentry, \&basetable-\/>gpt\_entry, gpe\_entry) \{}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00641}00641                 \textcolor{keywordflow}{if} (baseentry-\/>\mbox{\hyperlink{structg__part__entry_a4c7748c49b831d481c9fd5c26f2aaf0b}{gpe\_deleted}})}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00642}00642                         \textcolor{keywordflow}{continue};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00643}00643                 index = baseentry-\/>\mbox{\hyperlink{structg__part__entry_a908a1a135d9ed557c57c79d5fd866a02}{gpe\_index}} -\/ 1;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00644}00644                 \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}} = (\textcolor{keyword}{struct }\mbox{\hyperlink{structg__part__bsd64__entry}{g\_part\_bsd64\_entry}} *)baseentry;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00645}00645                 \textcolor{keywordflow}{if} (index == RAW\_PART)}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00646}00646                         \textcolor{keywordflow}{continue};}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00647}00647                 le64enc(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_a0a13a1ea22d2eb46671bb46a2ad80078}{d\_partitions}}[index].\mbox{\hyperlink{structdisklabel64_1_1partition64_ae2b3a9e15eb01004cee9d60fe3ce7cbe}{p\_boffset}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00648}00648                     baseentry-\/>\mbox{\hyperlink{structg__part__entry_a65789808f851b8e6a71d10511fdcd986}{gpe\_start}} * \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}});}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00649}00649                 le64enc(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_a0a13a1ea22d2eb46671bb46a2ad80078}{d\_partitions}}[index].\mbox{\hyperlink{structdisklabel64_1_1partition64_aef27fcb25a089481be1ee0dfa33b6b66}{p\_bsize}}, \mbox{\hyperlink{g__part__if_8m_a9bc7638f295763b77465c5ebebbd3442}{pp}}-\/>\mbox{\hyperlink{structg__provider_aea3cd43d41461790b8d0afcd8c49a355}{sectorsize}} *}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00650}00650                     (baseentry-\/>\mbox{\hyperlink{structg__part__entry_ab7641d98c0e79484e0652c795f1123ab}{gpe\_end}} -\/ baseentry-\/>\mbox{\hyperlink{structg__part__entry_a65789808f851b8e6a71d10511fdcd986}{gpe\_start}} + 1));}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00651}00651                 dlp-\/>\mbox{\hyperlink{structdisklabel64_a0a13a1ea22d2eb46671bb46a2ad80078}{d\_partitions}}[index].\mbox{\hyperlink{structdisklabel64_1_1partition64_a4c97b1440392277956182b41a2bb5d13}{p\_fstype}} = \mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>fstype;}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00652}00652                 le\_uuid\_enc(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_a0a13a1ea22d2eb46671bb46a2ad80078}{d\_partitions}}[index].\mbox{\hyperlink{structdisklabel64_1_1partition64_acaf13dff305758aa1122ff5e0e60162c}{p\_type\_uuid}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00653}00653                     \&\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>type\_uuid);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00654}00654                 le\_uuid\_enc(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_a0a13a1ea22d2eb46671bb46a2ad80078}{d\_partitions}}[index].\mbox{\hyperlink{structdisklabel64_1_1partition64_a3f33e549e8570f4f2276a6fdc578648a}{p\_stor\_uuid}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00655}00655                     \&\mbox{\hyperlink{g__part__if_8m_a2c2a1eba20a891e9a733abad308a3bbc}{entry}}-\/>stor\_uuid);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00656}00656         \}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00657}00657         \textcolor{comment}{/* Calculate checksum. */}}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00658}00658         v = offsetof(\textcolor{keyword}{struct} \mbox{\hyperlink{structdisklabel64}{disklabel64}},}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00659}00659             d\_partitions[basetable-\/>\mbox{\hyperlink{structg__part__table_a593162aef033d63adcfe51eabd071f7b}{gpt\_entries}}]) -\/}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00660}00660             offsetof(\textcolor{keyword}{struct} \mbox{\hyperlink{structdisklabel64}{disklabel64}}, d\_magic);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00661}00661         le32enc(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_a74374c9b8a78b3b434c76b4a60088e33}{d\_crc}}, crc32(\&dlp-\/>\mbox{\hyperlink{structdisklabel64_ab6f886d02c9b01c6c5fe674a7dd7eac1}{d\_magic}}, v));}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00662}00662         error = \mbox{\hyperlink{geom_8h_a9b87ecbd812c109546b077da483baada}{g\_write\_data}}(\mbox{\hyperlink{g__part__if_8m_a294f18324585ff37641fb8aa1c9ccd82}{cp}}, 0, dlp, sz);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00663}00663         \mbox{\hyperlink{geom_8h_ad9924deb20de7b40cb6cf06e5ae28855}{g\_free}}(dlp);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00664}00664         \textcolor{keywordflow}{return} (error);}
\DoxyCodeLine{\Hypertarget{g__part__bsd64_8c_source_l00665}00665 \}}

\end{DoxyCode}
