Lines Matching defs:bytes
26 * Fixed size. LZO_LEN (4) bytes long, LE32.
37 * Fixed size. LZO_LEN (4) bytes long, LE32.
136 unsigned long bytes;
147 * the first 4 bytes
182 /* copy bytes from the working buffer into the pages */
185 bytes = min_t(unsigned long, pg_bytes_left, out_len);
187 memcpy(cpage_out + out_offset, buf, bytes);
189 out_len -= bytes;
190 pg_bytes_left -= bytes;
191 buf += bytes;
192 out_offset += bytes;
197 * Note if there's less than 4 bytes left, we just
292 unsigned long bytes;
354 bytes = in_len;
359 /* copy bytes from the pages into the working buffer */
363 bytes = min(working_bytes, in_page_bytes_left);
365 memcpy(buf + buf_offset, data_in + in_offset, bytes);
366 buf_offset += bytes;
368 working_bytes -= bytes;
369 in_page_bytes_left -= bytes;
370 in_offset += bytes;
433 unsigned long bytes;
468 bytes = min_t(unsigned long, destlen, out_len - start_byte);
471 memcpy(kaddr, workspace->buf + start_byte, bytes);
478 if (bytes < destlen)
479 memset(kaddr+bytes, 0, destlen-bytes);