Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/target/target_core_tpg.c core_tpg_add_node_to_devs() -> core_scsi3_check_aptpl_registration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tpg | 4096-ptr_max |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | tpg->acl_node_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | tpg->se_tpg_tfo | 4096-ptr_max |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | tpg->tpg_lun_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | lun | 4096-ptr_max |
| PARAM_VALUE | 3 | nacl | 4096-ptr_max |
| PARAM_VALUE | 3 | nacl->dynamic_node_acl | 1 |
| CAPPED_DATA | 1 | &tpg->tpg_lun_mutex | 1 |
| DATA_SOURCE | 1 | tpg | $1 |
| DATA_SOURCE | 3 | nacl | $0 |
| STR_LEN | 0 | dev | (-1),16,35 |
| STR_LEN | 1 | tpg | (-1),16,35 |
| STR_LEN | 1 | tpg | (-1),16,35 |
| STR_LEN | 3 | nacl | (-1),16,35 |
| STR_LEN | 3 | nacl->se_tpg | (-1),16,35 |
| PARAM_COMPARE | 0 | dev | == $2->lun_se_dev |
| PARAM_COMPARE | 0 | dev | == $2->lun_se_dev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 1 | &tpg->tpg_lun_mutex | |
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | 1 | &tpg->acl_node_mutex | |
| TYPE_LOCK | (struct se_portal_group)->tpg_lun_mutex |
drivers/target/target_core_device.c core_dev_add_initiator_node_lun_acl() -> core_scsi3_check_aptpl_registration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| PARAM_VALUE | 1 | tpg->se_tpg_tfo | 4096-ptr_max |
| PARAM_VALUE | 2 | lun | 4096-ptr_max |
| PARAM_VALUE | 2 | lun->lun_deve_list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | lun->lun_deve_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | lun->lun_deve_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | lun->lun_deve_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | lun->lun_se_dev | 1-u64max |
| PARAM_VALUE | 2 | lun->lun_shutdown | 0 |
| PARAM_VALUE | 2 | lun->lun_tpg->se_tpg_tfo | 4096-ptr_max |
| PARAM_VALUE | 3 | nacl | 4096-ptr_max |
| PARAM_VALUE | 3 | nacl->lun_entry_hlist->first->pprev | 1-u64max |
| PARAM_VALUE | 3 | nacl->lun_entry_hlist.first | 4096-ptr_max |
| PARAM_VALUE | 3 | nacl->lun_entry_hlist.first->pprev | 4096-ptr_max |
| PARAM_VALUE | 3 | nacl->lun_entry_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | nacl->lun_entry_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 3 | nacl->lun_entry_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 3 | nacl->lun_entry_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | nacl->lun_entry_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 3 | nacl->lun_entry_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 3 | nacl->lun_entry_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 3 | nacl->lun_entry_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 3 | nacl->lun_entry_mutex.osq.tail.counter | 0-s32max |
| CAPPED_DATA | 2 | lun | 1 |
| DATA_SOURCE | 1 | tpg | $0 |
| DATA_SOURCE | 2 | lun | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dir->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |