Searched refs:nh (Results 1 – 1 of 1) sorted by relevance
/kernel/ |
D | notifier.c | 120 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, in atomic_notifier_chain_register() argument 126 spin_lock_irqsave(&nh->lock, flags); in atomic_notifier_chain_register() 127 ret = notifier_chain_register(&nh->head, n); in atomic_notifier_chain_register() 128 spin_unlock_irqrestore(&nh->lock, flags); in atomic_notifier_chain_register() 142 int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, in atomic_notifier_chain_unregister() argument 148 spin_lock_irqsave(&nh->lock, flags); in atomic_notifier_chain_unregister() 149 ret = notifier_chain_unregister(&nh->head, n); in atomic_notifier_chain_unregister() 150 spin_unlock_irqrestore(&nh->lock, flags); in atomic_notifier_chain_unregister() 175 int __kprobes __atomic_notifier_call_chain(struct atomic_notifier_head *nh, in __atomic_notifier_call_chain() argument 182 ret = notifier_call_chain(&nh->head, val, v, nr_to_call, nr_calls); in __atomic_notifier_call_chain() [all …]
|