Home
last modified time | relevance | path

Searched refs:memlimit (Results 1 – 25 of 28) sorted by relevance

12

/netbsd/src/external/public-domain/xz/dist/src/liblzma/common/
Dindex_decoder.c30 uint64_t memlimit; member
101 if (lzma_index_memusage(1, coder->count) > coder->memlimit) { in index_decode()
228 *old_memlimit = coder->memlimit; in index_decoder_memconfig()
234 coder->memlimit = new_memlimit; in index_decoder_memconfig()
243 lzma_index **i, uint64_t memlimit) in index_decoder_reset() argument
259 coder->memlimit = my_max(1, memlimit); in index_decoder_reset()
270 lzma_index **i, uint64_t memlimit) in index_decoder_init() argument
292 return index_decoder_reset(coder, allocator, i, memlimit); in index_decoder_init()
297 lzma_index_decoder(lzma_stream *strm, lzma_index **i, uint64_t memlimit) in lzma_index_decoder() argument
299 lzma_next_strm_init(index_decoder_init, strm, i, memlimit); in lzma_index_decoder()
[all …]
Dauto_decoder.c21 uint64_t memlimit; member
56 coder->memlimit, coder->flags)); in auto_decode()
59 allocator, coder->memlimit, true)); in auto_decode()
136 assert(*old_memlimit == coder->memlimit); in auto_decoder_memconfig()
141 *old_memlimit = coder->memlimit; in auto_decoder_memconfig()
149 coder->memlimit = new_memlimit; in auto_decoder_memconfig()
157 uint64_t memlimit, uint32_t flags) in auto_decoder_init() argument
178 coder->memlimit = my_max(1, memlimit); in auto_decoder_init()
187 lzma_auto_decoder(lzma_stream *strm, uint64_t memlimit, uint32_t flags) in lzma_auto_decoder() argument
189 lzma_next_strm_init(auto_decoder_init, strm, memlimit, flags); in lzma_auto_decoder()
Dalone_decoder.c41 uint64_t memlimit; member
131 if (coder->memusage > coder->memlimit) in alone_decode()
187 *old_memlimit = coder->memlimit; in alone_decoder_memconfig()
193 coder->memlimit = new_memlimit; in alone_decoder_memconfig()
202 uint64_t memlimit, bool picky) in lzma_alone_decoder_init() argument
227 coder->memlimit = my_max(1, memlimit); in lzma_alone_decoder_init()
235 lzma_alone_decoder(lzma_stream *strm, uint64_t memlimit) in lzma_alone_decoder() argument
237 lzma_next_strm_init(lzma_alone_decoder_init, strm, memlimit, false); in lzma_alone_decoder()
Dstream_decoder.c44 uint64_t memlimit; member
223 if (memusage > coder->memlimit) { in stream_decode()
405 *old_memlimit = coder->memlimit; in stream_decoder_memconfig()
411 coder->memlimit = new_memlimit; in stream_decoder_memconfig()
421 uint64_t memlimit, uint32_t flags) in lzma_stream_decoder_init() argument
444 coder->memlimit = my_max(1, memlimit); in lzma_stream_decoder_init()
459 lzma_stream_decoder(lzma_stream *strm, uint64_t memlimit, uint32_t flags) in lzma_stream_decoder() argument
461 lzma_next_strm_init(lzma_stream_decoder_init, strm, memlimit, flags); in lzma_stream_decoder()
Dstream_buffer_decoder.c17 lzma_stream_buffer_decode(uint64_t *memlimit, uint32_t flags, in lzma_stream_buffer_decode() argument
38 &stream_decoder, allocator, *memlimit, flags); in lzma_stream_buffer_decode()
80 memlimit, &memusage, 0); in lzma_stream_buffer_decode()
Dalone_decoder.h21 uint64_t memlimit, bool picky);
Dstream_decoder.h20 uint64_t memlimit, uint32_t flags);
/netbsd/src/sys/fs/tmpfs/
Dtmpfs_mem.c52 tmpfs_mntmem_init(struct tmpfs_mount *mp, uint64_t memlimit) in tmpfs_mntmem_init() argument
56 mp->tm_mem_limit = memlimit; in tmpfs_mntmem_init()
69 tmpfs_mntmem_set(struct tmpfs_mount *mp, uint64_t memlimit) in tmpfs_mntmem_set() argument
74 if (round_page(mp->tm_bytes_used) >= memlimit) in tmpfs_mntmem_set()
78 mp->tm_mem_limit = memlimit; in tmpfs_mntmem_set()
Dtmpfs_vfsops.c93 uint64_t memlimit; in tmpfs_mount() local
137 memlimit = UINT64_MAX; in tmpfs_mount()
140 memlimit = args->ta_size_max; in tmpfs_mount()
143 KASSERT(memlimit > 0); in tmpfs_mount()
146 nodes = 3 + (memlimit / 1024); in tmpfs_mount()
169 if ((error = tmpfs_mntmem_set(tmp, memlimit)) != 0) in tmpfs_mount()
196 tmpfs_mntmem_init(tmp, memlimit); in tmpfs_mount()
/netbsd/src/external/public-domain/xz/dist/src/liblzma/api/lzma/
Dcontainer.h537 lzma_stream *strm, uint64_t memlimit, uint32_t flags)
562 lzma_stream *strm, uint64_t memlimit, uint32_t flags)
585 lzma_stream *strm, uint64_t memlimit)
628 uint64_t *memlimit, uint32_t flags,
Dindex.h629 lzma_stream *strm, lzma_index **i, uint64_t memlimit)
684 uint64_t *memlimit, const lzma_allocator *allocator,
Dbase.h659 lzma_stream *strm, uint64_t memlimit) lzma_nothrow;
/netbsd/src/external/public-domain/xz/dist/src/xz/
Dhardware.c93 const uint64_t memlimit = mode == MODE_COMPRESS in hardware_memlimit_get() local
95 return memlimit != 0 ? memlimit : UINT64_MAX; in hardware_memlimit_get()
Dmessage.c843 uint64_t memlimit = hardware_memlimit_get(opt_mode); in message_mem_needed() local
847 if (memlimit == UINT64_MAX) { in message_mem_needed()
862 if (memlimit < (UINT32_C(1) << 20)) { in message_mem_needed()
864 uint64_to_str(memlimit, 1)); in message_mem_needed()
873 uint64_to_str(round_up_to_mib(memlimit), 1)); in message_mem_needed()
Dlist.c259 uint64_t memlimit = hardware_memlimit_get(MODE_LIST); in parse_indexes() local
263 if (memused > memlimit) in parse_indexes()
266 memlimit -= memused; in parse_indexes()
270 ret = lzma_index_decoder(&strm, &this_index, memlimit); in parse_indexes()
/netbsd/src/sys/arch/sandpoint/stand/altboot/
Dpci.c53 unsigned memstart, memlimit; variable
62 memlimit = PCI_MEMLIMIT; in pcisetup()
246 val = (memlimit & 0xffff0000) | (val & 0xffff0000) >> 16; in deviceinit()
309 if (mapbase + size > memlimit) in memassign()
/netbsd/src/external/public-domain/xz/dist/tests/
Dtest_bcj_exact_size.c95 uint64_t memlimit = 1 << 20; in decompress_empty() local
98 expect(lzma_stream_buffer_decode(&memlimit, 0, NULL, in decompress_empty()
Dtest_index.c264 uint64_t memlimit = MEMLIMIT; in test_code() local
265 expect(lzma_index_buffer_decode(&d, &memlimit, NULL, buf, &buf_pos, in test_code()
270 succeed(lzma_index_buffer_decode(&d, &memlimit, NULL, buf, &buf_pos, in test_code()
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dminidebug.c94 uint64_t memlimit = UINT64_MAX; in lzma_open() local
118 || lzma_index_buffer_decode (&index, &memlimit, &gdb_lzma_allocator, in lzma_open()
/netbsd/src/external/public-domain/xz/dist/po/
Dpl.po717 " --memlimit-compress=LIMIT\n"
718 " --memlimit-decompress=LIMIT\n"
719 " -M, --memlimit=LIMIT\n"
723 " --memlimit-compress=LIMIT\n"
724 " --memlimit-decompress=LIMIT\n"
725 " -M, --memlimit=LIMIT\n"
Dit.po722 " --memlimit-compress=LIMIT\n"
723 " --memlimit-decompress=LIMIT\n"
724 " -M, --memlimit=LIMIT\n"
728 " --memlimit-compress=LIMIT\n"
729 " --memlimit-decompress=LIMIT\n"
730 " -M, --memlimit=LIMIT\n"
Dde.po726 " --memlimit-compress=LIMIT\n"
727 " --memlimit-decompress=LIMIT\n"
728 " -M, --memlimit=LIMIT\n"
732 " --memlimit-compress=LIMIT\n"
733 " --memlimit-decompress=LIMIT\n"
734 " -M, --memlimit=LIMIT Setze Speichernutzungslimit für Komprimierung,\n"
Dcs.po700 " --memlimit-compress=LIMIT\n"
701 " --memlimit-decompress=LIMIT\n"
702 " -M, --memlimit=LIMIT\n"
706 " --memlimit-compress=LIMIT\n"
707 " --memlimit-decompress=LIMIT\n"
708 " -M, --memlimit=LIMIT\n"
Dfr.po726 " --memlimit-compress=LIMIT\n"
727 " --memlimit-decompress=LIMIT\n"
728 " -M, --memlimit=LIMIT\n"
732 " --memlimit-compress=LIMIT\n"
733 " --memlimit-decompress=LIMIT\n"
734 " -M, --memlimit=LIMIT\n"
Dvi.po712 " --memlimit-compress=LIMIT\n"
713 " --memlimit-decompress=LIMIT\n"
714 " -M, --memlimit=LIMIT\n"
718 " --memlimit-compress=GIỚI_HẠN\n"
719 " --memlimit-decompress=GIỚI_HẠN\n"
720 " -M, --memlimit=GIỚI_HẠN\n"

12