Lines Matching refs:bytes
307 int bytes = min_t(int, entry->length - offset, in squashfs_copy_data() local
310 if (bytes >= remaining) { in squashfs_copy_data()
317 memcpy(buffer, buff, bytes); in squashfs_copy_data()
319 buffer += bytes; in squashfs_copy_data()
320 remaining -= bytes; in squashfs_copy_data()
321 offset += bytes; in squashfs_copy_data()
338 int bytes, res = length; in squashfs_read_metadata() local
353 bytes = squashfs_copy_data(buffer, entry, *offset, length); in squashfs_read_metadata()
355 buffer += bytes; in squashfs_read_metadata()
356 length -= bytes; in squashfs_read_metadata()
357 *offset += bytes; in squashfs_read_metadata()