#include <linux/zutil.h> #include <linux/errno.h> #include <linux/slab.h> #include <linux/vmalloc.h> /* Utility function: initialize zlib, unpack binary blob, clean up zlib, * return len or negative error code. */ int zlib_inflate_blob(void *gunzip_buf, unsigned int sz, const void *buf, unsigned int len) { … }