Searched refs:sstats (Results 1 – 2 of 2) sorted by relevance
110 struct sysinfo sstats; in setup() local122 sysinfo(&sstats); in setup()123 total_free = sstats.freeram; in setup()125 max_pids = total_free * sstats.mem_unit in setup()132 * (sstats.mem_unit * total_free); in setup()
56 static void ctl_arena_stats_smerge(ctl_arena_stats_t *sstats,588 ctl_arena_stats_smerge(ctl_arena_stats_t *sstats, ctl_arena_stats_t *astats) in ctl_arena_stats_smerge() argument592 sstats->nthreads += astats->nthreads; in ctl_arena_stats_smerge()593 sstats->pactive += astats->pactive; in ctl_arena_stats_smerge()594 sstats->pdirty += astats->pdirty; in ctl_arena_stats_smerge()597 sstats->astats.mapped += astats->astats.mapped; in ctl_arena_stats_smerge()598 sstats->astats.retained += astats->astats.retained; in ctl_arena_stats_smerge()599 sstats->astats.npurge += astats->astats.npurge; in ctl_arena_stats_smerge()600 sstats->astats.nmadvise += astats->astats.nmadvise; in ctl_arena_stats_smerge()601 sstats->astats.purged += astats->astats.purged; in ctl_arena_stats_smerge()[all …]