Home
last modified time | relevance | path

Searched refs:avail_in (Results 1 – 17 of 17) sorted by relevance

/linux-2.4.37.9/fs/isofs/
Dcompress.c212 stream.avail_in = min(bufsize-(cstart & bufmask), csize); in zisofs_readpage()
213 csize -= stream.avail_in; in zisofs_readpage()
237 if ( stream.avail_in == 0 && left_out ) { in zisofs_readpage()
254 stream.avail_in = min(csize,bufsize); in zisofs_readpage()
255 csize -= stream.avail_in; in zisofs_readpage()
258 ao = stream.avail_out; ai = stream.avail_in; in zisofs_readpage()
261 if ( zerr == Z_BUF_ERROR && stream.avail_in == 0 ) in zisofs_readpage()
271 stream.avail_in, stream.avail_out, in zisofs_readpage()
/linux-2.4.37.9/fs/jffs2/
Dcompr_zlib.c114 strm.avail_in = min((unsigned)(*sourcelen-strm.total_in), strm.avail_out); in zlib_compress()
116 strm.avail_in, strm.avail_out)); in zlib_compress()
119 strm.avail_in, strm.avail_out, strm.total_in, strm.total_out)); in zlib_compress()
128 strm.avail_in = 0; in zlib_compress()
163 strm.avail_in = srclen; in zlib_decompress()
/linux-2.4.37.9/crypto/
Ddeflate.c145 stream->avail_in = slen; in deflate_compress()
181 stream->avail_in = slen; in deflate_decompress()
191 if (ret == Z_OK && !stream->avail_in && stream->avail_out) { in deflate_decompress()
194 stream->avail_in = 1; in deflate_decompress()
/linux-2.4.37.9/fs/cramfs/
Duncompress.c32 stream.avail_in = srclen; in cramfs_uncompress_block()
64 stream.avail_in = 0; in cramfs_uncompress_init()
/linux-2.4.37.9/lib/zlib_inflate/
Dinflate.c113 #define NEEDBYTE {if(z->avail_in==0)goto empty;r=trv;}
114 #define NEXTBYTE (z->avail_in--,z->total_in++,*z->next_in++)
187 if (f == Z_PACKET_FLUSH && z->avail_in == 0 && z->avail_out != 0)
264 if ((n = z->avail_in) == 0)
285 z->avail_in = n;
Dinfutil.h71 #define UPDIN {z->avail_in=n;z->total_in+=p-z->next_in;z->next_in=p;}
76 #define LOADIN {p=z->next_in;n=z->avail_in;b=s->bitb;k=s->bitk;}
Dinffast.c21 #define UNGRAB {c=z->avail_in-n;c=(k>>3)<c?k>>3:c;n+=c;p-=c;k-=c<<3;}
/linux-2.4.37.9/drivers/net/
Dppp_deflate.c218 state->strm.avail_in = (isize - off);
419 state->strm.avail_in = isize - (PPP_HDRLEN + DEFLATE_OVHD);
506 state->strm.avail_in = icnt - 3;
509 ++state->strm.avail_in;
/linux-2.4.37.9/lib/zlib_deflate/
Ddeflate.c420 if ((strm->next_in == Z_NULL && strm->avail_in != 0) ||
470 } else if (strm->avail_in == 0 && flush <= old_flush &&
476 if (s->status == FINISH_STATE && strm->avail_in != 0) {
482 if (strm->avail_in != 0 || s->lookahead != 0 ||
631 unsigned len = strm->avail_in;
636 strm->avail_in -= len;
917 if (s->strm->avail_in == 0) return;
947 } while (s->lookahead < MIN_LOOKAHEAD && s->strm->avail_in != 0);
/linux-2.4.37.9/arch/ppc64/boot/
Dzlib.h168 uInt avail_in; /* number of bytes available at next_in */ member
Dzlib.c410 #define NEEDBYTE {if(z->avail_in==0)goto empty;r=Z_OK;}
411 #define NEXTBYTE (z->avail_in--,z->total_in++,*z->next_in++)
462 if (f == Z_PACKET_FLUSH && z->avail_in == 0 && z->avail_out != 0)
555 if ((n = z->avail_in) == 0)
575 z->avail_in = n;
654 #define UPDIN {z->avail_in=n;z->total_in+=p-z->next_in;z->next_in=p;}
659 #define LOADIN {p=z->next_in;n=z->avail_in;b=s->bitb;k=s->bitk;}
DzImage.c344 s.avail_in = *lenp - i; in gunzip()
/linux-2.4.37.9/arch/ppc/boot/include/
Dzlib.h166 uInt avail_in; /* number of bytes available at next_in */ member
/linux-2.4.37.9/arch/ppc/boot/common/
Dofcommon.c117 s.avail_in = *lenp - i; in gunzip()
Dmisc-common.c260 s.avail_in = *lenp - i; in gunzip()
/linux-2.4.37.9/include/linux/
Dzlib.h70 uInt avail_in; /* number of bytes available at next_in */ member
/linux-2.4.37.9/arch/ppc/boot/lib/
Dzlib.c387 #define NEEDBYTE {if(z->avail_in==0)goto empty;r=Z_OK;}
388 #define NEXTBYTE (z->avail_in--,z->total_in++,*z->next_in++)
439 if (f == Z_PACKET_FLUSH && z->avail_in == 0 && z->avail_out != 0)
532 if ((n = z->avail_in) == 0)
552 z->avail_in = n;
631 #define UPDIN {z->avail_in=n;z->total_in+=p-z->next_in;z->next_in=p;}
636 #define LOADIN {p=z->next_in;n=z->avail_in;b=s->bitb;k=s->bitk;}