/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
H A D | pwhash_argon2i.c | 143 unsigned long long opslimit, size_t memlimit, int alg) in crypto_pwhash_argon2i() argument 156 memlimit > crypto_pwhash_argon2i_MEMLIMIT_MAX) { in crypto_pwhash_argon2i() 162 memlimit < crypto_pwhash_argon2i_MEMLIMIT_MIN) { in crypto_pwhash_argon2i() 168 if (argon2i_hash_raw((uint32_t) opslimit, (uint32_t) (memlimit / 1024U), in crypto_pwhash_argon2i() 185 unsigned long long opslimit, size_t memlimit) in crypto_pwhash_argon2i_str() argument 192 memlimit > crypto_pwhash_argon2i_MEMLIMIT_MAX) { in crypto_pwhash_argon2i_str() 198 memlimit < crypto_pwhash_argon2i_MEMLIMIT_MIN) { in crypto_pwhash_argon2i_str() 203 if (argon2i_hash_encoded((uint32_t) opslimit, (uint32_t) (memlimit / 1024U), in crypto_pwhash_argon2i_str() 241 _needs_rehash(const char *str, unsigned long long opslimit, size_t memlimit, in _needs_rehash() argument 250 memlimit /= 1024U; in _needs_rehash() [all …]
|
H A D | pwhash_argon2id.c | 139 unsigned long long opslimit, size_t memlimit, int alg) in crypto_pwhash_argon2id() argument 152 memlimit > crypto_pwhash_argon2id_MEMLIMIT_MAX) { in crypto_pwhash_argon2id() 158 memlimit < crypto_pwhash_argon2id_MEMLIMIT_MIN) { in crypto_pwhash_argon2id() 164 if (argon2id_hash_raw((uint32_t) opslimit, (uint32_t) (memlimit / 1024U), in crypto_pwhash_argon2id() 181 unsigned long long opslimit, size_t memlimit) in crypto_pwhash_argon2id_str() argument 188 memlimit > crypto_pwhash_argon2id_MEMLIMIT_MAX) { in crypto_pwhash_argon2id_str() 194 memlimit < crypto_pwhash_argon2id_MEMLIMIT_MIN) { in crypto_pwhash_argon2id_str() 199 if (argon2id_hash_encoded((uint32_t) opslimit, (uint32_t) (memlimit / 1024U), in crypto_pwhash_argon2id_str()
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/ |
H A D | crypto_pwhash.c | 132 unsigned long long opslimit, size_t memlimit, int alg) in crypto_pwhash() argument 137 opslimit, memlimit, alg); in crypto_pwhash() 140 opslimit, memlimit, alg); in crypto_pwhash() 150 unsigned long long opslimit, size_t memlimit) in crypto_pwhash_str() argument 153 opslimit, memlimit); in crypto_pwhash_str() 159 unsigned long long opslimit, size_t memlimit, int alg) in crypto_pwhash_str_alg() argument 164 opslimit, memlimit); in crypto_pwhash_str_alg() 167 opslimit, memlimit); in crypto_pwhash_str_alg() 193 unsigned long long opslimit, size_t memlimit) in crypto_pwhash_str_needs_rehash() argument 197 return crypto_pwhash_argon2id_str_needs_rehash(str, opslimit, memlimit); in crypto_pwhash_str_needs_rehash() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/ |
H A D | pwhash_scryptsalsa208sha256.c | 19 pickparams(unsigned long long opslimit, const size_t memlimit, in pickparams() argument 29 if (opslimit < memlimit / 32) { in pickparams() 38 maxN = memlimit / ((size_t) *r * 128); in pickparams() 162 unsigned long long opslimit, size_t memlimit) in crypto_pwhash_scryptsalsa208sha256() argument 175 pickparams(opslimit, memlimit, &N_log2, &p, &r) != 0) { in crypto_pwhash_scryptsalsa208sha256() 189 unsigned long long opslimit, size_t memlimit) in crypto_pwhash_scryptsalsa208sha256_str() argument 204 pickparams(opslimit, memlimit, &N_log2, &p, &r) != 0) { in crypto_pwhash_scryptsalsa208sha256_str() 272 unsigned long long opslimit, size_t memlimit) in crypto_pwhash_scryptsalsa208sha256_str_needs_rehash() argument 278 if (pickparams(opslimit, memlimit, &N_log2, &p, &r) != 0) { in crypto_pwhash_scryptsalsa208sha256_str_needs_rehash()
|
/freebsd/sys/contrib/libsodium/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)
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | LZMA.cpp | 95 uint64_t memlimit(UINT64_MAX); 98 &xzindex, &memlimit, nullptr, 128 uint64_t memlimit = UINT64_MAX; 132 &memlimit, 0, nullptr, InputBuffer.data(), &inpos, InputBuffer.size(),
|
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | pwhash_scrypt.c | 18 size_t memlimit; in tv() member 108 tests[i].opslimit, tests[i].memlimit) != 0) { in tv() 125 size_t memlimit; in tv2() member 157 tests[i].opslimit, tests[i].memlimit) != 0) { in tv2()
|
H A D | pwhash_argon2i.c | 18 size_t memlimit; in tv() member 95 tests[i].opslimit, tests[i].memlimit, in tv() 115 size_t memlimit; in tv2() member 147 tests[i].opslimit, tests[i].memlimit, in tv2()
|
H A D | pwhash_argon2id.c | 18 size_t memlimit; in tv() member 95 tests[i].opslimit, tests[i].memlimit, in tv() 115 size_t memlimit; in tv2() member 147 tests[i].opslimit, tests[i].memlimit, in tv2()
|
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | BugDriver.cpp | 79 unsigned memlimit, bool use_valgrind, LLVMContext &ctxt) in BugDriver() argument 83 MemoryLimit(memlimit), UseValgrind(use_valgrind) {} in BugDriver()
|
H A D | BugDriver.h | 64 unsigned memlimit, bool use_valgrind, LLVMContext &ctxt);
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zcp.c | 1039 uint64_t instrlimit, uint64_t memlimit, nvpair_t *nvarg, nvlist_t *outnvl) in zcp_eval() argument 1047 if (memlimit == 0 || memlimit > zfs_lua_max_memlimit) in zcp_eval() 1052 .aa_alloc_remaining = (int64_t)memlimit, in zcp_eval() 1053 .aa_alloc_limit = (int64_t)memlimit, in zcp_eval()
|
H A D | zfs_ioctl.c | 4060 uint64_t instrlimit, memlimit; in zfs_ioc_channel_program() local 4071 if (0 != nvlist_lookup_uint64(innvl, ZCP_ARG_MEMLIMIT, &memlimit)) { in zfs_ioc_channel_program() 4072 memlimit = ZCP_DEFAULT_MEMLIMIT; in zfs_ioc_channel_program() 4078 if (memlimit == 0 || memlimit > zfs_lua_max_memlimit) in zfs_ioc_channel_program() 4081 return (zcp_eval(poolname, program, sync_flag, instrlimit, memlimit, in zfs_ioc_channel_program()
|
/freebsd/sys/contrib/openzfs/lib/libzfs_core/ |
H A D | libzfs_core.c | 1506 uint64_t instrlimit, uint64_t memlimit, nvlist_t *argnvl, nvlist_t **outnvl) in lzc_channel_program_impl() argument 1516 fnvlist_add_uint64(args, ZCP_ARG_MEMLIMIT, memlimit); in lzc_channel_program_impl() 1558 uint64_t memlimit, nvlist_t *argnvl, nvlist_t **outnvl) in lzc_channel_program() argument 1561 memlimit, argnvl, outnvl)); in lzc_channel_program() 1666 uint64_t timeout, uint64_t memlimit, nvlist_t *argnvl, nvlist_t **outnvl) in lzc_channel_program_nosync() argument 1669 memlimit, argnvl, outnvl)); in lzc_channel_program_nosync()
|
H A D | libzfs_core.abi | 3085 <parameter type-id='9c313c2d' name='memlimit'/> 3107 <parameter type-id='9c313c2d' name='memlimit'/>
|
/freebsd/contrib/lua/src/ |
H A D | ltests.h | 53 unsigned long memlimit; member
|
H A D | ltests.c | 214 if (mc->memlimit == 0) { /* first time? */ in debug_realloc() 216 mc->memlimit = limit ? strtoul(limit, NULL, 10) : ULONG_MAX; in debug_realloc() 240 if (size > oldsize && mc->total+size-oldsize > mc->memlimit) in debug_realloc() 848 l_memcontrol.memlimit = limit; in mem_query()
|
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
H A D | _libzfs_core.py | 909 memlimit=ZCP_DEFAULT_MEMLIMIT, params=None argument 940 poolname, program, instrlimit, memlimit, params_nv, outnvl) 948 memlimit=ZCP_DEFAULT_MEMLIMIT, params=None argument 985 poolname, program, instrlimit, memlimit, params_nv, outnvl)
|
/freebsd/sys/dev/pci/ |
H A D | pcivar.h | 235 uint32_t memlimit; /* topmost address of memory window */ member
|
/freebsd/sys/contrib/zstd/ |
H A D | CHANGELOG | 511 New : command -M#, --memory=, --memlimit=, --memlimit-decompress= to limit allowed memory consumpti…
|
/freebsd/sys/contrib/openzfs/cmd/zfs/ |
H A D | zfs_main.c | 8386 uint64_t memlimit = ZCP_DEFAULT_MEMLIMIT; in zfs_do_channel_program() local 8417 memlimit = arg; in zfs_do_channel_program() 8505 instrlimit, memlimit, argnvl, &outnvl); in zfs_do_channel_program() 8508 instrlimit, memlimit, argnvl, &outnvl); in zfs_do_channel_program()
|
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/test/ |
H A D | test_libzfs_core.py | 3559 lzc.lzc_channel_program(pool, zcp, memlimit=1) 3569 lzc.lzc_channel_program(pool, zcp, memlimit=0)
|