geom_bsd_enc.c (116196) | geom_bsd_enc.c (139778) |
---|---|
1/*- 2 * Copyright (c) 2002 Poul-Henning Kamp 3 * Copyright (c) 2002 Networks Associates Technology, Inc. 4 * All rights reserved. 5 * 6 * This software was developed for the FreeBSD Project by Poul-Henning Kamp 7 * and NAI Labs, the Security Research Division of Network Associates, Inc. 8 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the --- 17 unchanged lines hidden (view full) --- 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33 * SUCH DAMAGE. | 1/*- 2 * Copyright (c) 2002 Poul-Henning Kamp 3 * Copyright (c) 2002 Networks Associates Technology, Inc. 4 * All rights reserved. 5 * 6 * This software was developed for the FreeBSD Project by Poul-Henning Kamp 7 * and NAI Labs, the Security Research Division of Network Associates, Inc. 8 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the --- 17 unchanged lines hidden (view full) --- 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33 * SUCH DAMAGE. |
34 * | 34 */ 35 36/* |
35 * Functions to encode and decode struct disklabel and struct partition into 36 * a bytestream of little endianess and correct packing. 37 * 38 * NB! This file must be usable both in kernel and userland. 39 */ 40 41#include <sys/cdefs.h> | 37 * Functions to encode and decode struct disklabel and struct partition into 38 * a bytestream of little endianess and correct packing. 39 * 40 * NB! This file must be usable both in kernel and userland. 41 */ 42 43#include <sys/cdefs.h> |
42__FBSDID("$FreeBSD: head/sys/geom/geom_bsd_enc.c 116196 2003-06-11 06:49:16Z obrien $"); | 44__FBSDID("$FreeBSD: head/sys/geom/geom_bsd_enc.c 139778 2005-01-06 18:27:30Z imp $"); |
43 44#include <sys/types.h> 45#include <sys/endian.h> 46#include <sys/disklabel.h> 47#include <sys/errno.h> 48#ifdef _KERNEL 49#include <sys/systm.h> 50#else --- 144 unchanged lines hidden --- | 45 46#include <sys/types.h> 47#include <sys/endian.h> 48#include <sys/disklabel.h> 49#include <sys/errno.h> 50#ifdef _KERNEL 51#include <sys/systm.h> 52#else --- 144 unchanged lines hidden --- |