Lines Matching refs:buffer
365 void squashfs_fill_page(struct page *page, struct squashfs_cache_entry *buffer, int offset, int ava… in squashfs_fill_page() argument
371 copied = squashfs_copy_data(pageaddr, buffer, offset, avail); in squashfs_fill_page()
383 void squashfs_copy_cache(struct page *page, struct squashfs_cache_entry *buffer, in squashfs_copy_cache() argument
400 int avail = buffer ? min_t(int, bytes, PAGE_SIZE) : 0; in squashfs_copy_cache()
413 squashfs_fill_page(push_page, buffer, offset, avail); in squashfs_copy_cache()
425 struct squashfs_cache_entry *buffer = squashfs_get_fragment(inode->i_sb, in squashfs_readpage_fragment() local
428 int res = buffer->error; in squashfs_readpage_fragment()
435 squashfs_copy_cache(page, buffer, expected, in squashfs_readpage_fragment()
438 squashfs_cache_put(buffer); in squashfs_readpage_fragment()
502 struct squashfs_cache_entry *buffer = squashfs_get_fragment(inode->i_sb, in squashfs_readahead_fragment() local
507 int error = buffer->error; in squashfs_readahead_fragment()
522 squashfs_fill_page(page[n], buffer, offset, avail); in squashfs_readahead_fragment()
530 squashfs_cache_put(buffer); in squashfs_readahead_fragment()