Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/infiniband/ulp/rtrs/rtrs.c, line 467
- drivers/infiniband/ulp/srp/ib_srp.c
- drivers/infiniband/ulp/srpt/ib_srpt.c, line 3511
- drivers/nvme/host/rdma.c
- drivers/nvme/host/tcp.c
- drivers/nvme/target/rdma.c, line 1973
- drivers/nvme/target/tcp.c, line 2078
- drivers/target/iscsi/iscsi_target_configfs.c, line 206
- net/9p/trans_fd.c, line 890
- net/core/utils.c, line 401
Smatch caller information:
drivers/infiniband/ulp/rtrs/rtrs.c rtrs_str_to_sockaddr() -> inet_pton_with_scope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | af | 0 |
| PARAM_VALUE | 2 | src | 4096-ptr_max |
| PARAM_VALUE | 3 | port | 2295879701088051200 |
| BUF_SIZE | 3 | port | 8 |
| DATA_SOURCE | 2 | src | r kstrndup |
| DATA_SOURCE | 4 | addr | $3 |
| STR_LEN | 0 | net | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/9p/trans_fd.c p9_fd_create_tcp() -> inet_pton_with_scope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | af | 0 |
| PARAM_VALUE | 2 | src | 1-u64max |
| PARAM_VALUE | 3 | port | 2348304909493489664 |
| PARAM_VALUE | 4 | addr | 4059618510210138112 |
| PARAM_VALUE | 4 | addr->__align | 0 |
| BUF_SIZE | 2 | src | 3-4004097 |
| BUF_SIZE | 2 | src | 3-4004097 |
| BUF_SIZE | 3 | port | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | *src | 0-255 |
| USER_PTR | 2 | src | |
| HALF_LOCKED2 | &fc->uapi_mutex |
drivers/nvme/host/rdma.c nvme_rdma_alloc_ctrl() -> inet_pton_with_scope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | af | 0 |
| PARAM_VALUE | 4 | addr | 4096-ptr_max |
| LOCK2 | global &nvmf_dev_mutex |
drivers/nvme/host/rdma.c nvme_rdma_alloc_ctrl() -> inet_pton_with_scope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | af | 0 |
| PARAM_VALUE | 3 | port | 0 |
| PARAM_VALUE | 4 | addr | 4096-ptr_max |
| LOCK2 | global &nvmf_dev_mutex |
drivers/target/iscsi/iscsi_target_configfs.c lio_target_call_addnptotpg() -> inet_pton_with_scope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | af | 0 |
| PARAM_VALUE | 2 | src | 4096-ptr_max |
| PARAM_VALUE | 3 | port | 5249387327311060993-18446744073709547521 |
| PARAM_VALUE | 4 | addr | 1224523734284574720 |
| PARAM_VALUE | 4 | addr->__align | 0 |
| BUF_SIZE | 2 | src | (-1),257 |
| BUF_SIZE | 2 | src | (-1),257 |
| STR_LEN | 0 | net | (-1) |
| STR_LEN | 3 | port | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/nvme/target/tcp.c nvmet_tcp_add_port() -> inet_pton_with_scope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | af | 2,10 |
| PARAM_VALUE | 4 | addr | 4096-ptr_max |
| BUF_SIZE | 2 | src | 256 |
| BUF_SIZE | 3 | port | 32 |
| FUZZY_MAX | 1 | af | 10 |
| BIT_INFO | 1 | af | 0x2,0xa |
| HARD_MAX | 1 | af | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dir->i_rwsem | ||
| LOCK2 | global &nvmet_config_sem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_init_nodeacl() -> inet_pton_with_scope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | af | 0 |
| PARAM_VALUE | 3 | port | 0 |
| PARAM_VALUE | 4 | addr | 5486945111264411648 |
| BUF_SIZE | 2 | src | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | src | s32min-(-2),1-s32max |
| DATA_SOURCE | 2 | src | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/infiniband/ulp/srp/ib_srp.c srp_parse_in() -> inet_pton_with_scope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | af | 2 |
| PARAM_VALUE | 2 | src | 4096-ptr_max |
| PARAM_VALUE | 3 | port | 0,4097-18446744073709547521 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 2 | src | r kstrdup |
| DATA_SOURCE | 4 | addr | $1 |
| STR_LEN | 0 | net | (-1) |
| STR_LEN | 0 | net | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &host->add_target_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct srp_host)->add_target_mutex |
drivers/infiniband/ulp/srp/ib_srp.c srp_parse_in() -> inet_pton_with_scope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | af | 10 |
| PARAM_VALUE | 3 | port | 0,4097-ptr_max |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 4 | addr | $1 |
| STR_LEN | 0 | net | (-1) |
| STR_LEN | 0 | net | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &host->add_target_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct srp_host)->add_target_mutex |
drivers/nvme/host/tcp.c nvme_tcp_alloc_ctrl() -> inet_pton_with_scope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | af | 0 |
| PARAM_VALUE | 4 | addr | 4096-ptr_max |
| LOCK2 | global &nvmf_dev_mutex |
drivers/nvme/host/tcp.c nvme_tcp_alloc_ctrl() -> inet_pton_with_scope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | af | 0 |
| PARAM_VALUE | 3 | port | 0 |
| PARAM_VALUE | 4 | addr | 4096-ptr_max |
| LOCK2 | global &nvmf_dev_mutex |
drivers/nvme/target/rdma.c nvmet_rdma_add_port() -> inet_pton_with_scope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | af | 2,10 |
| PARAM_VALUE | 4 | addr | 4096-ptr_max |
| BUF_SIZE | 2 | src | 256 |
| BUF_SIZE | 3 | port | 32 |
| FUZZY_MAX | 1 | af | 10 |
| BIT_INFO | 1 | af | 0x2,0xa |
| HARD_MAX | 1 | af | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dir->i_rwsem | ||
| LOCK2 | global &nvmet_config_sem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |