Lines Matching refs:n
22 struct notifier_block *n) in notifier_chain_register() argument
25 if (n->priority > (*nl)->priority) in notifier_chain_register()
29 n->next = *nl; in notifier_chain_register()
30 rcu_assign_pointer(*nl, n); in notifier_chain_register()
35 struct notifier_block *n) in notifier_chain_cond_register() argument
38 if ((*nl) == n) in notifier_chain_cond_register()
40 if (n->priority > (*nl)->priority) in notifier_chain_cond_register()
44 n->next = *nl; in notifier_chain_cond_register()
45 rcu_assign_pointer(*nl, n); in notifier_chain_cond_register()
50 struct notifier_block *n) in notifier_chain_unregister() argument
53 if ((*nl) == n) { in notifier_chain_unregister()
54 rcu_assign_pointer(*nl, n->next); in notifier_chain_unregister()
121 struct notifier_block *n) in atomic_notifier_chain_register() argument
127 ret = notifier_chain_register(&nh->head, n); in atomic_notifier_chain_register()
143 struct notifier_block *n) in atomic_notifier_chain_unregister() argument
149 ret = notifier_chain_unregister(&nh->head, n); in atomic_notifier_chain_unregister()
211 struct notifier_block *n) in blocking_notifier_chain_register() argument
221 return notifier_chain_register(&nh->head, n); in blocking_notifier_chain_register()
224 ret = notifier_chain_register(&nh->head, n); in blocking_notifier_chain_register()
242 struct notifier_block *n) in blocking_notifier_chain_cond_register() argument
247 ret = notifier_chain_cond_register(&nh->head, n); in blocking_notifier_chain_cond_register()
264 struct notifier_block *n) in blocking_notifier_chain_unregister() argument
274 return notifier_chain_unregister(&nh->head, n); in blocking_notifier_chain_unregister()
277 ret = notifier_chain_unregister(&nh->head, n); in blocking_notifier_chain_unregister()
345 struct notifier_block *n) in raw_notifier_chain_register() argument
347 return notifier_chain_register(&nh->head, n); in raw_notifier_chain_register()
362 struct notifier_block *n) in raw_notifier_chain_unregister() argument
364 return notifier_chain_unregister(&nh->head, n); in raw_notifier_chain_unregister()
418 struct notifier_block *n) in srcu_notifier_chain_register() argument
428 return notifier_chain_register(&nh->head, n); in srcu_notifier_chain_register()
431 ret = notifier_chain_register(&nh->head, n); in srcu_notifier_chain_register()
448 struct notifier_block *n) in srcu_notifier_chain_unregister() argument
458 return notifier_chain_unregister(&nh->head, n); in srcu_notifier_chain_unregister()
461 ret = notifier_chain_unregister(&nh->head, n); in srcu_notifier_chain_unregister()