Kernel utility functions

Table of Contents

upper_32_bits - return bits 32-63 of a number
container_of - cast a member of a structure out to the containing structure
printk - print a kernel message
acquire_console_sem - lock the console system for exclusive use.
release_console_sem - unlock the console system
console_conditional_schedule - yield the CPU if required
printk_timed_ratelimit - caller-controlled printk ratelimiting
panic - halt the system
atomic_notifier_chain_register - Add notifier to an atomic notifier chain
atomic_notifier_chain_unregister - Remove notifier from an atomic notifier chain
__atomic_notifier_call_chain - Call functions in an atomic notifier chain
blocking_notifier_chain_register - Add notifier to a blocking notifier chain
blocking_notifier_chain_unregister - Remove notifier from a blocking notifier chain
__blocking_notifier_call_chain - Call functions in a blocking notifier chain
raw_notifier_chain_register - Add notifier to a raw notifier chain
raw_notifier_chain_unregister - Remove notifier from a raw notifier chain
__raw_notifier_call_chain - Call functions in a raw notifier chain
srcu_notifier_chain_register - Add notifier to an SRCU notifier chain
srcu_notifier_chain_unregister - Remove notifier from an SRCU notifier chain
__srcu_notifier_call_chain - Call functions in an SRCU notifier chain
srcu_init_notifier_head - Initialize an SRCU notifier head
register_reboot_notifier - Register function to be called at reboot time
unregister_reboot_notifier - Unregister previously registered reboot notifier
emergency_restart - reboot the system
kernel_restart - reboot the system
kernel_halt - halt the system
kernel_power_off - power_off the system
call_rcu - Queue an RCU callback for invocation after a grace period.
call_rcu_bh - Queue an RCU for invocation after a quicker grace period.
rcu_barrier - Wait until all the in-flight RCUs are complete.
synchronize_rcu - wait until a grace period has elapsed.