Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 14 files:

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