g_uzip.c (8e7a844b) g_uzip.c (cb08c2cc)
1/*-
2 * Copyright (c) 2004 Max Khon
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

31#include <sys/bio.h>
32#include <sys/endian.h>
33#include <sys/errno.h>
34#include <sys/kernel.h>
35#include <sys/lock.h>
36#include <sys/mutex.h>
37#include <sys/malloc.h>
38#include <sys/systm.h>
1/*-
2 * Copyright (c) 2004 Max Khon
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

31#include <sys/bio.h>
32#include <sys/endian.h>
33#include <sys/errno.h>
34#include <sys/kernel.h>
35#include <sys/lock.h>
36#include <sys/mutex.h>
37#include <sys/malloc.h>
38#include <sys/systm.h>
39#include <sys/sysctl.h>
39
40#include <geom/geom.h>
41#include <net/zlib.h>
42
40
41#include <geom/geom.h>
42#include <net/zlib.h>
43
44FEATURE(geom_uzip, "GEOM uzip read-only compressed disks support");
45
43#undef GEOM_UZIP_DEBUG
44#ifdef GEOM_UZIP_DEBUG
45#define DPRINTF(a) printf a
46#else
47#define DPRINTF(a)
48#endif
49
50MALLOC_DEFINE(M_GEOM_UZIP, "geom_uzip", "GEOM UZIP data structures");

--- 486 unchanged lines hidden ---
46#undef GEOM_UZIP_DEBUG
47#ifdef GEOM_UZIP_DEBUG
48#define DPRINTF(a) printf a
49#else
50#define DPRINTF(a)
51#endif
52
53MALLOC_DEFINE(M_GEOM_UZIP, "geom_uzip", "GEOM UZIP data structures");

--- 486 unchanged lines hidden ---