Lines Matching refs:mib
44 size_t mib[3]; in do_arena_create() local
45 size_t miblen = sizeof(mib)/sizeof(size_t); in do_arena_create()
47 assert_d_eq(mallctlnametomib("arena.0.dirty_decay_ms", mib, &miblen), in do_arena_create()
49 mib[1] = (size_t)arena_ind; in do_arena_create()
50 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, in do_arena_create()
54 assert_d_eq(mallctlnametomib("arena.0.muzzy_decay_ms", mib, &miblen), in do_arena_create()
56 mib[1] = (size_t)arena_ind; in do_arena_create()
57 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, in do_arena_create()
66 size_t mib[3]; in do_arena_destroy() local
67 size_t miblen = sizeof(mib)/sizeof(size_t); in do_arena_destroy()
68 assert_d_eq(mallctlnametomib("arena.0.destroy", mib, &miblen), 0, in do_arena_destroy()
70 mib[1] = (size_t)arena_ind; in do_arena_destroy()
71 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in do_arena_destroy()
84 size_t mib[3]; in do_purge() local
85 size_t miblen = sizeof(mib)/sizeof(size_t); in do_purge()
86 assert_d_eq(mallctlnametomib("arena.0.purge", mib, &miblen), 0, in do_purge()
88 mib[1] = (size_t)arena_ind; in do_purge()
89 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in do_purge()
95 size_t mib[3]; in do_decay() local
96 size_t miblen = sizeof(mib)/sizeof(size_t); in do_decay()
97 assert_d_eq(mallctlnametomib("arena.0.decay", mib, &miblen), 0, in do_decay()
99 mib[1] = (size_t)arena_ind; in do_decay()
100 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in do_decay()
106 size_t mib[4]; in get_arena_npurge_impl() local
107 size_t miblen = sizeof(mib)/sizeof(size_t); in get_arena_npurge_impl()
108 assert_d_eq(mallctlnametomib(mibname, mib, &miblen), 0, in get_arena_npurge_impl()
110 mib[2] = (size_t)arena_ind; in get_arena_npurge_impl()
113 assert_d_eq(mallctlbymib(mib, miblen, (void *)&npurge, &sz, NULL, 0), in get_arena_npurge_impl()
140 size_t mib[4]; in get_arena_pdirty() local
141 size_t miblen = sizeof(mib)/sizeof(size_t); in get_arena_pdirty()
142 assert_d_eq(mallctlnametomib("stats.arenas.0.pdirty", mib, &miblen), 0, in get_arena_pdirty()
144 mib[2] = (size_t)arena_ind; in get_arena_pdirty()
147 assert_d_eq(mallctlbymib(mib, miblen, (void *)&pdirty, &sz, NULL, 0), 0, in get_arena_pdirty()
155 size_t mib[4]; in get_arena_pmuzzy() local
156 size_t miblen = sizeof(mib)/sizeof(size_t); in get_arena_pmuzzy()
157 assert_d_eq(mallctlnametomib("stats.arenas.0.pmuzzy", mib, &miblen), 0, in get_arena_pmuzzy()
159 mib[2] = (size_t)arena_ind; in get_arena_pmuzzy()
162 assert_d_eq(mallctlbymib(mib, miblen, (void *)&pmuzzy, &sz, NULL, 0), 0, in get_arena_pmuzzy()