Home
last modified time | relevance | path

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

/netbsd-src/tests/modules/x86_pte_tester/
H A Dx86_pte_tester.c67 } tester_ctx; variable
89 pd_entry_t *pd = (pd_entry_t *)tester_ctx.levels[0]; in scan_l1()
92 pmap_kenter_pa(tester_ctx.levels[0], pa, VM_PROT_READ, 0); in scan_l1()
96 tester_ctx.coord.l1 = i; in scan_l1()
102 pmap_kremove(tester_ctx.levels[0], PAGE_SIZE); in scan_l1()
109 pd_entry_t *pd = (pd_entry_t *)tester_ctx.levels[1]; in scan_l2()
113 pmap_kenter_pa(tester_ctx.levels[1], pa, VM_PROT_READ, 0); in scan_l2()
117 tester_ctx.coord.l2 = i; in scan_l2()
129 pmap_kremove(tester_ctx.levels[1], PAGE_SIZE); in scan_l2()
136 pd_entry_t *pd = (pd_entry_t *)tester_ctx.levels[2]; in scan_l3()
[all …]
/netbsd-src/tests/kernel/threadpool_tester/
H A Dthreadpool_tester.c56 } tester_ctx; variable
373 struct sysctllog **log = &tester_ctx.ctx_sysctllog; in threadpool_tester_init()
377 mutex_init(&tester_ctx.ctx_mutex, MUTEX_DEFAULT, IPL_NONE); in threadpool_tester_init()
378 threadpool_job_init(&tester_ctx.ctx_job, threadpool_tester_job, in threadpool_tester_init()
379 &tester_ctx.ctx_mutex, "tptest"); in threadpool_tester_init()
391 (void *)&tester_ctx, 0, CTL_CREATE, CTL_EOL); in threadpool_tester_init()
398 (void *)&tester_ctx, 0, CTL_CREATE, CTL_EOL); in threadpool_tester_init()
405 (void *)&tester_ctx, 0, CTL_CREATE, CTL_EOL); in threadpool_tester_init()
412 (void *)&tester_ctx, 0, CTL_CREATE, CTL_EOL); in threadpool_tester_init()
419 (void *)&tester_ctx, 0, CTL_CREATE, CTL_EOL); in threadpool_tester_init()
[all …]
/netbsd-src/tests/modules/threadpool_tester/
H A Dthreadpool_tester.c56 } tester_ctx; variable
373 struct sysctllog **log = &tester_ctx.ctx_sysctllog; in threadpool_tester_init()
377 mutex_init(&tester_ctx.ctx_mutex, MUTEX_DEFAULT, IPL_NONE); in threadpool_tester_init()
378 threadpool_job_init(&tester_ctx.ctx_job, threadpool_tester_job, in threadpool_tester_init()
379 &tester_ctx.ctx_mutex, "tptest"); in threadpool_tester_init()
391 (void *)&tester_ctx, 0, CTL_CREATE, CTL_EOL); in threadpool_tester_init()
398 (void *)&tester_ctx, 0, CTL_CREATE, CTL_EOL); in threadpool_tester_init()
405 (void *)&tester_ctx, 0, CTL_CREATE, CTL_EOL); in threadpool_tester_init()
412 (void *)&tester_ctx, 0, CTL_CREATE, CTL_EOL); in threadpool_tester_init()
419 (void *)&tester_ctx, 0, CTL_CREATE, CTL_EOL); in threadpool_tester_init()
[all …]
/netbsd-src/tests/modules/ufetchstore/
H A Dufetchstore_tester.c39 static struct tester_ctx { struct
41 } tester_ctx; variable
173 struct sysctllog **log = &tester_ctx.ctx_sysctllog; in ufetchstore_tester_init()
193 (void *)&tester_ctx, 0, CTL_CREATE, CTL_EOL); in ufetchstore_tester_init()
204 sysctl_teardown(&tester_ctx.ctx_sysctllog); in ufetchstore_tester_fini()
/netbsd-src/sys/rump/kern/lib/libsimplehook_tester/
H A Dsimplehook_tester.c73 } tester_ctx; variable
661 simplehook_tester_init_ctx(&tester_ctx); in simplehook_tester_init()
662 error = simplehook_tester_create_sysctl(&tester_ctx); in simplehook_tester_init()
675 ctx = &tester_ctx; in simplehook_tester_fini()