Home
last modified time | relevance | path

Searched refs:umem_max_ncpus (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libumem/common/
H A Dumem.c691 uint32_t umem_max_ncpus; /* # of CPU caches. */ variable
1274 int nchunks = 4 * umem_max_ncpus; in umem_log_init()
1275 size_t lhsize = offsetof(umem_log_header_t, lh_cpu[umem_max_ncpus]); in umem_log_init()
1311 for (i = 0; i < umem_max_ncpus; i++) { in umem_log_init()
1317 for (i = umem_max_ncpus; i < nchunks; i++) in umem_log_init()
1320 lhp->lh_head = umem_max_ncpus; in umem_log_init()
2327 for (cpu_seqid = 0; cpu_seqid < umem_max_ncpus; cpu_seqid++) { in umem_cache_magazine_purge()
2370 for (cpu_seqid = 0; cpu_seqid < umem_max_ncpus; cpu_seqid++) { in umem_cache_magazine_enable()
2677 csize = UMEM_CACHE_SIZE(umem_max_ncpus); in umem_cache_create()
2927 for (cpu_seqid = 0; cpu_seqid < umem_max_ncpus; cpu_seqid++) { in umem_cache_create()
[all …]
H A Dumem_fork.c69 for (idx = 0; idx < umem_max_ncpus; idx++) in umem_lockup_log_header()
84 for (idx = 0; idx < umem_max_ncpus; idx++) in umem_release_log_header()
H A Dumem_base.h84 extern uint32_t umem_max_ncpus;
H A Denvvar.c116 NULL, 0, &umem_max_ncpus
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c55 static uint32_t umem_max_ncpus; variable
82 if (umem_readvar(&umem_max_ncpus, "umem_max_ncpus") == -1 && in umem_update_variables()
83 umem_readvar(&umem_max_ncpus, "max_ncpus") == -1) { in umem_update_variables()
365 mdb_printf("Concurrency:\t%d\n", umem_max_ncpus); in umem_status()
479 ucw->ucw_max = umem_max_ncpus; in umem_cpu_walk_init()
932 magmax = (cp->cache_full.ml_total + 2 * umem_max_ncpus + 100) * magsize; in umem_read_magazines()
963 for (cpu = 0; cpu < umem_max_ncpus; cpu++) { in umem_read_magazines()
1139 csize = UMEM_CACHE_SIZE(umem_max_ncpus); in umem_walk_init_common()
2357 for (i = 0; i < umem_max_ncpus; i++) { in umem_log_walk()
2362 if (i == umem_max_ncpus) in umem_log_walk()
[all …]