Home
last modified time | relevance | path

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

/netbsd-src/tests/rump/kernspace/
H A Dbusypage.c46 static struct vm_page *testpg; variable
55 mutex_enter(&testpg->interlock); in thread()
58 mutex_exit(&testpg->interlock); in thread()
61 uvm_pagewait(testpg, uobj->vmobjlock, "tw"); in thread()
76 testpg = uvm_pagealloc(uobj, 0, NULL, 0); in rumptest_busypage()
78 if (testpg == NULL) in rumptest_busypage()
88 mutex_enter(&testpg->interlock); in rumptest_busypage()
90 cv_wait(&tcv, &testpg->interlock); in rumptest_busypage()
91 mutex_exit(&testpg->interlock); in rumptest_busypage()
94 uvm_page_unbusy(&testpg, 1); in rumptest_busypage()