diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-08-29 16:12:36 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-29 16:12:36 -0400 |
commit | 2fca877b68b2b4fc5b94277858a1bedd46017cde (patch) | |
tree | fd02725406299ba2f26354463b3c261721e9eb6b /include/linux/zlib.h | |
parent | ff40c6d3d1437ecdf295b8e39adcb06c3d6021ef (diff) | |
parent | 02b3e4e2d71b6058ec11cc01c72ac651eb3ded2b (diff) | |
download | kernel-crypto-2fca877b68b2b4fc5b94277858a1bedd46017cde.tar.gz kernel-crypto-2fca877b68b2b4fc5b94277858a1bedd46017cde.tar.xz kernel-crypto-2fca877b68b2b4fc5b94277858a1bedd46017cde.zip |
/spare/repo/libata-dev branch 'v2.6.13'
Diffstat (limited to 'include/linux/zlib.h')
-rw-r--r-- | include/linux/zlib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/zlib.h b/include/linux/zlib.h index 850076ea14d..74f7b78c22d 100644 --- a/include/linux/zlib.h +++ b/include/linux/zlib.h @@ -506,6 +506,11 @@ extern int zlib_deflateReset (z_streamp strm); stream state was inconsistent (such as zalloc or state being NULL). */ +static inline unsigned long deflateBound(unsigned long s) +{ + return s + ((s + 7) >> 3) + ((s + 63) >> 6) + 11; +} + extern int zlib_deflateParams (z_streamp strm, int level, int strategy); /* Dynamically update the compression level and compression strategy. The |