Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/target/target_core_tpg.c core_tpg_check_initiator_node_acl() -> (struct target_core_fabric_ops)->tpg_check_demo_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_tfo | 4096-ptr_max |
| BUF_SIZE | 0 | se_tpg | (-1),1408 |
| BUF_SIZE | 0 | se_tpg | (-1),1408 |
| DATA_SOURCE | 0 | se_tpg | $0 |
| STR_LEN | 0 | se_tpg | (-1),16,35 |
| STR_LEN | 0 | se_tpg | (-1),16,35 |
| CONTAINER | 0 | -64-440+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &conn->tpg->np_login_sem |
drivers/target/target_core_device.c core_dev_add_lun() -> (struct target_core_fabric_ops)->tpg_check_demo_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_tfo | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_hlist->first->pprev | 1-u64max |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_hlist.first | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_hlist.first->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | se_tpg | $0 |
| CONTAINER | 0 | -64-440+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dir->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
drivers/target/target_core_transport.c transport_free_session() -> (struct target_core_fabric_ops)->tpg_check_demo_mode_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_tfo | 4096-ptr_max |
| CAPPED_DATA | 0 | &se_tpg->acl_node_mutex | 1 |
| STR_LEN | 0 | se_tpg | (-1),16,35 |
| STR_LEN | 0 | se_tpg | (-1),16,35 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &se_tpg->acl_node_mutex | |
| TYPE_LOCK | (struct se_portal_group)->acl_node_mutex |
drivers/target/target_core_tpg.c core_tpg_add_node_to_devs() -> (struct target_core_fabric_ops)->tpg_check_demo_mode_write_protect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_tfo | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &se_tpg->tpg_lun_mutex | 1 |
| DATA_SOURCE | 0 | se_tpg | $1 |
| STR_LEN | 0 | se_tpg | (-1),16,35 |
| STR_LEN | 0 | se_tpg | (-1),16,35 |
| CONTAINER | 0 | -80-440+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &se_tpg->tpg_lun_mutex | |
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | 0 | &se_tpg->acl_node_mutex | |
| TYPE_LOCK | (struct se_portal_group)->tpg_lun_mutex |
drivers/target/target_core_fabric_configfs.c target_fabric_mappedlun_link() -> (struct target_core_fabric_ops)->tpg_check_prod_mode_write_protect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_tfo | 4096-ptr_max |
| CONTAINER | 0 | -88-440+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dir->i_rwsem | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct inode)->i_rwsem |