Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/platforms/powernv/
Dpci-ioda.c166 if (test_and_set_bit(pe_no, phb->ioda.pe_alloc)) in pnv_ioda_reserve_pe()
178 if (!test_and_set_bit(pe, phb->ioda.pe_alloc)) in pnv_ioda_alloc_pe()
194 clear_bit(pe_num, phb->ioda.pe_alloc); in pnv_ioda_free_pe()
356 unsigned long size, *pe_alloc; in pnv_ioda_pick_m64_pe() local
365 pe_alloc = kzalloc(size, GFP_KERNEL); in pnv_ioda_pick_m64_pe()
366 if (!pe_alloc) { in pnv_ioda_pick_m64_pe()
373 pnv_ioda_reserve_m64_pe(bus, pe_alloc, all); in pnv_ioda_pick_m64_pe()
380 if (bitmap_empty(pe_alloc, phb->ioda.total_pe_num)) { in pnv_ioda_pick_m64_pe()
381 kfree(pe_alloc); in pnv_ioda_pick_m64_pe()
391 while ((i = find_next_bit(pe_alloc, phb->ioda.total_pe_num, i + 1)) < in pnv_ioda_pick_m64_pe()
[all …]
Dpci.h143 unsigned long *pe_alloc; member