vmbuf zlib functions