Lines Matching refs:bytes
55 size_t bytes = DEFAULT_SIZE;
60 printf("\tpagesize: %i, \taddr: %i\n", (int)bytes, (int)SAFE_VADDR);
67 err = frame_alloc(&frame, bytes, &bytes);
69 assert(bytes >= DEFAULT_SIZE);
108 bytes = DEFAULT_SIZE;
109 err = frame_alloc(&frame, bytes, &bytes);
111 assert(bytes >= DEFAULT_SIZE);
113 a.size = bytes;
128 err = pmap->f.map(pmap, address, frame, 0, bytes, PMAP_DEFAULT_ACCESS | 0x0100, NULL, &bytes);
137 err = pmap->f.unmap(pmap, address, bytes, NULL);
151 bytes = 30*DEFAULT_SIZE;
152 err = frame_alloc(&frame, bytes, &bytes);
154 assert(bytes >= 30*DEFAULT_SIZE);
156 a.size = bytes;
171 err = pmap->f.map(pmap, address, frame, 0, bytes, PMAP_DEFAULT_ACCESS | 0x0100, NULL, &bytes);
178 test_region((uint32_t*)address, bytes);
180 err = pmap->f.unmap(pmap, address, bytes, NULL);