Home | History | Annotate | Download | only in pbsdboot

Lines Matching refs:heap

53 unsigned char* heap = NULL;
128 page = (struct page_header_s*)&heap[pagesize * i];
147 page = (struct page_header_s*)&heap[pagesize * i];
183 int pageno = (page - heap) / system_info.si_pagesize;
184 int offset = (page - heap) % system_info.si_pagesize;
236 heap = (unsigned char*)
241 if (heap == NULL) {
242 debug_printf(TEXT("can't allocate heap\n"));
243 msg_printf(MSG_ERROR, whoami, TEXT("can't allocate heap\n"));
269 page = (struct page_header_s*)&heap[pagesize * i];
378 if (heap) {
379 VirtualFree(heap, 0, MEM_RELEASE);
380 heap = NULL;