Home
last modified time | relevance | path

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

/kernel/
Dnotifier.c143 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, in atomic_notifier_chain_register() argument
149 spin_lock_irqsave(&nh->lock, flags); in atomic_notifier_chain_register()
150 ret = notifier_chain_register(&nh->head, n, false); in atomic_notifier_chain_register()
151 spin_unlock_irqrestore(&nh->lock, flags); in atomic_notifier_chain_register()
166 int atomic_notifier_chain_register_unique_prio(struct atomic_notifier_head *nh, in atomic_notifier_chain_register_unique_prio() argument
172 spin_lock_irqsave(&nh->lock, flags); in atomic_notifier_chain_register_unique_prio()
173 ret = notifier_chain_register(&nh->head, n, true); in atomic_notifier_chain_register_unique_prio()
174 spin_unlock_irqrestore(&nh->lock, flags); in atomic_notifier_chain_register_unique_prio()
188 int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, in atomic_notifier_chain_unregister() argument
194 spin_lock_irqsave(&nh->lock, flags); in atomic_notifier_chain_unregister()
[all …]