Lines Matching refs:miblen

45 	size_t miblen = sizeof(mib)/sizeof(size_t);  in do_arena_create()  local
47 assert_d_eq(mallctlnametomib("arena.0.dirty_decay_ms", mib, &miblen), 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()
57 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, in do_arena_create()
67 size_t miblen = sizeof(mib)/sizeof(size_t); in do_arena_destroy() local
68 assert_d_eq(mallctlnametomib("arena.0.destroy", mib, &miblen), 0, in do_arena_destroy()
71 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in do_arena_destroy()
85 size_t miblen = sizeof(mib)/sizeof(size_t); in do_purge() local
86 assert_d_eq(mallctlnametomib("arena.0.purge", mib, &miblen), 0, in do_purge()
89 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in do_purge()
96 size_t miblen = sizeof(mib)/sizeof(size_t); in do_decay() local
97 assert_d_eq(mallctlnametomib("arena.0.decay", mib, &miblen), 0, in do_decay()
100 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in do_decay()
107 size_t miblen = sizeof(mib)/sizeof(size_t); in get_arena_npurge_impl() local
108 assert_d_eq(mallctlnametomib(mibname, mib, &miblen), 0, in get_arena_npurge_impl()
113 assert_d_eq(mallctlbymib(mib, miblen, (void *)&npurge, &sz, NULL, 0), in get_arena_npurge_impl()
141 size_t miblen = sizeof(mib)/sizeof(size_t); in get_arena_pdirty() local
142 assert_d_eq(mallctlnametomib("stats.arenas.0.pdirty", mib, &miblen), 0, in get_arena_pdirty()
147 assert_d_eq(mallctlbymib(mib, miblen, (void *)&pdirty, &sz, NULL, 0), 0, in get_arena_pdirty()
156 size_t miblen = sizeof(mib)/sizeof(size_t); in get_arena_pmuzzy() local
157 assert_d_eq(mallctlnametomib("stats.arenas.0.pmuzzy", mib, &miblen), 0, in get_arena_pmuzzy()
162 assert_d_eq(mallctlbymib(mib, miblen, (void *)&pmuzzy, &sz, NULL, 0), 0, in get_arena_pmuzzy()