Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 9 of 9) sorted by relevance

/lib/
Dnotifier-error-inject.c27 static int notifier_err_inject_callback(struct notifier_block *nb, in notifier_err_inject_callback() argument
32 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()
Dmemory-notifier-error-inject.c31 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()
Dpm-notifier-error-inject.c32 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()
Dof-reconfig-notifier-error-inject.c34 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()
Dnetdev-notifier-error-inject.c38 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()
Dnotifier-error-inject.h16 struct notifier_block nb; member
Dinflate.c841 unsigned nb; /* number of bit length codes */ in inflate_dynamic() local
873 nb = 4 + ((unsigned)b & 0xf); /* number of bit length codes */ in inflate_dynamic()
888 for (j = 0; j < nb; j++) in inflate_dynamic()
Derror-inject.c135 static int ei_module_callback(struct notifier_block *nb, in ei_module_callback() argument
/lib/kunit/
Dtest.c663 static int kunit_module_notify(struct notifier_block *nb, unsigned long val, in kunit_module_notify() argument