函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\xz\xz_dec_lzma2.c Create Date:2022-07-27 08:06:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Flush pending data from dictionary to b->out. It is assumed that there is* enough space in b->out. This is guaranteed because caller uses dict_limit()* before decoding data into the dictionary.

函数原型:static uint32_t dict_flush(struct dictionary *dict, struct xz_buf *b)

返回类型:uint32_t

参数:

类型参数名称
struct dictionary *dict
struct xz_buf *b
418  copy_size等于Position in buf Old position in buf (before decoding more data)
420  如果DEC_IS_MULTI(Operation mode )则
421  如果Position in buf 恒等于End of the dictionary buffer. In multi-call mode, this is* the same as the dictionary size. In single-call mode, this* indicates the size of the output buffer.Position in buf 等于0
424  内存复制(out + out_pos, Beginning of the history buffer + Old position in buf (before decoding more data) , copy_size)
428  Old position in buf (before decoding more data) 等于Position in buf
429  out_pos加等于copy_size
430  返回:copy_size
调用者
名称描述
xz_dec_lzma2_runTake care of the LZMA2 control layer, and forward the job of actual LZMA* decoding or copying of uncompressed chunks to other functions.