Home
last modified time | relevance | path

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

/linux-4.1.27/arch/powerpc/platforms/powernv/
Dpci-ioda.c134 if (test_and_set_bit(pe_no, phb->ioda.pe_alloc)) { in pnv_ioda_reserve_pe()
149 pe = find_next_zero_bit(phb->ioda.pe_alloc, in pnv_ioda_alloc_pe()
153 } while(test_and_set_bit(pe, phb->ioda.pe_alloc)); in pnv_ioda_alloc_pe()
165 clear_bit(pe, phb->ioda.pe_alloc); in pnv_ioda_free_pe()
258 unsigned long size, *pe_alloc; in pnv_ioda2_pick_m64_pe() local
282 pe_alloc = kzalloc(size, GFP_KERNEL); in pnv_ioda2_pick_m64_pe()
283 if (!pe_alloc) { in pnv_ioda2_pick_m64_pe()
295 set_bit(start + i, pe_alloc); in pnv_ioda2_pick_m64_pe()
315 clear_bit(start + j, pe_alloc); in pnv_ioda2_pick_m64_pe()
324 if (bitmap_empty(pe_alloc, phb->ioda.total_pe)) { in pnv_ioda2_pick_m64_pe()
[all …]
Dpci.h151 unsigned long *pe_alloc; member