Lines Matching refs:zpci_iomap_start
51 struct zpci_iomap_entry *zpci_iomap_start; variable
52 EXPORT_SYMBOL_GPL(zpci_iomap_start);
274 WARN_ON(!++zpci_iomap_start[idx].count); in pci_iomap_range_fh()
275 zpci_iomap_start[idx].fh = zdev->fh; in pci_iomap_range_fh()
276 zpci_iomap_start[idx].bar = bar; in pci_iomap_range_fh()
349 WARN_ON(!zpci_iomap_start[idx].count); in pci_iounmap_fh()
350 if (!--zpci_iomap_start[idx].count) { in pci_iounmap_fh()
351 zpci_iomap_start[idx].fh = 0; in pci_iounmap_fh()
352 zpci_iomap_start[idx].bar = 0; in pci_iounmap_fh()
481 memset(&zpci_iomap_start[entry], 0, sizeof(struct zpci_iomap_entry)); in zpci_free_iomap()
830 zpci_iomap_start = kcalloc(ZPCI_IOMAP_ENTRIES, in zpci_mem_init()
831 sizeof(*zpci_iomap_start), GFP_KERNEL); in zpci_mem_init()
832 if (!zpci_iomap_start) in zpci_mem_init()
842 kfree(zpci_iomap_start); in zpci_mem_init()
852 kfree(zpci_iomap_start); in zpci_mem_exit()