Lines Matching defs:buffer
267 ERROR("Failed to allocate %s buffer\n", name);
289 * Copy up to length bytes from cache entry to buffer starting at offset bytes
293 int squashfs_copy_data(void *buffer, struct squashfs_cache_entry *entry,
300 else if (buffer == NULL)
310 memcpy(buffer, buff, remaining);
315 memcpy(buffer, buff, bytes);
316 buffer += bytes;
331 int squashfs_read_metadata(struct super_block *sb, void *buffer,
353 bytes = squashfs_copy_data(buffer, entry, *offset, length);
354 if (buffer)
355 buffer += bytes;
410 void *table, *buffer, **data;
413 table = buffer = kmalloc(length, GFP_KERNEL);
429 for (i = 0; i < pages; i++, buffer += PAGE_SIZE)
430 data[i] = buffer;