Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 14 files:
- drivers/infiniband/ulp/srpt/ib_srpt.c, line 3830
- drivers/scsi/elx/efct/efct_lio.c
- drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c, line 3901
- drivers/scsi/qla2xxx/tcm_qla2xxx.c, line 1059
- drivers/target/iscsi/iscsi_target_configfs.c, line 1082
- drivers/target/iscsi/iscsi_target_tpg.c
- drivers/target/loopback/tcm_loop.c, line 957
- drivers/target/sbp/sbp_target.c, line 2016
- drivers/target/target_core_tpg.c, line 605
- drivers/target/tcm_fc/tfc_conf.c, line 296
- drivers/target/tcm_remote/tcm_remote.c, line 140
- drivers/usb/gadget/function/f_tcm.c, line 1748
- drivers/vhost/scsi.c, line 2848
- drivers/xen/xen-scsiback.c, line 1813
Smatch caller information:
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_drop_tpg() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_wwn | 4096-ptr_max |
| DATA_SOURCE | 0 | se_tpg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &hba->hba_access_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &target_cleanup_list_lock | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| HALF_LOCKED2 | su_mutex |
drivers/xen/xen-scsiback.c scsiback_drop_tpg() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_wwn | 4096-ptr_max |
| DATA_SOURCE | 0 | se_tpg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &hba->hba_access_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &target_cleanup_list_lock | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| HALF_LOCKED2 | su_mutex |
drivers/usb/gadget/function/f_tcm.c usbg_drop_tpg() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_wwn | 4096-ptr_max |
| DATA_SOURCE | 0 | se_tpg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &hba->hba_access_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &target_cleanup_list_lock | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| HALF_LOCKED2 | su_mutex |
drivers/scsi/elx/efct/efct_lio.c efct_lio_drop_tpg() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_wwn | 4096-ptr_max |
| DATA_SOURCE | 0 | se_tpg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &hba->hba_access_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &target_cleanup_list_lock | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| HALF_LOCKED2 | su_mutex |
drivers/scsi/elx/efct/efct_lio.c efct_lio_npiv_drop_tpg() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_wwn | 4096-ptr_max |
| DATA_SOURCE | 0 | se_tpg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &hba->hba_access_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &target_cleanup_list_lock | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| HALF_LOCKED2 | su_mutex |
drivers/target/iscsi/iscsi_target_configfs.c lio_target_tiqn_addtpg() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->acl_node_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->acl_node_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | se_tpg->proto_id | 5 |
| PARAM_VALUE | 0 | se_tpg->se_tpg_tfo | 1-u64max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_hlist.first | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | se_tpg->tpg_pr_ref_count.counter | 0 |
| PARAM_VALUE | 0 | se_tpg->tpg_sess_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->tpg_sess_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->tpg_virt_lun0 | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_drop_tpg() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_wwn | 4096-ptr_max |
| DATA_SOURCE | 0 | se_tpg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &hba->hba_access_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &target_cleanup_list_lock | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| HALF_LOCKED2 | su_mutex |
drivers/target/loopback/tcm_loop.c tcm_loop_drop_naa_tpg() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_wwn | 4096-ptr_max |
| DATA_SOURCE | 0 | se_tpg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &hba->hba_access_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &target_cleanup_list_lock | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| HALF_LOCKED2 | su_mutex |
drivers/target/sbp/sbp_target.c sbp_drop_tpg() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_wwn | 4096-ptr_max |
| DATA_SOURCE | 0 | se_tpg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &hba->hba_access_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &target_cleanup_list_lock | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| HALF_LOCKED2 | su_mutex |
drivers/target/tcm_remote/tcm_remote.c tcm_remote_drop_tpg() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_wwn | 4096-ptr_max |
| DATA_SOURCE | 0 | se_tpg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &hba->hba_access_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &target_cleanup_list_lock | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| HALF_LOCKED2 | su_mutex |
drivers/vhost/scsi.c vhost_scsi_drop_tpg() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_wwn | 4096-ptr_max |
| DATA_SOURCE | 0 | se_tpg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &hba->hba_access_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &target_cleanup_list_lock | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| HALF_LOCKED2 | su_mutex |
drivers/target/iscsi/iscsi_target_tpg.c iscsit_load_discovery_tpg() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->acl_node_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->acl_node_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | se_tpg->acl_node_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | se_tpg->proto_id | (-1) |
| PARAM_VALUE | 0 | se_tpg->se_tpg_tfo | 1-u64max |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_hlist.first | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->tpg_lun_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | se_tpg->tpg_pr_ref_count.counter | 0 |
| PARAM_VALUE | 0 | se_tpg->tpg_sess_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->tpg_sess_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->tpg_virt_lun0 | 4096-ptr_max |
| NOCHECK_CALL |
drivers/target/iscsi/iscsi_target_tpg.c iscsit_release_discovery_tpg() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| NOCHECK_CALL |
drivers/target/iscsi/iscsi_target_tpg.c iscsit_tpg_del_portal_group() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &hba->hba_access_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &target_cleanup_list_lock | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| HALF_LOCKED2 | su_mutex |
drivers/target/tcm_fc/tfc_conf.c ft_del_tpg() -> core_tpg_deregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | se_tpg->se_tpg_wwn | 4096-ptr_max |
| DATA_SOURCE | 0 | se_tpg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &hba->hba_access_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &target_cleanup_list_lock | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| HALF_LOCKED2 | su_mutex |