Searched refs:nb (Results 1 – 10 of 10) 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
128 static int ei_module_callback(struct notifier_block *nb, in ei_module_callback() argument
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()
550 static int prandom_timer_start(struct notifier_block *nb, in prandom_timer_start() argument
734 static int fill_random_ptr_key(struct notifier_block *nb, in fill_random_ptr_key() argument