Lines Matching defs:bytes
289 * Copy up to length bytes from cache entry to buffer starting at offset bytes
290 * into the cache entry. If there's not length bytes then copy the number of
291 * bytes available. In all cases return the number of bytes copied.
306 int bytes = min_t(int, entry->length - offset,
309 if (bytes >= remaining) {
315 memcpy(buffer, buff, bytes);
316 buffer += bytes;
317 remaining -= bytes;
318 offset += bytes;
326 * Read length bytes from metadata position <block, offset> (block is the
329 * and length bytes may require reading more than one block.
335 int bytes, res = length;
353 bytes = squashfs_copy_data(buffer, entry, *offset, length);
355 buffer += bytes;
356 length -= bytes;
357 *offset += bytes;
404 * Read a filesystem table (uncompressed sequence of bytes) from disk