Lines Matching full:notifier

5 #include <linux/notifier.h>
11 #include <trace/events/notifier.h>
14 * Notifier list for kernel code which wants to be called
21 * Notifier chain core routines. The exported routines below
31 WARN(1, "notifier callback %ps already registered", in notifier_chain_register()
63 * @nl: Pointer to head of the blocking notifier chain
64 * @val: Value passed unmodified to notifier function
65 * @v: Pointer passed unmodified to notifier function
66 * @nr_to_call: Number of notifier functions to be called. Don't care
71 * last notifier function called.
87 WARN(1, "Invalid notifier called!"); in notifier_call_chain()
110 * @nl: Pointer to head of the blocking notifier chain
111 * @val_up: Value passed unmodified to the notifier function
112 * @val_down: Value passed unmodified to the notifier function when recovering
114 * @v: Pointer passed unmodified to the notifier function
118 * exact same notifier callbacks; this rules out any RCU usage.
136 * Atomic notifier chain routines. Registration and unregistration
141 * atomic_notifier_chain_register - Add notifier to an atomic notifier chain
142 * @nh: Pointer to head of the atomic notifier chain
143 * @n: New entry in notifier chain
145 * Adds a notifier to an atomic notifier chain.
163 * atomic_notifier_chain_register_unique_prio - Add notifier to an atomic notifier chain
164 * @nh: Pointer to head of the atomic notifier chain
165 * @n: New entry in notifier chain
167 * Adds a notifier to an atomic notifier chain if there is no other
168 * notifier registered using the same priority.
186 * atomic_notifier_chain_unregister - Remove notifier from an atomic notifier chain
187 * @nh: Pointer to head of the atomic notifier chain
188 * @n: Entry to remove from notifier chain
190 * Removes a notifier from an atomic notifier chain.
209 * atomic_notifier_call_chain - Call functions in an atomic notifier chain
210 * @nh: Pointer to head of the atomic notifier chain
211 * @val: Value passed unmodified to notifier function
212 * @v: Pointer passed unmodified to notifier function
214 * Calls each function in a notifier chain in turn. The functions
218 * If the return value of the notifier can be and'ed
221 * the notifier function which halted execution.
223 * of the last notifier function called.
240 * atomic_notifier_call_chain_is_empty - Check whether notifier chain is empty
241 * @nh: Pointer to head of the atomic notifier chain
243 * Checks whether notifier chain is empty.
245 * Returns true is notifier chain is empty, false otherwise.
253 * Blocking notifier chain routines. All access to the chain is
278 * blocking_notifier_chain_register - Add notifier to a blocking notifier chain
279 * @nh: Pointer to head of the blocking notifier chain
280 * @n: New entry in notifier chain
282 * Adds a notifier to a blocking notifier chain.
295 * blocking_notifier_chain_register_unique_prio - Add notifier to a blocking notifier chain
296 * @nh: Pointer to head of the blocking notifier chain
297 * @n: New entry in notifier chain
299 * Adds a notifier to an blocking notifier chain if there is no other
300 * notifier registered using the same priority.
312 * blocking_notifier_chain_unregister - Remove notifier from a blocking notifier chain
313 * @nh: Pointer to head of the blocking notifier chain
314 * @n: Entry to remove from notifier chain
316 * Removes a notifier from a blocking notifier chain.
361 * blocking_notifier_call_chain - Call functions in a blocking notifier chain
362 * @nh: Pointer to head of the blocking notifier chain
363 * @val: Value passed unmodified to notifier function
364 * @v: Pointer passed unmodified to notifier function
366 * Calls each function in a notifier chain in turn. The functions
369 * If the return value of the notifier can be and'ed
372 * the notifier function which halted execution.
374 * of the last notifier function called.
396 * Raw notifier chain routines. There is no protection;
401 * raw_notifier_chain_register - Add notifier to a raw notifier chain
402 * @nh: Pointer to head of the raw notifier chain
403 * @n: New entry in notifier chain
405 * Adds a notifier to a raw notifier chain.
418 * raw_notifier_chain_unregister - Remove notifier from a raw notifier chain
419 * @nh: Pointer to head of the raw notifier chain
420 * @n: Entry to remove from notifier chain
422 * Removes a notifier from a raw notifier chain.
442 * raw_notifier_call_chain - Call functions in a raw notifier chain
443 * @nh: Pointer to head of the raw notifier chain
444 * @val: Value passed unmodified to notifier function
445 * @v: Pointer passed unmodified to notifier function
447 * Calls each function in a notifier chain in turn. The functions
451 * If the return value of the notifier can be and'ed
454 * the notifier function which halted execution.
456 * of the last notifier function called.
466 * SRCU notifier chain routines. Registration and unregistration
471 * srcu_notifier_chain_register - Add notifier to an SRCU notifier chain
472 * @nh: Pointer to head of the SRCU notifier chain
473 * @n: New entry in notifier chain
475 * Adds a notifier to an SRCU notifier chain.
501 * srcu_notifier_chain_unregister - Remove notifier from an SRCU notifier chain
502 * @nh: Pointer to head of the SRCU notifier chain
503 * @n: Entry to remove from notifier chain
505 * Removes a notifier from an SRCU notifier chain.
532 * srcu_notifier_call_chain - Call functions in an SRCU notifier chain
533 * @nh: Pointer to head of the SRCU notifier chain
534 * @val: Value passed unmodified to notifier function
535 * @v: Pointer passed unmodified to notifier function
537 * Calls each function in a notifier chain in turn. The functions
540 * If the return value of the notifier can be and'ed
543 * the notifier function which halted execution.
545 * of the last notifier function called.
561 * srcu_init_notifier_head - Initialize an SRCU notifier head
562 * @nh: Pointer to head of the srcu notifier chain
564 * Unlike other sorts of notifier heads, SRCU notifier heads require
566 * calling any of the other SRCU notifier routines for this head.
568 * If an SRCU notifier head is deallocated, it must first be cleaned