Function report |
Source Code:fs\seq_file.c |
Create Date:2022-07-28 20:09:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:traverse
Proto:static int traverse(struct seq_file *m, loff_t offset)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct seq_file * | m | |
loff_t | offset |
93 | pos = 0 |
94 | error = 0 |
97 | version = 0 |
98 | index = 0 |
100 | If Not offset Then Return 0 |
103 | If Not buf Then |
114 | If error < 0 Then Break |
129 | count = 0 |
134 | Return error |
136 | Eoverflow : |
139 | count = 0 |
140 | buf = seq_buf_alloc(size <<= 1) |
Name | Describe |
---|---|
seq_read | seq_read - ->read() method for sequential files.*@file: the file to read from*@buf: the buffer to read to*@size: the maximum number of bytes to read*@ppos: the current position in the file* Ready-made ->f_op->read() |
seq_lseek | seq_lseek - ->llseek() method for sequential files.*@file: the file in question*@offset: new position*@whence: 0 for absolute, 1 for relative position* Ready-made ->f_op->llseek() |
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 |