• Home
  • Raw
  • Download

Lines Matching refs:n

23 		struct notifier_block *n)  in notifier_chain_register()  argument
26 WARN_ONCE(((*nl) == n), "double register detected"); in notifier_chain_register()
27 if (n->priority > (*nl)->priority) in notifier_chain_register()
31 n->next = *nl; in notifier_chain_register()
32 rcu_assign_pointer(*nl, n); in notifier_chain_register()
37 struct notifier_block *n) in notifier_chain_cond_register() argument
40 if ((*nl) == n) in notifier_chain_cond_register()
42 if (n->priority > (*nl)->priority) in notifier_chain_cond_register()
46 n->next = *nl; in notifier_chain_cond_register()
47 rcu_assign_pointer(*nl, n); in notifier_chain_cond_register()
52 struct notifier_block *n) in notifier_chain_unregister() argument
55 if ((*nl) == n) { in notifier_chain_unregister()
56 rcu_assign_pointer(*nl, n->next); in notifier_chain_unregister()
124 struct notifier_block *n) in atomic_notifier_chain_register() argument
130 ret = notifier_chain_register(&nh->head, n); in atomic_notifier_chain_register()
146 struct notifier_block *n) in atomic_notifier_chain_unregister() argument
152 ret = notifier_chain_unregister(&nh->head, n); in atomic_notifier_chain_unregister()
216 struct notifier_block *n) in blocking_notifier_chain_register() argument
226 return notifier_chain_register(&nh->head, n); in blocking_notifier_chain_register()
229 ret = notifier_chain_register(&nh->head, n); in blocking_notifier_chain_register()
247 struct notifier_block *n) in blocking_notifier_chain_cond_register() argument
252 ret = notifier_chain_cond_register(&nh->head, n); in blocking_notifier_chain_cond_register()
269 struct notifier_block *n) in blocking_notifier_chain_unregister() argument
279 return notifier_chain_unregister(&nh->head, n); in blocking_notifier_chain_unregister()
282 ret = notifier_chain_unregister(&nh->head, n); in blocking_notifier_chain_unregister()
350 struct notifier_block *n) in raw_notifier_chain_register() argument
352 return notifier_chain_register(&nh->head, n); in raw_notifier_chain_register()
367 struct notifier_block *n) in raw_notifier_chain_unregister() argument
369 return notifier_chain_unregister(&nh->head, n); in raw_notifier_chain_unregister()
424 struct notifier_block *n) in srcu_notifier_chain_register() argument
434 return notifier_chain_register(&nh->head, n); in srcu_notifier_chain_register()
437 ret = notifier_chain_register(&nh->head, n); in srcu_notifier_chain_register()
454 struct notifier_block *n) in srcu_notifier_chain_unregister() argument
464 return notifier_chain_unregister(&nh->head, n); in srcu_notifier_chain_unregister()
467 ret = notifier_chain_unregister(&nh->head, n); in srcu_notifier_chain_unregister()