Home
last modified time | relevance | path

Searched refs:pe_alloc (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/arch/powerpc/platforms/powernv/
Dpci-ioda.c143 if (test_and_set_bit(pe_no, phb->ioda.pe_alloc)) in pnv_ioda_reserve_pe()
156 pe = find_next_zero_bit(phb->ioda.pe_alloc, in pnv_ioda_alloc_pe()
160 } while(test_and_set_bit(pe, phb->ioda.pe_alloc)); in pnv_ioda_alloc_pe()
172 clear_bit(pe, phb->ioda.pe_alloc); in pnv_ioda_free_pe()
279 unsigned long size, *pe_alloc; in pnv_ioda2_pick_m64_pe() local
288 pe_alloc = kzalloc(size, GFP_KERNEL); in pnv_ioda2_pick_m64_pe()
289 if (!pe_alloc) { in pnv_ioda2_pick_m64_pe()
296 pnv_ioda2_reserve_m64_pe(bus, pe_alloc, all); in pnv_ioda2_pick_m64_pe()
303 if (bitmap_empty(pe_alloc, phb->ioda.total_pe)) { in pnv_ioda2_pick_m64_pe()
304 kfree(pe_alloc); in pnv_ioda2_pick_m64_pe()
[all …]
Dpci.h147 unsigned long *pe_alloc; member