Searched refs:new_memlimit (Results 1 – 8 of 8) sorted by relevance
/minix/external/public-domain/xz/dist/src/xz/ |
H A D | hardware.c | 62 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 D | hardware.h | 30 extern void hardware_memlimit_set(uint64_t new_memlimit,
|
/minix/external/public-domain/xz/dist/src/liblzma/common/ |
H A D | auto_decoder.c | 122 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 D | alone_decoder.c | 179 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 D | index_decoder.c | 220 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 D | stream_decoder.c | 396 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 D | common.c | 428 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 D | common.h | 173 uint64_t *old_memlimit, uint64_t new_memlimit);
|