Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/target/iscsi/iscsi_target_nego.c, line 1292
- drivers/target/target_core_tpg.c, line 281
- drivers/target/target_core_transport.c, line 487
Smatch caller information:
drivers/target/target_core_transport.c target_setup_session() -> core_tpg_check_initiator_node_acl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 1-u64max |
| BUF_SIZE | 0 | tpg | (-1),1408 |
| BUF_SIZE | 0 | tpg | (-1),1408 |
| BUF_SIZE | 1 | initiatorname | 17,29,32,34,36,40,224,253,256 |
| BUF_SIZE | 1 | initiatorname | 17,29,32,34,36,40,224,253,256 |
| DATA_SOURCE | 0 | tpg | $0 |
| DATA_SOURCE | 1 | initiatorname | $4 |
| STR_LEN | 0 | tpg | (-1),16,35 |
| STR_LEN | 0 | tpg | (-1),16,35 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rdata->rp_mutex | ||
| HALF_LOCKED2 | &sport->gid_id->mutex | ||
| HALF_LOCKED2 | &sport->guid_id->mutex | ||
| HALF_LOCKED2 | &tpg->tpg_mutex | ||
| HALF_LOCKED2 | &tpg->tv_tpg_mutex | ||
| HALF_LOCKED2 | &vha->vha_tgt.tgt_mutex | ||
| HALF_LOCKED2 | global &ft_lport_lock |
drivers/target/iscsi/iscsi_target_nego.c iscsi_target_locate_portal() -> core_tpg_check_initiator_node_acl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 4096-ptr_max |
| PARAM_VALUE | 1 | initiatorname | 4097-ptr_max |
| LOCK2 | &conn->tpg->np_login_sem | ||
| TYPE_LOCK | (struct iscsi_portal_group)->np_login_sem |