Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dpci-ioda.c149 if (test_and_set_bit(pe_no, phb->ioda.pe_alloc)) in pnv_ioda_reserve_pe()
166 if (test_bit(pe, phb->ioda.pe_alloc)) { in pnv_ioda_alloc_pe()
179 set_bit(i, phb->ioda.pe_alloc); in pnv_ioda_alloc_pe()
200 clear_bit(pe_num, phb->ioda.pe_alloc); in pnv_ioda_free_pe()
383 unsigned long size, *pe_alloc; in pnv_ioda_pick_m64_pe() local
392 pe_alloc = kzalloc(size, GFP_KERNEL); in pnv_ioda_pick_m64_pe()
393 if (!pe_alloc) { in pnv_ioda_pick_m64_pe()
400 pnv_ioda_reserve_m64_pe(bus, pe_alloc, all); in pnv_ioda_pick_m64_pe()
407 if (bitmap_empty(pe_alloc, phb->ioda.total_pe_num)) { in pnv_ioda_pick_m64_pe()
408 kfree(pe_alloc); in pnv_ioda_pick_m64_pe()
[all …]
Dpci.h167 unsigned long *pe_alloc; member