Lines Matching refs:bytes
113 unsigned long bytes; in lzo_compress_pages() local
162 bytes = min_t(unsigned long, pg_bytes_left, out_len); in lzo_compress_pages()
164 memcpy(cpage_out + out_offset, buf, bytes); in lzo_compress_pages()
166 out_len -= bytes; in lzo_compress_pages()
167 pg_bytes_left -= bytes; in lzo_compress_pages()
168 buf += bytes; in lzo_compress_pages()
169 out_offset += bytes; in lzo_compress_pages()
272 unsigned long bytes; in lzo_decompress_biovec() local
310 bytes = in_len; in lzo_decompress_biovec()
319 bytes = min(working_bytes, in_page_bytes_left); in lzo_decompress_biovec()
321 memcpy(buf + buf_offset, data_in + in_offset, bytes); in lzo_decompress_biovec()
322 buf_offset += bytes; in lzo_decompress_biovec()
324 working_bytes -= bytes; in lzo_decompress_biovec()
325 in_page_bytes_left -= bytes; in lzo_decompress_biovec()
326 in_offset += bytes; in lzo_decompress_biovec()
392 unsigned long bytes; in lzo_decompress() local
420 bytes = min_t(unsigned long, destlen, out_len - start_byte); in lzo_decompress()
423 memcpy(kaddr, workspace->buf + start_byte, bytes); in lzo_decompress()
430 if (bytes < destlen) in lzo_decompress()
431 memset(kaddr+bytes, 0, destlen-bytes); in lzo_decompress()