Home
last modified time | relevance | path

Searched refs:memusage (Results 1 – 19 of 19) sorted by relevance

/freebsd-13-stable/contrib/xz/src/liblzma/common/
HDfilter_decoder.c30 uint64_t (*memusage)(const void *options); member
49 .memusage = &lzma_lzma_decoder_memusage,
55 .memusage = &lzma_lzma_decoder_memusage,
63 .memusage = &lzma_lzma2_decoder_memusage,
71 .memusage = NULL,
79 .memusage = NULL,
87 .memusage = NULL,
95 .memusage = NULL,
103 .memusage = NULL,
111 .memusage = NULL,
[all …]
HDfilter_encoder.c30 uint64_t (*memusage)(const void *options); member
64 .memusage = &lzma_lzma_encoder_memusage,
73 .memusage = &lzma_lzma_encoder_memusage,
84 .memusage = &lzma_lzma2_encoder_memusage,
95 .memusage = NULL,
105 .memusage = NULL,
115 .memusage = NULL,
125 .memusage = NULL,
135 .memusage = NULL,
145 .memusage = NULL,
[all …]
HDstream_decoder.c46 uint64_t memusage; member
218 const uint64_t memusage = lzma_raw_decoder_memusage(filters); in stream_decode() local
221 if (memusage == UINT64_MAX) { in stream_decode()
229 coder->memusage = memusage; in stream_decode()
231 if (memusage > coder->memlimit) { in stream_decode()
405 stream_decoder_memconfig(void *coder_ptr, uint64_t *memusage, in stream_decoder_memconfig() argument
410 *memusage = coder->memusage; in stream_decoder_memconfig()
414 if (new_memlimit < coder->memusage) in stream_decoder_memconfig()
451 coder->memusage = LZMA_MEMUSAGE_BASE; in lzma_stream_decoder_init()
HDalone_decoder.c43 uint64_t memusage; member
132 coder->memusage = lzma_lzma_decoder_memusage(&coder->options) in alone_decode()
141 if (coder->memusage > coder->memlimit) in alone_decode()
186 alone_decoder_memconfig(void *coder_ptr, uint64_t *memusage, in alone_decoder_memconfig() argument
191 *memusage = coder->memusage; in alone_decoder_memconfig()
195 if (new_memlimit < coder->memusage) in alone_decoder_memconfig()
233 coder->memusage = LZMA_MEMUSAGE_BASE; in lzma_alone_decoder_init()
HDlzip_decoder.c55 uint64_t memusage; member
216 coder->memusage = lzma_lzma_decoder_memusage(&coder->options) in lzip_decode()
228 if (coder->memusage > coder->memlimit) in lzip_decode()
351 lzip_decoder_memconfig(void *coder_ptr, uint64_t *memusage, in lzip_decoder_memconfig() argument
356 *memusage = coder->memusage; in lzip_decoder_memconfig()
360 if (new_memlimit < coder->memusage) in lzip_decoder_memconfig()
397 coder->memusage = LZMA_MEMUSAGE_BASE; in lzma_lzip_decoder_init()
HDcommon.c431 uint64_t memusage; in lzma_memusage() local
438 &memusage, &old_memlimit, 0) != LZMA_OK) in lzma_memusage()
441 return memusage; in lzma_memusage()
449 uint64_t memusage; in lzma_memlimit_get() local
455 &memusage, &old_memlimit, 0) != LZMA_OK) in lzma_memlimit_get()
467 uint64_t memusage; in lzma_memlimit_set() local
479 &memusage, &old_memlimit, new_memlimit); in lzma_memlimit_set()
HDauto_decoder.c136 auto_decoder_memconfig(void *coder_ptr, uint64_t *memusage, in auto_decoder_memconfig() argument
145 memusage, old_memlimit, new_memlimit); in auto_decoder_memconfig()
150 *memusage = LZMA_MEMUSAGE_BASE; in auto_decoder_memconfig()
154 if (new_memlimit != 0 && new_memlimit < *memusage) in auto_decoder_memconfig()
HDstream_buffer_decoder.c76 uint64_t memusage; in lzma_stream_buffer_decode() local
79 memlimit, &memusage, 0); in lzma_stream_buffer_decode()
HDfile_info.c674 file_info_decoder_memconfig(void *coder_ptr, uint64_t *memusage, in file_info_decoder_memconfig() argument
729 *memusage = combined_index_memusage + this_index_memusage; in file_info_decoder_memconfig()
730 if (*memusage == 0) in file_info_decoder_memconfig()
731 *memusage = lzma_index_memusage(1, 0); in file_info_decoder_memconfig()
737 if (new_memlimit < *memusage) in file_info_decoder_memconfig()
HDindex_decoder.c231 index_decoder_memconfig(void *coder_ptr, uint64_t *memusage, in index_decoder_memconfig() argument
236 *memusage = lzma_index_memusage(1, coder->count); in index_decoder_memconfig()
240 if (new_memlimit < *memusage) in index_decoder_memconfig()
HDfilter_common.h29 uint64_t (*memusage)(const void *options); member
HDfilter_common.c370 if (fc->memusage == NULL) { in lzma_raw_coder_memusage()
382 = fc->memusage(filters[i].options); in lzma_raw_coder_memusage()
HDstream_decoder_mt.c1821 stream_decoder_mt_memconfig(void *coder_ptr, uint64_t *memusage, in stream_decoder_mt_memconfig() argument
1843 *memusage = coder->mem_direct_mode in stream_decoder_mt_memconfig()
1851 if (*memusage < LZMA_MEMUSAGE_BASE) in stream_decoder_mt_memconfig()
1852 *memusage = LZMA_MEMUSAGE_BASE; in stream_decoder_mt_memconfig()
1857 if (new_memlimit < *memusage) in stream_decoder_mt_memconfig()
HDcommon.h255 lzma_ret (*memconfig)(void *coder, uint64_t *memusage,
/freebsd-13-stable/contrib/xz/src/xz/
HDmessage.c842 message_mem_needed(enum message_verbosity v, uint64_t memusage) in message_mem_needed() argument
851 memusage = round_up_to_mib(memusage); in message_mem_needed()
860 uint64_to_str(memusage, 0)); in message_mem_needed()
887 uint64_to_str(memusage, 0), memlimitstr); in message_mem_needed()
HDcoder.c265 uint64_t memusage = UINT64_MAX; in get_chains_memusage() local
270 memusage = lzma_stream_encoder_mt_memusage(&mt_local); in get_chains_memusage()
274 memusage = lzma_raw_encoder_memusage(chains[i]); in get_chains_memusage()
278 memusage = lzma_raw_decoder_memusage(chains[i]); in get_chains_memusage()
283 chains_memusages[i] = memusage; in get_chains_memusage()
285 if (memusage > max_memusage) in get_chains_memusage()
286 max_memusage = memusage; in get_chains_memusage()
HDmessage.h94 extern void message_mem_needed(enum message_verbosity v, uint64_t memusage);
HDlist.c51 uint64_t memusage; member
541 bhi->memusage = lzma_raw_decoder_memusage(filters); in parse_block_header()
542 if (xfi->memusage_max < bhi->memusage) in parse_block_header()
543 xfi->memusage_max = bhi->memusage; in parse_block_header()
1002 round_up_to_mib(bhi.memusage), in print_info_adv()
1113 bhi.memusage, in print_info_robot()
/freebsd-13-stable/contrib/xz/
HDChangeLog2084 Since the message is shown only at V_DEBUG, skip the memusage
5585 debug/memusage.c | 2 ++
5900 debug/memusage.c | 3 -