Home
last modified time | relevance | path

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

/arch/powerpc/platforms/powernv/
Dpci-ioda.c99 pe = find_next_zero_bit(phb->ioda.pe_alloc, in pnv_ioda_alloc_pe()
103 } while(test_and_set_bit(pe, phb->ioda.pe_alloc)); in pnv_ioda_alloc_pe()
115 clear_bit(pe, phb->ioda.pe_alloc); in pnv_ioda_free_pe()
197 set_bit(base + step, phb->ioda.pe_alloc); in pnv_ioda2_alloc_m64_pe()
209 unsigned long size, *pe_alloc; in pnv_ioda2_pick_m64_pe() local
233 pe_alloc = kzalloc(size, GFP_KERNEL); in pnv_ioda2_pick_m64_pe()
234 if (!pe_alloc) { in pnv_ioda2_pick_m64_pe()
246 set_bit(start + i, pe_alloc); in pnv_ioda2_pick_m64_pe()
266 clear_bit(start + j, pe_alloc); in pnv_ioda2_pick_m64_pe()
275 if (bitmap_empty(pe_alloc, phb->ioda.total_pe)) { in pnv_ioda2_pick_m64_pe()
[all …]
Dpci.h167 unsigned long *pe_alloc; member