Function report |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-28 10:05:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:devkmsg_read
Proto:static ssize_t devkmsg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file | |
| char __user * | buf | |
| size_t | count | |
| loff_t * | ppos |
| 879 | ret = mutex_lock_interruptible( & lock) |
| 885 | If f_flags & O_NONBLOCK Then |
| 891 | logbuf_unlock_irq() |
| 916 | seq++ |
| 917 | logbuf_unlock_irq() |
| 924 | If copy_to_user(buf, buf, len) Then |
| 929 | out : |
| 931 | Return ret |
| 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 |