Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
lzma_outq Struct Reference

#include <outqueue.h>

Data Fields

lzma_outbufhead
 
lzma_outbuftail
 
size_t read_pos
 Number of bytes read from head->buf[] in lzma_outq_read()
 
lzma_outbufcache
 
uint64_t mem_allocated
 Total amount of memory allocated for buffers.
 
uint64_t mem_in_use
 
uint32_t bufs_in_use
 
uint32_t bufs_allocated
 Number of buffers allocated (in use + cached)
 
uint32_t bufs_limit
 Maximum allowed number of allocated buffers.
 

Field Documentation

◆ bufs_allocated

uint32_t bufs_allocated

Number of buffers allocated (in use + cached)

◆ bufs_in_use

uint32_t 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.

◆ bufs_limit

uint32_t bufs_limit

Maximum allowed number of allocated buffers.

◆ cache

lzma_outbuf * 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.

◆ head

lzma_outbuf * 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.

◆ mem_allocated

uint64_t mem_allocated

Total amount of memory allocated for buffers.

◆ mem_in_use

uint64_t mem_in_use

Amount of memory used by the buffers that are in use in the head...tail linked list.

◆ read_pos

size_t read_pos

Number of bytes read from head->buf[] in lzma_outq_read()

◆ tail

lzma_outbuf * tail

The documentation for this struct was generated from the following files: