/netbsd-current/external/public-domain/xz/dist/src/liblzma/common/ |
H A D | alone_decoder.h | 21 uint64_t memlimit, bool picky);
|
H A D | stream_decoder.h | 20 uint64_t memlimit, uint32_t flags);
|
H A D | auto_decoder.c | 21 uint64_t memlimit; member in struct:__anon16188 56 coder->memlimit, coder->flags)); 59 allocator, coder->memlimit, true)); 136 assert(*old_memlimit == coder->memlimit); 141 *old_memlimit = coder->memlimit; 149 coder->memlimit = new_memlimit; 157 uint64_t memlimit, uint32_t flags) 178 coder->memlimit = my_max(1, memlimit); 187 lzma_auto_decoder(lzma_stream *strm, uint64_t memlimit, uint32_ 156 auto_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, uint64_t memlimit, uint32_t flags) argument [all...] |
H A D | index_decoder.c | 30 uint64_t memlimit; member in struct:__anon16202 101 if (lzma_index_memusage(1, coder->count) > coder->memlimit) { 228 *old_memlimit = coder->memlimit; 234 coder->memlimit = new_memlimit; 243 lzma_index **i, uint64_t memlimit) 259 coder->memlimit = my_max(1, memlimit); 270 lzma_index **i, uint64_t memlimit) 292 return index_decoder_reset(coder, allocator, i, memlimit); 297 lzma_index_decoder(lzma_stream *strm, lzma_index **i, uint64_t memlimit) 242 index_decoder_reset(lzma_index_coder *coder, const lzma_allocator *allocator, lzma_index **i, uint64_t memlimit) argument 269 index_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, lzma_index **i, uint64_t memlimit) argument [all...] |
H A D | alone_decoder.c | 41 uint64_t memlimit; member in struct:__anon16184 131 if (coder->memusage > coder->memlimit) 187 *old_memlimit = coder->memlimit; 193 coder->memlimit = new_memlimit; 202 uint64_t memlimit, bool picky) 227 coder->memlimit = my_max(1, memlimit); 235 lzma_alone_decoder(lzma_stream *strm, uint64_t memlimit) 237 lzma_next_strm_init(lzma_alone_decoder_init, strm, memlimit, false); 201 lzma_alone_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, uint64_t memlimit, bool picky) argument
|
H A D | stream_buffer_decoder.c | 17 lzma_stream_buffer_decode(uint64_t *memlimit, uint32_t flags, 38 &stream_decoder, allocator, *memlimit, flags); 80 memlimit, &memusage, 0);
|
H A D | stream_decoder.c | 44 uint64_t memlimit; member in struct:__anon16206 223 if (memusage > coder->memlimit) { 405 *old_memlimit = coder->memlimit; 411 coder->memlimit = new_memlimit; 421 uint64_t memlimit, uint32_t flags) 444 coder->memlimit = my_max(1, memlimit); 459 lzma_stream_decoder(lzma_stream *strm, uint64_t memlimit, uint32_t flags) 461 lzma_next_strm_init(lzma_stream_decoder_init, strm, memlimit, flags); 419 lzma_stream_decoder_init( lzma_next_coder *next, const lzma_allocator *allocator, uint64_t memlimit, uint32_t flags) argument
|
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/ |
H A D | crypto_pwhash.c | 132 unsigned long long opslimit, size_t memlimit, int alg) 137 opslimit, memlimit, alg); 140 opslimit, memlimit, alg); 150 unsigned long long opslimit, size_t memlimit) 153 opslimit, memlimit); 159 unsigned long long opslimit, size_t memlimit, int alg) 164 opslimit, memlimit); 167 opslimit, memlimit); 193 unsigned long long opslimit, size_t memlimit) 197 return crypto_pwhash_argon2id_str_needs_rehash(str, opslimit, memlimit); 129 crypto_pwhash(unsigned char * const out, unsigned long long outlen, const char * const passwd, unsigned long long passwdlen, const unsigned char * const salt, unsigned long long opslimit, size_t memlimit, int alg) argument 148 crypto_pwhash_str(char out[crypto_pwhash_STRBYTES], const char * const passwd, unsigned long long passwdlen, unsigned long long opslimit, size_t memlimit) argument 157 crypto_pwhash_str_alg(char out[crypto_pwhash_STRBYTES], const char * const passwd, unsigned long long passwdlen, unsigned long long opslimit, size_t memlimit, int alg) argument 192 crypto_pwhash_str_needs_rehash(const char str[crypto_pwhash_STRBYTES], unsigned long long opslimit, size_t memlimit) argument [all...] |
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/ |
H A D | pwhash_argon2i.c | 143 unsigned long long opslimit, size_t memlimit, int alg) 156 memlimit > crypto_pwhash_argon2i_MEMLIMIT_MAX) { 162 memlimit < crypto_pwhash_argon2i_MEMLIMIT_MIN) { 168 if (argon2i_hash_raw((uint32_t) opslimit, (uint32_t) (memlimit / 1024U), 185 unsigned long long opslimit, size_t memlimit) 192 memlimit > crypto_pwhash_argon2i_MEMLIMIT_MAX) { 198 memlimit < crypto_pwhash_argon2i_MEMLIMIT_MIN) { 203 if (argon2i_hash_encoded((uint32_t) opslimit, (uint32_t) (memlimit / 1024U), 241 _needs_rehash(const char *str, unsigned long long opslimit, size_t memlimit, argument 250 memlimit / 140 crypto_pwhash_argon2i(unsigned char *const out, unsigned long long outlen, const char *const passwd, unsigned long long passwdlen, const unsigned char *const salt, unsigned long long opslimit, size_t memlimit, int alg) argument 182 crypto_pwhash_argon2i_str(char out[crypto_pwhash_argon2i_STRBYTES], const char *const passwd, unsigned long long passwdlen, unsigned long long opslimit, size_t memlimit) argument 279 crypto_pwhash_argon2i_str_needs_rehash(const char str[crypto_pwhash_argon2i_STRBYTES], unsigned long long opslimit, size_t memlimit) argument 286 crypto_pwhash_argon2id_str_needs_rehash(const char str[crypto_pwhash_argon2id_STRBYTES], unsigned long long opslimit, size_t memlimit) argument [all...] |
H A D | pwhash_argon2id.c | 139 unsigned long long opslimit, size_t memlimit, int alg) 152 memlimit > crypto_pwhash_argon2id_MEMLIMIT_MAX) { 158 memlimit < crypto_pwhash_argon2id_MEMLIMIT_MIN) { 164 if (argon2id_hash_raw((uint32_t) opslimit, (uint32_t) (memlimit / 1024U), 181 unsigned long long opslimit, size_t memlimit) 188 memlimit > crypto_pwhash_argon2id_MEMLIMIT_MAX) { 194 memlimit < crypto_pwhash_argon2id_MEMLIMIT_MIN) { 199 if (argon2id_hash_encoded((uint32_t) opslimit, (uint32_t) (memlimit / 1024U), 136 crypto_pwhash_argon2id(unsigned char *const out, unsigned long long outlen, const char *const passwd, unsigned long long passwdlen, const unsigned char *const salt, unsigned long long opslimit, size_t memlimit, int alg) argument 178 crypto_pwhash_argon2id_str(char out[crypto_pwhash_argon2id_STRBYTES], const char *const passwd, unsigned long long passwdlen, unsigned long long opslimit, size_t memlimit) argument
|
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/ |
H A D | crypto_pwhash.h | 107 unsigned long long opslimit, size_t memlimit, int alg) 118 unsigned long long opslimit, size_t memlimit) 124 unsigned long long opslimit, size_t memlimit, int alg) 135 unsigned long long opslimit, size_t memlimit)
|
H A D | crypto_pwhash_argon2i.h | 96 unsigned long long opslimit, size_t memlimit, 104 unsigned long long opslimit, size_t memlimit) 115 unsigned long long opslimit, size_t memlimit)
|
H A D | crypto_pwhash_argon2id.h | 96 unsigned long long opslimit, size_t memlimit, 104 unsigned long long opslimit, size_t memlimit) 115 unsigned long long opslimit, size_t memlimit)
|
H A D | crypto_pwhash_scryptsalsa208sha256.h | 86 size_t memlimit) 94 size_t memlimit) 113 size_t memlimit)
|
/netbsd-current/external/public-domain/xz/dist/src/xz/ |
H A D | hardware.c | 93 const uint64_t memlimit = mode == MODE_COMPRESS local 95 return memlimit != 0 ? memlimit : UINT64_MAX;
|
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/scryptsalsa208sha256/ |
H A D | pwhash_scryptsalsa208sha256.c | 19 pickparams(unsigned long long opslimit, const size_t memlimit, argument 29 if (opslimit < memlimit / 32) { 38 maxN = memlimit / ((size_t) *r * 128); 151 unsigned long long opslimit, size_t memlimit) 164 pickparams(opslimit, memlimit, &N_log2, &p, &r) != 0) { 178 unsigned long long opslimit, size_t memlimit) 193 pickparams(opslimit, memlimit, &N_log2, &p, &r) != 0) { 261 unsigned long long opslimit, size_t memlimit) 267 if (pickparams(opslimit, memlimit, &N_log2, &p, &r) != 0) { 146 crypto_pwhash_scryptsalsa208sha256(unsigned char *const out, unsigned long long outlen, const char *const passwd, unsigned long long passwdlen, const unsigned char *const salt, unsigned long long opslimit, size_t memlimit) argument 175 crypto_pwhash_scryptsalsa208sha256_str( char out[crypto_pwhash_scryptsalsa208sha256_STRBYTES], const char *const passwd, unsigned long long passwdlen, unsigned long long opslimit, size_t memlimit) argument 259 crypto_pwhash_scryptsalsa208sha256_str_needs_rehash( const char str[crypto_pwhash_scryptsalsa208sha256_STRBYTES], unsigned long long opslimit, size_t memlimit) argument
|
/netbsd-current/sys/fs/tmpfs/ |
H A D | tmpfs_mem.c | 52 tmpfs_mntmem_init(struct tmpfs_mount *mp, uint64_t memlimit) argument 56 mp->tm_mem_limit = memlimit; 69 tmpfs_mntmem_set(struct tmpfs_mount *mp, uint64_t memlimit) argument 74 if (round_page(mp->tm_bytes_used) >= memlimit) 78 mp->tm_mem_limit = memlimit;
|
H A D | tmpfs_vfsops.c | 93 uint64_t memlimit; local 137 memlimit = UINT64_MAX; 140 memlimit = args->ta_size_max; 143 KASSERT(memlimit > 0); 146 nodes = 3 + (memlimit / 1024); 169 if ((error = tmpfs_mntmem_set(tmp, memlimit)) != 0) 196 tmpfs_mntmem_init(tmp, memlimit);
|
/netbsd-current/external/public-domain/xz/dist/src/liblzma/api/lzma/ |
H A D | container.h | 522 * \param memlimit Memory usage limit as bytes. Use UINT64_MAX 537 lzma_stream *strm, uint64_t memlimit, uint32_t flags) 549 * \param memlimit Memory usage limit as bytes. Use UINT64_MAX 562 lzma_stream *strm, uint64_t memlimit, uint32_t flags) 570 * \param memlimit Memory usage limit as bytes. Use UINT64_MAX 585 lzma_stream *strm, uint64_t memlimit) 592 * \param memlimit Pointer to how much memory the decoder is allowed 623 * The minimum required memlimit value was stored to *memlimit. 628 uint64_t *memlimit, uint32_ [all...] |
H A D | index.h | 611 * \param memlimit How much memory the resulting lzma_index is 629 lzma_stream *strm, lzma_index **i, uint64_t memlimit) 665 * \param memlimit Pointer to how much memory the resulting 679 * The minimum required memlimit value was stored to *memlimit. 684 uint64_t *memlimit, const lzma_allocator *allocator,
|
H A D | base.h | 606 * with a function that takes a memlimit argument. With other functions, you 632 * a function that takes a memlimit argument. 645 * a function that takes a memlimit argument. 647 * liblzma 5.2.3 and earlier has a bug where memlimit value of 0 causes 659 lzma_stream *strm, uint64_t memlimit) lzma_nothrow;
|
/netbsd-current/external/public-domain/xz/dist/tests/ |
H A D | test_bcj_exact_size.c | 95 uint64_t memlimit = 1 << 20; local 98 expect(lzma_stream_buffer_decode(&memlimit, 0, NULL,
|
/netbsd-current/sys/external/isc/libsodium/dist/test/default/ |
H A D | pwhash_scrypt.c | 18 size_t memlimit; member in struct:__anon366 108 tests[i].opslimit, tests[i].memlimit) != 0) { 125 size_t memlimit; member in struct:__anon367 157 tests[i].opslimit, tests[i].memlimit) != 0) {
|
H A D | pwhash_argon2i.c | 18 size_t memlimit; member in struct:__anon360 95 tests[i].opslimit, tests[i].memlimit, 115 size_t memlimit; member in struct:__anon361 147 tests[i].opslimit, tests[i].memlimit,
|
/netbsd-current/sys/arch/sandpoint/stand/altboot/ |
H A D | pci.c | 53 unsigned memstart, memlimit; variable 62 memlimit = PCI_MEMLIMIT; 246 val = (memlimit & 0xffff0000) | (val & 0xffff0000) >> 16; 309 if (mapbase + size > memlimit)
|