Lines Matching refs:pe_alloc
147 if (test_and_set_bit(pe_no, phb->ioda.pe_alloc)) in pnv_ioda_reserve_pe()
164 if (test_bit(pe, phb->ioda.pe_alloc)) { in pnv_ioda_alloc_pe()
177 set_bit(i, phb->ioda.pe_alloc); in pnv_ioda_alloc_pe()
196 clear_bit(pe_num, phb->ioda.pe_alloc); in pnv_ioda_free_pe()
299 unsigned long size, *pe_alloc; in pnv_ioda_pick_m64_pe() local
308 pe_alloc = kzalloc(size, GFP_KERNEL); in pnv_ioda_pick_m64_pe()
309 if (!pe_alloc) { in pnv_ioda_pick_m64_pe()
316 pnv_ioda_reserve_m64_pe(bus, pe_alloc, all); in pnv_ioda_pick_m64_pe()
323 if (bitmap_empty(pe_alloc, phb->ioda.total_pe_num)) { in pnv_ioda_pick_m64_pe()
324 kfree(pe_alloc); in pnv_ioda_pick_m64_pe()
334 while ((i = find_next_bit(pe_alloc, phb->ioda.total_pe_num, i + 1)) < in pnv_ioda_pick_m64_pe()
350 kfree(pe_alloc); in pnv_ioda_pick_m64_pe()
2103 if (!test_bit(pe_num, phb->ioda.pe_alloc)) in pnv_pci_ioda_pe_dump()
2694 phb->ioda.pe_alloc = aux; in pnv_pci_init_ioda_phb()