Lines Matching refs:ram
30 // Try to retype ram (should fail) then revoke RAM cap
46 struct capref ram;
66 st->ram = cap;
70 server_test_retype(st->ram, NULL, 0, BASE_PAGE_SIZE, 1, SYS_ERR_REVOKE_FIRST);
73 err = cap_revoke(st->ram);
84 server_test_retype(st->ram, NULL, 0, BASE_PAGE_SIZE, 1, SYS_ERR_OK);
97 struct capref ram; ///< Large RAM cap
115 err = ram_alloc(&cst->ram, RAM_BITS);
121 err = cap_retype(cst->frame, cst->ram, 0, ObjType_Frame, BASE_PAGE_SIZE, L2_CNODE_SLOTS);
125 err = test_caps__tx(b, NOP_CONT, SERVER_OP_RETYPE_THEN_REVOKE, cst->ram, NULL_CAP);
126 PANIC_IF_ERR(err, "in client: sending ram to server");
139 err = debug_cap_identify(st->ram, &c);