Lines Matching defs:page
23 // Allocates a single page, translates it to a vm_page_t and frees it.
27 vm_page_t* page;
29 zx_status_t status = pmm_alloc_page(0, &page, &pa);
30 ASSERT_EQ(ZX_OK, status, "pmm_alloc single page");
31 ASSERT_NE(nullptr, page, "pmm_alloc single page");
32 ASSERT_NE(0u, pa, "pmm_alloc single page");
35 ASSERT_EQ(page2, page, "paddr_to_vm_page on single page");
37 pmm_free_page(page);
73 // Allocates one page and frees it.
429 // Creates a page VMO and pins the same pages multiple times
450 EXPECT_EQ(ZX_OK, status, "pinning first page max times\n");
453 EXPECT_EQ(ZX_ERR_UNAVAILABLE, status, "page is pinned too much\n");
503 ASSERT_EQ(ZX_OK, status, "vm page allocation\n");
935 // Should fail, since first page isn't mapped
941 // Should fail, but see the mapped page