Searched refs:memlimit (Results 1 - 20 of 20) sorted by relevance

/freebsd-9.3-release/contrib/xz/src/liblzma/common/
H A Dalone_decoder.h21 uint64_t memlimit, bool picky);
H A Dstream_decoder.h19 lzma_allocator *allocator, uint64_t memlimit, uint32_t flags);
H A Dauto_decoder.c21 uint64_t memlimit; member in struct:lzma_coder_s
54 coder->memlimit, coder->flags));
57 allocator, coder->memlimit, true));
129 assert(*old_memlimit == coder->memlimit);
134 *old_memlimit = coder->memlimit;
139 coder->memlimit = new_memlimit;
147 uint64_t memlimit, uint32_t flags)
151 if (memlimit == 0)
169 next->coder->memlimit = memlimit;
146 auto_decoder_init(lzma_next_coder *next, lzma_allocator *allocator, uint64_t memlimit, uint32_t flags) argument
[all...]
H A Dindex_decoder.c30 uint64_t memlimit; member in struct:lzma_coder_s
99 if (lzma_index_memusage(1, coder->count) > coder->memlimit) {
223 *old_memlimit = coder->memlimit;
229 coder->memlimit = new_memlimit;
238 lzma_index **i, uint64_t memlimit)
254 coder->memlimit = memlimit;
265 lzma_index **i, uint64_t memlimit)
269 if (i == NULL || memlimit == 0)
285 return index_decoder_reset(next->coder, allocator, i, memlimit);
237 index_decoder_reset(lzma_coder *coder, lzma_allocator *allocator, lzma_index **i, uint64_t memlimit) argument
264 index_decoder_init(lzma_next_coder *next, lzma_allocator *allocator, lzma_index **i, uint64_t memlimit) argument
[all...]
H A Dalone_decoder.c41 uint64_t memlimit; member in struct:lzma_coder_s
129 if (coder->memusage > coder->memlimit)
182 *old_memlimit = coder->memlimit;
188 coder->memlimit = new_memlimit;
197 uint64_t memlimit, bool picky)
201 if (memlimit == 0)
222 next->coder->memlimit = memlimit;
230 lzma_alone_decoder(lzma_stream *strm, uint64_t memlimit)
232 lzma_next_strm_init(lzma_alone_decoder_init, strm, memlimit, fals
196 lzma_alone_decoder_init(lzma_next_coder *next, lzma_allocator *allocator, uint64_t memlimit, bool picky) argument
[all...]
H A Dstream_buffer_decoder.c17 lzma_stream_buffer_decode(uint64_t *memlimit, uint32_t flags,
38 &stream_decoder, allocator, *memlimit, flags);
80 memlimit, &memusage, 0);
H A Dstream_decoder.c44 uint64_t memlimit; member in struct:lzma_coder_s
212 if (memusage > coder->memlimit) {
390 *old_memlimit = coder->memlimit;
396 coder->memlimit = new_memlimit;
405 uint64_t memlimit, uint32_t flags)
409 if (memlimit == 0)
429 next->coder->memlimit = memlimit;
443 lzma_stream_decoder(lzma_stream *strm, uint64_t memlimit, uint32_t flags)
445 lzma_next_strm_init(lzma_stream_decoder_init, strm, memlimit, flag
404 lzma_stream_decoder_init(lzma_next_coder *next, lzma_allocator *allocator, uint64_t memlimit, uint32_t flags) argument
[all...]
/freebsd-9.3-release/contrib/xz/src/xz/
H A Dhardware.c86 const uint64_t memlimit = mode == MODE_COMPRESS local
88 return memlimit != 0 ? memlimit : UINT64_MAX;
H A Dmessage.c862 uint64_t memlimit = hardware_memlimit_get(opt_mode); local
866 if (memlimit == UINT64_MAX) {
881 if (memlimit < (UINT32_C(1) << 20)) {
883 uint64_to_str(memlimit, 1));
892 uint64_to_str(round_up_to_mib(memlimit), 1));
1153 " --memlimit-compress=LIMIT\n"
1154 " --memlimit-decompress=LIMIT\n"
1155 " -M, --memlimit=LIMIT\n"
H A Dlist.c232 uint64_t memlimit = hardware_memlimit_get(MODE_LIST); local
236 if (memused > memlimit)
239 memlimit -= memused;
243 ret = lzma_index_decoder(&strm, &this_index, memlimit);
/freebsd-9.3-release/contrib/xz/src/liblzma/api/lzma/
H A Dcontainer.h328 * \param memlimit Memory usage limit as bytes. Use UINT64_MAX
340 lzma_stream *strm, uint64_t memlimit, uint32_t flags)
352 * \param memlimit Memory usage limit as bytes. Use UINT64_MAX
362 lzma_stream *strm, uint64_t memlimit, uint32_t flags)
378 lzma_stream *strm, uint64_t memlimit)
385 * \param memlimit Pointer to how much memory the decoder is allowed
416 * The minimum required memlimit value was stored to *memlimit.
421 uint64_t *memlimit, uint32_t flags, lzma_allocator *allocator,
H A Dbase.h553 * with a function that takes a memlimit argument. With other functions, you
579 * a function that takes a memlimit argument.
592 * a function that takes a memlimit argument.
598 * support memory usage limit or memlimit was zero.
601 lzma_stream *strm, uint64_t memlimit) lzma_nothrow;
H A Dindex.h612 * \param memlimit How much memory the resulting lzma_index is
625 lzma_stream *strm, lzma_index **i, uint64_t memlimit)
661 * \param memlimit Pointer to how much memory the resulting
675 * The minimum required memlimit value was stored to *memlimit.
680 uint64_t *memlimit, lzma_allocator *allocator,
/freebsd-9.3-release/contrib/llvm/tools/bugpoint/
H A DBugDriver.cpp70 unsigned timeout, unsigned memlimit, bool use_valgrind,
75 MemoryLimit(memlimit), UseValgrind(use_valgrind) {}
69 BugDriver(const char *toolname, bool find_bugs, unsigned timeout, unsigned memlimit, bool use_valgrind, LLVMContext& ctxt) argument
H A DBugDriver.h66 unsigned timeout, unsigned memlimit, bool use_valgrind,
/freebsd-9.3-release/sys/contrib/rdma/krping/
H A Dkrping.h95 uint64_t memlimit; /* limit of the physical memory that member in struct:krping_cb
H A Dkrping.c87 {"memlimit", OPT_INT, 'm'},
446 if (cb->use_dmamr && cb->memlimit)
447 cb->rdma_buf = contigmalloc(cb->size, M_DEVBUF, M_WAITOK, 0, cb->memlimit,
476 if (cb->use_dmamr && cb->memlimit)
478 0, cb->memlimit, PAGE_SIZE, 0);
1659 cb->memlimit = 0;
1738 cb->memlimit = optint;
1739 if (cb->memlimit < 1) {
1741 cb->memlimit);
/freebsd-9.3-release/sys/dev/pci/
H A Dpcib_private.h109 pci_addr_t memlimit; /* topmost address of memory window */ member in struct:pcib_softc
H A Dpci_pci.c543 return (sc->membase > 0 && sc->membase < sc->memlimit);
594 sc->memlimit = PCI_PPBMEMLIMIT(0,
646 pci_write_config(dev, PCIR_MEMLIMIT_1, sc->memlimit >> 16, 2);
852 (uintmax_t)sc->membase, (uintmax_t)sc->memlimit);
1550 ok = ok || (start >= sc->membase && end <= sc->memlimit);
1577 if (end > sc->memlimit)
1578 end = sc->memlimit;
1588 if (start < sc->memlimit && end > sc->membase)
1589 start = sc->memlimit + 1;
1609 (uintmax_t)sc->membase, (uintmax_t)sc->memlimit,
[all...]
H A Dpcivar.h181 uint32_t memlimit; /* topmost address of memory window */ member in struct:__anon8795

Completed in 144 milliseconds