XZ Utils
5.4.1
|
Data Fields | |
lzma_outbuf * | head |
lzma_outbuf * | tail |
size_t | read_pos |
Number of bytes read from head->buf[] in lzma_outq_read() More... | |
lzma_outbuf * | cache |
uint64_t | mem_allocated |
Total amount of memory allocated for buffers. More... | |
uint64_t | mem_in_use |
uint32_t | bufs_in_use |
uint32_t | bufs_allocated |
Number of buffers allocated (in use + cached) More... | |
uint32_t | bufs_limit |
Maximum allowed number of allocated buffers. More... | |
lzma_outbuf* lzma_outq::head |
Linked list of buffers in use. The next output byte will be read from the head and buffers for the next thread will be appended to the tail. tail->next is always NULL.
Referenced by lzma_outq_enable_partial_output(), and lzma_outq_is_readable().
size_t lzma_outq::read_pos |
Number of bytes read from head->buf[] in lzma_outq_read()
Referenced by lzma_outq_is_readable().
lzma_outbuf* lzma_outq::cache |
Linked list of allocated buffers that aren't currently used. This way buffers of similar size can be reused and don't need to be reallocated every time. For simplicity, all cached buffers in the list have the same allocated size.
uint64_t lzma_outq::mem_allocated |
Total amount of memory allocated for buffers.
uint64_t lzma_outq::mem_in_use |
Amount of memory used by the buffers that are in use in the head...tail linked list.
uint32_t lzma_outq::bufs_in_use |
Number of buffers in use in the head...tail list. If and only if this is zero, the pointers head and tail above are NULL.
Referenced by lzma_outq_has_buf(), and lzma_outq_is_empty().
uint32_t lzma_outq::bufs_allocated |
Number of buffers allocated (in use + cached)
uint32_t lzma_outq::bufs_limit |
Maximum allowed number of allocated buffers.
Referenced by lzma_outq_has_buf().