Searched refs:nh (Results 1 – 1 of 1) sorted by relevance
/kernel/ |
D | notifier.c | 149 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, in atomic_notifier_chain_register() argument 155 spin_lock_irqsave(&nh->lock, flags); in atomic_notifier_chain_register() 156 ret = notifier_chain_register(&nh->head, n, false); in atomic_notifier_chain_register() 157 spin_unlock_irqrestore(&nh->lock, flags); in atomic_notifier_chain_register() 172 int atomic_notifier_chain_register_unique_prio(struct atomic_notifier_head *nh, in atomic_notifier_chain_register_unique_prio() argument 178 spin_lock_irqsave(&nh->lock, flags); in atomic_notifier_chain_register_unique_prio() 179 ret = notifier_chain_register(&nh->head, n, true); in atomic_notifier_chain_register_unique_prio() 180 spin_unlock_irqrestore(&nh->lock, flags); in atomic_notifier_chain_register_unique_prio() 194 int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, in atomic_notifier_chain_unregister() argument 200 spin_lock_irqsave(&nh->lock, flags); in atomic_notifier_chain_unregister() [all …]
|