Home
last modified time | relevance | path

Searched refs:rcnb (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/mfd/ !
Drave-sp.c221 struct notifier_block **rcnb; in devm_rave_sp_register_event_notifier() local
224 rcnb = devres_alloc(rave_sp_unregister_event_notifier, in devm_rave_sp_register_event_notifier()
225 sizeof(*rcnb), GFP_KERNEL); in devm_rave_sp_register_event_notifier()
226 if (!rcnb) in devm_rave_sp_register_event_notifier()
231 *rcnb = nb; in devm_rave_sp_register_event_notifier()
232 devres_add(dev, rcnb); in devm_rave_sp_register_event_notifier()
234 devres_free(rcnb); in devm_rave_sp_register_event_notifier()
/linux-6.6.21/kernel/ !
Dreboot.c128 struct notifier_block **rcnb; in devm_register_reboot_notifier() local
131 rcnb = devres_alloc(devm_unregister_reboot_notifier, in devm_register_reboot_notifier()
132 sizeof(*rcnb), GFP_KERNEL); in devm_register_reboot_notifier()
133 if (!rcnb) in devm_register_reboot_notifier()
138 *rcnb = nb; in devm_register_reboot_notifier()
139 devres_add(dev, rcnb); in devm_register_reboot_notifier()
141 devres_free(rcnb); in devm_register_reboot_notifier()