Lines Matching refs:nb
65 static int pds_vfio_pci_notify_handler(struct notifier_block *nb,
69 container_of(nb, struct pds_vfio_pci_device, nb);
101 struct notifier_block *nb = &pds_vfio->nb;
104 if (!nb->notifier_call) {
105 nb->notifier_call = pds_vfio_pci_notify_handler;
106 err = pdsc_register_notify(nb);
108 nb->notifier_call = NULL;
123 if (pds_vfio->nb.notifier_call) {
124 pdsc_unregister_notify(&pds_vfio->nb);
125 pds_vfio->nb.notifier_call = NULL;