Lines Matching refs:zpci_iomap_start
57 struct zpci_iomap_entry *zpci_iomap_start; variable
58 EXPORT_SYMBOL_GPL(zpci_iomap_start);
299 WARN_ON(!++zpci_iomap_start[idx].count); in pci_iomap_range_fh()
300 zpci_iomap_start[idx].fh = zdev->fh; in pci_iomap_range_fh()
301 zpci_iomap_start[idx].bar = bar; in pci_iomap_range_fh()
374 WARN_ON(!zpci_iomap_start[idx].count); in pci_iounmap_fh()
375 if (!--zpci_iomap_start[idx].count) { in pci_iounmap_fh()
376 zpci_iomap_start[idx].fh = 0; in pci_iounmap_fh()
377 zpci_iomap_start[idx].bar = 0; in pci_iounmap_fh()
476 memset(&zpci_iomap_start[entry], 0, sizeof(struct zpci_iomap_entry)); in zpci_free_iomap()
787 zpci_iomap_start = kcalloc(ZPCI_IOMAP_ENTRIES, in zpci_mem_init()
788 sizeof(*zpci_iomap_start), GFP_KERNEL); in zpci_mem_init()
789 if (!zpci_iomap_start) in zpci_mem_init()
802 kfree(zpci_iomap_start); in zpci_mem_init()
812 kfree(zpci_iomap_start); in zpci_mem_exit()