Home
last modified time | relevance | path

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

/lib/
Dnotifier-error-inject.c26 static int notifier_err_inject_callback(struct notifier_block *nb, in notifier_err_inject_callback() argument
31 container_of(nb, struct notifier_err_inject, nb); in notifier_err_inject_callback()
57 err_inject->nb.notifier_call = notifier_err_inject_callback; in notifier_err_inject_init()
58 err_inject->nb.priority = priority; in notifier_err_inject_init()
Dmemory-notifier-error-inject.c30 err = register_memory_notifier(&memory_notifier_err_inject.nb); in err_inject_init()
39 unregister_memory_notifier(&memory_notifier_err_inject.nb); in err_inject_exit()
Dpm-notifier-error-inject.c31 err = register_pm_notifier(&pm_notifier_err_inject.nb); in err_inject_init()
40 unregister_pm_notifier(&pm_notifier_err_inject.nb); in err_inject_exit()
Dcpu-notifier-error-inject.c32 err = register_hotcpu_notifier(&cpu_notifier_err_inject.nb); in err_inject_init()
41 unregister_hotcpu_notifier(&cpu_notifier_err_inject.nb); in err_inject_exit()
Dof-reconfig-notifier-error-inject.c33 err = of_reconfig_notifier_register(&reconfig_err_inject.nb); in err_inject_init()
42 of_reconfig_notifier_unregister(&reconfig_err_inject.nb); in err_inject_exit()
Dnotifier-error-inject.h15 struct notifier_block nb; member
Ddma-debug.c739 static int dma_debug_device_change(struct notifier_block *nb, unsigned long action, void *data) in dma_debug_device_change() argument
771 struct notifier_block *nb; in dma_debug_add_bus() local
776 nb = kzalloc(sizeof(struct notifier_block), GFP_KERNEL); in dma_debug_add_bus()
777 if (nb == NULL) { in dma_debug_add_bus()
782 nb->notifier_call = dma_debug_device_change; in dma_debug_add_bus()
784 bus_register_notifier(bus, nb); in dma_debug_add_bus()
Dpercpu_counter.c161 static int __cpuinit percpu_counter_hotcpu_callback(struct notifier_block *nb, in percpu_counter_hotcpu_callback() argument
Dinflate.c840 unsigned nb; /* number of bit length codes */ in inflate_dynamic() local
872 nb = 4 + ((unsigned)b & 0xf); /* number of bit length codes */ in inflate_dynamic()
887 for (j = 0; j < nb; j++) in inflate_dynamic()