Lines Matching refs:buffer
297 int squashfs_copy_data(void *buffer, struct squashfs_cache_entry *entry, in squashfs_copy_data() argument
304 else if (buffer == NULL) in squashfs_copy_data()
314 memcpy(buffer, buff, remaining); in squashfs_copy_data()
319 memcpy(buffer, buff, bytes); in squashfs_copy_data()
320 buffer += bytes; in squashfs_copy_data()
335 int squashfs_read_metadata(struct super_block *sb, void *buffer, in squashfs_read_metadata() argument
357 bytes = squashfs_copy_data(buffer, entry, *offset, length); in squashfs_read_metadata()
358 if (buffer) in squashfs_read_metadata()
359 buffer += bytes; in squashfs_read_metadata()
414 void *table, *buffer, **data; in squashfs_read_table() local
417 table = buffer = kmalloc(length, GFP_KERNEL); in squashfs_read_table()
433 for (i = 0; i < pages; i++, buffer += PAGE_SIZE) in squashfs_read_table()
434 data[i] = buffer; in squashfs_read_table()