Home
last modified time | relevance | path

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

/minix/external/public-domain/xz/dist/src/xz/
H A Dhardware.c62 hardware_memlimit_set(uint64_t new_memlimit, in hardware_memlimit_set() argument
66 assert(new_memlimit > 0); in hardware_memlimit_set()
67 assert(new_memlimit <= 100); in hardware_memlimit_set()
68 new_memlimit = (uint32_t)new_memlimit * total_ram / 100; in hardware_memlimit_set()
72 memlimit_compress = new_memlimit; in hardware_memlimit_set()
75 memlimit_decompress = new_memlimit; in hardware_memlimit_set()
H A Dhardware.h30 extern void hardware_memlimit_set(uint64_t new_memlimit,
/minix/external/public-domain/xz/dist/src/liblzma/common/
H A Dauto_decoder.c122 uint64_t *old_memlimit, uint64_t new_memlimit) in auto_decoder_memconfig() argument
128 memusage, old_memlimit, new_memlimit); in auto_decoder_memconfig()
138 if (ret == LZMA_OK && new_memlimit != 0) in auto_decoder_memconfig()
139 coder->memlimit = new_memlimit; in auto_decoder_memconfig()
H A Dalone_decoder.c179 uint64_t *old_memlimit, uint64_t new_memlimit) in alone_decoder_memconfig() argument
184 if (new_memlimit != 0) { in alone_decoder_memconfig()
185 if (new_memlimit < coder->memusage) in alone_decoder_memconfig()
188 coder->memlimit = new_memlimit; in alone_decoder_memconfig()
H A Dindex_decoder.c220 uint64_t *old_memlimit, uint64_t new_memlimit) in index_decoder_memconfig() argument
225 if (new_memlimit != 0) { in index_decoder_memconfig()
226 if (new_memlimit < *memusage) in index_decoder_memconfig()
229 coder->memlimit = new_memlimit; in index_decoder_memconfig()
H A Dstream_decoder.c396 uint64_t *old_memlimit, uint64_t new_memlimit) in stream_decoder_memconfig() argument
401 if (new_memlimit != 0) { in stream_decoder_memconfig()
402 if (new_memlimit < coder->memusage) in stream_decoder_memconfig()
405 coder->memlimit = new_memlimit; in stream_decoder_memconfig()
H A Dcommon.c428 lzma_memlimit_set(lzma_stream *strm, uint64_t new_memlimit) in lzma_memlimit_set() argument
438 if (new_memlimit != 0 && new_memlimit < LZMA_MEMUSAGE_BASE) in lzma_memlimit_set()
442 &memusage, &old_memlimit, new_memlimit); in lzma_memlimit_set()
H A Dcommon.h173 uint64_t *old_memlimit, uint64_t new_memlimit);