Lines Matching refs:alloc
378 static PageDesc *page_find_alloc(tb_page_addr_t index, int alloc)
386 # define ALLOC(P, SIZE) \
392 # define ALLOC(P, SIZE) \
404 if (!alloc) {
407 ALLOC(p, sizeof(void *) * L2_SIZE);
416 if (!alloc) {
419 ALLOC(pd, sizeof(PageDesc) * L2_SIZE);
423 #undef ALLOC
433 PhysPageDesc *phys_page_find_alloc(hwaddr index, int alloc)
447 if (!alloc) {
459 if (!alloc) {