Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 11 files:
- fs/proc/proc_sysctl.c
- kernel/sysctl.c, line 946
- lib/test_sysctl.c
- net/core/sysctl_net_core.c
-
net/ipv4/sysctl_net_ipv4.c
- line 210
- line 450
- line 640
- line 649
- line 658
- line 667
- line 676
- line 685
- line 732
- line 742
- line 751
- line 760
- line 769
- line 778
- line 785
- line 792
- line 799
- line 806
- line 815
- line 845
- line 852
- line 868
- line 875
- line 884
- line 891
- line 899
- line 909
- line 956
- line 1013
- line 1027
- line 1036
- line 1044
- line 1052
- line 1070
- line 1078
- line 1085
- line 1106
- line 1159
- line 1202
- line 1212
- line 1219
- line 1226
- line 1233
- line 1242
- line 1249
- line 1256
- line 1263
- line 1270
- line 1277
- line 1284
- line 1291
- line 1306
- line 1313
- line 1331
- line 1338
- line 1345
- line 1354
- line 1370
- line 1377
- line 1398
- line 1406
- line 1422
- line 1495
- line 1503
- line 1512
- line 1567
- line 1576
- line 1585
- line 1593
- line 1601
- line 1617
- line 1626
- line 1635
- net/ipv6/addrconf.c
- net/ipv6/icmp.c
- net/ipv6/route.c, line 6634
- net/ipv6/sysctl_net_ipv6.c
- net/mptcp/ctrl.c
- net/netfilter/nf_conntrack_standalone.c
Smatch caller information:
net/netfilter/nf_conntrack_standalone.c nf_conntrack_log_invalid_sysctl() -> proc_dou8vec_minmax()
| 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 | |
| HALF_LOCKED2 | &pool->lock |
net/ipv4/sysctl_net_ipv4.c ipv4_fwd_update_priority() -> proc_dou8vec_minmax()
| 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 | |
| HALF_LOCKED2 | &pool->lock |
net/ipv4/sysctl_net_ipv4.c proc_fib_multipath_hash_policy() -> proc_dou8vec_minmax()
| 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 | |
| HALF_LOCKED2 | &pool->lock |
net/ipv6/sysctl_net_ipv6.c proc_rt6_multipath_hash_policy() -> proc_dou8vec_minmax()
| 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 | |
| HALF_LOCKED2 | &pool->lock |
net/mptcp/ctrl.c proc_pm_type() -> proc_dou8vec_minmax()
| 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 | |
| HALF_LOCKED2 | &pool->lock |
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 |