Lines Matching refs:out_buf
70 zstd_out_buffer out_buf = { NULL, 0, 0 };
81 out_buf.size = PAGE_SIZE;
82 out_buf.dst = squashfs_first_page(output);
83 if (IS_ERR(out_buf.dst)) {
84 error = PTR_ERR(out_buf.dst);
109 if (out_buf.pos == out_buf.size) {
110 out_buf.dst = squashfs_next_page(output);
111 if (IS_ERR(out_buf.dst)) {
112 error = PTR_ERR(out_buf.dst);
114 } else if (out_buf.dst == NULL) {
121 out_buf.pos = 0;
122 out_buf.size = PAGE_SIZE;
125 total_out -= out_buf.pos;
126 zstd_err = zstd_decompress_stream(stream, &out_buf, &in_buf);
127 total_out += out_buf.pos; /* add the additional data produced */