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 3802
- drivers/scsi/elx/efct/efct_lio.c
- drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c, line 3877
- drivers/scsi/qla2xxx/tcm_qla2xxx.c
- drivers/target/iscsi/iscsi_target_configfs.c, line 1069
- drivers/target/iscsi/iscsi_target_tpg.c, line 66
- drivers/target/loopback/tcm_loop.c, line 929
- drivers/target/sbp/sbp_target.c, line 1997
- drivers/target/target_core_tpg.c, line 564
- drivers/target/tcm_fc/tfc_conf.c, line 260
- drivers/target/tcm_remote/tcm_remote.c, line 115
- drivers/usb/gadget/function/f_tcm.c, line 1711
- drivers/vhost/scsi.c, line 2821
- drivers/xen/xen-scsiback.c, line 1786
Smatch caller information:
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_make_tpg() -> core_tpg_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_wwn->wwn_tf | 4096-ptr_max |
| PARAM_VALUE | 1 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 2 | proto_id | 0 |
| DATA_SOURCE | 0 | se_wwn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_npiv_make_tpg() -> core_tpg_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_wwn->wwn_tf | 4096-ptr_max |
| PARAM_VALUE | 1 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 2 | proto_id | 0 |
| DATA_SOURCE | 0 | se_wwn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/xen/xen-scsiback.c scsiback_make_tpg() -> core_tpg_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_wwn->wwn_tf | 4096-ptr_max |
| PARAM_VALUE | 1 | se_tpg | 4096-ptr_max |
| DATA_SOURCE | 0 | se_wwn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/usb/gadget/function/f_tcm.c usbg_make_tpg() -> core_tpg_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_wwn->wwn_tf | 4096-ptr_max |
| PARAM_VALUE | 1 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 2 | proto_id | 6 |
| DATA_SOURCE | 0 | se_wwn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &opts->dep_lock | ||
| LOCK2 | &subsys->su_mutex | ||
| LOCK2 | global &tpg_instances_lock | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex | ||
| TYPE_LOCK | (struct f_tcm_opts)->dep_lock |
drivers/scsi/elx/efct/efct_lio.c efct_lio_make_tpg() -> core_tpg_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_wwn->wwn_tf | 4096-ptr_max |
| PARAM_VALUE | 1 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 2 | proto_id | 0 |
| DATA_SOURCE | 0 | se_wwn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/scsi/elx/efct/efct_lio.c efct_lio_npiv_make_tpg() -> core_tpg_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_wwn->wwn_tf | 4096-ptr_max |
| PARAM_VALUE | 1 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 2 | proto_id | 0 |
| DATA_SOURCE | 0 | se_wwn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/target/iscsi/iscsi_target_configfs.c lio_target_tiqn_addtpg() -> core_tpg_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_wwn->wwn_tf | 4096-ptr_max |
| PARAM_VALUE | 1 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 2 | proto_id | 5 |
| DATA_SOURCE | 0 | se_wwn | $0 |
| 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/srpt/ib_srpt.c srpt_make_tpg() -> core_tpg_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_wwn->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | se_wwn->wwn_tf | 4096-ptr_max |
| PARAM_VALUE | 1 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 2 | proto_id | 4 |
| CAPPED_DATA | 0 | se_wwn | 1 |
| DATA_SOURCE | 0 | se_wwn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/target/loopback/tcm_loop.c tcm_loop_make_naa_tpg() -> core_tpg_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_wwn->wwn_tf | 4096-ptr_max |
| PARAM_VALUE | 1 | se_tpg | 4096-ptr_max |
| DATA_SOURCE | 0 | se_wwn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/target/sbp/sbp_target.c sbp_make_tpg() -> core_tpg_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_wwn->wwn_tf | 4096-ptr_max |
| PARAM_VALUE | 1 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 2 | proto_id | 3 |
| DATA_SOURCE | 0 | se_wwn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/target/tcm_remote/tcm_remote.c tcm_remote_make_tpg() -> core_tpg_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_wwn->wwn_tf | 4096-ptr_max |
| PARAM_VALUE | 1 | se_tpg | 4096-ptr_max |
| DATA_SOURCE | 0 | se_wwn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/vhost/scsi.c vhost_scsi_make_tpg() -> core_tpg_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_wwn->wwn_tf | 4096-ptr_max |
| PARAM_VALUE | 1 | se_tpg | 4096-ptr_max |
| DATA_SOURCE | 0 | se_wwn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/target/iscsi/iscsi_target_tpg.c iscsit_load_discovery_tpg() -> core_tpg_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_wwn | 0 |
| PARAM_VALUE | 1 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 1 | se_tpg->se_tpg_tfo | 3892190728911122432 |
| PARAM_VALUE | 2 | proto_id | (-1) |
drivers/target/tcm_fc/tfc_conf.c ft_add_tpg() -> core_tpg_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_wwn | 4096-ptr_max |
| PARAM_VALUE | 0 | se_wwn->wwn_tf | 4096-ptr_max |
| PARAM_VALUE | 1 | se_tpg | 4096-ptr_max |
| PARAM_VALUE | 2 | proto_id | 0 |
| DATA_SOURCE | 0 | se_wwn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |