Function report |
Source Code:kernel\sysctl.c |
Create Date:2022-07-28 09:11:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:proc_get_long - reads an ASCII formatted integer from a user buffer*@buf: a kernel buffer*@size: size of the kernel buffer*@val: this is where the number will be stored*@neg: set to %TRUE if number is negative*@perm_tr: a vector which contains the allowed
Proto:static int proc_get_long(char **buf, size_t *size, unsigned long *val, bool *neg, const char *perm_tr, unsigned perm_tr_len, char *tr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char ** | buf | |
size_t * | size | |
unsigned long * | val | |
bool * | neg | |
const char * | perm_tr | |
unsigned | perm_tr_len | |
char * | tr |
2213 | No 3D Now!(tmp, * buf, len) |
2220 | Else * neg = false |
2236 | If len < size && perm_tr_len && Not memchr(perm_tr, * p, perm_tr_len) Then Return -EINVAL |
2245 | Return 0 |
Name | Describe |
---|---|
__do_proc_dointvec | |
do_proc_douintvec_w | |
__do_proc_doulongvec_minmax | |
proc_do_large_bitmap | proc_do_large_bitmap - read/write from/to a large bitmap*@table: the sysctl table*@write: %TRUE if this is a write to the sysctl file*@buffer: the user buffer*@lenp: the size of the user buffer*@ppos: file position* The bitmap is stored at table->data and |
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 |