Lines Matching refs:zpci_iomap_start
58 struct zpci_iomap_entry *zpci_iomap_start; variable
59 EXPORT_SYMBOL_GPL(zpci_iomap_start);
285 WARN_ON(!++zpci_iomap_start[idx].count); in pci_iomap_range_fh()
286 zpci_iomap_start[idx].fh = zdev->fh; in pci_iomap_range_fh()
287 zpci_iomap_start[idx].bar = bar; in pci_iomap_range_fh()
360 WARN_ON(!zpci_iomap_start[idx].count); in pci_iounmap_fh()
361 if (!--zpci_iomap_start[idx].count) { in pci_iounmap_fh()
362 zpci_iomap_start[idx].fh = 0; in pci_iounmap_fh()
363 zpci_iomap_start[idx].bar = 0; in pci_iounmap_fh()
462 memset(&zpci_iomap_start[entry], 0, sizeof(struct zpci_iomap_entry)); in zpci_free_iomap()
476 if (!zpci_iomap_start[idx].count) in zpci_do_update_iomap_fh()
478 WRITE_ONCE(zpci_iomap_start[idx].fh, zdev->fh); in zpci_do_update_iomap_fh()
1026 zpci_iomap_start = kcalloc(ZPCI_IOMAP_ENTRIES, in zpci_mem_init()
1027 sizeof(*zpci_iomap_start), GFP_KERNEL); in zpci_mem_init()
1028 if (!zpci_iomap_start) in zpci_mem_init()
1041 kfree(zpci_iomap_start); in zpci_mem_init()
1051 kfree(zpci_iomap_start); in zpci_mem_exit()