Lines Matching refs:nb
46 static int pds_vfio_pci_notify_handler(struct notifier_block *nb,
50 container_of(nb, struct pds_vfio_pci_device, nb);
82 struct notifier_block *nb = &pds_vfio->nb;
85 if (!nb->notifier_call) {
86 nb->notifier_call = pds_vfio_pci_notify_handler;
87 err = pdsc_register_notify(nb);
89 nb->notifier_call = NULL;
104 if (pds_vfio->nb.notifier_call) {
105 pdsc_unregister_notify(&pds_vfio->nb);
106 pds_vfio->nb.notifier_call = NULL;