Lines Matching refs:xz_buf
389 struct xz_buf xz_buf; in fw_decompress_xz_single() local
396 xz_buf.in_size = in_size; in fw_decompress_xz_single()
397 xz_buf.in = in_buffer; in fw_decompress_xz_single()
398 xz_buf.in_pos = 0; in fw_decompress_xz_single()
399 xz_buf.out_size = fw_priv->allocated_size; in fw_decompress_xz_single()
400 xz_buf.out = fw_priv->data; in fw_decompress_xz_single()
401 xz_buf.out_pos = 0; in fw_decompress_xz_single()
403 xz_ret = xz_dec_run(xz_dec, &xz_buf); in fw_decompress_xz_single()
406 fw_priv->size = xz_buf.out_pos; in fw_decompress_xz_single()
415 struct xz_buf xz_buf; in fw_decompress_xz_pages() local
424 xz_buf.in_size = in_size; in fw_decompress_xz_pages()
425 xz_buf.in = in_buffer; in fw_decompress_xz_pages()
426 xz_buf.in_pos = 0; in fw_decompress_xz_pages()
438 xz_buf.out = kmap_local_page(page); in fw_decompress_xz_pages()
439 xz_buf.out_pos = 0; in fw_decompress_xz_pages()
440 xz_buf.out_size = PAGE_SIZE; in fw_decompress_xz_pages()
441 xz_ret = xz_dec_run(xz_dec, &xz_buf); in fw_decompress_xz_pages()
442 kunmap_local(xz_buf.out); in fw_decompress_xz_pages()
443 fw_priv->size += xz_buf.out_pos; in fw_decompress_xz_pages()
445 if (xz_buf.out_pos != PAGE_SIZE) in fw_decompress_xz_pages()