Function report |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-28 10:06:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sole_trylock - try to lock the console system for exclusive use.* Try to acquire a lock which guarantees that the caller has exclusive* access to the console system and the console_drivers list.* returns 1 on success, and 0 on failure to acquire the lock.
Proto:int console_trylock(void)
Type:int
Parameter:Nothing
| 2307 | If down_trylock_console_sem() Then Return 0 |
| 2310 | up_console_sem() |
| 2311 | Return 0 |
| 2315 | Return 1 |
| Name | Describe |
|---|---|
| console_trylock_spinning | sole_trylock_spinning - try to get console_lock by busy waiting* This allows to busy wait for the console_lock when the current* owner is running in specially marked sections. It means that* the current owner is running and cannot reschedule until it |
| console_cpu_notify | sole_cpu_notify - print deferred console messages after CPU hotplug*@cpu: unused* If printk() is called from a CPU that is not online yet, the messages* will be printed on the console only if there are CON_ANYTIME consoles |
| console_unlock | sole_unlock - unlock the console system* Releases the console_lock which the caller holds on the console system* and the console driver list.* While the console_lock was held, console output may have been buffered* by printk() |
| console_flush_on_panic | sole_flush_on_panic - flush console content on panic*@mode: flush all messages in buffer or just the pending ones* Immediately output all pending messages no matter what. |
| wake_up_klogd_work_func |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |