Searched refs:nb (Results 1 – 9 of 9) sorted by relevance
27 static int notifier_err_inject_callback(struct notifier_block *nb, in notifier_err_inject_callback() argument32 container_of(nb, struct notifier_err_inject, nb); in notifier_err_inject_callback()58 err_inject->nb.notifier_call = notifier_err_inject_callback; in notifier_err_inject_init()59 err_inject->nb.priority = priority; in notifier_err_inject_init()
31 err = register_memory_notifier(&memory_notifier_err_inject.nb); in err_inject_init()40 unregister_memory_notifier(&memory_notifier_err_inject.nb); in err_inject_exit()
32 err = register_pm_notifier(&pm_notifier_err_inject.nb); in err_inject_init()41 unregister_pm_notifier(&pm_notifier_err_inject.nb); in err_inject_exit()
34 err = of_reconfig_notifier_register(&reconfig_err_inject.nb); in err_inject_init()43 of_reconfig_notifier_unregister(&reconfig_err_inject.nb); in err_inject_exit()
38 err = register_netdevice_notifier(&netdev_notifier_err_inject.nb); in netdev_err_inject_init()47 unregister_netdevice_notifier(&netdev_notifier_err_inject.nb); in netdev_err_inject_exit()
16 struct notifier_block nb; member
841 unsigned nb; /* number of bit length codes */ in inflate_dynamic() local873 nb = 4 + ((unsigned)b & 0xf); /* number of bit length codes */ in inflate_dynamic()888 for (j = 0; j < nb; j++) in inflate_dynamic()
135 static int ei_module_callback(struct notifier_block *nb, in ei_module_callback() argument
663 static int kunit_module_notify(struct notifier_block *nb, unsigned long val, in kunit_module_notify() argument