Lines Matching refs:ret
72 int ret = NOTIFY_DONE; in notifier_call_chain() local
87 ret = nb->notifier_call(nb, val, v); in notifier_call_chain()
92 if (ret & NOTIFY_STOP_MASK) in notifier_call_chain()
97 return ret; in notifier_call_chain()
120 int ret, nr = 0; in notifier_call_chain_robust() local
122 ret = notifier_call_chain(nl, val_up, v, -1, &nr); in notifier_call_chain_robust()
123 if (ret & NOTIFY_STOP_MASK) in notifier_call_chain_robust()
126 return ret; in notifier_call_chain_robust()
147 int ret; in atomic_notifier_chain_register() local
150 ret = notifier_chain_register(&nh->head, n, false); in atomic_notifier_chain_register()
152 return ret; in atomic_notifier_chain_register()
170 int ret; in atomic_notifier_chain_register_unique_prio() local
173 ret = notifier_chain_register(&nh->head, n, true); in atomic_notifier_chain_register_unique_prio()
175 return ret; in atomic_notifier_chain_register_unique_prio()
192 int ret; in atomic_notifier_chain_unregister() local
195 ret = notifier_chain_unregister(&nh->head, n); in atomic_notifier_chain_unregister()
198 return ret; in atomic_notifier_chain_unregister()
222 int ret; in atomic_notifier_call_chain() local
225 ret = notifier_call_chain(&nh->head, val, v, -1, NULL); in atomic_notifier_call_chain()
228 return ret; in atomic_notifier_call_chain()
255 int ret; in __blocking_notifier_chain_register() local
266 ret = notifier_chain_register(&nh->head, n, unique_priority); in __blocking_notifier_chain_register()
268 return ret; in __blocking_notifier_chain_register()
318 int ret; in blocking_notifier_chain_unregister() local
329 ret = notifier_chain_unregister(&nh->head, n); in blocking_notifier_chain_unregister()
331 return ret; in blocking_notifier_chain_unregister()
338 int ret = NOTIFY_DONE; in blocking_notifier_call_chain_robust() local
347 ret = notifier_call_chain_robust(&nh->head, val_up, val_down, v); in blocking_notifier_call_chain_robust()
350 return ret; in blocking_notifier_call_chain_robust()
373 int ret = NOTIFY_DONE; in blocking_notifier_call_chain() local
382 ret = notifier_call_chain(&nh->head, val, v, -1, NULL); in blocking_notifier_call_chain()
385 return ret; in blocking_notifier_call_chain()
478 int ret; in srcu_notifier_chain_register() local
489 ret = notifier_chain_register(&nh->head, n, false); in srcu_notifier_chain_register()
491 return ret; in srcu_notifier_chain_register()
508 int ret; in srcu_notifier_chain_unregister() local
519 ret = notifier_chain_unregister(&nh->head, n); in srcu_notifier_chain_unregister()
522 return ret; in srcu_notifier_chain_unregister()
545 int ret; in srcu_notifier_call_chain() local
549 ret = notifier_call_chain(&nh->head, val, v, -1, NULL); in srcu_notifier_call_chain()
551 return ret; in srcu_notifier_call_chain()