| Function report | 
| Source Code: kernel\gcov\fs.c | Create Date:2022-07-28 11:31:44 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:write() implementation for reset file. Reset all profiling data to zero* and remove nodes for which all associated object files are unloaded.
Proto:static ssize_t reset_write(struct file *file, const char __user *addr, size_t len, loff_t *pos)
Type:ssize_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | file | |
| const char __user * | addr | |
| size_t | len | |
| loff_t * | pos | 
| 530 | mutex_lock( & node_lock) | 
| 531 | restart : | 
| 535 | Else if list_empty - tests whether a list is empty*@head: the list to test. Then | 
| 536 | remove_node(node) | 
| 538 | Go to restart | 
| 543 | Return len | 
| 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 |