Lines Matching refs:node_bootmem_map
101 bdata->node_bootmem_map = phys_to_virt(PFN_PHYS(mapstart)); in init_bootmem_core()
111 memset(bdata->node_bootmem_map, 0xff, mapsize); in init_bootmem_core()
177 if (!bdata->node_bootmem_map) in free_all_bootmem_core()
180 map = bdata->node_bootmem_map; in free_all_bootmem_core()
233 page = virt_to_page(bdata->node_bootmem_map); in free_all_bootmem_core()
239 bdata->node_bootmem_map = NULL; in free_all_bootmem_core()
298 if (WARN_ON(bdata->node_bootmem_map == NULL)) in __free()
305 if (!test_and_clear_bit(idx, bdata->node_bootmem_map)) in __free()
321 if (WARN_ON(bdata->node_bootmem_map == NULL)) in __reserve()
325 if (test_and_set_bit(idx, bdata->node_bootmem_map)) { in __reserve()
515 if (!bdata->node_bootmem_map) in alloc_bootmem_bdata()
553 sidx = find_next_zero_bit(bdata->node_bootmem_map, midx, sidx); in alloc_bootmem_bdata()
561 if (test_bit(i, bdata->node_bootmem_map)) { in alloc_bootmem_bdata()