Function report |
Source Code:kernel\locking\lock_events.c |
Create Date:2022-07-28 09:55:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The lockevent_read() function can be overridden.
Proto:ssize_t __weak lockevent_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
char __user * | user_buf | |
size_t | count | |
loff_t * | ppos |
66 | sum = 0 |
73 | If id >= # of write lock handoffs Then Return -EBADF |
77 | sum += per_cpu(Per-cpu counts[id], cpu) |
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 |