Home | History | Annotate | Download | only in squashfs

Lines Matching defs:bytes

290  * Copy upto length bytes from cache entry to buffer starting at offset bytes
291 * into the cache entry. If there's not length bytes then copy the number of
292 * bytes available. In all cases return the number of bytes copied.
307 int bytes = min_t(int, entry->length - offset,
310 if (bytes >= remaining) {
316 memcpy(buffer, buff, bytes);
317 buffer += bytes;
318 remaining -= bytes;
319 offset += bytes;
327 * Read length bytes from metadata position <block, offset> (block is the
330 * and length bytes may require reading more than one block.
336 int bytes, copied = length;
348 bytes = squashfs_copy_data(buffer, entry, *offset, length);
350 buffer += bytes;
351 length -= bytes;
352 *offset += bytes;
395 * Read a filesystem table (uncompressed sequence of bytes) from disk