Function report |
Source Code:kernel\sysctl.c |
Create Date:2022-07-28 09:11:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__do_proc_dointvec
Proto:static int __do_proc_dointvec(void *tbl_data, struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos, int (*conv)(bool *negp, unsigned long *lvalp, int *valp, int write, void *data), void *data)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | tbl_data | |
| struct ctl_table * | table | |
| int | write | |
| void __user * | buffer | |
| size_t * | lenp | |
| loff_t * | ppos | |
| int (* | conv | |
| void * | data |
| 2345 | lenp = 0 |
| 2346 | Return 0 |
| 2353 | If Not conv Then conv = do_proc_dointvec_conv |
| 2356 | If write Then |
| 2362 | p = kbuf = memdup_user_nul(buffer, left) |
| 2371 | If write Then |
| 2372 | left -= proc_skip_spaces( & p) |
| 2374 | If Not left Then Break |
| 2379 | If err Then Break |
| 2385 | Else |
| 2390 | If Not first Then err = proc_put_char( & buffer, & left, '\t') |
| 2392 | If err Then Break |
| 2395 | If err Then Break |
| 2404 | If write Then |
| 2410 | out : |
| 2412 | Return err |
| Name | Describe |
|---|---|
| do_proc_dointvec | |
| proc_do_cad_pid |
| 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 |