Home
last modified time | relevance | path

Searched refs:maxmem (Results 1 – 25 of 62) sorted by relevance

123

/netbsd/crypto/external/bsd/openssl/dist/crypto/evp/
H A Dpbe_scrypt.c39 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, in EVP_PBE_scrypt_ex() argument
63 if (maxmem == 0) in EVP_PBE_scrypt_ex()
64 maxmem = SCRYPT_MAX_MEM; in EVP_PBE_scrypt_ex()
81 *z++ = OSSL_PARAM_construct_uint64(OSSL_KDF_PARAM_SCRYPT_MAXMEM, &maxmem); in EVP_PBE_scrypt_ex()
92 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, in EVP_PBE_scrypt() argument
95 return EVP_PBE_scrypt_ex(pass, passlen, salt, saltlen, N, r, p, maxmem, in EVP_PBE_scrypt()
/netbsd/sys/arch/newsmips/stand/boot/
H A Dboot.c65 int maxmem; in boot() local
108 maxmem = _sip->apbsi_memsize; in boot()
109 maxmem -= 0x100000; /* reserve 1MB for ROM monitor */ in boot()
114 DPRINTF("maxmem = 0x%x\n", maxmem); in boot()
133 maxmem = a3; in boot()
138 DPRINTF("maxmem = 0x%x\n", maxmem); in boot()
191 bi_arg.maxmem = maxmem; in boot()
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/evp/
H A Dpbe_scrypt.c160 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, in EVP_PBE_scrypt() argument
224 if (maxmem == 0) in EVP_PBE_scrypt()
225 maxmem = SCRYPT_MAX_MEM; in EVP_PBE_scrypt()
228 if (maxmem > SIZE_MAX) in EVP_PBE_scrypt()
229 maxmem = SIZE_MAX; in EVP_PBE_scrypt()
231 if (Blen + Vlen > maxmem) { in EVP_PBE_scrypt()
/netbsd/external/bsd/unbound/dist/validator/
H A Dval_kcache.c54 size_t numtables, start_size, maxmem; in key_cache_create() local
61 maxmem = cfg->key_cache_size; in key_cache_create()
62 kcache->slab = slabhash_create(numtables, start_size, maxmem, in key_cache_create()
/netbsd/external/bsd/top/dist/machine/
H A Dm_macosx.c119 static int maxmem; variable
470 100.0 * TP(pp, resident_size) / maxmem, in format_next_process()
707 memory_stats[0] = pagetok(maxmem / pagesize); in get_system_info()
747 size = sizeof(maxmem); in machine_init()
748 sysctlbyname("hw.physmem", &maxmem, &size, NULL, 0); in machine_init()
754 printf("%-30s%10d\n", "total system memory:", maxmem); in machine_init()
H A Dm_irix5.c307 static int maxmem; local
324 (void) getkval(maxmem_offset, (int *) (&maxmem), sizeof(maxmem), "maxmem");
334 memory_stats[0] = pagetok(maxmem);
/netbsd/external/bsd/openldap/dist/contrib/ldaptcl/
H A DneoXldap.c113 long maxmem; /* maxmem from last cache enable */ member
949 ldap_enable_cache(ldap, ldaptcl->timeout, ldaptcl->maxmem);
979 ldap_enable_cache(ldap, ldaptcl->timeout, ldaptcl->maxmem);
1050 long maxmem = ldaptcl->maxmem; local
1069 if (Tcl_GetLongFromObj (interp, objv [4], &maxmem) == TCL_ERROR)
1072 if (ldap_enable_cache (ldap, timeout, maxmem) == -1) {
1082 ldaptcl->maxmem = maxmem;
1439 ldaptcl->maxmem = 0;
/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/kdfs/
H A Dscrypt.c38 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem,
412 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, in scrypt_alg() argument
478 if (maxmem > SIZE_MAX) in scrypt_alg()
479 maxmem = SIZE_MAX; in scrypt_alg()
481 if (Blen + Vlen > maxmem) { in scrypt_alg()
/netbsd/crypto/external/bsd/openssl/dist/test/recipes/30-test_evp_data/
H A Devppbe_scrypt.txt42 # uncomment out the "maxmem" line and comment out the "Result"
52 #maxmem = 10000000000
/netbsd/sys/arch/newsmips/include/
H A Dbootinfo.h60 int maxmem; member
/netbsd/external/bsd/unbound/dist/util/storage/
H A Dslabhash.c49 size_t maxmem, lruhash_sizefunc_type sizefunc, in slabhash_create() argument
77 sl->array[i] = lruhash_create(start_size, maxmem / sl->size, in slabhash_create()
H A Dslabhash.h83 size_t maxmem, lruhash_sizefunc_type sizefunc,
H A Dlruhash.h238 struct lruhash* lruhash_create(size_t start_size, size_t maxmem,
/netbsd/sys/arch/algor/algor/
H A Dmachdep.c156 int maxmem; /* max memory per process */ variable
466 maxmem = physmem; in mach_init()
/netbsd/crypto/external/bsd/openssl.old/dist/test/recipes/30-test_evp_data/
H A Devppbe.txt43 # uncomment out the "maxmem" line and comment out the "Result"
53 #maxmem = 10000000000
/netbsd/sys/arch/arc/arc/
H A Dmachdep.c128 int maxmem; /* max memory per process */ variable
364 maxmem = physmem; in mach_init()
/netbsd/sys/arch/luna68k/luna68k/
H A Dpmap_bootstrap.c54 extern int maxmem;
411 RELOC(avail_end, paddr_t) = m68k_ptob(RELOC(maxmem, int)) - in pmap_bootstrap()
/netbsd/sys/arch/x68k/x68k/
H A Dpmap_bootstrap.c55 extern int maxmem;
407 RELOC(avail_end, paddr_t) = m68k_ptob(RELOC(maxmem, int)); in pmap_bootstrap()
H A Dmachdep.c126 int maxmem; /* max memory per process */ variable
1236 if (maxmem < m68k_btop(exend)) in setmemrange()
1237 maxmem = m68k_btop(exend); in setmemrange()
/netbsd/sys/arch/news68k/news68k/
H A Dpmap_bootstrap.c59 extern int maxmem;
435 RELOC(avail_end, paddr_t) = m68k_ptob(RELOC(maxmem, int)) - in pmap_bootstrap()
/netbsd/sys/arch/amiga/amiga/
H A Dpmap_bootstrap.c117 toads = maxmem << PGSHIFT; in pmap_bootstrap()
/netbsd/sys/arch/hp300/hp300/
H A Dpmap_bootstrap.c56 extern int maxmem;
456 RELOC(avail_end, paddr_t) = m68k_ptob(RELOC(maxmem, int)) - in pmap_bootstrap()
/netbsd/sys/arch/evbmips/atheros/
H A Dmachdep.c150 int maxmem; /* max memory per process */ variable
/netbsd/external/bsd/unbound/dist/services/cache/
H A Dinfra.c237 size_t maxmem = cfg->infra_cache_numhosts * (sizeof(struct infra_key)+ in infra_create() local
243 INFRA_HOST_STARTSIZE, maxmem, &infra_sizefunc, &infra_compfunc, in infra_create()
300 size_t maxmem; in infra_adjust() local
307 maxmem = cfg->infra_cache_numhosts * (sizeof(struct infra_key)+ in infra_adjust()
312 if(!slabhash_is_size(infra->hosts, maxmem, cfg->infra_cache_slabs) || in infra_adjust()
/netbsd/sys/arch/evbmips/ingenic/
H A Dmachdep.c73 int maxmem; /* max memory per process */ variable

123