Defined in 1 files as a function:
Referenced in 11 files:
- fs/afs/proc.c
- fs/nfs/client.c, line 1482
- fs/proc/proc_net.c, line 396
- net/8021q/vlanproc.c, line 115
- net/atm/proc.c, line 319
- net/can/bcm.c, line 2146
- net/can/proc.c, line 442
- net/ipv4/ipconfig.c, line 1356
- net/netfilter/core.c, line 778
- net/rxrpc/net_ns.c, line 73
- net/sctp/proc.c, line 378
Smatch caller information:
net/atm/proc.c atm_proc_init() -> proc_net_mkdir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | name | 6496324481531441152 |
| BUF_SIZE | 1 | name | 4 |
| STR_LEN | 0 | net | 3 |
| TERMINATED | 1 | name | 1 |
fs/proc/proc_net.c proc_net_ns_init() -> proc_net_mkdir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->user_ns | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 5514314813273554944 |
| PARAM_VALUE | 2 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->data | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->namelen | 3 |
| PARAM_VALUE | 2 | parent->nlink | 2 |
| PARAM_VALUE | 2 | parent->parent | 3188278406135218176 |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| BUF_SIZE | 1 | name | 5 |
| BUF_SIZE | 2 | parent->parent | 232 |
| CAPPED_DATA | 0 | net->user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 0 | net->user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 2 | parent | r kmem_cache_alloc_noprof |
| STR_LEN | 0 | net | 4 |
| BIT_INFO | 2 | parent->subdir | 0x0,0x7fffffffffffffff |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
fs/nfs/client.c nfs_fs_proc_net_init() -> proc_net_mkdir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 4823075466162782208 |
| BUF_SIZE | 0 | net | (-1)-s32max |
| BUF_SIZE | 0 | net | (-1)-s32max |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| BUF_SIZE | 1 | name | 6 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| STR_LEN | 0 | net | 5 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/rxrpc/net_ns.c rxrpc_init_net() -> proc_net_mkdir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 3578244249194422272 |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| BUF_SIZE | 1 | name | 6 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| STR_LEN | 0 | net | 5 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/sctp/proc.c sctp_proc_init() -> proc_net_mkdir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->sctp.addip_enable | 0 |
| PARAM_VALUE | 0 | net->sctp.addip_noauth | 0 |
| PARAM_VALUE | 0 | net->sctp.auth_enable | 0 |
| PARAM_VALUE | 0 | net->sctp.cookie_auth_enable | 1 |
| PARAM_VALUE | 0 | net->sctp.cookie_preserve_enable | 1 |
| PARAM_VALUE | 0 | net->sctp.default_auto_asconf | 0 |
| PARAM_VALUE | 0 | net->sctp.ecn_enable | 1 |
| PARAM_VALUE | 0 | net->sctp.encap_port | 0 |
| PARAM_VALUE | 0 | net->sctp.hb_interval | 30000 |
| PARAM_VALUE | 0 | net->sctp.l3mdev_accept | 1 |
| PARAM_VALUE | 0 | net->sctp.max_autoclose | 8589934 |
| PARAM_VALUE | 0 | net->sctp.max_burst | 4 |
| PARAM_VALUE | 0 | net->sctp.max_retrans_association | 10 |
| PARAM_VALUE | 0 | net->sctp.max_retrans_init | 8 |
| PARAM_VALUE | 0 | net->sctp.max_retrans_path | 5 |
| PARAM_VALUE | 0 | net->sctp.pf_enable | 1 |
| PARAM_VALUE | 0 | net->sctp.pf_expose | 0 |
| PARAM_VALUE | 0 | net->sctp.prsctp_enable | 1 |
| PARAM_VALUE | 0 | net->sctp.ps_retrans | u16max |
| PARAM_VALUE | 0 | net->sctp.rcvbuf_policy | 0 |
| PARAM_VALUE | 0 | net->sctp.reconf_enable | 0 |
| PARAM_VALUE | 0 | net->sctp.rto_alpha | 3 |
| PARAM_VALUE | 0 | net->sctp.rto_beta | 2 |
| PARAM_VALUE | 0 | net->sctp.rto_initial | 3000 |
| PARAM_VALUE | 0 | net->sctp.rto_max | 60000 |
| PARAM_VALUE | 0 | net->sctp.rto_min | 1000 |
| PARAM_VALUE | 0 | net->sctp.rwnd_upd_shift | 4 |
| PARAM_VALUE | 0 | net->sctp.sack_timeout | 200 |
| PARAM_VALUE | 0 | net->sctp.scope_policy | 1 |
| PARAM_VALUE | 0 | net->sctp.sctp_statistics | 4096-ptr_max |
| PARAM_VALUE | 0 | net->sctp.sndbuf_policy | 0 |
| PARAM_VALUE | 0 | net->sctp.udp_port | 0 |
| PARAM_VALUE | 0 | net->sctp.valid_cookie_life | 60000 |
| PARAM_VALUE | 1 | name | 4242474307928203264 |
| BUF_SIZE | 0 | net | (-1)-s32max |
| BUF_SIZE | 0 | net | (-1)-s32max |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| BUF_SIZE | 1 | name | 5 |
| DATA_SOURCE | 0 | net | $0 |
| STR_LEN | 0 | net | 4 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/can/proc.c can_init_proc() -> proc_net_mkdir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->can.pkg_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | net->can.rcv_lists_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | net->can.rx_alldev_list | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 3388068266300391424 |
| BUF_SIZE | 0 | net | (-1)-s32max |
| BUF_SIZE | 0 | net | (-1)-s32max |
| BUF_SIZE | 0 | net->can.pkg_stats | 128 |
| BUF_SIZE | 0 | net->can.rcv_lists_stats | 32 |
| BUF_SIZE | 0 | net->can.rx_alldev_list | 24616 |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| BUF_SIZE | 1 | name | 4 |
| DATA_SOURCE | 0 | net | $0 |
| STR_LEN | 0 | net | 3 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/can/bcm.c canbcm_pernet_init() -> proc_net_mkdir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 919969381480849408 |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| BUF_SIZE | 1 | name | 8 |
| DATA_SOURCE | 0 | net | $0 |
| STR_LEN | 0 | net | 7 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
fs/afs/proc.c afs_proc_cell_setup() -> proc_net_mkdir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | name | 9-513 |
| HALF_LOCKED2 | &pool->lock |
fs/afs/proc.c afs_proc_init() -> proc_net_mkdir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 8768002690587111424 |
| BUF_SIZE | 0 | net | (-1)-s32max |
| BUF_SIZE | 0 | net | (-1)-s32max |
| BUF_SIZE | 1 | name | 4 |
| STR_LEN | 0 | net | 3 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/netfilter/core.c netfilter_net_init() -> proc_net_mkdir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->nf.hooks_arp | 4096-ptr_max |
| PARAM_VALUE | 0 | net->nf.hooks_bridge | 4096-ptr_max |
| PARAM_VALUE | 0 | net->nf.hooks_ipv4 | 4096-ptr_max |
| PARAM_VALUE | 0 | net->nf.hooks_ipv6 | 4096-ptr_max |
| PARAM_VALUE | 0 | *net->nf.hooks_arp | 0 |
| PARAM_VALUE | 0 | *net->nf.hooks_bridge | 0 |
| PARAM_VALUE | 0 | *net->nf.hooks_ipv4 | 0 |
| PARAM_VALUE | 0 | *net->nf.hooks_ipv6 | 0 |
| PARAM_VALUE | 1 | name | 8846695317282279424 |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| BUF_SIZE | 1 | name | 10 |
| DATA_SOURCE | 0 | net | $0 |
| STR_LEN | 0 | net | 9 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/8021q/vlanproc.c vlan_proc_init() -> proc_net_mkdir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 8833606792965558272 |
| BUF_SIZE | 0 | net | (-1)-s32max |
| BUF_SIZE | 0 | net | (-1)-s32max |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| BUF_SIZE | 1 | name | 5 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/ipv4/ipconfig.c ipconfig_proc_net_init() -> proc_net_mkdir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | name | 3041590778512244736 |
| BUF_SIZE | 1 | name | 9 |
| STR_LEN | 0 | net | 8 |
| TERMINATED | 1 | name | 1 |