Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 12 files:
- fs/cachefiles/error_inject.c, line 20
- fs/lockd/svc.c, line 478
- fs/proc/proc_sysctl.c
- kernel/exit.c, line 95
- kernel/panic.c, line 196
- kernel/sysctl.c, line 1459
- kernel/trace/trace_events_user.c, line 2907
- lib/test_sysctl.c, line 121
- net/ipv4/sysctl_net_ipv4.c
- net/ipv6/addrconf.c
- net/smc/smc_sysctl.c, line 106
- net/xfrm/xfrm_sysctl.c
Smatch caller information:
kernel/trace/trace_events_user.c set_max_user_events_sysctl() -> proc_douintvec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->proc_handler | 1-u64max |
| PARAM_VALUE | 1 | dir | 0-1 |
| PARAM_VALUE | 3 | lenp | 1036189778331758592,4275019114157346840 |
| PARAM_VALUE | 3 | *lenp | 0-4194303 |
| PARAM_VALUE | 4 | ppos | 4096-ptr_max |
| BUF_SIZE | 2 | buffer | (-1),1-4194304 |
| BUF_SIZE | 2 | buffer | (-1),1-4194304 |
| DATA_SOURCE | 0 | table | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | buffer | $2 |
| DATA_SOURCE | 3 | lenp | $3 |
| DATA_SOURCE | 4 | ppos | $4 |
| NOSPEC | 3 | *lenp | |
| HARD_MAX | 1 | dir | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | *lenp | 0-4194303[c] |
| USER_DATA | 4 | *ppos | s64min-(-2),0-s64max |
| USER_PTR | 3 | lenp | |
| USER_PTR | 4 | ppos | |
| LOCK2 | global &event_mutex | ||
| HALF_LOCKED2 | &pool->lock |
net/ipv6/addrconf.c addrconf_sysctl_addr_gen_mode() -> proc_douintvec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 7369785741561638912 |
| PARAM_VALUE | 0 | table->data | 7109293348504924160 |
| PARAM_VALUE | 0 | table->extra1 | 0 |
| PARAM_VALUE | 0 | table->extra2 | 0 |
| PARAM_VALUE | 0 | table->maxlen | 4 |
| PARAM_VALUE | 0 | table->poll | 0 |
| PARAM_VALUE | 0 | table->procname | 0 |
| PARAM_VALUE | 1 | dir | 0-1 |
| PARAM_VALUE | 3 | lenp | 1036189778331758592,4275019114157346840 |
| PARAM_VALUE | 3 | *lenp | 0-4194303 |
| PARAM_VALUE | 4 | ppos | 4096-ptr_max |
| BUF_SIZE | 2 | buffer | (-1),1-4194304 |
| BUF_SIZE | 2 | buffer | (-1),1-4194304 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | buffer | $2 |
| DATA_SOURCE | 3 | lenp | $3 |
| DATA_SOURCE | 4 | ppos | $4 |
| NOSPEC | 3 | *lenp | |
| HARD_MAX | 1 | dir | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | *lenp | 0-4194303[c] |
| USER_DATA | 4 | *ppos | s64min-(-2),0-s64max |
| USER_PTR | 3 | lenp | |
| USER_PTR | 4 | ppos | |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
kernel/bpf/cgroup.c __cgroup_bpf_run_filter_sysctl() -> (struct ctl_table)->proc_handler()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->proc_handler | 1-u64max |
| PARAM_VALUE | 1 | dir | 0 |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | lenp | 4275019114157346840 |
| PARAM_VALUE | 3 | *lenp | 4096 |
| PARAM_VALUE | 4 | ppos | 3514394864622383104 |
| PARAM_VALUE | 4 | *ppos | 0 |
| BUF_SIZE | 2 | buffer | 4096 |
| BUF_SIZE | 2 | buffer | 4096 |
| DATA_SOURCE | 0 | table | $1 |
| DATA_SOURCE | 2 | buffer | r __kmalloc_node_track_caller_noprof |
| CONTAINER | 0 | -24+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/proc/proc_sysctl.c proc_sys_call_handler() -> (struct ctl_table)->proc_handler()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->proc_handler | 1-u64max |
| PARAM_VALUE | 1 | dir | 0-1 |
| PARAM_VALUE | 2 | *buffer | 0-255 |
| PARAM_VALUE | 3 | lenp | 1036189778331758592 |
| PARAM_VALUE | 3 | *lenp | 0-4194303 |
| PARAM_VALUE | 4 | ppos | 4096-ptr_max |
| BUF_SIZE | 2 | buffer | 1-4194304,u64max |
| DATA_SOURCE | 1 | dir | $2 |
| CONTAINER | 0 | -24+0 | $(-1) |
| NOSPEC | 3 | *lenp | |
| HARD_MAX | 1 | dir | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | *lenp | 0-4194303[c] |
| USER_DATA | 4 | *ppos | s64min-(-2),0-s64max |
| USER_PTR | 3 | lenp | |
| USER_PTR | 4 | ppos | |
| HALF_LOCKED2 | &pool->lock |