Home
last modified time | relevance | path

Searched refs:dec_buf (Results 1 – 1 of 1) sorted by relevance

/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_mfa2.c429 struct xz_buf dec_buf; in mlxfw_mfa2_file_cb_offset_xz() local
438 dec_buf.in_size = mfa2_file->cb_archive_size; in mlxfw_mfa2_file_cb_offset_xz()
439 dec_buf.in = mfa2_file->cb; in mlxfw_mfa2_file_cb_offset_xz()
440 dec_buf.in_pos = 0; in mlxfw_mfa2_file_cb_offset_xz()
441 dec_buf.out = buf; in mlxfw_mfa2_file_cb_offset_xz()
445 dec_buf.out_pos = 0; in mlxfw_mfa2_file_cb_offset_xz()
446 dec_buf.out_size = min_t(size_t, size, off - curr_off); in mlxfw_mfa2_file_cb_offset_xz()
447 if (dec_buf.out_size == 0) in mlxfw_mfa2_file_cb_offset_xz()
450 err = mlxfw_mfa2_xz_dec_run(xz_dec, &dec_buf, &finished); in mlxfw_mfa2_file_cb_offset_xz()
458 curr_off += dec_buf.out_pos; in mlxfw_mfa2_file_cb_offset_xz()
[all …]