Lines Matching refs:buffer
293 int squashfs_copy_data(void *buffer, struct squashfs_cache_entry *entry, in squashfs_copy_data() argument
300 else if (buffer == NULL) in squashfs_copy_data()
310 memcpy(buffer, buff, remaining); in squashfs_copy_data()
315 memcpy(buffer, buff, bytes); in squashfs_copy_data()
316 buffer += bytes; in squashfs_copy_data()
331 int squashfs_read_metadata(struct super_block *sb, void *buffer, in squashfs_read_metadata() argument
353 bytes = squashfs_copy_data(buffer, entry, *offset, length); in squashfs_read_metadata()
354 if (buffer) in squashfs_read_metadata()
355 buffer += bytes; in squashfs_read_metadata()
410 void *table, *buffer, **data; in squashfs_read_table() local
413 table = buffer = kmalloc(length, GFP_KERNEL); in squashfs_read_table()
429 for (i = 0; i < pages; i++, buffer += PAGE_SIZE) in squashfs_read_table()
430 data[i] = buffer; in squashfs_read_table()