g_uzip.c (268986) | g_uzip.c (281855) |
---|---|
1/*- 2 * Copyright (c) 2004 Max Khon 3 * Copyright (c) 2014 Juniper Networks, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2004 Max Khon 3 * Copyright (c) 2014 Juniper Networks, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/sys/geom/uzip/g_uzip.c 268986 2014-07-22 17:30:05Z marcel $"); | 29__FBSDID("$FreeBSD: head/sys/geom/uzip/g_uzip.c 281855 2015-04-22 14:38:58Z rodrigc $"); |
30 31#include <sys/param.h> 32#include <sys/bio.h> 33#include <sys/endian.h> 34#include <sys/errno.h> 35#include <sys/kernel.h> 36#include <sys/lock.h> 37#include <sys/mutex.h> 38#include <sys/malloc.h> 39#include <sys/sysctl.h> 40#include <sys/systm.h> | 30 31#include <sys/param.h> 32#include <sys/bio.h> 33#include <sys/endian.h> 34#include <sys/errno.h> 35#include <sys/kernel.h> 36#include <sys/lock.h> 37#include <sys/mutex.h> 38#include <sys/malloc.h> 39#include <sys/sysctl.h> 40#include <sys/systm.h> |
41#include <sys/zlib.h> |
|
41 42#include <geom/geom.h> | 42 43#include <geom/geom.h> |
43#include <net/zlib.h> | |
44 45FEATURE(geom_uzip, "GEOM uzip read-only compressed disks support"); 46 47#undef GEOM_UZIP_DEBUG 48#ifdef GEOM_UZIP_DEBUG 49#define DPRINTF(a) printf a 50#else 51#define DPRINTF(a) --- 529 unchanged lines hidden --- | 44 45FEATURE(geom_uzip, "GEOM uzip read-only compressed disks support"); 46 47#undef GEOM_UZIP_DEBUG 48#ifdef GEOM_UZIP_DEBUG 49#define DPRINTF(a) printf a 50#else 51#define DPRINTF(a) --- 529 unchanged lines hidden --- |